diff --git a/apis/active/v1alpha1/zz_directorydomainservice_terraformed.go b/apis/active/v1alpha1/zz_directorydomainservice_terraformed.go new file mode 100755 index 000000000..ebc12d49f --- /dev/null +++ b/apis/active/v1alpha1/zz_directorydomainservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DirectoryDomainService +func (mg *DirectoryDomainService) GetTerraformResourceType() string { + return "azurerm_active_directory_domain_service" +} + +// GetConnectionDetailsMapping for this DirectoryDomainService +func (tr *DirectoryDomainService) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"secure_ldap[*].pfx_certificate": "spec.forProvider.secureLdap[*].pfxCertificateSecretRef", "secure_ldap[*].pfx_certificate_password": "spec.forProvider.secureLdap[*].pfxCertificatePasswordSecretRef"} +} + +// GetObservation of this DirectoryDomainService +func (tr *DirectoryDomainService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DirectoryDomainService +func (tr *DirectoryDomainService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DirectoryDomainService +func (tr *DirectoryDomainService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DirectoryDomainService +func (tr *DirectoryDomainService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DirectoryDomainService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DirectoryDomainService) LateInitialize(attrs []byte) (bool, error) { + params := &DirectoryDomainServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DirectoryDomainService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/active/v1alpha1/zz_directorydomainservice_types.go b/apis/active/v1alpha1/zz_directorydomainservice_types.go new file mode 100755 index 000000000..743a396a9 --- /dev/null +++ b/apis/active/v1alpha1/zz_directorydomainservice_types.go @@ -0,0 +1,200 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DirectoryDomainServiceObservation struct { + DeploymentID *string `json:"deploymentId,omitempty" tf:"deployment_id,omitempty"` + + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + SyncOwner *string `json:"syncOwner,omitempty" tf:"sync_owner,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` + + Version *int64 `json:"version,omitempty" tf:"version,omitempty"` +} + +type DirectoryDomainServiceParameters struct { + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Optional + FilteredSyncEnabled *bool `json:"filteredSyncEnabled,omitempty" tf:"filtered_sync_enabled,omitempty"` + + // +kubebuilder:validation:Required + InitialReplicaSet []InitialReplicaSetParameters `json:"initialReplicaSet" tf:"initial_replica_set,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Notifications []NotificationsParameters `json:"notifications,omitempty" tf:"notifications,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SecureLdap []SecureLdapParameters `json:"secureLdap,omitempty" tf:"secure_ldap,omitempty"` + + // +kubebuilder:validation:Optional + Security []SecurityParameters `json:"security,omitempty" tf:"security,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type InitialReplicaSetObservation struct { + DomainControllerIPAddresses []*string `json:"domainControllerIpAddresses,omitempty" tf:"domain_controller_ip_addresses,omitempty"` + + ExternalAccessIPAddress *string `json:"externalAccessIpAddress,omitempty" tf:"external_access_ip_address,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + ServiceStatus *string `json:"serviceStatus,omitempty" tf:"service_status,omitempty"` +} + +type InitialReplicaSetParameters struct { + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +type NotificationsObservation struct { +} + +type NotificationsParameters struct { + + // +kubebuilder:validation:Optional + AdditionalRecipients []*string `json:"additionalRecipients,omitempty" tf:"additional_recipients,omitempty"` + + // +kubebuilder:validation:Optional + NotifyDcAdmins *bool `json:"notifyDcAdmins,omitempty" tf:"notify_dc_admins,omitempty"` + + // +kubebuilder:validation:Optional + NotifyGlobalAdmins *bool `json:"notifyGlobalAdmins,omitempty" tf:"notify_global_admins,omitempty"` +} + +type SecureLdapObservation struct { + CertificateExpiry *string `json:"certificateExpiry,omitempty" tf:"certificate_expiry,omitempty"` + + CertificateThumbprint *string `json:"certificateThumbprint,omitempty" tf:"certificate_thumbprint,omitempty"` + + PublicCertificate *string `json:"publicCertificate,omitempty" tf:"public_certificate,omitempty"` +} + +type SecureLdapParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + ExternalAccessEnabled *bool `json:"externalAccessEnabled,omitempty" tf:"external_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + PfxCertificatePasswordSecretRef v1.SecretKeySelector `json:"pfxCertificatePasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + PfxCertificateSecretRef v1.SecretKeySelector `json:"pfxCertificateSecretRef" tf:"-"` +} + +type SecurityObservation struct { +} + +type SecurityParameters struct { + + // +kubebuilder:validation:Optional + NtlmV1Enabled *bool `json:"ntlmV1Enabled,omitempty" tf:"ntlm_v1_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SyncKerberosPasswords *bool `json:"syncKerberosPasswords,omitempty" tf:"sync_kerberos_passwords,omitempty"` + + // +kubebuilder:validation:Optional + SyncNtlmPasswords *bool `json:"syncNtlmPasswords,omitempty" tf:"sync_ntlm_passwords,omitempty"` + + // +kubebuilder:validation:Optional + SyncOnPremPasswords *bool `json:"syncOnPremPasswords,omitempty" tf:"sync_on_prem_passwords,omitempty"` + + // +kubebuilder:validation:Optional + TLSV1Enabled *bool `json:"tlsV1Enabled,omitempty" tf:"tls_v1_enabled,omitempty"` +} + +// DirectoryDomainServiceSpec defines the desired state of DirectoryDomainService +type DirectoryDomainServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DirectoryDomainServiceParameters `json:"forProvider"` +} + +// DirectoryDomainServiceStatus defines the observed state of DirectoryDomainService. +type DirectoryDomainServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DirectoryDomainServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DirectoryDomainService is the Schema for the DirectoryDomainServices API +// +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,azurejet} +type DirectoryDomainService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DirectoryDomainServiceSpec `json:"spec"` + Status DirectoryDomainServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DirectoryDomainServiceList contains a list of DirectoryDomainServices +type DirectoryDomainServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DirectoryDomainService `json:"items"` +} + +// Repository type metadata. +var ( + DirectoryDomainService_Kind = "DirectoryDomainService" + DirectoryDomainService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DirectoryDomainService_Kind}.String() + DirectoryDomainService_KindAPIVersion = DirectoryDomainService_Kind + "." + CRDGroupVersion.String() + DirectoryDomainService_GroupVersionKind = CRDGroupVersion.WithKind(DirectoryDomainService_Kind) +) + +func init() { + SchemeBuilder.Register(&DirectoryDomainService{}, &DirectoryDomainServiceList{}) +} diff --git a/apis/active/v1alpha1/zz_directorydomainservicereplicaset_terraformed.go b/apis/active/v1alpha1/zz_directorydomainservicereplicaset_terraformed.go new file mode 100755 index 000000000..8065f1ef3 --- /dev/null +++ b/apis/active/v1alpha1/zz_directorydomainservicereplicaset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DirectoryDomainServiceReplicaSet +func (mg *DirectoryDomainServiceReplicaSet) GetTerraformResourceType() string { + return "azurerm_active_directory_domain_service_replica_set" +} + +// GetConnectionDetailsMapping for this DirectoryDomainServiceReplicaSet +func (tr *DirectoryDomainServiceReplicaSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DirectoryDomainServiceReplicaSet +func (tr *DirectoryDomainServiceReplicaSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DirectoryDomainServiceReplicaSet +func (tr *DirectoryDomainServiceReplicaSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DirectoryDomainServiceReplicaSet +func (tr *DirectoryDomainServiceReplicaSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DirectoryDomainServiceReplicaSet +func (tr *DirectoryDomainServiceReplicaSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DirectoryDomainServiceReplicaSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DirectoryDomainServiceReplicaSet) LateInitialize(attrs []byte) (bool, error) { + params := &DirectoryDomainServiceReplicaSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DirectoryDomainServiceReplicaSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/active/v1alpha1/zz_directorydomainservicereplicaset_types.go b/apis/active/v1alpha1/zz_directorydomainservicereplicaset_types.go new file mode 100755 index 000000000..468c583a1 --- /dev/null +++ b/apis/active/v1alpha1/zz_directorydomainservicereplicaset_types.go @@ -0,0 +1,95 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DirectoryDomainServiceReplicaSetObservation struct { + DomainControllerIPAddresses []*string `json:"domainControllerIpAddresses,omitempty" tf:"domain_controller_ip_addresses,omitempty"` + + ExternalAccessIPAddress *string `json:"externalAccessIpAddress,omitempty" tf:"external_access_ip_address,omitempty"` + + ServiceStatus *string `json:"serviceStatus,omitempty" tf:"service_status,omitempty"` +} + +type DirectoryDomainServiceReplicaSetParameters struct { + + // +kubebuilder:validation:Required + DomainServiceID *string `json:"domainServiceId" tf:"domain_service_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// DirectoryDomainServiceReplicaSetSpec defines the desired state of DirectoryDomainServiceReplicaSet +type DirectoryDomainServiceReplicaSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DirectoryDomainServiceReplicaSetParameters `json:"forProvider"` +} + +// DirectoryDomainServiceReplicaSetStatus defines the observed state of DirectoryDomainServiceReplicaSet. +type DirectoryDomainServiceReplicaSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DirectoryDomainServiceReplicaSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DirectoryDomainServiceReplicaSet is the Schema for the DirectoryDomainServiceReplicaSets API +// +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,azurejet} +type DirectoryDomainServiceReplicaSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DirectoryDomainServiceReplicaSetSpec `json:"spec"` + Status DirectoryDomainServiceReplicaSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DirectoryDomainServiceReplicaSetList contains a list of DirectoryDomainServiceReplicaSets +type DirectoryDomainServiceReplicaSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DirectoryDomainServiceReplicaSet `json:"items"` +} + +// Repository type metadata. +var ( + DirectoryDomainServiceReplicaSet_Kind = "DirectoryDomainServiceReplicaSet" + DirectoryDomainServiceReplicaSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DirectoryDomainServiceReplicaSet_Kind}.String() + DirectoryDomainServiceReplicaSet_KindAPIVersion = DirectoryDomainServiceReplicaSet_Kind + "." + CRDGroupVersion.String() + DirectoryDomainServiceReplicaSet_GroupVersionKind = CRDGroupVersion.WithKind(DirectoryDomainServiceReplicaSet_Kind) +) + +func init() { + SchemeBuilder.Register(&DirectoryDomainServiceReplicaSet{}, &DirectoryDomainServiceReplicaSetList{}) +} diff --git a/apis/active/v1alpha1/zz_generated.deepcopy.go b/apis/active/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2f7fb98f3 --- /dev/null +++ b/apis/active/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,634 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainService) DeepCopyInto(out *DirectoryDomainService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainService. +func (in *DirectoryDomainService) DeepCopy() *DirectoryDomainService { + if in == nil { + return nil + } + out := new(DirectoryDomainService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DirectoryDomainService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceList) DeepCopyInto(out *DirectoryDomainServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DirectoryDomainService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceList. +func (in *DirectoryDomainServiceList) DeepCopy() *DirectoryDomainServiceList { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DirectoryDomainServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceObservation) DeepCopyInto(out *DirectoryDomainServiceObservation) { + *out = *in + if in.DeploymentID != nil { + in, out := &in.DeploymentID, &out.DeploymentID + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.SyncOwner != nil { + in, out := &in.SyncOwner, &out.SyncOwner + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceObservation. +func (in *DirectoryDomainServiceObservation) DeepCopy() *DirectoryDomainServiceObservation { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceParameters) DeepCopyInto(out *DirectoryDomainServiceParameters) { + *out = *in + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.FilteredSyncEnabled != nil { + in, out := &in.FilteredSyncEnabled, &out.FilteredSyncEnabled + *out = new(bool) + **out = **in + } + if in.InitialReplicaSet != nil { + in, out := &in.InitialReplicaSet, &out.InitialReplicaSet + *out = make([]InitialReplicaSetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notifications != nil { + in, out := &in.Notifications, &out.Notifications + *out = make([]NotificationsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SecureLdap != nil { + in, out := &in.SecureLdap, &out.SecureLdap + *out = make([]SecureLdapParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Security != nil { + in, out := &in.Security, &out.Security + *out = make([]SecurityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceParameters. +func (in *DirectoryDomainServiceParameters) DeepCopy() *DirectoryDomainServiceParameters { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceReplicaSet) DeepCopyInto(out *DirectoryDomainServiceReplicaSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceReplicaSet. +func (in *DirectoryDomainServiceReplicaSet) DeepCopy() *DirectoryDomainServiceReplicaSet { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceReplicaSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DirectoryDomainServiceReplicaSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceReplicaSetList) DeepCopyInto(out *DirectoryDomainServiceReplicaSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DirectoryDomainServiceReplicaSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceReplicaSetList. +func (in *DirectoryDomainServiceReplicaSetList) DeepCopy() *DirectoryDomainServiceReplicaSetList { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceReplicaSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DirectoryDomainServiceReplicaSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceReplicaSetObservation) DeepCopyInto(out *DirectoryDomainServiceReplicaSetObservation) { + *out = *in + if in.DomainControllerIPAddresses != nil { + in, out := &in.DomainControllerIPAddresses, &out.DomainControllerIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExternalAccessIPAddress != nil { + in, out := &in.ExternalAccessIPAddress, &out.ExternalAccessIPAddress + *out = new(string) + **out = **in + } + if in.ServiceStatus != nil { + in, out := &in.ServiceStatus, &out.ServiceStatus + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceReplicaSetObservation. +func (in *DirectoryDomainServiceReplicaSetObservation) DeepCopy() *DirectoryDomainServiceReplicaSetObservation { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceReplicaSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceReplicaSetParameters) DeepCopyInto(out *DirectoryDomainServiceReplicaSetParameters) { + *out = *in + if in.DomainServiceID != nil { + in, out := &in.DomainServiceID, &out.DomainServiceID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceReplicaSetParameters. +func (in *DirectoryDomainServiceReplicaSetParameters) DeepCopy() *DirectoryDomainServiceReplicaSetParameters { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceReplicaSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceReplicaSetSpec) DeepCopyInto(out *DirectoryDomainServiceReplicaSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceReplicaSetSpec. +func (in *DirectoryDomainServiceReplicaSetSpec) DeepCopy() *DirectoryDomainServiceReplicaSetSpec { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceReplicaSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceReplicaSetStatus) DeepCopyInto(out *DirectoryDomainServiceReplicaSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceReplicaSetStatus. +func (in *DirectoryDomainServiceReplicaSetStatus) DeepCopy() *DirectoryDomainServiceReplicaSetStatus { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceReplicaSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceSpec) DeepCopyInto(out *DirectoryDomainServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceSpec. +func (in *DirectoryDomainServiceSpec) DeepCopy() *DirectoryDomainServiceSpec { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryDomainServiceStatus) DeepCopyInto(out *DirectoryDomainServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryDomainServiceStatus. +func (in *DirectoryDomainServiceStatus) DeepCopy() *DirectoryDomainServiceStatus { + if in == nil { + return nil + } + out := new(DirectoryDomainServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InitialReplicaSetObservation) DeepCopyInto(out *InitialReplicaSetObservation) { + *out = *in + if in.DomainControllerIPAddresses != nil { + in, out := &in.DomainControllerIPAddresses, &out.DomainControllerIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExternalAccessIPAddress != nil { + in, out := &in.ExternalAccessIPAddress, &out.ExternalAccessIPAddress + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ServiceStatus != nil { + in, out := &in.ServiceStatus, &out.ServiceStatus + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialReplicaSetObservation. +func (in *InitialReplicaSetObservation) DeepCopy() *InitialReplicaSetObservation { + if in == nil { + return nil + } + out := new(InitialReplicaSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InitialReplicaSetParameters) DeepCopyInto(out *InitialReplicaSetParameters) { + *out = *in + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitialReplicaSetParameters. +func (in *InitialReplicaSetParameters) DeepCopy() *InitialReplicaSetParameters { + if in == nil { + return nil + } + out := new(InitialReplicaSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationsObservation) DeepCopyInto(out *NotificationsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationsObservation. +func (in *NotificationsObservation) DeepCopy() *NotificationsObservation { + if in == nil { + return nil + } + out := new(NotificationsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationsParameters) DeepCopyInto(out *NotificationsParameters) { + *out = *in + if in.AdditionalRecipients != nil { + in, out := &in.AdditionalRecipients, &out.AdditionalRecipients + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NotifyDcAdmins != nil { + in, out := &in.NotifyDcAdmins, &out.NotifyDcAdmins + *out = new(bool) + **out = **in + } + if in.NotifyGlobalAdmins != nil { + in, out := &in.NotifyGlobalAdmins, &out.NotifyGlobalAdmins + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationsParameters. +func (in *NotificationsParameters) DeepCopy() *NotificationsParameters { + if in == nil { + return nil + } + out := new(NotificationsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecureLdapObservation) DeepCopyInto(out *SecureLdapObservation) { + *out = *in + if in.CertificateExpiry != nil { + in, out := &in.CertificateExpiry, &out.CertificateExpiry + *out = new(string) + **out = **in + } + if in.CertificateThumbprint != nil { + in, out := &in.CertificateThumbprint, &out.CertificateThumbprint + *out = new(string) + **out = **in + } + if in.PublicCertificate != nil { + in, out := &in.PublicCertificate, &out.PublicCertificate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureLdapObservation. +func (in *SecureLdapObservation) DeepCopy() *SecureLdapObservation { + if in == nil { + return nil + } + out := new(SecureLdapObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecureLdapParameters) DeepCopyInto(out *SecureLdapParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.ExternalAccessEnabled != nil { + in, out := &in.ExternalAccessEnabled, &out.ExternalAccessEnabled + *out = new(bool) + **out = **in + } + out.PfxCertificatePasswordSecretRef = in.PfxCertificatePasswordSecretRef + out.PfxCertificateSecretRef = in.PfxCertificateSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureLdapParameters. +func (in *SecureLdapParameters) DeepCopy() *SecureLdapParameters { + if in == nil { + return nil + } + out := new(SecureLdapParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityObservation) DeepCopyInto(out *SecurityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityObservation. +func (in *SecurityObservation) DeepCopy() *SecurityObservation { + if in == nil { + return nil + } + out := new(SecurityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityParameters) DeepCopyInto(out *SecurityParameters) { + *out = *in + if in.NtlmV1Enabled != nil { + in, out := &in.NtlmV1Enabled, &out.NtlmV1Enabled + *out = new(bool) + **out = **in + } + if in.SyncKerberosPasswords != nil { + in, out := &in.SyncKerberosPasswords, &out.SyncKerberosPasswords + *out = new(bool) + **out = **in + } + if in.SyncNtlmPasswords != nil { + in, out := &in.SyncNtlmPasswords, &out.SyncNtlmPasswords + *out = new(bool) + **out = **in + } + if in.SyncOnPremPasswords != nil { + in, out := &in.SyncOnPremPasswords, &out.SyncOnPremPasswords + *out = new(bool) + **out = **in + } + if in.TLSV1Enabled != nil { + in, out := &in.TLSV1Enabled, &out.TLSV1Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityParameters. +func (in *SecurityParameters) DeepCopy() *SecurityParameters { + if in == nil { + return nil + } + out := new(SecurityParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/active/v1alpha1/zz_generated.managed.go b/apis/active/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2fdabd754 --- /dev/null +++ b/apis/active/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this DirectoryDomainService. +func (mg *DirectoryDomainService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DirectoryDomainService. +func (mg *DirectoryDomainService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DirectoryDomainService. +func (mg *DirectoryDomainService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DirectoryDomainService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DirectoryDomainService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DirectoryDomainService. +func (mg *DirectoryDomainService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DirectoryDomainService. +func (mg *DirectoryDomainService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DirectoryDomainService. +func (mg *DirectoryDomainService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DirectoryDomainService. +func (mg *DirectoryDomainService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DirectoryDomainService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DirectoryDomainService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DirectoryDomainService. +func (mg *DirectoryDomainService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DirectoryDomainServiceReplicaSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DirectoryDomainServiceReplicaSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DirectoryDomainServiceReplicaSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DirectoryDomainServiceReplicaSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DirectoryDomainServiceReplicaSet. +func (mg *DirectoryDomainServiceReplicaSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/active/v1alpha1/zz_generated.managedlist.go b/apis/active/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..0e1f3364d --- /dev/null +++ b/apis/active/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this DirectoryDomainServiceList. +func (l *DirectoryDomainServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DirectoryDomainServiceReplicaSetList. +func (l *DirectoryDomainServiceReplicaSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/active/v1alpha1/zz_groupversion_info.go b/apis/active/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..c76a1988e --- /dev/null +++ b/apis/active/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=active.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "active.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/advanced/v1alpha1/zz_generated.deepcopy.go b/apis/advanced/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..772ca0f86 --- /dev/null +++ b/apis/advanced/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,158 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatProtection) DeepCopyInto(out *ThreatProtection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatProtection. +func (in *ThreatProtection) DeepCopy() *ThreatProtection { + if in == nil { + return nil + } + out := new(ThreatProtection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ThreatProtection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatProtectionList) DeepCopyInto(out *ThreatProtectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ThreatProtection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatProtectionList. +func (in *ThreatProtectionList) DeepCopy() *ThreatProtectionList { + if in == nil { + return nil + } + out := new(ThreatProtectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ThreatProtectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatProtectionObservation) DeepCopyInto(out *ThreatProtectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatProtectionObservation. +func (in *ThreatProtectionObservation) DeepCopy() *ThreatProtectionObservation { + if in == nil { + return nil + } + out := new(ThreatProtectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatProtectionParameters) DeepCopyInto(out *ThreatProtectionParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatProtectionParameters. +func (in *ThreatProtectionParameters) DeepCopy() *ThreatProtectionParameters { + if in == nil { + return nil + } + out := new(ThreatProtectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatProtectionSpec) DeepCopyInto(out *ThreatProtectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatProtectionSpec. +func (in *ThreatProtectionSpec) DeepCopy() *ThreatProtectionSpec { + if in == nil { + return nil + } + out := new(ThreatProtectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatProtectionStatus) DeepCopyInto(out *ThreatProtectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatProtectionStatus. +func (in *ThreatProtectionStatus) DeepCopy() *ThreatProtectionStatus { + if in == nil { + return nil + } + out := new(ThreatProtectionStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/advanced/v1alpha1/zz_generated.managed.go b/apis/advanced/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..db23ea9a4 --- /dev/null +++ b/apis/advanced/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ThreatProtection. +func (mg *ThreatProtection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ThreatProtection. +func (mg *ThreatProtection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ThreatProtection. +func (mg *ThreatProtection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ThreatProtection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ThreatProtection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ThreatProtection. +func (mg *ThreatProtection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ThreatProtection. +func (mg *ThreatProtection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ThreatProtection. +func (mg *ThreatProtection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ThreatProtection. +func (mg *ThreatProtection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ThreatProtection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ThreatProtection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ThreatProtection. +func (mg *ThreatProtection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/advanced/v1alpha1/zz_generated.managedlist.go b/apis/advanced/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..c5e12c763 --- /dev/null +++ b/apis/advanced/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ThreatProtectionList. +func (l *ThreatProtectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/advanced/v1alpha1/zz_groupversion_info.go b/apis/advanced/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..067f75c2d --- /dev/null +++ b/apis/advanced/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=advanced.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "advanced.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/advanced/v1alpha1/zz_threatprotection_terraformed.go b/apis/advanced/v1alpha1/zz_threatprotection_terraformed.go new file mode 100755 index 000000000..09071b2b7 --- /dev/null +++ b/apis/advanced/v1alpha1/zz_threatprotection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ThreatProtection +func (mg *ThreatProtection) GetTerraformResourceType() string { + return "azurerm_advanced_threat_protection" +} + +// GetConnectionDetailsMapping for this ThreatProtection +func (tr *ThreatProtection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ThreatProtection +func (tr *ThreatProtection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ThreatProtection +func (tr *ThreatProtection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ThreatProtection +func (tr *ThreatProtection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ThreatProtection +func (tr *ThreatProtection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ThreatProtection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ThreatProtection) LateInitialize(attrs []byte) (bool, error) { + params := &ThreatProtectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ThreatProtection) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/advanced/v1alpha1/zz_threatprotection_types.go b/apis/advanced/v1alpha1/zz_threatprotection_types.go new file mode 100755 index 000000000..9f877b186 --- /dev/null +++ b/apis/advanced/v1alpha1/zz_threatprotection_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ThreatProtectionObservation struct { +} + +type ThreatProtectionParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +// ThreatProtectionSpec defines the desired state of ThreatProtection +type ThreatProtectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ThreatProtectionParameters `json:"forProvider"` +} + +// ThreatProtectionStatus defines the observed state of ThreatProtection. +type ThreatProtectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ThreatProtectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ThreatProtection is the Schema for the ThreatProtections API +// +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,azurejet} +type ThreatProtection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ThreatProtectionSpec `json:"spec"` + Status ThreatProtectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ThreatProtectionList contains a list of ThreatProtections +type ThreatProtectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ThreatProtection `json:"items"` +} + +// Repository type metadata. +var ( + ThreatProtection_Kind = "ThreatProtection" + ThreatProtection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ThreatProtection_Kind}.String() + ThreatProtection_KindAPIVersion = ThreatProtection_Kind + "." + CRDGroupVersion.String() + ThreatProtection_GroupVersionKind = CRDGroupVersion.WithKind(ThreatProtection_Kind) +) + +func init() { + SchemeBuilder.Register(&ThreatProtection{}, &ThreatProtectionList{}) +} diff --git a/apis/analysis/v1alpha1/zz_generated.deepcopy.go b/apis/analysis/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..8ff679ae8 --- /dev/null +++ b/apis/analysis/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,267 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPv4FirewallRuleObservation) DeepCopyInto(out *IPv4FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv4FirewallRuleObservation. +func (in *IPv4FirewallRuleObservation) DeepCopy() *IPv4FirewallRuleObservation { + if in == nil { + return nil + } + out := new(IPv4FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPv4FirewallRuleParameters) DeepCopyInto(out *IPv4FirewallRuleParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RangeEnd != nil { + in, out := &in.RangeEnd, &out.RangeEnd + *out = new(string) + **out = **in + } + if in.RangeStart != nil { + in, out := &in.RangeStart, &out.RangeStart + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv4FirewallRuleParameters. +func (in *IPv4FirewallRuleParameters) DeepCopy() *IPv4FirewallRuleParameters { + if in == nil { + return nil + } + out := new(IPv4FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesServer) DeepCopyInto(out *ServicesServer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesServer. +func (in *ServicesServer) DeepCopy() *ServicesServer { + if in == nil { + return nil + } + out := new(ServicesServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicesServer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesServerList) DeepCopyInto(out *ServicesServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServicesServer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesServerList. +func (in *ServicesServerList) DeepCopy() *ServicesServerList { + if in == nil { + return nil + } + out := new(ServicesServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicesServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesServerObservation) DeepCopyInto(out *ServicesServerObservation) { + *out = *in + if in.ServerFullName != nil { + in, out := &in.ServerFullName, &out.ServerFullName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesServerObservation. +func (in *ServicesServerObservation) DeepCopy() *ServicesServerObservation { + if in == nil { + return nil + } + out := new(ServicesServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesServerParameters) DeepCopyInto(out *ServicesServerParameters) { + *out = *in + if in.AdminUsers != nil { + in, out := &in.AdminUsers, &out.AdminUsers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BackupBlobContainerURISecretRef != nil { + in, out := &in.BackupBlobContainerURISecretRef, &out.BackupBlobContainerURISecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.EnablePowerBiService != nil { + in, out := &in.EnablePowerBiService, &out.EnablePowerBiService + *out = new(bool) + **out = **in + } + if in.IPv4FirewallRule != nil { + in, out := &in.IPv4FirewallRule, &out.IPv4FirewallRule + *out = make([]IPv4FirewallRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.QuerypoolConnectionMode != nil { + in, out := &in.QuerypoolConnectionMode, &out.QuerypoolConnectionMode + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesServerParameters. +func (in *ServicesServerParameters) DeepCopy() *ServicesServerParameters { + if in == nil { + return nil + } + out := new(ServicesServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesServerSpec) DeepCopyInto(out *ServicesServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesServerSpec. +func (in *ServicesServerSpec) DeepCopy() *ServicesServerSpec { + if in == nil { + return nil + } + out := new(ServicesServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesServerStatus) DeepCopyInto(out *ServicesServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesServerStatus. +func (in *ServicesServerStatus) DeepCopy() *ServicesServerStatus { + if in == nil { + return nil + } + out := new(ServicesServerStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/analysis/v1alpha1/zz_generated.managed.go b/apis/analysis/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..23f5fc41f --- /dev/null +++ b/apis/analysis/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ServicesServer. +func (mg *ServicesServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServicesServer. +func (mg *ServicesServer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServicesServer. +func (mg *ServicesServer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServicesServer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServicesServer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServicesServer. +func (mg *ServicesServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServicesServer. +func (mg *ServicesServer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServicesServer. +func (mg *ServicesServer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServicesServer. +func (mg *ServicesServer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServicesServer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServicesServer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServicesServer. +func (mg *ServicesServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/analysis/v1alpha1/zz_generated.managedlist.go b/apis/analysis/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..1b0121729 --- /dev/null +++ b/apis/analysis/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServicesServerList. +func (l *ServicesServerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/analysis/v1alpha1/zz_groupversion_info.go b/apis/analysis/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..68654e278 --- /dev/null +++ b/apis/analysis/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=analysis.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "analysis.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/analysis/v1alpha1/zz_servicesserver_terraformed.go b/apis/analysis/v1alpha1/zz_servicesserver_terraformed.go new file mode 100755 index 000000000..6aa878423 --- /dev/null +++ b/apis/analysis/v1alpha1/zz_servicesserver_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServicesServer +func (mg *ServicesServer) GetTerraformResourceType() string { + return "azurerm_analysis_services_server" +} + +// GetConnectionDetailsMapping for this ServicesServer +func (tr *ServicesServer) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"backup_blob_container_uri": "spec.forProvider.backupBlobContainerURISecretRef"} +} + +// GetObservation of this ServicesServer +func (tr *ServicesServer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServicesServer +func (tr *ServicesServer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServicesServer +func (tr *ServicesServer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServicesServer +func (tr *ServicesServer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServicesServer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServicesServer) LateInitialize(attrs []byte) (bool, error) { + params := &ServicesServerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServicesServer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/analysis/v1alpha1/zz_servicesserver_types.go b/apis/analysis/v1alpha1/zz_servicesserver_types.go new file mode 100755 index 000000000..71c514d1e --- /dev/null +++ b/apis/analysis/v1alpha1/zz_servicesserver_types.go @@ -0,0 +1,127 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IPv4FirewallRuleObservation struct { +} + +type IPv4FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RangeEnd *string `json:"rangeEnd" tf:"range_end,omitempty"` + + // +kubebuilder:validation:Required + RangeStart *string `json:"rangeStart" tf:"range_start,omitempty"` +} + +type ServicesServerObservation struct { + ServerFullName *string `json:"serverFullName,omitempty" tf:"server_full_name,omitempty"` +} + +type ServicesServerParameters struct { + + // +kubebuilder:validation:Optional + AdminUsers []*string `json:"adminUsers,omitempty" tf:"admin_users,omitempty"` + + // +kubebuilder:validation:Optional + BackupBlobContainerURISecretRef *v1.SecretKeySelector `json:"backupBlobContainerUriSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + EnablePowerBiService *bool `json:"enablePowerBiService,omitempty" tf:"enable_power_bi_service,omitempty"` + + // +kubebuilder:validation:Optional + IPv4FirewallRule []IPv4FirewallRuleParameters `json:"ipv4FirewallRule,omitempty" tf:"ipv4_firewall_rule,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + QuerypoolConnectionMode *string `json:"querypoolConnectionMode,omitempty" tf:"querypool_connection_mode,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServicesServerSpec defines the desired state of ServicesServer +type ServicesServerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServicesServerParameters `json:"forProvider"` +} + +// ServicesServerStatus defines the observed state of ServicesServer. +type ServicesServerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServicesServerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicesServer is the Schema for the ServicesServers API +// +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,azurejet} +type ServicesServer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServicesServerSpec `json:"spec"` + Status ServicesServerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicesServerList contains a list of ServicesServers +type ServicesServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServicesServer `json:"items"` +} + +// Repository type metadata. +var ( + ServicesServer_Kind = "ServicesServer" + ServicesServer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServicesServer_Kind}.String() + ServicesServer_KindAPIVersion = ServicesServer_Kind + "." + CRDGroupVersion.String() + ServicesServer_GroupVersionKind = CRDGroupVersion.WithKind(ServicesServer_Kind) +) + +func init() { + SchemeBuilder.Register(&ServicesServer{}, &ServicesServerList{}) +} diff --git a/apis/api/v1alpha1/zz_generated.deepcopy.go b/apis/api/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..27f3dd782 --- /dev/null +++ b/apis/api/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,10171 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalLocationObservation) DeepCopyInto(out *AdditionalLocationObservation) { + *out = *in + if in.GatewayRegionalURL != nil { + in, out := &in.GatewayRegionalURL, &out.GatewayRegionalURL + *out = new(string) + **out = **in + } + if in.PrivateIPAddresses != nil { + in, out := &in.PrivateIPAddresses, &out.PrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PublicIPAddresses != nil { + in, out := &in.PublicIPAddresses, &out.PublicIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalLocationObservation. +func (in *AdditionalLocationObservation) DeepCopy() *AdditionalLocationObservation { + if in == nil { + return nil + } + out := new(AdditionalLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalLocationParameters) DeepCopyInto(out *AdditionalLocationParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.VirtualNetworkConfiguration != nil { + in, out := &in.VirtualNetworkConfiguration, &out.VirtualNetworkConfiguration + *out = make([]VirtualNetworkConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalLocationParameters. +func (in *AdditionalLocationParameters) DeepCopy() *AdditionalLocationParameters { + if in == nil { + return nil + } + out := new(AdditionalLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationInsightsObservation) DeepCopyInto(out *ApplicationInsightsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInsightsObservation. +func (in *ApplicationInsightsObservation) DeepCopy() *ApplicationInsightsObservation { + if in == nil { + return nil + } + out := new(ApplicationInsightsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationInsightsParameters) DeepCopyInto(out *ApplicationInsightsParameters) { + *out = *in + out.InstrumentationKeySecretRef = in.InstrumentationKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInsightsParameters. +func (in *ApplicationInsightsParameters) DeepCopy() *ApplicationInsightsParameters { + if in == nil { + return nil + } + out := new(ApplicationInsightsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationObservation) DeepCopyInto(out *AuthorizationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationObservation. +func (in *AuthorizationObservation) DeepCopy() *AuthorizationObservation { + if in == nil { + return nil + } + out := new(AuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationParameters) DeepCopyInto(out *AuthorizationParameters) { + *out = *in + if in.Parameter != nil { + in, out := &in.Parameter, &out.Parameter + *out = new(string) + **out = **in + } + if in.Scheme != nil { + in, out := &in.Scheme, &out.Scheme + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationParameters. +func (in *AuthorizationParameters) DeepCopy() *AuthorizationParameters { + if in == nil { + return nil + } + out := new(AuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestDataMaskingHeadersObservation) DeepCopyInto(out *BackendRequestDataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestDataMaskingHeadersObservation. +func (in *BackendRequestDataMaskingHeadersObservation) DeepCopy() *BackendRequestDataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(BackendRequestDataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestDataMaskingHeadersParameters) DeepCopyInto(out *BackendRequestDataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestDataMaskingHeadersParameters. +func (in *BackendRequestDataMaskingHeadersParameters) DeepCopy() *BackendRequestDataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(BackendRequestDataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestDataMaskingObservation) DeepCopyInto(out *BackendRequestDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestDataMaskingObservation. +func (in *BackendRequestDataMaskingObservation) DeepCopy() *BackendRequestDataMaskingObservation { + if in == nil { + return nil + } + out := new(BackendRequestDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestDataMaskingParameters) DeepCopyInto(out *BackendRequestDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]BackendRequestDataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]BackendRequestDataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestDataMaskingParameters. +func (in *BackendRequestDataMaskingParameters) DeepCopy() *BackendRequestDataMaskingParameters { + if in == nil { + return nil + } + out := new(BackendRequestDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestDataMaskingQueryParamsObservation) DeepCopyInto(out *BackendRequestDataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestDataMaskingQueryParamsObservation. +func (in *BackendRequestDataMaskingQueryParamsObservation) DeepCopy() *BackendRequestDataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(BackendRequestDataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestDataMaskingQueryParamsParameters) DeepCopyInto(out *BackendRequestDataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestDataMaskingQueryParamsParameters. +func (in *BackendRequestDataMaskingQueryParamsParameters) DeepCopy() *BackendRequestDataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(BackendRequestDataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestObservation) DeepCopyInto(out *BackendRequestObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestObservation. +func (in *BackendRequestObservation) DeepCopy() *BackendRequestObservation { + if in == nil { + return nil + } + out := new(BackendRequestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendRequestParameters) DeepCopyInto(out *BackendRequestParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]DataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendRequestParameters. +func (in *BackendRequestParameters) DeepCopy() *BackendRequestParameters { + if in == nil { + return nil + } + out := new(BackendRequestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseDataMaskingHeadersObservation) DeepCopyInto(out *BackendResponseDataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseDataMaskingHeadersObservation. +func (in *BackendResponseDataMaskingHeadersObservation) DeepCopy() *BackendResponseDataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(BackendResponseDataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseDataMaskingHeadersParameters) DeepCopyInto(out *BackendResponseDataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseDataMaskingHeadersParameters. +func (in *BackendResponseDataMaskingHeadersParameters) DeepCopy() *BackendResponseDataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(BackendResponseDataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseDataMaskingObservation) DeepCopyInto(out *BackendResponseDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseDataMaskingObservation. +func (in *BackendResponseDataMaskingObservation) DeepCopy() *BackendResponseDataMaskingObservation { + if in == nil { + return nil + } + out := new(BackendResponseDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseDataMaskingParameters) DeepCopyInto(out *BackendResponseDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]DataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]DataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseDataMaskingParameters. +func (in *BackendResponseDataMaskingParameters) DeepCopy() *BackendResponseDataMaskingParameters { + if in == nil { + return nil + } + out := new(BackendResponseDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseDataMaskingQueryParamsObservation) DeepCopyInto(out *BackendResponseDataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseDataMaskingQueryParamsObservation. +func (in *BackendResponseDataMaskingQueryParamsObservation) DeepCopy() *BackendResponseDataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(BackendResponseDataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseDataMaskingQueryParamsParameters) DeepCopyInto(out *BackendResponseDataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseDataMaskingQueryParamsParameters. +func (in *BackendResponseDataMaskingQueryParamsParameters) DeepCopy() *BackendResponseDataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(BackendResponseDataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseObservation) DeepCopyInto(out *BackendResponseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseObservation. +func (in *BackendResponseObservation) DeepCopy() *BackendResponseObservation { + if in == nil { + return nil + } + out := new(BackendResponseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendResponseParameters) DeepCopyInto(out *BackendResponseParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]BackendResponseDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendResponseParameters. +func (in *BackendResponseParameters) DeepCopy() *BackendResponseParameters { + if in == nil { + return nil + } + out := new(BackendResponseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + out.EncodedCertificateSecretRef = in.EncodedCertificateSecretRef + if in.StoreName != nil { + in, out := &in.StoreName, &out.StoreName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialsObservation) DeepCopyInto(out *CredentialsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsObservation. +func (in *CredentialsObservation) DeepCopy() *CredentialsObservation { + if in == nil { + return nil + } + out := new(CredentialsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialsParameters) DeepCopyInto(out *CredentialsParameters) { + *out = *in + if in.Authorization != nil { + in, out := &in.Authorization, &out.Authorization + *out = make([]AuthorizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Header != nil { + in, out := &in.Header, &out.Header + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Query != nil { + in, out := &in.Query, &out.Query + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsParameters. +func (in *CredentialsParameters) DeepCopy() *CredentialsParameters { + if in == nil { + return nil + } + out := new(CredentialsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataMaskingHeadersObservation) DeepCopyInto(out *DataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMaskingHeadersObservation. +func (in *DataMaskingHeadersObservation) DeepCopy() *DataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(DataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataMaskingHeadersParameters) DeepCopyInto(out *DataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMaskingHeadersParameters. +func (in *DataMaskingHeadersParameters) DeepCopy() *DataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(DataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataMaskingObservation) DeepCopyInto(out *DataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMaskingObservation. +func (in *DataMaskingObservation) DeepCopy() *DataMaskingObservation { + if in == nil { + return nil + } + out := new(DataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataMaskingParameters) DeepCopyInto(out *DataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]HeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]QueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMaskingParameters. +func (in *DataMaskingParameters) DeepCopy() *DataMaskingParameters { + if in == nil { + return nil + } + out := new(DataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataMaskingQueryParamsObservation) DeepCopyInto(out *DataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMaskingQueryParamsObservation. +func (in *DataMaskingQueryParamsObservation) DeepCopy() *DataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(DataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataMaskingQueryParamsParameters) DeepCopyInto(out *DataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataMaskingQueryParamsParameters. +func (in *DataMaskingQueryParamsParameters) DeepCopy() *DataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(DataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeveloperPortalObservation) DeepCopyInto(out *DeveloperPortalObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeveloperPortalObservation. +func (in *DeveloperPortalObservation) DeepCopy() *DeveloperPortalObservation { + if in == nil { + return nil + } + out := new(DeveloperPortalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeveloperPortalParameters) DeepCopyInto(out *DeveloperPortalParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeveloperPortalParameters. +func (in *DeveloperPortalParameters) DeepCopy() *DeveloperPortalParameters { + if in == nil { + return nil + } + out := new(DeveloperPortalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubObservation) DeepCopyInto(out *EventhubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubObservation. +func (in *EventhubObservation) DeepCopy() *EventhubObservation { + if in == nil { + return nil + } + out := new(EventhubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubParameters) DeepCopyInto(out *EventhubParameters) { + *out = *in + out.ConnectionStringSecretRef = in.ConnectionStringSecretRef + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubParameters. +func (in *EventhubParameters) DeepCopy() *EventhubParameters { + if in == nil { + return nil + } + out := new(EventhubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FormParameterObservation) DeepCopyInto(out *FormParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FormParameterObservation. +func (in *FormParameterObservation) DeepCopy() *FormParameterObservation { + if in == nil { + return nil + } + out := new(FormParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FormParameterParameters) DeepCopyInto(out *FormParameterParameters) { + *out = *in + if in.DefaultValue != nil { + in, out := &in.DefaultValue, &out.DefaultValue + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FormParameterParameters. +func (in *FormParameterParameters) DeepCopy() *FormParameterParameters { + if in == nil { + return nil + } + out := new(FormParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestDataMaskingHeadersObservation) DeepCopyInto(out *FrontendRequestDataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestDataMaskingHeadersObservation. +func (in *FrontendRequestDataMaskingHeadersObservation) DeepCopy() *FrontendRequestDataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(FrontendRequestDataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestDataMaskingHeadersParameters) DeepCopyInto(out *FrontendRequestDataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestDataMaskingHeadersParameters. +func (in *FrontendRequestDataMaskingHeadersParameters) DeepCopy() *FrontendRequestDataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(FrontendRequestDataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestDataMaskingObservation) DeepCopyInto(out *FrontendRequestDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestDataMaskingObservation. +func (in *FrontendRequestDataMaskingObservation) DeepCopy() *FrontendRequestDataMaskingObservation { + if in == nil { + return nil + } + out := new(FrontendRequestDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestDataMaskingParameters) DeepCopyInto(out *FrontendRequestDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]FrontendRequestDataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]FrontendRequestDataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestDataMaskingParameters. +func (in *FrontendRequestDataMaskingParameters) DeepCopy() *FrontendRequestDataMaskingParameters { + if in == nil { + return nil + } + out := new(FrontendRequestDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestDataMaskingQueryParamsObservation) DeepCopyInto(out *FrontendRequestDataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestDataMaskingQueryParamsObservation. +func (in *FrontendRequestDataMaskingQueryParamsObservation) DeepCopy() *FrontendRequestDataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(FrontendRequestDataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestDataMaskingQueryParamsParameters) DeepCopyInto(out *FrontendRequestDataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestDataMaskingQueryParamsParameters. +func (in *FrontendRequestDataMaskingQueryParamsParameters) DeepCopy() *FrontendRequestDataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(FrontendRequestDataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestObservation) DeepCopyInto(out *FrontendRequestObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestObservation. +func (in *FrontendRequestObservation) DeepCopy() *FrontendRequestObservation { + if in == nil { + return nil + } + out := new(FrontendRequestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendRequestParameters) DeepCopyInto(out *FrontendRequestParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]FrontendRequestDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendRequestParameters. +func (in *FrontendRequestParameters) DeepCopy() *FrontendRequestParameters { + if in == nil { + return nil + } + out := new(FrontendRequestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseDataMaskingHeadersObservation) DeepCopyInto(out *FrontendResponseDataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseDataMaskingHeadersObservation. +func (in *FrontendResponseDataMaskingHeadersObservation) DeepCopy() *FrontendResponseDataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(FrontendResponseDataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseDataMaskingHeadersParameters) DeepCopyInto(out *FrontendResponseDataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseDataMaskingHeadersParameters. +func (in *FrontendResponseDataMaskingHeadersParameters) DeepCopy() *FrontendResponseDataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(FrontendResponseDataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseDataMaskingObservation) DeepCopyInto(out *FrontendResponseDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseDataMaskingObservation. +func (in *FrontendResponseDataMaskingObservation) DeepCopy() *FrontendResponseDataMaskingObservation { + if in == nil { + return nil + } + out := new(FrontendResponseDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseDataMaskingParameters) DeepCopyInto(out *FrontendResponseDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]FrontendResponseDataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]FrontendResponseDataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseDataMaskingParameters. +func (in *FrontendResponseDataMaskingParameters) DeepCopy() *FrontendResponseDataMaskingParameters { + if in == nil { + return nil + } + out := new(FrontendResponseDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseDataMaskingQueryParamsObservation) DeepCopyInto(out *FrontendResponseDataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseDataMaskingQueryParamsObservation. +func (in *FrontendResponseDataMaskingQueryParamsObservation) DeepCopy() *FrontendResponseDataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(FrontendResponseDataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseDataMaskingQueryParamsParameters) DeepCopyInto(out *FrontendResponseDataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseDataMaskingQueryParamsParameters. +func (in *FrontendResponseDataMaskingQueryParamsParameters) DeepCopy() *FrontendResponseDataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(FrontendResponseDataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseObservation) DeepCopyInto(out *FrontendResponseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseObservation. +func (in *FrontendResponseObservation) DeepCopy() *FrontendResponseObservation { + if in == nil { + return nil + } + out := new(FrontendResponseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendResponseParameters) DeepCopyInto(out *FrontendResponseParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]FrontendResponseDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendResponseParameters. +func (in *FrontendResponseParameters) DeepCopy() *FrontendResponseParameters { + if in == nil { + return nil + } + out := new(FrontendResponseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeaderObservation) DeepCopyInto(out *HeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderObservation. +func (in *HeaderObservation) DeepCopy() *HeaderObservation { + if in == nil { + return nil + } + out := new(HeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeaderParameters) DeepCopyInto(out *HeaderParameters) { + *out = *in + if in.DefaultValue != nil { + in, out := &in.DefaultValue, &out.DefaultValue + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderParameters. +func (in *HeaderParameters) DeepCopy() *HeaderParameters { + if in == nil { + return nil + } + out := new(HeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadersObservation) DeepCopyInto(out *HeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersObservation. +func (in *HeadersObservation) DeepCopy() *HeadersObservation { + if in == nil { + return nil + } + out := new(HeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadersParameters) DeepCopyInto(out *HeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersParameters. +func (in *HeadersParameters) DeepCopy() *HeadersParameters { + if in == nil { + return nil + } + out := new(HeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostnameConfigurationObservation) DeepCopyInto(out *HostnameConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostnameConfigurationObservation. +func (in *HostnameConfigurationObservation) DeepCopy() *HostnameConfigurationObservation { + if in == nil { + return nil + } + out := new(HostnameConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostnameConfigurationParameters) DeepCopyInto(out *HostnameConfigurationParameters) { + *out = *in + if in.DeveloperPortal != nil { + in, out := &in.DeveloperPortal, &out.DeveloperPortal + *out = make([]DeveloperPortalParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Management != nil { + in, out := &in.Management, &out.Management + *out = make([]ManagementParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Portal != nil { + in, out := &in.Portal, &out.Portal + *out = make([]PortalParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy + *out = make([]ProxyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Scm != nil { + in, out := &in.Scm, &out.Scm + *out = make([]ScmParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostnameConfigurationParameters. +func (in *HostnameConfigurationParameters) DeepCopy() *HostnameConfigurationParameters { + if in == nil { + return nil + } + out := new(HostnameConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImportObservation) DeepCopyInto(out *ImportObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportObservation. +func (in *ImportObservation) DeepCopy() *ImportObservation { + if in == nil { + return nil + } + out := new(ImportObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImportParameters) DeepCopyInto(out *ImportParameters) { + *out = *in + if in.ContentFormat != nil { + in, out := &in.ContentFormat, &out.ContentFormat + *out = new(string) + **out = **in + } + if in.ContentValue != nil { + in, out := &in.ContentValue, &out.ContentValue + *out = new(string) + **out = **in + } + if in.WsdlSelector != nil { + in, out := &in.WsdlSelector, &out.WsdlSelector + *out = make([]WsdlSelectorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportParameters. +func (in *ImportParameters) DeepCopy() *ImportParameters { + if in == nil { + return nil + } + out := new(ImportParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LocationDataObservation) DeepCopyInto(out *LocationDataObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationDataObservation. +func (in *LocationDataObservation) DeepCopy() *LocationDataObservation { + if in == nil { + return nil + } + out := new(LocationDataObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LocationDataParameters) DeepCopyInto(out *LocationDataParameters) { + *out = *in + if in.City != nil { + in, out := &in.City, &out.City + *out = new(string) + **out = **in + } + if in.District != nil { + in, out := &in.District, &out.District + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationDataParameters. +func (in *LocationDataParameters) DeepCopy() *LocationDataParameters { + if in == nil { + return nil + } + out := new(LocationDataParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Management) DeepCopyInto(out *Management) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Management. +func (in *Management) DeepCopy() *Management { + if in == nil { + return nil + } + out := new(Management) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Management) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApi) DeepCopyInto(out *ManagementApi) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApi. +func (in *ManagementApi) DeepCopy() *ManagementApi { + if in == nil { + return nil + } + out := new(ManagementApi) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApi) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiDiagnostic) DeepCopyInto(out *ManagementApiDiagnostic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiDiagnostic. +func (in *ManagementApiDiagnostic) DeepCopy() *ManagementApiDiagnostic { + if in == nil { + return nil + } + out := new(ManagementApiDiagnostic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiDiagnostic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiDiagnosticList) DeepCopyInto(out *ManagementApiDiagnosticList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiDiagnostic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiDiagnosticList. +func (in *ManagementApiDiagnosticList) DeepCopy() *ManagementApiDiagnosticList { + if in == nil { + return nil + } + out := new(ManagementApiDiagnosticList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiDiagnosticList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiDiagnosticObservation) DeepCopyInto(out *ManagementApiDiagnosticObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiDiagnosticObservation. +func (in *ManagementApiDiagnosticObservation) DeepCopy() *ManagementApiDiagnosticObservation { + if in == nil { + return nil + } + out := new(ManagementApiDiagnosticObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiDiagnosticParameters) DeepCopyInto(out *ManagementApiDiagnosticParameters) { + *out = *in + if in.APIManagementLoggerID != nil { + in, out := &in.APIManagementLoggerID, &out.APIManagementLoggerID + *out = new(string) + **out = **in + } + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.APIName != nil { + in, out := &in.APIName, &out.APIName + *out = new(string) + **out = **in + } + if in.AlwaysLogErrors != nil { + in, out := &in.AlwaysLogErrors, &out.AlwaysLogErrors + *out = new(bool) + **out = **in + } + if in.BackendRequest != nil { + in, out := &in.BackendRequest, &out.BackendRequest + *out = make([]BackendRequestParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendResponse != nil { + in, out := &in.BackendResponse, &out.BackendResponse + *out = make([]BackendResponseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontendRequest != nil { + in, out := &in.FrontendRequest, &out.FrontendRequest + *out = make([]FrontendRequestParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontendResponse != nil { + in, out := &in.FrontendResponse, &out.FrontendResponse + *out = make([]FrontendResponseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HTTPCorrelationProtocol != nil { + in, out := &in.HTTPCorrelationProtocol, &out.HTTPCorrelationProtocol + *out = new(string) + **out = **in + } + if in.Identifier != nil { + in, out := &in.Identifier, &out.Identifier + *out = new(string) + **out = **in + } + if in.LogClientIP != nil { + in, out := &in.LogClientIP, &out.LogClientIP + *out = new(bool) + **out = **in + } + if in.OperationNameFormat != nil { + in, out := &in.OperationNameFormat, &out.OperationNameFormat + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } + if in.Verbosity != nil { + in, out := &in.Verbosity, &out.Verbosity + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiDiagnosticParameters. +func (in *ManagementApiDiagnosticParameters) DeepCopy() *ManagementApiDiagnosticParameters { + if in == nil { + return nil + } + out := new(ManagementApiDiagnosticParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiDiagnosticSpec) DeepCopyInto(out *ManagementApiDiagnosticSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiDiagnosticSpec. +func (in *ManagementApiDiagnosticSpec) DeepCopy() *ManagementApiDiagnosticSpec { + if in == nil { + return nil + } + out := new(ManagementApiDiagnosticSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiDiagnosticStatus) DeepCopyInto(out *ManagementApiDiagnosticStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiDiagnosticStatus. +func (in *ManagementApiDiagnosticStatus) DeepCopy() *ManagementApiDiagnosticStatus { + if in == nil { + return nil + } + out := new(ManagementApiDiagnosticStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiList) DeepCopyInto(out *ManagementApiList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApi, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiList. +func (in *ManagementApiList) DeepCopy() *ManagementApiList { + if in == nil { + return nil + } + out := new(ManagementApiList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiObservation) DeepCopyInto(out *ManagementApiObservation) { + *out = *in + if in.IsCurrent != nil { + in, out := &in.IsCurrent, &out.IsCurrent + *out = new(bool) + **out = **in + } + if in.IsOnline != nil { + in, out := &in.IsOnline, &out.IsOnline + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiObservation. +func (in *ManagementApiObservation) DeepCopy() *ManagementApiObservation { + if in == nil { + return nil + } + out := new(ManagementApiObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperation) DeepCopyInto(out *ManagementApiOperation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperation. +func (in *ManagementApiOperation) DeepCopy() *ManagementApiOperation { + if in == nil { + return nil + } + out := new(ManagementApiOperation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiOperation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationList) DeepCopyInto(out *ManagementApiOperationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiOperation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationList. +func (in *ManagementApiOperationList) DeepCopy() *ManagementApiOperationList { + if in == nil { + return nil + } + out := new(ManagementApiOperationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiOperationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationObservation) DeepCopyInto(out *ManagementApiOperationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationObservation. +func (in *ManagementApiOperationObservation) DeepCopy() *ManagementApiOperationObservation { + if in == nil { + return nil + } + out := new(ManagementApiOperationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationParameters) DeepCopyInto(out *ManagementApiOperationParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.APIName != nil { + in, out := &in.APIName, &out.APIName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Method != nil { + in, out := &in.Method, &out.Method + *out = new(string) + **out = **in + } + if in.OperationID != nil { + in, out := &in.OperationID, &out.OperationID + *out = new(string) + **out = **in + } + if in.Request != nil { + in, out := &in.Request, &out.Request + *out = make([]RequestParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Response != nil { + in, out := &in.Response, &out.Response + *out = make([]ResponseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TemplateParameter != nil { + in, out := &in.TemplateParameter, &out.TemplateParameter + *out = make([]TemplateParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLTemplate != nil { + in, out := &in.URLTemplate, &out.URLTemplate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationParameters. +func (in *ManagementApiOperationParameters) DeepCopy() *ManagementApiOperationParameters { + if in == nil { + return nil + } + out := new(ManagementApiOperationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationPolicy) DeepCopyInto(out *ManagementApiOperationPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationPolicy. +func (in *ManagementApiOperationPolicy) DeepCopy() *ManagementApiOperationPolicy { + if in == nil { + return nil + } + out := new(ManagementApiOperationPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiOperationPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationPolicyList) DeepCopyInto(out *ManagementApiOperationPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiOperationPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationPolicyList. +func (in *ManagementApiOperationPolicyList) DeepCopy() *ManagementApiOperationPolicyList { + if in == nil { + return nil + } + out := new(ManagementApiOperationPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiOperationPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationPolicyObservation) DeepCopyInto(out *ManagementApiOperationPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationPolicyObservation. +func (in *ManagementApiOperationPolicyObservation) DeepCopy() *ManagementApiOperationPolicyObservation { + if in == nil { + return nil + } + out := new(ManagementApiOperationPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationPolicyParameters) DeepCopyInto(out *ManagementApiOperationPolicyParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.APIName != nil { + in, out := &in.APIName, &out.APIName + *out = new(string) + **out = **in + } + if in.OperationID != nil { + in, out := &in.OperationID, &out.OperationID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.XMLContent != nil { + in, out := &in.XMLContent, &out.XMLContent + *out = new(string) + **out = **in + } + if in.XMLLink != nil { + in, out := &in.XMLLink, &out.XMLLink + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationPolicyParameters. +func (in *ManagementApiOperationPolicyParameters) DeepCopy() *ManagementApiOperationPolicyParameters { + if in == nil { + return nil + } + out := new(ManagementApiOperationPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationPolicySpec) DeepCopyInto(out *ManagementApiOperationPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationPolicySpec. +func (in *ManagementApiOperationPolicySpec) DeepCopy() *ManagementApiOperationPolicySpec { + if in == nil { + return nil + } + out := new(ManagementApiOperationPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationPolicyStatus) DeepCopyInto(out *ManagementApiOperationPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationPolicyStatus. +func (in *ManagementApiOperationPolicyStatus) DeepCopy() *ManagementApiOperationPolicyStatus { + if in == nil { + return nil + } + out := new(ManagementApiOperationPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationSpec) DeepCopyInto(out *ManagementApiOperationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationSpec. +func (in *ManagementApiOperationSpec) DeepCopy() *ManagementApiOperationSpec { + if in == nil { + return nil + } + out := new(ManagementApiOperationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationStatus) DeepCopyInto(out *ManagementApiOperationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationStatus. +func (in *ManagementApiOperationStatus) DeepCopy() *ManagementApiOperationStatus { + if in == nil { + return nil + } + out := new(ManagementApiOperationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationTag) DeepCopyInto(out *ManagementApiOperationTag) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationTag. +func (in *ManagementApiOperationTag) DeepCopy() *ManagementApiOperationTag { + if in == nil { + return nil + } + out := new(ManagementApiOperationTag) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiOperationTag) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationTagList) DeepCopyInto(out *ManagementApiOperationTagList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiOperationTag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationTagList. +func (in *ManagementApiOperationTagList) DeepCopy() *ManagementApiOperationTagList { + if in == nil { + return nil + } + out := new(ManagementApiOperationTagList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiOperationTagList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationTagObservation) DeepCopyInto(out *ManagementApiOperationTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationTagObservation. +func (in *ManagementApiOperationTagObservation) DeepCopy() *ManagementApiOperationTagObservation { + if in == nil { + return nil + } + out := new(ManagementApiOperationTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationTagParameters) DeepCopyInto(out *ManagementApiOperationTagParameters) { + *out = *in + if in.APIOperationID != nil { + in, out := &in.APIOperationID, &out.APIOperationID + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationTagParameters. +func (in *ManagementApiOperationTagParameters) DeepCopy() *ManagementApiOperationTagParameters { + if in == nil { + return nil + } + out := new(ManagementApiOperationTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationTagSpec) DeepCopyInto(out *ManagementApiOperationTagSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationTagSpec. +func (in *ManagementApiOperationTagSpec) DeepCopy() *ManagementApiOperationTagSpec { + if in == nil { + return nil + } + out := new(ManagementApiOperationTagSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiOperationTagStatus) DeepCopyInto(out *ManagementApiOperationTagStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiOperationTagStatus. +func (in *ManagementApiOperationTagStatus) DeepCopy() *ManagementApiOperationTagStatus { + if in == nil { + return nil + } + out := new(ManagementApiOperationTagStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiParameters) DeepCopyInto(out *ManagementApiParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Import != nil { + in, out := &in.Import, &out.Import + *out = make([]ImportParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Oauth2Authorization != nil { + in, out := &in.Oauth2Authorization, &out.Oauth2Authorization + *out = make([]Oauth2AuthorizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OpenidAuthentication != nil { + in, out := &in.OpenidAuthentication, &out.OpenidAuthentication + *out = make([]OpenidAuthenticationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Revision != nil { + in, out := &in.Revision, &out.Revision + *out = new(string) + **out = **in + } + if in.RevisionDescription != nil { + in, out := &in.RevisionDescription, &out.RevisionDescription + *out = new(string) + **out = **in + } + if in.ServiceURL != nil { + in, out := &in.ServiceURL, &out.ServiceURL + *out = new(string) + **out = **in + } + if in.SoapPassThrough != nil { + in, out := &in.SoapPassThrough, &out.SoapPassThrough + *out = new(bool) + **out = **in + } + if in.SourceAPIID != nil { + in, out := &in.SourceAPIID, &out.SourceAPIID + *out = new(string) + **out = **in + } + if in.SubscriptionKeyParameterNames != nil { + in, out := &in.SubscriptionKeyParameterNames, &out.SubscriptionKeyParameterNames + *out = make([]SubscriptionKeyParameterNamesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubscriptionRequired != nil { + in, out := &in.SubscriptionRequired, &out.SubscriptionRequired + *out = new(bool) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionDescription != nil { + in, out := &in.VersionDescription, &out.VersionDescription + *out = new(string) + **out = **in + } + if in.VersionSetID != nil { + in, out := &in.VersionSetID, &out.VersionSetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiParameters. +func (in *ManagementApiParameters) DeepCopy() *ManagementApiParameters { + if in == nil { + return nil + } + out := new(ManagementApiParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiPolicy) DeepCopyInto(out *ManagementApiPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiPolicy. +func (in *ManagementApiPolicy) DeepCopy() *ManagementApiPolicy { + if in == nil { + return nil + } + out := new(ManagementApiPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiPolicyList) DeepCopyInto(out *ManagementApiPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiPolicyList. +func (in *ManagementApiPolicyList) DeepCopy() *ManagementApiPolicyList { + if in == nil { + return nil + } + out := new(ManagementApiPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiPolicyObservation) DeepCopyInto(out *ManagementApiPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiPolicyObservation. +func (in *ManagementApiPolicyObservation) DeepCopy() *ManagementApiPolicyObservation { + if in == nil { + return nil + } + out := new(ManagementApiPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiPolicyParameters) DeepCopyInto(out *ManagementApiPolicyParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.APIName != nil { + in, out := &in.APIName, &out.APIName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.XMLContent != nil { + in, out := &in.XMLContent, &out.XMLContent + *out = new(string) + **out = **in + } + if in.XMLLink != nil { + in, out := &in.XMLLink, &out.XMLLink + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiPolicyParameters. +func (in *ManagementApiPolicyParameters) DeepCopy() *ManagementApiPolicyParameters { + if in == nil { + return nil + } + out := new(ManagementApiPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiPolicySpec) DeepCopyInto(out *ManagementApiPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiPolicySpec. +func (in *ManagementApiPolicySpec) DeepCopy() *ManagementApiPolicySpec { + if in == nil { + return nil + } + out := new(ManagementApiPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiPolicyStatus) DeepCopyInto(out *ManagementApiPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiPolicyStatus. +func (in *ManagementApiPolicyStatus) DeepCopy() *ManagementApiPolicyStatus { + if in == nil { + return nil + } + out := new(ManagementApiPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiRelease) DeepCopyInto(out *ManagementApiRelease) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiRelease. +func (in *ManagementApiRelease) DeepCopy() *ManagementApiRelease { + if in == nil { + return nil + } + out := new(ManagementApiRelease) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiRelease) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiReleaseList) DeepCopyInto(out *ManagementApiReleaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiRelease, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiReleaseList. +func (in *ManagementApiReleaseList) DeepCopy() *ManagementApiReleaseList { + if in == nil { + return nil + } + out := new(ManagementApiReleaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiReleaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiReleaseObservation) DeepCopyInto(out *ManagementApiReleaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiReleaseObservation. +func (in *ManagementApiReleaseObservation) DeepCopy() *ManagementApiReleaseObservation { + if in == nil { + return nil + } + out := new(ManagementApiReleaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiReleaseParameters) DeepCopyInto(out *ManagementApiReleaseParameters) { + *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notes != nil { + in, out := &in.Notes, &out.Notes + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiReleaseParameters. +func (in *ManagementApiReleaseParameters) DeepCopy() *ManagementApiReleaseParameters { + if in == nil { + return nil + } + out := new(ManagementApiReleaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiReleaseSpec) DeepCopyInto(out *ManagementApiReleaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiReleaseSpec. +func (in *ManagementApiReleaseSpec) DeepCopy() *ManagementApiReleaseSpec { + if in == nil { + return nil + } + out := new(ManagementApiReleaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiReleaseStatus) DeepCopyInto(out *ManagementApiReleaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiReleaseStatus. +func (in *ManagementApiReleaseStatus) DeepCopy() *ManagementApiReleaseStatus { + if in == nil { + return nil + } + out := new(ManagementApiReleaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSchema) DeepCopyInto(out *ManagementApiSchema) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSchema. +func (in *ManagementApiSchema) DeepCopy() *ManagementApiSchema { + if in == nil { + return nil + } + out := new(ManagementApiSchema) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiSchema) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSchemaList) DeepCopyInto(out *ManagementApiSchemaList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiSchema, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSchemaList. +func (in *ManagementApiSchemaList) DeepCopy() *ManagementApiSchemaList { + if in == nil { + return nil + } + out := new(ManagementApiSchemaList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiSchemaList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSchemaObservation) DeepCopyInto(out *ManagementApiSchemaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSchemaObservation. +func (in *ManagementApiSchemaObservation) DeepCopy() *ManagementApiSchemaObservation { + if in == nil { + return nil + } + out := new(ManagementApiSchemaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSchemaParameters) DeepCopyInto(out *ManagementApiSchemaParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.APIName != nil { + in, out := &in.APIName, &out.APIName + *out = new(string) + **out = **in + } + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaID != nil { + in, out := &in.SchemaID, &out.SchemaID + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSchemaParameters. +func (in *ManagementApiSchemaParameters) DeepCopy() *ManagementApiSchemaParameters { + if in == nil { + return nil + } + out := new(ManagementApiSchemaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSchemaSpec) DeepCopyInto(out *ManagementApiSchemaSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSchemaSpec. +func (in *ManagementApiSchemaSpec) DeepCopy() *ManagementApiSchemaSpec { + if in == nil { + return nil + } + out := new(ManagementApiSchemaSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSchemaStatus) DeepCopyInto(out *ManagementApiSchemaStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSchemaStatus. +func (in *ManagementApiSchemaStatus) DeepCopy() *ManagementApiSchemaStatus { + if in == nil { + return nil + } + out := new(ManagementApiSchemaStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiSpec) DeepCopyInto(out *ManagementApiSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiSpec. +func (in *ManagementApiSpec) DeepCopy() *ManagementApiSpec { + if in == nil { + return nil + } + out := new(ManagementApiSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiStatus) DeepCopyInto(out *ManagementApiStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiStatus. +func (in *ManagementApiStatus) DeepCopy() *ManagementApiStatus { + if in == nil { + return nil + } + out := new(ManagementApiStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiVersionSet) DeepCopyInto(out *ManagementApiVersionSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiVersionSet. +func (in *ManagementApiVersionSet) DeepCopy() *ManagementApiVersionSet { + if in == nil { + return nil + } + out := new(ManagementApiVersionSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiVersionSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiVersionSetList) DeepCopyInto(out *ManagementApiVersionSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementApiVersionSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiVersionSetList. +func (in *ManagementApiVersionSetList) DeepCopy() *ManagementApiVersionSetList { + if in == nil { + return nil + } + out := new(ManagementApiVersionSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementApiVersionSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiVersionSetObservation) DeepCopyInto(out *ManagementApiVersionSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiVersionSetObservation. +func (in *ManagementApiVersionSetObservation) DeepCopy() *ManagementApiVersionSetObservation { + if in == nil { + return nil + } + out := new(ManagementApiVersionSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiVersionSetParameters) DeepCopyInto(out *ManagementApiVersionSetParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.VersionHeaderName != nil { + in, out := &in.VersionHeaderName, &out.VersionHeaderName + *out = new(string) + **out = **in + } + if in.VersionQueryName != nil { + in, out := &in.VersionQueryName, &out.VersionQueryName + *out = new(string) + **out = **in + } + if in.VersioningScheme != nil { + in, out := &in.VersioningScheme, &out.VersioningScheme + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiVersionSetParameters. +func (in *ManagementApiVersionSetParameters) DeepCopy() *ManagementApiVersionSetParameters { + if in == nil { + return nil + } + out := new(ManagementApiVersionSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiVersionSetSpec) DeepCopyInto(out *ManagementApiVersionSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiVersionSetSpec. +func (in *ManagementApiVersionSetSpec) DeepCopy() *ManagementApiVersionSetSpec { + if in == nil { + return nil + } + out := new(ManagementApiVersionSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementApiVersionSetStatus) DeepCopyInto(out *ManagementApiVersionSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementApiVersionSetStatus. +func (in *ManagementApiVersionSetStatus) DeepCopy() *ManagementApiVersionSetStatus { + if in == nil { + return nil + } + out := new(ManagementApiVersionSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementAuthorizationServer) DeepCopyInto(out *ManagementAuthorizationServer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAuthorizationServer. +func (in *ManagementAuthorizationServer) DeepCopy() *ManagementAuthorizationServer { + if in == nil { + return nil + } + out := new(ManagementAuthorizationServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementAuthorizationServer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementAuthorizationServerList) DeepCopyInto(out *ManagementAuthorizationServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementAuthorizationServer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAuthorizationServerList. +func (in *ManagementAuthorizationServerList) DeepCopy() *ManagementAuthorizationServerList { + if in == nil { + return nil + } + out := new(ManagementAuthorizationServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementAuthorizationServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementAuthorizationServerObservation) DeepCopyInto(out *ManagementAuthorizationServerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAuthorizationServerObservation. +func (in *ManagementAuthorizationServerObservation) DeepCopy() *ManagementAuthorizationServerObservation { + if in == nil { + return nil + } + out := new(ManagementAuthorizationServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementAuthorizationServerParameters) DeepCopyInto(out *ManagementAuthorizationServerParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.AuthorizationEndpoint != nil { + in, out := &in.AuthorizationEndpoint, &out.AuthorizationEndpoint + *out = new(string) + **out = **in + } + if in.AuthorizationMethods != nil { + in, out := &in.AuthorizationMethods, &out.AuthorizationMethods + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BearerTokenSendingMethods != nil { + in, out := &in.BearerTokenSendingMethods, &out.BearerTokenSendingMethods + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientAuthenticationMethod != nil { + in, out := &in.ClientAuthenticationMethod, &out.ClientAuthenticationMethod + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientRegistrationEndpoint != nil { + in, out := &in.ClientRegistrationEndpoint, &out.ClientRegistrationEndpoint + *out = new(string) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DefaultScope != nil { + in, out := &in.DefaultScope, &out.DefaultScope + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.GrantTypes != nil { + in, out := &in.GrantTypes, &out.GrantTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceOwnerPasswordSecretRef != nil { + in, out := &in.ResourceOwnerPasswordSecretRef, &out.ResourceOwnerPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceOwnerUsername != nil { + in, out := &in.ResourceOwnerUsername, &out.ResourceOwnerUsername + *out = new(string) + **out = **in + } + if in.SupportState != nil { + in, out := &in.SupportState, &out.SupportState + *out = new(bool) + **out = **in + } + if in.TokenBodyParameter != nil { + in, out := &in.TokenBodyParameter, &out.TokenBodyParameter + *out = make([]TokenBodyParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TokenEndpoint != nil { + in, out := &in.TokenEndpoint, &out.TokenEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAuthorizationServerParameters. +func (in *ManagementAuthorizationServerParameters) DeepCopy() *ManagementAuthorizationServerParameters { + if in == nil { + return nil + } + out := new(ManagementAuthorizationServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementAuthorizationServerSpec) DeepCopyInto(out *ManagementAuthorizationServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAuthorizationServerSpec. +func (in *ManagementAuthorizationServerSpec) DeepCopy() *ManagementAuthorizationServerSpec { + if in == nil { + return nil + } + out := new(ManagementAuthorizationServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementAuthorizationServerStatus) DeepCopyInto(out *ManagementAuthorizationServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementAuthorizationServerStatus. +func (in *ManagementAuthorizationServerStatus) DeepCopy() *ManagementAuthorizationServerStatus { + if in == nil { + return nil + } + out := new(ManagementAuthorizationServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackend) DeepCopyInto(out *ManagementBackend) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackend. +func (in *ManagementBackend) DeepCopy() *ManagementBackend { + if in == nil { + return nil + } + out := new(ManagementBackend) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementBackend) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendList) DeepCopyInto(out *ManagementBackendList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementBackend, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendList. +func (in *ManagementBackendList) DeepCopy() *ManagementBackendList { + if in == nil { + return nil + } + out := new(ManagementBackendList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementBackendList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendObservation) DeepCopyInto(out *ManagementBackendObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendObservation. +func (in *ManagementBackendObservation) DeepCopy() *ManagementBackendObservation { + if in == nil { + return nil + } + out := new(ManagementBackendObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendParameters) DeepCopyInto(out *ManagementBackendParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.Credentials != nil { + in, out := &in.Credentials, &out.Credentials + *out = make([]CredentialsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy + *out = make([]ManagementBackendProxyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ServiceFabricCluster != nil { + in, out := &in.ServiceFabricCluster, &out.ServiceFabricCluster + *out = make([]ServiceFabricClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLS != nil { + in, out := &in.TLS, &out.TLS + *out = make([]TLSParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Title != nil { + in, out := &in.Title, &out.Title + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendParameters. +func (in *ManagementBackendParameters) DeepCopy() *ManagementBackendParameters { + if in == nil { + return nil + } + out := new(ManagementBackendParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendProxyObservation) DeepCopyInto(out *ManagementBackendProxyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendProxyObservation. +func (in *ManagementBackendProxyObservation) DeepCopy() *ManagementBackendProxyObservation { + if in == nil { + return nil + } + out := new(ManagementBackendProxyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendProxyParameters) DeepCopyInto(out *ManagementBackendProxyParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendProxyParameters. +func (in *ManagementBackendProxyParameters) DeepCopy() *ManagementBackendProxyParameters { + if in == nil { + return nil + } + out := new(ManagementBackendProxyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendSpec) DeepCopyInto(out *ManagementBackendSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendSpec. +func (in *ManagementBackendSpec) DeepCopy() *ManagementBackendSpec { + if in == nil { + return nil + } + out := new(ManagementBackendSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementBackendStatus) DeepCopyInto(out *ManagementBackendStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementBackendStatus. +func (in *ManagementBackendStatus) DeepCopy() *ManagementBackendStatus { + if in == nil { + return nil + } + out := new(ManagementBackendStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCertificate) DeepCopyInto(out *ManagementCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCertificate. +func (in *ManagementCertificate) DeepCopy() *ManagementCertificate { + if in == nil { + return nil + } + out := new(ManagementCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCertificateList) DeepCopyInto(out *ManagementCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCertificateList. +func (in *ManagementCertificateList) DeepCopy() *ManagementCertificateList { + if in == nil { + return nil + } + out := new(ManagementCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCertificateObservation) DeepCopyInto(out *ManagementCertificateObservation) { + *out = *in + if in.Expiration != nil { + in, out := &in.Expiration, &out.Expiration + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCertificateObservation. +func (in *ManagementCertificateObservation) DeepCopy() *ManagementCertificateObservation { + if in == nil { + return nil + } + out := new(ManagementCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCertificateParameters) DeepCopyInto(out *ManagementCertificateParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.DataSecretRef != nil { + in, out := &in.DataSecretRef, &out.DataSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.KeyVaultIdentityClientID != nil { + in, out := &in.KeyVaultIdentityClientID, &out.KeyVaultIdentityClientID + *out = new(string) + **out = **in + } + if in.KeyVaultSecretID != nil { + in, out := &in.KeyVaultSecretID, &out.KeyVaultSecretID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCertificateParameters. +func (in *ManagementCertificateParameters) DeepCopy() *ManagementCertificateParameters { + if in == nil { + return nil + } + out := new(ManagementCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCertificateSpec) DeepCopyInto(out *ManagementCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCertificateSpec. +func (in *ManagementCertificateSpec) DeepCopy() *ManagementCertificateSpec { + if in == nil { + return nil + } + out := new(ManagementCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCertificateStatus) DeepCopyInto(out *ManagementCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCertificateStatus. +func (in *ManagementCertificateStatus) DeepCopy() *ManagementCertificateStatus { + if in == nil { + return nil + } + out := new(ManagementCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomain) DeepCopyInto(out *ManagementCustomDomain) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomain. +func (in *ManagementCustomDomain) DeepCopy() *ManagementCustomDomain { + if in == nil { + return nil + } + out := new(ManagementCustomDomain) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementCustomDomain) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainDeveloperPortalObservation) DeepCopyInto(out *ManagementCustomDomainDeveloperPortalObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainDeveloperPortalObservation. +func (in *ManagementCustomDomainDeveloperPortalObservation) DeepCopy() *ManagementCustomDomainDeveloperPortalObservation { + if in == nil { + return nil + } + out := new(ManagementCustomDomainDeveloperPortalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainDeveloperPortalParameters) DeepCopyInto(out *ManagementCustomDomainDeveloperPortalParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainDeveloperPortalParameters. +func (in *ManagementCustomDomainDeveloperPortalParameters) DeepCopy() *ManagementCustomDomainDeveloperPortalParameters { + if in == nil { + return nil + } + out := new(ManagementCustomDomainDeveloperPortalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainList) DeepCopyInto(out *ManagementCustomDomainList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementCustomDomain, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainList. +func (in *ManagementCustomDomainList) DeepCopy() *ManagementCustomDomainList { + if in == nil { + return nil + } + out := new(ManagementCustomDomainList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementCustomDomainList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainManagementObservation) DeepCopyInto(out *ManagementCustomDomainManagementObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainManagementObservation. +func (in *ManagementCustomDomainManagementObservation) DeepCopy() *ManagementCustomDomainManagementObservation { + if in == nil { + return nil + } + out := new(ManagementCustomDomainManagementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainManagementParameters) DeepCopyInto(out *ManagementCustomDomainManagementParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainManagementParameters. +func (in *ManagementCustomDomainManagementParameters) DeepCopy() *ManagementCustomDomainManagementParameters { + if in == nil { + return nil + } + out := new(ManagementCustomDomainManagementParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainObservation) DeepCopyInto(out *ManagementCustomDomainObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainObservation. +func (in *ManagementCustomDomainObservation) DeepCopy() *ManagementCustomDomainObservation { + if in == nil { + return nil + } + out := new(ManagementCustomDomainObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainParameters) DeepCopyInto(out *ManagementCustomDomainParameters) { + *out = *in + if in.APIManagementID != nil { + in, out := &in.APIManagementID, &out.APIManagementID + *out = new(string) + **out = **in + } + if in.DeveloperPortal != nil { + in, out := &in.DeveloperPortal, &out.DeveloperPortal + *out = make([]ManagementCustomDomainDeveloperPortalParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Management != nil { + in, out := &in.Management, &out.Management + *out = make([]ManagementCustomDomainManagementParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Portal != nil { + in, out := &in.Portal, &out.Portal + *out = make([]ManagementCustomDomainPortalParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy + *out = make([]ManagementCustomDomainProxyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Scm != nil { + in, out := &in.Scm, &out.Scm + *out = make([]ManagementCustomDomainScmParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainParameters. +func (in *ManagementCustomDomainParameters) DeepCopy() *ManagementCustomDomainParameters { + if in == nil { + return nil + } + out := new(ManagementCustomDomainParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainPortalObservation) DeepCopyInto(out *ManagementCustomDomainPortalObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainPortalObservation. +func (in *ManagementCustomDomainPortalObservation) DeepCopy() *ManagementCustomDomainPortalObservation { + if in == nil { + return nil + } + out := new(ManagementCustomDomainPortalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainPortalParameters) DeepCopyInto(out *ManagementCustomDomainPortalParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainPortalParameters. +func (in *ManagementCustomDomainPortalParameters) DeepCopy() *ManagementCustomDomainPortalParameters { + if in == nil { + return nil + } + out := new(ManagementCustomDomainPortalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainProxyObservation) DeepCopyInto(out *ManagementCustomDomainProxyObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainProxyObservation. +func (in *ManagementCustomDomainProxyObservation) DeepCopy() *ManagementCustomDomainProxyObservation { + if in == nil { + return nil + } + out := new(ManagementCustomDomainProxyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainProxyParameters) DeepCopyInto(out *ManagementCustomDomainProxyParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DefaultSslBinding != nil { + in, out := &in.DefaultSslBinding, &out.DefaultSslBinding + *out = new(bool) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainProxyParameters. +func (in *ManagementCustomDomainProxyParameters) DeepCopy() *ManagementCustomDomainProxyParameters { + if in == nil { + return nil + } + out := new(ManagementCustomDomainProxyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainScmObservation) DeepCopyInto(out *ManagementCustomDomainScmObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainScmObservation. +func (in *ManagementCustomDomainScmObservation) DeepCopy() *ManagementCustomDomainScmObservation { + if in == nil { + return nil + } + out := new(ManagementCustomDomainScmObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainScmParameters) DeepCopyInto(out *ManagementCustomDomainScmParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainScmParameters. +func (in *ManagementCustomDomainScmParameters) DeepCopy() *ManagementCustomDomainScmParameters { + if in == nil { + return nil + } + out := new(ManagementCustomDomainScmParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainSpec) DeepCopyInto(out *ManagementCustomDomainSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainSpec. +func (in *ManagementCustomDomainSpec) DeepCopy() *ManagementCustomDomainSpec { + if in == nil { + return nil + } + out := new(ManagementCustomDomainSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementCustomDomainStatus) DeepCopyInto(out *ManagementCustomDomainStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementCustomDomainStatus. +func (in *ManagementCustomDomainStatus) DeepCopy() *ManagementCustomDomainStatus { + if in == nil { + return nil + } + out := new(ManagementCustomDomainStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnostic) DeepCopyInto(out *ManagementDiagnostic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnostic. +func (in *ManagementDiagnostic) DeepCopy() *ManagementDiagnostic { + if in == nil { + return nil + } + out := new(ManagementDiagnostic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementDiagnostic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticBackendRequestObservation) DeepCopyInto(out *ManagementDiagnosticBackendRequestObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticBackendRequestObservation. +func (in *ManagementDiagnosticBackendRequestObservation) DeepCopy() *ManagementDiagnosticBackendRequestObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticBackendRequestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticBackendRequestParameters) DeepCopyInto(out *ManagementDiagnosticBackendRequestParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]BackendRequestDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticBackendRequestParameters. +func (in *ManagementDiagnosticBackendRequestParameters) DeepCopy() *ManagementDiagnosticBackendRequestParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticBackendRequestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticBackendResponseDataMaskingObservation) DeepCopyInto(out *ManagementDiagnosticBackendResponseDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticBackendResponseDataMaskingObservation. +func (in *ManagementDiagnosticBackendResponseDataMaskingObservation) DeepCopy() *ManagementDiagnosticBackendResponseDataMaskingObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticBackendResponseDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticBackendResponseDataMaskingParameters) DeepCopyInto(out *ManagementDiagnosticBackendResponseDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]BackendResponseDataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]BackendResponseDataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticBackendResponseDataMaskingParameters. +func (in *ManagementDiagnosticBackendResponseDataMaskingParameters) DeepCopy() *ManagementDiagnosticBackendResponseDataMaskingParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticBackendResponseDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticBackendResponseObservation) DeepCopyInto(out *ManagementDiagnosticBackendResponseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticBackendResponseObservation. +func (in *ManagementDiagnosticBackendResponseObservation) DeepCopy() *ManagementDiagnosticBackendResponseObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticBackendResponseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticBackendResponseParameters) DeepCopyInto(out *ManagementDiagnosticBackendResponseParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]ManagementDiagnosticBackendResponseDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticBackendResponseParameters. +func (in *ManagementDiagnosticBackendResponseParameters) DeepCopy() *ManagementDiagnosticBackendResponseParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticBackendResponseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation) DeepCopyInto(out *ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation. +func (in *ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation) DeepCopy() *ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters) DeepCopyInto(out *ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters. +func (in *ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters) DeepCopy() *ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestDataMaskingObservation) DeepCopyInto(out *ManagementDiagnosticFrontendRequestDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestDataMaskingObservation. +func (in *ManagementDiagnosticFrontendRequestDataMaskingObservation) DeepCopy() *ManagementDiagnosticFrontendRequestDataMaskingObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestDataMaskingParameters) DeepCopyInto(out *ManagementDiagnosticFrontendRequestDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestDataMaskingParameters. +func (in *ManagementDiagnosticFrontendRequestDataMaskingParameters) DeepCopy() *ManagementDiagnosticFrontendRequestDataMaskingParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation) DeepCopyInto(out *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation. +func (in *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation) DeepCopy() *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters) DeepCopyInto(out *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters. +func (in *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters) DeepCopy() *ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestObservation) DeepCopyInto(out *ManagementDiagnosticFrontendRequestObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestObservation. +func (in *ManagementDiagnosticFrontendRequestObservation) DeepCopy() *ManagementDiagnosticFrontendRequestObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendRequestParameters) DeepCopyInto(out *ManagementDiagnosticFrontendRequestParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]ManagementDiagnosticFrontendRequestDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendRequestParameters. +func (in *ManagementDiagnosticFrontendRequestParameters) DeepCopy() *ManagementDiagnosticFrontendRequestParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendRequestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation) DeepCopyInto(out *ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation. +func (in *ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation) DeepCopy() *ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters) DeepCopyInto(out *ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters. +func (in *ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters) DeepCopy() *ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseDataMaskingObservation) DeepCopyInto(out *ManagementDiagnosticFrontendResponseDataMaskingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseDataMaskingObservation. +func (in *ManagementDiagnosticFrontendResponseDataMaskingObservation) DeepCopy() *ManagementDiagnosticFrontendResponseDataMaskingObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseDataMaskingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseDataMaskingParameters) DeepCopyInto(out *ManagementDiagnosticFrontendResponseDataMaskingParameters) { + *out = *in + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParams != nil { + in, out := &in.QueryParams, &out.QueryParams + *out = make([]ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseDataMaskingParameters. +func (in *ManagementDiagnosticFrontendResponseDataMaskingParameters) DeepCopy() *ManagementDiagnosticFrontendResponseDataMaskingParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseDataMaskingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation) DeepCopyInto(out *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation. +func (in *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation) DeepCopy() *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters) DeepCopyInto(out *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters. +func (in *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters) DeepCopy() *ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseObservation) DeepCopyInto(out *ManagementDiagnosticFrontendResponseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseObservation. +func (in *ManagementDiagnosticFrontendResponseObservation) DeepCopy() *ManagementDiagnosticFrontendResponseObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticFrontendResponseParameters) DeepCopyInto(out *ManagementDiagnosticFrontendResponseParameters) { + *out = *in + if in.BodyBytes != nil { + in, out := &in.BodyBytes, &out.BodyBytes + *out = new(int64) + **out = **in + } + if in.DataMasking != nil { + in, out := &in.DataMasking, &out.DataMasking + *out = make([]ManagementDiagnosticFrontendResponseDataMaskingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadersToLog != nil { + in, out := &in.HeadersToLog, &out.HeadersToLog + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticFrontendResponseParameters. +func (in *ManagementDiagnosticFrontendResponseParameters) DeepCopy() *ManagementDiagnosticFrontendResponseParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticFrontendResponseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticList) DeepCopyInto(out *ManagementDiagnosticList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementDiagnostic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticList. +func (in *ManagementDiagnosticList) DeepCopy() *ManagementDiagnosticList { + if in == nil { + return nil + } + out := new(ManagementDiagnosticList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementDiagnosticList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticObservation) DeepCopyInto(out *ManagementDiagnosticObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticObservation. +func (in *ManagementDiagnosticObservation) DeepCopy() *ManagementDiagnosticObservation { + if in == nil { + return nil + } + out := new(ManagementDiagnosticObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticParameters) DeepCopyInto(out *ManagementDiagnosticParameters) { + *out = *in + if in.APIManagementLoggerID != nil { + in, out := &in.APIManagementLoggerID, &out.APIManagementLoggerID + *out = new(string) + **out = **in + } + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.AlwaysLogErrors != nil { + in, out := &in.AlwaysLogErrors, &out.AlwaysLogErrors + *out = new(bool) + **out = **in + } + if in.BackendRequest != nil { + in, out := &in.BackendRequest, &out.BackendRequest + *out = make([]ManagementDiagnosticBackendRequestParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendResponse != nil { + in, out := &in.BackendResponse, &out.BackendResponse + *out = make([]ManagementDiagnosticBackendResponseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.FrontendRequest != nil { + in, out := &in.FrontendRequest, &out.FrontendRequest + *out = make([]ManagementDiagnosticFrontendRequestParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontendResponse != nil { + in, out := &in.FrontendResponse, &out.FrontendResponse + *out = make([]ManagementDiagnosticFrontendResponseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HTTPCorrelationProtocol != nil { + in, out := &in.HTTPCorrelationProtocol, &out.HTTPCorrelationProtocol + *out = new(string) + **out = **in + } + if in.Identifier != nil { + in, out := &in.Identifier, &out.Identifier + *out = new(string) + **out = **in + } + if in.LogClientIP != nil { + in, out := &in.LogClientIP, &out.LogClientIP + *out = new(bool) + **out = **in + } + if in.OperationNameFormat != nil { + in, out := &in.OperationNameFormat, &out.OperationNameFormat + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } + if in.Verbosity != nil { + in, out := &in.Verbosity, &out.Verbosity + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticParameters. +func (in *ManagementDiagnosticParameters) DeepCopy() *ManagementDiagnosticParameters { + if in == nil { + return nil + } + out := new(ManagementDiagnosticParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticSpec) DeepCopyInto(out *ManagementDiagnosticSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticSpec. +func (in *ManagementDiagnosticSpec) DeepCopy() *ManagementDiagnosticSpec { + if in == nil { + return nil + } + out := new(ManagementDiagnosticSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementDiagnosticStatus) DeepCopyInto(out *ManagementDiagnosticStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementDiagnosticStatus. +func (in *ManagementDiagnosticStatus) DeepCopy() *ManagementDiagnosticStatus { + if in == nil { + return nil + } + out := new(ManagementDiagnosticStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementEmailTemplate) DeepCopyInto(out *ManagementEmailTemplate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementEmailTemplate. +func (in *ManagementEmailTemplate) DeepCopy() *ManagementEmailTemplate { + if in == nil { + return nil + } + out := new(ManagementEmailTemplate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementEmailTemplate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementEmailTemplateList) DeepCopyInto(out *ManagementEmailTemplateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementEmailTemplate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementEmailTemplateList. +func (in *ManagementEmailTemplateList) DeepCopy() *ManagementEmailTemplateList { + if in == nil { + return nil + } + out := new(ManagementEmailTemplateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementEmailTemplateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementEmailTemplateObservation) DeepCopyInto(out *ManagementEmailTemplateObservation) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Title != nil { + in, out := &in.Title, &out.Title + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementEmailTemplateObservation. +func (in *ManagementEmailTemplateObservation) DeepCopy() *ManagementEmailTemplateObservation { + if in == nil { + return nil + } + out := new(ManagementEmailTemplateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementEmailTemplateParameters) DeepCopyInto(out *ManagementEmailTemplateParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.Body != nil { + in, out := &in.Body, &out.Body + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.TemplateName != nil { + in, out := &in.TemplateName, &out.TemplateName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementEmailTemplateParameters. +func (in *ManagementEmailTemplateParameters) DeepCopy() *ManagementEmailTemplateParameters { + if in == nil { + return nil + } + out := new(ManagementEmailTemplateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementEmailTemplateSpec) DeepCopyInto(out *ManagementEmailTemplateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementEmailTemplateSpec. +func (in *ManagementEmailTemplateSpec) DeepCopy() *ManagementEmailTemplateSpec { + if in == nil { + return nil + } + out := new(ManagementEmailTemplateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementEmailTemplateStatus) DeepCopyInto(out *ManagementEmailTemplateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementEmailTemplateStatus. +func (in *ManagementEmailTemplateStatus) DeepCopy() *ManagementEmailTemplateStatus { + if in == nil { + return nil + } + out := new(ManagementEmailTemplateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGateway) DeepCopyInto(out *ManagementGateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGateway. +func (in *ManagementGateway) DeepCopy() *ManagementGateway { + if in == nil { + return nil + } + out := new(ManagementGateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementGateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayApi) DeepCopyInto(out *ManagementGatewayApi) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayApi. +func (in *ManagementGatewayApi) DeepCopy() *ManagementGatewayApi { + if in == nil { + return nil + } + out := new(ManagementGatewayApi) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementGatewayApi) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayApiList) DeepCopyInto(out *ManagementGatewayApiList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementGatewayApi, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayApiList. +func (in *ManagementGatewayApiList) DeepCopy() *ManagementGatewayApiList { + if in == nil { + return nil + } + out := new(ManagementGatewayApiList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementGatewayApiList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayApiObservation) DeepCopyInto(out *ManagementGatewayApiObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayApiObservation. +func (in *ManagementGatewayApiObservation) DeepCopy() *ManagementGatewayApiObservation { + if in == nil { + return nil + } + out := new(ManagementGatewayApiObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayApiParameters) DeepCopyInto(out *ManagementGatewayApiParameters) { + *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.GatewayID != nil { + in, out := &in.GatewayID, &out.GatewayID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayApiParameters. +func (in *ManagementGatewayApiParameters) DeepCopy() *ManagementGatewayApiParameters { + if in == nil { + return nil + } + out := new(ManagementGatewayApiParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayApiSpec) DeepCopyInto(out *ManagementGatewayApiSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayApiSpec. +func (in *ManagementGatewayApiSpec) DeepCopy() *ManagementGatewayApiSpec { + if in == nil { + return nil + } + out := new(ManagementGatewayApiSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayApiStatus) DeepCopyInto(out *ManagementGatewayApiStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayApiStatus. +func (in *ManagementGatewayApiStatus) DeepCopy() *ManagementGatewayApiStatus { + if in == nil { + return nil + } + out := new(ManagementGatewayApiStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayList) DeepCopyInto(out *ManagementGatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementGateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayList. +func (in *ManagementGatewayList) DeepCopy() *ManagementGatewayList { + if in == nil { + return nil + } + out := new(ManagementGatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementGatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayObservation) DeepCopyInto(out *ManagementGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayObservation. +func (in *ManagementGatewayObservation) DeepCopy() *ManagementGatewayObservation { + if in == nil { + return nil + } + out := new(ManagementGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayParameters) DeepCopyInto(out *ManagementGatewayParameters) { + *out = *in + if in.APIManagementID != nil { + in, out := &in.APIManagementID, &out.APIManagementID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.LocationData != nil { + in, out := &in.LocationData, &out.LocationData + *out = make([]LocationDataParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayParameters. +func (in *ManagementGatewayParameters) DeepCopy() *ManagementGatewayParameters { + if in == nil { + return nil + } + out := new(ManagementGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewaySpec) DeepCopyInto(out *ManagementGatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewaySpec. +func (in *ManagementGatewaySpec) DeepCopy() *ManagementGatewaySpec { + if in == nil { + return nil + } + out := new(ManagementGatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGatewayStatus) DeepCopyInto(out *ManagementGatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGatewayStatus. +func (in *ManagementGatewayStatus) DeepCopy() *ManagementGatewayStatus { + if in == nil { + return nil + } + out := new(ManagementGatewayStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAad) DeepCopyInto(out *ManagementIdentityProviderAad) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAad. +func (in *ManagementIdentityProviderAad) DeepCopy() *ManagementIdentityProviderAad { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAad) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderAad) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadList) DeepCopyInto(out *ManagementIdentityProviderAadList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementIdentityProviderAad, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadList. +func (in *ManagementIdentityProviderAadList) DeepCopy() *ManagementIdentityProviderAadList { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderAadList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadObservation) DeepCopyInto(out *ManagementIdentityProviderAadObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadObservation. +func (in *ManagementIdentityProviderAadObservation) DeepCopy() *ManagementIdentityProviderAadObservation { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadParameters) DeepCopyInto(out *ManagementIdentityProviderAadParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.AllowedTenants != nil { + in, out := &in.AllowedTenants, &out.AllowedTenants + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SigninTenant != nil { + in, out := &in.SigninTenant, &out.SigninTenant + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadParameters. +func (in *ManagementIdentityProviderAadParameters) DeepCopy() *ManagementIdentityProviderAadParameters { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadSpec) DeepCopyInto(out *ManagementIdentityProviderAadSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadSpec. +func (in *ManagementIdentityProviderAadSpec) DeepCopy() *ManagementIdentityProviderAadSpec { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadStatus) DeepCopyInto(out *ManagementIdentityProviderAadStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadStatus. +func (in *ManagementIdentityProviderAadStatus) DeepCopy() *ManagementIdentityProviderAadStatus { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadb2C) DeepCopyInto(out *ManagementIdentityProviderAadb2C) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadb2C. +func (in *ManagementIdentityProviderAadb2C) DeepCopy() *ManagementIdentityProviderAadb2C { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadb2C) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderAadb2C) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadb2CList) DeepCopyInto(out *ManagementIdentityProviderAadb2CList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementIdentityProviderAadb2C, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadb2CList. +func (in *ManagementIdentityProviderAadb2CList) DeepCopy() *ManagementIdentityProviderAadb2CList { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadb2CList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderAadb2CList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadb2CObservation) DeepCopyInto(out *ManagementIdentityProviderAadb2CObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadb2CObservation. +func (in *ManagementIdentityProviderAadb2CObservation) DeepCopy() *ManagementIdentityProviderAadb2CObservation { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadb2CObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadb2CParameters) DeepCopyInto(out *ManagementIdentityProviderAadb2CParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.AllowedTenant != nil { + in, out := &in.AllowedTenant, &out.AllowedTenant + *out = new(string) + **out = **in + } + if in.Authority != nil { + in, out := &in.Authority, &out.Authority + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.PasswordResetPolicy != nil { + in, out := &in.PasswordResetPolicy, &out.PasswordResetPolicy + *out = new(string) + **out = **in + } + if in.ProfileEditingPolicy != nil { + in, out := &in.ProfileEditingPolicy, &out.ProfileEditingPolicy + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SigninPolicy != nil { + in, out := &in.SigninPolicy, &out.SigninPolicy + *out = new(string) + **out = **in + } + if in.SigninTenant != nil { + in, out := &in.SigninTenant, &out.SigninTenant + *out = new(string) + **out = **in + } + if in.SignupPolicy != nil { + in, out := &in.SignupPolicy, &out.SignupPolicy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadb2CParameters. +func (in *ManagementIdentityProviderAadb2CParameters) DeepCopy() *ManagementIdentityProviderAadb2CParameters { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadb2CParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadb2CSpec) DeepCopyInto(out *ManagementIdentityProviderAadb2CSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadb2CSpec. +func (in *ManagementIdentityProviderAadb2CSpec) DeepCopy() *ManagementIdentityProviderAadb2CSpec { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadb2CSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderAadb2CStatus) DeepCopyInto(out *ManagementIdentityProviderAadb2CStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderAadb2CStatus. +func (in *ManagementIdentityProviderAadb2CStatus) DeepCopy() *ManagementIdentityProviderAadb2CStatus { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderAadb2CStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderFacebook) DeepCopyInto(out *ManagementIdentityProviderFacebook) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderFacebook. +func (in *ManagementIdentityProviderFacebook) DeepCopy() *ManagementIdentityProviderFacebook { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderFacebook) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderFacebook) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderFacebookList) DeepCopyInto(out *ManagementIdentityProviderFacebookList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementIdentityProviderFacebook, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderFacebookList. +func (in *ManagementIdentityProviderFacebookList) DeepCopy() *ManagementIdentityProviderFacebookList { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderFacebookList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderFacebookList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderFacebookObservation) DeepCopyInto(out *ManagementIdentityProviderFacebookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderFacebookObservation. +func (in *ManagementIdentityProviderFacebookObservation) DeepCopy() *ManagementIdentityProviderFacebookObservation { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderFacebookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderFacebookParameters) DeepCopyInto(out *ManagementIdentityProviderFacebookParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + out.AppSecretSecretRef = in.AppSecretSecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderFacebookParameters. +func (in *ManagementIdentityProviderFacebookParameters) DeepCopy() *ManagementIdentityProviderFacebookParameters { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderFacebookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderFacebookSpec) DeepCopyInto(out *ManagementIdentityProviderFacebookSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderFacebookSpec. +func (in *ManagementIdentityProviderFacebookSpec) DeepCopy() *ManagementIdentityProviderFacebookSpec { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderFacebookSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderFacebookStatus) DeepCopyInto(out *ManagementIdentityProviderFacebookStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderFacebookStatus. +func (in *ManagementIdentityProviderFacebookStatus) DeepCopy() *ManagementIdentityProviderFacebookStatus { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderFacebookStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderGoogle) DeepCopyInto(out *ManagementIdentityProviderGoogle) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderGoogle. +func (in *ManagementIdentityProviderGoogle) DeepCopy() *ManagementIdentityProviderGoogle { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderGoogle) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderGoogle) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderGoogleList) DeepCopyInto(out *ManagementIdentityProviderGoogleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementIdentityProviderGoogle, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderGoogleList. +func (in *ManagementIdentityProviderGoogleList) DeepCopy() *ManagementIdentityProviderGoogleList { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderGoogleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderGoogleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderGoogleObservation) DeepCopyInto(out *ManagementIdentityProviderGoogleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderGoogleObservation. +func (in *ManagementIdentityProviderGoogleObservation) DeepCopy() *ManagementIdentityProviderGoogleObservation { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderGoogleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderGoogleParameters) DeepCopyInto(out *ManagementIdentityProviderGoogleParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderGoogleParameters. +func (in *ManagementIdentityProviderGoogleParameters) DeepCopy() *ManagementIdentityProviderGoogleParameters { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderGoogleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderGoogleSpec) DeepCopyInto(out *ManagementIdentityProviderGoogleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderGoogleSpec. +func (in *ManagementIdentityProviderGoogleSpec) DeepCopy() *ManagementIdentityProviderGoogleSpec { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderGoogleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderGoogleStatus) DeepCopyInto(out *ManagementIdentityProviderGoogleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderGoogleStatus. +func (in *ManagementIdentityProviderGoogleStatus) DeepCopy() *ManagementIdentityProviderGoogleStatus { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderGoogleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderMicrosoft) DeepCopyInto(out *ManagementIdentityProviderMicrosoft) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderMicrosoft. +func (in *ManagementIdentityProviderMicrosoft) DeepCopy() *ManagementIdentityProviderMicrosoft { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderMicrosoft) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderMicrosoft) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderMicrosoftList) DeepCopyInto(out *ManagementIdentityProviderMicrosoftList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementIdentityProviderMicrosoft, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderMicrosoftList. +func (in *ManagementIdentityProviderMicrosoftList) DeepCopy() *ManagementIdentityProviderMicrosoftList { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderMicrosoftList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderMicrosoftList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderMicrosoftObservation) DeepCopyInto(out *ManagementIdentityProviderMicrosoftObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderMicrosoftObservation. +func (in *ManagementIdentityProviderMicrosoftObservation) DeepCopy() *ManagementIdentityProviderMicrosoftObservation { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderMicrosoftObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderMicrosoftParameters) DeepCopyInto(out *ManagementIdentityProviderMicrosoftParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderMicrosoftParameters. +func (in *ManagementIdentityProviderMicrosoftParameters) DeepCopy() *ManagementIdentityProviderMicrosoftParameters { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderMicrosoftParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderMicrosoftSpec) DeepCopyInto(out *ManagementIdentityProviderMicrosoftSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderMicrosoftSpec. +func (in *ManagementIdentityProviderMicrosoftSpec) DeepCopy() *ManagementIdentityProviderMicrosoftSpec { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderMicrosoftSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderMicrosoftStatus) DeepCopyInto(out *ManagementIdentityProviderMicrosoftStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderMicrosoftStatus. +func (in *ManagementIdentityProviderMicrosoftStatus) DeepCopy() *ManagementIdentityProviderMicrosoftStatus { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderMicrosoftStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderTwitter) DeepCopyInto(out *ManagementIdentityProviderTwitter) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderTwitter. +func (in *ManagementIdentityProviderTwitter) DeepCopy() *ManagementIdentityProviderTwitter { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderTwitter) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderTwitter) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderTwitterList) DeepCopyInto(out *ManagementIdentityProviderTwitterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementIdentityProviderTwitter, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderTwitterList. +func (in *ManagementIdentityProviderTwitterList) DeepCopy() *ManagementIdentityProviderTwitterList { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderTwitterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementIdentityProviderTwitterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderTwitterObservation) DeepCopyInto(out *ManagementIdentityProviderTwitterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderTwitterObservation. +func (in *ManagementIdentityProviderTwitterObservation) DeepCopy() *ManagementIdentityProviderTwitterObservation { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderTwitterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderTwitterParameters) DeepCopyInto(out *ManagementIdentityProviderTwitterParameters) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(string) + **out = **in + } + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + out.APISecretKeySecretRef = in.APISecretKeySecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderTwitterParameters. +func (in *ManagementIdentityProviderTwitterParameters) DeepCopy() *ManagementIdentityProviderTwitterParameters { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderTwitterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderTwitterSpec) DeepCopyInto(out *ManagementIdentityProviderTwitterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderTwitterSpec. +func (in *ManagementIdentityProviderTwitterSpec) DeepCopy() *ManagementIdentityProviderTwitterSpec { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderTwitterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIdentityProviderTwitterStatus) DeepCopyInto(out *ManagementIdentityProviderTwitterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIdentityProviderTwitterStatus. +func (in *ManagementIdentityProviderTwitterStatus) DeepCopy() *ManagementIdentityProviderTwitterStatus { + if in == nil { + return nil + } + out := new(ManagementIdentityProviderTwitterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementList) DeepCopyInto(out *ManagementList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Management, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementList. +func (in *ManagementList) DeepCopy() *ManagementList { + if in == nil { + return nil + } + out := new(ManagementList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementLogger) DeepCopyInto(out *ManagementLogger) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementLogger. +func (in *ManagementLogger) DeepCopy() *ManagementLogger { + if in == nil { + return nil + } + out := new(ManagementLogger) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementLogger) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementLoggerList) DeepCopyInto(out *ManagementLoggerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementLogger, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementLoggerList. +func (in *ManagementLoggerList) DeepCopy() *ManagementLoggerList { + if in == nil { + return nil + } + out := new(ManagementLoggerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementLoggerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementLoggerObservation) DeepCopyInto(out *ManagementLoggerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementLoggerObservation. +func (in *ManagementLoggerObservation) DeepCopy() *ManagementLoggerObservation { + if in == nil { + return nil + } + out := new(ManagementLoggerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementLoggerParameters) DeepCopyInto(out *ManagementLoggerParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.ApplicationInsights != nil { + in, out := &in.ApplicationInsights, &out.ApplicationInsights + *out = make([]ApplicationInsightsParameters, len(*in)) + copy(*out, *in) + } + if in.Buffered != nil { + in, out := &in.Buffered, &out.Buffered + *out = new(bool) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Eventhub != nil { + in, out := &in.Eventhub, &out.Eventhub + *out = make([]EventhubParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementLoggerParameters. +func (in *ManagementLoggerParameters) DeepCopy() *ManagementLoggerParameters { + if in == nil { + return nil + } + out := new(ManagementLoggerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementLoggerSpec) DeepCopyInto(out *ManagementLoggerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementLoggerSpec. +func (in *ManagementLoggerSpec) DeepCopy() *ManagementLoggerSpec { + if in == nil { + return nil + } + out := new(ManagementLoggerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementLoggerStatus) DeepCopyInto(out *ManagementLoggerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementLoggerStatus. +func (in *ManagementLoggerStatus) DeepCopy() *ManagementLoggerStatus { + if in == nil { + return nil + } + out := new(ManagementLoggerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNamedValue) DeepCopyInto(out *ManagementNamedValue) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNamedValue. +func (in *ManagementNamedValue) DeepCopy() *ManagementNamedValue { + if in == nil { + return nil + } + out := new(ManagementNamedValue) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementNamedValue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNamedValueList) DeepCopyInto(out *ManagementNamedValueList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementNamedValue, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNamedValueList. +func (in *ManagementNamedValueList) DeepCopy() *ManagementNamedValueList { + if in == nil { + return nil + } + out := new(ManagementNamedValueList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementNamedValueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNamedValueObservation) DeepCopyInto(out *ManagementNamedValueObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNamedValueObservation. +func (in *ManagementNamedValueObservation) DeepCopy() *ManagementNamedValueObservation { + if in == nil { + return nil + } + out := new(ManagementNamedValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNamedValueParameters) DeepCopyInto(out *ManagementNamedValueParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Secret != nil { + in, out := &in.Secret, &out.Secret + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ValueFromKeyVault != nil { + in, out := &in.ValueFromKeyVault, &out.ValueFromKeyVault + *out = make([]ValueFromKeyVaultParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ValueSecretRef != nil { + in, out := &in.ValueSecretRef, &out.ValueSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNamedValueParameters. +func (in *ManagementNamedValueParameters) DeepCopy() *ManagementNamedValueParameters { + if in == nil { + return nil + } + out := new(ManagementNamedValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNamedValueSpec) DeepCopyInto(out *ManagementNamedValueSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNamedValueSpec. +func (in *ManagementNamedValueSpec) DeepCopy() *ManagementNamedValueSpec { + if in == nil { + return nil + } + out := new(ManagementNamedValueSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNamedValueStatus) DeepCopyInto(out *ManagementNamedValueStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNamedValueStatus. +func (in *ManagementNamedValueStatus) DeepCopy() *ManagementNamedValueStatus { + if in == nil { + return nil + } + out := new(ManagementNamedValueStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNotificationRecipientEmail) DeepCopyInto(out *ManagementNotificationRecipientEmail) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNotificationRecipientEmail. +func (in *ManagementNotificationRecipientEmail) DeepCopy() *ManagementNotificationRecipientEmail { + if in == nil { + return nil + } + out := new(ManagementNotificationRecipientEmail) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementNotificationRecipientEmail) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNotificationRecipientEmailList) DeepCopyInto(out *ManagementNotificationRecipientEmailList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementNotificationRecipientEmail, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNotificationRecipientEmailList. +func (in *ManagementNotificationRecipientEmailList) DeepCopy() *ManagementNotificationRecipientEmailList { + if in == nil { + return nil + } + out := new(ManagementNotificationRecipientEmailList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementNotificationRecipientEmailList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNotificationRecipientEmailObservation) DeepCopyInto(out *ManagementNotificationRecipientEmailObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNotificationRecipientEmailObservation. +func (in *ManagementNotificationRecipientEmailObservation) DeepCopy() *ManagementNotificationRecipientEmailObservation { + if in == nil { + return nil + } + out := new(ManagementNotificationRecipientEmailObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNotificationRecipientEmailParameters) DeepCopyInto(out *ManagementNotificationRecipientEmailParameters) { + *out = *in + if in.APIManagementID != nil { + in, out := &in.APIManagementID, &out.APIManagementID + *out = new(string) + **out = **in + } + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.NotificationType != nil { + in, out := &in.NotificationType, &out.NotificationType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNotificationRecipientEmailParameters. +func (in *ManagementNotificationRecipientEmailParameters) DeepCopy() *ManagementNotificationRecipientEmailParameters { + if in == nil { + return nil + } + out := new(ManagementNotificationRecipientEmailParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNotificationRecipientEmailSpec) DeepCopyInto(out *ManagementNotificationRecipientEmailSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNotificationRecipientEmailSpec. +func (in *ManagementNotificationRecipientEmailSpec) DeepCopy() *ManagementNotificationRecipientEmailSpec { + if in == nil { + return nil + } + out := new(ManagementNotificationRecipientEmailSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementNotificationRecipientEmailStatus) DeepCopyInto(out *ManagementNotificationRecipientEmailStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementNotificationRecipientEmailStatus. +func (in *ManagementNotificationRecipientEmailStatus) DeepCopy() *ManagementNotificationRecipientEmailStatus { + if in == nil { + return nil + } + out := new(ManagementNotificationRecipientEmailStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementObservation) DeepCopyInto(out *ManagementObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementObservation. +func (in *ManagementObservation) DeepCopy() *ManagementObservation { + if in == nil { + return nil + } + out := new(ManagementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementOpenidConnectProvider) DeepCopyInto(out *ManagementOpenidConnectProvider) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementOpenidConnectProvider. +func (in *ManagementOpenidConnectProvider) DeepCopy() *ManagementOpenidConnectProvider { + if in == nil { + return nil + } + out := new(ManagementOpenidConnectProvider) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementOpenidConnectProvider) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementOpenidConnectProviderList) DeepCopyInto(out *ManagementOpenidConnectProviderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementOpenidConnectProvider, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementOpenidConnectProviderList. +func (in *ManagementOpenidConnectProviderList) DeepCopy() *ManagementOpenidConnectProviderList { + if in == nil { + return nil + } + out := new(ManagementOpenidConnectProviderList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementOpenidConnectProviderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementOpenidConnectProviderObservation) DeepCopyInto(out *ManagementOpenidConnectProviderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementOpenidConnectProviderObservation. +func (in *ManagementOpenidConnectProviderObservation) DeepCopy() *ManagementOpenidConnectProviderObservation { + if in == nil { + return nil + } + out := new(ManagementOpenidConnectProviderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementOpenidConnectProviderParameters) DeepCopyInto(out *ManagementOpenidConnectProviderParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + out.ClientIDSecretRef = in.ClientIDSecretRef + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.MetadataEndpoint != nil { + in, out := &in.MetadataEndpoint, &out.MetadataEndpoint + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementOpenidConnectProviderParameters. +func (in *ManagementOpenidConnectProviderParameters) DeepCopy() *ManagementOpenidConnectProviderParameters { + if in == nil { + return nil + } + out := new(ManagementOpenidConnectProviderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementOpenidConnectProviderSpec) DeepCopyInto(out *ManagementOpenidConnectProviderSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementOpenidConnectProviderSpec. +func (in *ManagementOpenidConnectProviderSpec) DeepCopy() *ManagementOpenidConnectProviderSpec { + if in == nil { + return nil + } + out := new(ManagementOpenidConnectProviderSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementOpenidConnectProviderStatus) DeepCopyInto(out *ManagementOpenidConnectProviderStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementOpenidConnectProviderStatus. +func (in *ManagementOpenidConnectProviderStatus) DeepCopy() *ManagementOpenidConnectProviderStatus { + if in == nil { + return nil + } + out := new(ManagementOpenidConnectProviderStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementParameters) DeepCopyInto(out *ManagementParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementParameters. +func (in *ManagementParameters) DeepCopy() *ManagementParameters { + if in == nil { + return nil + } + out := new(ManagementParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicy) DeepCopyInto(out *ManagementPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicy. +func (in *ManagementPolicy) DeepCopy() *ManagementPolicy { + if in == nil { + return nil + } + out := new(ManagementPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyList) DeepCopyInto(out *ManagementPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyList. +func (in *ManagementPolicyList) DeepCopy() *ManagementPolicyList { + if in == nil { + return nil + } + out := new(ManagementPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyObservation) DeepCopyInto(out *ManagementPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyObservation. +func (in *ManagementPolicyObservation) DeepCopy() *ManagementPolicyObservation { + if in == nil { + return nil + } + out := new(ManagementPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyParameters) DeepCopyInto(out *ManagementPolicyParameters) { + *out = *in + if in.APIManagementID != nil { + in, out := &in.APIManagementID, &out.APIManagementID + *out = new(string) + **out = **in + } + if in.XMLContent != nil { + in, out := &in.XMLContent, &out.XMLContent + *out = new(string) + **out = **in + } + if in.XMLLink != nil { + in, out := &in.XMLLink, &out.XMLLink + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyParameters. +func (in *ManagementPolicyParameters) DeepCopy() *ManagementPolicyParameters { + if in == nil { + return nil + } + out := new(ManagementPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicySpec) DeepCopyInto(out *ManagementPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicySpec. +func (in *ManagementPolicySpec) DeepCopy() *ManagementPolicySpec { + if in == nil { + return nil + } + out := new(ManagementPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyStatus) DeepCopyInto(out *ManagementPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyStatus. +func (in *ManagementPolicyStatus) DeepCopy() *ManagementPolicyStatus { + if in == nil { + return nil + } + out := new(ManagementPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProduct) DeepCopyInto(out *ManagementProduct) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProduct. +func (in *ManagementProduct) DeepCopy() *ManagementProduct { + if in == nil { + return nil + } + out := new(ManagementProduct) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProduct) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductApi) DeepCopyInto(out *ManagementProductApi) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductApi. +func (in *ManagementProductApi) DeepCopy() *ManagementProductApi { + if in == nil { + return nil + } + out := new(ManagementProductApi) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProductApi) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductApiList) DeepCopyInto(out *ManagementProductApiList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementProductApi, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductApiList. +func (in *ManagementProductApiList) DeepCopy() *ManagementProductApiList { + if in == nil { + return nil + } + out := new(ManagementProductApiList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProductApiList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductApiObservation) DeepCopyInto(out *ManagementProductApiObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductApiObservation. +func (in *ManagementProductApiObservation) DeepCopy() *ManagementProductApiObservation { + if in == nil { + return nil + } + out := new(ManagementProductApiObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductApiParameters) DeepCopyInto(out *ManagementProductApiParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.APIName != nil { + in, out := &in.APIName, &out.APIName + *out = new(string) + **out = **in + } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductApiParameters. +func (in *ManagementProductApiParameters) DeepCopy() *ManagementProductApiParameters { + if in == nil { + return nil + } + out := new(ManagementProductApiParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductApiSpec) DeepCopyInto(out *ManagementProductApiSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductApiSpec. +func (in *ManagementProductApiSpec) DeepCopy() *ManagementProductApiSpec { + if in == nil { + return nil + } + out := new(ManagementProductApiSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductApiStatus) DeepCopyInto(out *ManagementProductApiStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductApiStatus. +func (in *ManagementProductApiStatus) DeepCopy() *ManagementProductApiStatus { + if in == nil { + return nil + } + out := new(ManagementProductApiStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductList) DeepCopyInto(out *ManagementProductList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementProduct, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductList. +func (in *ManagementProductList) DeepCopy() *ManagementProductList { + if in == nil { + return nil + } + out := new(ManagementProductList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProductList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductObservation) DeepCopyInto(out *ManagementProductObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductObservation. +func (in *ManagementProductObservation) DeepCopy() *ManagementProductObservation { + if in == nil { + return nil + } + out := new(ManagementProductObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductParameters) DeepCopyInto(out *ManagementProductParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.ApprovalRequired != nil { + in, out := &in.ApprovalRequired, &out.ApprovalRequired + *out = new(bool) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.Published != nil { + in, out := &in.Published, &out.Published + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubscriptionRequired != nil { + in, out := &in.SubscriptionRequired, &out.SubscriptionRequired + *out = new(bool) + **out = **in + } + if in.SubscriptionsLimit != nil { + in, out := &in.SubscriptionsLimit, &out.SubscriptionsLimit + *out = new(int64) + **out = **in + } + if in.Terms != nil { + in, out := &in.Terms, &out.Terms + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductParameters. +func (in *ManagementProductParameters) DeepCopy() *ManagementProductParameters { + if in == nil { + return nil + } + out := new(ManagementProductParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductPolicy) DeepCopyInto(out *ManagementProductPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductPolicy. +func (in *ManagementProductPolicy) DeepCopy() *ManagementProductPolicy { + if in == nil { + return nil + } + out := new(ManagementProductPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProductPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductPolicyList) DeepCopyInto(out *ManagementProductPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementProductPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductPolicyList. +func (in *ManagementProductPolicyList) DeepCopy() *ManagementProductPolicyList { + if in == nil { + return nil + } + out := new(ManagementProductPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProductPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductPolicyObservation) DeepCopyInto(out *ManagementProductPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductPolicyObservation. +func (in *ManagementProductPolicyObservation) DeepCopy() *ManagementProductPolicyObservation { + if in == nil { + return nil + } + out := new(ManagementProductPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductPolicyParameters) DeepCopyInto(out *ManagementProductPolicyParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.XMLContent != nil { + in, out := &in.XMLContent, &out.XMLContent + *out = new(string) + **out = **in + } + if in.XMLLink != nil { + in, out := &in.XMLLink, &out.XMLLink + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductPolicyParameters. +func (in *ManagementProductPolicyParameters) DeepCopy() *ManagementProductPolicyParameters { + if in == nil { + return nil + } + out := new(ManagementProductPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductPolicySpec) DeepCopyInto(out *ManagementProductPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductPolicySpec. +func (in *ManagementProductPolicySpec) DeepCopy() *ManagementProductPolicySpec { + if in == nil { + return nil + } + out := new(ManagementProductPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductPolicyStatus) DeepCopyInto(out *ManagementProductPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductPolicyStatus. +func (in *ManagementProductPolicyStatus) DeepCopy() *ManagementProductPolicyStatus { + if in == nil { + return nil + } + out := new(ManagementProductPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductSpec) DeepCopyInto(out *ManagementProductSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductSpec. +func (in *ManagementProductSpec) DeepCopy() *ManagementProductSpec { + if in == nil { + return nil + } + out := new(ManagementProductSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProductStatus) DeepCopyInto(out *ManagementProductStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProductStatus. +func (in *ManagementProductStatus) DeepCopy() *ManagementProductStatus { + if in == nil { + return nil + } + out := new(ManagementProductStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementProperty) DeepCopyInto(out *ManagementProperty) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementProperty. +func (in *ManagementProperty) DeepCopy() *ManagementProperty { + if in == nil { + return nil + } + out := new(ManagementProperty) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementProperty) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPropertyList) DeepCopyInto(out *ManagementPropertyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementProperty, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPropertyList. +func (in *ManagementPropertyList) DeepCopy() *ManagementPropertyList { + if in == nil { + return nil + } + out := new(ManagementPropertyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementPropertyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPropertyObservation) DeepCopyInto(out *ManagementPropertyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPropertyObservation. +func (in *ManagementPropertyObservation) DeepCopy() *ManagementPropertyObservation { + if in == nil { + return nil + } + out := new(ManagementPropertyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPropertyParameters) DeepCopyInto(out *ManagementPropertyParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Secret != nil { + in, out := &in.Secret, &out.Secret + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPropertyParameters. +func (in *ManagementPropertyParameters) DeepCopy() *ManagementPropertyParameters { + if in == nil { + return nil + } + out := new(ManagementPropertyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPropertySpec) DeepCopyInto(out *ManagementPropertySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPropertySpec. +func (in *ManagementPropertySpec) DeepCopy() *ManagementPropertySpec { + if in == nil { + return nil + } + out := new(ManagementPropertySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPropertyStatus) DeepCopyInto(out *ManagementPropertyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPropertyStatus. +func (in *ManagementPropertyStatus) DeepCopy() *ManagementPropertyStatus { + if in == nil { + return nil + } + out := new(ManagementPropertyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementRedisCache) DeepCopyInto(out *ManagementRedisCache) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementRedisCache. +func (in *ManagementRedisCache) DeepCopy() *ManagementRedisCache { + if in == nil { + return nil + } + out := new(ManagementRedisCache) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementRedisCache) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementRedisCacheList) DeepCopyInto(out *ManagementRedisCacheList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementRedisCache, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementRedisCacheList. +func (in *ManagementRedisCacheList) DeepCopy() *ManagementRedisCacheList { + if in == nil { + return nil + } + out := new(ManagementRedisCacheList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementRedisCacheList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementRedisCacheObservation) DeepCopyInto(out *ManagementRedisCacheObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementRedisCacheObservation. +func (in *ManagementRedisCacheObservation) DeepCopy() *ManagementRedisCacheObservation { + if in == nil { + return nil + } + out := new(ManagementRedisCacheObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementRedisCacheParameters) DeepCopyInto(out *ManagementRedisCacheParameters) { + *out = *in + if in.APIManagementID != nil { + in, out := &in.APIManagementID, &out.APIManagementID + *out = new(string) + **out = **in + } + if in.CacheLocation != nil { + in, out := &in.CacheLocation, &out.CacheLocation + *out = new(string) + **out = **in + } + out.ConnectionStringSecretRef = in.ConnectionStringSecretRef + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RedisCacheID != nil { + in, out := &in.RedisCacheID, &out.RedisCacheID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementRedisCacheParameters. +func (in *ManagementRedisCacheParameters) DeepCopy() *ManagementRedisCacheParameters { + if in == nil { + return nil + } + out := new(ManagementRedisCacheParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementRedisCacheSpec) DeepCopyInto(out *ManagementRedisCacheSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementRedisCacheSpec. +func (in *ManagementRedisCacheSpec) DeepCopy() *ManagementRedisCacheSpec { + if in == nil { + return nil + } + out := new(ManagementRedisCacheSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementRedisCacheStatus) DeepCopyInto(out *ManagementRedisCacheStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementRedisCacheStatus. +func (in *ManagementRedisCacheStatus) DeepCopy() *ManagementRedisCacheStatus { + if in == nil { + return nil + } + out := new(ManagementRedisCacheStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSpec) DeepCopyInto(out *ManagementSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSpec. +func (in *ManagementSpec) DeepCopy() *ManagementSpec { + if in == nil { + return nil + } + out := new(ManagementSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementStatus) DeepCopyInto(out *ManagementStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementStatus. +func (in *ManagementStatus) DeepCopy() *ManagementStatus { + if in == nil { + return nil + } + out := new(ManagementStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSubscription) DeepCopyInto(out *ManagementSubscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSubscription. +func (in *ManagementSubscription) DeepCopy() *ManagementSubscription { + if in == nil { + return nil + } + out := new(ManagementSubscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementSubscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSubscriptionList) DeepCopyInto(out *ManagementSubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementSubscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSubscriptionList. +func (in *ManagementSubscriptionList) DeepCopy() *ManagementSubscriptionList { + if in == nil { + return nil + } + out := new(ManagementSubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementSubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSubscriptionObservation) DeepCopyInto(out *ManagementSubscriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSubscriptionObservation. +func (in *ManagementSubscriptionObservation) DeepCopy() *ManagementSubscriptionObservation { + if in == nil { + return nil + } + out := new(ManagementSubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSubscriptionParameters) DeepCopyInto(out *ManagementSubscriptionParameters) { + *out = *in + if in.APIID != nil { + in, out := &in.APIID, &out.APIID + *out = new(string) + **out = **in + } + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.AllowTracing != nil { + in, out := &in.AllowTracing, &out.AllowTracing + *out = new(bool) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.PrimaryKeySecretRef != nil { + in, out := &in.PrimaryKeySecretRef, &out.PrimaryKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ProductID != nil { + in, out := &in.ProductID, &out.ProductID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SecondaryKeySecretRef != nil { + in, out := &in.SecondaryKeySecretRef, &out.SecondaryKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } + if in.UserID != nil { + in, out := &in.UserID, &out.UserID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSubscriptionParameters. +func (in *ManagementSubscriptionParameters) DeepCopy() *ManagementSubscriptionParameters { + if in == nil { + return nil + } + out := new(ManagementSubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSubscriptionSpec) DeepCopyInto(out *ManagementSubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSubscriptionSpec. +func (in *ManagementSubscriptionSpec) DeepCopy() *ManagementSubscriptionSpec { + if in == nil { + return nil + } + out := new(ManagementSubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementSubscriptionStatus) DeepCopyInto(out *ManagementSubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSubscriptionStatus. +func (in *ManagementSubscriptionStatus) DeepCopy() *ManagementSubscriptionStatus { + if in == nil { + return nil + } + out := new(ManagementSubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementTag) DeepCopyInto(out *ManagementTag) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementTag. +func (in *ManagementTag) DeepCopy() *ManagementTag { + if in == nil { + return nil + } + out := new(ManagementTag) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementTag) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementTagList) DeepCopyInto(out *ManagementTagList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementTag, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementTagList. +func (in *ManagementTagList) DeepCopy() *ManagementTagList { + if in == nil { + return nil + } + out := new(ManagementTagList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementTagList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementTagObservation) DeepCopyInto(out *ManagementTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementTagObservation. +func (in *ManagementTagObservation) DeepCopy() *ManagementTagObservation { + if in == nil { + return nil + } + out := new(ManagementTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementTagParameters) DeepCopyInto(out *ManagementTagParameters) { + *out = *in + if in.APIManagementID != nil { + in, out := &in.APIManagementID, &out.APIManagementID + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementTagParameters. +func (in *ManagementTagParameters) DeepCopy() *ManagementTagParameters { + if in == nil { + return nil + } + out := new(ManagementTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementTagSpec) DeepCopyInto(out *ManagementTagSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementTagSpec. +func (in *ManagementTagSpec) DeepCopy() *ManagementTagSpec { + if in == nil { + return nil + } + out := new(ManagementTagSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementTagStatus) DeepCopyInto(out *ManagementTagStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementTagStatus. +func (in *ManagementTagStatus) DeepCopy() *ManagementTagStatus { + if in == nil { + return nil + } + out := new(ManagementTagStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementUser) DeepCopyInto(out *ManagementUser) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementUser. +func (in *ManagementUser) DeepCopy() *ManagementUser { + if in == nil { + return nil + } + out := new(ManagementUser) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementUser) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementUserList) DeepCopyInto(out *ManagementUserList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementUser, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementUserList. +func (in *ManagementUserList) DeepCopy() *ManagementUserList { + if in == nil { + return nil + } + out := new(ManagementUserList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementUserList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementUserObservation) DeepCopyInto(out *ManagementUserObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementUserObservation. +func (in *ManagementUserObservation) DeepCopy() *ManagementUserObservation { + if in == nil { + return nil + } + out := new(ManagementUserObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementUserParameters) DeepCopyInto(out *ManagementUserParameters) { + *out = *in + if in.APIManagementName != nil { + in, out := &in.APIManagementName, &out.APIManagementName + *out = new(string) + **out = **in + } + if in.Confirmation != nil { + in, out := &in.Confirmation, &out.Confirmation + *out = new(string) + **out = **in + } + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.FirstName != nil { + in, out := &in.FirstName, &out.FirstName + *out = new(string) + **out = **in + } + if in.LastName != nil { + in, out := &in.LastName, &out.LastName + *out = new(string) + **out = **in + } + if in.Note != nil { + in, out := &in.Note, &out.Note + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.UserID != nil { + in, out := &in.UserID, &out.UserID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementUserParameters. +func (in *ManagementUserParameters) DeepCopy() *ManagementUserParameters { + if in == nil { + return nil + } + out := new(ManagementUserParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementUserSpec) DeepCopyInto(out *ManagementUserSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementUserSpec. +func (in *ManagementUserSpec) DeepCopy() *ManagementUserSpec { + if in == nil { + return nil + } + out := new(ManagementUserSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementUserStatus) DeepCopyInto(out *ManagementUserStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementUserStatus. +func (in *ManagementUserStatus) DeepCopy() *ManagementUserStatus { + if in == nil { + return nil + } + out := new(ManagementUserStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementVirtualNetworkConfigurationObservation) DeepCopyInto(out *ManagementVirtualNetworkConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementVirtualNetworkConfigurationObservation. +func (in *ManagementVirtualNetworkConfigurationObservation) DeepCopy() *ManagementVirtualNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(ManagementVirtualNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementVirtualNetworkConfigurationParameters) DeepCopyInto(out *ManagementVirtualNetworkConfigurationParameters) { + *out = *in + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementVirtualNetworkConfigurationParameters. +func (in *ManagementVirtualNetworkConfigurationParameters) DeepCopy() *ManagementVirtualNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(ManagementVirtualNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Oauth2AuthorizationObservation) DeepCopyInto(out *Oauth2AuthorizationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2AuthorizationObservation. +func (in *Oauth2AuthorizationObservation) DeepCopy() *Oauth2AuthorizationObservation { + if in == nil { + return nil + } + out := new(Oauth2AuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Oauth2AuthorizationParameters) DeepCopyInto(out *Oauth2AuthorizationParameters) { + *out = *in + if in.AuthorizationServerName != nil { + in, out := &in.AuthorizationServerName, &out.AuthorizationServerName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2AuthorizationParameters. +func (in *Oauth2AuthorizationParameters) DeepCopy() *Oauth2AuthorizationParameters { + if in == nil { + return nil + } + out := new(Oauth2AuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenidAuthenticationObservation) DeepCopyInto(out *OpenidAuthenticationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenidAuthenticationObservation. +func (in *OpenidAuthenticationObservation) DeepCopy() *OpenidAuthenticationObservation { + if in == nil { + return nil + } + out := new(OpenidAuthenticationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpenidAuthenticationParameters) DeepCopyInto(out *OpenidAuthenticationParameters) { + *out = *in + if in.BearerTokenSendingMethods != nil { + in, out := &in.BearerTokenSendingMethods, &out.BearerTokenSendingMethods + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OpenidProviderName != nil { + in, out := &in.OpenidProviderName, &out.OpenidProviderName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenidAuthenticationParameters. +func (in *OpenidAuthenticationParameters) DeepCopy() *OpenidAuthenticationParameters { + if in == nil { + return nil + } + out := new(OpenidAuthenticationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation. +func (in *PolicyObservation) DeepCopy() *PolicyObservation { + if in == nil { + return nil + } + out := new(PolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters) { + *out = *in + if in.XMLContent != nil { + in, out := &in.XMLContent, &out.XMLContent + *out = new(string) + **out = **in + } + if in.XMLLink != nil { + in, out := &in.XMLLink, &out.XMLLink + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters. +func (in *PolicyParameters) DeepCopy() *PolicyParameters { + if in == nil { + return nil + } + out := new(PolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PortalObservation) DeepCopyInto(out *PortalObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalObservation. +func (in *PortalObservation) DeepCopy() *PortalObservation { + if in == nil { + return nil + } + out := new(PortalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PortalParameters) DeepCopyInto(out *PortalParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalParameters. +func (in *PortalParameters) DeepCopy() *PortalParameters { + if in == nil { + return nil + } + out := new(PortalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtocolsObservation) DeepCopyInto(out *ProtocolsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolsObservation. +func (in *ProtocolsObservation) DeepCopy() *ProtocolsObservation { + if in == nil { + return nil + } + out := new(ProtocolsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtocolsParameters) DeepCopyInto(out *ProtocolsParameters) { + *out = *in + if in.EnableHttp2 != nil { + in, out := &in.EnableHttp2, &out.EnableHttp2 + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolsParameters. +func (in *ProtocolsParameters) DeepCopy() *ProtocolsParameters { + if in == nil { + return nil + } + out := new(ProtocolsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProxyObservation) DeepCopyInto(out *ProxyObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyObservation. +func (in *ProxyObservation) DeepCopy() *ProxyObservation { + if in == nil { + return nil + } + out := new(ProxyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProxyParameters) DeepCopyInto(out *ProxyParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DefaultSslBinding != nil { + in, out := &in.DefaultSslBinding, &out.DefaultSslBinding + *out = new(bool) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyParameters. +func (in *ProxyParameters) DeepCopy() *ProxyParameters { + if in == nil { + return nil + } + out := new(ProxyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryParameterObservation) DeepCopyInto(out *QueryParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameterObservation. +func (in *QueryParameterObservation) DeepCopy() *QueryParameterObservation { + if in == nil { + return nil + } + out := new(QueryParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryParameterParameters) DeepCopyInto(out *QueryParameterParameters) { + *out = *in + if in.DefaultValue != nil { + in, out := &in.DefaultValue, &out.DefaultValue + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameterParameters. +func (in *QueryParameterParameters) DeepCopy() *QueryParameterParameters { + if in == nil { + return nil + } + out := new(QueryParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryParamsObservation) DeepCopyInto(out *QueryParamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParamsObservation. +func (in *QueryParamsObservation) DeepCopy() *QueryParamsObservation { + if in == nil { + return nil + } + out := new(QueryParamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryParamsParameters) DeepCopyInto(out *QueryParamsParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParamsParameters. +func (in *QueryParamsParameters) DeepCopy() *QueryParamsParameters { + if in == nil { + return nil + } + out := new(QueryParamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepresentationFormParameterObservation) DeepCopyInto(out *RepresentationFormParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepresentationFormParameterObservation. +func (in *RepresentationFormParameterObservation) DeepCopy() *RepresentationFormParameterObservation { + if in == nil { + return nil + } + out := new(RepresentationFormParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepresentationFormParameterParameters) DeepCopyInto(out *RepresentationFormParameterParameters) { + *out = *in + if in.DefaultValue != nil { + in, out := &in.DefaultValue, &out.DefaultValue + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepresentationFormParameterParameters. +func (in *RepresentationFormParameterParameters) DeepCopy() *RepresentationFormParameterParameters { + if in == nil { + return nil + } + out := new(RepresentationFormParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepresentationObservation) DeepCopyInto(out *RepresentationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepresentationObservation. +func (in *RepresentationObservation) DeepCopy() *RepresentationObservation { + if in == nil { + return nil + } + out := new(RepresentationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepresentationParameters) DeepCopyInto(out *RepresentationParameters) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.FormParameter != nil { + in, out := &in.FormParameter, &out.FormParameter + *out = make([]FormParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sample != nil { + in, out := &in.Sample, &out.Sample + *out = new(string) + **out = **in + } + if in.SchemaID != nil { + in, out := &in.SchemaID, &out.SchemaID + *out = new(string) + **out = **in + } + if in.TypeName != nil { + in, out := &in.TypeName, &out.TypeName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepresentationParameters. +func (in *RepresentationParameters) DeepCopy() *RepresentationParameters { + if in == nil { + return nil + } + out := new(RepresentationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestObservation) DeepCopyInto(out *RequestObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestObservation. +func (in *RequestObservation) DeepCopy() *RequestObservation { + if in == nil { + return nil + } + out := new(RequestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestParameters) DeepCopyInto(out *RequestParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Header != nil { + in, out := &in.Header, &out.Header + *out = make([]HeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryParameter != nil { + in, out := &in.QueryParameter, &out.QueryParameter + *out = make([]QueryParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Representation != nil { + in, out := &in.Representation, &out.Representation + *out = make([]RepresentationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestParameters. +func (in *RequestParameters) DeepCopy() *RequestParameters { + if in == nil { + return nil + } + out := new(RequestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseHeaderObservation) DeepCopyInto(out *ResponseHeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseHeaderObservation. +func (in *ResponseHeaderObservation) DeepCopy() *ResponseHeaderObservation { + if in == nil { + return nil + } + out := new(ResponseHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseHeaderParameters) DeepCopyInto(out *ResponseHeaderParameters) { + *out = *in + if in.DefaultValue != nil { + in, out := &in.DefaultValue, &out.DefaultValue + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseHeaderParameters. +func (in *ResponseHeaderParameters) DeepCopy() *ResponseHeaderParameters { + if in == nil { + return nil + } + out := new(ResponseHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseObservation) DeepCopyInto(out *ResponseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseObservation. +func (in *ResponseObservation) DeepCopy() *ResponseObservation { + if in == nil { + return nil + } + out := new(ResponseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseParameters) DeepCopyInto(out *ResponseParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Header != nil { + in, out := &in.Header, &out.Header + *out = make([]ResponseHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Representation != nil { + in, out := &in.Representation, &out.Representation + *out = make([]ResponseRepresentationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StatusCode != nil { + in, out := &in.StatusCode, &out.StatusCode + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseParameters. +func (in *ResponseParameters) DeepCopy() *ResponseParameters { + if in == nil { + return nil + } + out := new(ResponseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseRepresentationObservation) DeepCopyInto(out *ResponseRepresentationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseRepresentationObservation. +func (in *ResponseRepresentationObservation) DeepCopy() *ResponseRepresentationObservation { + if in == nil { + return nil + } + out := new(ResponseRepresentationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseRepresentationParameters) DeepCopyInto(out *ResponseRepresentationParameters) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.FormParameter != nil { + in, out := &in.FormParameter, &out.FormParameter + *out = make([]RepresentationFormParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sample != nil { + in, out := &in.Sample, &out.Sample + *out = new(string) + **out = **in + } + if in.SchemaID != nil { + in, out := &in.SchemaID, &out.SchemaID + *out = new(string) + **out = **in + } + if in.TypeName != nil { + in, out := &in.TypeName, &out.TypeName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseRepresentationParameters. +func (in *ResponseRepresentationParameters) DeepCopy() *ResponseRepresentationParameters { + if in == nil { + return nil + } + out := new(ResponseRepresentationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmObservation) DeepCopyInto(out *ScmObservation) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmObservation. +func (in *ScmObservation) DeepCopy() *ScmObservation { + if in == nil { + return nil + } + out := new(ScmObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmParameters) DeepCopyInto(out *ScmParameters) { + *out = *in + if in.CertificatePasswordSecretRef != nil { + in, out := &in.CertificatePasswordSecretRef, &out.CertificatePasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.CertificateSecretRef != nil { + in, out := &in.CertificateSecretRef, &out.CertificateSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.NegotiateClientCertificate != nil { + in, out := &in.NegotiateClientCertificate, &out.NegotiateClientCertificate + *out = new(bool) + **out = **in + } + if in.SslKeyvaultIdentityClientID != nil { + in, out := &in.SslKeyvaultIdentityClientID, &out.SslKeyvaultIdentityClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmParameters. +func (in *ScmParameters) DeepCopy() *ScmParameters { + if in == nil { + return nil + } + out := new(ScmParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityObservation) DeepCopyInto(out *SecurityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityObservation. +func (in *SecurityObservation) DeepCopy() *SecurityObservation { + if in == nil { + return nil + } + out := new(SecurityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityParameters) DeepCopyInto(out *SecurityParameters) { + *out = *in + if in.EnableBackendSsl30 != nil { + in, out := &in.EnableBackendSsl30, &out.EnableBackendSsl30 + *out = new(bool) + **out = **in + } + if in.EnableBackendTls10 != nil { + in, out := &in.EnableBackendTls10, &out.EnableBackendTls10 + *out = new(bool) + **out = **in + } + if in.EnableBackendTls11 != nil { + in, out := &in.EnableBackendTls11, &out.EnableBackendTls11 + *out = new(bool) + **out = **in + } + if in.EnableFrontendSsl30 != nil { + in, out := &in.EnableFrontendSsl30, &out.EnableFrontendSsl30 + *out = new(bool) + **out = **in + } + if in.EnableFrontendTls10 != nil { + in, out := &in.EnableFrontendTls10, &out.EnableFrontendTls10 + *out = new(bool) + **out = **in + } + if in.EnableFrontendTls11 != nil { + in, out := &in.EnableFrontendTls11, &out.EnableFrontendTls11 + *out = new(bool) + **out = **in + } + if in.EnableTripleDesCiphers != nil { + in, out := &in.EnableTripleDesCiphers, &out.EnableTripleDesCiphers + *out = new(bool) + **out = **in + } + if in.TLSEcdheEcdsaWithAes128CbcShaCiphersEnabled != nil { + in, out := &in.TLSEcdheEcdsaWithAes128CbcShaCiphersEnabled, &out.TLSEcdheEcdsaWithAes128CbcShaCiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSEcdheEcdsaWithAes256CbcShaCiphersEnabled != nil { + in, out := &in.TLSEcdheEcdsaWithAes256CbcShaCiphersEnabled, &out.TLSEcdheEcdsaWithAes256CbcShaCiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSEcdheRsaWithAes128CbcShaCiphersEnabled != nil { + in, out := &in.TLSEcdheRsaWithAes128CbcShaCiphersEnabled, &out.TLSEcdheRsaWithAes128CbcShaCiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSEcdheRsaWithAes256CbcShaCiphersEnabled != nil { + in, out := &in.TLSEcdheRsaWithAes256CbcShaCiphersEnabled, &out.TLSEcdheRsaWithAes256CbcShaCiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSRsaWithAes128CbcSha256CiphersEnabled != nil { + in, out := &in.TLSRsaWithAes128CbcSha256CiphersEnabled, &out.TLSRsaWithAes128CbcSha256CiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSRsaWithAes128CbcShaCiphersEnabled != nil { + in, out := &in.TLSRsaWithAes128CbcShaCiphersEnabled, &out.TLSRsaWithAes128CbcShaCiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSRsaWithAes128GcmSha256CiphersEnabled != nil { + in, out := &in.TLSRsaWithAes128GcmSha256CiphersEnabled, &out.TLSRsaWithAes128GcmSha256CiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSRsaWithAes256CbcSha256CiphersEnabled != nil { + in, out := &in.TLSRsaWithAes256CbcSha256CiphersEnabled, &out.TLSRsaWithAes256CbcSha256CiphersEnabled + *out = new(bool) + **out = **in + } + if in.TLSRsaWithAes256CbcShaCiphersEnabled != nil { + in, out := &in.TLSRsaWithAes256CbcShaCiphersEnabled, &out.TLSRsaWithAes256CbcShaCiphersEnabled + *out = new(bool) + **out = **in + } + if in.TripleDesCiphersEnabled != nil { + in, out := &in.TripleDesCiphersEnabled, &out.TripleDesCiphersEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityParameters. +func (in *SecurityParameters) DeepCopy() *SecurityParameters { + if in == nil { + return nil + } + out := new(SecurityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerX509NameObservation) DeepCopyInto(out *ServerX509NameObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerX509NameObservation. +func (in *ServerX509NameObservation) DeepCopy() *ServerX509NameObservation { + if in == nil { + return nil + } + out := new(ServerX509NameObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerX509NameParameters) DeepCopyInto(out *ServerX509NameParameters) { + *out = *in + if in.IssuerCertificateThumbprint != nil { + in, out := &in.IssuerCertificateThumbprint, &out.IssuerCertificateThumbprint + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerX509NameParameters. +func (in *ServerX509NameParameters) DeepCopy() *ServerX509NameParameters { + if in == nil { + return nil + } + out := new(ServerX509NameParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceFabricClusterObservation) DeepCopyInto(out *ServiceFabricClusterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceFabricClusterObservation. +func (in *ServiceFabricClusterObservation) DeepCopy() *ServiceFabricClusterObservation { + if in == nil { + return nil + } + out := new(ServiceFabricClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceFabricClusterParameters) DeepCopyInto(out *ServiceFabricClusterParameters) { + *out = *in + if in.ClientCertificateID != nil { + in, out := &in.ClientCertificateID, &out.ClientCertificateID + *out = new(string) + **out = **in + } + if in.ClientCertificateThumbprint != nil { + in, out := &in.ClientCertificateThumbprint, &out.ClientCertificateThumbprint + *out = new(string) + **out = **in + } + if in.ManagementEndpoints != nil { + in, out := &in.ManagementEndpoints, &out.ManagementEndpoints + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MaxPartitionResolutionRetries != nil { + in, out := &in.MaxPartitionResolutionRetries, &out.MaxPartitionResolutionRetries + *out = new(int64) + **out = **in + } + if in.ServerCertificateThumbprints != nil { + in, out := &in.ServerCertificateThumbprints, &out.ServerCertificateThumbprints + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ServerX509Name != nil { + in, out := &in.ServerX509Name, &out.ServerX509Name + *out = make([]ServerX509NameParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceFabricClusterParameters. +func (in *ServiceFabricClusterParameters) DeepCopy() *ServiceFabricClusterParameters { + if in == nil { + return nil + } + out := new(ServiceFabricClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SignInObservation) DeepCopyInto(out *SignInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignInObservation. +func (in *SignInObservation) DeepCopy() *SignInObservation { + if in == nil { + return nil + } + out := new(SignInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SignInParameters) DeepCopyInto(out *SignInParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignInParameters. +func (in *SignInParameters) DeepCopy() *SignInParameters { + if in == nil { + return nil + } + out := new(SignInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SignUpObservation) DeepCopyInto(out *SignUpObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignUpObservation. +func (in *SignUpObservation) DeepCopy() *SignUpObservation { + if in == nil { + return nil + } + out := new(SignUpObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SignUpParameters) DeepCopyInto(out *SignUpParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.TermsOfService != nil { + in, out := &in.TermsOfService, &out.TermsOfService + *out = make([]TermsOfServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignUpParameters. +func (in *SignUpParameters) DeepCopy() *SignUpParameters { + if in == nil { + return nil + } + out := new(SignUpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionKeyParameterNamesObservation) DeepCopyInto(out *SubscriptionKeyParameterNamesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionKeyParameterNamesObservation. +func (in *SubscriptionKeyParameterNamesObservation) DeepCopy() *SubscriptionKeyParameterNamesObservation { + if in == nil { + return nil + } + out := new(SubscriptionKeyParameterNamesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionKeyParameterNamesParameters) DeepCopyInto(out *SubscriptionKeyParameterNamesParameters) { + *out = *in + if in.Header != nil { + in, out := &in.Header, &out.Header + *out = new(string) + **out = **in + } + if in.Query != nil { + in, out := &in.Query, &out.Query + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionKeyParameterNamesParameters. +func (in *SubscriptionKeyParameterNamesParameters) DeepCopy() *SubscriptionKeyParameterNamesParameters { + if in == nil { + return nil + } + out := new(SubscriptionKeyParameterNamesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TLSObservation) DeepCopyInto(out *TLSObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSObservation. +func (in *TLSObservation) DeepCopy() *TLSObservation { + if in == nil { + return nil + } + out := new(TLSObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TLSParameters) DeepCopyInto(out *TLSParameters) { + *out = *in + if in.ValidateCertificateChain != nil { + in, out := &in.ValidateCertificateChain, &out.ValidateCertificateChain + *out = new(bool) + **out = **in + } + if in.ValidateCertificateName != nil { + in, out := &in.ValidateCertificateName, &out.ValidateCertificateName + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSParameters. +func (in *TLSParameters) DeepCopy() *TLSParameters { + if in == nil { + return nil + } + out := new(TLSParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateParameterObservation) DeepCopyInto(out *TemplateParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateParameterObservation. +func (in *TemplateParameterObservation) DeepCopy() *TemplateParameterObservation { + if in == nil { + return nil + } + out := new(TemplateParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateParameterParameters) DeepCopyInto(out *TemplateParameterParameters) { + *out = *in + if in.DefaultValue != nil { + in, out := &in.DefaultValue, &out.DefaultValue + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Required != nil { + in, out := &in.Required, &out.Required + *out = new(bool) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateParameterParameters. +func (in *TemplateParameterParameters) DeepCopy() *TemplateParameterParameters { + if in == nil { + return nil + } + out := new(TemplateParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantAccessObservation) DeepCopyInto(out *TenantAccessObservation) { + *out = *in + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantAccessObservation. +func (in *TenantAccessObservation) DeepCopy() *TenantAccessObservation { + if in == nil { + return nil + } + out := new(TenantAccessObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantAccessParameters) DeepCopyInto(out *TenantAccessParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantAccessParameters. +func (in *TenantAccessParameters) DeepCopy() *TenantAccessParameters { + if in == nil { + return nil + } + out := new(TenantAccessParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TermsOfServiceObservation) DeepCopyInto(out *TermsOfServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TermsOfServiceObservation. +func (in *TermsOfServiceObservation) DeepCopy() *TermsOfServiceObservation { + if in == nil { + return nil + } + out := new(TermsOfServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TermsOfServiceParameters) DeepCopyInto(out *TermsOfServiceParameters) { + *out = *in + if in.ConsentRequired != nil { + in, out := &in.ConsentRequired, &out.ConsentRequired + *out = new(bool) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Text != nil { + in, out := &in.Text, &out.Text + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TermsOfServiceParameters. +func (in *TermsOfServiceParameters) DeepCopy() *TermsOfServiceParameters { + if in == nil { + return nil + } + out := new(TermsOfServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TokenBodyParameterObservation) DeepCopyInto(out *TokenBodyParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenBodyParameterObservation. +func (in *TokenBodyParameterObservation) DeepCopy() *TokenBodyParameterObservation { + if in == nil { + return nil + } + out := new(TokenBodyParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TokenBodyParameterParameters) DeepCopyInto(out *TokenBodyParameterParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenBodyParameterParameters. +func (in *TokenBodyParameterParameters) DeepCopy() *TokenBodyParameterParameters { + if in == nil { + return nil + } + out := new(TokenBodyParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueFromKeyVaultObservation) DeepCopyInto(out *ValueFromKeyVaultObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFromKeyVaultObservation. +func (in *ValueFromKeyVaultObservation) DeepCopy() *ValueFromKeyVaultObservation { + if in == nil { + return nil + } + out := new(ValueFromKeyVaultObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValueFromKeyVaultParameters) DeepCopyInto(out *ValueFromKeyVaultParameters) { + *out = *in + if in.IdentityClientID != nil { + in, out := &in.IdentityClientID, &out.IdentityClientID + *out = new(string) + **out = **in + } + if in.SecretID != nil { + in, out := &in.SecretID, &out.SecretID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFromKeyVaultParameters. +func (in *ValueFromKeyVaultParameters) DeepCopy() *ValueFromKeyVaultParameters { + if in == nil { + return nil + } + out := new(ValueFromKeyVaultParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkConfigurationObservation) DeepCopyInto(out *VirtualNetworkConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkConfigurationObservation. +func (in *VirtualNetworkConfigurationObservation) DeepCopy() *VirtualNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkConfigurationParameters) DeepCopyInto(out *VirtualNetworkConfigurationParameters) { + *out = *in + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkConfigurationParameters. +func (in *VirtualNetworkConfigurationParameters) DeepCopy() *VirtualNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WsdlSelectorObservation) DeepCopyInto(out *WsdlSelectorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WsdlSelectorObservation. +func (in *WsdlSelectorObservation) DeepCopy() *WsdlSelectorObservation { + if in == nil { + return nil + } + out := new(WsdlSelectorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WsdlSelectorParameters) DeepCopyInto(out *WsdlSelectorParameters) { + *out = *in + if in.EndpointName != nil { + in, out := &in.EndpointName, &out.EndpointName + *out = new(string) + **out = **in + } + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WsdlSelectorParameters. +func (in *WsdlSelectorParameters) DeepCopy() *WsdlSelectorParameters { + if in == nil { + return nil + } + out := new(WsdlSelectorParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/api/v1alpha1/zz_generated.managed.go b/apis/api/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..a1ad05566 --- /dev/null +++ b/apis/api/v1alpha1/zz_generated.managed.go @@ -0,0 +1,2092 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Management. +func (mg *Management) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Management. +func (mg *Management) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Management. +func (mg *Management) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Management. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Management) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Management. +func (mg *Management) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Management. +func (mg *Management) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Management. +func (mg *Management) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Management. +func (mg *Management) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Management. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Management) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Management. +func (mg *Management) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApi. +func (mg *ManagementApi) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApi. +func (mg *ManagementApi) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApi. +func (mg *ManagementApi) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApi. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApi) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApi. +func (mg *ManagementApi) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApi. +func (mg *ManagementApi) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApi. +func (mg *ManagementApi) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApi. +func (mg *ManagementApi) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApi. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApi) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApi. +func (mg *ManagementApi) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiDiagnostic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiDiagnostic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiDiagnostic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiDiagnostic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiDiagnostic. +func (mg *ManagementApiDiagnostic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiOperation. +func (mg *ManagementApiOperation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiOperation. +func (mg *ManagementApiOperation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiOperation. +func (mg *ManagementApiOperation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiOperation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiOperation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiOperation. +func (mg *ManagementApiOperation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiOperation. +func (mg *ManagementApiOperation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiOperation. +func (mg *ManagementApiOperation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiOperation. +func (mg *ManagementApiOperation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiOperation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiOperation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiOperation. +func (mg *ManagementApiOperation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiOperationPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiOperationPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiOperationPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiOperationPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiOperationPolicy. +func (mg *ManagementApiOperationPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiOperationTag. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiOperationTag) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiOperationTag. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiOperationTag) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiOperationTag. +func (mg *ManagementApiOperationTag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiPolicy. +func (mg *ManagementApiPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiRelease. +func (mg *ManagementApiRelease) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiRelease. +func (mg *ManagementApiRelease) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiRelease. +func (mg *ManagementApiRelease) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiRelease. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiRelease) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiRelease. +func (mg *ManagementApiRelease) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiRelease. +func (mg *ManagementApiRelease) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiRelease. +func (mg *ManagementApiRelease) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiRelease. +func (mg *ManagementApiRelease) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiRelease. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiRelease) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiRelease. +func (mg *ManagementApiRelease) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiSchema. +func (mg *ManagementApiSchema) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiSchema. +func (mg *ManagementApiSchema) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiSchema. +func (mg *ManagementApiSchema) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiSchema. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiSchema) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiSchema. +func (mg *ManagementApiSchema) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiSchema. +func (mg *ManagementApiSchema) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiSchema. +func (mg *ManagementApiSchema) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiSchema. +func (mg *ManagementApiSchema) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiSchema. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiSchema) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiSchema. +func (mg *ManagementApiSchema) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementApiVersionSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementApiVersionSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementApiVersionSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementApiVersionSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementApiVersionSet. +func (mg *ManagementApiVersionSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementAuthorizationServer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementAuthorizationServer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementAuthorizationServer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementAuthorizationServer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementAuthorizationServer. +func (mg *ManagementAuthorizationServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementBackend. +func (mg *ManagementBackend) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementBackend. +func (mg *ManagementBackend) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementBackend. +func (mg *ManagementBackend) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementBackend. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementBackend) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementBackend. +func (mg *ManagementBackend) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementBackend. +func (mg *ManagementBackend) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementBackend. +func (mg *ManagementBackend) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementBackend. +func (mg *ManagementBackend) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementBackend. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementBackend) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementBackend. +func (mg *ManagementBackend) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementCertificate. +func (mg *ManagementCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementCertificate. +func (mg *ManagementCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementCertificate. +func (mg *ManagementCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementCertificate. +func (mg *ManagementCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementCertificate. +func (mg *ManagementCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementCertificate. +func (mg *ManagementCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementCertificate. +func (mg *ManagementCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementCertificate. +func (mg *ManagementCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementCustomDomain. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementCustomDomain) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementCustomDomain. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementCustomDomain) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementCustomDomain. +func (mg *ManagementCustomDomain) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementDiagnostic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementDiagnostic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementDiagnostic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementDiagnostic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementDiagnostic. +func (mg *ManagementDiagnostic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementEmailTemplate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementEmailTemplate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementEmailTemplate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementEmailTemplate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementEmailTemplate. +func (mg *ManagementEmailTemplate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementGateway. +func (mg *ManagementGateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementGateway. +func (mg *ManagementGateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementGateway. +func (mg *ManagementGateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementGateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementGateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementGateway. +func (mg *ManagementGateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementGateway. +func (mg *ManagementGateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementGateway. +func (mg *ManagementGateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementGateway. +func (mg *ManagementGateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementGateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementGateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementGateway. +func (mg *ManagementGateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementGatewayApi. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementGatewayApi) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementGatewayApi. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementGatewayApi) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementGatewayApi. +func (mg *ManagementGatewayApi) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementIdentityProviderAad. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderAad) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementIdentityProviderAad. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderAad) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementIdentityProviderAad. +func (mg *ManagementIdentityProviderAad) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementIdentityProviderAadb2C. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderAadb2C) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementIdentityProviderAadb2C. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderAadb2C) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementIdentityProviderAadb2C. +func (mg *ManagementIdentityProviderAadb2C) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementIdentityProviderFacebook. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderFacebook) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementIdentityProviderFacebook. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderFacebook) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementIdentityProviderFacebook. +func (mg *ManagementIdentityProviderFacebook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementIdentityProviderGoogle. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderGoogle) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementIdentityProviderGoogle. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderGoogle) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementIdentityProviderGoogle. +func (mg *ManagementIdentityProviderGoogle) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementIdentityProviderMicrosoft. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderMicrosoft) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementIdentityProviderMicrosoft. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderMicrosoft) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementIdentityProviderMicrosoft. +func (mg *ManagementIdentityProviderMicrosoft) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementIdentityProviderTwitter. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderTwitter) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementIdentityProviderTwitter. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementIdentityProviderTwitter) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementIdentityProviderTwitter. +func (mg *ManagementIdentityProviderTwitter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementLogger. +func (mg *ManagementLogger) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementLogger. +func (mg *ManagementLogger) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementLogger. +func (mg *ManagementLogger) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementLogger. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementLogger) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementLogger. +func (mg *ManagementLogger) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementLogger. +func (mg *ManagementLogger) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementLogger. +func (mg *ManagementLogger) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementLogger. +func (mg *ManagementLogger) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementLogger. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementLogger) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementLogger. +func (mg *ManagementLogger) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementNamedValue. +func (mg *ManagementNamedValue) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementNamedValue. +func (mg *ManagementNamedValue) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementNamedValue. +func (mg *ManagementNamedValue) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementNamedValue. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementNamedValue) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementNamedValue. +func (mg *ManagementNamedValue) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementNamedValue. +func (mg *ManagementNamedValue) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementNamedValue. +func (mg *ManagementNamedValue) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementNamedValue. +func (mg *ManagementNamedValue) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementNamedValue. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementNamedValue) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementNamedValue. +func (mg *ManagementNamedValue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementNotificationRecipientEmail. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementNotificationRecipientEmail) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementNotificationRecipientEmail. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementNotificationRecipientEmail) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementNotificationRecipientEmail. +func (mg *ManagementNotificationRecipientEmail) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementOpenidConnectProvider. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementOpenidConnectProvider) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementOpenidConnectProvider. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementOpenidConnectProvider) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementOpenidConnectProvider. +func (mg *ManagementOpenidConnectProvider) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementPolicy. +func (mg *ManagementPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementPolicy. +func (mg *ManagementPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementPolicy. +func (mg *ManagementPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementPolicy. +func (mg *ManagementPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementPolicy. +func (mg *ManagementPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementPolicy. +func (mg *ManagementPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementPolicy. +func (mg *ManagementPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementPolicy. +func (mg *ManagementPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementProduct. +func (mg *ManagementProduct) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementProduct. +func (mg *ManagementProduct) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementProduct. +func (mg *ManagementProduct) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementProduct. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementProduct) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementProduct. +func (mg *ManagementProduct) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementProduct. +func (mg *ManagementProduct) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementProduct. +func (mg *ManagementProduct) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementProduct. +func (mg *ManagementProduct) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementProduct. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementProduct) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementProduct. +func (mg *ManagementProduct) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementProductApi. +func (mg *ManagementProductApi) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementProductApi. +func (mg *ManagementProductApi) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementProductApi. +func (mg *ManagementProductApi) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementProductApi. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementProductApi) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementProductApi. +func (mg *ManagementProductApi) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementProductApi. +func (mg *ManagementProductApi) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementProductApi. +func (mg *ManagementProductApi) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementProductApi. +func (mg *ManagementProductApi) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementProductApi. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementProductApi) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementProductApi. +func (mg *ManagementProductApi) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementProductPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementProductPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementProductPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementProductPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementProductPolicy. +func (mg *ManagementProductPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementProperty. +func (mg *ManagementProperty) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementProperty. +func (mg *ManagementProperty) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementProperty. +func (mg *ManagementProperty) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementProperty. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementProperty) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementProperty. +func (mg *ManagementProperty) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementProperty. +func (mg *ManagementProperty) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementProperty. +func (mg *ManagementProperty) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementProperty. +func (mg *ManagementProperty) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementProperty. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementProperty) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementProperty. +func (mg *ManagementProperty) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementRedisCache. +func (mg *ManagementRedisCache) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementRedisCache. +func (mg *ManagementRedisCache) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementRedisCache. +func (mg *ManagementRedisCache) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementRedisCache. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementRedisCache) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementRedisCache. +func (mg *ManagementRedisCache) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementRedisCache. +func (mg *ManagementRedisCache) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementRedisCache. +func (mg *ManagementRedisCache) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementRedisCache. +func (mg *ManagementRedisCache) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementRedisCache. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementRedisCache) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementRedisCache. +func (mg *ManagementRedisCache) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementSubscription. +func (mg *ManagementSubscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementSubscription. +func (mg *ManagementSubscription) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementSubscription. +func (mg *ManagementSubscription) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementSubscription. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementSubscription) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementSubscription. +func (mg *ManagementSubscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementSubscription. +func (mg *ManagementSubscription) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementSubscription. +func (mg *ManagementSubscription) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementSubscription. +func (mg *ManagementSubscription) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementSubscription. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementSubscription) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementSubscription. +func (mg *ManagementSubscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementTag. +func (mg *ManagementTag) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementTag. +func (mg *ManagementTag) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementTag. +func (mg *ManagementTag) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementTag. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementTag) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementTag. +func (mg *ManagementTag) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementTag. +func (mg *ManagementTag) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementTag. +func (mg *ManagementTag) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementTag. +func (mg *ManagementTag) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementTag. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementTag) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementTag. +func (mg *ManagementTag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementUser. +func (mg *ManagementUser) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementUser. +func (mg *ManagementUser) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementUser. +func (mg *ManagementUser) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementUser. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementUser) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementUser. +func (mg *ManagementUser) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementUser. +func (mg *ManagementUser) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementUser. +func (mg *ManagementUser) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementUser. +func (mg *ManagementUser) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementUser. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementUser) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementUser. +func (mg *ManagementUser) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/api/v1alpha1/zz_generated.managedlist.go b/apis/api/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..a3c1ab2fe --- /dev/null +++ b/apis/api/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,353 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ManagementApiDiagnosticList. +func (l *ManagementApiDiagnosticList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiList. +func (l *ManagementApiList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiOperationList. +func (l *ManagementApiOperationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiOperationPolicyList. +func (l *ManagementApiOperationPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiOperationTagList. +func (l *ManagementApiOperationTagList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiPolicyList. +func (l *ManagementApiPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiReleaseList. +func (l *ManagementApiReleaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiSchemaList. +func (l *ManagementApiSchemaList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementApiVersionSetList. +func (l *ManagementApiVersionSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementAuthorizationServerList. +func (l *ManagementAuthorizationServerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementBackendList. +func (l *ManagementBackendList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementCertificateList. +func (l *ManagementCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementCustomDomainList. +func (l *ManagementCustomDomainList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementDiagnosticList. +func (l *ManagementDiagnosticList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementEmailTemplateList. +func (l *ManagementEmailTemplateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementGatewayApiList. +func (l *ManagementGatewayApiList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementGatewayList. +func (l *ManagementGatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementIdentityProviderAadList. +func (l *ManagementIdentityProviderAadList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementIdentityProviderAadb2CList. +func (l *ManagementIdentityProviderAadb2CList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementIdentityProviderFacebookList. +func (l *ManagementIdentityProviderFacebookList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementIdentityProviderGoogleList. +func (l *ManagementIdentityProviderGoogleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementIdentityProviderMicrosoftList. +func (l *ManagementIdentityProviderMicrosoftList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementIdentityProviderTwitterList. +func (l *ManagementIdentityProviderTwitterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementList. +func (l *ManagementList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementLoggerList. +func (l *ManagementLoggerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementNamedValueList. +func (l *ManagementNamedValueList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementNotificationRecipientEmailList. +func (l *ManagementNotificationRecipientEmailList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementOpenidConnectProviderList. +func (l *ManagementOpenidConnectProviderList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementPolicyList. +func (l *ManagementPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementProductApiList. +func (l *ManagementProductApiList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementProductList. +func (l *ManagementProductList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementProductPolicyList. +func (l *ManagementProductPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementPropertyList. +func (l *ManagementPropertyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementRedisCacheList. +func (l *ManagementRedisCacheList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementSubscriptionList. +func (l *ManagementSubscriptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementTagList. +func (l *ManagementTagList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementUserList. +func (l *ManagementUserList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/api/v1alpha1/zz_groupversion_info.go b/apis/api/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..20d2e5f0e --- /dev/null +++ b/apis/api/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=api.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "api.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/api/v1alpha1/zz_management_terraformed.go b/apis/api/v1alpha1/zz_management_terraformed.go new file mode 100755 index 000000000..322321f24 --- /dev/null +++ b/apis/api/v1alpha1/zz_management_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Management +func (mg *Management) GetTerraformResourceType() string { + return "azurerm_api_management" +} + +// GetConnectionDetailsMapping for this Management +func (tr *Management) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"certificate[*].certificate_password": "spec.forProvider.certificate[*].certificatePasswordSecretRef", "certificate[*].encoded_certificate": "spec.forProvider.certificate[*].encodedCertificateSecretRef", "hostname_configuration[*].developer_portal[*].certificate": "spec.forProvider.hostnameConfiguration[*].developerPortal[*].certificateSecretRef", "hostname_configuration[*].developer_portal[*].certificate_password": "spec.forProvider.hostnameConfiguration[*].developerPortal[*].certificatePasswordSecretRef", "hostname_configuration[*].management[*].certificate": "spec.forProvider.hostnameConfiguration[*].management[*].certificateSecretRef", "hostname_configuration[*].management[*].certificate_password": "spec.forProvider.hostnameConfiguration[*].management[*].certificatePasswordSecretRef", "hostname_configuration[*].portal[*].certificate": "spec.forProvider.hostnameConfiguration[*].portal[*].certificateSecretRef", "hostname_configuration[*].portal[*].certificate_password": "spec.forProvider.hostnameConfiguration[*].portal[*].certificatePasswordSecretRef", "hostname_configuration[*].proxy[*].certificate": "spec.forProvider.hostnameConfiguration[*].proxy[*].certificateSecretRef", "hostname_configuration[*].proxy[*].certificate_password": "spec.forProvider.hostnameConfiguration[*].proxy[*].certificatePasswordSecretRef", "hostname_configuration[*].scm[*].certificate": "spec.forProvider.hostnameConfiguration[*].scm[*].certificateSecretRef", "hostname_configuration[*].scm[*].certificate_password": "spec.forProvider.hostnameConfiguration[*].scm[*].certificatePasswordSecretRef", "tenant_access[*].primary_key": "status.atProvider.tenantAccess[*].primaryKey", "tenant_access[*].secondary_key": "status.atProvider.tenantAccess[*].secondaryKey"} +} + +// GetObservation of this Management +func (tr *Management) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Management +func (tr *Management) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Management +func (tr *Management) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Management +func (tr *Management) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Management using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Management) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Management) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_management_types.go b/apis/api/v1alpha1/zz_management_types.go new file mode 100755 index 000000000..52d445b1c --- /dev/null +++ b/apis/api/v1alpha1/zz_management_types.go @@ -0,0 +1,438 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AdditionalLocationObservation struct { + GatewayRegionalURL *string `json:"gatewayRegionalUrl,omitempty" tf:"gateway_regional_url,omitempty"` + + PrivateIPAddresses []*string `json:"privateIpAddresses,omitempty" tf:"private_ip_addresses,omitempty"` + + PublicIPAddresses []*string `json:"publicIpAddresses,omitempty" tf:"public_ip_addresses,omitempty"` +} + +type AdditionalLocationParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkConfiguration []VirtualNetworkConfigurationParameters `json:"virtualNetworkConfiguration,omitempty" tf:"virtual_network_configuration,omitempty"` +} + +type CertificateObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + EncodedCertificateSecretRef v1.SecretKeySelector `json:"encodedCertificateSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StoreName *string `json:"storeName" tf:"store_name,omitempty"` +} + +type DeveloperPortalObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type DeveloperPortalParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type HostnameConfigurationObservation struct { +} + +type HostnameConfigurationParameters struct { + + // +kubebuilder:validation:Optional + DeveloperPortal []DeveloperPortalParameters `json:"developerPortal,omitempty" tf:"developer_portal,omitempty"` + + // +kubebuilder:validation:Optional + Management []ManagementParameters `json:"management,omitempty" tf:"management,omitempty"` + + // +kubebuilder:validation:Optional + Portal []PortalParameters `json:"portal,omitempty" tf:"portal,omitempty"` + + // +kubebuilder:validation:Optional + Proxy []ProxyParameters `json:"proxy,omitempty" tf:"proxy,omitempty"` + + // +kubebuilder:validation:Optional + Scm []ScmParameters `json:"scm,omitempty" tf:"scm,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ManagementObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ManagementVirtualNetworkConfigurationObservation struct { +} + +type ManagementVirtualNetworkConfigurationParameters struct { + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +type PolicyObservation struct { +} + +type PolicyParameters struct { + + // +kubebuilder:validation:Optional + XMLContent *string `json:"xmlContent,omitempty" tf:"xml_content,omitempty"` + + // +kubebuilder:validation:Optional + XMLLink *string `json:"xmlLink,omitempty" tf:"xml_link,omitempty"` +} + +type PortalObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type PortalParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ProtocolsObservation struct { +} + +type ProtocolsParameters struct { + + // +kubebuilder:validation:Optional + EnableHttp2 *bool `json:"enableHttp2,omitempty" tf:"enable_http2,omitempty"` +} + +type ProxyObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ProxyParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DefaultSslBinding *bool `json:"defaultSslBinding,omitempty" tf:"default_ssl_binding,omitempty"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ScmObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ScmParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type SecurityObservation struct { +} + +type SecurityParameters struct { + + // +kubebuilder:validation:Optional + EnableBackendSsl30 *bool `json:"enableBackendSsl30,omitempty" tf:"enable_backend_ssl30,omitempty"` + + // +kubebuilder:validation:Optional + EnableBackendTls10 *bool `json:"enableBackendTls10,omitempty" tf:"enable_backend_tls10,omitempty"` + + // +kubebuilder:validation:Optional + EnableBackendTls11 *bool `json:"enableBackendTls11,omitempty" tf:"enable_backend_tls11,omitempty"` + + // +kubebuilder:validation:Optional + EnableFrontendSsl30 *bool `json:"enableFrontendSsl30,omitempty" tf:"enable_frontend_ssl30,omitempty"` + + // +kubebuilder:validation:Optional + EnableFrontendTls10 *bool `json:"enableFrontendTls10,omitempty" tf:"enable_frontend_tls10,omitempty"` + + // +kubebuilder:validation:Optional + EnableFrontendTls11 *bool `json:"enableFrontendTls11,omitempty" tf:"enable_frontend_tls11,omitempty"` + + // +kubebuilder:validation:Optional + EnableTripleDesCiphers *bool `json:"enableTripleDesCiphers,omitempty" tf:"enable_triple_des_ciphers,omitempty"` + + // +kubebuilder:validation:Optional + TLSEcdheEcdsaWithAes128CbcShaCiphersEnabled *bool `json:"tlsEcdheEcdsaWithAes128CbcShaCiphersEnabled,omitempty" tf:"tls_ecdhe_ecdsa_with_aes128_cbc_sha_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSEcdheEcdsaWithAes256CbcShaCiphersEnabled *bool `json:"tlsEcdheEcdsaWithAes256CbcShaCiphersEnabled,omitempty" tf:"tls_ecdhe_ecdsa_with_aes256_cbc_sha_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSEcdheRsaWithAes128CbcShaCiphersEnabled *bool `json:"tlsEcdheRsaWithAes128CbcShaCiphersEnabled,omitempty" tf:"tls_ecdhe_rsa_with_aes128_cbc_sha_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSEcdheRsaWithAes256CbcShaCiphersEnabled *bool `json:"tlsEcdheRsaWithAes256CbcShaCiphersEnabled,omitempty" tf:"tls_ecdhe_rsa_with_aes256_cbc_sha_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSRsaWithAes128CbcSha256CiphersEnabled *bool `json:"tlsRsaWithAes128CbcSha256CiphersEnabled,omitempty" tf:"tls_rsa_with_aes128_cbc_sha256_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSRsaWithAes128CbcShaCiphersEnabled *bool `json:"tlsRsaWithAes128CbcShaCiphersEnabled,omitempty" tf:"tls_rsa_with_aes128_cbc_sha_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSRsaWithAes128GcmSha256CiphersEnabled *bool `json:"tlsRsaWithAes128GcmSha256CiphersEnabled,omitempty" tf:"tls_rsa_with_aes128_gcm_sha256_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSRsaWithAes256CbcSha256CiphersEnabled *bool `json:"tlsRsaWithAes256CbcSha256CiphersEnabled,omitempty" tf:"tls_rsa_with_aes256_cbc_sha256_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TLSRsaWithAes256CbcShaCiphersEnabled *bool `json:"tlsRsaWithAes256CbcShaCiphersEnabled,omitempty" tf:"tls_rsa_with_aes256_cbc_sha_ciphers_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TripleDesCiphersEnabled *bool `json:"tripleDesCiphersEnabled,omitempty" tf:"triple_des_ciphers_enabled,omitempty"` +} + +type SignInObservation struct { +} + +type SignInParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` +} + +type SignUpObservation struct { +} + +type SignUpParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + TermsOfService []TermsOfServiceParameters `json:"termsOfService" tf:"terms_of_service,omitempty"` +} + +type TenantAccessObservation struct { + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type TenantAccessParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` +} + +type TermsOfServiceObservation struct { +} + +type TermsOfServiceParameters struct { + + // +kubebuilder:validation:Required + ConsentRequired *bool `json:"consentRequired" tf:"consent_required,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Text *string `json:"text,omitempty" tf:"text,omitempty"` +} + +type VirtualNetworkConfigurationObservation struct { +} + +type VirtualNetworkConfigurationParameters struct { + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// ManagementSpec defines the desired state of Management +type ManagementSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementParameters `json:"forProvider"` +} + +// ManagementStatus defines the observed state of Management. +type ManagementStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Management is the Schema for the Managements API +// +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,azurejet} +type Management struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementSpec `json:"spec"` + Status ManagementStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementList contains a list of Managements +type ManagementList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Management `json:"items"` +} + +// Repository type metadata. +var ( + Management_Kind = "Management" + Management_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Management_Kind}.String() + Management_KindAPIVersion = Management_Kind + "." + CRDGroupVersion.String() + Management_GroupVersionKind = CRDGroupVersion.WithKind(Management_Kind) +) + +func init() { + SchemeBuilder.Register(&Management{}, &ManagementList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapi_terraformed.go b/apis/api/v1alpha1/zz_managementapi_terraformed.go new file mode 100755 index 000000000..24880ffe7 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapi_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApi +func (mg *ManagementApi) GetTerraformResourceType() string { + return "azurerm_api_management_api" +} + +// GetConnectionDetailsMapping for this ManagementApi +func (tr *ManagementApi) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApi +func (tr *ManagementApi) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApi +func (tr *ManagementApi) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApi +func (tr *ManagementApi) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApi +func (tr *ManagementApi) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApi using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApi) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApi) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapi_types.go b/apis/api/v1alpha1/zz_managementapi_types.go new file mode 100755 index 000000000..8c9948512 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapi_types.go @@ -0,0 +1,207 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ImportObservation struct { +} + +type ImportParameters struct { + + // +kubebuilder:validation:Required + ContentFormat *string `json:"contentFormat" tf:"content_format,omitempty"` + + // +kubebuilder:validation:Required + ContentValue *string `json:"contentValue" tf:"content_value,omitempty"` + + // +kubebuilder:validation:Optional + WsdlSelector []WsdlSelectorParameters `json:"wsdlSelector,omitempty" tf:"wsdl_selector,omitempty"` +} + +type ManagementApiObservation struct { + IsCurrent *bool `json:"isCurrent,omitempty" tf:"is_current,omitempty"` + + IsOnline *bool `json:"isOnline,omitempty" tf:"is_online,omitempty"` +} + +type ManagementApiParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Import []ImportParameters `json:"import,omitempty" tf:"import,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Oauth2Authorization []Oauth2AuthorizationParameters `json:"oauth2Authorization,omitempty" tf:"oauth2_authorization,omitempty"` + + // +kubebuilder:validation:Optional + OpenidAuthentication []OpenidAuthenticationParameters `json:"openidAuthentication,omitempty" tf:"openid_authentication,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + Protocols []*string `json:"protocols,omitempty" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Revision *string `json:"revision" tf:"revision,omitempty"` + + // +kubebuilder:validation:Optional + RevisionDescription *string `json:"revisionDescription,omitempty" tf:"revision_description,omitempty"` + + // +kubebuilder:validation:Optional + ServiceURL *string `json:"serviceUrl,omitempty" tf:"service_url,omitempty"` + + // +kubebuilder:validation:Optional + SoapPassThrough *bool `json:"soapPassThrough,omitempty" tf:"soap_pass_through,omitempty"` + + // +kubebuilder:validation:Optional + SourceAPIID *string `json:"sourceApiId,omitempty" tf:"source_api_id,omitempty"` + + // +kubebuilder:validation:Optional + SubscriptionKeyParameterNames []SubscriptionKeyParameterNamesParameters `json:"subscriptionKeyParameterNames,omitempty" tf:"subscription_key_parameter_names,omitempty"` + + // +kubebuilder:validation:Optional + SubscriptionRequired *bool `json:"subscriptionRequired,omitempty" tf:"subscription_required,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + // +kubebuilder:validation:Optional + VersionDescription *string `json:"versionDescription,omitempty" tf:"version_description,omitempty"` + + // +kubebuilder:validation:Optional + VersionSetID *string `json:"versionSetId,omitempty" tf:"version_set_id,omitempty"` +} + +type Oauth2AuthorizationObservation struct { +} + +type Oauth2AuthorizationParameters struct { + + // +kubebuilder:validation:Required + AuthorizationServerName *string `json:"authorizationServerName" tf:"authorization_server_name,omitempty"` + + // +kubebuilder:validation:Optional + Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` +} + +type OpenidAuthenticationObservation struct { +} + +type OpenidAuthenticationParameters struct { + + // +kubebuilder:validation:Optional + BearerTokenSendingMethods []*string `json:"bearerTokenSendingMethods,omitempty" tf:"bearer_token_sending_methods,omitempty"` + + // +kubebuilder:validation:Required + OpenidProviderName *string `json:"openidProviderName" tf:"openid_provider_name,omitempty"` +} + +type SubscriptionKeyParameterNamesObservation struct { +} + +type SubscriptionKeyParameterNamesParameters struct { + + // +kubebuilder:validation:Required + Header *string `json:"header" tf:"header,omitempty"` + + // +kubebuilder:validation:Required + Query *string `json:"query" tf:"query,omitempty"` +} + +type WsdlSelectorObservation struct { +} + +type WsdlSelectorParameters struct { + + // +kubebuilder:validation:Required + EndpointName *string `json:"endpointName" tf:"endpoint_name,omitempty"` + + // +kubebuilder:validation:Required + ServiceName *string `json:"serviceName" tf:"service_name,omitempty"` +} + +// ManagementApiSpec defines the desired state of ManagementApi +type ManagementApiSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiParameters `json:"forProvider"` +} + +// ManagementApiStatus defines the observed state of ManagementApi. +type ManagementApiStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApi is the Schema for the ManagementApis API +// +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,azurejet} +type ManagementApi struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiSpec `json:"spec"` + Status ManagementApiStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiList contains a list of ManagementApis +type ManagementApiList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApi `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApi_Kind = "ManagementApi" + ManagementApi_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApi_Kind}.String() + ManagementApi_KindAPIVersion = ManagementApi_Kind + "." + CRDGroupVersion.String() + ManagementApi_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApi_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApi{}, &ManagementApiList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapidiagnostic_terraformed.go b/apis/api/v1alpha1/zz_managementapidiagnostic_terraformed.go new file mode 100755 index 000000000..59a9c8c90 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapidiagnostic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiDiagnostic +func (mg *ManagementApiDiagnostic) GetTerraformResourceType() string { + return "azurerm_api_management_api_diagnostic" +} + +// GetConnectionDetailsMapping for this ManagementApiDiagnostic +func (tr *ManagementApiDiagnostic) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiDiagnostic +func (tr *ManagementApiDiagnostic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiDiagnostic +func (tr *ManagementApiDiagnostic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiDiagnostic +func (tr *ManagementApiDiagnostic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiDiagnostic +func (tr *ManagementApiDiagnostic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiDiagnostic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiDiagnostic) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiDiagnosticParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiDiagnostic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapidiagnostic_types.go b/apis/api/v1alpha1/zz_managementapidiagnostic_types.go new file mode 100755 index 000000000..ccd20c20d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapidiagnostic_types.go @@ -0,0 +1,330 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BackendRequestObservation struct { +} + +type BackendRequestParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []DataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type BackendResponseDataMaskingObservation struct { +} + +type BackendResponseDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []DataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []DataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type BackendResponseObservation struct { +} + +type BackendResponseParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []BackendResponseDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type DataMaskingHeadersObservation struct { +} + +type DataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type DataMaskingObservation struct { +} + +type DataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []HeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []QueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type DataMaskingQueryParamsObservation struct { +} + +type DataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type FrontendRequestDataMaskingHeadersObservation struct { +} + +type FrontendRequestDataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type FrontendRequestDataMaskingObservation struct { +} + +type FrontendRequestDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []FrontendRequestDataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []FrontendRequestDataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type FrontendRequestDataMaskingQueryParamsObservation struct { +} + +type FrontendRequestDataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type FrontendRequestObservation struct { +} + +type FrontendRequestParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []FrontendRequestDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type FrontendResponseDataMaskingHeadersObservation struct { +} + +type FrontendResponseDataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type FrontendResponseDataMaskingObservation struct { +} + +type FrontendResponseDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []FrontendResponseDataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []FrontendResponseDataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type FrontendResponseDataMaskingQueryParamsObservation struct { +} + +type FrontendResponseDataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type FrontendResponseObservation struct { +} + +type FrontendResponseParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []FrontendResponseDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type HeadersObservation struct { +} + +type HeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagementApiDiagnosticObservation struct { +} + +type ManagementApiDiagnosticParameters struct { + + // +kubebuilder:validation:Required + APIManagementLoggerID *string `json:"apiManagementLoggerId" tf:"api_management_logger_id,omitempty"` + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APIName *string `json:"apiName" tf:"api_name,omitempty"` + + // +kubebuilder:validation:Optional + AlwaysLogErrors *bool `json:"alwaysLogErrors,omitempty" tf:"always_log_errors,omitempty"` + + // +kubebuilder:validation:Optional + BackendRequest []BackendRequestParameters `json:"backendRequest,omitempty" tf:"backend_request,omitempty"` + + // +kubebuilder:validation:Optional + BackendResponse []BackendResponseParameters `json:"backendResponse,omitempty" tf:"backend_response,omitempty"` + + // +kubebuilder:validation:Optional + FrontendRequest []FrontendRequestParameters `json:"frontendRequest,omitempty" tf:"frontend_request,omitempty"` + + // +kubebuilder:validation:Optional + FrontendResponse []FrontendResponseParameters `json:"frontendResponse,omitempty" tf:"frontend_response,omitempty"` + + // +kubebuilder:validation:Optional + HTTPCorrelationProtocol *string `json:"httpCorrelationProtocol,omitempty" tf:"http_correlation_protocol,omitempty"` + + // +kubebuilder:validation:Required + Identifier *string `json:"identifier" tf:"identifier,omitempty"` + + // +kubebuilder:validation:Optional + LogClientIP *bool `json:"logClientIp,omitempty" tf:"log_client_ip,omitempty"` + + // +kubebuilder:validation:Optional + OperationNameFormat *string `json:"operationNameFormat,omitempty" tf:"operation_name_format,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` + + // +kubebuilder:validation:Optional + Verbosity *string `json:"verbosity,omitempty" tf:"verbosity,omitempty"` +} + +type QueryParamsObservation struct { +} + +type QueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// ManagementApiDiagnosticSpec defines the desired state of ManagementApiDiagnostic +type ManagementApiDiagnosticSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiDiagnosticParameters `json:"forProvider"` +} + +// ManagementApiDiagnosticStatus defines the observed state of ManagementApiDiagnostic. +type ManagementApiDiagnosticStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiDiagnosticObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiDiagnostic is the Schema for the ManagementApiDiagnostics API +// +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,azurejet} +type ManagementApiDiagnostic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiDiagnosticSpec `json:"spec"` + Status ManagementApiDiagnosticStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiDiagnosticList contains a list of ManagementApiDiagnostics +type ManagementApiDiagnosticList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiDiagnostic `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiDiagnostic_Kind = "ManagementApiDiagnostic" + ManagementApiDiagnostic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiDiagnostic_Kind}.String() + ManagementApiDiagnostic_KindAPIVersion = ManagementApiDiagnostic_Kind + "." + CRDGroupVersion.String() + ManagementApiDiagnostic_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiDiagnostic_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiDiagnostic{}, &ManagementApiDiagnosticList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapioperation_terraformed.go b/apis/api/v1alpha1/zz_managementapioperation_terraformed.go new file mode 100755 index 000000000..cc9453a5d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapioperation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiOperation +func (mg *ManagementApiOperation) GetTerraformResourceType() string { + return "azurerm_api_management_api_operation" +} + +// GetConnectionDetailsMapping for this ManagementApiOperation +func (tr *ManagementApiOperation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiOperation +func (tr *ManagementApiOperation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiOperation +func (tr *ManagementApiOperation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiOperation +func (tr *ManagementApiOperation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiOperation +func (tr *ManagementApiOperation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiOperation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiOperation) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiOperationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiOperation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapioperation_types.go b/apis/api/v1alpha1/zz_managementapioperation_types.go new file mode 100755 index 000000000..483f5829f --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapioperation_types.go @@ -0,0 +1,336 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FormParameterObservation struct { +} + +type FormParameterParameters struct { + + // +kubebuilder:validation:Optional + DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Required *bool `json:"required" tf:"required,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type HeaderObservation struct { +} + +type HeaderParameters struct { + + // +kubebuilder:validation:Optional + DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Required *bool `json:"required" tf:"required,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type ManagementApiOperationObservation struct { +} + +type ManagementApiOperationParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APIName *string `json:"apiName" tf:"api_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Method *string `json:"method" tf:"method,omitempty"` + + // +kubebuilder:validation:Required + OperationID *string `json:"operationId" tf:"operation_id,omitempty"` + + // +kubebuilder:validation:Optional + Request []RequestParameters `json:"request,omitempty" tf:"request,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Response []ResponseParameters `json:"response,omitempty" tf:"response,omitempty"` + + // +kubebuilder:validation:Optional + TemplateParameter []TemplateParameterParameters `json:"templateParameter,omitempty" tf:"template_parameter,omitempty"` + + // +kubebuilder:validation:Required + URLTemplate *string `json:"urlTemplate" tf:"url_template,omitempty"` +} + +type QueryParameterObservation struct { +} + +type QueryParameterParameters struct { + + // +kubebuilder:validation:Optional + DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Required *bool `json:"required" tf:"required,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type RepresentationFormParameterObservation struct { +} + +type RepresentationFormParameterParameters struct { + + // +kubebuilder:validation:Optional + DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Required *bool `json:"required" tf:"required,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type RepresentationObservation struct { +} + +type RepresentationParameters struct { + + // +kubebuilder:validation:Required + ContentType *string `json:"contentType" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + FormParameter []FormParameterParameters `json:"formParameter,omitempty" tf:"form_parameter,omitempty"` + + // +kubebuilder:validation:Optional + Sample *string `json:"sample,omitempty" tf:"sample,omitempty"` + + // +kubebuilder:validation:Optional + SchemaID *string `json:"schemaId,omitempty" tf:"schema_id,omitempty"` + + // +kubebuilder:validation:Optional + TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"` +} + +type RequestObservation struct { +} + +type RequestParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Header []HeaderParameters `json:"header,omitempty" tf:"header,omitempty"` + + // +kubebuilder:validation:Optional + QueryParameter []QueryParameterParameters `json:"queryParameter,omitempty" tf:"query_parameter,omitempty"` + + // +kubebuilder:validation:Optional + Representation []RepresentationParameters `json:"representation,omitempty" tf:"representation,omitempty"` +} + +type ResponseHeaderObservation struct { +} + +type ResponseHeaderParameters struct { + + // +kubebuilder:validation:Optional + DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Required *bool `json:"required" tf:"required,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +type ResponseObservation struct { +} + +type ResponseParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Header []ResponseHeaderParameters `json:"header,omitempty" tf:"header,omitempty"` + + // +kubebuilder:validation:Optional + Representation []ResponseRepresentationParameters `json:"representation,omitempty" tf:"representation,omitempty"` + + // +kubebuilder:validation:Required + StatusCode *int64 `json:"statusCode" tf:"status_code,omitempty"` +} + +type ResponseRepresentationObservation struct { +} + +type ResponseRepresentationParameters struct { + + // +kubebuilder:validation:Required + ContentType *string `json:"contentType" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + FormParameter []RepresentationFormParameterParameters `json:"formParameter,omitempty" tf:"form_parameter,omitempty"` + + // +kubebuilder:validation:Optional + Sample *string `json:"sample,omitempty" tf:"sample,omitempty"` + + // +kubebuilder:validation:Optional + SchemaID *string `json:"schemaId,omitempty" tf:"schema_id,omitempty"` + + // +kubebuilder:validation:Optional + TypeName *string `json:"typeName,omitempty" tf:"type_name,omitempty"` +} + +type TemplateParameterObservation struct { +} + +type TemplateParameterParameters struct { + + // +kubebuilder:validation:Optional + DefaultValue *string `json:"defaultValue,omitempty" tf:"default_value,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Required *bool `json:"required" tf:"required,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Values []*string `json:"values,omitempty" tf:"values,omitempty"` +} + +// ManagementApiOperationSpec defines the desired state of ManagementApiOperation +type ManagementApiOperationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiOperationParameters `json:"forProvider"` +} + +// ManagementApiOperationStatus defines the observed state of ManagementApiOperation. +type ManagementApiOperationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiOperationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiOperation is the Schema for the ManagementApiOperations API +// +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,azurejet} +type ManagementApiOperation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiOperationSpec `json:"spec"` + Status ManagementApiOperationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiOperationList contains a list of ManagementApiOperations +type ManagementApiOperationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiOperation `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiOperation_Kind = "ManagementApiOperation" + ManagementApiOperation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiOperation_Kind}.String() + ManagementApiOperation_KindAPIVersion = ManagementApiOperation_Kind + "." + CRDGroupVersion.String() + ManagementApiOperation_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiOperation_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiOperation{}, &ManagementApiOperationList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapioperationpolicy_terraformed.go b/apis/api/v1alpha1/zz_managementapioperationpolicy_terraformed.go new file mode 100755 index 000000000..d47e2c8d2 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapioperationpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiOperationPolicy +func (mg *ManagementApiOperationPolicy) GetTerraformResourceType() string { + return "azurerm_api_management_api_operation_policy" +} + +// GetConnectionDetailsMapping for this ManagementApiOperationPolicy +func (tr *ManagementApiOperationPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiOperationPolicy +func (tr *ManagementApiOperationPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiOperationPolicy +func (tr *ManagementApiOperationPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiOperationPolicy +func (tr *ManagementApiOperationPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiOperationPolicy +func (tr *ManagementApiOperationPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiOperationPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiOperationPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiOperationPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiOperationPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapioperationpolicy_types.go b/apis/api/v1alpha1/zz_managementapioperationpolicy_types.go new file mode 100755 index 000000000..fdb6d9fc8 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapioperationpolicy_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementApiOperationPolicyObservation struct { +} + +type ManagementApiOperationPolicyParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APIName *string `json:"apiName" tf:"api_name,omitempty"` + + // +kubebuilder:validation:Required + OperationID *string `json:"operationId" tf:"operation_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + XMLContent *string `json:"xmlContent,omitempty" tf:"xml_content,omitempty"` + + // +kubebuilder:validation:Optional + XMLLink *string `json:"xmlLink,omitempty" tf:"xml_link,omitempty"` +} + +// ManagementApiOperationPolicySpec defines the desired state of ManagementApiOperationPolicy +type ManagementApiOperationPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiOperationPolicyParameters `json:"forProvider"` +} + +// ManagementApiOperationPolicyStatus defines the observed state of ManagementApiOperationPolicy. +type ManagementApiOperationPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiOperationPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiOperationPolicy is the Schema for the ManagementApiOperationPolicys API +// +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,azurejet} +type ManagementApiOperationPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiOperationPolicySpec `json:"spec"` + Status ManagementApiOperationPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiOperationPolicyList contains a list of ManagementApiOperationPolicys +type ManagementApiOperationPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiOperationPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiOperationPolicy_Kind = "ManagementApiOperationPolicy" + ManagementApiOperationPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiOperationPolicy_Kind}.String() + ManagementApiOperationPolicy_KindAPIVersion = ManagementApiOperationPolicy_Kind + "." + CRDGroupVersion.String() + ManagementApiOperationPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiOperationPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiOperationPolicy{}, &ManagementApiOperationPolicyList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapioperationtag_terraformed.go b/apis/api/v1alpha1/zz_managementapioperationtag_terraformed.go new file mode 100755 index 000000000..6febee86c --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapioperationtag_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiOperationTag +func (mg *ManagementApiOperationTag) GetTerraformResourceType() string { + return "azurerm_api_management_api_operation_tag" +} + +// GetConnectionDetailsMapping for this ManagementApiOperationTag +func (tr *ManagementApiOperationTag) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiOperationTag +func (tr *ManagementApiOperationTag) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiOperationTag +func (tr *ManagementApiOperationTag) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiOperationTag +func (tr *ManagementApiOperationTag) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiOperationTag +func (tr *ManagementApiOperationTag) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiOperationTag using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiOperationTag) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiOperationTagParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiOperationTag) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapioperationtag_types.go b/apis/api/v1alpha1/zz_managementapioperationtag_types.go new file mode 100755 index 000000000..cc363e7e9 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapioperationtag_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementApiOperationTagObservation struct { +} + +type ManagementApiOperationTagParameters struct { + + // +kubebuilder:validation:Required + APIOperationID *string `json:"apiOperationId" tf:"api_operation_id,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// ManagementApiOperationTagSpec defines the desired state of ManagementApiOperationTag +type ManagementApiOperationTagSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiOperationTagParameters `json:"forProvider"` +} + +// ManagementApiOperationTagStatus defines the observed state of ManagementApiOperationTag. +type ManagementApiOperationTagStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiOperationTagObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiOperationTag is the Schema for the ManagementApiOperationTags API +// +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,azurejet} +type ManagementApiOperationTag struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiOperationTagSpec `json:"spec"` + Status ManagementApiOperationTagStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiOperationTagList contains a list of ManagementApiOperationTags +type ManagementApiOperationTagList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiOperationTag `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiOperationTag_Kind = "ManagementApiOperationTag" + ManagementApiOperationTag_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiOperationTag_Kind}.String() + ManagementApiOperationTag_KindAPIVersion = ManagementApiOperationTag_Kind + "." + CRDGroupVersion.String() + ManagementApiOperationTag_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiOperationTag_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiOperationTag{}, &ManagementApiOperationTagList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapipolicy_terraformed.go b/apis/api/v1alpha1/zz_managementapipolicy_terraformed.go new file mode 100755 index 000000000..c608b7383 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapipolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiPolicy +func (mg *ManagementApiPolicy) GetTerraformResourceType() string { + return "azurerm_api_management_api_policy" +} + +// GetConnectionDetailsMapping for this ManagementApiPolicy +func (tr *ManagementApiPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiPolicy +func (tr *ManagementApiPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiPolicy +func (tr *ManagementApiPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiPolicy +func (tr *ManagementApiPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiPolicy +func (tr *ManagementApiPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapipolicy_types.go b/apis/api/v1alpha1/zz_managementapipolicy_types.go new file mode 100755 index 000000000..e51f208d9 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapipolicy_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementApiPolicyObservation struct { +} + +type ManagementApiPolicyParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APIName *string `json:"apiName" tf:"api_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + XMLContent *string `json:"xmlContent,omitempty" tf:"xml_content,omitempty"` + + // +kubebuilder:validation:Optional + XMLLink *string `json:"xmlLink,omitempty" tf:"xml_link,omitempty"` +} + +// ManagementApiPolicySpec defines the desired state of ManagementApiPolicy +type ManagementApiPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiPolicyParameters `json:"forProvider"` +} + +// ManagementApiPolicyStatus defines the observed state of ManagementApiPolicy. +type ManagementApiPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiPolicy is the Schema for the ManagementApiPolicys API +// +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,azurejet} +type ManagementApiPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiPolicySpec `json:"spec"` + Status ManagementApiPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiPolicyList contains a list of ManagementApiPolicys +type ManagementApiPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiPolicy_Kind = "ManagementApiPolicy" + ManagementApiPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiPolicy_Kind}.String() + ManagementApiPolicy_KindAPIVersion = ManagementApiPolicy_Kind + "." + CRDGroupVersion.String() + ManagementApiPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiPolicy{}, &ManagementApiPolicyList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapirelease_terraformed.go b/apis/api/v1alpha1/zz_managementapirelease_terraformed.go new file mode 100755 index 000000000..6da8b0aa5 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapirelease_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiRelease +func (mg *ManagementApiRelease) GetTerraformResourceType() string { + return "azurerm_api_management_api_release" +} + +// GetConnectionDetailsMapping for this ManagementApiRelease +func (tr *ManagementApiRelease) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiRelease +func (tr *ManagementApiRelease) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiRelease +func (tr *ManagementApiRelease) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiRelease +func (tr *ManagementApiRelease) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiRelease +func (tr *ManagementApiRelease) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiRelease using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiRelease) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiReleaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiRelease) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapirelease_types.go b/apis/api/v1alpha1/zz_managementapirelease_types.go new file mode 100755 index 000000000..669f3607b --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapirelease_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementApiReleaseObservation struct { +} + +type ManagementApiReleaseParameters struct { + + // +kubebuilder:validation:Required + APIID *string `json:"apiId" tf:"api_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Notes *string `json:"notes,omitempty" tf:"notes,omitempty"` +} + +// ManagementApiReleaseSpec defines the desired state of ManagementApiRelease +type ManagementApiReleaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiReleaseParameters `json:"forProvider"` +} + +// ManagementApiReleaseStatus defines the observed state of ManagementApiRelease. +type ManagementApiReleaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiReleaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiRelease is the Schema for the ManagementApiReleases API +// +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,azurejet} +type ManagementApiRelease struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiReleaseSpec `json:"spec"` + Status ManagementApiReleaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiReleaseList contains a list of ManagementApiReleases +type ManagementApiReleaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiRelease `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiRelease_Kind = "ManagementApiRelease" + ManagementApiRelease_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiRelease_Kind}.String() + ManagementApiRelease_KindAPIVersion = ManagementApiRelease_Kind + "." + CRDGroupVersion.String() + ManagementApiRelease_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiRelease_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiRelease{}, &ManagementApiReleaseList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapischema_terraformed.go b/apis/api/v1alpha1/zz_managementapischema_terraformed.go new file mode 100755 index 000000000..7b34a137e --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapischema_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiSchema +func (mg *ManagementApiSchema) GetTerraformResourceType() string { + return "azurerm_api_management_api_schema" +} + +// GetConnectionDetailsMapping for this ManagementApiSchema +func (tr *ManagementApiSchema) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiSchema +func (tr *ManagementApiSchema) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiSchema +func (tr *ManagementApiSchema) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiSchema +func (tr *ManagementApiSchema) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiSchema +func (tr *ManagementApiSchema) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiSchema using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiSchema) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiSchemaParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiSchema) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementapischema_types.go b/apis/api/v1alpha1/zz_managementapischema_types.go new file mode 100755 index 000000000..6e4dbc129 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapischema_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementApiSchemaObservation struct { +} + +type ManagementApiSchemaParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APIName *string `json:"apiName" tf:"api_name,omitempty"` + + // +kubebuilder:validation:Required + ContentType *string `json:"contentType" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SchemaID *string `json:"schemaId" tf:"schema_id,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// ManagementApiSchemaSpec defines the desired state of ManagementApiSchema +type ManagementApiSchemaSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiSchemaParameters `json:"forProvider"` +} + +// ManagementApiSchemaStatus defines the observed state of ManagementApiSchema. +type ManagementApiSchemaStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiSchemaObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiSchema is the Schema for the ManagementApiSchemas API +// +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,azurejet} +type ManagementApiSchema struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiSchemaSpec `json:"spec"` + Status ManagementApiSchemaStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiSchemaList contains a list of ManagementApiSchemas +type ManagementApiSchemaList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiSchema `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiSchema_Kind = "ManagementApiSchema" + ManagementApiSchema_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiSchema_Kind}.String() + ManagementApiSchema_KindAPIVersion = ManagementApiSchema_Kind + "." + CRDGroupVersion.String() + ManagementApiSchema_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiSchema_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiSchema{}, &ManagementApiSchemaList{}) +} diff --git a/apis/api/v1alpha1/zz_managementapiversionset_terraformed.go b/apis/api/v1alpha1/zz_managementapiversionset_terraformed.go new file mode 100755 index 000000000..37e1e7645 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapiversionset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementApiVersionSet +func (mg *ManagementApiVersionSet) GetTerraformResourceType() string { + return "azurerm_api_management_api_version_set" +} + +// GetConnectionDetailsMapping for this ManagementApiVersionSet +func (tr *ManagementApiVersionSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementApiVersionSet +func (tr *ManagementApiVersionSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementApiVersionSet +func (tr *ManagementApiVersionSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementApiVersionSet +func (tr *ManagementApiVersionSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementApiVersionSet +func (tr *ManagementApiVersionSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementApiVersionSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementApiVersionSet) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementApiVersionSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementApiVersionSet) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/api/v1alpha1/zz_managementapiversionset_types.go b/apis/api/v1alpha1/zz_managementapiversionset_types.go new file mode 100755 index 000000000..93d1ac44a --- /dev/null +++ b/apis/api/v1alpha1/zz_managementapiversionset_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementApiVersionSetObservation struct { +} + +type ManagementApiVersionSetParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + VersionHeaderName *string `json:"versionHeaderName,omitempty" tf:"version_header_name,omitempty"` + + // +kubebuilder:validation:Optional + VersionQueryName *string `json:"versionQueryName,omitempty" tf:"version_query_name,omitempty"` + + // +kubebuilder:validation:Required + VersioningScheme *string `json:"versioningScheme" tf:"versioning_scheme,omitempty"` +} + +// ManagementApiVersionSetSpec defines the desired state of ManagementApiVersionSet +type ManagementApiVersionSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementApiVersionSetParameters `json:"forProvider"` +} + +// ManagementApiVersionSetStatus defines the observed state of ManagementApiVersionSet. +type ManagementApiVersionSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementApiVersionSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiVersionSet is the Schema for the ManagementApiVersionSets API +// +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,azurejet} +type ManagementApiVersionSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementApiVersionSetSpec `json:"spec"` + Status ManagementApiVersionSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementApiVersionSetList contains a list of ManagementApiVersionSets +type ManagementApiVersionSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementApiVersionSet `json:"items"` +} + +// Repository type metadata. +var ( + ManagementApiVersionSet_Kind = "ManagementApiVersionSet" + ManagementApiVersionSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementApiVersionSet_Kind}.String() + ManagementApiVersionSet_KindAPIVersion = ManagementApiVersionSet_Kind + "." + CRDGroupVersion.String() + ManagementApiVersionSet_GroupVersionKind = CRDGroupVersion.WithKind(ManagementApiVersionSet_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementApiVersionSet{}, &ManagementApiVersionSetList{}) +} diff --git a/apis/api/v1alpha1/zz_managementauthorizationserver_terraformed.go b/apis/api/v1alpha1/zz_managementauthorizationserver_terraformed.go new file mode 100755 index 000000000..0518b289a --- /dev/null +++ b/apis/api/v1alpha1/zz_managementauthorizationserver_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementAuthorizationServer +func (mg *ManagementAuthorizationServer) GetTerraformResourceType() string { + return "azurerm_api_management_authorization_server" +} + +// GetConnectionDetailsMapping for this ManagementAuthorizationServer +func (tr *ManagementAuthorizationServer) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef", "resource_owner_password": "spec.forProvider.resourceOwnerPasswordSecretRef"} +} + +// GetObservation of this ManagementAuthorizationServer +func (tr *ManagementAuthorizationServer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementAuthorizationServer +func (tr *ManagementAuthorizationServer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementAuthorizationServer +func (tr *ManagementAuthorizationServer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementAuthorizationServer +func (tr *ManagementAuthorizationServer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementAuthorizationServer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementAuthorizationServer) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementAuthorizationServerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementAuthorizationServer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementauthorizationserver_types.go b/apis/api/v1alpha1/zz_managementauthorizationserver_types.go new file mode 100755 index 000000000..501460cb0 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementauthorizationserver_types.go @@ -0,0 +1,150 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementAuthorizationServerObservation struct { +} + +type ManagementAuthorizationServerParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + AuthorizationEndpoint *string `json:"authorizationEndpoint" tf:"authorization_endpoint,omitempty"` + + // +kubebuilder:validation:Required + AuthorizationMethods []*string `json:"authorizationMethods" tf:"authorization_methods,omitempty"` + + // +kubebuilder:validation:Optional + BearerTokenSendingMethods []*string `json:"bearerTokenSendingMethods,omitempty" tf:"bearer_token_sending_methods,omitempty"` + + // +kubebuilder:validation:Optional + ClientAuthenticationMethod []*string `json:"clientAuthenticationMethod,omitempty" tf:"client_authentication_method,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientRegistrationEndpoint *string `json:"clientRegistrationEndpoint" tf:"client_registration_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DefaultScope *string `json:"defaultScope,omitempty" tf:"default_scope,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + GrantTypes []*string `json:"grantTypes" tf:"grant_types,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceOwnerPasswordSecretRef *v1.SecretKeySelector `json:"resourceOwnerPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ResourceOwnerUsername *string `json:"resourceOwnerUsername,omitempty" tf:"resource_owner_username,omitempty"` + + // +kubebuilder:validation:Optional + SupportState *bool `json:"supportState,omitempty" tf:"support_state,omitempty"` + + // +kubebuilder:validation:Optional + TokenBodyParameter []TokenBodyParameterParameters `json:"tokenBodyParameter,omitempty" tf:"token_body_parameter,omitempty"` + + // +kubebuilder:validation:Optional + TokenEndpoint *string `json:"tokenEndpoint,omitempty" tf:"token_endpoint,omitempty"` +} + +type TokenBodyParameterObservation struct { +} + +type TokenBodyParameterParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// ManagementAuthorizationServerSpec defines the desired state of ManagementAuthorizationServer +type ManagementAuthorizationServerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementAuthorizationServerParameters `json:"forProvider"` +} + +// ManagementAuthorizationServerStatus defines the observed state of ManagementAuthorizationServer. +type ManagementAuthorizationServerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementAuthorizationServerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementAuthorizationServer is the Schema for the ManagementAuthorizationServers API +// +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,azurejet} +type ManagementAuthorizationServer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementAuthorizationServerSpec `json:"spec"` + Status ManagementAuthorizationServerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementAuthorizationServerList contains a list of ManagementAuthorizationServers +type ManagementAuthorizationServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementAuthorizationServer `json:"items"` +} + +// Repository type metadata. +var ( + ManagementAuthorizationServer_Kind = "ManagementAuthorizationServer" + ManagementAuthorizationServer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementAuthorizationServer_Kind}.String() + ManagementAuthorizationServer_KindAPIVersion = ManagementAuthorizationServer_Kind + "." + CRDGroupVersion.String() + ManagementAuthorizationServer_GroupVersionKind = CRDGroupVersion.WithKind(ManagementAuthorizationServer_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementAuthorizationServer{}, &ManagementAuthorizationServerList{}) +} diff --git a/apis/api/v1alpha1/zz_managementbackend_terraformed.go b/apis/api/v1alpha1/zz_managementbackend_terraformed.go new file mode 100755 index 000000000..eedd369ff --- /dev/null +++ b/apis/api/v1alpha1/zz_managementbackend_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementBackend +func (mg *ManagementBackend) GetTerraformResourceType() string { + return "azurerm_api_management_backend" +} + +// GetConnectionDetailsMapping for this ManagementBackend +func (tr *ManagementBackend) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"proxy[*].password": "spec.forProvider.proxy[*].passwordSecretRef"} +} + +// GetObservation of this ManagementBackend +func (tr *ManagementBackend) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementBackend +func (tr *ManagementBackend) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementBackend +func (tr *ManagementBackend) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementBackend +func (tr *ManagementBackend) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementBackend using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementBackend) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementBackendParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementBackend) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementbackend_types.go b/apis/api/v1alpha1/zz_managementbackend_types.go new file mode 100755 index 000000000..6b732f4cc --- /dev/null +++ b/apis/api/v1alpha1/zz_managementbackend_types.go @@ -0,0 +1,210 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AuthorizationObservation struct { +} + +type AuthorizationParameters struct { + + // +kubebuilder:validation:Optional + Parameter *string `json:"parameter,omitempty" tf:"parameter,omitempty"` + + // +kubebuilder:validation:Optional + Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"` +} + +type CredentialsObservation struct { +} + +type CredentialsParameters struct { + + // +kubebuilder:validation:Optional + Authorization []AuthorizationParameters `json:"authorization,omitempty" tf:"authorization,omitempty"` + + // +kubebuilder:validation:Optional + Certificate []*string `json:"certificate,omitempty" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Optional + Header map[string]*string `json:"header,omitempty" tf:"header,omitempty"` + + // +kubebuilder:validation:Optional + Query map[string]*string `json:"query,omitempty" tf:"query,omitempty"` +} + +type ManagementBackendObservation struct { +} + +type ManagementBackendParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + Credentials []CredentialsParameters `json:"credentials,omitempty" tf:"credentials,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + Proxy []ManagementBackendProxyParameters `json:"proxy,omitempty" tf:"proxy,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ServiceFabricCluster []ServiceFabricClusterParameters `json:"serviceFabricCluster,omitempty" tf:"service_fabric_cluster,omitempty"` + + // +kubebuilder:validation:Optional + TLS []TLSParameters `json:"tls,omitempty" tf:"tls,omitempty"` + + // +kubebuilder:validation:Optional + Title *string `json:"title,omitempty" tf:"title,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +type ManagementBackendProxyObservation struct { +} + +type ManagementBackendProxyParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type ServerX509NameObservation struct { +} + +type ServerX509NameParameters struct { + + // +kubebuilder:validation:Required + IssuerCertificateThumbprint *string `json:"issuerCertificateThumbprint" tf:"issuer_certificate_thumbprint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ServiceFabricClusterObservation struct { +} + +type ServiceFabricClusterParameters struct { + + // +kubebuilder:validation:Optional + ClientCertificateID *string `json:"clientCertificateId,omitempty" tf:"client_certificate_id,omitempty"` + + // +kubebuilder:validation:Optional + ClientCertificateThumbprint *string `json:"clientCertificateThumbprint,omitempty" tf:"client_certificate_thumbprint,omitempty"` + + // +kubebuilder:validation:Required + ManagementEndpoints []*string `json:"managementEndpoints" tf:"management_endpoints,omitempty"` + + // +kubebuilder:validation:Required + MaxPartitionResolutionRetries *int64 `json:"maxPartitionResolutionRetries" tf:"max_partition_resolution_retries,omitempty"` + + // +kubebuilder:validation:Optional + ServerCertificateThumbprints []*string `json:"serverCertificateThumbprints,omitempty" tf:"server_certificate_thumbprints,omitempty"` + + // +kubebuilder:validation:Optional + ServerX509Name []ServerX509NameParameters `json:"serverX509Name,omitempty" tf:"server_x509_name,omitempty"` +} + +type TLSObservation struct { +} + +type TLSParameters struct { + + // +kubebuilder:validation:Optional + ValidateCertificateChain *bool `json:"validateCertificateChain,omitempty" tf:"validate_certificate_chain,omitempty"` + + // +kubebuilder:validation:Optional + ValidateCertificateName *bool `json:"validateCertificateName,omitempty" tf:"validate_certificate_name,omitempty"` +} + +// ManagementBackendSpec defines the desired state of ManagementBackend +type ManagementBackendSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementBackendParameters `json:"forProvider"` +} + +// ManagementBackendStatus defines the observed state of ManagementBackend. +type ManagementBackendStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementBackendObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementBackend is the Schema for the ManagementBackends API +// +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,azurejet} +type ManagementBackend struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementBackendSpec `json:"spec"` + Status ManagementBackendStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementBackendList contains a list of ManagementBackends +type ManagementBackendList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementBackend `json:"items"` +} + +// Repository type metadata. +var ( + ManagementBackend_Kind = "ManagementBackend" + ManagementBackend_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementBackend_Kind}.String() + ManagementBackend_KindAPIVersion = ManagementBackend_Kind + "." + CRDGroupVersion.String() + ManagementBackend_GroupVersionKind = CRDGroupVersion.WithKind(ManagementBackend_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementBackend{}, &ManagementBackendList{}) +} diff --git a/apis/api/v1alpha1/zz_managementcertificate_terraformed.go b/apis/api/v1alpha1/zz_managementcertificate_terraformed.go new file mode 100755 index 000000000..67ee672e5 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementcertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementCertificate +func (mg *ManagementCertificate) GetTerraformResourceType() string { + return "azurerm_api_management_certificate" +} + +// GetConnectionDetailsMapping for this ManagementCertificate +func (tr *ManagementCertificate) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"data": "spec.forProvider.dataSecretRef", "password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this ManagementCertificate +func (tr *ManagementCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementCertificate +func (tr *ManagementCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementCertificate +func (tr *ManagementCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementCertificate +func (tr *ManagementCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementcertificate_types.go b/apis/api/v1alpha1/zz_managementcertificate_types.go new file mode 100755 index 000000000..0504170f0 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementcertificate_types.go @@ -0,0 +1,107 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementCertificateObservation struct { + Expiration *string `json:"expiration,omitempty" tf:"expiration,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementCertificateParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + DataSecretRef *v1.SecretKeySelector `json:"dataSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + KeyVaultIdentityClientID *string `json:"keyVaultIdentityClientId,omitempty" tf:"key_vault_identity_client_id,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty" tf:"key_vault_secret_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementCertificateSpec defines the desired state of ManagementCertificate +type ManagementCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementCertificateParameters `json:"forProvider"` +} + +// ManagementCertificateStatus defines the observed state of ManagementCertificate. +type ManagementCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementCertificate is the Schema for the ManagementCertificates API +// +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,azurejet} +type ManagementCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementCertificateSpec `json:"spec"` + Status ManagementCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementCertificateList contains a list of ManagementCertificates +type ManagementCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementCertificate `json:"items"` +} + +// Repository type metadata. +var ( + ManagementCertificate_Kind = "ManagementCertificate" + ManagementCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementCertificate_Kind}.String() + ManagementCertificate_KindAPIVersion = ManagementCertificate_Kind + "." + CRDGroupVersion.String() + ManagementCertificate_GroupVersionKind = CRDGroupVersion.WithKind(ManagementCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementCertificate{}, &ManagementCertificateList{}) +} diff --git a/apis/api/v1alpha1/zz_managementcustomdomain_terraformed.go b/apis/api/v1alpha1/zz_managementcustomdomain_terraformed.go new file mode 100755 index 000000000..98835c27d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementcustomdomain_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementCustomDomain +func (mg *ManagementCustomDomain) GetTerraformResourceType() string { + return "azurerm_api_management_custom_domain" +} + +// GetConnectionDetailsMapping for this ManagementCustomDomain +func (tr *ManagementCustomDomain) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"developer_portal[*].certificate": "spec.forProvider.developerPortal[*].certificateSecretRef", "developer_portal[*].certificate_password": "spec.forProvider.developerPortal[*].certificatePasswordSecretRef", "management[*].certificate": "spec.forProvider.management[*].certificateSecretRef", "management[*].certificate_password": "spec.forProvider.management[*].certificatePasswordSecretRef", "portal[*].certificate": "spec.forProvider.portal[*].certificateSecretRef", "portal[*].certificate_password": "spec.forProvider.portal[*].certificatePasswordSecretRef", "proxy[*].certificate": "spec.forProvider.proxy[*].certificateSecretRef", "proxy[*].certificate_password": "spec.forProvider.proxy[*].certificatePasswordSecretRef", "scm[*].certificate": "spec.forProvider.scm[*].certificateSecretRef", "scm[*].certificate_password": "spec.forProvider.scm[*].certificatePasswordSecretRef"} +} + +// GetObservation of this ManagementCustomDomain +func (tr *ManagementCustomDomain) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementCustomDomain +func (tr *ManagementCustomDomain) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementCustomDomain +func (tr *ManagementCustomDomain) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementCustomDomain +func (tr *ManagementCustomDomain) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementCustomDomain using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementCustomDomain) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementCustomDomainParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementCustomDomain) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementcustomdomain_types.go b/apis/api/v1alpha1/zz_managementcustomdomain_types.go new file mode 100755 index 000000000..7173ab224 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementcustomdomain_types.go @@ -0,0 +1,247 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementCustomDomainDeveloperPortalObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementCustomDomainDeveloperPortalParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ManagementCustomDomainManagementObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementCustomDomainManagementParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ManagementCustomDomainObservation struct { +} + +type ManagementCustomDomainParameters struct { + + // +kubebuilder:validation:Required + APIManagementID *string `json:"apiManagementId" tf:"api_management_id,omitempty"` + + // +kubebuilder:validation:Optional + DeveloperPortal []ManagementCustomDomainDeveloperPortalParameters `json:"developerPortal,omitempty" tf:"developer_portal,omitempty"` + + // +kubebuilder:validation:Optional + Management []ManagementCustomDomainManagementParameters `json:"management,omitempty" tf:"management,omitempty"` + + // +kubebuilder:validation:Optional + Portal []ManagementCustomDomainPortalParameters `json:"portal,omitempty" tf:"portal,omitempty"` + + // +kubebuilder:validation:Optional + Proxy []ManagementCustomDomainProxyParameters `json:"proxy,omitempty" tf:"proxy,omitempty"` + + // +kubebuilder:validation:Optional + Scm []ManagementCustomDomainScmParameters `json:"scm,omitempty" tf:"scm,omitempty"` +} + +type ManagementCustomDomainPortalObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementCustomDomainPortalParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ManagementCustomDomainProxyObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementCustomDomainProxyParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DefaultSslBinding *bool `json:"defaultSslBinding,omitempty" tf:"default_ssl_binding,omitempty"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +type ManagementCustomDomainScmObservation struct { + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ManagementCustomDomainScmParameters struct { + + // +kubebuilder:validation:Optional + CertificatePasswordSecretRef *v1.SecretKeySelector `json:"certificatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + CertificateSecretRef *v1.SecretKeySelector `json:"certificateSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + NegotiateClientCertificate *bool `json:"negotiateClientCertificate,omitempty" tf:"negotiate_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslKeyvaultIdentityClientID *string `json:"sslKeyvaultIdentityClientId,omitempty" tf:"ssl_keyvault_identity_client_id,omitempty"` +} + +// ManagementCustomDomainSpec defines the desired state of ManagementCustomDomain +type ManagementCustomDomainSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementCustomDomainParameters `json:"forProvider"` +} + +// ManagementCustomDomainStatus defines the observed state of ManagementCustomDomain. +type ManagementCustomDomainStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementCustomDomainObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementCustomDomain is the Schema for the ManagementCustomDomains API +// +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,azurejet} +type ManagementCustomDomain struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementCustomDomainSpec `json:"spec"` + Status ManagementCustomDomainStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementCustomDomainList contains a list of ManagementCustomDomains +type ManagementCustomDomainList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementCustomDomain `json:"items"` +} + +// Repository type metadata. +var ( + ManagementCustomDomain_Kind = "ManagementCustomDomain" + ManagementCustomDomain_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementCustomDomain_Kind}.String() + ManagementCustomDomain_KindAPIVersion = ManagementCustomDomain_Kind + "." + CRDGroupVersion.String() + ManagementCustomDomain_GroupVersionKind = CRDGroupVersion.WithKind(ManagementCustomDomain_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementCustomDomain{}, &ManagementCustomDomainList{}) +} diff --git a/apis/api/v1alpha1/zz_managementdiagnostic_terraformed.go b/apis/api/v1alpha1/zz_managementdiagnostic_terraformed.go new file mode 100755 index 000000000..6b6761e0e --- /dev/null +++ b/apis/api/v1alpha1/zz_managementdiagnostic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementDiagnostic +func (mg *ManagementDiagnostic) GetTerraformResourceType() string { + return "azurerm_api_management_diagnostic" +} + +// GetConnectionDetailsMapping for this ManagementDiagnostic +func (tr *ManagementDiagnostic) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementDiagnostic +func (tr *ManagementDiagnostic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementDiagnostic +func (tr *ManagementDiagnostic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementDiagnostic +func (tr *ManagementDiagnostic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementDiagnostic +func (tr *ManagementDiagnostic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementDiagnostic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementDiagnostic) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementDiagnosticParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementDiagnostic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementdiagnostic_types.go b/apis/api/v1alpha1/zz_managementdiagnostic_types.go new file mode 100755 index 000000000..ec1d549ec --- /dev/null +++ b/apis/api/v1alpha1/zz_managementdiagnostic_types.go @@ -0,0 +1,330 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BackendRequestDataMaskingHeadersObservation struct { +} + +type BackendRequestDataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type BackendRequestDataMaskingObservation struct { +} + +type BackendRequestDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []BackendRequestDataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []BackendRequestDataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type BackendRequestDataMaskingQueryParamsObservation struct { +} + +type BackendRequestDataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type BackendResponseDataMaskingHeadersObservation struct { +} + +type BackendResponseDataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type BackendResponseDataMaskingQueryParamsObservation struct { +} + +type BackendResponseDataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagementDiagnosticBackendRequestObservation struct { +} + +type ManagementDiagnosticBackendRequestParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []BackendRequestDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type ManagementDiagnosticBackendResponseDataMaskingObservation struct { +} + +type ManagementDiagnosticBackendResponseDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []BackendResponseDataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []BackendResponseDataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type ManagementDiagnosticBackendResponseObservation struct { +} + +type ManagementDiagnosticBackendResponseParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []ManagementDiagnosticBackendResponseDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type ManagementDiagnosticFrontendRequestDataMaskingHeadersObservation struct { +} + +type ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagementDiagnosticFrontendRequestDataMaskingObservation struct { +} + +type ManagementDiagnosticFrontendRequestDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []ManagementDiagnosticFrontendRequestDataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type ManagementDiagnosticFrontendRequestDataMaskingQueryParamsObservation struct { +} + +type ManagementDiagnosticFrontendRequestDataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagementDiagnosticFrontendRequestObservation struct { +} + +type ManagementDiagnosticFrontendRequestParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []ManagementDiagnosticFrontendRequestDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type ManagementDiagnosticFrontendResponseDataMaskingHeadersObservation struct { +} + +type ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagementDiagnosticFrontendResponseDataMaskingObservation struct { +} + +type ManagementDiagnosticFrontendResponseDataMaskingParameters struct { + + // +kubebuilder:validation:Optional + Headers []ManagementDiagnosticFrontendResponseDataMaskingHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + QueryParams []ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters `json:"queryParams,omitempty" tf:"query_params,omitempty"` +} + +type ManagementDiagnosticFrontendResponseDataMaskingQueryParamsObservation struct { +} + +type ManagementDiagnosticFrontendResponseDataMaskingQueryParamsParameters struct { + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagementDiagnosticFrontendResponseObservation struct { +} + +type ManagementDiagnosticFrontendResponseParameters struct { + + // +kubebuilder:validation:Optional + BodyBytes *int64 `json:"bodyBytes,omitempty" tf:"body_bytes,omitempty"` + + // +kubebuilder:validation:Optional + DataMasking []ManagementDiagnosticFrontendResponseDataMaskingParameters `json:"dataMasking,omitempty" tf:"data_masking,omitempty"` + + // +kubebuilder:validation:Optional + HeadersToLog []*string `json:"headersToLog,omitempty" tf:"headers_to_log,omitempty"` +} + +type ManagementDiagnosticObservation struct { +} + +type ManagementDiagnosticParameters struct { + + // +kubebuilder:validation:Required + APIManagementLoggerID *string `json:"apiManagementLoggerId" tf:"api_management_logger_id,omitempty"` + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + AlwaysLogErrors *bool `json:"alwaysLogErrors,omitempty" tf:"always_log_errors,omitempty"` + + // +kubebuilder:validation:Optional + BackendRequest []ManagementDiagnosticBackendRequestParameters `json:"backendRequest,omitempty" tf:"backend_request,omitempty"` + + // +kubebuilder:validation:Optional + BackendResponse []ManagementDiagnosticBackendResponseParameters `json:"backendResponse,omitempty" tf:"backend_response,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + FrontendRequest []ManagementDiagnosticFrontendRequestParameters `json:"frontendRequest,omitempty" tf:"frontend_request,omitempty"` + + // +kubebuilder:validation:Optional + FrontendResponse []ManagementDiagnosticFrontendResponseParameters `json:"frontendResponse,omitempty" tf:"frontend_response,omitempty"` + + // +kubebuilder:validation:Optional + HTTPCorrelationProtocol *string `json:"httpCorrelationProtocol,omitempty" tf:"http_correlation_protocol,omitempty"` + + // +kubebuilder:validation:Required + Identifier *string `json:"identifier" tf:"identifier,omitempty"` + + // +kubebuilder:validation:Optional + LogClientIP *bool `json:"logClientIp,omitempty" tf:"log_client_ip,omitempty"` + + // +kubebuilder:validation:Optional + OperationNameFormat *string `json:"operationNameFormat,omitempty" tf:"operation_name_format,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` + + // +kubebuilder:validation:Optional + Verbosity *string `json:"verbosity,omitempty" tf:"verbosity,omitempty"` +} + +// ManagementDiagnosticSpec defines the desired state of ManagementDiagnostic +type ManagementDiagnosticSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementDiagnosticParameters `json:"forProvider"` +} + +// ManagementDiagnosticStatus defines the observed state of ManagementDiagnostic. +type ManagementDiagnosticStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementDiagnosticObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementDiagnostic is the Schema for the ManagementDiagnostics API +// +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,azurejet} +type ManagementDiagnostic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementDiagnosticSpec `json:"spec"` + Status ManagementDiagnosticStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementDiagnosticList contains a list of ManagementDiagnostics +type ManagementDiagnosticList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementDiagnostic `json:"items"` +} + +// Repository type metadata. +var ( + ManagementDiagnostic_Kind = "ManagementDiagnostic" + ManagementDiagnostic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementDiagnostic_Kind}.String() + ManagementDiagnostic_KindAPIVersion = ManagementDiagnostic_Kind + "." + CRDGroupVersion.String() + ManagementDiagnostic_GroupVersionKind = CRDGroupVersion.WithKind(ManagementDiagnostic_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementDiagnostic{}, &ManagementDiagnosticList{}) +} diff --git a/apis/api/v1alpha1/zz_managementemailtemplate_terraformed.go b/apis/api/v1alpha1/zz_managementemailtemplate_terraformed.go new file mode 100755 index 000000000..e94113cb3 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementemailtemplate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementEmailTemplate +func (mg *ManagementEmailTemplate) GetTerraformResourceType() string { + return "azurerm_api_management_email_template" +} + +// GetConnectionDetailsMapping for this ManagementEmailTemplate +func (tr *ManagementEmailTemplate) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementEmailTemplate +func (tr *ManagementEmailTemplate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementEmailTemplate +func (tr *ManagementEmailTemplate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementEmailTemplate +func (tr *ManagementEmailTemplate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementEmailTemplate +func (tr *ManagementEmailTemplate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementEmailTemplate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementEmailTemplate) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementEmailTemplateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementEmailTemplate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementemailtemplate_types.go b/apis/api/v1alpha1/zz_managementemailtemplate_types.go new file mode 100755 index 000000000..494d1db86 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementemailtemplate_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementEmailTemplateObservation struct { + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + Title *string `json:"title,omitempty" tf:"title,omitempty"` +} + +type ManagementEmailTemplateParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + Body *string `json:"body" tf:"body,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Subject *string `json:"subject" tf:"subject,omitempty"` + + // +kubebuilder:validation:Required + TemplateName *string `json:"templateName" tf:"template_name,omitempty"` +} + +// ManagementEmailTemplateSpec defines the desired state of ManagementEmailTemplate +type ManagementEmailTemplateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementEmailTemplateParameters `json:"forProvider"` +} + +// ManagementEmailTemplateStatus defines the observed state of ManagementEmailTemplate. +type ManagementEmailTemplateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementEmailTemplateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementEmailTemplate is the Schema for the ManagementEmailTemplates API +// +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,azurejet} +type ManagementEmailTemplate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementEmailTemplateSpec `json:"spec"` + Status ManagementEmailTemplateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementEmailTemplateList contains a list of ManagementEmailTemplates +type ManagementEmailTemplateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementEmailTemplate `json:"items"` +} + +// Repository type metadata. +var ( + ManagementEmailTemplate_Kind = "ManagementEmailTemplate" + ManagementEmailTemplate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementEmailTemplate_Kind}.String() + ManagementEmailTemplate_KindAPIVersion = ManagementEmailTemplate_Kind + "." + CRDGroupVersion.String() + ManagementEmailTemplate_GroupVersionKind = CRDGroupVersion.WithKind(ManagementEmailTemplate_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementEmailTemplate{}, &ManagementEmailTemplateList{}) +} diff --git a/apis/api/v1alpha1/zz_managementgateway_terraformed.go b/apis/api/v1alpha1/zz_managementgateway_terraformed.go new file mode 100755 index 000000000..4ffcc712b --- /dev/null +++ b/apis/api/v1alpha1/zz_managementgateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementGateway +func (mg *ManagementGateway) GetTerraformResourceType() string { + return "azurerm_api_management_gateway" +} + +// GetConnectionDetailsMapping for this ManagementGateway +func (tr *ManagementGateway) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementGateway +func (tr *ManagementGateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementGateway +func (tr *ManagementGateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementGateway +func (tr *ManagementGateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementGateway +func (tr *ManagementGateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementGateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementGateway) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementGatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementGateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementgateway_types.go b/apis/api/v1alpha1/zz_managementgateway_types.go new file mode 100755 index 000000000..7b82c0222 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementgateway_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LocationDataObservation struct { +} + +type LocationDataParameters struct { + + // +kubebuilder:validation:Optional + City *string `json:"city,omitempty" tf:"city,omitempty"` + + // +kubebuilder:validation:Optional + District *string `json:"district,omitempty" tf:"district,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Region *string `json:"region,omitempty" tf:"region,omitempty"` +} + +type ManagementGatewayObservation struct { +} + +type ManagementGatewayParameters struct { + + // +kubebuilder:validation:Required + APIManagementID *string `json:"apiManagementId" tf:"api_management_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + LocationData []LocationDataParameters `json:"locationData" tf:"location_data,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// ManagementGatewaySpec defines the desired state of ManagementGateway +type ManagementGatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementGatewayParameters `json:"forProvider"` +} + +// ManagementGatewayStatus defines the observed state of ManagementGateway. +type ManagementGatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementGatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementGateway is the Schema for the ManagementGateways API +// +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,azurejet} +type ManagementGateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementGatewaySpec `json:"spec"` + Status ManagementGatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementGatewayList contains a list of ManagementGateways +type ManagementGatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementGateway `json:"items"` +} + +// Repository type metadata. +var ( + ManagementGateway_Kind = "ManagementGateway" + ManagementGateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementGateway_Kind}.String() + ManagementGateway_KindAPIVersion = ManagementGateway_Kind + "." + CRDGroupVersion.String() + ManagementGateway_GroupVersionKind = CRDGroupVersion.WithKind(ManagementGateway_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementGateway{}, &ManagementGatewayList{}) +} diff --git a/apis/api/v1alpha1/zz_managementgatewayapi_terraformed.go b/apis/api/v1alpha1/zz_managementgatewayapi_terraformed.go new file mode 100755 index 000000000..ddee86cf8 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementgatewayapi_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementGatewayApi +func (mg *ManagementGatewayApi) GetTerraformResourceType() string { + return "azurerm_api_management_gateway_api" +} + +// GetConnectionDetailsMapping for this ManagementGatewayApi +func (tr *ManagementGatewayApi) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementGatewayApi +func (tr *ManagementGatewayApi) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementGatewayApi +func (tr *ManagementGatewayApi) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementGatewayApi +func (tr *ManagementGatewayApi) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementGatewayApi +func (tr *ManagementGatewayApi) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementGatewayApi using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementGatewayApi) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementGatewayApiParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementGatewayApi) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementgatewayapi_types.go b/apis/api/v1alpha1/zz_managementgatewayapi_types.go new file mode 100755 index 000000000..4c0230af0 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementgatewayapi_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementGatewayApiObservation struct { +} + +type ManagementGatewayApiParameters struct { + + // +kubebuilder:validation:Required + APIID *string `json:"apiId" tf:"api_id,omitempty"` + + // +kubebuilder:validation:Required + GatewayID *string `json:"gatewayId" tf:"gateway_id,omitempty"` +} + +// ManagementGatewayApiSpec defines the desired state of ManagementGatewayApi +type ManagementGatewayApiSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementGatewayApiParameters `json:"forProvider"` +} + +// ManagementGatewayApiStatus defines the observed state of ManagementGatewayApi. +type ManagementGatewayApiStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementGatewayApiObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementGatewayApi is the Schema for the ManagementGatewayApis API +// +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,azurejet} +type ManagementGatewayApi struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementGatewayApiSpec `json:"spec"` + Status ManagementGatewayApiStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementGatewayApiList contains a list of ManagementGatewayApis +type ManagementGatewayApiList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementGatewayApi `json:"items"` +} + +// Repository type metadata. +var ( + ManagementGatewayApi_Kind = "ManagementGatewayApi" + ManagementGatewayApi_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementGatewayApi_Kind}.String() + ManagementGatewayApi_KindAPIVersion = ManagementGatewayApi_Kind + "." + CRDGroupVersion.String() + ManagementGatewayApi_GroupVersionKind = CRDGroupVersion.WithKind(ManagementGatewayApi_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementGatewayApi{}, &ManagementGatewayApiList{}) +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovideraad_terraformed.go b/apis/api/v1alpha1/zz_managementidentityprovideraad_terraformed.go new file mode 100755 index 000000000..46bda6eaf --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovideraad_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementIdentityProviderAad +func (mg *ManagementIdentityProviderAad) GetTerraformResourceType() string { + return "azurerm_api_management_identity_provider_aad" +} + +// GetConnectionDetailsMapping for this ManagementIdentityProviderAad +func (tr *ManagementIdentityProviderAad) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef"} +} + +// GetObservation of this ManagementIdentityProviderAad +func (tr *ManagementIdentityProviderAad) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementIdentityProviderAad +func (tr *ManagementIdentityProviderAad) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementIdentityProviderAad +func (tr *ManagementIdentityProviderAad) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementIdentityProviderAad +func (tr *ManagementIdentityProviderAad) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementIdentityProviderAad using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementIdentityProviderAad) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementIdentityProviderAadParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementIdentityProviderAad) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovideraad_types.go b/apis/api/v1alpha1/zz_managementidentityprovideraad_types.go new file mode 100755 index 000000000..9ab09d6b6 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovideraad_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementIdentityProviderAadObservation struct { +} + +type ManagementIdentityProviderAadParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + AllowedTenants []*string `json:"allowedTenants" tf:"allowed_tenants,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SigninTenant *string `json:"signinTenant,omitempty" tf:"signin_tenant,omitempty"` +} + +// ManagementIdentityProviderAadSpec defines the desired state of ManagementIdentityProviderAad +type ManagementIdentityProviderAadSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementIdentityProviderAadParameters `json:"forProvider"` +} + +// ManagementIdentityProviderAadStatus defines the observed state of ManagementIdentityProviderAad. +type ManagementIdentityProviderAadStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementIdentityProviderAadObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderAad is the Schema for the ManagementIdentityProviderAads API +// +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,azurejet} +type ManagementIdentityProviderAad struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementIdentityProviderAadSpec `json:"spec"` + Status ManagementIdentityProviderAadStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderAadList contains a list of ManagementIdentityProviderAads +type ManagementIdentityProviderAadList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementIdentityProviderAad `json:"items"` +} + +// Repository type metadata. +var ( + ManagementIdentityProviderAad_Kind = "ManagementIdentityProviderAad" + ManagementIdentityProviderAad_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementIdentityProviderAad_Kind}.String() + ManagementIdentityProviderAad_KindAPIVersion = ManagementIdentityProviderAad_Kind + "." + CRDGroupVersion.String() + ManagementIdentityProviderAad_GroupVersionKind = CRDGroupVersion.WithKind(ManagementIdentityProviderAad_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementIdentityProviderAad{}, &ManagementIdentityProviderAadList{}) +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovideraadb2c_terraformed.go b/apis/api/v1alpha1/zz_managementidentityprovideraadb2c_terraformed.go new file mode 100755 index 000000000..de5a9fc4d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovideraadb2c_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementIdentityProviderAadb2C +func (mg *ManagementIdentityProviderAadb2C) GetTerraformResourceType() string { + return "azurerm_api_management_identity_provider_aadb2c" +} + +// GetConnectionDetailsMapping for this ManagementIdentityProviderAadb2C +func (tr *ManagementIdentityProviderAadb2C) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef"} +} + +// GetObservation of this ManagementIdentityProviderAadb2C +func (tr *ManagementIdentityProviderAadb2C) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementIdentityProviderAadb2C +func (tr *ManagementIdentityProviderAadb2C) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementIdentityProviderAadb2C +func (tr *ManagementIdentityProviderAadb2C) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementIdentityProviderAadb2C +func (tr *ManagementIdentityProviderAadb2C) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementIdentityProviderAadb2C using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementIdentityProviderAadb2C) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementIdentityProviderAadb2CParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementIdentityProviderAadb2C) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovideraadb2c_types.go b/apis/api/v1alpha1/zz_managementidentityprovideraadb2c_types.go new file mode 100755 index 000000000..c9d1cec09 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovideraadb2c_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementIdentityProviderAadb2CObservation struct { +} + +type ManagementIdentityProviderAadb2CParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + AllowedTenant *string `json:"allowedTenant" tf:"allowed_tenant,omitempty"` + + // +kubebuilder:validation:Required + Authority *string `json:"authority" tf:"authority,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + PasswordResetPolicy *string `json:"passwordResetPolicy,omitempty" tf:"password_reset_policy,omitempty"` + + // +kubebuilder:validation:Optional + ProfileEditingPolicy *string `json:"profileEditingPolicy,omitempty" tf:"profile_editing_policy,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SigninPolicy *string `json:"signinPolicy" tf:"signin_policy,omitempty"` + + // +kubebuilder:validation:Required + SigninTenant *string `json:"signinTenant" tf:"signin_tenant,omitempty"` + + // +kubebuilder:validation:Required + SignupPolicy *string `json:"signupPolicy" tf:"signup_policy,omitempty"` +} + +// ManagementIdentityProviderAadb2CSpec defines the desired state of ManagementIdentityProviderAadb2C +type ManagementIdentityProviderAadb2CSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementIdentityProviderAadb2CParameters `json:"forProvider"` +} + +// ManagementIdentityProviderAadb2CStatus defines the observed state of ManagementIdentityProviderAadb2C. +type ManagementIdentityProviderAadb2CStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementIdentityProviderAadb2CObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderAadb2C is the Schema for the ManagementIdentityProviderAadb2Cs API +// +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,azurejet} +type ManagementIdentityProviderAadb2C struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementIdentityProviderAadb2CSpec `json:"spec"` + Status ManagementIdentityProviderAadb2CStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderAadb2CList contains a list of ManagementIdentityProviderAadb2Cs +type ManagementIdentityProviderAadb2CList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementIdentityProviderAadb2C `json:"items"` +} + +// Repository type metadata. +var ( + ManagementIdentityProviderAadb2C_Kind = "ManagementIdentityProviderAadb2C" + ManagementIdentityProviderAadb2C_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementIdentityProviderAadb2C_Kind}.String() + ManagementIdentityProviderAadb2C_KindAPIVersion = ManagementIdentityProviderAadb2C_Kind + "." + CRDGroupVersion.String() + ManagementIdentityProviderAadb2C_GroupVersionKind = CRDGroupVersion.WithKind(ManagementIdentityProviderAadb2C_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementIdentityProviderAadb2C{}, &ManagementIdentityProviderAadb2CList{}) +} diff --git a/apis/api/v1alpha1/zz_managementidentityproviderfacebook_terraformed.go b/apis/api/v1alpha1/zz_managementidentityproviderfacebook_terraformed.go new file mode 100755 index 000000000..b7a7b1ec9 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityproviderfacebook_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementIdentityProviderFacebook +func (mg *ManagementIdentityProviderFacebook) GetTerraformResourceType() string { + return "azurerm_api_management_identity_provider_facebook" +} + +// GetConnectionDetailsMapping for this ManagementIdentityProviderFacebook +func (tr *ManagementIdentityProviderFacebook) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"app_secret": "spec.forProvider.appSecretSecretRef"} +} + +// GetObservation of this ManagementIdentityProviderFacebook +func (tr *ManagementIdentityProviderFacebook) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementIdentityProviderFacebook +func (tr *ManagementIdentityProviderFacebook) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementIdentityProviderFacebook +func (tr *ManagementIdentityProviderFacebook) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementIdentityProviderFacebook +func (tr *ManagementIdentityProviderFacebook) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementIdentityProviderFacebook using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementIdentityProviderFacebook) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementIdentityProviderFacebookParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementIdentityProviderFacebook) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementidentityproviderfacebook_types.go b/apis/api/v1alpha1/zz_managementidentityproviderfacebook_types.go new file mode 100755 index 000000000..79c6de3a8 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityproviderfacebook_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementIdentityProviderFacebookObservation struct { +} + +type ManagementIdentityProviderFacebookParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + AppID *string `json:"appId" tf:"app_id,omitempty"` + + // +kubebuilder:validation:Required + AppSecretSecretRef v1.SecretKeySelector `json:"appSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementIdentityProviderFacebookSpec defines the desired state of ManagementIdentityProviderFacebook +type ManagementIdentityProviderFacebookSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementIdentityProviderFacebookParameters `json:"forProvider"` +} + +// ManagementIdentityProviderFacebookStatus defines the observed state of ManagementIdentityProviderFacebook. +type ManagementIdentityProviderFacebookStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementIdentityProviderFacebookObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderFacebook is the Schema for the ManagementIdentityProviderFacebooks API +// +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,azurejet} +type ManagementIdentityProviderFacebook struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementIdentityProviderFacebookSpec `json:"spec"` + Status ManagementIdentityProviderFacebookStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderFacebookList contains a list of ManagementIdentityProviderFacebooks +type ManagementIdentityProviderFacebookList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementIdentityProviderFacebook `json:"items"` +} + +// Repository type metadata. +var ( + ManagementIdentityProviderFacebook_Kind = "ManagementIdentityProviderFacebook" + ManagementIdentityProviderFacebook_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementIdentityProviderFacebook_Kind}.String() + ManagementIdentityProviderFacebook_KindAPIVersion = ManagementIdentityProviderFacebook_Kind + "." + CRDGroupVersion.String() + ManagementIdentityProviderFacebook_GroupVersionKind = CRDGroupVersion.WithKind(ManagementIdentityProviderFacebook_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementIdentityProviderFacebook{}, &ManagementIdentityProviderFacebookList{}) +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovidergoogle_terraformed.go b/apis/api/v1alpha1/zz_managementidentityprovidergoogle_terraformed.go new file mode 100755 index 000000000..5c29592db --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovidergoogle_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementIdentityProviderGoogle +func (mg *ManagementIdentityProviderGoogle) GetTerraformResourceType() string { + return "azurerm_api_management_identity_provider_google" +} + +// GetConnectionDetailsMapping for this ManagementIdentityProviderGoogle +func (tr *ManagementIdentityProviderGoogle) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef"} +} + +// GetObservation of this ManagementIdentityProviderGoogle +func (tr *ManagementIdentityProviderGoogle) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementIdentityProviderGoogle +func (tr *ManagementIdentityProviderGoogle) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementIdentityProviderGoogle +func (tr *ManagementIdentityProviderGoogle) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementIdentityProviderGoogle +func (tr *ManagementIdentityProviderGoogle) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementIdentityProviderGoogle using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementIdentityProviderGoogle) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementIdentityProviderGoogleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementIdentityProviderGoogle) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovidergoogle_types.go b/apis/api/v1alpha1/zz_managementidentityprovidergoogle_types.go new file mode 100755 index 000000000..733acd898 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovidergoogle_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementIdentityProviderGoogleObservation struct { +} + +type ManagementIdentityProviderGoogleParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementIdentityProviderGoogleSpec defines the desired state of ManagementIdentityProviderGoogle +type ManagementIdentityProviderGoogleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementIdentityProviderGoogleParameters `json:"forProvider"` +} + +// ManagementIdentityProviderGoogleStatus defines the observed state of ManagementIdentityProviderGoogle. +type ManagementIdentityProviderGoogleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementIdentityProviderGoogleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderGoogle is the Schema for the ManagementIdentityProviderGoogles API +// +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,azurejet} +type ManagementIdentityProviderGoogle struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementIdentityProviderGoogleSpec `json:"spec"` + Status ManagementIdentityProviderGoogleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderGoogleList contains a list of ManagementIdentityProviderGoogles +type ManagementIdentityProviderGoogleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementIdentityProviderGoogle `json:"items"` +} + +// Repository type metadata. +var ( + ManagementIdentityProviderGoogle_Kind = "ManagementIdentityProviderGoogle" + ManagementIdentityProviderGoogle_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementIdentityProviderGoogle_Kind}.String() + ManagementIdentityProviderGoogle_KindAPIVersion = ManagementIdentityProviderGoogle_Kind + "." + CRDGroupVersion.String() + ManagementIdentityProviderGoogle_GroupVersionKind = CRDGroupVersion.WithKind(ManagementIdentityProviderGoogle_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementIdentityProviderGoogle{}, &ManagementIdentityProviderGoogleList{}) +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovidermicrosoft_terraformed.go b/apis/api/v1alpha1/zz_managementidentityprovidermicrosoft_terraformed.go new file mode 100755 index 000000000..0530b333d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovidermicrosoft_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementIdentityProviderMicrosoft +func (mg *ManagementIdentityProviderMicrosoft) GetTerraformResourceType() string { + return "azurerm_api_management_identity_provider_microsoft" +} + +// GetConnectionDetailsMapping for this ManagementIdentityProviderMicrosoft +func (tr *ManagementIdentityProviderMicrosoft) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef"} +} + +// GetObservation of this ManagementIdentityProviderMicrosoft +func (tr *ManagementIdentityProviderMicrosoft) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementIdentityProviderMicrosoft +func (tr *ManagementIdentityProviderMicrosoft) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementIdentityProviderMicrosoft +func (tr *ManagementIdentityProviderMicrosoft) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementIdentityProviderMicrosoft +func (tr *ManagementIdentityProviderMicrosoft) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementIdentityProviderMicrosoft using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementIdentityProviderMicrosoft) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementIdentityProviderMicrosoftParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementIdentityProviderMicrosoft) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovidermicrosoft_types.go b/apis/api/v1alpha1/zz_managementidentityprovidermicrosoft_types.go new file mode 100755 index 000000000..2c759ff1a --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovidermicrosoft_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementIdentityProviderMicrosoftObservation struct { +} + +type ManagementIdentityProviderMicrosoftParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementIdentityProviderMicrosoftSpec defines the desired state of ManagementIdentityProviderMicrosoft +type ManagementIdentityProviderMicrosoftSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementIdentityProviderMicrosoftParameters `json:"forProvider"` +} + +// ManagementIdentityProviderMicrosoftStatus defines the observed state of ManagementIdentityProviderMicrosoft. +type ManagementIdentityProviderMicrosoftStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementIdentityProviderMicrosoftObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderMicrosoft is the Schema for the ManagementIdentityProviderMicrosofts API +// +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,azurejet} +type ManagementIdentityProviderMicrosoft struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementIdentityProviderMicrosoftSpec `json:"spec"` + Status ManagementIdentityProviderMicrosoftStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderMicrosoftList contains a list of ManagementIdentityProviderMicrosofts +type ManagementIdentityProviderMicrosoftList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementIdentityProviderMicrosoft `json:"items"` +} + +// Repository type metadata. +var ( + ManagementIdentityProviderMicrosoft_Kind = "ManagementIdentityProviderMicrosoft" + ManagementIdentityProviderMicrosoft_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementIdentityProviderMicrosoft_Kind}.String() + ManagementIdentityProviderMicrosoft_KindAPIVersion = ManagementIdentityProviderMicrosoft_Kind + "." + CRDGroupVersion.String() + ManagementIdentityProviderMicrosoft_GroupVersionKind = CRDGroupVersion.WithKind(ManagementIdentityProviderMicrosoft_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementIdentityProviderMicrosoft{}, &ManagementIdentityProviderMicrosoftList{}) +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovidertwitter_terraformed.go b/apis/api/v1alpha1/zz_managementidentityprovidertwitter_terraformed.go new file mode 100755 index 000000000..8b86432f6 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovidertwitter_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementIdentityProviderTwitter +func (mg *ManagementIdentityProviderTwitter) GetTerraformResourceType() string { + return "azurerm_api_management_identity_provider_twitter" +} + +// GetConnectionDetailsMapping for this ManagementIdentityProviderTwitter +func (tr *ManagementIdentityProviderTwitter) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"api_secret_key": "spec.forProvider.apiSecretKeySecretRef"} +} + +// GetObservation of this ManagementIdentityProviderTwitter +func (tr *ManagementIdentityProviderTwitter) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementIdentityProviderTwitter +func (tr *ManagementIdentityProviderTwitter) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementIdentityProviderTwitter +func (tr *ManagementIdentityProviderTwitter) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementIdentityProviderTwitter +func (tr *ManagementIdentityProviderTwitter) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementIdentityProviderTwitter using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementIdentityProviderTwitter) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementIdentityProviderTwitterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementIdentityProviderTwitter) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementidentityprovidertwitter_types.go b/apis/api/v1alpha1/zz_managementidentityprovidertwitter_types.go new file mode 100755 index 000000000..08d8d3a9d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementidentityprovidertwitter_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementIdentityProviderTwitterObservation struct { +} + +type ManagementIdentityProviderTwitterParameters struct { + + // +kubebuilder:validation:Required + APIKey *string `json:"apiKey" tf:"api_key,omitempty"` + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APISecretKeySecretRef v1.SecretKeySelector `json:"apiSecretKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementIdentityProviderTwitterSpec defines the desired state of ManagementIdentityProviderTwitter +type ManagementIdentityProviderTwitterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementIdentityProviderTwitterParameters `json:"forProvider"` +} + +// ManagementIdentityProviderTwitterStatus defines the observed state of ManagementIdentityProviderTwitter. +type ManagementIdentityProviderTwitterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementIdentityProviderTwitterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderTwitter is the Schema for the ManagementIdentityProviderTwitters API +// +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,azurejet} +type ManagementIdentityProviderTwitter struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementIdentityProviderTwitterSpec `json:"spec"` + Status ManagementIdentityProviderTwitterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementIdentityProviderTwitterList contains a list of ManagementIdentityProviderTwitters +type ManagementIdentityProviderTwitterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementIdentityProviderTwitter `json:"items"` +} + +// Repository type metadata. +var ( + ManagementIdentityProviderTwitter_Kind = "ManagementIdentityProviderTwitter" + ManagementIdentityProviderTwitter_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementIdentityProviderTwitter_Kind}.String() + ManagementIdentityProviderTwitter_KindAPIVersion = ManagementIdentityProviderTwitter_Kind + "." + CRDGroupVersion.String() + ManagementIdentityProviderTwitter_GroupVersionKind = CRDGroupVersion.WithKind(ManagementIdentityProviderTwitter_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementIdentityProviderTwitter{}, &ManagementIdentityProviderTwitterList{}) +} diff --git a/apis/api/v1alpha1/zz_managementlogger_terraformed.go b/apis/api/v1alpha1/zz_managementlogger_terraformed.go new file mode 100755 index 000000000..868b8a923 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementlogger_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementLogger +func (mg *ManagementLogger) GetTerraformResourceType() string { + return "azurerm_api_management_logger" +} + +// GetConnectionDetailsMapping for this ManagementLogger +func (tr *ManagementLogger) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"application_insights[*].instrumentation_key": "spec.forProvider.applicationInsights[*].instrumentationKeySecretRef", "eventhub[*].connection_string": "spec.forProvider.eventhub[*].connectionStringSecretRef"} +} + +// GetObservation of this ManagementLogger +func (tr *ManagementLogger) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementLogger +func (tr *ManagementLogger) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementLogger +func (tr *ManagementLogger) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementLogger +func (tr *ManagementLogger) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementLogger using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementLogger) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementLoggerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementLogger) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementlogger_types.go b/apis/api/v1alpha1/zz_managementlogger_types.go new file mode 100755 index 000000000..7e95e19d7 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementlogger_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationInsightsObservation struct { +} + +type ApplicationInsightsParameters struct { + + // +kubebuilder:validation:Required + InstrumentationKeySecretRef v1.SecretKeySelector `json:"instrumentationKeySecretRef" tf:"-"` +} + +type EventhubObservation struct { +} + +type EventhubParameters struct { + + // +kubebuilder:validation:Required + ConnectionStringSecretRef v1.SecretKeySelector `json:"connectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ManagementLoggerObservation struct { +} + +type ManagementLoggerParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + ApplicationInsights []ApplicationInsightsParameters `json:"applicationInsights,omitempty" tf:"application_insights,omitempty"` + + // +kubebuilder:validation:Optional + Buffered *bool `json:"buffered,omitempty" tf:"buffered,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Eventhub []EventhubParameters `json:"eventhub,omitempty" tf:"eventhub,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` +} + +// ManagementLoggerSpec defines the desired state of ManagementLogger +type ManagementLoggerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementLoggerParameters `json:"forProvider"` +} + +// ManagementLoggerStatus defines the observed state of ManagementLogger. +type ManagementLoggerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementLoggerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementLogger is the Schema for the ManagementLoggers API +// +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,azurejet} +type ManagementLogger struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementLoggerSpec `json:"spec"` + Status ManagementLoggerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementLoggerList contains a list of ManagementLoggers +type ManagementLoggerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementLogger `json:"items"` +} + +// Repository type metadata. +var ( + ManagementLogger_Kind = "ManagementLogger" + ManagementLogger_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementLogger_Kind}.String() + ManagementLogger_KindAPIVersion = ManagementLogger_Kind + "." + CRDGroupVersion.String() + ManagementLogger_GroupVersionKind = CRDGroupVersion.WithKind(ManagementLogger_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementLogger{}, &ManagementLoggerList{}) +} diff --git a/apis/api/v1alpha1/zz_managementnamedvalue_terraformed.go b/apis/api/v1alpha1/zz_managementnamedvalue_terraformed.go new file mode 100755 index 000000000..8855503b8 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementnamedvalue_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementNamedValue +func (mg *ManagementNamedValue) GetTerraformResourceType() string { + return "azurerm_api_management_named_value" +} + +// GetConnectionDetailsMapping for this ManagementNamedValue +func (tr *ManagementNamedValue) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"value": "spec.forProvider.valueSecretRef"} +} + +// GetObservation of this ManagementNamedValue +func (tr *ManagementNamedValue) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementNamedValue +func (tr *ManagementNamedValue) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementNamedValue +func (tr *ManagementNamedValue) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementNamedValue +func (tr *ManagementNamedValue) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementNamedValue using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementNamedValue) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementNamedValueParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementNamedValue) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementnamedvalue_types.go b/apis/api/v1alpha1/zz_managementnamedvalue_types.go new file mode 100755 index 000000000..f7984546d --- /dev/null +++ b/apis/api/v1alpha1/zz_managementnamedvalue_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementNamedValueObservation struct { +} + +type ManagementNamedValueParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Secret *bool `json:"secret,omitempty" tf:"secret,omitempty"` + + // +kubebuilder:validation:Optional + Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ValueFromKeyVault []ValueFromKeyVaultParameters `json:"valueFromKeyVault,omitempty" tf:"value_from_key_vault,omitempty"` + + // +kubebuilder:validation:Optional + ValueSecretRef *v1.SecretKeySelector `json:"valueSecretRef,omitempty" tf:"-"` +} + +type ValueFromKeyVaultObservation struct { +} + +type ValueFromKeyVaultParameters struct { + + // +kubebuilder:validation:Optional + IdentityClientID *string `json:"identityClientId,omitempty" tf:"identity_client_id,omitempty"` + + // +kubebuilder:validation:Required + SecretID *string `json:"secretId" tf:"secret_id,omitempty"` +} + +// ManagementNamedValueSpec defines the desired state of ManagementNamedValue +type ManagementNamedValueSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementNamedValueParameters `json:"forProvider"` +} + +// ManagementNamedValueStatus defines the observed state of ManagementNamedValue. +type ManagementNamedValueStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementNamedValueObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementNamedValue is the Schema for the ManagementNamedValues API +// +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,azurejet} +type ManagementNamedValue struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementNamedValueSpec `json:"spec"` + Status ManagementNamedValueStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementNamedValueList contains a list of ManagementNamedValues +type ManagementNamedValueList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementNamedValue `json:"items"` +} + +// Repository type metadata. +var ( + ManagementNamedValue_Kind = "ManagementNamedValue" + ManagementNamedValue_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementNamedValue_Kind}.String() + ManagementNamedValue_KindAPIVersion = ManagementNamedValue_Kind + "." + CRDGroupVersion.String() + ManagementNamedValue_GroupVersionKind = CRDGroupVersion.WithKind(ManagementNamedValue_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementNamedValue{}, &ManagementNamedValueList{}) +} diff --git a/apis/api/v1alpha1/zz_managementnotificationrecipientemail_terraformed.go b/apis/api/v1alpha1/zz_managementnotificationrecipientemail_terraformed.go new file mode 100755 index 000000000..e03756e65 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementnotificationrecipientemail_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementNotificationRecipientEmail +func (mg *ManagementNotificationRecipientEmail) GetTerraformResourceType() string { + return "azurerm_api_management_notification_recipient_email" +} + +// GetConnectionDetailsMapping for this ManagementNotificationRecipientEmail +func (tr *ManagementNotificationRecipientEmail) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementNotificationRecipientEmail +func (tr *ManagementNotificationRecipientEmail) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementNotificationRecipientEmail +func (tr *ManagementNotificationRecipientEmail) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementNotificationRecipientEmail +func (tr *ManagementNotificationRecipientEmail) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementNotificationRecipientEmail +func (tr *ManagementNotificationRecipientEmail) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementNotificationRecipientEmail using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementNotificationRecipientEmail) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementNotificationRecipientEmailParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementNotificationRecipientEmail) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementnotificationrecipientemail_types.go b/apis/api/v1alpha1/zz_managementnotificationrecipientemail_types.go new file mode 100755 index 000000000..05d86ce0b --- /dev/null +++ b/apis/api/v1alpha1/zz_managementnotificationrecipientemail_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementNotificationRecipientEmailObservation struct { +} + +type ManagementNotificationRecipientEmailParameters struct { + + // +kubebuilder:validation:Required + APIManagementID *string `json:"apiManagementId" tf:"api_management_id,omitempty"` + + // +kubebuilder:validation:Required + Email *string `json:"email" tf:"email,omitempty"` + + // +kubebuilder:validation:Required + NotificationType *string `json:"notificationType" tf:"notification_type,omitempty"` +} + +// ManagementNotificationRecipientEmailSpec defines the desired state of ManagementNotificationRecipientEmail +type ManagementNotificationRecipientEmailSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementNotificationRecipientEmailParameters `json:"forProvider"` +} + +// ManagementNotificationRecipientEmailStatus defines the observed state of ManagementNotificationRecipientEmail. +type ManagementNotificationRecipientEmailStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementNotificationRecipientEmailObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementNotificationRecipientEmail is the Schema for the ManagementNotificationRecipientEmails API +// +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,azurejet} +type ManagementNotificationRecipientEmail struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementNotificationRecipientEmailSpec `json:"spec"` + Status ManagementNotificationRecipientEmailStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementNotificationRecipientEmailList contains a list of ManagementNotificationRecipientEmails +type ManagementNotificationRecipientEmailList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementNotificationRecipientEmail `json:"items"` +} + +// Repository type metadata. +var ( + ManagementNotificationRecipientEmail_Kind = "ManagementNotificationRecipientEmail" + ManagementNotificationRecipientEmail_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementNotificationRecipientEmail_Kind}.String() + ManagementNotificationRecipientEmail_KindAPIVersion = ManagementNotificationRecipientEmail_Kind + "." + CRDGroupVersion.String() + ManagementNotificationRecipientEmail_GroupVersionKind = CRDGroupVersion.WithKind(ManagementNotificationRecipientEmail_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementNotificationRecipientEmail{}, &ManagementNotificationRecipientEmailList{}) +} diff --git a/apis/api/v1alpha1/zz_managementopenidconnectprovider_terraformed.go b/apis/api/v1alpha1/zz_managementopenidconnectprovider_terraformed.go new file mode 100755 index 000000000..5e4c4ce07 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementopenidconnectprovider_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementOpenidConnectProvider +func (mg *ManagementOpenidConnectProvider) GetTerraformResourceType() string { + return "azurerm_api_management_openid_connect_provider" +} + +// GetConnectionDetailsMapping for this ManagementOpenidConnectProvider +func (tr *ManagementOpenidConnectProvider) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_id": "spec.forProvider.clientIDSecretRef", "client_secret": "spec.forProvider.clientSecretSecretRef"} +} + +// GetObservation of this ManagementOpenidConnectProvider +func (tr *ManagementOpenidConnectProvider) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementOpenidConnectProvider +func (tr *ManagementOpenidConnectProvider) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementOpenidConnectProvider +func (tr *ManagementOpenidConnectProvider) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementOpenidConnectProvider +func (tr *ManagementOpenidConnectProvider) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementOpenidConnectProvider using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementOpenidConnectProvider) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementOpenidConnectProviderParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementOpenidConnectProvider) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementopenidconnectprovider_types.go b/apis/api/v1alpha1/zz_managementopenidconnectprovider_types.go new file mode 100755 index 000000000..3666645fe --- /dev/null +++ b/apis/api/v1alpha1/zz_managementopenidconnectprovider_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementOpenidConnectProviderObservation struct { +} + +type ManagementOpenidConnectProviderParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + ClientIDSecretRef v1.SecretKeySelector `json:"clientIdSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + MetadataEndpoint *string `json:"metadataEndpoint" tf:"metadata_endpoint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementOpenidConnectProviderSpec defines the desired state of ManagementOpenidConnectProvider +type ManagementOpenidConnectProviderSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementOpenidConnectProviderParameters `json:"forProvider"` +} + +// ManagementOpenidConnectProviderStatus defines the observed state of ManagementOpenidConnectProvider. +type ManagementOpenidConnectProviderStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementOpenidConnectProviderObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementOpenidConnectProvider is the Schema for the ManagementOpenidConnectProviders API +// +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,azurejet} +type ManagementOpenidConnectProvider struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementOpenidConnectProviderSpec `json:"spec"` + Status ManagementOpenidConnectProviderStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementOpenidConnectProviderList contains a list of ManagementOpenidConnectProviders +type ManagementOpenidConnectProviderList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementOpenidConnectProvider `json:"items"` +} + +// Repository type metadata. +var ( + ManagementOpenidConnectProvider_Kind = "ManagementOpenidConnectProvider" + ManagementOpenidConnectProvider_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementOpenidConnectProvider_Kind}.String() + ManagementOpenidConnectProvider_KindAPIVersion = ManagementOpenidConnectProvider_Kind + "." + CRDGroupVersion.String() + ManagementOpenidConnectProvider_GroupVersionKind = CRDGroupVersion.WithKind(ManagementOpenidConnectProvider_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementOpenidConnectProvider{}, &ManagementOpenidConnectProviderList{}) +} diff --git a/apis/api/v1alpha1/zz_managementpolicy_terraformed.go b/apis/api/v1alpha1/zz_managementpolicy_terraformed.go new file mode 100755 index 000000000..886330d4c --- /dev/null +++ b/apis/api/v1alpha1/zz_managementpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementPolicy +func (mg *ManagementPolicy) GetTerraformResourceType() string { + return "azurerm_api_management_policy" +} + +// GetConnectionDetailsMapping for this ManagementPolicy +func (tr *ManagementPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementPolicy +func (tr *ManagementPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementPolicy +func (tr *ManagementPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementPolicy +func (tr *ManagementPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementPolicy +func (tr *ManagementPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementpolicy_types.go b/apis/api/v1alpha1/zz_managementpolicy_types.go new file mode 100755 index 000000000..03c7c6190 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementpolicy_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementPolicyObservation struct { +} + +type ManagementPolicyParameters struct { + + // +kubebuilder:validation:Required + APIManagementID *string `json:"apiManagementId" tf:"api_management_id,omitempty"` + + // +kubebuilder:validation:Optional + XMLContent *string `json:"xmlContent,omitempty" tf:"xml_content,omitempty"` + + // +kubebuilder:validation:Optional + XMLLink *string `json:"xmlLink,omitempty" tf:"xml_link,omitempty"` +} + +// ManagementPolicySpec defines the desired state of ManagementPolicy +type ManagementPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementPolicyParameters `json:"forProvider"` +} + +// ManagementPolicyStatus defines the observed state of ManagementPolicy. +type ManagementPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementPolicy is the Schema for the ManagementPolicys API +// +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,azurejet} +type ManagementPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementPolicySpec `json:"spec"` + Status ManagementPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementPolicyList contains a list of ManagementPolicys +type ManagementPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ManagementPolicy_Kind = "ManagementPolicy" + ManagementPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementPolicy_Kind}.String() + ManagementPolicy_KindAPIVersion = ManagementPolicy_Kind + "." + CRDGroupVersion.String() + ManagementPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ManagementPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementPolicy{}, &ManagementPolicyList{}) +} diff --git a/apis/api/v1alpha1/zz_managementproduct_terraformed.go b/apis/api/v1alpha1/zz_managementproduct_terraformed.go new file mode 100755 index 000000000..8dbce23f1 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproduct_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementProduct +func (mg *ManagementProduct) GetTerraformResourceType() string { + return "azurerm_api_management_product" +} + +// GetConnectionDetailsMapping for this ManagementProduct +func (tr *ManagementProduct) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementProduct +func (tr *ManagementProduct) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementProduct +func (tr *ManagementProduct) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementProduct +func (tr *ManagementProduct) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementProduct +func (tr *ManagementProduct) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementProduct using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementProduct) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementProductParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementProduct) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementproduct_types.go b/apis/api/v1alpha1/zz_managementproduct_types.go new file mode 100755 index 000000000..ec3e6347f --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproduct_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementProductObservation struct { +} + +type ManagementProductParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + ApprovalRequired *bool `json:"approvalRequired,omitempty" tf:"approval_required,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + ProductID *string `json:"productId" tf:"product_id,omitempty"` + + // +kubebuilder:validation:Required + Published *bool `json:"published" tf:"published,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionRequired *bool `json:"subscriptionRequired" tf:"subscription_required,omitempty"` + + // +kubebuilder:validation:Optional + SubscriptionsLimit *int64 `json:"subscriptionsLimit,omitempty" tf:"subscriptions_limit,omitempty"` + + // +kubebuilder:validation:Optional + Terms *string `json:"terms,omitempty" tf:"terms,omitempty"` +} + +// ManagementProductSpec defines the desired state of ManagementProduct +type ManagementProductSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementProductParameters `json:"forProvider"` +} + +// ManagementProductStatus defines the observed state of ManagementProduct. +type ManagementProductStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementProductObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProduct is the Schema for the ManagementProducts API +// +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,azurejet} +type ManagementProduct struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementProductSpec `json:"spec"` + Status ManagementProductStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProductList contains a list of ManagementProducts +type ManagementProductList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementProduct `json:"items"` +} + +// Repository type metadata. +var ( + ManagementProduct_Kind = "ManagementProduct" + ManagementProduct_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementProduct_Kind}.String() + ManagementProduct_KindAPIVersion = ManagementProduct_Kind + "." + CRDGroupVersion.String() + ManagementProduct_GroupVersionKind = CRDGroupVersion.WithKind(ManagementProduct_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementProduct{}, &ManagementProductList{}) +} diff --git a/apis/api/v1alpha1/zz_managementproductapi_terraformed.go b/apis/api/v1alpha1/zz_managementproductapi_terraformed.go new file mode 100755 index 000000000..bac0d12d6 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproductapi_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementProductApi +func (mg *ManagementProductApi) GetTerraformResourceType() string { + return "azurerm_api_management_product_api" +} + +// GetConnectionDetailsMapping for this ManagementProductApi +func (tr *ManagementProductApi) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementProductApi +func (tr *ManagementProductApi) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementProductApi +func (tr *ManagementProductApi) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementProductApi +func (tr *ManagementProductApi) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementProductApi +func (tr *ManagementProductApi) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementProductApi using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementProductApi) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementProductApiParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementProductApi) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementproductapi_types.go b/apis/api/v1alpha1/zz_managementproductapi_types.go new file mode 100755 index 000000000..70f645297 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproductapi_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementProductApiObservation struct { +} + +type ManagementProductApiParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + APIName *string `json:"apiName" tf:"api_name,omitempty"` + + // +kubebuilder:validation:Required + ProductID *string `json:"productId" tf:"product_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ManagementProductApiSpec defines the desired state of ManagementProductApi +type ManagementProductApiSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementProductApiParameters `json:"forProvider"` +} + +// ManagementProductApiStatus defines the observed state of ManagementProductApi. +type ManagementProductApiStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementProductApiObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProductApi is the Schema for the ManagementProductApis API +// +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,azurejet} +type ManagementProductApi struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementProductApiSpec `json:"spec"` + Status ManagementProductApiStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProductApiList contains a list of ManagementProductApis +type ManagementProductApiList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementProductApi `json:"items"` +} + +// Repository type metadata. +var ( + ManagementProductApi_Kind = "ManagementProductApi" + ManagementProductApi_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementProductApi_Kind}.String() + ManagementProductApi_KindAPIVersion = ManagementProductApi_Kind + "." + CRDGroupVersion.String() + ManagementProductApi_GroupVersionKind = CRDGroupVersion.WithKind(ManagementProductApi_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementProductApi{}, &ManagementProductApiList{}) +} diff --git a/apis/api/v1alpha1/zz_managementproductpolicy_terraformed.go b/apis/api/v1alpha1/zz_managementproductpolicy_terraformed.go new file mode 100755 index 000000000..f81311344 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproductpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementProductPolicy +func (mg *ManagementProductPolicy) GetTerraformResourceType() string { + return "azurerm_api_management_product_policy" +} + +// GetConnectionDetailsMapping for this ManagementProductPolicy +func (tr *ManagementProductPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementProductPolicy +func (tr *ManagementProductPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementProductPolicy +func (tr *ManagementProductPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementProductPolicy +func (tr *ManagementProductPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementProductPolicy +func (tr *ManagementProductPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementProductPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementProductPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementProductPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementProductPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementproductpolicy_types.go b/apis/api/v1alpha1/zz_managementproductpolicy_types.go new file mode 100755 index 000000000..008d30330 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproductpolicy_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementProductPolicyObservation struct { +} + +type ManagementProductPolicyParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + ProductID *string `json:"productId" tf:"product_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + XMLContent *string `json:"xmlContent,omitempty" tf:"xml_content,omitempty"` + + // +kubebuilder:validation:Optional + XMLLink *string `json:"xmlLink,omitempty" tf:"xml_link,omitempty"` +} + +// ManagementProductPolicySpec defines the desired state of ManagementProductPolicy +type ManagementProductPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementProductPolicyParameters `json:"forProvider"` +} + +// ManagementProductPolicyStatus defines the observed state of ManagementProductPolicy. +type ManagementProductPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementProductPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProductPolicy is the Schema for the ManagementProductPolicys API +// +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,azurejet} +type ManagementProductPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementProductPolicySpec `json:"spec"` + Status ManagementProductPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProductPolicyList contains a list of ManagementProductPolicys +type ManagementProductPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementProductPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ManagementProductPolicy_Kind = "ManagementProductPolicy" + ManagementProductPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementProductPolicy_Kind}.String() + ManagementProductPolicy_KindAPIVersion = ManagementProductPolicy_Kind + "." + CRDGroupVersion.String() + ManagementProductPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ManagementProductPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementProductPolicy{}, &ManagementProductPolicyList{}) +} diff --git a/apis/api/v1alpha1/zz_managementproperty_terraformed.go b/apis/api/v1alpha1/zz_managementproperty_terraformed.go new file mode 100755 index 000000000..934486ad6 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproperty_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementProperty +func (mg *ManagementProperty) GetTerraformResourceType() string { + return "azurerm_api_management_property" +} + +// GetConnectionDetailsMapping for this ManagementProperty +func (tr *ManagementProperty) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementProperty +func (tr *ManagementProperty) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementProperty +func (tr *ManagementProperty) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementProperty +func (tr *ManagementProperty) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementProperty +func (tr *ManagementProperty) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementProperty using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementProperty) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementPropertyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementProperty) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/api/v1alpha1/zz_managementproperty_types.go b/apis/api/v1alpha1/zz_managementproperty_types.go new file mode 100755 index 000000000..17dae757a --- /dev/null +++ b/apis/api/v1alpha1/zz_managementproperty_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementPropertyObservation struct { +} + +type ManagementPropertyParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Secret *bool `json:"secret,omitempty" tf:"secret,omitempty"` + + // +kubebuilder:validation:Optional + Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// ManagementPropertySpec defines the desired state of ManagementProperty +type ManagementPropertySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementPropertyParameters `json:"forProvider"` +} + +// ManagementPropertyStatus defines the observed state of ManagementProperty. +type ManagementPropertyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementPropertyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementProperty is the Schema for the ManagementPropertys API +// +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,azurejet} +type ManagementProperty struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementPropertySpec `json:"spec"` + Status ManagementPropertyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementPropertyList contains a list of ManagementPropertys +type ManagementPropertyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementProperty `json:"items"` +} + +// Repository type metadata. +var ( + ManagementProperty_Kind = "ManagementProperty" + ManagementProperty_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementProperty_Kind}.String() + ManagementProperty_KindAPIVersion = ManagementProperty_Kind + "." + CRDGroupVersion.String() + ManagementProperty_GroupVersionKind = CRDGroupVersion.WithKind(ManagementProperty_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementProperty{}, &ManagementPropertyList{}) +} diff --git a/apis/api/v1alpha1/zz_managementrediscache_terraformed.go b/apis/api/v1alpha1/zz_managementrediscache_terraformed.go new file mode 100755 index 000000000..578bb168b --- /dev/null +++ b/apis/api/v1alpha1/zz_managementrediscache_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementRedisCache +func (mg *ManagementRedisCache) GetTerraformResourceType() string { + return "azurerm_api_management_redis_cache" +} + +// GetConnectionDetailsMapping for this ManagementRedisCache +func (tr *ManagementRedisCache) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"connection_string": "spec.forProvider.connectionStringSecretRef"} +} + +// GetObservation of this ManagementRedisCache +func (tr *ManagementRedisCache) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementRedisCache +func (tr *ManagementRedisCache) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementRedisCache +func (tr *ManagementRedisCache) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementRedisCache +func (tr *ManagementRedisCache) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementRedisCache using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementRedisCache) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementRedisCacheParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementRedisCache) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementrediscache_types.go b/apis/api/v1alpha1/zz_managementrediscache_types.go new file mode 100755 index 000000000..99801906b --- /dev/null +++ b/apis/api/v1alpha1/zz_managementrediscache_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementRedisCacheObservation struct { +} + +type ManagementRedisCacheParameters struct { + + // +kubebuilder:validation:Required + APIManagementID *string `json:"apiManagementId" tf:"api_management_id,omitempty"` + + // +kubebuilder:validation:Optional + CacheLocation *string `json:"cacheLocation,omitempty" tf:"cache_location,omitempty"` + + // +kubebuilder:validation:Required + ConnectionStringSecretRef v1.SecretKeySelector `json:"connectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RedisCacheID *string `json:"redisCacheId,omitempty" tf:"redis_cache_id,omitempty"` +} + +// ManagementRedisCacheSpec defines the desired state of ManagementRedisCache +type ManagementRedisCacheSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementRedisCacheParameters `json:"forProvider"` +} + +// ManagementRedisCacheStatus defines the observed state of ManagementRedisCache. +type ManagementRedisCacheStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementRedisCacheObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementRedisCache is the Schema for the ManagementRedisCaches API +// +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,azurejet} +type ManagementRedisCache struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementRedisCacheSpec `json:"spec"` + Status ManagementRedisCacheStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementRedisCacheList contains a list of ManagementRedisCaches +type ManagementRedisCacheList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementRedisCache `json:"items"` +} + +// Repository type metadata. +var ( + ManagementRedisCache_Kind = "ManagementRedisCache" + ManagementRedisCache_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementRedisCache_Kind}.String() + ManagementRedisCache_KindAPIVersion = ManagementRedisCache_Kind + "." + CRDGroupVersion.String() + ManagementRedisCache_GroupVersionKind = CRDGroupVersion.WithKind(ManagementRedisCache_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementRedisCache{}, &ManagementRedisCacheList{}) +} diff --git a/apis/api/v1alpha1/zz_managementsubscription_terraformed.go b/apis/api/v1alpha1/zz_managementsubscription_terraformed.go new file mode 100755 index 000000000..2bce121e6 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementsubscription_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementSubscription +func (mg *ManagementSubscription) GetTerraformResourceType() string { + return "azurerm_api_management_subscription" +} + +// GetConnectionDetailsMapping for this ManagementSubscription +func (tr *ManagementSubscription) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_key": "spec.forProvider.primaryKeySecretRef", "secondary_key": "spec.forProvider.secondaryKeySecretRef"} +} + +// GetObservation of this ManagementSubscription +func (tr *ManagementSubscription) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementSubscription +func (tr *ManagementSubscription) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementSubscription +func (tr *ManagementSubscription) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementSubscription +func (tr *ManagementSubscription) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementSubscription using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementSubscription) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementSubscriptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementSubscription) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementsubscription_types.go b/apis/api/v1alpha1/zz_managementsubscription_types.go new file mode 100755 index 000000000..72c4b48fc --- /dev/null +++ b/apis/api/v1alpha1/zz_managementsubscription_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementSubscriptionObservation struct { +} + +type ManagementSubscriptionParameters struct { + + // +kubebuilder:validation:Optional + APIID *string `json:"apiId,omitempty" tf:"api_id,omitempty"` + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + AllowTracing *bool `json:"allowTracing,omitempty" tf:"allow_tracing,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + PrimaryKeySecretRef *v1.SecretKeySelector `json:"primaryKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ProductID *string `json:"productId,omitempty" tf:"product_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SecondaryKeySecretRef *v1.SecretKeySelector `json:"secondaryKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + State *string `json:"state,omitempty" tf:"state,omitempty"` + + // +kubebuilder:validation:Optional + SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` + + // +kubebuilder:validation:Optional + UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` +} + +// ManagementSubscriptionSpec defines the desired state of ManagementSubscription +type ManagementSubscriptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementSubscriptionParameters `json:"forProvider"` +} + +// ManagementSubscriptionStatus defines the observed state of ManagementSubscription. +type ManagementSubscriptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementSubscriptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementSubscription is the Schema for the ManagementSubscriptions API +// +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,azurejet} +type ManagementSubscription struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementSubscriptionSpec `json:"spec"` + Status ManagementSubscriptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementSubscriptionList contains a list of ManagementSubscriptions +type ManagementSubscriptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementSubscription `json:"items"` +} + +// Repository type metadata. +var ( + ManagementSubscription_Kind = "ManagementSubscription" + ManagementSubscription_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementSubscription_Kind}.String() + ManagementSubscription_KindAPIVersion = ManagementSubscription_Kind + "." + CRDGroupVersion.String() + ManagementSubscription_GroupVersionKind = CRDGroupVersion.WithKind(ManagementSubscription_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementSubscription{}, &ManagementSubscriptionList{}) +} diff --git a/apis/api/v1alpha1/zz_managementtag_terraformed.go b/apis/api/v1alpha1/zz_managementtag_terraformed.go new file mode 100755 index 000000000..bf01fe5ea --- /dev/null +++ b/apis/api/v1alpha1/zz_managementtag_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementTag +func (mg *ManagementTag) GetTerraformResourceType() string { + return "azurerm_api_management_tag" +} + +// GetConnectionDetailsMapping for this ManagementTag +func (tr *ManagementTag) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementTag +func (tr *ManagementTag) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementTag +func (tr *ManagementTag) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementTag +func (tr *ManagementTag) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementTag +func (tr *ManagementTag) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementTag using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementTag) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementTagParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementTag) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementtag_types.go b/apis/api/v1alpha1/zz_managementtag_types.go new file mode 100755 index 000000000..d48c98784 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementtag_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementTagObservation struct { +} + +type ManagementTagParameters struct { + + // +kubebuilder:validation:Required + APIManagementID *string `json:"apiManagementId" tf:"api_management_id,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// ManagementTagSpec defines the desired state of ManagementTag +type ManagementTagSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementTagParameters `json:"forProvider"` +} + +// ManagementTagStatus defines the observed state of ManagementTag. +type ManagementTagStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementTagObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementTag is the Schema for the ManagementTags API +// +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,azurejet} +type ManagementTag struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementTagSpec `json:"spec"` + Status ManagementTagStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementTagList contains a list of ManagementTags +type ManagementTagList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementTag `json:"items"` +} + +// Repository type metadata. +var ( + ManagementTag_Kind = "ManagementTag" + ManagementTag_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementTag_Kind}.String() + ManagementTag_KindAPIVersion = ManagementTag_Kind + "." + CRDGroupVersion.String() + ManagementTag_GroupVersionKind = CRDGroupVersion.WithKind(ManagementTag_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementTag{}, &ManagementTagList{}) +} diff --git a/apis/api/v1alpha1/zz_managementuser_terraformed.go b/apis/api/v1alpha1/zz_managementuser_terraformed.go new file mode 100755 index 000000000..6be683048 --- /dev/null +++ b/apis/api/v1alpha1/zz_managementuser_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementUser +func (mg *ManagementUser) GetTerraformResourceType() string { + return "azurerm_api_management_user" +} + +// GetConnectionDetailsMapping for this ManagementUser +func (tr *ManagementUser) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this ManagementUser +func (tr *ManagementUser) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementUser +func (tr *ManagementUser) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementUser +func (tr *ManagementUser) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementUser +func (tr *ManagementUser) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementUser using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementUser) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementUserParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementUser) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/api/v1alpha1/zz_managementuser_types.go b/apis/api/v1alpha1/zz_managementuser_types.go new file mode 100755 index 000000000..e387b28bb --- /dev/null +++ b/apis/api/v1alpha1/zz_managementuser_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementUserObservation struct { +} + +type ManagementUserParameters struct { + + // +kubebuilder:validation:Required + APIManagementName *string `json:"apiManagementName" tf:"api_management_name,omitempty"` + + // +kubebuilder:validation:Optional + Confirmation *string `json:"confirmation,omitempty" tf:"confirmation,omitempty"` + + // +kubebuilder:validation:Required + Email *string `json:"email" tf:"email,omitempty"` + + // +kubebuilder:validation:Required + FirstName *string `json:"firstName" tf:"first_name,omitempty"` + + // +kubebuilder:validation:Required + LastName *string `json:"lastName" tf:"last_name,omitempty"` + + // +kubebuilder:validation:Optional + Note *string `json:"note,omitempty" tf:"note,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + State *string `json:"state,omitempty" tf:"state,omitempty"` + + // +kubebuilder:validation:Required + UserID *string `json:"userId" tf:"user_id,omitempty"` +} + +// ManagementUserSpec defines the desired state of ManagementUser +type ManagementUserSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementUserParameters `json:"forProvider"` +} + +// ManagementUserStatus defines the observed state of ManagementUser. +type ManagementUserStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementUserObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementUser is the Schema for the ManagementUsers API +// +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,azurejet} +type ManagementUser struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementUserSpec `json:"spec"` + Status ManagementUserStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementUserList contains a list of ManagementUsers +type ManagementUserList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementUser `json:"items"` +} + +// Repository type metadata. +var ( + ManagementUser_Kind = "ManagementUser" + ManagementUser_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementUser_Kind}.String() + ManagementUser_KindAPIVersion = ManagementUser_Kind + "." + CRDGroupVersion.String() + ManagementUser_GroupVersionKind = CRDGroupVersion.WithKind(ManagementUser_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementUser{}, &ManagementUserList{}) +} diff --git a/apis/app/v1alpha1/zz_configuration_terraformed.go b/apis/app/v1alpha1/zz_configuration_terraformed.go new file mode 100755 index 000000000..7738ca38e --- /dev/null +++ b/apis/app/v1alpha1/zz_configuration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Configuration +func (mg *Configuration) GetTerraformResourceType() string { + return "azurerm_app_configuration" +} + +// GetConnectionDetailsMapping for this Configuration +func (tr *Configuration) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_read_key[*].connection_string": "status.atProvider.primaryReadKey[*].connectionString", "primary_read_key[*].id": "status.atProvider.primaryReadKey[*].id", "primary_read_key[*].secret": "status.atProvider.primaryReadKey[*].secret", "primary_write_key[*].connection_string": "status.atProvider.primaryWriteKey[*].connectionString", "primary_write_key[*].id": "status.atProvider.primaryWriteKey[*].id", "primary_write_key[*].secret": "status.atProvider.primaryWriteKey[*].secret", "secondary_read_key[*].connection_string": "status.atProvider.secondaryReadKey[*].connectionString", "secondary_read_key[*].id": "status.atProvider.secondaryReadKey[*].id", "secondary_read_key[*].secret": "status.atProvider.secondaryReadKey[*].secret", "secondary_write_key[*].connection_string": "status.atProvider.secondaryWriteKey[*].connectionString", "secondary_write_key[*].id": "status.atProvider.secondaryWriteKey[*].id", "secondary_write_key[*].secret": "status.atProvider.secondaryWriteKey[*].secret"} +} + +// GetObservation of this Configuration +func (tr *Configuration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Configuration +func (tr *Configuration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Configuration +func (tr *Configuration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Configuration +func (tr *Configuration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Configuration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Configuration) LateInitialize(attrs []byte) (bool, error) { + params := &ConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Configuration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_configuration_types.go b/apis/app/v1alpha1/zz_configuration_types.go new file mode 100755 index 000000000..d5c68a0a2 --- /dev/null +++ b/apis/app/v1alpha1/zz_configuration_types.go @@ -0,0 +1,147 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConfigurationObservation struct { + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` + + PrimaryReadKey []PrimaryReadKeyObservation `json:"primaryReadKey,omitempty" tf:"primary_read_key,omitempty"` + + PrimaryWriteKey []PrimaryWriteKeyObservation `json:"primaryWriteKey,omitempty" tf:"primary_write_key,omitempty"` + + SecondaryReadKey []SecondaryReadKeyObservation `json:"secondaryReadKey,omitempty" tf:"secondary_read_key,omitempty"` + + SecondaryWriteKey []SecondaryWriteKeyObservation `json:"secondaryWriteKey,omitempty" tf:"secondary_write_key,omitempty"` +} + +type ConfigurationParameters struct { + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type PrimaryReadKeyObservation struct { +} + +type PrimaryReadKeyParameters struct { +} + +type PrimaryWriteKeyObservation struct { +} + +type PrimaryWriteKeyParameters struct { +} + +type SecondaryReadKeyObservation struct { +} + +type SecondaryReadKeyParameters struct { +} + +type SecondaryWriteKeyObservation struct { +} + +type SecondaryWriteKeyParameters struct { +} + +// ConfigurationSpec defines the desired state of Configuration +type ConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConfigurationParameters `json:"forProvider"` +} + +// ConfigurationStatus defines the observed state of Configuration. +type ConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Configuration is the Schema for the Configurations API +// +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,azurejet} +type Configuration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConfigurationSpec `json:"spec"` + Status ConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConfigurationList contains a list of Configurations +type ConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Configuration `json:"items"` +} + +// Repository type metadata. +var ( + Configuration_Kind = "Configuration" + Configuration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String() + Configuration_KindAPIVersion = Configuration_Kind + "." + CRDGroupVersion.String() + Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind) +) + +func init() { + SchemeBuilder.Register(&Configuration{}, &ConfigurationList{}) +} diff --git a/apis/app/v1alpha1/zz_configurationkey_terraformed.go b/apis/app/v1alpha1/zz_configurationkey_terraformed.go new file mode 100755 index 000000000..0a5b09294 --- /dev/null +++ b/apis/app/v1alpha1/zz_configurationkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ConfigurationKey +func (mg *ConfigurationKey) GetTerraformResourceType() string { + return "azurerm_app_configuration_key" +} + +// GetConnectionDetailsMapping for this ConfigurationKey +func (tr *ConfigurationKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ConfigurationKey +func (tr *ConfigurationKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ConfigurationKey +func (tr *ConfigurationKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ConfigurationKey +func (tr *ConfigurationKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ConfigurationKey +func (tr *ConfigurationKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ConfigurationKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ConfigurationKey) LateInitialize(attrs []byte) (bool, error) { + params := &ConfigurationKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ConfigurationKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_configurationkey_types.go b/apis/app/v1alpha1/zz_configurationkey_types.go new file mode 100755 index 000000000..516acb1c9 --- /dev/null +++ b/apis/app/v1alpha1/zz_configurationkey_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConfigurationKeyObservation struct { +} + +type ConfigurationKeyParameters struct { + + // +kubebuilder:validation:Required + ConfigurationStoreID *string `json:"configurationStoreId" tf:"configuration_store_id,omitempty"` + + // +kubebuilder:validation:Optional + ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Optional + Locked *bool `json:"locked,omitempty" tf:"locked,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` + + // +kubebuilder:validation:Optional + VaultKeyReference *string `json:"vaultKeyReference,omitempty" tf:"vault_key_reference,omitempty"` +} + +// ConfigurationKeySpec defines the desired state of ConfigurationKey +type ConfigurationKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConfigurationKeyParameters `json:"forProvider"` +} + +// ConfigurationKeyStatus defines the observed state of ConfigurationKey. +type ConfigurationKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConfigurationKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConfigurationKey is the Schema for the ConfigurationKeys API +// +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,azurejet} +type ConfigurationKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConfigurationKeySpec `json:"spec"` + Status ConfigurationKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConfigurationKeyList contains a list of ConfigurationKeys +type ConfigurationKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ConfigurationKey `json:"items"` +} + +// Repository type metadata. +var ( + ConfigurationKey_Kind = "ConfigurationKey" + ConfigurationKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConfigurationKey_Kind}.String() + ConfigurationKey_KindAPIVersion = ConfigurationKey_Kind + "." + CRDGroupVersion.String() + ConfigurationKey_GroupVersionKind = CRDGroupVersion.WithKind(ConfigurationKey_Kind) +) + +func init() { + SchemeBuilder.Register(&ConfigurationKey{}, &ConfigurationKeyList{}) +} diff --git a/apis/app/v1alpha1/zz_generated.deepcopy.go b/apis/app/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..0745f7585 --- /dev/null +++ b/apis/app/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,6435 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryObservation) DeepCopyInto(out *ActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryObservation. +func (in *ActiveDirectoryObservation) DeepCopy() *ActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(ActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryParameters) DeepCopyInto(out *ActiveDirectoryParameters) { + *out = *in + if in.AllowedAudiences != nil { + in, out := &in.AllowedAudiences, &out.AllowedAudiences + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryParameters. +func (in *ActiveDirectoryParameters) DeepCopy() *ActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(ActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationLogsAzureBlobStorageObservation) DeepCopyInto(out *ApplicationLogsAzureBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationLogsAzureBlobStorageObservation. +func (in *ApplicationLogsAzureBlobStorageObservation) DeepCopy() *ApplicationLogsAzureBlobStorageObservation { + if in == nil { + return nil + } + out := new(ApplicationLogsAzureBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationLogsAzureBlobStorageParameters) DeepCopyInto(out *ApplicationLogsAzureBlobStorageParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + out.SasURLSecretRef = in.SasURLSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationLogsAzureBlobStorageParameters. +func (in *ApplicationLogsAzureBlobStorageParameters) DeepCopy() *ApplicationLogsAzureBlobStorageParameters { + if in == nil { + return nil + } + out := new(ApplicationLogsAzureBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationLogsObservation) DeepCopyInto(out *ApplicationLogsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationLogsObservation. +func (in *ApplicationLogsObservation) DeepCopy() *ApplicationLogsObservation { + if in == nil { + return nil + } + out := new(ApplicationLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationLogsParameters) DeepCopyInto(out *ApplicationLogsParameters) { + *out = *in + if in.AzureBlobStorage != nil { + in, out := &in.AzureBlobStorage, &out.AzureBlobStorage + *out = make([]AzureBlobStorageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FileSystemLevel != nil { + in, out := &in.FileSystemLevel, &out.FileSystemLevel + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationLogsParameters. +func (in *ApplicationLogsParameters) DeepCopy() *ApplicationLogsParameters { + if in == nil { + return nil + } + out := new(ApplicationLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsActiveDirectoryObservation) DeepCopyInto(out *AuthSettingsActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsActiveDirectoryObservation. +func (in *AuthSettingsActiveDirectoryObservation) DeepCopy() *AuthSettingsActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(AuthSettingsActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsActiveDirectoryParameters) DeepCopyInto(out *AuthSettingsActiveDirectoryParameters) { + *out = *in + if in.AllowedAudiences != nil { + in, out := &in.AllowedAudiences, &out.AllowedAudiences + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsActiveDirectoryParameters. +func (in *AuthSettingsActiveDirectoryParameters) DeepCopy() *AuthSettingsActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(AuthSettingsActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsFacebookObservation) DeepCopyInto(out *AuthSettingsFacebookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsFacebookObservation. +func (in *AuthSettingsFacebookObservation) DeepCopy() *AuthSettingsFacebookObservation { + if in == nil { + return nil + } + out := new(AuthSettingsFacebookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsFacebookParameters) DeepCopyInto(out *AuthSettingsFacebookParameters) { + *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + out.AppSecretSecretRef = in.AppSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsFacebookParameters. +func (in *AuthSettingsFacebookParameters) DeepCopy() *AuthSettingsFacebookParameters { + if in == nil { + return nil + } + out := new(AuthSettingsFacebookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsGoogleObservation) DeepCopyInto(out *AuthSettingsGoogleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsGoogleObservation. +func (in *AuthSettingsGoogleObservation) DeepCopy() *AuthSettingsGoogleObservation { + if in == nil { + return nil + } + out := new(AuthSettingsGoogleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsGoogleParameters) DeepCopyInto(out *AuthSettingsGoogleParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsGoogleParameters. +func (in *AuthSettingsGoogleParameters) DeepCopy() *AuthSettingsGoogleParameters { + if in == nil { + return nil + } + out := new(AuthSettingsGoogleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsMicrosoftObservation) DeepCopyInto(out *AuthSettingsMicrosoftObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsMicrosoftObservation. +func (in *AuthSettingsMicrosoftObservation) DeepCopy() *AuthSettingsMicrosoftObservation { + if in == nil { + return nil + } + out := new(AuthSettingsMicrosoftObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsMicrosoftParameters) DeepCopyInto(out *AuthSettingsMicrosoftParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsMicrosoftParameters. +func (in *AuthSettingsMicrosoftParameters) DeepCopy() *AuthSettingsMicrosoftParameters { + if in == nil { + return nil + } + out := new(AuthSettingsMicrosoftParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsObservation) DeepCopyInto(out *AuthSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsObservation. +func (in *AuthSettingsObservation) DeepCopy() *AuthSettingsObservation { + if in == nil { + return nil + } + out := new(AuthSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsParameters) DeepCopyInto(out *AuthSettingsParameters) { + *out = *in + if in.ActiveDirectory != nil { + in, out := &in.ActiveDirectory, &out.ActiveDirectory + *out = make([]ActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalLoginParams != nil { + in, out := &in.AdditionalLoginParams, &out.AdditionalLoginParams + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AllowedExternalRedirectUrls != nil { + in, out := &in.AllowedExternalRedirectUrls, &out.AllowedExternalRedirectUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultProvider != nil { + in, out := &in.DefaultProvider, &out.DefaultProvider + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Facebook != nil { + in, out := &in.Facebook, &out.Facebook + *out = make([]FacebookParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Google != nil { + in, out := &in.Google, &out.Google + *out = make([]GoogleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.Microsoft != nil { + in, out := &in.Microsoft, &out.Microsoft + *out = make([]MicrosoftParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuntimeVersion != nil { + in, out := &in.RuntimeVersion, &out.RuntimeVersion + *out = new(string) + **out = **in + } + if in.TokenRefreshExtensionHours != nil { + in, out := &in.TokenRefreshExtensionHours, &out.TokenRefreshExtensionHours + *out = new(float64) + **out = **in + } + if in.TokenStoreEnabled != nil { + in, out := &in.TokenStoreEnabled, &out.TokenStoreEnabled + *out = new(bool) + **out = **in + } + if in.Twitter != nil { + in, out := &in.Twitter, &out.Twitter + *out = make([]TwitterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UnauthenticatedClientAction != nil { + in, out := &in.UnauthenticatedClientAction, &out.UnauthenticatedClientAction + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsParameters. +func (in *AuthSettingsParameters) DeepCopy() *AuthSettingsParameters { + if in == nil { + return nil + } + out := new(AuthSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsTwitterObservation) DeepCopyInto(out *AuthSettingsTwitterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsTwitterObservation. +func (in *AuthSettingsTwitterObservation) DeepCopy() *AuthSettingsTwitterObservation { + if in == nil { + return nil + } + out := new(AuthSettingsTwitterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsTwitterParameters) DeepCopyInto(out *AuthSettingsTwitterParameters) { + *out = *in + if in.ConsumerKey != nil { + in, out := &in.ConsumerKey, &out.ConsumerKey + *out = new(string) + **out = **in + } + out.ConsumerSecretSecretRef = in.ConsumerSecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsTwitterParameters. +func (in *AuthSettingsTwitterParameters) DeepCopy() *AuthSettingsTwitterParameters { + if in == nil { + return nil + } + out := new(AuthSettingsTwitterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureBlobStorageObservation) DeepCopyInto(out *AzureBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobStorageObservation. +func (in *AzureBlobStorageObservation) DeepCopy() *AzureBlobStorageObservation { + if in == nil { + return nil + } + out := new(AzureBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureBlobStorageParameters) DeepCopyInto(out *AzureBlobStorageParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + out.SasURLSecretRef = in.SasURLSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobStorageParameters. +func (in *AzureBlobStorageParameters) DeepCopy() *AzureBlobStorageParameters { + if in == nil { + return nil + } + out := new(AzureBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackupObservation) DeepCopyInto(out *BackupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupObservation. +func (in *BackupObservation) DeepCopy() *BackupObservation { + if in == nil { + return nil + } + out := new(BackupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackupParameters) DeepCopyInto(out *BackupParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]ScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.StorageAccountURLSecretRef = in.StorageAccountURLSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupParameters. +func (in *BackupParameters) DeepCopy() *BackupParameters { + if in == nil { + return nil + } + out := new(BackupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificatesObservation) DeepCopyInto(out *CertificatesObservation) { + *out = *in + if in.CertificateName != nil { + in, out := &in.CertificateName, &out.CertificateName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.KeyVaultSecretName != nil { + in, out := &in.KeyVaultSecretName, &out.KeyVaultSecretName + *out = new(string) + **out = **in + } + if in.ProvisioningState != nil { + in, out := &in.ProvisioningState, &out.ProvisioningState + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatesObservation. +func (in *CertificatesObservation) DeepCopy() *CertificatesObservation { + if in == nil { + return nil + } + out := new(CertificatesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificatesParameters) DeepCopyInto(out *CertificatesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatesParameters. +func (in *CertificatesParameters) DeepCopy() *CertificatesParameters { + if in == nil { + return nil + } + out := new(CertificatesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSettingObservation) DeepCopyInto(out *ClusterSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSettingObservation. +func (in *ClusterSettingObservation) DeepCopy() *ClusterSettingObservation { + if in == nil { + return nil + } + out := new(ClusterSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSettingParameters) DeepCopyInto(out *ClusterSettingParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSettingParameters. +func (in *ClusterSettingParameters) DeepCopy() *ClusterSettingParameters { + if in == nil { + return nil + } + out := new(ClusterSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Configuration) DeepCopyInto(out *Configuration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { + return nil + } + out := new(Configuration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationKey) DeepCopyInto(out *ConfigurationKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationKey. +func (in *ConfigurationKey) DeepCopy() *ConfigurationKey { + if in == nil { + return nil + } + out := new(ConfigurationKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConfigurationKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationKeyList) DeepCopyInto(out *ConfigurationKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ConfigurationKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationKeyList. +func (in *ConfigurationKeyList) DeepCopy() *ConfigurationKeyList { + if in == nil { + return nil + } + out := new(ConfigurationKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConfigurationKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationKeyObservation) DeepCopyInto(out *ConfigurationKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationKeyObservation. +func (in *ConfigurationKeyObservation) DeepCopy() *ConfigurationKeyObservation { + if in == nil { + return nil + } + out := new(ConfigurationKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationKeyParameters) DeepCopyInto(out *ConfigurationKeyParameters) { + *out = *in + if in.ConfigurationStoreID != nil { + in, out := &in.ConfigurationStoreID, &out.ConfigurationStoreID + *out = new(string) + **out = **in + } + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.Etag != nil { + in, out := &in.Etag, &out.Etag + *out = new(string) + **out = **in + } + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.Locked != nil { + in, out := &in.Locked, &out.Locked + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } + if in.VaultKeyReference != nil { + in, out := &in.VaultKeyReference, &out.VaultKeyReference + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationKeyParameters. +func (in *ConfigurationKeyParameters) DeepCopy() *ConfigurationKeyParameters { + if in == nil { + return nil + } + out := new(ConfigurationKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationKeySpec) DeepCopyInto(out *ConfigurationKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationKeySpec. +func (in *ConfigurationKeySpec) DeepCopy() *ConfigurationKeySpec { + if in == nil { + return nil + } + out := new(ConfigurationKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationKeyStatus) DeepCopyInto(out *ConfigurationKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationKeyStatus. +func (in *ConfigurationKeyStatus) DeepCopy() *ConfigurationKeyStatus { + if in == nil { + return nil + } + out := new(ConfigurationKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Configuration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList. +func (in *ConfigurationList) DeepCopy() *ConfigurationList { + if in == nil { + return nil + } + out := new(ConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.PrimaryReadKey != nil { + in, out := &in.PrimaryReadKey, &out.PrimaryReadKey + *out = make([]PrimaryReadKeyObservation, len(*in)) + copy(*out, *in) + } + if in.PrimaryWriteKey != nil { + in, out := &in.PrimaryWriteKey, &out.PrimaryWriteKey + *out = make([]PrimaryWriteKeyObservation, len(*in)) + copy(*out, *in) + } + if in.SecondaryReadKey != nil { + in, out := &in.SecondaryReadKey, &out.SecondaryReadKey + *out = make([]SecondaryReadKeyObservation, len(*in)) + copy(*out, *in) + } + if in.SecondaryWriteKey != nil { + in, out := &in.SecondaryWriteKey, &out.SecondaryWriteKey + *out = make([]SecondaryWriteKeyObservation, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec. +func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec { + if in == nil { + return nil + } + out := new(ConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus. +func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus { + if in == nil { + return nil + } + out := new(ConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionStringObservation) DeepCopyInto(out *ConnectionStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStringObservation. +func (in *ConnectionStringObservation) DeepCopy() *ConnectionStringObservation { + if in == nil { + return nil + } + out := new(ConnectionStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionStringParameters) DeepCopyInto(out *ConnectionStringParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + out.ValueSecretRef = in.ValueSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStringParameters. +func (in *ConnectionStringParameters) DeepCopy() *ConnectionStringParameters { + if in == nil { + return nil + } + out := new(ConnectionStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsObservation) DeepCopyInto(out *CorsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsObservation. +func (in *CorsObservation) DeepCopy() *CorsObservation { + if in == nil { + return nil + } + out := new(CorsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsParameters) DeepCopyInto(out *CorsParameters) { + *out = *in + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SupportCredentials != nil { + in, out := &in.SupportCredentials, &out.SupportCredentials + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsParameters. +func (in *CorsParameters) DeepCopy() *CorsParameters { + if in == nil { + return nil + } + out := new(CorsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FacebookObservation) DeepCopyInto(out *FacebookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FacebookObservation. +func (in *FacebookObservation) DeepCopy() *FacebookObservation { + if in == nil { + return nil + } + out := new(FacebookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FacebookParameters) DeepCopyInto(out *FacebookParameters) { + *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + out.AppSecretSecretRef = in.AppSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FacebookParameters. +func (in *FacebookParameters) DeepCopy() *FacebookParameters { + if in == nil { + return nil + } + out := new(FacebookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FileSystemObservation) DeepCopyInto(out *FileSystemObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemObservation. +func (in *FileSystemObservation) DeepCopy() *FileSystemObservation { + if in == nil { + return nil + } + out := new(FileSystemObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FileSystemParameters) DeepCopyInto(out *FileSystemParameters) { + *out = *in + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.RetentionInMb != nil { + in, out := &in.RetentionInMb, &out.RetentionInMb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemParameters. +func (in *FileSystemParameters) DeepCopy() *FileSystemParameters { + if in == nil { + return nil + } + out := new(FileSystemParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GoogleObservation) DeepCopyInto(out *GoogleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleObservation. +func (in *GoogleObservation) DeepCopy() *GoogleObservation { + if in == nil { + return nil + } + out := new(GoogleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GoogleParameters) DeepCopyInto(out *GoogleParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleParameters. +func (in *GoogleParameters) DeepCopy() *GoogleParameters { + if in == nil { + return nil + } + out := new(GoogleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPLogsAzureBlobStorageObservation) DeepCopyInto(out *HTTPLogsAzureBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPLogsAzureBlobStorageObservation. +func (in *HTTPLogsAzureBlobStorageObservation) DeepCopy() *HTTPLogsAzureBlobStorageObservation { + if in == nil { + return nil + } + out := new(HTTPLogsAzureBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPLogsAzureBlobStorageParameters) DeepCopyInto(out *HTTPLogsAzureBlobStorageParameters) { + *out = *in + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + out.SasURLSecretRef = in.SasURLSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPLogsAzureBlobStorageParameters. +func (in *HTTPLogsAzureBlobStorageParameters) DeepCopy() *HTTPLogsAzureBlobStorageParameters { + if in == nil { + return nil + } + out := new(HTTPLogsAzureBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPLogsFileSystemObservation) DeepCopyInto(out *HTTPLogsFileSystemObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPLogsFileSystemObservation. +func (in *HTTPLogsFileSystemObservation) DeepCopy() *HTTPLogsFileSystemObservation { + if in == nil { + return nil + } + out := new(HTTPLogsFileSystemObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPLogsFileSystemParameters) DeepCopyInto(out *HTTPLogsFileSystemParameters) { + *out = *in + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.RetentionInMb != nil { + in, out := &in.RetentionInMb, &out.RetentionInMb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPLogsFileSystemParameters. +func (in *HTTPLogsFileSystemParameters) DeepCopy() *HTTPLogsFileSystemParameters { + if in == nil { + return nil + } + out := new(HTTPLogsFileSystemParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPLogsObservation) DeepCopyInto(out *HTTPLogsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPLogsObservation. +func (in *HTTPLogsObservation) DeepCopy() *HTTPLogsObservation { + if in == nil { + return nil + } + out := new(HTTPLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPLogsParameters) DeepCopyInto(out *HTTPLogsParameters) { + *out = *in + if in.AzureBlobStorage != nil { + in, out := &in.AzureBlobStorage, &out.AzureBlobStorage + *out = make([]HTTPLogsAzureBlobStorageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FileSystem != nil { + in, out := &in.FileSystem, &out.FileSystem + *out = make([]FileSystemParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPLogsParameters. +func (in *HTTPLogsParameters) DeepCopy() *HTTPLogsParameters { + if in == nil { + return nil + } + out := new(HTTPLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadersObservation) DeepCopyInto(out *HeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersObservation. +func (in *HeadersObservation) DeepCopy() *HeadersObservation { + if in == nil { + return nil + } + out := new(HeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadersParameters) DeepCopyInto(out *HeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersParameters. +func (in *HeadersParameters) DeepCopy() *HeadersParameters { + if in == nil { + return nil + } + out := new(HeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionHeadersObservation) DeepCopyInto(out *IPRestrictionHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionHeadersObservation. +func (in *IPRestrictionHeadersObservation) DeepCopy() *IPRestrictionHeadersObservation { + if in == nil { + return nil + } + out := new(IPRestrictionHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionHeadersParameters) DeepCopyInto(out *IPRestrictionHeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionHeadersParameters. +func (in *IPRestrictionHeadersParameters) DeepCopy() *IPRestrictionHeadersParameters { + if in == nil { + return nil + } + out := new(IPRestrictionHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionObservation) DeepCopyInto(out *IPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionObservation. +func (in *IPRestrictionObservation) DeepCopy() *IPRestrictionObservation { + if in == nil { + return nil + } + out := new(IPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionParameters) DeepCopyInto(out *IPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]HeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionParameters. +func (in *IPRestrictionParameters) DeepCopy() *IPRestrictionParameters { + if in == nil { + return nil + } + out := new(IPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundNetworkDependenciesObservation) DeepCopyInto(out *InboundNetworkDependenciesObservation) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IPAddresses != nil { + in, out := &in.IPAddresses, &out.IPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Ports != nil { + in, out := &in.Ports, &out.Ports + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundNetworkDependenciesObservation. +func (in *InboundNetworkDependenciesObservation) DeepCopy() *InboundNetworkDependenciesObservation { + if in == nil { + return nil + } + out := new(InboundNetworkDependenciesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundNetworkDependenciesParameters) DeepCopyInto(out *InboundNetworkDependenciesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundNetworkDependenciesParameters. +func (in *InboundNetworkDependenciesParameters) DeepCopy() *InboundNetworkDependenciesParameters { + if in == nil { + return nil + } + out := new(InboundNetworkDependenciesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsApplicationLogsObservation) DeepCopyInto(out *LogsApplicationLogsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsApplicationLogsObservation. +func (in *LogsApplicationLogsObservation) DeepCopy() *LogsApplicationLogsObservation { + if in == nil { + return nil + } + out := new(LogsApplicationLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsApplicationLogsParameters) DeepCopyInto(out *LogsApplicationLogsParameters) { + *out = *in + if in.AzureBlobStorage != nil { + in, out := &in.AzureBlobStorage, &out.AzureBlobStorage + *out = make([]ApplicationLogsAzureBlobStorageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FileSystemLevel != nil { + in, out := &in.FileSystemLevel, &out.FileSystemLevel + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsApplicationLogsParameters. +func (in *LogsApplicationLogsParameters) DeepCopy() *LogsApplicationLogsParameters { + if in == nil { + return nil + } + out := new(LogsApplicationLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsHTTPLogsAzureBlobStorageObservation) DeepCopyInto(out *LogsHTTPLogsAzureBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsHTTPLogsAzureBlobStorageObservation. +func (in *LogsHTTPLogsAzureBlobStorageObservation) DeepCopy() *LogsHTTPLogsAzureBlobStorageObservation { + if in == nil { + return nil + } + out := new(LogsHTTPLogsAzureBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsHTTPLogsAzureBlobStorageParameters) DeepCopyInto(out *LogsHTTPLogsAzureBlobStorageParameters) { + *out = *in + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + out.SasURLSecretRef = in.SasURLSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsHTTPLogsAzureBlobStorageParameters. +func (in *LogsHTTPLogsAzureBlobStorageParameters) DeepCopy() *LogsHTTPLogsAzureBlobStorageParameters { + if in == nil { + return nil + } + out := new(LogsHTTPLogsAzureBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsHTTPLogsObservation) DeepCopyInto(out *LogsHTTPLogsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsHTTPLogsObservation. +func (in *LogsHTTPLogsObservation) DeepCopy() *LogsHTTPLogsObservation { + if in == nil { + return nil + } + out := new(LogsHTTPLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsHTTPLogsParameters) DeepCopyInto(out *LogsHTTPLogsParameters) { + *out = *in + if in.AzureBlobStorage != nil { + in, out := &in.AzureBlobStorage, &out.AzureBlobStorage + *out = make([]LogsHTTPLogsAzureBlobStorageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FileSystem != nil { + in, out := &in.FileSystem, &out.FileSystem + *out = make([]HTTPLogsFileSystemParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsHTTPLogsParameters. +func (in *LogsHTTPLogsParameters) DeepCopy() *LogsHTTPLogsParameters { + if in == nil { + return nil + } + out := new(LogsHTTPLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsObservation) DeepCopyInto(out *LogsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsObservation. +func (in *LogsObservation) DeepCopy() *LogsObservation { + if in == nil { + return nil + } + out := new(LogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogsParameters) DeepCopyInto(out *LogsParameters) { + *out = *in + if in.ApplicationLogs != nil { + in, out := &in.ApplicationLogs, &out.ApplicationLogs + *out = make([]ApplicationLogsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DetailedErrorMessagesEnabled != nil { + in, out := &in.DetailedErrorMessagesEnabled, &out.DetailedErrorMessagesEnabled + *out = new(bool) + **out = **in + } + if in.FailedRequestTracingEnabled != nil { + in, out := &in.FailedRequestTracingEnabled, &out.FailedRequestTracingEnabled + *out = new(bool) + **out = **in + } + if in.HTTPLogs != nil { + in, out := &in.HTTPLogs, &out.HTTPLogs + *out = make([]HTTPLogsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsParameters. +func (in *LogsParameters) DeepCopy() *LogsParameters { + if in == nil { + return nil + } + out := new(LogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftObservation) DeepCopyInto(out *MicrosoftObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftObservation. +func (in *MicrosoftObservation) DeepCopy() *MicrosoftObservation { + if in == nil { + return nil + } + out := new(MicrosoftObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftParameters) DeepCopyInto(out *MicrosoftParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftParameters. +func (in *MicrosoftParameters) DeepCopy() *MicrosoftParameters { + if in == nil { + return nil + } + out := new(MicrosoftParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryReadKeyObservation) DeepCopyInto(out *PrimaryReadKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryReadKeyObservation. +func (in *PrimaryReadKeyObservation) DeepCopy() *PrimaryReadKeyObservation { + if in == nil { + return nil + } + out := new(PrimaryReadKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryReadKeyParameters) DeepCopyInto(out *PrimaryReadKeyParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryReadKeyParameters. +func (in *PrimaryReadKeyParameters) DeepCopy() *PrimaryReadKeyParameters { + if in == nil { + return nil + } + out := new(PrimaryReadKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryWriteKeyObservation) DeepCopyInto(out *PrimaryWriteKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryWriteKeyObservation. +func (in *PrimaryWriteKeyObservation) DeepCopy() *PrimaryWriteKeyObservation { + if in == nil { + return nil + } + out := new(PrimaryWriteKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrimaryWriteKeyParameters) DeepCopyInto(out *PrimaryWriteKeyParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryWriteKeyParameters. +func (in *PrimaryWriteKeyParameters) DeepCopy() *PrimaryWriteKeyParameters { + if in == nil { + return nil + } + out := new(PrimaryWriteKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation. +func (in *ScheduleObservation) DeepCopy() *ScheduleObservation { + if in == nil { + return nil + } + out := new(ScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { + *out = *in + if in.FrequencyInterval != nil { + in, out := &in.FrequencyInterval, &out.FrequencyInterval + *out = new(int64) + **out = **in + } + if in.FrequencyUnit != nil { + in, out := &in.FrequencyUnit, &out.FrequencyUnit + *out = new(string) + **out = **in + } + if in.KeepAtLeastOneBackup != nil { + in, out := &in.KeepAtLeastOneBackup, &out.KeepAtLeastOneBackup + *out = new(bool) + **out = **in + } + if in.RetentionPeriodInDays != nil { + in, out := &in.RetentionPeriodInDays, &out.RetentionPeriodInDays + *out = new(int64) + **out = **in + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters. +func (in *ScheduleParameters) DeepCopy() *ScheduleParameters { + if in == nil { + return nil + } + out := new(ScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionHeadersObservation) DeepCopyInto(out *ScmIPRestrictionHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionHeadersObservation. +func (in *ScmIPRestrictionHeadersObservation) DeepCopy() *ScmIPRestrictionHeadersObservation { + if in == nil { + return nil + } + out := new(ScmIPRestrictionHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionHeadersParameters) DeepCopyInto(out *ScmIPRestrictionHeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionHeadersParameters. +func (in *ScmIPRestrictionHeadersParameters) DeepCopy() *ScmIPRestrictionHeadersParameters { + if in == nil { + return nil + } + out := new(ScmIPRestrictionHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionObservation) DeepCopyInto(out *ScmIPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionObservation. +func (in *ScmIPRestrictionObservation) DeepCopy() *ScmIPRestrictionObservation { + if in == nil { + return nil + } + out := new(ScmIPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionParameters) DeepCopyInto(out *ScmIPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]ScmIPRestrictionHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionParameters. +func (in *ScmIPRestrictionParameters) DeepCopy() *ScmIPRestrictionParameters { + if in == nil { + return nil + } + out := new(ScmIPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecondaryReadKeyObservation) DeepCopyInto(out *SecondaryReadKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryReadKeyObservation. +func (in *SecondaryReadKeyObservation) DeepCopy() *SecondaryReadKeyObservation { + if in == nil { + return nil + } + out := new(SecondaryReadKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecondaryReadKeyParameters) DeepCopyInto(out *SecondaryReadKeyParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryReadKeyParameters. +func (in *SecondaryReadKeyParameters) DeepCopy() *SecondaryReadKeyParameters { + if in == nil { + return nil + } + out := new(SecondaryReadKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecondaryWriteKeyObservation) DeepCopyInto(out *SecondaryWriteKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryWriteKeyObservation. +func (in *SecondaryWriteKeyObservation) DeepCopy() *SecondaryWriteKeyObservation { + if in == nil { + return nil + } + out := new(SecondaryWriteKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecondaryWriteKeyParameters) DeepCopyInto(out *SecondaryWriteKeyParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecondaryWriteKeyParameters. +func (in *SecondaryWriteKeyParameters) DeepCopy() *SecondaryWriteKeyParameters { + if in == nil { + return nil + } + out := new(SecondaryWriteKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Service) DeepCopyInto(out *Service) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { + return nil + } + out := new(Service) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceActiveSlot) DeepCopyInto(out *ServiceActiveSlot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceActiveSlot. +func (in *ServiceActiveSlot) DeepCopy() *ServiceActiveSlot { + if in == nil { + return nil + } + out := new(ServiceActiveSlot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceActiveSlot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceActiveSlotList) DeepCopyInto(out *ServiceActiveSlotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceActiveSlot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceActiveSlotList. +func (in *ServiceActiveSlotList) DeepCopy() *ServiceActiveSlotList { + if in == nil { + return nil + } + out := new(ServiceActiveSlotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceActiveSlotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceActiveSlotObservation) DeepCopyInto(out *ServiceActiveSlotObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceActiveSlotObservation. +func (in *ServiceActiveSlotObservation) DeepCopy() *ServiceActiveSlotObservation { + if in == nil { + return nil + } + out := new(ServiceActiveSlotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceActiveSlotParameters) DeepCopyInto(out *ServiceActiveSlotParameters) { + *out = *in + if in.AppServiceName != nil { + in, out := &in.AppServiceName, &out.AppServiceName + *out = new(string) + **out = **in + } + if in.AppServiceSlotName != nil { + in, out := &in.AppServiceSlotName, &out.AppServiceSlotName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceActiveSlotParameters. +func (in *ServiceActiveSlotParameters) DeepCopy() *ServiceActiveSlotParameters { + if in == nil { + return nil + } + out := new(ServiceActiveSlotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceActiveSlotSpec) DeepCopyInto(out *ServiceActiveSlotSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceActiveSlotSpec. +func (in *ServiceActiveSlotSpec) DeepCopy() *ServiceActiveSlotSpec { + if in == nil { + return nil + } + out := new(ServiceActiveSlotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceActiveSlotStatus) DeepCopyInto(out *ServiceActiveSlotStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceActiveSlotStatus. +func (in *ServiceActiveSlotStatus) DeepCopy() *ServiceActiveSlotStatus { + if in == nil { + return nil + } + out := new(ServiceActiveSlotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificate) DeepCopyInto(out *ServiceCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificate. +func (in *ServiceCertificate) DeepCopy() *ServiceCertificate { + if in == nil { + return nil + } + out := new(ServiceCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateBinding) DeepCopyInto(out *ServiceCertificateBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateBinding. +func (in *ServiceCertificateBinding) DeepCopy() *ServiceCertificateBinding { + if in == nil { + return nil + } + out := new(ServiceCertificateBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCertificateBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateBindingList) DeepCopyInto(out *ServiceCertificateBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceCertificateBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateBindingList. +func (in *ServiceCertificateBindingList) DeepCopy() *ServiceCertificateBindingList { + if in == nil { + return nil + } + out := new(ServiceCertificateBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCertificateBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateBindingObservation) DeepCopyInto(out *ServiceCertificateBindingObservation) { + *out = *in + if in.AppServiceName != nil { + in, out := &in.AppServiceName, &out.AppServiceName + *out = new(string) + **out = **in + } + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateBindingObservation. +func (in *ServiceCertificateBindingObservation) DeepCopy() *ServiceCertificateBindingObservation { + if in == nil { + return nil + } + out := new(ServiceCertificateBindingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateBindingParameters) DeepCopyInto(out *ServiceCertificateBindingParameters) { + *out = *in + if in.CertificateID != nil { + in, out := &in.CertificateID, &out.CertificateID + *out = new(string) + **out = **in + } + if in.HostnameBindingID != nil { + in, out := &in.HostnameBindingID, &out.HostnameBindingID + *out = new(string) + **out = **in + } + if in.SslState != nil { + in, out := &in.SslState, &out.SslState + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateBindingParameters. +func (in *ServiceCertificateBindingParameters) DeepCopy() *ServiceCertificateBindingParameters { + if in == nil { + return nil + } + out := new(ServiceCertificateBindingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateBindingSpec) DeepCopyInto(out *ServiceCertificateBindingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateBindingSpec. +func (in *ServiceCertificateBindingSpec) DeepCopy() *ServiceCertificateBindingSpec { + if in == nil { + return nil + } + out := new(ServiceCertificateBindingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateBindingStatus) DeepCopyInto(out *ServiceCertificateBindingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateBindingStatus. +func (in *ServiceCertificateBindingStatus) DeepCopy() *ServiceCertificateBindingStatus { + if in == nil { + return nil + } + out := new(ServiceCertificateBindingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateList) DeepCopyInto(out *ServiceCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateList. +func (in *ServiceCertificateList) DeepCopy() *ServiceCertificateList { + if in == nil { + return nil + } + out := new(ServiceCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateObservation) DeepCopyInto(out *ServiceCertificateObservation) { + *out = *in + if in.ExpirationDate != nil { + in, out := &in.ExpirationDate, &out.ExpirationDate + *out = new(string) + **out = **in + } + if in.FriendlyName != nil { + in, out := &in.FriendlyName, &out.FriendlyName + *out = new(string) + **out = **in + } + if in.HostNames != nil { + in, out := &in.HostNames, &out.HostNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IssueDate != nil { + in, out := &in.IssueDate, &out.IssueDate + *out = new(string) + **out = **in + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.SubjectName != nil { + in, out := &in.SubjectName, &out.SubjectName + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateObservation. +func (in *ServiceCertificateObservation) DeepCopy() *ServiceCertificateObservation { + if in == nil { + return nil + } + out := new(ServiceCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateOrder) DeepCopyInto(out *ServiceCertificateOrder) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateOrder. +func (in *ServiceCertificateOrder) DeepCopy() *ServiceCertificateOrder { + if in == nil { + return nil + } + out := new(ServiceCertificateOrder) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCertificateOrder) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateOrderList) DeepCopyInto(out *ServiceCertificateOrderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceCertificateOrder, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateOrderList. +func (in *ServiceCertificateOrderList) DeepCopy() *ServiceCertificateOrderList { + if in == nil { + return nil + } + out := new(ServiceCertificateOrderList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCertificateOrderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateOrderObservation) DeepCopyInto(out *ServiceCertificateOrderObservation) { + *out = *in + if in.AppServiceCertificateNotRenewableReasons != nil { + in, out := &in.AppServiceCertificateNotRenewableReasons, &out.AppServiceCertificateNotRenewableReasons + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Certificates != nil { + in, out := &in.Certificates, &out.Certificates + *out = make([]CertificatesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DomainVerificationToken != nil { + in, out := &in.DomainVerificationToken, &out.DomainVerificationToken + *out = new(string) + **out = **in + } + if in.ExpirationTime != nil { + in, out := &in.ExpirationTime, &out.ExpirationTime + *out = new(string) + **out = **in + } + if in.IntermediateThumbprint != nil { + in, out := &in.IntermediateThumbprint, &out.IntermediateThumbprint + *out = new(string) + **out = **in + } + if in.IsPrivateKeyExternal != nil { + in, out := &in.IsPrivateKeyExternal, &out.IsPrivateKeyExternal + *out = new(bool) + **out = **in + } + if in.RootThumbprint != nil { + in, out := &in.RootThumbprint, &out.RootThumbprint + *out = new(string) + **out = **in + } + if in.SignedCertificateThumbprint != nil { + in, out := &in.SignedCertificateThumbprint, &out.SignedCertificateThumbprint + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateOrderObservation. +func (in *ServiceCertificateOrderObservation) DeepCopy() *ServiceCertificateOrderObservation { + if in == nil { + return nil + } + out := new(ServiceCertificateOrderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateOrderParameters) DeepCopyInto(out *ServiceCertificateOrderParameters) { + *out = *in + if in.AutoRenew != nil { + in, out := &in.AutoRenew, &out.AutoRenew + *out = new(bool) + **out = **in + } + if in.Csr != nil { + in, out := &in.Csr, &out.Csr + *out = new(string) + **out = **in + } + if in.DistinguishedName != nil { + in, out := &in.DistinguishedName, &out.DistinguishedName + *out = new(string) + **out = **in + } + if in.KeySize != nil { + in, out := &in.KeySize, &out.KeySize + *out = new(int64) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProductType != nil { + in, out := &in.ProductType, &out.ProductType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ValidityInYears != nil { + in, out := &in.ValidityInYears, &out.ValidityInYears + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateOrderParameters. +func (in *ServiceCertificateOrderParameters) DeepCopy() *ServiceCertificateOrderParameters { + if in == nil { + return nil + } + out := new(ServiceCertificateOrderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateOrderSpec) DeepCopyInto(out *ServiceCertificateOrderSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateOrderSpec. +func (in *ServiceCertificateOrderSpec) DeepCopy() *ServiceCertificateOrderSpec { + if in == nil { + return nil + } + out := new(ServiceCertificateOrderSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateOrderStatus) DeepCopyInto(out *ServiceCertificateOrderStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateOrderStatus. +func (in *ServiceCertificateOrderStatus) DeepCopy() *ServiceCertificateOrderStatus { + if in == nil { + return nil + } + out := new(ServiceCertificateOrderStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateParameters) DeepCopyInto(out *ServiceCertificateParameters) { + *out = *in + if in.AppServicePlanID != nil { + in, out := &in.AppServicePlanID, &out.AppServicePlanID + *out = new(string) + **out = **in + } + if in.HostingEnvironmentProfileID != nil { + in, out := &in.HostingEnvironmentProfileID, &out.HostingEnvironmentProfileID + *out = new(string) + **out = **in + } + if in.KeyVaultSecretID != nil { + in, out := &in.KeyVaultSecretID, &out.KeyVaultSecretID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.PfxBlobSecretRef != nil { + in, out := &in.PfxBlobSecretRef, &out.PfxBlobSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateParameters. +func (in *ServiceCertificateParameters) DeepCopy() *ServiceCertificateParameters { + if in == nil { + return nil + } + out := new(ServiceCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateSpec) DeepCopyInto(out *ServiceCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateSpec. +func (in *ServiceCertificateSpec) DeepCopy() *ServiceCertificateSpec { + if in == nil { + return nil + } + out := new(ServiceCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCertificateStatus) DeepCopyInto(out *ServiceCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCertificateStatus. +func (in *ServiceCertificateStatus) DeepCopy() *ServiceCertificateStatus { + if in == nil { + return nil + } + out := new(ServiceCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCustomHostnameBinding) DeepCopyInto(out *ServiceCustomHostnameBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCustomHostnameBinding. +func (in *ServiceCustomHostnameBinding) DeepCopy() *ServiceCustomHostnameBinding { + if in == nil { + return nil + } + out := new(ServiceCustomHostnameBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCustomHostnameBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCustomHostnameBindingList) DeepCopyInto(out *ServiceCustomHostnameBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceCustomHostnameBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCustomHostnameBindingList. +func (in *ServiceCustomHostnameBindingList) DeepCopy() *ServiceCustomHostnameBindingList { + if in == nil { + return nil + } + out := new(ServiceCustomHostnameBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceCustomHostnameBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCustomHostnameBindingObservation) DeepCopyInto(out *ServiceCustomHostnameBindingObservation) { + *out = *in + if in.VirtualIP != nil { + in, out := &in.VirtualIP, &out.VirtualIP + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCustomHostnameBindingObservation. +func (in *ServiceCustomHostnameBindingObservation) DeepCopy() *ServiceCustomHostnameBindingObservation { + if in == nil { + return nil + } + out := new(ServiceCustomHostnameBindingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCustomHostnameBindingParameters) DeepCopyInto(out *ServiceCustomHostnameBindingParameters) { + *out = *in + if in.AppServiceName != nil { + in, out := &in.AppServiceName, &out.AppServiceName + *out = new(string) + **out = **in + } + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SslState != nil { + in, out := &in.SslState, &out.SslState + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCustomHostnameBindingParameters. +func (in *ServiceCustomHostnameBindingParameters) DeepCopy() *ServiceCustomHostnameBindingParameters { + if in == nil { + return nil + } + out := new(ServiceCustomHostnameBindingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCustomHostnameBindingSpec) DeepCopyInto(out *ServiceCustomHostnameBindingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCustomHostnameBindingSpec. +func (in *ServiceCustomHostnameBindingSpec) DeepCopy() *ServiceCustomHostnameBindingSpec { + if in == nil { + return nil + } + out := new(ServiceCustomHostnameBindingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceCustomHostnameBindingStatus) DeepCopyInto(out *ServiceCustomHostnameBindingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCustomHostnameBindingStatus. +func (in *ServiceCustomHostnameBindingStatus) DeepCopy() *ServiceCustomHostnameBindingStatus { + if in == nil { + return nil + } + out := new(ServiceCustomHostnameBindingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironment) DeepCopyInto(out *ServiceEnvironment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironment. +func (in *ServiceEnvironment) DeepCopy() *ServiceEnvironment { + if in == nil { + return nil + } + out := new(ServiceEnvironment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceEnvironment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentList) DeepCopyInto(out *ServiceEnvironmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceEnvironment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentList. +func (in *ServiceEnvironmentList) DeepCopy() *ServiceEnvironmentList { + if in == nil { + return nil + } + out := new(ServiceEnvironmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceEnvironmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentObservation) DeepCopyInto(out *ServiceEnvironmentObservation) { + *out = *in + if in.InternalIPAddress != nil { + in, out := &in.InternalIPAddress, &out.InternalIPAddress + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.OutboundIPAddresses != nil { + in, out := &in.OutboundIPAddresses, &out.OutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ServiceIPAddress != nil { + in, out := &in.ServiceIPAddress, &out.ServiceIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentObservation. +func (in *ServiceEnvironmentObservation) DeepCopy() *ServiceEnvironmentObservation { + if in == nil { + return nil + } + out := new(ServiceEnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentParameters) DeepCopyInto(out *ServiceEnvironmentParameters) { + *out = *in + if in.AllowedUserIPCidrs != nil { + in, out := &in.AllowedUserIPCidrs, &out.AllowedUserIPCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClusterSetting != nil { + in, out := &in.ClusterSetting, &out.ClusterSetting + *out = make([]ClusterSettingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontEndScaleFactor != nil { + in, out := &in.FrontEndScaleFactor, &out.FrontEndScaleFactor + *out = new(int64) + **out = **in + } + if in.InternalLoadBalancingMode != nil { + in, out := &in.InternalLoadBalancingMode, &out.InternalLoadBalancingMode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PricingTier != nil { + in, out := &in.PricingTier, &out.PricingTier + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.UserWhitelistedIPRanges != nil { + in, out := &in.UserWhitelistedIPRanges, &out.UserWhitelistedIPRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentParameters. +func (in *ServiceEnvironmentParameters) DeepCopy() *ServiceEnvironmentParameters { + if in == nil { + return nil + } + out := new(ServiceEnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentSpec) DeepCopyInto(out *ServiceEnvironmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentSpec. +func (in *ServiceEnvironmentSpec) DeepCopy() *ServiceEnvironmentSpec { + if in == nil { + return nil + } + out := new(ServiceEnvironmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentStatus) DeepCopyInto(out *ServiceEnvironmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentStatus. +func (in *ServiceEnvironmentStatus) DeepCopy() *ServiceEnvironmentStatus { + if in == nil { + return nil + } + out := new(ServiceEnvironmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3) DeepCopyInto(out *ServiceEnvironmentV3) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3. +func (in *ServiceEnvironmentV3) DeepCopy() *ServiceEnvironmentV3 { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceEnvironmentV3) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3ClusterSettingObservation) DeepCopyInto(out *ServiceEnvironmentV3ClusterSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3ClusterSettingObservation. +func (in *ServiceEnvironmentV3ClusterSettingObservation) DeepCopy() *ServiceEnvironmentV3ClusterSettingObservation { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3ClusterSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3ClusterSettingParameters) DeepCopyInto(out *ServiceEnvironmentV3ClusterSettingParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3ClusterSettingParameters. +func (in *ServiceEnvironmentV3ClusterSettingParameters) DeepCopy() *ServiceEnvironmentV3ClusterSettingParameters { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3ClusterSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3List) DeepCopyInto(out *ServiceEnvironmentV3List) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceEnvironmentV3, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3List. +func (in *ServiceEnvironmentV3List) DeepCopy() *ServiceEnvironmentV3List { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3List) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceEnvironmentV3List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3Observation) DeepCopyInto(out *ServiceEnvironmentV3Observation) { + *out = *in + if in.DNSSuffix != nil { + in, out := &in.DNSSuffix, &out.DNSSuffix + *out = new(string) + **out = **in + } + if in.ExternalInboundIPAddresses != nil { + in, out := &in.ExternalInboundIPAddresses, &out.ExternalInboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPSslAddressCount != nil { + in, out := &in.IPSslAddressCount, &out.IPSslAddressCount + *out = new(int64) + **out = **in + } + if in.InboundNetworkDependencies != nil { + in, out := &in.InboundNetworkDependencies, &out.InboundNetworkDependencies + *out = make([]InboundNetworkDependenciesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InternalInboundIPAddresses != nil { + in, out := &in.InternalInboundIPAddresses, &out.InternalInboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LinuxOutboundIPAddresses != nil { + in, out := &in.LinuxOutboundIPAddresses, &out.LinuxOutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.PricingTier != nil { + in, out := &in.PricingTier, &out.PricingTier + *out = new(string) + **out = **in + } + if in.WindowsOutboundIPAddresses != nil { + in, out := &in.WindowsOutboundIPAddresses, &out.WindowsOutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3Observation. +func (in *ServiceEnvironmentV3Observation) DeepCopy() *ServiceEnvironmentV3Observation { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3Parameters) DeepCopyInto(out *ServiceEnvironmentV3Parameters) { + *out = *in + if in.AllowNewPrivateEndpointConnections != nil { + in, out := &in.AllowNewPrivateEndpointConnections, &out.AllowNewPrivateEndpointConnections + *out = new(bool) + **out = **in + } + if in.ClusterSetting != nil { + in, out := &in.ClusterSetting, &out.ClusterSetting + *out = make([]ServiceEnvironmentV3ClusterSettingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DedicatedHostCount != nil { + in, out := &in.DedicatedHostCount, &out.DedicatedHostCount + *out = new(int64) + **out = **in + } + if in.InternalLoadBalancingMode != nil { + in, out := &in.InternalLoadBalancingMode, &out.InternalLoadBalancingMode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3Parameters. +func (in *ServiceEnvironmentV3Parameters) DeepCopy() *ServiceEnvironmentV3Parameters { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3Spec) DeepCopyInto(out *ServiceEnvironmentV3Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3Spec. +func (in *ServiceEnvironmentV3Spec) DeepCopy() *ServiceEnvironmentV3Spec { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentV3Status) DeepCopyInto(out *ServiceEnvironmentV3Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentV3Status. +func (in *ServiceEnvironmentV3Status) DeepCopy() *ServiceEnvironmentV3Status { + if in == nil { + return nil + } + out := new(ServiceEnvironmentV3Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHybridConnection) DeepCopyInto(out *ServiceHybridConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHybridConnection. +func (in *ServiceHybridConnection) DeepCopy() *ServiceHybridConnection { + if in == nil { + return nil + } + out := new(ServiceHybridConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceHybridConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHybridConnectionList) DeepCopyInto(out *ServiceHybridConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceHybridConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHybridConnectionList. +func (in *ServiceHybridConnectionList) DeepCopy() *ServiceHybridConnectionList { + if in == nil { + return nil + } + out := new(ServiceHybridConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceHybridConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHybridConnectionObservation) DeepCopyInto(out *ServiceHybridConnectionObservation) { + *out = *in + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.RelayName != nil { + in, out := &in.RelayName, &out.RelayName + *out = new(string) + **out = **in + } + if in.ServiceBusNamespace != nil { + in, out := &in.ServiceBusNamespace, &out.ServiceBusNamespace + *out = new(string) + **out = **in + } + if in.ServiceBusSuffix != nil { + in, out := &in.ServiceBusSuffix, &out.ServiceBusSuffix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHybridConnectionObservation. +func (in *ServiceHybridConnectionObservation) DeepCopy() *ServiceHybridConnectionObservation { + if in == nil { + return nil + } + out := new(ServiceHybridConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHybridConnectionParameters) DeepCopyInto(out *ServiceHybridConnectionParameters) { + *out = *in + if in.AppServiceName != nil { + in, out := &in.AppServiceName, &out.AppServiceName + *out = new(string) + **out = **in + } + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.RelayID != nil { + in, out := &in.RelayID, &out.RelayID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SendKeyName != nil { + in, out := &in.SendKeyName, &out.SendKeyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHybridConnectionParameters. +func (in *ServiceHybridConnectionParameters) DeepCopy() *ServiceHybridConnectionParameters { + if in == nil { + return nil + } + out := new(ServiceHybridConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHybridConnectionSpec) DeepCopyInto(out *ServiceHybridConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHybridConnectionSpec. +func (in *ServiceHybridConnectionSpec) DeepCopy() *ServiceHybridConnectionSpec { + if in == nil { + return nil + } + out := new(ServiceHybridConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHybridConnectionStatus) DeepCopyInto(out *ServiceHybridConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHybridConnectionStatus. +func (in *ServiceHybridConnectionStatus) DeepCopy() *ServiceHybridConnectionStatus { + if in == nil { + return nil + } + out := new(ServiceHybridConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceIdentityObservation) DeepCopyInto(out *ServiceIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIdentityObservation. +func (in *ServiceIdentityObservation) DeepCopy() *ServiceIdentityObservation { + if in == nil { + return nil + } + out := new(ServiceIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceIdentityParameters) DeepCopyInto(out *ServiceIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIdentityParameters. +func (in *ServiceIdentityParameters) DeepCopy() *ServiceIdentityParameters { + if in == nil { + return nil + } + out := new(ServiceIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceList) DeepCopyInto(out *ServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Service, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { + return nil + } + out := new(ServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceManagedCertificate) DeepCopyInto(out *ServiceManagedCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedCertificate. +func (in *ServiceManagedCertificate) DeepCopy() *ServiceManagedCertificate { + if in == nil { + return nil + } + out := new(ServiceManagedCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceManagedCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceManagedCertificateList) DeepCopyInto(out *ServiceManagedCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceManagedCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedCertificateList. +func (in *ServiceManagedCertificateList) DeepCopy() *ServiceManagedCertificateList { + if in == nil { + return nil + } + out := new(ServiceManagedCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceManagedCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceManagedCertificateObservation) DeepCopyInto(out *ServiceManagedCertificateObservation) { + *out = *in + if in.CanonicalName != nil { + in, out := &in.CanonicalName, &out.CanonicalName + *out = new(string) + **out = **in + } + if in.ExpirationDate != nil { + in, out := &in.ExpirationDate, &out.ExpirationDate + *out = new(string) + **out = **in + } + if in.FriendlyName != nil { + in, out := &in.FriendlyName, &out.FriendlyName + *out = new(string) + **out = **in + } + if in.HostNames != nil { + in, out := &in.HostNames, &out.HostNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IssueDate != nil { + in, out := &in.IssueDate, &out.IssueDate + *out = new(string) + **out = **in + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.SubjectName != nil { + in, out := &in.SubjectName, &out.SubjectName + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedCertificateObservation. +func (in *ServiceManagedCertificateObservation) DeepCopy() *ServiceManagedCertificateObservation { + if in == nil { + return nil + } + out := new(ServiceManagedCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceManagedCertificateParameters) DeepCopyInto(out *ServiceManagedCertificateParameters) { + *out = *in + if in.CustomHostnameBindingID != nil { + in, out := &in.CustomHostnameBindingID, &out.CustomHostnameBindingID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedCertificateParameters. +func (in *ServiceManagedCertificateParameters) DeepCopy() *ServiceManagedCertificateParameters { + if in == nil { + return nil + } + out := new(ServiceManagedCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceManagedCertificateSpec) DeepCopyInto(out *ServiceManagedCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedCertificateSpec. +func (in *ServiceManagedCertificateSpec) DeepCopy() *ServiceManagedCertificateSpec { + if in == nil { + return nil + } + out := new(ServiceManagedCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceManagedCertificateStatus) DeepCopyInto(out *ServiceManagedCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedCertificateStatus. +func (in *ServiceManagedCertificateStatus) DeepCopy() *ServiceManagedCertificateStatus { + if in == nil { + return nil + } + out := new(ServiceManagedCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { + *out = *in + if in.CustomDomainVerificationID != nil { + in, out := &in.CustomDomainVerificationID, &out.CustomDomainVerificationID + *out = new(string) + **out = **in + } + if in.DefaultSiteHostname != nil { + in, out := &in.DefaultSiteHostname, &out.DefaultSiteHostname + *out = new(string) + **out = **in + } + if in.OutboundIPAddressList != nil { + in, out := &in.OutboundIPAddressList, &out.OutboundIPAddressList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OutboundIPAddresses != nil { + in, out := &in.OutboundIPAddresses, &out.OutboundIPAddresses + *out = new(string) + **out = **in + } + if in.PossibleOutboundIPAddressList != nil { + in, out := &in.PossibleOutboundIPAddressList, &out.PossibleOutboundIPAddressList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PossibleOutboundIPAddresses != nil { + in, out := &in.PossibleOutboundIPAddresses, &out.PossibleOutboundIPAddresses + *out = new(string) + **out = **in + } + if in.SiteCredential != nil { + in, out := &in.SiteCredential, &out.SiteCredential + *out = make([]SiteCredentialObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation. +func (in *ServiceObservation) DeepCopy() *ServiceObservation { + if in == nil { + return nil + } + out := new(ServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { + *out = *in + if in.AppServicePlanID != nil { + in, out := &in.AppServicePlanID, &out.AppServicePlanID + *out = new(string) + **out = **in + } + if in.AppSettings != nil { + in, out := &in.AppSettings, &out.AppSettings + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AuthSettings != nil { + in, out := &in.AuthSettings, &out.AuthSettings + *out = make([]AuthSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Backup != nil { + in, out := &in.Backup, &out.Backup + *out = make([]BackupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientAffinityEnabled != nil { + in, out := &in.ClientAffinityEnabled, &out.ClientAffinityEnabled + *out = new(bool) + **out = **in + } + if in.ClientCertEnabled != nil { + in, out := &in.ClientCertEnabled, &out.ClientCertEnabled + *out = new(bool) + **out = **in + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = make([]ConnectionStringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.HTTPSOnly != nil { + in, out := &in.HTTPSOnly, &out.HTTPSOnly + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]ServiceIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Logs != nil { + in, out := &in.Logs, &out.Logs + *out = make([]LogsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SiteConfig != nil { + in, out := &in.SiteConfig, &out.SiteConfig + *out = make([]SiteConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SourceControl != nil { + in, out := &in.SourceControl, &out.SourceControl + *out = make([]SourceControlParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]StorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters. +func (in *ServiceParameters) DeepCopy() *ServiceParameters { + if in == nil { + return nil + } + out := new(ServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicePlan) DeepCopyInto(out *ServicePlan) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlan. +func (in *ServicePlan) DeepCopy() *ServicePlan { + if in == nil { + return nil + } + out := new(ServicePlan) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicePlan) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicePlanList) DeepCopyInto(out *ServicePlanList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServicePlan, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanList. +func (in *ServicePlanList) DeepCopy() *ServicePlanList { + if in == nil { + return nil + } + out := new(ServicePlanList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicePlanList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicePlanObservation) DeepCopyInto(out *ServicePlanObservation) { + *out = *in + if in.MaximumNumberOfWorkers != nil { + in, out := &in.MaximumNumberOfWorkers, &out.MaximumNumberOfWorkers + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanObservation. +func (in *ServicePlanObservation) DeepCopy() *ServicePlanObservation { + if in == nil { + return nil + } + out := new(ServicePlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicePlanParameters) DeepCopyInto(out *ServicePlanParameters) { + *out = *in + if in.AppServiceEnvironmentID != nil { + in, out := &in.AppServiceEnvironmentID, &out.AppServiceEnvironmentID + *out = new(string) + **out = **in + } + if in.IsXenon != nil { + in, out := &in.IsXenon, &out.IsXenon + *out = new(bool) + **out = **in + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaximumElasticWorkerCount != nil { + in, out := &in.MaximumElasticWorkerCount, &out.MaximumElasticWorkerCount + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PerSiteScaling != nil { + in, out := &in.PerSiteScaling, &out.PerSiteScaling + *out = new(bool) + **out = **in + } + if in.Reserved != nil { + in, out := &in.Reserved, &out.Reserved + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = make([]SkuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanParameters. +func (in *ServicePlanParameters) DeepCopy() *ServicePlanParameters { + if in == nil { + return nil + } + out := new(ServicePlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicePlanSpec) DeepCopyInto(out *ServicePlanSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanSpec. +func (in *ServicePlanSpec) DeepCopy() *ServicePlanSpec { + if in == nil { + return nil + } + out := new(ServicePlanSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicePlanStatus) DeepCopyInto(out *ServicePlanStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePlanStatus. +func (in *ServicePlanStatus) DeepCopy() *ServicePlanStatus { + if in == nil { + return nil + } + out := new(ServicePlanStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlot) DeepCopyInto(out *ServiceSlot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlot. +func (in *ServiceSlot) DeepCopy() *ServiceSlot { + if in == nil { + return nil + } + out := new(ServiceSlot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceSlot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotAuthSettingsObservation) DeepCopyInto(out *ServiceSlotAuthSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotAuthSettingsObservation. +func (in *ServiceSlotAuthSettingsObservation) DeepCopy() *ServiceSlotAuthSettingsObservation { + if in == nil { + return nil + } + out := new(ServiceSlotAuthSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotAuthSettingsParameters) DeepCopyInto(out *ServiceSlotAuthSettingsParameters) { + *out = *in + if in.ActiveDirectory != nil { + in, out := &in.ActiveDirectory, &out.ActiveDirectory + *out = make([]AuthSettingsActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalLoginParams != nil { + in, out := &in.AdditionalLoginParams, &out.AdditionalLoginParams + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AllowedExternalRedirectUrls != nil { + in, out := &in.AllowedExternalRedirectUrls, &out.AllowedExternalRedirectUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultProvider != nil { + in, out := &in.DefaultProvider, &out.DefaultProvider + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Facebook != nil { + in, out := &in.Facebook, &out.Facebook + *out = make([]AuthSettingsFacebookParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Google != nil { + in, out := &in.Google, &out.Google + *out = make([]AuthSettingsGoogleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.Microsoft != nil { + in, out := &in.Microsoft, &out.Microsoft + *out = make([]AuthSettingsMicrosoftParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuntimeVersion != nil { + in, out := &in.RuntimeVersion, &out.RuntimeVersion + *out = new(string) + **out = **in + } + if in.TokenRefreshExtensionHours != nil { + in, out := &in.TokenRefreshExtensionHours, &out.TokenRefreshExtensionHours + *out = new(float64) + **out = **in + } + if in.TokenStoreEnabled != nil { + in, out := &in.TokenStoreEnabled, &out.TokenStoreEnabled + *out = new(bool) + **out = **in + } + if in.Twitter != nil { + in, out := &in.Twitter, &out.Twitter + *out = make([]AuthSettingsTwitterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UnauthenticatedClientAction != nil { + in, out := &in.UnauthenticatedClientAction, &out.UnauthenticatedClientAction + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotAuthSettingsParameters. +func (in *ServiceSlotAuthSettingsParameters) DeepCopy() *ServiceSlotAuthSettingsParameters { + if in == nil { + return nil + } + out := new(ServiceSlotAuthSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotConnectionStringObservation) DeepCopyInto(out *ServiceSlotConnectionStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotConnectionStringObservation. +func (in *ServiceSlotConnectionStringObservation) DeepCopy() *ServiceSlotConnectionStringObservation { + if in == nil { + return nil + } + out := new(ServiceSlotConnectionStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotConnectionStringParameters) DeepCopyInto(out *ServiceSlotConnectionStringParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + out.ValueSecretRef = in.ValueSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotConnectionStringParameters. +func (in *ServiceSlotConnectionStringParameters) DeepCopy() *ServiceSlotConnectionStringParameters { + if in == nil { + return nil + } + out := new(ServiceSlotConnectionStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotIdentityObservation) DeepCopyInto(out *ServiceSlotIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotIdentityObservation. +func (in *ServiceSlotIdentityObservation) DeepCopy() *ServiceSlotIdentityObservation { + if in == nil { + return nil + } + out := new(ServiceSlotIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotIdentityParameters) DeepCopyInto(out *ServiceSlotIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotIdentityParameters. +func (in *ServiceSlotIdentityParameters) DeepCopy() *ServiceSlotIdentityParameters { + if in == nil { + return nil + } + out := new(ServiceSlotIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotList) DeepCopyInto(out *ServiceSlotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceSlot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotList. +func (in *ServiceSlotList) DeepCopy() *ServiceSlotList { + if in == nil { + return nil + } + out := new(ServiceSlotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceSlotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotLogsObservation) DeepCopyInto(out *ServiceSlotLogsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotLogsObservation. +func (in *ServiceSlotLogsObservation) DeepCopy() *ServiceSlotLogsObservation { + if in == nil { + return nil + } + out := new(ServiceSlotLogsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotLogsParameters) DeepCopyInto(out *ServiceSlotLogsParameters) { + *out = *in + if in.ApplicationLogs != nil { + in, out := &in.ApplicationLogs, &out.ApplicationLogs + *out = make([]LogsApplicationLogsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DetailedErrorMessagesEnabled != nil { + in, out := &in.DetailedErrorMessagesEnabled, &out.DetailedErrorMessagesEnabled + *out = new(bool) + **out = **in + } + if in.FailedRequestTracingEnabled != nil { + in, out := &in.FailedRequestTracingEnabled, &out.FailedRequestTracingEnabled + *out = new(bool) + **out = **in + } + if in.HTTPLogs != nil { + in, out := &in.HTTPLogs, &out.HTTPLogs + *out = make([]LogsHTTPLogsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotLogsParameters. +func (in *ServiceSlotLogsParameters) DeepCopy() *ServiceSlotLogsParameters { + if in == nil { + return nil + } + out := new(ServiceSlotLogsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotObservation) DeepCopyInto(out *ServiceSlotObservation) { + *out = *in + if in.DefaultSiteHostname != nil { + in, out := &in.DefaultSiteHostname, &out.DefaultSiteHostname + *out = new(string) + **out = **in + } + if in.SiteCredential != nil { + in, out := &in.SiteCredential, &out.SiteCredential + *out = make([]ServiceSlotSiteCredentialObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotObservation. +func (in *ServiceSlotObservation) DeepCopy() *ServiceSlotObservation { + if in == nil { + return nil + } + out := new(ServiceSlotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotParameters) DeepCopyInto(out *ServiceSlotParameters) { + *out = *in + if in.AppServiceName != nil { + in, out := &in.AppServiceName, &out.AppServiceName + *out = new(string) + **out = **in + } + if in.AppServicePlanID != nil { + in, out := &in.AppServicePlanID, &out.AppServicePlanID + *out = new(string) + **out = **in + } + if in.AppSettings != nil { + in, out := &in.AppSettings, &out.AppSettings + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AuthSettings != nil { + in, out := &in.AuthSettings, &out.AuthSettings + *out = make([]ServiceSlotAuthSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientAffinityEnabled != nil { + in, out := &in.ClientAffinityEnabled, &out.ClientAffinityEnabled + *out = new(bool) + **out = **in + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = make([]ServiceSlotConnectionStringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.HTTPSOnly != nil { + in, out := &in.HTTPSOnly, &out.HTTPSOnly + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]ServiceSlotIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Logs != nil { + in, out := &in.Logs, &out.Logs + *out = make([]ServiceSlotLogsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SiteConfig != nil { + in, out := &in.SiteConfig, &out.SiteConfig + *out = make([]ServiceSlotSiteConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotParameters. +func (in *ServiceSlotParameters) DeepCopy() *ServiceSlotParameters { + if in == nil { + return nil + } + out := new(ServiceSlotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotSiteConfigObservation) DeepCopyInto(out *ServiceSlotSiteConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotSiteConfigObservation. +func (in *ServiceSlotSiteConfigObservation) DeepCopy() *ServiceSlotSiteConfigObservation { + if in == nil { + return nil + } + out := new(ServiceSlotSiteConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotSiteConfigParameters) DeepCopyInto(out *ServiceSlotSiteConfigParameters) { + *out = *in + if in.AcrUseManagedIdentityCredentials != nil { + in, out := &in.AcrUseManagedIdentityCredentials, &out.AcrUseManagedIdentityCredentials + *out = new(bool) + **out = **in + } + if in.AcrUserManagedIdentityClientID != nil { + in, out := &in.AcrUserManagedIdentityClientID, &out.AcrUserManagedIdentityClientID + *out = new(string) + **out = **in + } + if in.AlwaysOn != nil { + in, out := &in.AlwaysOn, &out.AlwaysOn + *out = new(bool) + **out = **in + } + if in.AppCommandLine != nil { + in, out := &in.AppCommandLine, &out.AppCommandLine + *out = new(string) + **out = **in + } + if in.AutoSwapSlotName != nil { + in, out := &in.AutoSwapSlotName, &out.AutoSwapSlotName + *out = new(string) + **out = **in + } + if in.Cors != nil { + in, out := &in.Cors, &out.Cors + *out = make([]SiteConfigCorsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultDocuments != nil { + in, out := &in.DefaultDocuments, &out.DefaultDocuments + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DotnetFrameworkVersion != nil { + in, out := &in.DotnetFrameworkVersion, &out.DotnetFrameworkVersion + *out = new(string) + **out = **in + } + if in.FtpsState != nil { + in, out := &in.FtpsState, &out.FtpsState + *out = new(string) + **out = **in + } + if in.HealthCheckPath != nil { + in, out := &in.HealthCheckPath, &out.HealthCheckPath + *out = new(string) + **out = **in + } + if in.Http2Enabled != nil { + in, out := &in.Http2Enabled, &out.Http2Enabled + *out = new(bool) + **out = **in + } + if in.IPRestriction != nil { + in, out := &in.IPRestriction, &out.IPRestriction + *out = make([]SiteConfigIPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.JavaContainer != nil { + in, out := &in.JavaContainer, &out.JavaContainer + *out = new(string) + **out = **in + } + if in.JavaContainerVersion != nil { + in, out := &in.JavaContainerVersion, &out.JavaContainerVersion + *out = new(string) + **out = **in + } + if in.JavaVersion != nil { + in, out := &in.JavaVersion, &out.JavaVersion + *out = new(string) + **out = **in + } + if in.LinuxFxVersion != nil { + in, out := &in.LinuxFxVersion, &out.LinuxFxVersion + *out = new(string) + **out = **in + } + if in.LocalMysqlEnabled != nil { + in, out := &in.LocalMysqlEnabled, &out.LocalMysqlEnabled + *out = new(bool) + **out = **in + } + if in.ManagedPipelineMode != nil { + in, out := &in.ManagedPipelineMode, &out.ManagedPipelineMode + *out = new(string) + **out = **in + } + if in.MinTLSVersion != nil { + in, out := &in.MinTLSVersion, &out.MinTLSVersion + *out = new(string) + **out = **in + } + if in.NumberOfWorkers != nil { + in, out := &in.NumberOfWorkers, &out.NumberOfWorkers + *out = new(int64) + **out = **in + } + if in.PhpVersion != nil { + in, out := &in.PhpVersion, &out.PhpVersion + *out = new(string) + **out = **in + } + if in.PythonVersion != nil { + in, out := &in.PythonVersion, &out.PythonVersion + *out = new(string) + **out = **in + } + if in.RemoteDebuggingEnabled != nil { + in, out := &in.RemoteDebuggingEnabled, &out.RemoteDebuggingEnabled + *out = new(bool) + **out = **in + } + if in.RemoteDebuggingVersion != nil { + in, out := &in.RemoteDebuggingVersion, &out.RemoteDebuggingVersion + *out = new(string) + **out = **in + } + if in.ScmIPRestriction != nil { + in, out := &in.ScmIPRestriction, &out.ScmIPRestriction + *out = make([]SiteConfigScmIPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScmType != nil { + in, out := &in.ScmType, &out.ScmType + *out = new(string) + **out = **in + } + if in.ScmUseMainIPRestriction != nil { + in, out := &in.ScmUseMainIPRestriction, &out.ScmUseMainIPRestriction + *out = new(bool) + **out = **in + } + if in.Use32BitWorkerProcess != nil { + in, out := &in.Use32BitWorkerProcess, &out.Use32BitWorkerProcess + *out = new(bool) + **out = **in + } + if in.VnetRouteAllEnabled != nil { + in, out := &in.VnetRouteAllEnabled, &out.VnetRouteAllEnabled + *out = new(bool) + **out = **in + } + if in.WebsocketsEnabled != nil { + in, out := &in.WebsocketsEnabled, &out.WebsocketsEnabled + *out = new(bool) + **out = **in + } + if in.WindowsFxVersion != nil { + in, out := &in.WindowsFxVersion, &out.WindowsFxVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotSiteConfigParameters. +func (in *ServiceSlotSiteConfigParameters) DeepCopy() *ServiceSlotSiteConfigParameters { + if in == nil { + return nil + } + out := new(ServiceSlotSiteConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotSiteCredentialObservation) DeepCopyInto(out *ServiceSlotSiteCredentialObservation) { + *out = *in + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotSiteCredentialObservation. +func (in *ServiceSlotSiteCredentialObservation) DeepCopy() *ServiceSlotSiteCredentialObservation { + if in == nil { + return nil + } + out := new(ServiceSlotSiteCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotSiteCredentialParameters) DeepCopyInto(out *ServiceSlotSiteCredentialParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotSiteCredentialParameters. +func (in *ServiceSlotSiteCredentialParameters) DeepCopy() *ServiceSlotSiteCredentialParameters { + if in == nil { + return nil + } + out := new(ServiceSlotSiteCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotSpec) DeepCopyInto(out *ServiceSlotSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotSpec. +func (in *ServiceSlotSpec) DeepCopy() *ServiceSlotSpec { + if in == nil { + return nil + } + out := new(ServiceSlotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotStatus) DeepCopyInto(out *ServiceSlotStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotStatus. +func (in *ServiceSlotStatus) DeepCopy() *ServiceSlotStatus { + if in == nil { + return nil + } + out := new(ServiceSlotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotVirtualNetworkSwiftConnection) DeepCopyInto(out *ServiceSlotVirtualNetworkSwiftConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotVirtualNetworkSwiftConnection. +func (in *ServiceSlotVirtualNetworkSwiftConnection) DeepCopy() *ServiceSlotVirtualNetworkSwiftConnection { + if in == nil { + return nil + } + out := new(ServiceSlotVirtualNetworkSwiftConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceSlotVirtualNetworkSwiftConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotVirtualNetworkSwiftConnectionList) DeepCopyInto(out *ServiceSlotVirtualNetworkSwiftConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceSlotVirtualNetworkSwiftConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotVirtualNetworkSwiftConnectionList. +func (in *ServiceSlotVirtualNetworkSwiftConnectionList) DeepCopy() *ServiceSlotVirtualNetworkSwiftConnectionList { + if in == nil { + return nil + } + out := new(ServiceSlotVirtualNetworkSwiftConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceSlotVirtualNetworkSwiftConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotVirtualNetworkSwiftConnectionObservation) DeepCopyInto(out *ServiceSlotVirtualNetworkSwiftConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotVirtualNetworkSwiftConnectionObservation. +func (in *ServiceSlotVirtualNetworkSwiftConnectionObservation) DeepCopy() *ServiceSlotVirtualNetworkSwiftConnectionObservation { + if in == nil { + return nil + } + out := new(ServiceSlotVirtualNetworkSwiftConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotVirtualNetworkSwiftConnectionParameters) DeepCopyInto(out *ServiceSlotVirtualNetworkSwiftConnectionParameters) { + *out = *in + if in.AppServiceID != nil { + in, out := &in.AppServiceID, &out.AppServiceID + *out = new(string) + **out = **in + } + if in.SlotName != nil { + in, out := &in.SlotName, &out.SlotName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotVirtualNetworkSwiftConnectionParameters. +func (in *ServiceSlotVirtualNetworkSwiftConnectionParameters) DeepCopy() *ServiceSlotVirtualNetworkSwiftConnectionParameters { + if in == nil { + return nil + } + out := new(ServiceSlotVirtualNetworkSwiftConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotVirtualNetworkSwiftConnectionSpec) DeepCopyInto(out *ServiceSlotVirtualNetworkSwiftConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotVirtualNetworkSwiftConnectionSpec. +func (in *ServiceSlotVirtualNetworkSwiftConnectionSpec) DeepCopy() *ServiceSlotVirtualNetworkSwiftConnectionSpec { + if in == nil { + return nil + } + out := new(ServiceSlotVirtualNetworkSwiftConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSlotVirtualNetworkSwiftConnectionStatus) DeepCopyInto(out *ServiceSlotVirtualNetworkSwiftConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSlotVirtualNetworkSwiftConnectionStatus. +func (in *ServiceSlotVirtualNetworkSwiftConnectionStatus) DeepCopy() *ServiceSlotVirtualNetworkSwiftConnectionStatus { + if in == nil { + return nil + } + out := new(ServiceSlotVirtualNetworkSwiftConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSourceControlToken) DeepCopyInto(out *ServiceSourceControlToken) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSourceControlToken. +func (in *ServiceSourceControlToken) DeepCopy() *ServiceSourceControlToken { + if in == nil { + return nil + } + out := new(ServiceSourceControlToken) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceSourceControlToken) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSourceControlTokenList) DeepCopyInto(out *ServiceSourceControlTokenList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceSourceControlToken, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSourceControlTokenList. +func (in *ServiceSourceControlTokenList) DeepCopy() *ServiceSourceControlTokenList { + if in == nil { + return nil + } + out := new(ServiceSourceControlTokenList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceSourceControlTokenList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSourceControlTokenObservation) DeepCopyInto(out *ServiceSourceControlTokenObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSourceControlTokenObservation. +func (in *ServiceSourceControlTokenObservation) DeepCopy() *ServiceSourceControlTokenObservation { + if in == nil { + return nil + } + out := new(ServiceSourceControlTokenObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSourceControlTokenParameters) DeepCopyInto(out *ServiceSourceControlTokenParameters) { + *out = *in + out.TokenSecretRef = in.TokenSecretRef + if in.TokenSecretSecretRef != nil { + in, out := &in.TokenSecretSecretRef, &out.TokenSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSourceControlTokenParameters. +func (in *ServiceSourceControlTokenParameters) DeepCopy() *ServiceSourceControlTokenParameters { + if in == nil { + return nil + } + out := new(ServiceSourceControlTokenParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSourceControlTokenSpec) DeepCopyInto(out *ServiceSourceControlTokenSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSourceControlTokenSpec. +func (in *ServiceSourceControlTokenSpec) DeepCopy() *ServiceSourceControlTokenSpec { + if in == nil { + return nil + } + out := new(ServiceSourceControlTokenSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSourceControlTokenStatus) DeepCopyInto(out *ServiceSourceControlTokenStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSourceControlTokenStatus. +func (in *ServiceSourceControlTokenStatus) DeepCopy() *ServiceSourceControlTokenStatus { + if in == nil { + return nil + } + out := new(ServiceSourceControlTokenStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { + return nil + } + out := new(ServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { + return nil + } + out := new(ServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceVirtualNetworkSwiftConnection) DeepCopyInto(out *ServiceVirtualNetworkSwiftConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVirtualNetworkSwiftConnection. +func (in *ServiceVirtualNetworkSwiftConnection) DeepCopy() *ServiceVirtualNetworkSwiftConnection { + if in == nil { + return nil + } + out := new(ServiceVirtualNetworkSwiftConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceVirtualNetworkSwiftConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceVirtualNetworkSwiftConnectionList) DeepCopyInto(out *ServiceVirtualNetworkSwiftConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceVirtualNetworkSwiftConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVirtualNetworkSwiftConnectionList. +func (in *ServiceVirtualNetworkSwiftConnectionList) DeepCopy() *ServiceVirtualNetworkSwiftConnectionList { + if in == nil { + return nil + } + out := new(ServiceVirtualNetworkSwiftConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceVirtualNetworkSwiftConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceVirtualNetworkSwiftConnectionObservation) DeepCopyInto(out *ServiceVirtualNetworkSwiftConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVirtualNetworkSwiftConnectionObservation. +func (in *ServiceVirtualNetworkSwiftConnectionObservation) DeepCopy() *ServiceVirtualNetworkSwiftConnectionObservation { + if in == nil { + return nil + } + out := new(ServiceVirtualNetworkSwiftConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceVirtualNetworkSwiftConnectionParameters) DeepCopyInto(out *ServiceVirtualNetworkSwiftConnectionParameters) { + *out = *in + if in.AppServiceID != nil { + in, out := &in.AppServiceID, &out.AppServiceID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVirtualNetworkSwiftConnectionParameters. +func (in *ServiceVirtualNetworkSwiftConnectionParameters) DeepCopy() *ServiceVirtualNetworkSwiftConnectionParameters { + if in == nil { + return nil + } + out := new(ServiceVirtualNetworkSwiftConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceVirtualNetworkSwiftConnectionSpec) DeepCopyInto(out *ServiceVirtualNetworkSwiftConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVirtualNetworkSwiftConnectionSpec. +func (in *ServiceVirtualNetworkSwiftConnectionSpec) DeepCopy() *ServiceVirtualNetworkSwiftConnectionSpec { + if in == nil { + return nil + } + out := new(ServiceVirtualNetworkSwiftConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceVirtualNetworkSwiftConnectionStatus) DeepCopyInto(out *ServiceVirtualNetworkSwiftConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVirtualNetworkSwiftConnectionStatus. +func (in *ServiceVirtualNetworkSwiftConnectionStatus) DeepCopy() *ServiceVirtualNetworkSwiftConnectionStatus { + if in == nil { + return nil + } + out := new(ServiceVirtualNetworkSwiftConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigCorsObservation) DeepCopyInto(out *SiteConfigCorsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigCorsObservation. +func (in *SiteConfigCorsObservation) DeepCopy() *SiteConfigCorsObservation { + if in == nil { + return nil + } + out := new(SiteConfigCorsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigCorsParameters) DeepCopyInto(out *SiteConfigCorsParameters) { + *out = *in + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SupportCredentials != nil { + in, out := &in.SupportCredentials, &out.SupportCredentials + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigCorsParameters. +func (in *SiteConfigCorsParameters) DeepCopy() *SiteConfigCorsParameters { + if in == nil { + return nil + } + out := new(SiteConfigCorsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigIPRestrictionObservation) DeepCopyInto(out *SiteConfigIPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigIPRestrictionObservation. +func (in *SiteConfigIPRestrictionObservation) DeepCopy() *SiteConfigIPRestrictionObservation { + if in == nil { + return nil + } + out := new(SiteConfigIPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigIPRestrictionParameters) DeepCopyInto(out *SiteConfigIPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]IPRestrictionHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigIPRestrictionParameters. +func (in *SiteConfigIPRestrictionParameters) DeepCopy() *SiteConfigIPRestrictionParameters { + if in == nil { + return nil + } + out := new(SiteConfigIPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigObservation) DeepCopyInto(out *SiteConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigObservation. +func (in *SiteConfigObservation) DeepCopy() *SiteConfigObservation { + if in == nil { + return nil + } + out := new(SiteConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigParameters) DeepCopyInto(out *SiteConfigParameters) { + *out = *in + if in.AcrUseManagedIdentityCredentials != nil { + in, out := &in.AcrUseManagedIdentityCredentials, &out.AcrUseManagedIdentityCredentials + *out = new(bool) + **out = **in + } + if in.AcrUserManagedIdentityClientID != nil { + in, out := &in.AcrUserManagedIdentityClientID, &out.AcrUserManagedIdentityClientID + *out = new(string) + **out = **in + } + if in.AlwaysOn != nil { + in, out := &in.AlwaysOn, &out.AlwaysOn + *out = new(bool) + **out = **in + } + if in.AppCommandLine != nil { + in, out := &in.AppCommandLine, &out.AppCommandLine + *out = new(string) + **out = **in + } + if in.AutoSwapSlotName != nil { + in, out := &in.AutoSwapSlotName, &out.AutoSwapSlotName + *out = new(string) + **out = **in + } + if in.Cors != nil { + in, out := &in.Cors, &out.Cors + *out = make([]CorsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultDocuments != nil { + in, out := &in.DefaultDocuments, &out.DefaultDocuments + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DotnetFrameworkVersion != nil { + in, out := &in.DotnetFrameworkVersion, &out.DotnetFrameworkVersion + *out = new(string) + **out = **in + } + if in.FtpsState != nil { + in, out := &in.FtpsState, &out.FtpsState + *out = new(string) + **out = **in + } + if in.HealthCheckPath != nil { + in, out := &in.HealthCheckPath, &out.HealthCheckPath + *out = new(string) + **out = **in + } + if in.Http2Enabled != nil { + in, out := &in.Http2Enabled, &out.Http2Enabled + *out = new(bool) + **out = **in + } + if in.IPRestriction != nil { + in, out := &in.IPRestriction, &out.IPRestriction + *out = make([]IPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.JavaContainer != nil { + in, out := &in.JavaContainer, &out.JavaContainer + *out = new(string) + **out = **in + } + if in.JavaContainerVersion != nil { + in, out := &in.JavaContainerVersion, &out.JavaContainerVersion + *out = new(string) + **out = **in + } + if in.JavaVersion != nil { + in, out := &in.JavaVersion, &out.JavaVersion + *out = new(string) + **out = **in + } + if in.LinuxFxVersion != nil { + in, out := &in.LinuxFxVersion, &out.LinuxFxVersion + *out = new(string) + **out = **in + } + if in.LocalMysqlEnabled != nil { + in, out := &in.LocalMysqlEnabled, &out.LocalMysqlEnabled + *out = new(bool) + **out = **in + } + if in.ManagedPipelineMode != nil { + in, out := &in.ManagedPipelineMode, &out.ManagedPipelineMode + *out = new(string) + **out = **in + } + if in.MinTLSVersion != nil { + in, out := &in.MinTLSVersion, &out.MinTLSVersion + *out = new(string) + **out = **in + } + if in.NumberOfWorkers != nil { + in, out := &in.NumberOfWorkers, &out.NumberOfWorkers + *out = new(int64) + **out = **in + } + if in.PhpVersion != nil { + in, out := &in.PhpVersion, &out.PhpVersion + *out = new(string) + **out = **in + } + if in.PythonVersion != nil { + in, out := &in.PythonVersion, &out.PythonVersion + *out = new(string) + **out = **in + } + if in.RemoteDebuggingEnabled != nil { + in, out := &in.RemoteDebuggingEnabled, &out.RemoteDebuggingEnabled + *out = new(bool) + **out = **in + } + if in.RemoteDebuggingVersion != nil { + in, out := &in.RemoteDebuggingVersion, &out.RemoteDebuggingVersion + *out = new(string) + **out = **in + } + if in.ScmIPRestriction != nil { + in, out := &in.ScmIPRestriction, &out.ScmIPRestriction + *out = make([]ScmIPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScmType != nil { + in, out := &in.ScmType, &out.ScmType + *out = new(string) + **out = **in + } + if in.ScmUseMainIPRestriction != nil { + in, out := &in.ScmUseMainIPRestriction, &out.ScmUseMainIPRestriction + *out = new(bool) + **out = **in + } + if in.Use32BitWorkerProcess != nil { + in, out := &in.Use32BitWorkerProcess, &out.Use32BitWorkerProcess + *out = new(bool) + **out = **in + } + if in.VnetRouteAllEnabled != nil { + in, out := &in.VnetRouteAllEnabled, &out.VnetRouteAllEnabled + *out = new(bool) + **out = **in + } + if in.WebsocketsEnabled != nil { + in, out := &in.WebsocketsEnabled, &out.WebsocketsEnabled + *out = new(bool) + **out = **in + } + if in.WindowsFxVersion != nil { + in, out := &in.WindowsFxVersion, &out.WindowsFxVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigParameters. +func (in *SiteConfigParameters) DeepCopy() *SiteConfigParameters { + if in == nil { + return nil + } + out := new(SiteConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionHeadersObservation) DeepCopyInto(out *SiteConfigScmIPRestrictionHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionHeadersObservation. +func (in *SiteConfigScmIPRestrictionHeadersObservation) DeepCopy() *SiteConfigScmIPRestrictionHeadersObservation { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionHeadersParameters) DeepCopyInto(out *SiteConfigScmIPRestrictionHeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionHeadersParameters. +func (in *SiteConfigScmIPRestrictionHeadersParameters) DeepCopy() *SiteConfigScmIPRestrictionHeadersParameters { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionObservation) DeepCopyInto(out *SiteConfigScmIPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionObservation. +func (in *SiteConfigScmIPRestrictionObservation) DeepCopy() *SiteConfigScmIPRestrictionObservation { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionParameters) DeepCopyInto(out *SiteConfigScmIPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]SiteConfigScmIPRestrictionHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionParameters. +func (in *SiteConfigScmIPRestrictionParameters) DeepCopy() *SiteConfigScmIPRestrictionParameters { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteCredentialObservation) DeepCopyInto(out *SiteCredentialObservation) { + *out = *in + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteCredentialObservation. +func (in *SiteCredentialObservation) DeepCopy() *SiteCredentialObservation { + if in == nil { + return nil + } + out := new(SiteCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteCredentialParameters) DeepCopyInto(out *SiteCredentialParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteCredentialParameters. +func (in *SiteCredentialParameters) DeepCopy() *SiteCredentialParameters { + if in == nil { + return nil + } + out := new(SiteCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuObservation) DeepCopyInto(out *SkuObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuObservation. +func (in *SkuObservation) DeepCopy() *SkuObservation { + if in == nil { + return nil + } + out := new(SkuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(string) + **out = **in + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceControlObservation) DeepCopyInto(out *SourceControlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceControlObservation. +func (in *SourceControlObservation) DeepCopy() *SourceControlObservation { + if in == nil { + return nil + } + out := new(SourceControlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceControlParameters) DeepCopyInto(out *SourceControlParameters) { + *out = *in + if in.Branch != nil { + in, out := &in.Branch, &out.Branch + *out = new(string) + **out = **in + } + if in.ManualIntegration != nil { + in, out := &in.ManualIntegration, &out.ManualIntegration + *out = new(bool) + **out = **in + } + if in.RepoURL != nil { + in, out := &in.RepoURL, &out.RepoURL + *out = new(string) + **out = **in + } + if in.RollbackEnabled != nil { + in, out := &in.RollbackEnabled, &out.RollbackEnabled + *out = new(bool) + **out = **in + } + if in.UseMercurial != nil { + in, out := &in.UseMercurial, &out.UseMercurial + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceControlParameters. +func (in *SourceControlParameters) DeepCopy() *SourceControlParameters { + if in == nil { + return nil + } + out := new(SourceControlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountObservation) DeepCopyInto(out *StorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountObservation. +func (in *StorageAccountObservation) DeepCopy() *StorageAccountObservation { + if in == nil { + return nil + } + out := new(StorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountParameters) DeepCopyInto(out *StorageAccountParameters) { + *out = *in + out.AccessKeySecretRef = in.AccessKeySecretRef + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.MountPath != nil { + in, out := &in.MountPath, &out.MountPath + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ShareName != nil { + in, out := &in.ShareName, &out.ShareName + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountParameters. +func (in *StorageAccountParameters) DeepCopy() *StorageAccountParameters { + if in == nil { + return nil + } + out := new(StorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwitterObservation) DeepCopyInto(out *TwitterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwitterObservation. +func (in *TwitterObservation) DeepCopy() *TwitterObservation { + if in == nil { + return nil + } + out := new(TwitterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwitterParameters) DeepCopyInto(out *TwitterParameters) { + *out = *in + if in.ConsumerKey != nil { + in, out := &in.ConsumerKey, &out.ConsumerKey + *out = new(string) + **out = **in + } + out.ConsumerSecretSecretRef = in.ConsumerSecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwitterParameters. +func (in *TwitterParameters) DeepCopy() *TwitterParameters { + if in == nil { + return nil + } + out := new(TwitterParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/app/v1alpha1/zz_generated.managed.go b/apis/app/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..9c109689d --- /dev/null +++ b/apis/app/v1alpha1/zz_generated.managed.go @@ -0,0 +1,972 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Configuration. +func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Configuration. +func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Configuration. +func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Configuration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Configuration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Configuration. +func (mg *Configuration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Configuration. +func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Configuration. +func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Configuration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Configuration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ConfigurationKey. +func (mg *ConfigurationKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ConfigurationKey. +func (mg *ConfigurationKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ConfigurationKey. +func (mg *ConfigurationKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ConfigurationKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ConfigurationKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ConfigurationKey. +func (mg *ConfigurationKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ConfigurationKey. +func (mg *ConfigurationKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ConfigurationKey. +func (mg *ConfigurationKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ConfigurationKey. +func (mg *ConfigurationKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ConfigurationKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ConfigurationKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ConfigurationKey. +func (mg *ConfigurationKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Service. +func (mg *Service) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Service. +func (mg *Service) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Service. +func (mg *Service) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Service. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Service) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Service. +func (mg *Service) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Service. +func (mg *Service) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Service. +func (mg *Service) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Service. +func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Service. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Service) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Service. +func (mg *Service) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceActiveSlot. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceActiveSlot) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceActiveSlot. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceActiveSlot) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceActiveSlot. +func (mg *ServiceActiveSlot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceCertificate. +func (mg *ServiceCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceCertificate. +func (mg *ServiceCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceCertificate. +func (mg *ServiceCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceCertificate. +func (mg *ServiceCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceCertificate. +func (mg *ServiceCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceCertificate. +func (mg *ServiceCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceCertificate. +func (mg *ServiceCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceCertificate. +func (mg *ServiceCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceCertificateBinding. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceCertificateBinding) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceCertificateBinding. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceCertificateBinding) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceCertificateBinding. +func (mg *ServiceCertificateBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceCertificateOrder. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceCertificateOrder) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceCertificateOrder. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceCertificateOrder) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceCertificateOrder. +func (mg *ServiceCertificateOrder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceCustomHostnameBinding. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceCustomHostnameBinding) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceCustomHostnameBinding. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceCustomHostnameBinding) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceCustomHostnameBinding. +func (mg *ServiceCustomHostnameBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceEnvironment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceEnvironment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceEnvironment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceEnvironment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceEnvironmentV3. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceEnvironmentV3) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceEnvironmentV3. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceEnvironmentV3) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceEnvironmentV3. +func (mg *ServiceEnvironmentV3) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceHybridConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceHybridConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceHybridConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceHybridConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceHybridConnection. +func (mg *ServiceHybridConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceManagedCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceManagedCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceManagedCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceManagedCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceManagedCertificate. +func (mg *ServiceManagedCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServicePlan. +func (mg *ServicePlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServicePlan. +func (mg *ServicePlan) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServicePlan. +func (mg *ServicePlan) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServicePlan. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServicePlan) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServicePlan. +func (mg *ServicePlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServicePlan. +func (mg *ServicePlan) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServicePlan. +func (mg *ServicePlan) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServicePlan. +func (mg *ServicePlan) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServicePlan. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServicePlan) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServicePlan. +func (mg *ServicePlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceSlot. +func (mg *ServiceSlot) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceSlot. +func (mg *ServiceSlot) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceSlot. +func (mg *ServiceSlot) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceSlot. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceSlot) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceSlot. +func (mg *ServiceSlot) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceSlot. +func (mg *ServiceSlot) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceSlot. +func (mg *ServiceSlot) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceSlot. +func (mg *ServiceSlot) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceSlot. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceSlot) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceSlot. +func (mg *ServiceSlot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceSlotVirtualNetworkSwiftConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceSlotVirtualNetworkSwiftConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceSlotVirtualNetworkSwiftConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceSlotVirtualNetworkSwiftConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceSlotVirtualNetworkSwiftConnection. +func (mg *ServiceSlotVirtualNetworkSwiftConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceSourceControlToken. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceSourceControlToken) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceSourceControlToken. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceSourceControlToken) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceSourceControlToken. +func (mg *ServiceSourceControlToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceVirtualNetworkSwiftConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceVirtualNetworkSwiftConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceVirtualNetworkSwiftConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceVirtualNetworkSwiftConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceVirtualNetworkSwiftConnection. +func (mg *ServiceVirtualNetworkSwiftConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/app/v1alpha1/zz_generated.managedlist.go b/apis/app/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..7d2959ed6 --- /dev/null +++ b/apis/app/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,173 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ConfigurationKeyList. +func (l *ConfigurationKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConfigurationList. +func (l *ConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceActiveSlotList. +func (l *ServiceActiveSlotList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceCertificateBindingList. +func (l *ServiceCertificateBindingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceCertificateList. +func (l *ServiceCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceCertificateOrderList. +func (l *ServiceCertificateOrderList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceCustomHostnameBindingList. +func (l *ServiceCustomHostnameBindingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceEnvironmentList. +func (l *ServiceEnvironmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceEnvironmentV3List. +func (l *ServiceEnvironmentV3List) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceHybridConnectionList. +func (l *ServiceHybridConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceList. +func (l *ServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceManagedCertificateList. +func (l *ServiceManagedCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServicePlanList. +func (l *ServicePlanList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceSlotList. +func (l *ServiceSlotList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceSlotVirtualNetworkSwiftConnectionList. +func (l *ServiceSlotVirtualNetworkSwiftConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceSourceControlTokenList. +func (l *ServiceSourceControlTokenList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceVirtualNetworkSwiftConnectionList. +func (l *ServiceVirtualNetworkSwiftConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/app/v1alpha1/zz_groupversion_info.go b/apis/app/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..930cc2b9f --- /dev/null +++ b/apis/app/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=app.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "app.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/app/v1alpha1/zz_service_terraformed.go b/apis/app/v1alpha1/zz_service_terraformed.go new file mode 100755 index 000000000..fa6877ad2 --- /dev/null +++ b/apis/app/v1alpha1/zz_service_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Service +func (mg *Service) GetTerraformResourceType() string { + return "azurerm_app_service" +} + +// GetConnectionDetailsMapping for this Service +func (tr *Service) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"auth_settings[*].active_directory[*].client_secret": "spec.forProvider.authSettings[*].activeDirectory[*].clientSecretSecretRef", "auth_settings[*].facebook[*].app_secret": "spec.forProvider.authSettings[*].facebook[*].appSecretSecretRef", "auth_settings[*].google[*].client_secret": "spec.forProvider.authSettings[*].google[*].clientSecretSecretRef", "auth_settings[*].microsoft[*].client_secret": "spec.forProvider.authSettings[*].microsoft[*].clientSecretSecretRef", "auth_settings[*].twitter[*].consumer_secret": "spec.forProvider.authSettings[*].twitter[*].consumerSecretSecretRef", "backup[*].storage_account_url": "spec.forProvider.backup[*].storageAccountURLSecretRef", "connection_string[*].value": "spec.forProvider.connectionString[*].valueSecretRef", "logs[*].application_logs[*].azure_blob_storage[*].sas_url": "spec.forProvider.logs[*].applicationLogs[*].azureBlobStorage[*].sasURLSecretRef", "logs[*].http_logs[*].azure_blob_storage[*].sas_url": "spec.forProvider.logs[*].httpLogs[*].azureBlobStorage[*].sasURLSecretRef", "site_credential[*].password": "status.atProvider.siteCredential[*].password", "storage_account[*].access_key": "spec.forProvider.storageAccount[*].accessKeySecretRef"} +} + +// GetObservation of this Service +func (tr *Service) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Service +func (tr *Service) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Service +func (tr *Service) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Service +func (tr *Service) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Service using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Service) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Service) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_service_types.go b/apis/app/v1alpha1/zz_service_types.go new file mode 100755 index 000000000..ed699d790 --- /dev/null +++ b/apis/app/v1alpha1/zz_service_types.go @@ -0,0 +1,671 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActiveDirectoryObservation struct { +} + +type ActiveDirectoryParameters struct { + + // +kubebuilder:validation:Optional + AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Optional + ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` +} + +type ApplicationLogsObservation struct { +} + +type ApplicationLogsParameters struct { + + // +kubebuilder:validation:Optional + AzureBlobStorage []AzureBlobStorageParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"` + + // +kubebuilder:validation:Optional + FileSystemLevel *string `json:"fileSystemLevel,omitempty" tf:"file_system_level,omitempty"` +} + +type AuthSettingsObservation struct { +} + +type AuthSettingsParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectory []ActiveDirectoryParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalLoginParams map[string]*string `json:"additionalLoginParams,omitempty" tf:"additional_login_params,omitempty"` + + // +kubebuilder:validation:Optional + AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"` + + // +kubebuilder:validation:Optional + DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Facebook []FacebookParameters `json:"facebook,omitempty" tf:"facebook,omitempty"` + + // +kubebuilder:validation:Optional + Google []GoogleParameters `json:"google,omitempty" tf:"google,omitempty"` + + // +kubebuilder:validation:Optional + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + // +kubebuilder:validation:Optional + Microsoft []MicrosoftParameters `json:"microsoft,omitempty" tf:"microsoft,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"` + + // +kubebuilder:validation:Optional + TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"` + + // +kubebuilder:validation:Optional + TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Twitter []TwitterParameters `json:"twitter,omitempty" tf:"twitter,omitempty"` + + // +kubebuilder:validation:Optional + UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"` +} + +type AzureBlobStorageObservation struct { +} + +type AzureBlobStorageParameters struct { + + // +kubebuilder:validation:Required + Level *string `json:"level" tf:"level,omitempty"` + + // +kubebuilder:validation:Required + RetentionInDays *int64 `json:"retentionInDays" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + SasURLSecretRef v1.SecretKeySelector `json:"sasUrlSecretRef" tf:"-"` +} + +type BackupObservation struct { +} + +type BackupParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Schedule []ScheduleParameters `json:"schedule" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountURLSecretRef v1.SecretKeySelector `json:"storageAccountUrlSecretRef" tf:"-"` +} + +type ConnectionStringObservation struct { +} + +type ConnectionStringParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` +} + +type CorsObservation struct { +} + +type CorsParameters struct { + + // +kubebuilder:validation:Required + AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"` + + // +kubebuilder:validation:Optional + SupportCredentials *bool `json:"supportCredentials,omitempty" tf:"support_credentials,omitempty"` +} + +type FacebookObservation struct { +} + +type FacebookParameters struct { + + // +kubebuilder:validation:Required + AppID *string `json:"appId" tf:"app_id,omitempty"` + + // +kubebuilder:validation:Required + AppSecretSecretRef v1.SecretKeySelector `json:"appSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type FileSystemObservation struct { +} + +type FileSystemParameters struct { + + // +kubebuilder:validation:Required + RetentionInDays *int64 `json:"retentionInDays" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + RetentionInMb *int64 `json:"retentionInMb" tf:"retention_in_mb,omitempty"` +} + +type GoogleObservation struct { +} + +type GoogleParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type HTTPLogsAzureBlobStorageObservation struct { +} + +type HTTPLogsAzureBlobStorageParameters struct { + + // +kubebuilder:validation:Required + RetentionInDays *int64 `json:"retentionInDays" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + SasURLSecretRef v1.SecretKeySelector `json:"sasUrlSecretRef" tf:"-"` +} + +type HTTPLogsObservation struct { +} + +type HTTPLogsParameters struct { + + // +kubebuilder:validation:Optional + AzureBlobStorage []HTTPLogsAzureBlobStorageParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"` + + // +kubebuilder:validation:Optional + FileSystem []FileSystemParameters `json:"fileSystem,omitempty" tf:"file_system,omitempty"` +} + +type HeadersObservation struct { +} + +type HeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type IPRestrictionObservation struct { +} + +type IPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []HeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +type LogsObservation struct { +} + +type LogsParameters struct { + + // +kubebuilder:validation:Optional + ApplicationLogs []ApplicationLogsParameters `json:"applicationLogs,omitempty" tf:"application_logs,omitempty"` + + // +kubebuilder:validation:Optional + DetailedErrorMessagesEnabled *bool `json:"detailedErrorMessagesEnabled,omitempty" tf:"detailed_error_messages_enabled,omitempty"` + + // +kubebuilder:validation:Optional + FailedRequestTracingEnabled *bool `json:"failedRequestTracingEnabled,omitempty" tf:"failed_request_tracing_enabled,omitempty"` + + // +kubebuilder:validation:Optional + HTTPLogs []HTTPLogsParameters `json:"httpLogs,omitempty" tf:"http_logs,omitempty"` +} + +type MicrosoftObservation struct { +} + +type MicrosoftParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type ScheduleObservation struct { +} + +type ScheduleParameters struct { + + // +kubebuilder:validation:Required + FrequencyInterval *int64 `json:"frequencyInterval" tf:"frequency_interval,omitempty"` + + // +kubebuilder:validation:Required + FrequencyUnit *string `json:"frequencyUnit" tf:"frequency_unit,omitempty"` + + // +kubebuilder:validation:Optional + KeepAtLeastOneBackup *bool `json:"keepAtLeastOneBackup,omitempty" tf:"keep_at_least_one_backup,omitempty"` + + // +kubebuilder:validation:Optional + RetentionPeriodInDays *int64 `json:"retentionPeriodInDays,omitempty" tf:"retention_period_in_days,omitempty"` + + // +kubebuilder:validation:Optional + StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` +} + +type ScmIPRestrictionHeadersObservation struct { +} + +type ScmIPRestrictionHeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type ScmIPRestrictionObservation struct { +} + +type ScmIPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []ScmIPRestrictionHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +type ServiceIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type ServiceIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ServiceObservation struct { + CustomDomainVerificationID *string `json:"customDomainVerificationId,omitempty" tf:"custom_domain_verification_id,omitempty"` + + DefaultSiteHostname *string `json:"defaultSiteHostname,omitempty" tf:"default_site_hostname,omitempty"` + + OutboundIPAddressList []*string `json:"outboundIpAddressList,omitempty" tf:"outbound_ip_address_list,omitempty"` + + OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty" tf:"outbound_ip_addresses,omitempty"` + + PossibleOutboundIPAddressList []*string `json:"possibleOutboundIpAddressList,omitempty" tf:"possible_outbound_ip_address_list,omitempty"` + + PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty" tf:"possible_outbound_ip_addresses,omitempty"` + + SiteCredential []SiteCredentialObservation `json:"siteCredential,omitempty" tf:"site_credential,omitempty"` +} + +type ServiceParameters struct { + + // +kubebuilder:validation:Required + AppServicePlanID *string `json:"appServicePlanId" tf:"app_service_plan_id,omitempty"` + + // +kubebuilder:validation:Optional + AppSettings map[string]*string `json:"appSettings,omitempty" tf:"app_settings,omitempty"` + + // +kubebuilder:validation:Optional + AuthSettings []AuthSettingsParameters `json:"authSettings,omitempty" tf:"auth_settings,omitempty"` + + // +kubebuilder:validation:Optional + Backup []BackupParameters `json:"backup,omitempty" tf:"backup,omitempty"` + + // +kubebuilder:validation:Optional + ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty" tf:"client_affinity_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ClientCertEnabled *bool `json:"clientCertEnabled,omitempty" tf:"client_cert_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionString []ConnectionStringParameters `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + HTTPSOnly *bool `json:"httpsOnly,omitempty" tf:"https_only,omitempty"` + + // +kubebuilder:validation:Optional + Identity []ServiceIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Logs []LogsParameters `json:"logs,omitempty" tf:"logs,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SiteConfig []SiteConfigParameters `json:"siteConfig,omitempty" tf:"site_config,omitempty"` + + // +kubebuilder:validation:Optional + SourceControl []SourceControlParameters `json:"sourceControl,omitempty" tf:"source_control,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []StorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type SiteConfigObservation struct { +} + +type SiteConfigParameters struct { + + // +kubebuilder:validation:Optional + AcrUseManagedIdentityCredentials *bool `json:"acrUseManagedIdentityCredentials,omitempty" tf:"acr_use_managed_identity_credentials,omitempty"` + + // +kubebuilder:validation:Optional + AcrUserManagedIdentityClientID *string `json:"acrUserManagedIdentityClientId,omitempty" tf:"acr_user_managed_identity_client_id,omitempty"` + + // +kubebuilder:validation:Optional + AlwaysOn *bool `json:"alwaysOn,omitempty" tf:"always_on,omitempty"` + + // +kubebuilder:validation:Optional + AppCommandLine *string `json:"appCommandLine,omitempty" tf:"app_command_line,omitempty"` + + // +kubebuilder:validation:Optional + AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty" tf:"auto_swap_slot_name,omitempty"` + + // +kubebuilder:validation:Optional + Cors []CorsParameters `json:"cors,omitempty" tf:"cors,omitempty"` + + // +kubebuilder:validation:Optional + DefaultDocuments []*string `json:"defaultDocuments,omitempty" tf:"default_documents,omitempty"` + + // +kubebuilder:validation:Optional + DotnetFrameworkVersion *string `json:"dotnetFrameworkVersion,omitempty" tf:"dotnet_framework_version,omitempty"` + + // +kubebuilder:validation:Optional + FtpsState *string `json:"ftpsState,omitempty" tf:"ftps_state,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"` + + // +kubebuilder:validation:Optional + Http2Enabled *bool `json:"http2Enabled,omitempty" tf:"http2_enabled,omitempty"` + + // +kubebuilder:validation:Optional + IPRestriction []IPRestrictionParameters `json:"ipRestriction,omitempty" tf:"ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + JavaContainer *string `json:"javaContainer,omitempty" tf:"java_container,omitempty"` + + // +kubebuilder:validation:Optional + JavaContainerVersion *string `json:"javaContainerVersion,omitempty" tf:"java_container_version,omitempty"` + + // +kubebuilder:validation:Optional + JavaVersion *string `json:"javaVersion,omitempty" tf:"java_version,omitempty"` + + // +kubebuilder:validation:Optional + LinuxFxVersion *string `json:"linuxFxVersion,omitempty" tf:"linux_fx_version,omitempty"` + + // +kubebuilder:validation:Optional + LocalMysqlEnabled *bool `json:"localMysqlEnabled,omitempty" tf:"local_mysql_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ManagedPipelineMode *string `json:"managedPipelineMode,omitempty" tf:"managed_pipeline_mode,omitempty"` + + // +kubebuilder:validation:Optional + MinTLSVersion *string `json:"minTlsVersion,omitempty" tf:"min_tls_version,omitempty"` + + // +kubebuilder:validation:Optional + NumberOfWorkers *int64 `json:"numberOfWorkers,omitempty" tf:"number_of_workers,omitempty"` + + // +kubebuilder:validation:Optional + PhpVersion *string `json:"phpVersion,omitempty" tf:"php_version,omitempty"` + + // +kubebuilder:validation:Optional + PythonVersion *string `json:"pythonVersion,omitempty" tf:"python_version,omitempty"` + + // +kubebuilder:validation:Optional + RemoteDebuggingEnabled *bool `json:"remoteDebuggingEnabled,omitempty" tf:"remote_debugging_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty" tf:"remote_debugging_version,omitempty"` + + // +kubebuilder:validation:Optional + ScmIPRestriction []ScmIPRestrictionParameters `json:"scmIpRestriction,omitempty" tf:"scm_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + ScmType *string `json:"scmType,omitempty" tf:"scm_type,omitempty"` + + // +kubebuilder:validation:Optional + ScmUseMainIPRestriction *bool `json:"scmUseMainIpRestriction,omitempty" tf:"scm_use_main_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty" tf:"use_32_bit_worker_process,omitempty"` + + // +kubebuilder:validation:Optional + VnetRouteAllEnabled *bool `json:"vnetRouteAllEnabled,omitempty" tf:"vnet_route_all_enabled,omitempty"` + + // +kubebuilder:validation:Optional + WebsocketsEnabled *bool `json:"websocketsEnabled,omitempty" tf:"websockets_enabled,omitempty"` + + // +kubebuilder:validation:Optional + WindowsFxVersion *string `json:"windowsFxVersion,omitempty" tf:"windows_fx_version,omitempty"` +} + +type SiteCredentialObservation struct { + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +type SiteCredentialParameters struct { +} + +type SourceControlObservation struct { +} + +type SourceControlParameters struct { + + // +kubebuilder:validation:Optional + Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` + + // +kubebuilder:validation:Optional + ManualIntegration *bool `json:"manualIntegration,omitempty" tf:"manual_integration,omitempty"` + + // +kubebuilder:validation:Optional + RepoURL *string `json:"repoUrl,omitempty" tf:"repo_url,omitempty"` + + // +kubebuilder:validation:Optional + RollbackEnabled *bool `json:"rollbackEnabled,omitempty" tf:"rollback_enabled,omitempty"` + + // +kubebuilder:validation:Optional + UseMercurial *bool `json:"useMercurial,omitempty" tf:"use_mercurial,omitempty"` +} + +type StorageAccountObservation struct { +} + +type StorageAccountParameters struct { + + // +kubebuilder:validation:Required + AccessKeySecretRef v1.SecretKeySelector `json:"accessKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ShareName *string `json:"shareName" tf:"share_name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type TwitterObservation struct { +} + +type TwitterParameters struct { + + // +kubebuilder:validation:Required + ConsumerKey *string `json:"consumerKey" tf:"consumer_key,omitempty"` + + // +kubebuilder:validation:Required + ConsumerSecretSecretRef v1.SecretKeySelector `json:"consumerSecretSecretRef" tf:"-"` +} + +// ServiceSpec defines the desired state of Service +type ServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceParameters `json:"forProvider"` +} + +// ServiceStatus defines the observed state of Service. +type ServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Service is the Schema for the Services API +// +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,azurejet} +type Service struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSpec `json:"spec"` + Status ServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceList contains a list of Services +type ServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Service `json:"items"` +} + +// Repository type metadata. +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) +) + +func init() { + SchemeBuilder.Register(&Service{}, &ServiceList{}) +} diff --git a/apis/app/v1alpha1/zz_serviceactiveslot_terraformed.go b/apis/app/v1alpha1/zz_serviceactiveslot_terraformed.go new file mode 100755 index 000000000..805f06fe9 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceactiveslot_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceActiveSlot +func (mg *ServiceActiveSlot) GetTerraformResourceType() string { + return "azurerm_app_service_active_slot" +} + +// GetConnectionDetailsMapping for this ServiceActiveSlot +func (tr *ServiceActiveSlot) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceActiveSlot +func (tr *ServiceActiveSlot) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceActiveSlot +func (tr *ServiceActiveSlot) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceActiveSlot +func (tr *ServiceActiveSlot) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceActiveSlot +func (tr *ServiceActiveSlot) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceActiveSlot using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceActiveSlot) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceActiveSlotParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceActiveSlot) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_serviceactiveslot_types.go b/apis/app/v1alpha1/zz_serviceactiveslot_types.go new file mode 100755 index 000000000..dff54f397 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceactiveslot_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceActiveSlotObservation struct { +} + +type ServiceActiveSlotParameters struct { + + // +kubebuilder:validation:Required + AppServiceName *string `json:"appServiceName" tf:"app_service_name,omitempty"` + + // +kubebuilder:validation:Required + AppServiceSlotName *string `json:"appServiceSlotName" tf:"app_service_slot_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ServiceActiveSlotSpec defines the desired state of ServiceActiveSlot +type ServiceActiveSlotSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceActiveSlotParameters `json:"forProvider"` +} + +// ServiceActiveSlotStatus defines the observed state of ServiceActiveSlot. +type ServiceActiveSlotStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceActiveSlotObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceActiveSlot is the Schema for the ServiceActiveSlots API +// +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,azurejet} +type ServiceActiveSlot struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceActiveSlotSpec `json:"spec"` + Status ServiceActiveSlotStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceActiveSlotList contains a list of ServiceActiveSlots +type ServiceActiveSlotList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceActiveSlot `json:"items"` +} + +// Repository type metadata. +var ( + ServiceActiveSlot_Kind = "ServiceActiveSlot" + ServiceActiveSlot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceActiveSlot_Kind}.String() + ServiceActiveSlot_KindAPIVersion = ServiceActiveSlot_Kind + "." + CRDGroupVersion.String() + ServiceActiveSlot_GroupVersionKind = CRDGroupVersion.WithKind(ServiceActiveSlot_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceActiveSlot{}, &ServiceActiveSlotList{}) +} diff --git a/apis/app/v1alpha1/zz_servicecertificate_terraformed.go b/apis/app/v1alpha1/zz_servicecertificate_terraformed.go new file mode 100755 index 000000000..0791a9e3e --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceCertificate +func (mg *ServiceCertificate) GetTerraformResourceType() string { + return "azurerm_app_service_certificate" +} + +// GetConnectionDetailsMapping for this ServiceCertificate +func (tr *ServiceCertificate) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef", "pfx_blob": "spec.forProvider.pfxBlobSecretRef"} +} + +// GetObservation of this ServiceCertificate +func (tr *ServiceCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceCertificate +func (tr *ServiceCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceCertificate +func (tr *ServiceCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceCertificate +func (tr *ServiceCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicecertificate_types.go b/apis/app/v1alpha1/zz_servicecertificate_types.go new file mode 100755 index 000000000..c356357f8 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecertificate_types.go @@ -0,0 +1,121 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceCertificateObservation struct { + ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` + + FriendlyName *string `json:"friendlyName,omitempty" tf:"friendly_name,omitempty"` + + HostNames []*string `json:"hostNames,omitempty" tf:"host_names,omitempty"` + + IssueDate *string `json:"issueDate,omitempty" tf:"issue_date,omitempty"` + + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + SubjectName *string `json:"subjectName,omitempty" tf:"subject_name,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ServiceCertificateParameters struct { + + // +kubebuilder:validation:Optional + AppServicePlanID *string `json:"appServicePlanId,omitempty" tf:"app_service_plan_id,omitempty"` + + // +kubebuilder:validation:Optional + HostingEnvironmentProfileID *string `json:"hostingEnvironmentProfileId,omitempty" tf:"hosting_environment_profile_id,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty" tf:"key_vault_secret_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + PfxBlobSecretRef *v1.SecretKeySelector `json:"pfxBlobSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServiceCertificateSpec defines the desired state of ServiceCertificate +type ServiceCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceCertificateParameters `json:"forProvider"` +} + +// ServiceCertificateStatus defines the observed state of ServiceCertificate. +type ServiceCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCertificate is the Schema for the ServiceCertificates API +// +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,azurejet} +type ServiceCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceCertificateSpec `json:"spec"` + Status ServiceCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCertificateList contains a list of ServiceCertificates +type ServiceCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceCertificate `json:"items"` +} + +// Repository type metadata. +var ( + ServiceCertificate_Kind = "ServiceCertificate" + ServiceCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceCertificate_Kind}.String() + ServiceCertificate_KindAPIVersion = ServiceCertificate_Kind + "." + CRDGroupVersion.String() + ServiceCertificate_GroupVersionKind = CRDGroupVersion.WithKind(ServiceCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceCertificate{}, &ServiceCertificateList{}) +} diff --git a/apis/app/v1alpha1/zz_servicecertificatebinding_terraformed.go b/apis/app/v1alpha1/zz_servicecertificatebinding_terraformed.go new file mode 100755 index 000000000..12a3706f1 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecertificatebinding_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceCertificateBinding +func (mg *ServiceCertificateBinding) GetTerraformResourceType() string { + return "azurerm_app_service_certificate_binding" +} + +// GetConnectionDetailsMapping for this ServiceCertificateBinding +func (tr *ServiceCertificateBinding) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceCertificateBinding +func (tr *ServiceCertificateBinding) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceCertificateBinding +func (tr *ServiceCertificateBinding) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceCertificateBinding +func (tr *ServiceCertificateBinding) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceCertificateBinding +func (tr *ServiceCertificateBinding) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceCertificateBinding using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceCertificateBinding) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceCertificateBindingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceCertificateBinding) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicecertificatebinding_types.go b/apis/app/v1alpha1/zz_servicecertificatebinding_types.go new file mode 100755 index 000000000..abf76468a --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecertificatebinding_types.go @@ -0,0 +1,95 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceCertificateBindingObservation struct { + AppServiceName *string `json:"appServiceName,omitempty" tf:"app_service_name,omitempty"` + + Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ServiceCertificateBindingParameters struct { + + // +kubebuilder:validation:Required + CertificateID *string `json:"certificateId" tf:"certificate_id,omitempty"` + + // +kubebuilder:validation:Required + HostnameBindingID *string `json:"hostnameBindingId" tf:"hostname_binding_id,omitempty"` + + // +kubebuilder:validation:Required + SslState *string `json:"sslState" tf:"ssl_state,omitempty"` +} + +// ServiceCertificateBindingSpec defines the desired state of ServiceCertificateBinding +type ServiceCertificateBindingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceCertificateBindingParameters `json:"forProvider"` +} + +// ServiceCertificateBindingStatus defines the observed state of ServiceCertificateBinding. +type ServiceCertificateBindingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceCertificateBindingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCertificateBinding is the Schema for the ServiceCertificateBindings API +// +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,azurejet} +type ServiceCertificateBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceCertificateBindingSpec `json:"spec"` + Status ServiceCertificateBindingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCertificateBindingList contains a list of ServiceCertificateBindings +type ServiceCertificateBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceCertificateBinding `json:"items"` +} + +// Repository type metadata. +var ( + ServiceCertificateBinding_Kind = "ServiceCertificateBinding" + ServiceCertificateBinding_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceCertificateBinding_Kind}.String() + ServiceCertificateBinding_KindAPIVersion = ServiceCertificateBinding_Kind + "." + CRDGroupVersion.String() + ServiceCertificateBinding_GroupVersionKind = CRDGroupVersion.WithKind(ServiceCertificateBinding_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceCertificateBinding{}, &ServiceCertificateBindingList{}) +} diff --git a/apis/app/v1alpha1/zz_servicecertificateorder_terraformed.go b/apis/app/v1alpha1/zz_servicecertificateorder_terraformed.go new file mode 100755 index 000000000..5014d2ca2 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecertificateorder_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceCertificateOrder +func (mg *ServiceCertificateOrder) GetTerraformResourceType() string { + return "azurerm_app_service_certificate_order" +} + +// GetConnectionDetailsMapping for this ServiceCertificateOrder +func (tr *ServiceCertificateOrder) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceCertificateOrder +func (tr *ServiceCertificateOrder) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceCertificateOrder +func (tr *ServiceCertificateOrder) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceCertificateOrder +func (tr *ServiceCertificateOrder) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceCertificateOrder +func (tr *ServiceCertificateOrder) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceCertificateOrder using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceCertificateOrder) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceCertificateOrderParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceCertificateOrder) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicecertificateorder_types.go b/apis/app/v1alpha1/zz_servicecertificateorder_types.go new file mode 100755 index 000000000..ce657af42 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecertificateorder_types.go @@ -0,0 +1,141 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CertificatesObservation struct { + CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"` + + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty" tf:"key_vault_secret_name,omitempty"` + + ProvisioningState *string `json:"provisioningState,omitempty" tf:"provisioning_state,omitempty"` +} + +type CertificatesParameters struct { +} + +type ServiceCertificateOrderObservation struct { + AppServiceCertificateNotRenewableReasons []*string `json:"appServiceCertificateNotRenewableReasons,omitempty" tf:"app_service_certificate_not_renewable_reasons,omitempty"` + + Certificates []CertificatesObservation `json:"certificates,omitempty" tf:"certificates,omitempty"` + + DomainVerificationToken *string `json:"domainVerificationToken,omitempty" tf:"domain_verification_token,omitempty"` + + ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` + + IntermediateThumbprint *string `json:"intermediateThumbprint,omitempty" tf:"intermediate_thumbprint,omitempty"` + + IsPrivateKeyExternal *bool `json:"isPrivateKeyExternal,omitempty" tf:"is_private_key_external,omitempty"` + + RootThumbprint *string `json:"rootThumbprint,omitempty" tf:"root_thumbprint,omitempty"` + + SignedCertificateThumbprint *string `json:"signedCertificateThumbprint,omitempty" tf:"signed_certificate_thumbprint,omitempty"` + + Status *string `json:"status,omitempty" tf:"status,omitempty"` +} + +type ServiceCertificateOrderParameters struct { + + // +kubebuilder:validation:Optional + AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew,omitempty"` + + // +kubebuilder:validation:Optional + Csr *string `json:"csr,omitempty" tf:"csr,omitempty"` + + // +kubebuilder:validation:Optional + DistinguishedName *string `json:"distinguishedName,omitempty" tf:"distinguished_name,omitempty"` + + // +kubebuilder:validation:Optional + KeySize *int64 `json:"keySize,omitempty" tf:"key_size,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProductType *string `json:"productType,omitempty" tf:"product_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ValidityInYears *int64 `json:"validityInYears,omitempty" tf:"validity_in_years,omitempty"` +} + +// ServiceCertificateOrderSpec defines the desired state of ServiceCertificateOrder +type ServiceCertificateOrderSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceCertificateOrderParameters `json:"forProvider"` +} + +// ServiceCertificateOrderStatus defines the observed state of ServiceCertificateOrder. +type ServiceCertificateOrderStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceCertificateOrderObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCertificateOrder is the Schema for the ServiceCertificateOrders API +// +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,azurejet} +type ServiceCertificateOrder struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceCertificateOrderSpec `json:"spec"` + Status ServiceCertificateOrderStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCertificateOrderList contains a list of ServiceCertificateOrders +type ServiceCertificateOrderList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceCertificateOrder `json:"items"` +} + +// Repository type metadata. +var ( + ServiceCertificateOrder_Kind = "ServiceCertificateOrder" + ServiceCertificateOrder_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceCertificateOrder_Kind}.String() + ServiceCertificateOrder_KindAPIVersion = ServiceCertificateOrder_Kind + "." + CRDGroupVersion.String() + ServiceCertificateOrder_GroupVersionKind = CRDGroupVersion.WithKind(ServiceCertificateOrder_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceCertificateOrder{}, &ServiceCertificateOrderList{}) +} diff --git a/apis/app/v1alpha1/zz_servicecustomhostnamebinding_terraformed.go b/apis/app/v1alpha1/zz_servicecustomhostnamebinding_terraformed.go new file mode 100755 index 000000000..2feabbcbf --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecustomhostnamebinding_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceCustomHostnameBinding +func (mg *ServiceCustomHostnameBinding) GetTerraformResourceType() string { + return "azurerm_app_service_custom_hostname_binding" +} + +// GetConnectionDetailsMapping for this ServiceCustomHostnameBinding +func (tr *ServiceCustomHostnameBinding) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceCustomHostnameBinding +func (tr *ServiceCustomHostnameBinding) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceCustomHostnameBinding +func (tr *ServiceCustomHostnameBinding) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceCustomHostnameBinding +func (tr *ServiceCustomHostnameBinding) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceCustomHostnameBinding +func (tr *ServiceCustomHostnameBinding) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceCustomHostnameBinding using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceCustomHostnameBinding) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceCustomHostnameBindingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceCustomHostnameBinding) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicecustomhostnamebinding_types.go b/apis/app/v1alpha1/zz_servicecustomhostnamebinding_types.go new file mode 100755 index 000000000..cdee99f08 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicecustomhostnamebinding_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceCustomHostnameBindingObservation struct { + VirtualIP *string `json:"virtualIp,omitempty" tf:"virtual_ip,omitempty"` +} + +type ServiceCustomHostnameBindingParameters struct { + + // +kubebuilder:validation:Required + AppServiceName *string `json:"appServiceName" tf:"app_service_name,omitempty"` + + // +kubebuilder:validation:Required + Hostname *string `json:"hostname" tf:"hostname,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SslState *string `json:"sslState,omitempty" tf:"ssl_state,omitempty"` + + // +kubebuilder:validation:Optional + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +// ServiceCustomHostnameBindingSpec defines the desired state of ServiceCustomHostnameBinding +type ServiceCustomHostnameBindingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceCustomHostnameBindingParameters `json:"forProvider"` +} + +// ServiceCustomHostnameBindingStatus defines the observed state of ServiceCustomHostnameBinding. +type ServiceCustomHostnameBindingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceCustomHostnameBindingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCustomHostnameBinding is the Schema for the ServiceCustomHostnameBindings API +// +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,azurejet} +type ServiceCustomHostnameBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceCustomHostnameBindingSpec `json:"spec"` + Status ServiceCustomHostnameBindingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceCustomHostnameBindingList contains a list of ServiceCustomHostnameBindings +type ServiceCustomHostnameBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceCustomHostnameBinding `json:"items"` +} + +// Repository type metadata. +var ( + ServiceCustomHostnameBinding_Kind = "ServiceCustomHostnameBinding" + ServiceCustomHostnameBinding_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceCustomHostnameBinding_Kind}.String() + ServiceCustomHostnameBinding_KindAPIVersion = ServiceCustomHostnameBinding_Kind + "." + CRDGroupVersion.String() + ServiceCustomHostnameBinding_GroupVersionKind = CRDGroupVersion.WithKind(ServiceCustomHostnameBinding_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceCustomHostnameBinding{}, &ServiceCustomHostnameBindingList{}) +} diff --git a/apis/app/v1alpha1/zz_serviceenvironment_terraformed.go b/apis/app/v1alpha1/zz_serviceenvironment_terraformed.go new file mode 100755 index 000000000..ea43d48b5 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceenvironment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceEnvironment +func (mg *ServiceEnvironment) GetTerraformResourceType() string { + return "azurerm_app_service_environment" +} + +// GetConnectionDetailsMapping for this ServiceEnvironment +func (tr *ServiceEnvironment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceEnvironment +func (tr *ServiceEnvironment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceEnvironment +func (tr *ServiceEnvironment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceEnvironment +func (tr *ServiceEnvironment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceEnvironment +func (tr *ServiceEnvironment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceEnvironment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceEnvironment) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceEnvironmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceEnvironment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_serviceenvironment_types.go b/apis/app/v1alpha1/zz_serviceenvironment_types.go new file mode 100755 index 000000000..4f74ec64c --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceenvironment_types.go @@ -0,0 +1,130 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ClusterSettingObservation struct { +} + +type ClusterSettingParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ServiceEnvironmentObservation struct { + InternalIPAddress *string `json:"internalIpAddress,omitempty" tf:"internal_ip_address,omitempty"` + + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + OutboundIPAddresses []*string `json:"outboundIpAddresses,omitempty" tf:"outbound_ip_addresses,omitempty"` + + ServiceIPAddress *string `json:"serviceIpAddress,omitempty" tf:"service_ip_address,omitempty"` +} + +type ServiceEnvironmentParameters struct { + + // +kubebuilder:validation:Optional + AllowedUserIPCidrs []*string `json:"allowedUserIpCidrs,omitempty" tf:"allowed_user_ip_cidrs,omitempty"` + + // +kubebuilder:validation:Optional + ClusterSetting []ClusterSettingParameters `json:"clusterSetting,omitempty" tf:"cluster_setting,omitempty"` + + // +kubebuilder:validation:Optional + FrontEndScaleFactor *int64 `json:"frontEndScaleFactor,omitempty" tf:"front_end_scale_factor,omitempty"` + + // +kubebuilder:validation:Optional + InternalLoadBalancingMode *string `json:"internalLoadBalancingMode,omitempty" tf:"internal_load_balancing_mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PricingTier *string `json:"pricingTier,omitempty" tf:"pricing_tier,omitempty"` + + // +kubebuilder:validation:Optional + ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + UserWhitelistedIPRanges []*string `json:"userWhitelistedIpRanges,omitempty" tf:"user_whitelisted_ip_ranges,omitempty"` +} + +// ServiceEnvironmentSpec defines the desired state of ServiceEnvironment +type ServiceEnvironmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceEnvironmentParameters `json:"forProvider"` +} + +// ServiceEnvironmentStatus defines the observed state of ServiceEnvironment. +type ServiceEnvironmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceEnvironmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceEnvironment is the Schema for the ServiceEnvironments API +// +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,azurejet} +type ServiceEnvironment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceEnvironmentSpec `json:"spec"` + Status ServiceEnvironmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceEnvironmentList contains a list of ServiceEnvironments +type ServiceEnvironmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceEnvironment `json:"items"` +} + +// Repository type metadata. +var ( + ServiceEnvironment_Kind = "ServiceEnvironment" + ServiceEnvironment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceEnvironment_Kind}.String() + ServiceEnvironment_KindAPIVersion = ServiceEnvironment_Kind + "." + CRDGroupVersion.String() + ServiceEnvironment_GroupVersionKind = CRDGroupVersion.WithKind(ServiceEnvironment_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceEnvironment{}, &ServiceEnvironmentList{}) +} diff --git a/apis/app/v1alpha1/zz_serviceenvironmentv3_terraformed.go b/apis/app/v1alpha1/zz_serviceenvironmentv3_terraformed.go new file mode 100755 index 000000000..a2333b2d9 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceenvironmentv3_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceEnvironmentV3 +func (mg *ServiceEnvironmentV3) GetTerraformResourceType() string { + return "azurerm_app_service_environment_v3" +} + +// GetConnectionDetailsMapping for this ServiceEnvironmentV3 +func (tr *ServiceEnvironmentV3) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceEnvironmentV3 +func (tr *ServiceEnvironmentV3) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceEnvironmentV3 +func (tr *ServiceEnvironmentV3) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceEnvironmentV3 +func (tr *ServiceEnvironmentV3) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceEnvironmentV3 +func (tr *ServiceEnvironmentV3) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceEnvironmentV3 using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceEnvironmentV3) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceEnvironmentV3Parameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceEnvironmentV3) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_serviceenvironmentv3_types.go b/apis/app/v1alpha1/zz_serviceenvironmentv3_types.go new file mode 100755 index 000000000..a75b22fdb --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceenvironmentv3_types.go @@ -0,0 +1,148 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InboundNetworkDependenciesObservation struct { + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` + + Ports []*string `json:"ports,omitempty" tf:"ports,omitempty"` +} + +type InboundNetworkDependenciesParameters struct { +} + +type ServiceEnvironmentV3ClusterSettingObservation struct { +} + +type ServiceEnvironmentV3ClusterSettingParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ServiceEnvironmentV3Observation struct { + DNSSuffix *string `json:"dnsSuffix,omitempty" tf:"dns_suffix,omitempty"` + + ExternalInboundIPAddresses []*string `json:"externalInboundIpAddresses,omitempty" tf:"external_inbound_ip_addresses,omitempty"` + + IPSslAddressCount *int64 `json:"ipSslAddressCount,omitempty" tf:"ip_ssl_address_count,omitempty"` + + InboundNetworkDependencies []InboundNetworkDependenciesObservation `json:"inboundNetworkDependencies,omitempty" tf:"inbound_network_dependencies,omitempty"` + + InternalInboundIPAddresses []*string `json:"internalInboundIpAddresses,omitempty" tf:"internal_inbound_ip_addresses,omitempty"` + + LinuxOutboundIPAddresses []*string `json:"linuxOutboundIpAddresses,omitempty" tf:"linux_outbound_ip_addresses,omitempty"` + + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + PricingTier *string `json:"pricingTier,omitempty" tf:"pricing_tier,omitempty"` + + WindowsOutboundIPAddresses []*string `json:"windowsOutboundIpAddresses,omitempty" tf:"windows_outbound_ip_addresses,omitempty"` +} + +type ServiceEnvironmentV3Parameters struct { + + // +kubebuilder:validation:Optional + AllowNewPrivateEndpointConnections *bool `json:"allowNewPrivateEndpointConnections,omitempty" tf:"allow_new_private_endpoint_connections,omitempty"` + + // +kubebuilder:validation:Optional + ClusterSetting []ServiceEnvironmentV3ClusterSettingParameters `json:"clusterSetting,omitempty" tf:"cluster_setting,omitempty"` + + // +kubebuilder:validation:Optional + DedicatedHostCount *int64 `json:"dedicatedHostCount,omitempty" tf:"dedicated_host_count,omitempty"` + + // +kubebuilder:validation:Optional + InternalLoadBalancingMode *string `json:"internalLoadBalancingMode,omitempty" tf:"internal_load_balancing_mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +// ServiceEnvironmentV3Spec defines the desired state of ServiceEnvironmentV3 +type ServiceEnvironmentV3Spec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceEnvironmentV3Parameters `json:"forProvider"` +} + +// ServiceEnvironmentV3Status defines the observed state of ServiceEnvironmentV3. +type ServiceEnvironmentV3Status struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceEnvironmentV3Observation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceEnvironmentV3 is the Schema for the ServiceEnvironmentV3s API +// +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,azurejet} +type ServiceEnvironmentV3 struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceEnvironmentV3Spec `json:"spec"` + Status ServiceEnvironmentV3Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceEnvironmentV3List contains a list of ServiceEnvironmentV3s +type ServiceEnvironmentV3List struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceEnvironmentV3 `json:"items"` +} + +// Repository type metadata. +var ( + ServiceEnvironmentV3_Kind = "ServiceEnvironmentV3" + ServiceEnvironmentV3_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceEnvironmentV3_Kind}.String() + ServiceEnvironmentV3_KindAPIVersion = ServiceEnvironmentV3_Kind + "." + CRDGroupVersion.String() + ServiceEnvironmentV3_GroupVersionKind = CRDGroupVersion.WithKind(ServiceEnvironmentV3_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceEnvironmentV3{}, &ServiceEnvironmentV3List{}) +} diff --git a/apis/app/v1alpha1/zz_servicehybridconnection_terraformed.go b/apis/app/v1alpha1/zz_servicehybridconnection_terraformed.go new file mode 100755 index 000000000..1c10a1106 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicehybridconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceHybridConnection +func (mg *ServiceHybridConnection) GetTerraformResourceType() string { + return "azurerm_app_service_hybrid_connection" +} + +// GetConnectionDetailsMapping for this ServiceHybridConnection +func (tr *ServiceHybridConnection) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"send_key_value": "status.atProvider.sendKeyValue"} +} + +// GetObservation of this ServiceHybridConnection +func (tr *ServiceHybridConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceHybridConnection +func (tr *ServiceHybridConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceHybridConnection +func (tr *ServiceHybridConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceHybridConnection +func (tr *ServiceHybridConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceHybridConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceHybridConnection) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceHybridConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceHybridConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicehybridconnection_types.go b/apis/app/v1alpha1/zz_servicehybridconnection_types.go new file mode 100755 index 000000000..8b4b1e9e0 --- /dev/null +++ b/apis/app/v1alpha1/zz_servicehybridconnection_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceHybridConnectionObservation struct { + NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"` + + RelayName *string `json:"relayName,omitempty" tf:"relay_name,omitempty"` + + ServiceBusNamespace *string `json:"serviceBusNamespace,omitempty" tf:"service_bus_namespace,omitempty"` + + ServiceBusSuffix *string `json:"serviceBusSuffix,omitempty" tf:"service_bus_suffix,omitempty"` +} + +type ServiceHybridConnectionParameters struct { + + // +kubebuilder:validation:Required + AppServiceName *string `json:"appServiceName" tf:"app_service_name,omitempty"` + + // +kubebuilder:validation:Required + Hostname *string `json:"hostname" tf:"hostname,omitempty"` + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + RelayID *string `json:"relayId" tf:"relay_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SendKeyName *string `json:"sendKeyName,omitempty" tf:"send_key_name,omitempty"` +} + +// ServiceHybridConnectionSpec defines the desired state of ServiceHybridConnection +type ServiceHybridConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceHybridConnectionParameters `json:"forProvider"` +} + +// ServiceHybridConnectionStatus defines the observed state of ServiceHybridConnection. +type ServiceHybridConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceHybridConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceHybridConnection is the Schema for the ServiceHybridConnections API +// +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,azurejet} +type ServiceHybridConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceHybridConnectionSpec `json:"spec"` + Status ServiceHybridConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceHybridConnectionList contains a list of ServiceHybridConnections +type ServiceHybridConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceHybridConnection `json:"items"` +} + +// Repository type metadata. +var ( + ServiceHybridConnection_Kind = "ServiceHybridConnection" + ServiceHybridConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceHybridConnection_Kind}.String() + ServiceHybridConnection_KindAPIVersion = ServiceHybridConnection_Kind + "." + CRDGroupVersion.String() + ServiceHybridConnection_GroupVersionKind = CRDGroupVersion.WithKind(ServiceHybridConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceHybridConnection{}, &ServiceHybridConnectionList{}) +} diff --git a/apis/app/v1alpha1/zz_servicemanagedcertificate_terraformed.go b/apis/app/v1alpha1/zz_servicemanagedcertificate_terraformed.go new file mode 100755 index 000000000..a4311450a --- /dev/null +++ b/apis/app/v1alpha1/zz_servicemanagedcertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceManagedCertificate +func (mg *ServiceManagedCertificate) GetTerraformResourceType() string { + return "azurerm_app_service_managed_certificate" +} + +// GetConnectionDetailsMapping for this ServiceManagedCertificate +func (tr *ServiceManagedCertificate) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceManagedCertificate +func (tr *ServiceManagedCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceManagedCertificate +func (tr *ServiceManagedCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceManagedCertificate +func (tr *ServiceManagedCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceManagedCertificate +func (tr *ServiceManagedCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceManagedCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceManagedCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceManagedCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceManagedCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicemanagedcertificate_types.go b/apis/app/v1alpha1/zz_servicemanagedcertificate_types.go new file mode 100755 index 000000000..758d06ada --- /dev/null +++ b/apis/app/v1alpha1/zz_servicemanagedcertificate_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceManagedCertificateObservation struct { + CanonicalName *string `json:"canonicalName,omitempty" tf:"canonical_name,omitempty"` + + ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` + + FriendlyName *string `json:"friendlyName,omitempty" tf:"friendly_name,omitempty"` + + HostNames []*string `json:"hostNames,omitempty" tf:"host_names,omitempty"` + + IssueDate *string `json:"issueDate,omitempty" tf:"issue_date,omitempty"` + + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + SubjectName *string `json:"subjectName,omitempty" tf:"subject_name,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type ServiceManagedCertificateParameters struct { + + // +kubebuilder:validation:Required + CustomHostnameBindingID *string `json:"customHostnameBindingId" tf:"custom_hostname_binding_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServiceManagedCertificateSpec defines the desired state of ServiceManagedCertificate +type ServiceManagedCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceManagedCertificateParameters `json:"forProvider"` +} + +// ServiceManagedCertificateStatus defines the observed state of ServiceManagedCertificate. +type ServiceManagedCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceManagedCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceManagedCertificate is the Schema for the ServiceManagedCertificates API +// +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,azurejet} +type ServiceManagedCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceManagedCertificateSpec `json:"spec"` + Status ServiceManagedCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceManagedCertificateList contains a list of ServiceManagedCertificates +type ServiceManagedCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceManagedCertificate `json:"items"` +} + +// Repository type metadata. +var ( + ServiceManagedCertificate_Kind = "ServiceManagedCertificate" + ServiceManagedCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceManagedCertificate_Kind}.String() + ServiceManagedCertificate_KindAPIVersion = ServiceManagedCertificate_Kind + "." + CRDGroupVersion.String() + ServiceManagedCertificate_GroupVersionKind = CRDGroupVersion.WithKind(ServiceManagedCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceManagedCertificate{}, &ServiceManagedCertificateList{}) +} diff --git a/apis/app/v1alpha1/zz_serviceplan_terraformed.go b/apis/app/v1alpha1/zz_serviceplan_terraformed.go new file mode 100755 index 000000000..93a1880b3 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceplan_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServicePlan +func (mg *ServicePlan) GetTerraformResourceType() string { + return "azurerm_app_service_plan" +} + +// GetConnectionDetailsMapping for this ServicePlan +func (tr *ServicePlan) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServicePlan +func (tr *ServicePlan) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServicePlan +func (tr *ServicePlan) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServicePlan +func (tr *ServicePlan) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServicePlan +func (tr *ServicePlan) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServicePlan using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServicePlan) LateInitialize(attrs []byte) (bool, error) { + params := &ServicePlanParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServicePlan) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_serviceplan_types.go b/apis/app/v1alpha1/zz_serviceplan_types.go new file mode 100755 index 000000000..f16c9e2ef --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceplan_types.go @@ -0,0 +1,133 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServicePlanObservation struct { + MaximumNumberOfWorkers *int64 `json:"maximumNumberOfWorkers,omitempty" tf:"maximum_number_of_workers,omitempty"` +} + +type ServicePlanParameters struct { + + // +kubebuilder:validation:Optional + AppServiceEnvironmentID *string `json:"appServiceEnvironmentId,omitempty" tf:"app_service_environment_id,omitempty"` + + // +kubebuilder:validation:Optional + IsXenon *bool `json:"isXenon,omitempty" tf:"is_xenon,omitempty"` + + // +kubebuilder:validation:Optional + Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaximumElasticWorkerCount *int64 `json:"maximumElasticWorkerCount,omitempty" tf:"maximum_elastic_worker_count,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PerSiteScaling *bool `json:"perSiteScaling,omitempty" tf:"per_site_scaling,omitempty"` + + // +kubebuilder:validation:Optional + Reserved *bool `json:"reserved,omitempty" tf:"reserved,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku []SkuParameters `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +type SkuObservation struct { +} + +type SkuParameters struct { + + // +kubebuilder:validation:Optional + Capacity *int64 `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Required + Size *string `json:"size" tf:"size,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +// ServicePlanSpec defines the desired state of ServicePlan +type ServicePlanSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServicePlanParameters `json:"forProvider"` +} + +// ServicePlanStatus defines the observed state of ServicePlan. +type ServicePlanStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServicePlanObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicePlan is the Schema for the ServicePlans API +// +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,azurejet} +type ServicePlan struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServicePlanSpec `json:"spec"` + Status ServicePlanStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicePlanList contains a list of ServicePlans +type ServicePlanList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServicePlan `json:"items"` +} + +// Repository type metadata. +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) +) + +func init() { + SchemeBuilder.Register(&ServicePlan{}, &ServicePlanList{}) +} diff --git a/apis/app/v1alpha1/zz_serviceslot_terraformed.go b/apis/app/v1alpha1/zz_serviceslot_terraformed.go new file mode 100755 index 000000000..77c105f17 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceslot_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceSlot +func (mg *ServiceSlot) GetTerraformResourceType() string { + return "azurerm_app_service_slot" +} + +// GetConnectionDetailsMapping for this ServiceSlot +func (tr *ServiceSlot) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"auth_settings[*].active_directory[*].client_secret": "spec.forProvider.authSettings[*].activeDirectory[*].clientSecretSecretRef", "auth_settings[*].facebook[*].app_secret": "spec.forProvider.authSettings[*].facebook[*].appSecretSecretRef", "auth_settings[*].google[*].client_secret": "spec.forProvider.authSettings[*].google[*].clientSecretSecretRef", "auth_settings[*].microsoft[*].client_secret": "spec.forProvider.authSettings[*].microsoft[*].clientSecretSecretRef", "auth_settings[*].twitter[*].consumer_secret": "spec.forProvider.authSettings[*].twitter[*].consumerSecretSecretRef", "connection_string[*].value": "spec.forProvider.connectionString[*].valueSecretRef", "logs[*].application_logs[*].azure_blob_storage[*].sas_url": "spec.forProvider.logs[*].applicationLogs[*].azureBlobStorage[*].sasURLSecretRef", "logs[*].http_logs[*].azure_blob_storage[*].sas_url": "spec.forProvider.logs[*].httpLogs[*].azureBlobStorage[*].sasURLSecretRef", "site_credential[*].password": "status.atProvider.siteCredential[*].password"} +} + +// GetObservation of this ServiceSlot +func (tr *ServiceSlot) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceSlot +func (tr *ServiceSlot) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceSlot +func (tr *ServiceSlot) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceSlot +func (tr *ServiceSlot) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceSlot using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceSlot) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceSlotParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceSlot) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_serviceslot_types.go b/apis/app/v1alpha1/zz_serviceslot_types.go new file mode 100755 index 000000000..052565640 --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceslot_types.go @@ -0,0 +1,568 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationLogsAzureBlobStorageObservation struct { +} + +type ApplicationLogsAzureBlobStorageParameters struct { + + // +kubebuilder:validation:Required + Level *string `json:"level" tf:"level,omitempty"` + + // +kubebuilder:validation:Required + RetentionInDays *int64 `json:"retentionInDays" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + SasURLSecretRef v1.SecretKeySelector `json:"sasUrlSecretRef" tf:"-"` +} + +type AuthSettingsActiveDirectoryObservation struct { +} + +type AuthSettingsActiveDirectoryParameters struct { + + // +kubebuilder:validation:Optional + AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Optional + ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` +} + +type AuthSettingsFacebookObservation struct { +} + +type AuthSettingsFacebookParameters struct { + + // +kubebuilder:validation:Required + AppID *string `json:"appId" tf:"app_id,omitempty"` + + // +kubebuilder:validation:Required + AppSecretSecretRef v1.SecretKeySelector `json:"appSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type AuthSettingsGoogleObservation struct { +} + +type AuthSettingsGoogleParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type AuthSettingsMicrosoftObservation struct { +} + +type AuthSettingsMicrosoftParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type AuthSettingsTwitterObservation struct { +} + +type AuthSettingsTwitterParameters struct { + + // +kubebuilder:validation:Required + ConsumerKey *string `json:"consumerKey" tf:"consumer_key,omitempty"` + + // +kubebuilder:validation:Required + ConsumerSecretSecretRef v1.SecretKeySelector `json:"consumerSecretSecretRef" tf:"-"` +} + +type HTTPLogsFileSystemObservation struct { +} + +type HTTPLogsFileSystemParameters struct { + + // +kubebuilder:validation:Required + RetentionInDays *int64 `json:"retentionInDays" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + RetentionInMb *int64 `json:"retentionInMb" tf:"retention_in_mb,omitempty"` +} + +type IPRestrictionHeadersObservation struct { +} + +type IPRestrictionHeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type LogsApplicationLogsObservation struct { +} + +type LogsApplicationLogsParameters struct { + + // +kubebuilder:validation:Optional + AzureBlobStorage []ApplicationLogsAzureBlobStorageParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"` + + // +kubebuilder:validation:Optional + FileSystemLevel *string `json:"fileSystemLevel,omitempty" tf:"file_system_level,omitempty"` +} + +type LogsHTTPLogsAzureBlobStorageObservation struct { +} + +type LogsHTTPLogsAzureBlobStorageParameters struct { + + // +kubebuilder:validation:Required + RetentionInDays *int64 `json:"retentionInDays" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + SasURLSecretRef v1.SecretKeySelector `json:"sasUrlSecretRef" tf:"-"` +} + +type LogsHTTPLogsObservation struct { +} + +type LogsHTTPLogsParameters struct { + + // +kubebuilder:validation:Optional + AzureBlobStorage []LogsHTTPLogsAzureBlobStorageParameters `json:"azureBlobStorage,omitempty" tf:"azure_blob_storage,omitempty"` + + // +kubebuilder:validation:Optional + FileSystem []HTTPLogsFileSystemParameters `json:"fileSystem,omitempty" tf:"file_system,omitempty"` +} + +type ServiceSlotAuthSettingsObservation struct { +} + +type ServiceSlotAuthSettingsParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectory []AuthSettingsActiveDirectoryParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalLoginParams map[string]*string `json:"additionalLoginParams,omitempty" tf:"additional_login_params,omitempty"` + + // +kubebuilder:validation:Optional + AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"` + + // +kubebuilder:validation:Optional + DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Facebook []AuthSettingsFacebookParameters `json:"facebook,omitempty" tf:"facebook,omitempty"` + + // +kubebuilder:validation:Optional + Google []AuthSettingsGoogleParameters `json:"google,omitempty" tf:"google,omitempty"` + + // +kubebuilder:validation:Optional + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + // +kubebuilder:validation:Optional + Microsoft []AuthSettingsMicrosoftParameters `json:"microsoft,omitempty" tf:"microsoft,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"` + + // +kubebuilder:validation:Optional + TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"` + + // +kubebuilder:validation:Optional + TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Twitter []AuthSettingsTwitterParameters `json:"twitter,omitempty" tf:"twitter,omitempty"` + + // +kubebuilder:validation:Optional + UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"` +} + +type ServiceSlotConnectionStringObservation struct { +} + +type ServiceSlotConnectionStringParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` +} + +type ServiceSlotIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type ServiceSlotIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ServiceSlotLogsObservation struct { +} + +type ServiceSlotLogsParameters struct { + + // +kubebuilder:validation:Optional + ApplicationLogs []LogsApplicationLogsParameters `json:"applicationLogs,omitempty" tf:"application_logs,omitempty"` + + // +kubebuilder:validation:Optional + DetailedErrorMessagesEnabled *bool `json:"detailedErrorMessagesEnabled,omitempty" tf:"detailed_error_messages_enabled,omitempty"` + + // +kubebuilder:validation:Optional + FailedRequestTracingEnabled *bool `json:"failedRequestTracingEnabled,omitempty" tf:"failed_request_tracing_enabled,omitempty"` + + // +kubebuilder:validation:Optional + HTTPLogs []LogsHTTPLogsParameters `json:"httpLogs,omitempty" tf:"http_logs,omitempty"` +} + +type ServiceSlotObservation struct { + DefaultSiteHostname *string `json:"defaultSiteHostname,omitempty" tf:"default_site_hostname,omitempty"` + + SiteCredential []ServiceSlotSiteCredentialObservation `json:"siteCredential,omitempty" tf:"site_credential,omitempty"` +} + +type ServiceSlotParameters struct { + + // +kubebuilder:validation:Required + AppServiceName *string `json:"appServiceName" tf:"app_service_name,omitempty"` + + // +kubebuilder:validation:Required + AppServicePlanID *string `json:"appServicePlanId" tf:"app_service_plan_id,omitempty"` + + // +kubebuilder:validation:Optional + AppSettings map[string]*string `json:"appSettings,omitempty" tf:"app_settings,omitempty"` + + // +kubebuilder:validation:Optional + AuthSettings []ServiceSlotAuthSettingsParameters `json:"authSettings,omitempty" tf:"auth_settings,omitempty"` + + // +kubebuilder:validation:Optional + ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty" tf:"client_affinity_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionString []ServiceSlotConnectionStringParameters `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + HTTPSOnly *bool `json:"httpsOnly,omitempty" tf:"https_only,omitempty"` + + // +kubebuilder:validation:Optional + Identity []ServiceSlotIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Logs []ServiceSlotLogsParameters `json:"logs,omitempty" tf:"logs,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SiteConfig []ServiceSlotSiteConfigParameters `json:"siteConfig,omitempty" tf:"site_config,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type ServiceSlotSiteConfigObservation struct { +} + +type ServiceSlotSiteConfigParameters struct { + + // +kubebuilder:validation:Optional + AcrUseManagedIdentityCredentials *bool `json:"acrUseManagedIdentityCredentials,omitempty" tf:"acr_use_managed_identity_credentials,omitempty"` + + // +kubebuilder:validation:Optional + AcrUserManagedIdentityClientID *string `json:"acrUserManagedIdentityClientId,omitempty" tf:"acr_user_managed_identity_client_id,omitempty"` + + // +kubebuilder:validation:Optional + AlwaysOn *bool `json:"alwaysOn,omitempty" tf:"always_on,omitempty"` + + // +kubebuilder:validation:Optional + AppCommandLine *string `json:"appCommandLine,omitempty" tf:"app_command_line,omitempty"` + + // +kubebuilder:validation:Optional + AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty" tf:"auto_swap_slot_name,omitempty"` + + // +kubebuilder:validation:Optional + Cors []SiteConfigCorsParameters `json:"cors,omitempty" tf:"cors,omitempty"` + + // +kubebuilder:validation:Optional + DefaultDocuments []*string `json:"defaultDocuments,omitempty" tf:"default_documents,omitempty"` + + // +kubebuilder:validation:Optional + DotnetFrameworkVersion *string `json:"dotnetFrameworkVersion,omitempty" tf:"dotnet_framework_version,omitempty"` + + // +kubebuilder:validation:Optional + FtpsState *string `json:"ftpsState,omitempty" tf:"ftps_state,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"` + + // +kubebuilder:validation:Optional + Http2Enabled *bool `json:"http2Enabled,omitempty" tf:"http2_enabled,omitempty"` + + // +kubebuilder:validation:Optional + IPRestriction []SiteConfigIPRestrictionParameters `json:"ipRestriction,omitempty" tf:"ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + JavaContainer *string `json:"javaContainer,omitempty" tf:"java_container,omitempty"` + + // +kubebuilder:validation:Optional + JavaContainerVersion *string `json:"javaContainerVersion,omitempty" tf:"java_container_version,omitempty"` + + // +kubebuilder:validation:Optional + JavaVersion *string `json:"javaVersion,omitempty" tf:"java_version,omitempty"` + + // +kubebuilder:validation:Optional + LinuxFxVersion *string `json:"linuxFxVersion,omitempty" tf:"linux_fx_version,omitempty"` + + // +kubebuilder:validation:Optional + LocalMysqlEnabled *bool `json:"localMysqlEnabled,omitempty" tf:"local_mysql_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ManagedPipelineMode *string `json:"managedPipelineMode,omitempty" tf:"managed_pipeline_mode,omitempty"` + + // +kubebuilder:validation:Optional + MinTLSVersion *string `json:"minTlsVersion,omitempty" tf:"min_tls_version,omitempty"` + + // +kubebuilder:validation:Optional + NumberOfWorkers *int64 `json:"numberOfWorkers,omitempty" tf:"number_of_workers,omitempty"` + + // +kubebuilder:validation:Optional + PhpVersion *string `json:"phpVersion,omitempty" tf:"php_version,omitempty"` + + // +kubebuilder:validation:Optional + PythonVersion *string `json:"pythonVersion,omitempty" tf:"python_version,omitempty"` + + // +kubebuilder:validation:Optional + RemoteDebuggingEnabled *bool `json:"remoteDebuggingEnabled,omitempty" tf:"remote_debugging_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RemoteDebuggingVersion *string `json:"remoteDebuggingVersion,omitempty" tf:"remote_debugging_version,omitempty"` + + // +kubebuilder:validation:Optional + ScmIPRestriction []SiteConfigScmIPRestrictionParameters `json:"scmIpRestriction,omitempty" tf:"scm_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + ScmType *string `json:"scmType,omitempty" tf:"scm_type,omitempty"` + + // +kubebuilder:validation:Optional + ScmUseMainIPRestriction *bool `json:"scmUseMainIpRestriction,omitempty" tf:"scm_use_main_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty" tf:"use_32_bit_worker_process,omitempty"` + + // +kubebuilder:validation:Optional + VnetRouteAllEnabled *bool `json:"vnetRouteAllEnabled,omitempty" tf:"vnet_route_all_enabled,omitempty"` + + // +kubebuilder:validation:Optional + WebsocketsEnabled *bool `json:"websocketsEnabled,omitempty" tf:"websockets_enabled,omitempty"` + + // +kubebuilder:validation:Optional + WindowsFxVersion *string `json:"windowsFxVersion,omitempty" tf:"windows_fx_version,omitempty"` +} + +type ServiceSlotSiteCredentialObservation struct { + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +type ServiceSlotSiteCredentialParameters struct { +} + +type SiteConfigCorsObservation struct { +} + +type SiteConfigCorsParameters struct { + + // +kubebuilder:validation:Required + AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"` + + // +kubebuilder:validation:Optional + SupportCredentials *bool `json:"supportCredentials,omitempty" tf:"support_credentials,omitempty"` +} + +type SiteConfigIPRestrictionObservation struct { +} + +type SiteConfigIPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []IPRestrictionHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +type SiteConfigScmIPRestrictionHeadersObservation struct { +} + +type SiteConfigScmIPRestrictionHeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type SiteConfigScmIPRestrictionObservation struct { +} + +type SiteConfigScmIPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []SiteConfigScmIPRestrictionHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +// ServiceSlotSpec defines the desired state of ServiceSlot +type ServiceSlotSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceSlotParameters `json:"forProvider"` +} + +// ServiceSlotStatus defines the observed state of ServiceSlot. +type ServiceSlotStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceSlotObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceSlot is the Schema for the ServiceSlots API +// +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,azurejet} +type ServiceSlot struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSlotSpec `json:"spec"` + Status ServiceSlotStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceSlotList contains a list of ServiceSlots +type ServiceSlotList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceSlot `json:"items"` +} + +// Repository type metadata. +var ( + ServiceSlot_Kind = "ServiceSlot" + ServiceSlot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceSlot_Kind}.String() + ServiceSlot_KindAPIVersion = ServiceSlot_Kind + "." + CRDGroupVersion.String() + ServiceSlot_GroupVersionKind = CRDGroupVersion.WithKind(ServiceSlot_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceSlot{}, &ServiceSlotList{}) +} diff --git a/apis/app/v1alpha1/zz_serviceslotvirtualnetworkswiftconnection_terraformed.go b/apis/app/v1alpha1/zz_serviceslotvirtualnetworkswiftconnection_terraformed.go new file mode 100755 index 000000000..713447c8f --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceslotvirtualnetworkswiftconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceSlotVirtualNetworkSwiftConnection +func (mg *ServiceSlotVirtualNetworkSwiftConnection) GetTerraformResourceType() string { + return "azurerm_app_service_slot_virtual_network_swift_connection" +} + +// GetConnectionDetailsMapping for this ServiceSlotVirtualNetworkSwiftConnection +func (tr *ServiceSlotVirtualNetworkSwiftConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceSlotVirtualNetworkSwiftConnection +func (tr *ServiceSlotVirtualNetworkSwiftConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceSlotVirtualNetworkSwiftConnection +func (tr *ServiceSlotVirtualNetworkSwiftConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceSlotVirtualNetworkSwiftConnection +func (tr *ServiceSlotVirtualNetworkSwiftConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceSlotVirtualNetworkSwiftConnection +func (tr *ServiceSlotVirtualNetworkSwiftConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceSlotVirtualNetworkSwiftConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceSlotVirtualNetworkSwiftConnection) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceSlotVirtualNetworkSwiftConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceSlotVirtualNetworkSwiftConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_serviceslotvirtualnetworkswiftconnection_types.go b/apis/app/v1alpha1/zz_serviceslotvirtualnetworkswiftconnection_types.go new file mode 100755 index 000000000..24a7d63bf --- /dev/null +++ b/apis/app/v1alpha1/zz_serviceslotvirtualnetworkswiftconnection_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceSlotVirtualNetworkSwiftConnectionObservation struct { +} + +type ServiceSlotVirtualNetworkSwiftConnectionParameters struct { + + // +kubebuilder:validation:Required + AppServiceID *string `json:"appServiceId" tf:"app_service_id,omitempty"` + + // +kubebuilder:validation:Required + SlotName *string `json:"slotName" tf:"slot_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// ServiceSlotVirtualNetworkSwiftConnectionSpec defines the desired state of ServiceSlotVirtualNetworkSwiftConnection +type ServiceSlotVirtualNetworkSwiftConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceSlotVirtualNetworkSwiftConnectionParameters `json:"forProvider"` +} + +// ServiceSlotVirtualNetworkSwiftConnectionStatus defines the observed state of ServiceSlotVirtualNetworkSwiftConnection. +type ServiceSlotVirtualNetworkSwiftConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceSlotVirtualNetworkSwiftConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceSlotVirtualNetworkSwiftConnection is the Schema for the ServiceSlotVirtualNetworkSwiftConnections API +// +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,azurejet} +type ServiceSlotVirtualNetworkSwiftConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSlotVirtualNetworkSwiftConnectionSpec `json:"spec"` + Status ServiceSlotVirtualNetworkSwiftConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceSlotVirtualNetworkSwiftConnectionList contains a list of ServiceSlotVirtualNetworkSwiftConnections +type ServiceSlotVirtualNetworkSwiftConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceSlotVirtualNetworkSwiftConnection `json:"items"` +} + +// Repository type metadata. +var ( + ServiceSlotVirtualNetworkSwiftConnection_Kind = "ServiceSlotVirtualNetworkSwiftConnection" + ServiceSlotVirtualNetworkSwiftConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceSlotVirtualNetworkSwiftConnection_Kind}.String() + ServiceSlotVirtualNetworkSwiftConnection_KindAPIVersion = ServiceSlotVirtualNetworkSwiftConnection_Kind + "." + CRDGroupVersion.String() + ServiceSlotVirtualNetworkSwiftConnection_GroupVersionKind = CRDGroupVersion.WithKind(ServiceSlotVirtualNetworkSwiftConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceSlotVirtualNetworkSwiftConnection{}, &ServiceSlotVirtualNetworkSwiftConnectionList{}) +} diff --git a/apis/app/v1alpha1/zz_servicesourcecontroltoken_terraformed.go b/apis/app/v1alpha1/zz_servicesourcecontroltoken_terraformed.go new file mode 100755 index 000000000..433c21eee --- /dev/null +++ b/apis/app/v1alpha1/zz_servicesourcecontroltoken_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceSourceControlToken +func (mg *ServiceSourceControlToken) GetTerraformResourceType() string { + return "azurerm_app_service_source_control_token" +} + +// GetConnectionDetailsMapping for this ServiceSourceControlToken +func (tr *ServiceSourceControlToken) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"token": "spec.forProvider.tokenSecretRef", "token_secret": "spec.forProvider.tokenSecretSecretRef"} +} + +// GetObservation of this ServiceSourceControlToken +func (tr *ServiceSourceControlToken) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceSourceControlToken +func (tr *ServiceSourceControlToken) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceSourceControlToken +func (tr *ServiceSourceControlToken) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceSourceControlToken +func (tr *ServiceSourceControlToken) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceSourceControlToken using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceSourceControlToken) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceSourceControlTokenParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceSourceControlToken) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicesourcecontroltoken_types.go b/apis/app/v1alpha1/zz_servicesourcecontroltoken_types.go new file mode 100755 index 000000000..db0ce09de --- /dev/null +++ b/apis/app/v1alpha1/zz_servicesourcecontroltoken_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceSourceControlTokenObservation struct { +} + +type ServiceSourceControlTokenParameters struct { + + // +kubebuilder:validation:Required + TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + TokenSecretSecretRef *v1.SecretKeySelector `json:"tokenSecretSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// ServiceSourceControlTokenSpec defines the desired state of ServiceSourceControlToken +type ServiceSourceControlTokenSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceSourceControlTokenParameters `json:"forProvider"` +} + +// ServiceSourceControlTokenStatus defines the observed state of ServiceSourceControlToken. +type ServiceSourceControlTokenStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceSourceControlTokenObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceSourceControlToken is the Schema for the ServiceSourceControlTokens API +// +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,azurejet} +type ServiceSourceControlToken struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSourceControlTokenSpec `json:"spec"` + Status ServiceSourceControlTokenStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceSourceControlTokenList contains a list of ServiceSourceControlTokens +type ServiceSourceControlTokenList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceSourceControlToken `json:"items"` +} + +// Repository type metadata. +var ( + ServiceSourceControlToken_Kind = "ServiceSourceControlToken" + ServiceSourceControlToken_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceSourceControlToken_Kind}.String() + ServiceSourceControlToken_KindAPIVersion = ServiceSourceControlToken_Kind + "." + CRDGroupVersion.String() + ServiceSourceControlToken_GroupVersionKind = CRDGroupVersion.WithKind(ServiceSourceControlToken_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceSourceControlToken{}, &ServiceSourceControlTokenList{}) +} diff --git a/apis/app/v1alpha1/zz_servicevirtualnetworkswiftconnection_terraformed.go b/apis/app/v1alpha1/zz_servicevirtualnetworkswiftconnection_terraformed.go new file mode 100755 index 000000000..65917a31f --- /dev/null +++ b/apis/app/v1alpha1/zz_servicevirtualnetworkswiftconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceVirtualNetworkSwiftConnection +func (mg *ServiceVirtualNetworkSwiftConnection) GetTerraformResourceType() string { + return "azurerm_app_service_virtual_network_swift_connection" +} + +// GetConnectionDetailsMapping for this ServiceVirtualNetworkSwiftConnection +func (tr *ServiceVirtualNetworkSwiftConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceVirtualNetworkSwiftConnection +func (tr *ServiceVirtualNetworkSwiftConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceVirtualNetworkSwiftConnection +func (tr *ServiceVirtualNetworkSwiftConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceVirtualNetworkSwiftConnection +func (tr *ServiceVirtualNetworkSwiftConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceVirtualNetworkSwiftConnection +func (tr *ServiceVirtualNetworkSwiftConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceVirtualNetworkSwiftConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceVirtualNetworkSwiftConnection) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceVirtualNetworkSwiftConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceVirtualNetworkSwiftConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/app/v1alpha1/zz_servicevirtualnetworkswiftconnection_types.go b/apis/app/v1alpha1/zz_servicevirtualnetworkswiftconnection_types.go new file mode 100755 index 000000000..e9411b9be --- /dev/null +++ b/apis/app/v1alpha1/zz_servicevirtualnetworkswiftconnection_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceVirtualNetworkSwiftConnectionObservation struct { +} + +type ServiceVirtualNetworkSwiftConnectionParameters struct { + + // +kubebuilder:validation:Required + AppServiceID *string `json:"appServiceId" tf:"app_service_id,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// ServiceVirtualNetworkSwiftConnectionSpec defines the desired state of ServiceVirtualNetworkSwiftConnection +type ServiceVirtualNetworkSwiftConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceVirtualNetworkSwiftConnectionParameters `json:"forProvider"` +} + +// ServiceVirtualNetworkSwiftConnectionStatus defines the observed state of ServiceVirtualNetworkSwiftConnection. +type ServiceVirtualNetworkSwiftConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceVirtualNetworkSwiftConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceVirtualNetworkSwiftConnection is the Schema for the ServiceVirtualNetworkSwiftConnections API +// +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,azurejet} +type ServiceVirtualNetworkSwiftConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceVirtualNetworkSwiftConnectionSpec `json:"spec"` + Status ServiceVirtualNetworkSwiftConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceVirtualNetworkSwiftConnectionList contains a list of ServiceVirtualNetworkSwiftConnections +type ServiceVirtualNetworkSwiftConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceVirtualNetworkSwiftConnection `json:"items"` +} + +// Repository type metadata. +var ( + ServiceVirtualNetworkSwiftConnection_Kind = "ServiceVirtualNetworkSwiftConnection" + ServiceVirtualNetworkSwiftConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceVirtualNetworkSwiftConnection_Kind}.String() + ServiceVirtualNetworkSwiftConnection_KindAPIVersion = ServiceVirtualNetworkSwiftConnection_Kind + "." + CRDGroupVersion.String() + ServiceVirtualNetworkSwiftConnection_GroupVersionKind = CRDGroupVersion.WithKind(ServiceVirtualNetworkSwiftConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceVirtualNetworkSwiftConnection{}, &ServiceVirtualNetworkSwiftConnectionList{}) +} diff --git a/apis/application/v1alpha1/zz_gateway_terraformed.go b/apis/application/v1alpha1/zz_gateway_terraformed.go new file mode 100755 index 000000000..968839e90 --- /dev/null +++ b/apis/application/v1alpha1/zz_gateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Gateway +func (mg *Gateway) GetTerraformResourceType() string { + return "azurerm_application_gateway" +} + +// GetConnectionDetailsMapping for this Gateway +func (tr *Gateway) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"authentication_certificate[*].data": "spec.forProvider.authenticationCertificate[*].dataSecretRef", "ssl_certificate[*].data": "spec.forProvider.sslCertificate[*].dataSecretRef", "ssl_certificate[*].password": "spec.forProvider.sslCertificate[*].passwordSecretRef", "trusted_client_certificate[*].data": "spec.forProvider.trustedClientCertificate[*].dataSecretRef", "trusted_root_certificate[*].data": "spec.forProvider.trustedRootCertificate[*].dataSecretRef"} +} + +// GetObservation of this Gateway +func (tr *Gateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Gateway +func (tr *Gateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Gateway +func (tr *Gateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Gateway +func (tr *Gateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Gateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Gateway) LateInitialize(attrs []byte) (bool, error) { + params := &GatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Gateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_gateway_types.go b/apis/application/v1alpha1/zz_gateway_types.go new file mode 100755 index 000000000..8d6e01015 --- /dev/null +++ b/apis/application/v1alpha1/zz_gateway_types.go @@ -0,0 +1,881 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AuthenticationCertificateObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type AuthenticationCertificateParameters struct { + + // +kubebuilder:validation:Required + DataSecretRef v1.SecretKeySelector `json:"dataSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type AutoscaleConfigurationObservation struct { +} + +type AutoscaleConfigurationParameters struct { + + // +kubebuilder:validation:Optional + MaxCapacity *int64 `json:"maxCapacity,omitempty" tf:"max_capacity,omitempty"` + + // +kubebuilder:validation:Required + MinCapacity *int64 `json:"minCapacity" tf:"min_capacity,omitempty"` +} + +type BackendAddressPoolObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type BackendAddressPoolParameters struct { + + // +kubebuilder:validation:Optional + Fqdns []*string `json:"fqdns,omitempty" tf:"fqdns,omitempty"` + + // +kubebuilder:validation:Optional + IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type BackendHTTPSettingsAuthenticationCertificateObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type BackendHTTPSettingsAuthenticationCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type BackendHTTPSettingsObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + ProbeID *string `json:"probeId,omitempty" tf:"probe_id,omitempty"` +} + +type BackendHTTPSettingsParameters struct { + + // +kubebuilder:validation:Optional + AffinityCookieName *string `json:"affinityCookieName,omitempty" tf:"affinity_cookie_name,omitempty"` + + // +kubebuilder:validation:Optional + AuthenticationCertificate []BackendHTTPSettingsAuthenticationCertificateParameters `json:"authenticationCertificate,omitempty" tf:"authentication_certificate,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionDraining []ConnectionDrainingParameters `json:"connectionDraining,omitempty" tf:"connection_draining,omitempty"` + + // +kubebuilder:validation:Required + CookieBasedAffinity *string `json:"cookieBasedAffinity" tf:"cookie_based_affinity,omitempty"` + + // +kubebuilder:validation:Optional + HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty" tf:"pick_host_name_from_backend_address,omitempty"` + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Optional + ProbeName *string `json:"probeName,omitempty" tf:"probe_name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + RequestTimeout *int64 `json:"requestTimeout,omitempty" tf:"request_timeout,omitempty"` + + // +kubebuilder:validation:Optional + TrustedRootCertificateNames []*string `json:"trustedRootCertificateNames,omitempty" tf:"trusted_root_certificate_names,omitempty"` +} + +type ConditionObservation struct { +} + +type ConditionParameters struct { + + // +kubebuilder:validation:Optional + IgnoreCase *bool `json:"ignoreCase,omitempty" tf:"ignore_case,omitempty"` + + // +kubebuilder:validation:Optional + Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"` + + // +kubebuilder:validation:Required + Pattern *string `json:"pattern" tf:"pattern,omitempty"` + + // +kubebuilder:validation:Required + Variable *string `json:"variable" tf:"variable,omitempty"` +} + +type ConnectionDrainingObservation struct { +} + +type ConnectionDrainingParameters struct { + + // +kubebuilder:validation:Required + DrainTimeoutSec *int64 `json:"drainTimeoutSec" tf:"drain_timeout_sec,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` +} + +type CustomErrorConfigurationObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type CustomErrorConfigurationParameters struct { + + // +kubebuilder:validation:Required + CustomErrorPageURL *string `json:"customErrorPageUrl" tf:"custom_error_page_url,omitempty"` + + // +kubebuilder:validation:Required + StatusCode *string `json:"statusCode" tf:"status_code,omitempty"` +} + +type DisabledRuleGroupObservation struct { +} + +type DisabledRuleGroupParameters struct { + + // +kubebuilder:validation:Required + RuleGroupName *string `json:"ruleGroupName" tf:"rule_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Rules []*int64 `json:"rules,omitempty" tf:"rules,omitempty"` +} + +type ExclusionObservation struct { +} + +type ExclusionParameters struct { + + // +kubebuilder:validation:Required + MatchVariable *string `json:"matchVariable" tf:"match_variable,omitempty"` + + // +kubebuilder:validation:Optional + Selector *string `json:"selector,omitempty" tf:"selector,omitempty"` + + // +kubebuilder:validation:Optional + SelectorMatchOperator *string `json:"selectorMatchOperator,omitempty" tf:"selector_match_operator,omitempty"` +} + +type FrontendIPConfigurationObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type FrontendIPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddressAllocation *string `json:"privateIpAddressAllocation,omitempty" tf:"private_ip_address_allocation,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` +} + +type FrontendPortObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type FrontendPortParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` +} + +type GatewayIPConfigurationObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type GatewayIPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +type GatewayObservation struct { +} + +type GatewayParameters struct { + + // +kubebuilder:validation:Optional + AuthenticationCertificate []AuthenticationCertificateParameters `json:"authenticationCertificate,omitempty" tf:"authentication_certificate,omitempty"` + + // +kubebuilder:validation:Optional + AutoscaleConfiguration []AutoscaleConfigurationParameters `json:"autoscaleConfiguration,omitempty" tf:"autoscale_configuration,omitempty"` + + // +kubebuilder:validation:Required + BackendAddressPool []BackendAddressPoolParameters `json:"backendAddressPool" tf:"backend_address_pool,omitempty"` + + // +kubebuilder:validation:Required + BackendHTTPSettings []BackendHTTPSettingsParameters `json:"backendHttpSettings" tf:"backend_http_settings,omitempty"` + + // +kubebuilder:validation:Optional + CustomErrorConfiguration []CustomErrorConfigurationParameters `json:"customErrorConfiguration,omitempty" tf:"custom_error_configuration,omitempty"` + + // +kubebuilder:validation:Optional + EnableHttp2 *bool `json:"enableHttp2,omitempty" tf:"enable_http2,omitempty"` + + // +kubebuilder:validation:Optional + FirewallPolicyID *string `json:"firewallPolicyId,omitempty" tf:"firewall_policy_id,omitempty"` + + // +kubebuilder:validation:Required + FrontendIPConfiguration []FrontendIPConfigurationParameters `json:"frontendIpConfiguration" tf:"frontend_ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + FrontendPort []FrontendPortParameters `json:"frontendPort" tf:"frontend_port,omitempty"` + + // +kubebuilder:validation:Required + GatewayIPConfiguration []GatewayIPConfigurationParameters `json:"gatewayIpConfiguration" tf:"gateway_ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + HTTPListener []HTTPListenerParameters `json:"httpListener" tf:"http_listener,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Probe []ProbeParameters `json:"probe,omitempty" tf:"probe,omitempty"` + + // +kubebuilder:validation:Optional + RedirectConfiguration []RedirectConfigurationParameters `json:"redirectConfiguration,omitempty" tf:"redirect_configuration,omitempty"` + + // +kubebuilder:validation:Required + RequestRoutingRule []RequestRoutingRuleParameters `json:"requestRoutingRule" tf:"request_routing_rule,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RewriteRuleSet []RewriteRuleSetParameters `json:"rewriteRuleSet,omitempty" tf:"rewrite_rule_set,omitempty"` + + // +kubebuilder:validation:Required + Sku []SkuParameters `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + SslCertificate []SslCertificateParameters `json:"sslCertificate,omitempty" tf:"ssl_certificate,omitempty"` + + // +kubebuilder:validation:Optional + SslPolicy []SslPolicyParameters `json:"sslPolicy,omitempty" tf:"ssl_policy,omitempty"` + + // +kubebuilder:validation:Optional + SslProfile []SslProfileParameters `json:"sslProfile,omitempty" tf:"ssl_profile,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TrustedClientCertificate []TrustedClientCertificateParameters `json:"trustedClientCertificate,omitempty" tf:"trusted_client_certificate,omitempty"` + + // +kubebuilder:validation:Optional + TrustedRootCertificate []TrustedRootCertificateParameters `json:"trustedRootCertificate,omitempty" tf:"trusted_root_certificate,omitempty"` + + // +kubebuilder:validation:Optional + URLPathMap []URLPathMapParameters `json:"urlPathMap,omitempty" tf:"url_path_map,omitempty"` + + // +kubebuilder:validation:Optional + WafConfiguration []WafConfigurationParameters `json:"wafConfiguration,omitempty" tf:"waf_configuration,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type HTTPListenerCustomErrorConfigurationObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type HTTPListenerCustomErrorConfigurationParameters struct { + + // +kubebuilder:validation:Required + CustomErrorPageURL *string `json:"customErrorPageUrl" tf:"custom_error_page_url,omitempty"` + + // +kubebuilder:validation:Required + StatusCode *string `json:"statusCode" tf:"status_code,omitempty"` +} + +type HTTPListenerObservation struct { + FrontendIPConfigurationID *string `json:"frontendIpConfigurationId,omitempty" tf:"frontend_ip_configuration_id,omitempty"` + + FrontendPortID *string `json:"frontendPortId,omitempty" tf:"frontend_port_id,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + SslCertificateID *string `json:"sslCertificateId,omitempty" tf:"ssl_certificate_id,omitempty"` + + SslProfileID *string `json:"sslProfileId,omitempty" tf:"ssl_profile_id,omitempty"` +} + +type HTTPListenerParameters struct { + + // +kubebuilder:validation:Optional + CustomErrorConfiguration []HTTPListenerCustomErrorConfigurationParameters `json:"customErrorConfiguration,omitempty" tf:"custom_error_configuration,omitempty"` + + // +kubebuilder:validation:Optional + FirewallPolicyID *string `json:"firewallPolicyId,omitempty" tf:"firewall_policy_id,omitempty"` + + // +kubebuilder:validation:Required + FrontendIPConfigurationName *string `json:"frontendIpConfigurationName" tf:"frontend_ip_configuration_name,omitempty"` + + // +kubebuilder:validation:Required + FrontendPortName *string `json:"frontendPortName" tf:"frontend_port_name,omitempty"` + + // +kubebuilder:validation:Optional + HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + HostNames []*string `json:"hostNames,omitempty" tf:"host_names,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + RequireSni *bool `json:"requireSni,omitempty" tf:"require_sni,omitempty"` + + // +kubebuilder:validation:Optional + SslCertificateName *string `json:"sslCertificateName,omitempty" tf:"ssl_certificate_name,omitempty"` + + // +kubebuilder:validation:Optional + SslProfileName *string `json:"sslProfileName,omitempty" tf:"ssl_profile_name,omitempty"` +} + +type IdentityObservation struct { +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + IdentityIds []*string `json:"identityIds" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type MatchObservation struct { +} + +type MatchParameters struct { + + // +kubebuilder:validation:Optional + Body *string `json:"body,omitempty" tf:"body,omitempty"` + + // +kubebuilder:validation:Optional + StatusCode []*string `json:"statusCode,omitempty" tf:"status_code,omitempty"` +} + +type PathRuleObservation struct { + BackendAddressPoolID *string `json:"backendAddressPoolId,omitempty" tf:"backend_address_pool_id,omitempty"` + + BackendHTTPSettingsID *string `json:"backendHttpSettingsId,omitempty" tf:"backend_http_settings_id,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + RedirectConfigurationID *string `json:"redirectConfigurationId,omitempty" tf:"redirect_configuration_id,omitempty"` + + RewriteRuleSetID *string `json:"rewriteRuleSetId,omitempty" tf:"rewrite_rule_set_id,omitempty"` +} + +type PathRuleParameters struct { + + // +kubebuilder:validation:Optional + BackendAddressPoolName *string `json:"backendAddressPoolName,omitempty" tf:"backend_address_pool_name,omitempty"` + + // +kubebuilder:validation:Optional + BackendHTTPSettingsName *string `json:"backendHttpSettingsName,omitempty" tf:"backend_http_settings_name,omitempty"` + + // +kubebuilder:validation:Optional + FirewallPolicyID *string `json:"firewallPolicyId,omitempty" tf:"firewall_policy_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Paths []*string `json:"paths" tf:"paths,omitempty"` + + // +kubebuilder:validation:Optional + RedirectConfigurationName *string `json:"redirectConfigurationName,omitempty" tf:"redirect_configuration_name,omitempty"` + + // +kubebuilder:validation:Optional + RewriteRuleSetName *string `json:"rewriteRuleSetName,omitempty" tf:"rewrite_rule_set_name,omitempty"` +} + +type ProbeObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type ProbeParameters struct { + + // +kubebuilder:validation:Optional + Host *string `json:"host,omitempty" tf:"host,omitempty"` + + // +kubebuilder:validation:Required + Interval *int64 `json:"interval" tf:"interval,omitempty"` + + // +kubebuilder:validation:Optional + Match []MatchParameters `json:"match,omitempty" tf:"match,omitempty"` + + // +kubebuilder:validation:Optional + MinimumServers *int64 `json:"minimumServers,omitempty" tf:"minimum_servers,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty" tf:"pick_host_name_from_backend_http_settings,omitempty"` + + // +kubebuilder:validation:Optional + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Required + Timeout *int64 `json:"timeout" tf:"timeout,omitempty"` + + // +kubebuilder:validation:Required + UnhealthyThreshold *int64 `json:"unhealthyThreshold" tf:"unhealthy_threshold,omitempty"` +} + +type RedirectConfigurationObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + TargetListenerID *string `json:"targetListenerId,omitempty" tf:"target_listener_id,omitempty"` +} + +type RedirectConfigurationParameters struct { + + // +kubebuilder:validation:Optional + IncludePath *bool `json:"includePath,omitempty" tf:"include_path,omitempty"` + + // +kubebuilder:validation:Optional + IncludeQueryString *bool `json:"includeQueryString,omitempty" tf:"include_query_string,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RedirectType *string `json:"redirectType" tf:"redirect_type,omitempty"` + + // +kubebuilder:validation:Optional + TargetListenerName *string `json:"targetListenerName,omitempty" tf:"target_listener_name,omitempty"` + + // +kubebuilder:validation:Optional + TargetURL *string `json:"targetUrl,omitempty" tf:"target_url,omitempty"` +} + +type RequestHeaderConfigurationObservation struct { +} + +type RequestHeaderConfigurationParameters struct { + + // +kubebuilder:validation:Required + HeaderName *string `json:"headerName" tf:"header_name,omitempty"` + + // +kubebuilder:validation:Required + HeaderValue *string `json:"headerValue" tf:"header_value,omitempty"` +} + +type RequestRoutingRuleObservation struct { + BackendAddressPoolID *string `json:"backendAddressPoolId,omitempty" tf:"backend_address_pool_id,omitempty"` + + BackendHTTPSettingsID *string `json:"backendHttpSettingsId,omitempty" tf:"backend_http_settings_id,omitempty"` + + HTTPListenerID *string `json:"httpListenerId,omitempty" tf:"http_listener_id,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + RedirectConfigurationID *string `json:"redirectConfigurationId,omitempty" tf:"redirect_configuration_id,omitempty"` + + RewriteRuleSetID *string `json:"rewriteRuleSetId,omitempty" tf:"rewrite_rule_set_id,omitempty"` + + URLPathMapID *string `json:"urlPathMapId,omitempty" tf:"url_path_map_id,omitempty"` +} + +type RequestRoutingRuleParameters struct { + + // +kubebuilder:validation:Optional + BackendAddressPoolName *string `json:"backendAddressPoolName,omitempty" tf:"backend_address_pool_name,omitempty"` + + // +kubebuilder:validation:Optional + BackendHTTPSettingsName *string `json:"backendHttpSettingsName,omitempty" tf:"backend_http_settings_name,omitempty"` + + // +kubebuilder:validation:Required + HTTPListenerName *string `json:"httpListenerName" tf:"http_listener_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RedirectConfigurationName *string `json:"redirectConfigurationName,omitempty" tf:"redirect_configuration_name,omitempty"` + + // +kubebuilder:validation:Optional + RewriteRuleSetName *string `json:"rewriteRuleSetName,omitempty" tf:"rewrite_rule_set_name,omitempty"` + + // +kubebuilder:validation:Required + RuleType *string `json:"ruleType" tf:"rule_type,omitempty"` + + // +kubebuilder:validation:Optional + URLPathMapName *string `json:"urlPathMapName,omitempty" tf:"url_path_map_name,omitempty"` +} + +type ResponseHeaderConfigurationObservation struct { +} + +type ResponseHeaderConfigurationParameters struct { + + // +kubebuilder:validation:Required + HeaderName *string `json:"headerName" tf:"header_name,omitempty"` + + // +kubebuilder:validation:Required + HeaderValue *string `json:"headerValue" tf:"header_value,omitempty"` +} + +type RewriteRuleObservation struct { +} + +type RewriteRuleParameters struct { + + // +kubebuilder:validation:Optional + Condition []ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RequestHeaderConfiguration []RequestHeaderConfigurationParameters `json:"requestHeaderConfiguration,omitempty" tf:"request_header_configuration,omitempty"` + + // +kubebuilder:validation:Optional + ResponseHeaderConfiguration []ResponseHeaderConfigurationParameters `json:"responseHeaderConfiguration,omitempty" tf:"response_header_configuration,omitempty"` + + // +kubebuilder:validation:Required + RuleSequence *int64 `json:"ruleSequence" tf:"rule_sequence,omitempty"` + + // +kubebuilder:validation:Optional + URL []URLParameters `json:"url,omitempty" tf:"url,omitempty"` +} + +type RewriteRuleSetObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type RewriteRuleSetParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RewriteRule []RewriteRuleParameters `json:"rewriteRule,omitempty" tf:"rewrite_rule,omitempty"` +} + +type SkuObservation struct { +} + +type SkuParameters struct { + + // +kubebuilder:validation:Optional + Capacity *int64 `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type SslCertificateObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + PublicCertData *string `json:"publicCertData,omitempty" tf:"public_cert_data,omitempty"` +} + +type SslCertificateParameters struct { + + // +kubebuilder:validation:Optional + DataSecretRef *v1.SecretKeySelector `json:"dataSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty" tf:"key_vault_secret_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` +} + +type SslPolicyObservation struct { +} + +type SslPolicyParameters struct { + + // +kubebuilder:validation:Optional + CipherSuites []*string `json:"cipherSuites,omitempty" tf:"cipher_suites,omitempty"` + + // +kubebuilder:validation:Optional + DisabledProtocols []*string `json:"disabledProtocols,omitempty" tf:"disabled_protocols,omitempty"` + + // +kubebuilder:validation:Optional + MinProtocolVersion *string `json:"minProtocolVersion,omitempty" tf:"min_protocol_version,omitempty"` + + // +kubebuilder:validation:Optional + PolicyName *string `json:"policyName,omitempty" tf:"policy_name,omitempty"` + + // +kubebuilder:validation:Optional + PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"` +} + +type SslProfileObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type SslProfileParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SslPolicy []SslProfileSslPolicyParameters `json:"sslPolicy,omitempty" tf:"ssl_policy,omitempty"` + + // +kubebuilder:validation:Optional + TrustedClientCertificateNames []*string `json:"trustedClientCertificateNames,omitempty" tf:"trusted_client_certificate_names,omitempty"` + + // +kubebuilder:validation:Optional + VerifyClientCertIssuerDn *bool `json:"verifyClientCertIssuerDn,omitempty" tf:"verify_client_cert_issuer_dn,omitempty"` +} + +type SslProfileSslPolicyObservation struct { +} + +type SslProfileSslPolicyParameters struct { + + // +kubebuilder:validation:Optional + CipherSuites []*string `json:"cipherSuites,omitempty" tf:"cipher_suites,omitempty"` + + // +kubebuilder:validation:Optional + DisabledProtocols []*string `json:"disabledProtocols,omitempty" tf:"disabled_protocols,omitempty"` + + // +kubebuilder:validation:Optional + MinProtocolVersion *string `json:"minProtocolVersion,omitempty" tf:"min_protocol_version,omitempty"` + + // +kubebuilder:validation:Optional + PolicyName *string `json:"policyName,omitempty" tf:"policy_name,omitempty"` + + // +kubebuilder:validation:Optional + PolicyType *string `json:"policyType,omitempty" tf:"policy_type,omitempty"` +} + +type TrustedClientCertificateObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type TrustedClientCertificateParameters struct { + + // +kubebuilder:validation:Required + DataSecretRef v1.SecretKeySelector `json:"dataSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type TrustedRootCertificateObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type TrustedRootCertificateParameters struct { + + // +kubebuilder:validation:Required + DataSecretRef v1.SecretKeySelector `json:"dataSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type URLObservation struct { +} + +type URLParameters struct { + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + QueryString *string `json:"queryString,omitempty" tf:"query_string,omitempty"` + + // +kubebuilder:validation:Optional + Reroute *bool `json:"reroute,omitempty" tf:"reroute,omitempty"` +} + +type URLPathMapObservation struct { + DefaultBackendAddressPoolID *string `json:"defaultBackendAddressPoolId,omitempty" tf:"default_backend_address_pool_id,omitempty"` + + DefaultBackendHTTPSettingsID *string `json:"defaultBackendHttpSettingsId,omitempty" tf:"default_backend_http_settings_id,omitempty"` + + DefaultRedirectConfigurationID *string `json:"defaultRedirectConfigurationId,omitempty" tf:"default_redirect_configuration_id,omitempty"` + + DefaultRewriteRuleSetID *string `json:"defaultRewriteRuleSetId,omitempty" tf:"default_rewrite_rule_set_id,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type URLPathMapParameters struct { + + // +kubebuilder:validation:Optional + DefaultBackendAddressPoolName *string `json:"defaultBackendAddressPoolName,omitempty" tf:"default_backend_address_pool_name,omitempty"` + + // +kubebuilder:validation:Optional + DefaultBackendHTTPSettingsName *string `json:"defaultBackendHttpSettingsName,omitempty" tf:"default_backend_http_settings_name,omitempty"` + + // +kubebuilder:validation:Optional + DefaultRedirectConfigurationName *string `json:"defaultRedirectConfigurationName,omitempty" tf:"default_redirect_configuration_name,omitempty"` + + // +kubebuilder:validation:Optional + DefaultRewriteRuleSetName *string `json:"defaultRewriteRuleSetName,omitempty" tf:"default_rewrite_rule_set_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PathRule []PathRuleParameters `json:"pathRule" tf:"path_rule,omitempty"` +} + +type WafConfigurationObservation struct { +} + +type WafConfigurationParameters struct { + + // +kubebuilder:validation:Optional + DisabledRuleGroup []DisabledRuleGroupParameters `json:"disabledRuleGroup,omitempty" tf:"disabled_rule_group,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Exclusion []ExclusionParameters `json:"exclusion,omitempty" tf:"exclusion,omitempty"` + + // +kubebuilder:validation:Optional + FileUploadLimitMb *int64 `json:"fileUploadLimitMb,omitempty" tf:"file_upload_limit_mb,omitempty"` + + // +kubebuilder:validation:Required + FirewallMode *string `json:"firewallMode" tf:"firewall_mode,omitempty"` + + // +kubebuilder:validation:Optional + MaxRequestBodySizeKb *int64 `json:"maxRequestBodySizeKb,omitempty" tf:"max_request_body_size_kb,omitempty"` + + // +kubebuilder:validation:Optional + RequestBodyCheck *bool `json:"requestBodyCheck,omitempty" tf:"request_body_check,omitempty"` + + // +kubebuilder:validation:Optional + RuleSetType *string `json:"ruleSetType,omitempty" tf:"rule_set_type,omitempty"` + + // +kubebuilder:validation:Required + RuleSetVersion *string `json:"ruleSetVersion" tf:"rule_set_version,omitempty"` +} + +// GatewaySpec defines the desired state of Gateway +type GatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GatewayParameters `json:"forProvider"` +} + +// GatewayStatus defines the observed state of Gateway. +type GatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Gateway is the Schema for the Gateways API +// +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,azurejet} +type Gateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GatewaySpec `json:"spec"` + Status GatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayList contains a list of Gateways +type GatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Gateway `json:"items"` +} + +// Repository type metadata. +var ( + Gateway_Kind = "Gateway" + Gateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Gateway_Kind}.String() + Gateway_KindAPIVersion = Gateway_Kind + "." + CRDGroupVersion.String() + Gateway_GroupVersionKind = CRDGroupVersion.WithKind(Gateway_Kind) +) + +func init() { + SchemeBuilder.Register(&Gateway{}, &GatewayList{}) +} diff --git a/apis/application/v1alpha1/zz_generated.deepcopy.go b/apis/application/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..16f941f93 --- /dev/null +++ b/apis/application/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,3473 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationCertificateObservation) DeepCopyInto(out *AuthenticationCertificateObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationCertificateObservation. +func (in *AuthenticationCertificateObservation) DeepCopy() *AuthenticationCertificateObservation { + if in == nil { + return nil + } + out := new(AuthenticationCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationCertificateParameters) DeepCopyInto(out *AuthenticationCertificateParameters) { + *out = *in + out.DataSecretRef = in.DataSecretRef + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationCertificateParameters. +func (in *AuthenticationCertificateParameters) DeepCopy() *AuthenticationCertificateParameters { + if in == nil { + return nil + } + out := new(AuthenticationCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleConfigurationObservation) DeepCopyInto(out *AutoscaleConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleConfigurationObservation. +func (in *AutoscaleConfigurationObservation) DeepCopy() *AutoscaleConfigurationObservation { + if in == nil { + return nil + } + out := new(AutoscaleConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleConfigurationParameters) DeepCopyInto(out *AutoscaleConfigurationParameters) { + *out = *in + if in.MaxCapacity != nil { + in, out := &in.MaxCapacity, &out.MaxCapacity + *out = new(int64) + **out = **in + } + if in.MinCapacity != nil { + in, out := &in.MinCapacity, &out.MinCapacity + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleConfigurationParameters. +func (in *AutoscaleConfigurationParameters) DeepCopy() *AutoscaleConfigurationParameters { + if in == nil { + return nil + } + out := new(AutoscaleConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolObservation) DeepCopyInto(out *BackendAddressPoolObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolObservation. +func (in *BackendAddressPoolObservation) DeepCopy() *BackendAddressPoolObservation { + if in == nil { + return nil + } + out := new(BackendAddressPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolParameters) DeepCopyInto(out *BackendAddressPoolParameters) { + *out = *in + if in.Fqdns != nil { + in, out := &in.Fqdns, &out.Fqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPAddresses != nil { + in, out := &in.IPAddresses, &out.IPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolParameters. +func (in *BackendAddressPoolParameters) DeepCopy() *BackendAddressPoolParameters { + if in == nil { + return nil + } + out := new(BackendAddressPoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendHTTPSettingsAuthenticationCertificateObservation) DeepCopyInto(out *BackendHTTPSettingsAuthenticationCertificateObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendHTTPSettingsAuthenticationCertificateObservation. +func (in *BackendHTTPSettingsAuthenticationCertificateObservation) DeepCopy() *BackendHTTPSettingsAuthenticationCertificateObservation { + if in == nil { + return nil + } + out := new(BackendHTTPSettingsAuthenticationCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendHTTPSettingsAuthenticationCertificateParameters) DeepCopyInto(out *BackendHTTPSettingsAuthenticationCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendHTTPSettingsAuthenticationCertificateParameters. +func (in *BackendHTTPSettingsAuthenticationCertificateParameters) DeepCopy() *BackendHTTPSettingsAuthenticationCertificateParameters { + if in == nil { + return nil + } + out := new(BackendHTTPSettingsAuthenticationCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendHTTPSettingsObservation) DeepCopyInto(out *BackendHTTPSettingsObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.ProbeID != nil { + in, out := &in.ProbeID, &out.ProbeID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendHTTPSettingsObservation. +func (in *BackendHTTPSettingsObservation) DeepCopy() *BackendHTTPSettingsObservation { + if in == nil { + return nil + } + out := new(BackendHTTPSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendHTTPSettingsParameters) DeepCopyInto(out *BackendHTTPSettingsParameters) { + *out = *in + if in.AffinityCookieName != nil { + in, out := &in.AffinityCookieName, &out.AffinityCookieName + *out = new(string) + **out = **in + } + if in.AuthenticationCertificate != nil { + in, out := &in.AuthenticationCertificate, &out.AuthenticationCertificate + *out = make([]BackendHTTPSettingsAuthenticationCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ConnectionDraining != nil { + in, out := &in.ConnectionDraining, &out.ConnectionDraining + *out = make([]ConnectionDrainingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CookieBasedAffinity != nil { + in, out := &in.CookieBasedAffinity, &out.CookieBasedAffinity + *out = new(string) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.PickHostNameFromBackendAddress != nil { + in, out := &in.PickHostNameFromBackendAddress, &out.PickHostNameFromBackendAddress + *out = new(bool) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.ProbeName != nil { + in, out := &in.ProbeName, &out.ProbeName + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.RequestTimeout != nil { + in, out := &in.RequestTimeout, &out.RequestTimeout + *out = new(int64) + **out = **in + } + if in.TrustedRootCertificateNames != nil { + in, out := &in.TrustedRootCertificateNames, &out.TrustedRootCertificateNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendHTTPSettingsParameters. +func (in *BackendHTTPSettingsParameters) DeepCopy() *BackendHTTPSettingsParameters { + if in == nil { + return nil + } + out := new(BackendHTTPSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionObservation. +func (in *ConditionObservation) DeepCopy() *ConditionObservation { + if in == nil { + return nil + } + out := new(ConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters) { + *out = *in + if in.IgnoreCase != nil { + in, out := &in.IgnoreCase, &out.IgnoreCase + *out = new(bool) + **out = **in + } + if in.Negate != nil { + in, out := &in.Negate, &out.Negate + *out = new(bool) + **out = **in + } + if in.Pattern != nil { + in, out := &in.Pattern, &out.Pattern + *out = new(string) + **out = **in + } + if in.Variable != nil { + in, out := &in.Variable, &out.Variable + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionParameters. +func (in *ConditionParameters) DeepCopy() *ConditionParameters { + if in == nil { + return nil + } + out := new(ConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionDrainingObservation) DeepCopyInto(out *ConnectionDrainingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionDrainingObservation. +func (in *ConnectionDrainingObservation) DeepCopy() *ConnectionDrainingObservation { + if in == nil { + return nil + } + out := new(ConnectionDrainingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionDrainingParameters) DeepCopyInto(out *ConnectionDrainingParameters) { + *out = *in + if in.DrainTimeoutSec != nil { + in, out := &in.DrainTimeoutSec, &out.DrainTimeoutSec + *out = new(int64) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionDrainingParameters. +func (in *ConnectionDrainingParameters) DeepCopy() *ConnectionDrainingParameters { + if in == nil { + return nil + } + out := new(ConnectionDrainingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomErrorConfigurationObservation) DeepCopyInto(out *CustomErrorConfigurationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomErrorConfigurationObservation. +func (in *CustomErrorConfigurationObservation) DeepCopy() *CustomErrorConfigurationObservation { + if in == nil { + return nil + } + out := new(CustomErrorConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomErrorConfigurationParameters) DeepCopyInto(out *CustomErrorConfigurationParameters) { + *out = *in + if in.CustomErrorPageURL != nil { + in, out := &in.CustomErrorPageURL, &out.CustomErrorPageURL + *out = new(string) + **out = **in + } + if in.StatusCode != nil { + in, out := &in.StatusCode, &out.StatusCode + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomErrorConfigurationParameters. +func (in *CustomErrorConfigurationParameters) DeepCopy() *CustomErrorConfigurationParameters { + if in == nil { + return nil + } + out := new(CustomErrorConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DisabledRuleGroupObservation) DeepCopyInto(out *DisabledRuleGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisabledRuleGroupObservation. +func (in *DisabledRuleGroupObservation) DeepCopy() *DisabledRuleGroupObservation { + if in == nil { + return nil + } + out := new(DisabledRuleGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DisabledRuleGroupParameters) DeepCopyInto(out *DisabledRuleGroupParameters) { + *out = *in + if in.RuleGroupName != nil { + in, out := &in.RuleGroupName, &out.RuleGroupName + *out = new(string) + **out = **in + } + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisabledRuleGroupParameters. +func (in *DisabledRuleGroupParameters) DeepCopy() *DisabledRuleGroupParameters { + if in == nil { + return nil + } + out := new(DisabledRuleGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExclusionObservation) DeepCopyInto(out *ExclusionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionObservation. +func (in *ExclusionObservation) DeepCopy() *ExclusionObservation { + if in == nil { + return nil + } + out := new(ExclusionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExclusionParameters) DeepCopyInto(out *ExclusionParameters) { + *out = *in + if in.MatchVariable != nil { + in, out := &in.MatchVariable, &out.MatchVariable + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.SelectorMatchOperator != nil { + in, out := &in.SelectorMatchOperator, &out.SelectorMatchOperator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionParameters. +func (in *ExclusionParameters) DeepCopy() *ExclusionParameters { + if in == nil { + return nil + } + out := new(ExclusionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendIPConfigurationObservation) DeepCopyInto(out *FrontendIPConfigurationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationObservation. +func (in *FrontendIPConfigurationObservation) DeepCopy() *FrontendIPConfigurationObservation { + if in == nil { + return nil + } + out := new(FrontendIPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendIPConfigurationParameters) DeepCopyInto(out *FrontendIPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddressAllocation != nil { + in, out := &in.PrivateIPAddressAllocation, &out.PrivateIPAddressAllocation + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationParameters. +func (in *FrontendIPConfigurationParameters) DeepCopy() *FrontendIPConfigurationParameters { + if in == nil { + return nil + } + out := new(FrontendIPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendPortObservation) DeepCopyInto(out *FrontendPortObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendPortObservation. +func (in *FrontendPortObservation) DeepCopy() *FrontendPortObservation { + if in == nil { + return nil + } + out := new(FrontendPortObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendPortParameters) DeepCopyInto(out *FrontendPortParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendPortParameters. +func (in *FrontendPortParameters) DeepCopy() *FrontendPortParameters { + if in == nil { + return nil + } + out := new(FrontendPortParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Gateway) DeepCopyInto(out *Gateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway. +func (in *Gateway) DeepCopy() *Gateway { + if in == nil { + return nil + } + out := new(Gateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Gateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIPConfigurationObservation) DeepCopyInto(out *GatewayIPConfigurationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIPConfigurationObservation. +func (in *GatewayIPConfigurationObservation) DeepCopy() *GatewayIPConfigurationObservation { + if in == nil { + return nil + } + out := new(GatewayIPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayIPConfigurationParameters) DeepCopyInto(out *GatewayIPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayIPConfigurationParameters. +func (in *GatewayIPConfigurationParameters) DeepCopy() *GatewayIPConfigurationParameters { + if in == nil { + return nil + } + out := new(GatewayIPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayList) DeepCopyInto(out *GatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Gateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. +func (in *GatewayList) DeepCopy() *GatewayList { + if in == nil { + return nil + } + out := new(GatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. +func (in *GatewayObservation) DeepCopy() *GatewayObservation { + if in == nil { + return nil + } + out := new(GatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { + *out = *in + if in.AuthenticationCertificate != nil { + in, out := &in.AuthenticationCertificate, &out.AuthenticationCertificate + *out = make([]AuthenticationCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutoscaleConfiguration != nil { + in, out := &in.AutoscaleConfiguration, &out.AutoscaleConfiguration + *out = make([]AutoscaleConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendAddressPool != nil { + in, out := &in.BackendAddressPool, &out.BackendAddressPool + *out = make([]BackendAddressPoolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendHTTPSettings != nil { + in, out := &in.BackendHTTPSettings, &out.BackendHTTPSettings + *out = make([]BackendHTTPSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomErrorConfiguration != nil { + in, out := &in.CustomErrorConfiguration, &out.CustomErrorConfiguration + *out = make([]CustomErrorConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableHttp2 != nil { + in, out := &in.EnableHttp2, &out.EnableHttp2 + *out = new(bool) + **out = **in + } + if in.FirewallPolicyID != nil { + in, out := &in.FirewallPolicyID, &out.FirewallPolicyID + *out = new(string) + **out = **in + } + if in.FrontendIPConfiguration != nil { + in, out := &in.FrontendIPConfiguration, &out.FrontendIPConfiguration + *out = make([]FrontendIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontendPort != nil { + in, out := &in.FrontendPort, &out.FrontendPort + *out = make([]FrontendPortParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GatewayIPConfiguration != nil { + in, out := &in.GatewayIPConfiguration, &out.GatewayIPConfiguration + *out = make([]GatewayIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HTTPListener != nil { + in, out := &in.HTTPListener, &out.HTTPListener + *out = make([]HTTPListenerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Probe != nil { + in, out := &in.Probe, &out.Probe + *out = make([]ProbeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RedirectConfiguration != nil { + in, out := &in.RedirectConfiguration, &out.RedirectConfiguration + *out = make([]RedirectConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RequestRoutingRule != nil { + in, out := &in.RequestRoutingRule, &out.RequestRoutingRule + *out = make([]RequestRoutingRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RewriteRuleSet != nil { + in, out := &in.RewriteRuleSet, &out.RewriteRuleSet + *out = make([]RewriteRuleSetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = make([]SkuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SslCertificate != nil { + in, out := &in.SslCertificate, &out.SslCertificate + *out = make([]SslCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SslPolicy != nil { + in, out := &in.SslPolicy, &out.SslPolicy + *out = make([]SslPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SslProfile != nil { + in, out := &in.SslProfile, &out.SslProfile + *out = make([]SslProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TrustedClientCertificate != nil { + in, out := &in.TrustedClientCertificate, &out.TrustedClientCertificate + *out = make([]TrustedClientCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrustedRootCertificate != nil { + in, out := &in.TrustedRootCertificate, &out.TrustedRootCertificate + *out = make([]TrustedRootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLPathMap != nil { + in, out := &in.URLPathMap, &out.URLPathMap + *out = make([]URLPathMapParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WafConfiguration != nil { + in, out := &in.WafConfiguration, &out.WafConfiguration + *out = make([]WafConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. +func (in *GatewayParameters) DeepCopy() *GatewayParameters { + if in == nil { + return nil + } + out := new(GatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. +func (in *GatewaySpec) DeepCopy() *GatewaySpec { + if in == nil { + return nil + } + out := new(GatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. +func (in *GatewayStatus) DeepCopy() *GatewayStatus { + if in == nil { + return nil + } + out := new(GatewayStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPListenerCustomErrorConfigurationObservation) DeepCopyInto(out *HTTPListenerCustomErrorConfigurationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPListenerCustomErrorConfigurationObservation. +func (in *HTTPListenerCustomErrorConfigurationObservation) DeepCopy() *HTTPListenerCustomErrorConfigurationObservation { + if in == nil { + return nil + } + out := new(HTTPListenerCustomErrorConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPListenerCustomErrorConfigurationParameters) DeepCopyInto(out *HTTPListenerCustomErrorConfigurationParameters) { + *out = *in + if in.CustomErrorPageURL != nil { + in, out := &in.CustomErrorPageURL, &out.CustomErrorPageURL + *out = new(string) + **out = **in + } + if in.StatusCode != nil { + in, out := &in.StatusCode, &out.StatusCode + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPListenerCustomErrorConfigurationParameters. +func (in *HTTPListenerCustomErrorConfigurationParameters) DeepCopy() *HTTPListenerCustomErrorConfigurationParameters { + if in == nil { + return nil + } + out := new(HTTPListenerCustomErrorConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPListenerObservation) DeepCopyInto(out *HTTPListenerObservation) { + *out = *in + if in.FrontendIPConfigurationID != nil { + in, out := &in.FrontendIPConfigurationID, &out.FrontendIPConfigurationID + *out = new(string) + **out = **in + } + if in.FrontendPortID != nil { + in, out := &in.FrontendPortID, &out.FrontendPortID + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.SslCertificateID != nil { + in, out := &in.SslCertificateID, &out.SslCertificateID + *out = new(string) + **out = **in + } + if in.SslProfileID != nil { + in, out := &in.SslProfileID, &out.SslProfileID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPListenerObservation. +func (in *HTTPListenerObservation) DeepCopy() *HTTPListenerObservation { + if in == nil { + return nil + } + out := new(HTTPListenerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPListenerParameters) DeepCopyInto(out *HTTPListenerParameters) { + *out = *in + if in.CustomErrorConfiguration != nil { + in, out := &in.CustomErrorConfiguration, &out.CustomErrorConfiguration + *out = make([]HTTPListenerCustomErrorConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FirewallPolicyID != nil { + in, out := &in.FirewallPolicyID, &out.FirewallPolicyID + *out = new(string) + **out = **in + } + if in.FrontendIPConfigurationName != nil { + in, out := &in.FrontendIPConfigurationName, &out.FrontendIPConfigurationName + *out = new(string) + **out = **in + } + if in.FrontendPortName != nil { + in, out := &in.FrontendPortName, &out.FrontendPortName + *out = new(string) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.HostNames != nil { + in, out := &in.HostNames, &out.HostNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.RequireSni != nil { + in, out := &in.RequireSni, &out.RequireSni + *out = new(bool) + **out = **in + } + if in.SslCertificateName != nil { + in, out := &in.SslCertificateName, &out.SslCertificateName + *out = new(string) + **out = **in + } + if in.SslProfileName != nil { + in, out := &in.SslProfileName, &out.SslProfileName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPListenerParameters. +func (in *HTTPListenerParameters) DeepCopy() *HTTPListenerParameters { + if in == nil { + return nil + } + out := new(HTTPListenerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Insights) DeepCopyInto(out *Insights) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Insights. +func (in *Insights) DeepCopy() *Insights { + if in == nil { + return nil + } + out := new(Insights) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Insights) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsAnalyticsItem) DeepCopyInto(out *InsightsAnalyticsItem) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsAnalyticsItem. +func (in *InsightsAnalyticsItem) DeepCopy() *InsightsAnalyticsItem { + if in == nil { + return nil + } + out := new(InsightsAnalyticsItem) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsAnalyticsItem) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsAnalyticsItemList) DeepCopyInto(out *InsightsAnalyticsItemList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InsightsAnalyticsItem, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsAnalyticsItemList. +func (in *InsightsAnalyticsItemList) DeepCopy() *InsightsAnalyticsItemList { + if in == nil { + return nil + } + out := new(InsightsAnalyticsItemList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsAnalyticsItemList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsAnalyticsItemObservation) DeepCopyInto(out *InsightsAnalyticsItemObservation) { + *out = *in + if in.TimeCreated != nil { + in, out := &in.TimeCreated, &out.TimeCreated + *out = new(string) + **out = **in + } + if in.TimeModified != nil { + in, out := &in.TimeModified, &out.TimeModified + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsAnalyticsItemObservation. +func (in *InsightsAnalyticsItemObservation) DeepCopy() *InsightsAnalyticsItemObservation { + if in == nil { + return nil + } + out := new(InsightsAnalyticsItemObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsAnalyticsItemParameters) DeepCopyInto(out *InsightsAnalyticsItemParameters) { + *out = *in + if in.ApplicationInsightsID != nil { + in, out := &in.ApplicationInsightsID, &out.ApplicationInsightsID + *out = new(string) + **out = **in + } + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.FunctionAlias != nil { + in, out := &in.FunctionAlias, &out.FunctionAlias + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsAnalyticsItemParameters. +func (in *InsightsAnalyticsItemParameters) DeepCopy() *InsightsAnalyticsItemParameters { + if in == nil { + return nil + } + out := new(InsightsAnalyticsItemParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsAnalyticsItemSpec) DeepCopyInto(out *InsightsAnalyticsItemSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsAnalyticsItemSpec. +func (in *InsightsAnalyticsItemSpec) DeepCopy() *InsightsAnalyticsItemSpec { + if in == nil { + return nil + } + out := new(InsightsAnalyticsItemSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsAnalyticsItemStatus) DeepCopyInto(out *InsightsAnalyticsItemStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsAnalyticsItemStatus. +func (in *InsightsAnalyticsItemStatus) DeepCopy() *InsightsAnalyticsItemStatus { + if in == nil { + return nil + } + out := new(InsightsAnalyticsItemStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsApiKey) DeepCopyInto(out *InsightsApiKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsApiKey. +func (in *InsightsApiKey) DeepCopy() *InsightsApiKey { + if in == nil { + return nil + } + out := new(InsightsApiKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsApiKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsApiKeyList) DeepCopyInto(out *InsightsApiKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InsightsApiKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsApiKeyList. +func (in *InsightsApiKeyList) DeepCopy() *InsightsApiKeyList { + if in == nil { + return nil + } + out := new(InsightsApiKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsApiKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsApiKeyObservation) DeepCopyInto(out *InsightsApiKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsApiKeyObservation. +func (in *InsightsApiKeyObservation) DeepCopy() *InsightsApiKeyObservation { + if in == nil { + return nil + } + out := new(InsightsApiKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsApiKeyParameters) DeepCopyInto(out *InsightsApiKeyParameters) { + *out = *in + if in.ApplicationInsightsID != nil { + in, out := &in.ApplicationInsightsID, &out.ApplicationInsightsID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ReadPermissions != nil { + in, out := &in.ReadPermissions, &out.ReadPermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WritePermissions != nil { + in, out := &in.WritePermissions, &out.WritePermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsApiKeyParameters. +func (in *InsightsApiKeyParameters) DeepCopy() *InsightsApiKeyParameters { + if in == nil { + return nil + } + out := new(InsightsApiKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsApiKeySpec) DeepCopyInto(out *InsightsApiKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsApiKeySpec. +func (in *InsightsApiKeySpec) DeepCopy() *InsightsApiKeySpec { + if in == nil { + return nil + } + out := new(InsightsApiKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsApiKeyStatus) DeepCopyInto(out *InsightsApiKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsApiKeyStatus. +func (in *InsightsApiKeyStatus) DeepCopy() *InsightsApiKeyStatus { + if in == nil { + return nil + } + out := new(InsightsApiKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsList) DeepCopyInto(out *InsightsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Insights, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsList. +func (in *InsightsList) DeepCopy() *InsightsList { + if in == nil { + return nil + } + out := new(InsightsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsObservation) DeepCopyInto(out *InsightsObservation) { + *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsObservation. +func (in *InsightsObservation) DeepCopy() *InsightsObservation { + if in == nil { + return nil + } + out := new(InsightsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsParameters) DeepCopyInto(out *InsightsParameters) { + *out = *in + if in.ApplicationType != nil { + in, out := &in.ApplicationType, &out.ApplicationType + *out = new(string) + **out = **in + } + if in.DailyDataCapInGb != nil { + in, out := &in.DailyDataCapInGb, &out.DailyDataCapInGb + *out = new(float64) + **out = **in + } + if in.DailyDataCapNotificationsDisabled != nil { + in, out := &in.DailyDataCapNotificationsDisabled, &out.DailyDataCapNotificationsDisabled + *out = new(bool) + **out = **in + } + if in.DisableIPMasking != nil { + in, out := &in.DisableIPMasking, &out.DisableIPMasking + *out = new(bool) + **out = **in + } + if in.LocalAuthenticationDisabled != nil { + in, out := &in.LocalAuthenticationDisabled, &out.LocalAuthenticationDisabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.SamplingPercentage != nil { + in, out := &in.SamplingPercentage, &out.SamplingPercentage + *out = new(float64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsParameters. +func (in *InsightsParameters) DeepCopy() *InsightsParameters { + if in == nil { + return nil + } + out := new(InsightsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSmartDetectionRule) DeepCopyInto(out *InsightsSmartDetectionRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSmartDetectionRule. +func (in *InsightsSmartDetectionRule) DeepCopy() *InsightsSmartDetectionRule { + if in == nil { + return nil + } + out := new(InsightsSmartDetectionRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsSmartDetectionRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSmartDetectionRuleList) DeepCopyInto(out *InsightsSmartDetectionRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InsightsSmartDetectionRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSmartDetectionRuleList. +func (in *InsightsSmartDetectionRuleList) DeepCopy() *InsightsSmartDetectionRuleList { + if in == nil { + return nil + } + out := new(InsightsSmartDetectionRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsSmartDetectionRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSmartDetectionRuleObservation) DeepCopyInto(out *InsightsSmartDetectionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSmartDetectionRuleObservation. +func (in *InsightsSmartDetectionRuleObservation) DeepCopy() *InsightsSmartDetectionRuleObservation { + if in == nil { + return nil + } + out := new(InsightsSmartDetectionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSmartDetectionRuleParameters) DeepCopyInto(out *InsightsSmartDetectionRuleParameters) { + *out = *in + if in.AdditionalEmailRecipients != nil { + in, out := &in.AdditionalEmailRecipients, &out.AdditionalEmailRecipients + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ApplicationInsightsID != nil { + in, out := &in.ApplicationInsightsID, &out.ApplicationInsightsID + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SendEmailsToSubscriptionOwners != nil { + in, out := &in.SendEmailsToSubscriptionOwners, &out.SendEmailsToSubscriptionOwners + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSmartDetectionRuleParameters. +func (in *InsightsSmartDetectionRuleParameters) DeepCopy() *InsightsSmartDetectionRuleParameters { + if in == nil { + return nil + } + out := new(InsightsSmartDetectionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSmartDetectionRuleSpec) DeepCopyInto(out *InsightsSmartDetectionRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSmartDetectionRuleSpec. +func (in *InsightsSmartDetectionRuleSpec) DeepCopy() *InsightsSmartDetectionRuleSpec { + if in == nil { + return nil + } + out := new(InsightsSmartDetectionRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSmartDetectionRuleStatus) DeepCopyInto(out *InsightsSmartDetectionRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSmartDetectionRuleStatus. +func (in *InsightsSmartDetectionRuleStatus) DeepCopy() *InsightsSmartDetectionRuleStatus { + if in == nil { + return nil + } + out := new(InsightsSmartDetectionRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsSpec) DeepCopyInto(out *InsightsSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsSpec. +func (in *InsightsSpec) DeepCopy() *InsightsSpec { + if in == nil { + return nil + } + out := new(InsightsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsStatus) DeepCopyInto(out *InsightsStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsStatus. +func (in *InsightsStatus) DeepCopy() *InsightsStatus { + if in == nil { + return nil + } + out := new(InsightsStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsWebTest) DeepCopyInto(out *InsightsWebTest) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsWebTest. +func (in *InsightsWebTest) DeepCopy() *InsightsWebTest { + if in == nil { + return nil + } + out := new(InsightsWebTest) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsWebTest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsWebTestList) DeepCopyInto(out *InsightsWebTestList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InsightsWebTest, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsWebTestList. +func (in *InsightsWebTestList) DeepCopy() *InsightsWebTestList { + if in == nil { + return nil + } + out := new(InsightsWebTestList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InsightsWebTestList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsWebTestObservation) DeepCopyInto(out *InsightsWebTestObservation) { + *out = *in + if in.SyntheticMonitorID != nil { + in, out := &in.SyntheticMonitorID, &out.SyntheticMonitorID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsWebTestObservation. +func (in *InsightsWebTestObservation) DeepCopy() *InsightsWebTestObservation { + if in == nil { + return nil + } + out := new(InsightsWebTestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsWebTestParameters) DeepCopyInto(out *InsightsWebTestParameters) { + *out = *in + if in.ApplicationInsightsID != nil { + in, out := &in.ApplicationInsightsID, &out.ApplicationInsightsID + *out = new(string) + **out = **in + } + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(int64) + **out = **in + } + if in.GeoLocations != nil { + in, out := &in.GeoLocations, &out.GeoLocations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetryEnabled != nil { + in, out := &in.RetryEnabled, &out.RetryEnabled + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Timeout != nil { + in, out := &in.Timeout, &out.Timeout + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsWebTestParameters. +func (in *InsightsWebTestParameters) DeepCopy() *InsightsWebTestParameters { + if in == nil { + return nil + } + out := new(InsightsWebTestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsWebTestSpec) DeepCopyInto(out *InsightsWebTestSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsWebTestSpec. +func (in *InsightsWebTestSpec) DeepCopy() *InsightsWebTestSpec { + if in == nil { + return nil + } + out := new(InsightsWebTestSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InsightsWebTestStatus) DeepCopyInto(out *InsightsWebTestStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightsWebTestStatus. +func (in *InsightsWebTestStatus) DeepCopy() *InsightsWebTestStatus { + if in == nil { + return nil + } + out := new(InsightsWebTestStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchObservation) DeepCopyInto(out *MatchObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchObservation. +func (in *MatchObservation) DeepCopy() *MatchObservation { + if in == nil { + return nil + } + out := new(MatchObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchParameters) DeepCopyInto(out *MatchParameters) { + *out = *in + if in.Body != nil { + in, out := &in.Body, &out.Body + *out = new(string) + **out = **in + } + if in.StatusCode != nil { + in, out := &in.StatusCode, &out.StatusCode + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchParameters. +func (in *MatchParameters) DeepCopy() *MatchParameters { + if in == nil { + return nil + } + out := new(MatchParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PathRuleObservation) DeepCopyInto(out *PathRuleObservation) { + *out = *in + if in.BackendAddressPoolID != nil { + in, out := &in.BackendAddressPoolID, &out.BackendAddressPoolID + *out = new(string) + **out = **in + } + if in.BackendHTTPSettingsID != nil { + in, out := &in.BackendHTTPSettingsID, &out.BackendHTTPSettingsID + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.RedirectConfigurationID != nil { + in, out := &in.RedirectConfigurationID, &out.RedirectConfigurationID + *out = new(string) + **out = **in + } + if in.RewriteRuleSetID != nil { + in, out := &in.RewriteRuleSetID, &out.RewriteRuleSetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathRuleObservation. +func (in *PathRuleObservation) DeepCopy() *PathRuleObservation { + if in == nil { + return nil + } + out := new(PathRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PathRuleParameters) DeepCopyInto(out *PathRuleParameters) { + *out = *in + if in.BackendAddressPoolName != nil { + in, out := &in.BackendAddressPoolName, &out.BackendAddressPoolName + *out = new(string) + **out = **in + } + if in.BackendHTTPSettingsName != nil { + in, out := &in.BackendHTTPSettingsName, &out.BackendHTTPSettingsName + *out = new(string) + **out = **in + } + if in.FirewallPolicyID != nil { + in, out := &in.FirewallPolicyID, &out.FirewallPolicyID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Paths != nil { + in, out := &in.Paths, &out.Paths + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RedirectConfigurationName != nil { + in, out := &in.RedirectConfigurationName, &out.RedirectConfigurationName + *out = new(string) + **out = **in + } + if in.RewriteRuleSetName != nil { + in, out := &in.RewriteRuleSetName, &out.RewriteRuleSetName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathRuleParameters. +func (in *PathRuleParameters) DeepCopy() *PathRuleParameters { + if in == nil { + return nil + } + out := new(PathRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeObservation) DeepCopyInto(out *ProbeObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeObservation. +func (in *ProbeObservation) DeepCopy() *ProbeObservation { + if in == nil { + return nil + } + out := new(ProbeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeParameters) DeepCopyInto(out *ProbeParameters) { + *out = *in + if in.Host != nil { + in, out := &in.Host, &out.Host + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int64) + **out = **in + } + if in.Match != nil { + in, out := &in.Match, &out.Match + *out = make([]MatchParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MinimumServers != nil { + in, out := &in.MinimumServers, &out.MinimumServers + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.PickHostNameFromBackendHTTPSettings != nil { + in, out := &in.PickHostNameFromBackendHTTPSettings, &out.PickHostNameFromBackendHTTPSettings + *out = new(bool) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.Timeout != nil { + in, out := &in.Timeout, &out.Timeout + *out = new(int64) + **out = **in + } + if in.UnhealthyThreshold != nil { + in, out := &in.UnhealthyThreshold, &out.UnhealthyThreshold + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeParameters. +func (in *ProbeParameters) DeepCopy() *ProbeParameters { + if in == nil { + return nil + } + out := new(ProbeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedirectConfigurationObservation) DeepCopyInto(out *RedirectConfigurationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.TargetListenerID != nil { + in, out := &in.TargetListenerID, &out.TargetListenerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectConfigurationObservation. +func (in *RedirectConfigurationObservation) DeepCopy() *RedirectConfigurationObservation { + if in == nil { + return nil + } + out := new(RedirectConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedirectConfigurationParameters) DeepCopyInto(out *RedirectConfigurationParameters) { + *out = *in + if in.IncludePath != nil { + in, out := &in.IncludePath, &out.IncludePath + *out = new(bool) + **out = **in + } + if in.IncludeQueryString != nil { + in, out := &in.IncludeQueryString, &out.IncludeQueryString + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RedirectType != nil { + in, out := &in.RedirectType, &out.RedirectType + *out = new(string) + **out = **in + } + if in.TargetListenerName != nil { + in, out := &in.TargetListenerName, &out.TargetListenerName + *out = new(string) + **out = **in + } + if in.TargetURL != nil { + in, out := &in.TargetURL, &out.TargetURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectConfigurationParameters. +func (in *RedirectConfigurationParameters) DeepCopy() *RedirectConfigurationParameters { + if in == nil { + return nil + } + out := new(RedirectConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderConfigurationObservation) DeepCopyInto(out *RequestHeaderConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationObservation. +func (in *RequestHeaderConfigurationObservation) DeepCopy() *RequestHeaderConfigurationObservation { + if in == nil { + return nil + } + out := new(RequestHeaderConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderConfigurationParameters) DeepCopyInto(out *RequestHeaderConfigurationParameters) { + *out = *in + if in.HeaderName != nil { + in, out := &in.HeaderName, &out.HeaderName + *out = new(string) + **out = **in + } + if in.HeaderValue != nil { + in, out := &in.HeaderValue, &out.HeaderValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConfigurationParameters. +func (in *RequestHeaderConfigurationParameters) DeepCopy() *RequestHeaderConfigurationParameters { + if in == nil { + return nil + } + out := new(RequestHeaderConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestRoutingRuleObservation) DeepCopyInto(out *RequestRoutingRuleObservation) { + *out = *in + if in.BackendAddressPoolID != nil { + in, out := &in.BackendAddressPoolID, &out.BackendAddressPoolID + *out = new(string) + **out = **in + } + if in.BackendHTTPSettingsID != nil { + in, out := &in.BackendHTTPSettingsID, &out.BackendHTTPSettingsID + *out = new(string) + **out = **in + } + if in.HTTPListenerID != nil { + in, out := &in.HTTPListenerID, &out.HTTPListenerID + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.RedirectConfigurationID != nil { + in, out := &in.RedirectConfigurationID, &out.RedirectConfigurationID + *out = new(string) + **out = **in + } + if in.RewriteRuleSetID != nil { + in, out := &in.RewriteRuleSetID, &out.RewriteRuleSetID + *out = new(string) + **out = **in + } + if in.URLPathMapID != nil { + in, out := &in.URLPathMapID, &out.URLPathMapID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestRoutingRuleObservation. +func (in *RequestRoutingRuleObservation) DeepCopy() *RequestRoutingRuleObservation { + if in == nil { + return nil + } + out := new(RequestRoutingRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestRoutingRuleParameters) DeepCopyInto(out *RequestRoutingRuleParameters) { + *out = *in + if in.BackendAddressPoolName != nil { + in, out := &in.BackendAddressPoolName, &out.BackendAddressPoolName + *out = new(string) + **out = **in + } + if in.BackendHTTPSettingsName != nil { + in, out := &in.BackendHTTPSettingsName, &out.BackendHTTPSettingsName + *out = new(string) + **out = **in + } + if in.HTTPListenerName != nil { + in, out := &in.HTTPListenerName, &out.HTTPListenerName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RedirectConfigurationName != nil { + in, out := &in.RedirectConfigurationName, &out.RedirectConfigurationName + *out = new(string) + **out = **in + } + if in.RewriteRuleSetName != nil { + in, out := &in.RewriteRuleSetName, &out.RewriteRuleSetName + *out = new(string) + **out = **in + } + if in.RuleType != nil { + in, out := &in.RuleType, &out.RuleType + *out = new(string) + **out = **in + } + if in.URLPathMapName != nil { + in, out := &in.URLPathMapName, &out.URLPathMapName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestRoutingRuleParameters. +func (in *RequestRoutingRuleParameters) DeepCopy() *RequestRoutingRuleParameters { + if in == nil { + return nil + } + out := new(RequestRoutingRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseHeaderConfigurationObservation) DeepCopyInto(out *ResponseHeaderConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseHeaderConfigurationObservation. +func (in *ResponseHeaderConfigurationObservation) DeepCopy() *ResponseHeaderConfigurationObservation { + if in == nil { + return nil + } + out := new(ResponseHeaderConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseHeaderConfigurationParameters) DeepCopyInto(out *ResponseHeaderConfigurationParameters) { + *out = *in + if in.HeaderName != nil { + in, out := &in.HeaderName, &out.HeaderName + *out = new(string) + **out = **in + } + if in.HeaderValue != nil { + in, out := &in.HeaderValue, &out.HeaderValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseHeaderConfigurationParameters. +func (in *ResponseHeaderConfigurationParameters) DeepCopy() *ResponseHeaderConfigurationParameters { + if in == nil { + return nil + } + out := new(ResponseHeaderConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RewriteRuleObservation) DeepCopyInto(out *RewriteRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RewriteRuleObservation. +func (in *RewriteRuleObservation) DeepCopy() *RewriteRuleObservation { + if in == nil { + return nil + } + out := new(RewriteRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RewriteRuleParameters) DeepCopyInto(out *RewriteRuleParameters) { + *out = *in + if in.Condition != nil { + in, out := &in.Condition, &out.Condition + *out = make([]ConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RequestHeaderConfiguration != nil { + in, out := &in.RequestHeaderConfiguration, &out.RequestHeaderConfiguration + *out = make([]RequestHeaderConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResponseHeaderConfiguration != nil { + in, out := &in.ResponseHeaderConfiguration, &out.ResponseHeaderConfiguration + *out = make([]ResponseHeaderConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuleSequence != nil { + in, out := &in.RuleSequence, &out.RuleSequence + *out = new(int64) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = make([]URLParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RewriteRuleParameters. +func (in *RewriteRuleParameters) DeepCopy() *RewriteRuleParameters { + if in == nil { + return nil + } + out := new(RewriteRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RewriteRuleSetObservation) DeepCopyInto(out *RewriteRuleSetObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RewriteRuleSetObservation. +func (in *RewriteRuleSetObservation) DeepCopy() *RewriteRuleSetObservation { + if in == nil { + return nil + } + out := new(RewriteRuleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RewriteRuleSetParameters) DeepCopyInto(out *RewriteRuleSetParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RewriteRule != nil { + in, out := &in.RewriteRule, &out.RewriteRule + *out = make([]RewriteRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RewriteRuleSetParameters. +func (in *RewriteRuleSetParameters) DeepCopy() *RewriteRuleSetParameters { + if in == nil { + return nil + } + out := new(RewriteRuleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. +func (in *SecurityGroup) DeepCopy() *SecurityGroup { + if in == nil { + return nil + } + out := new(SecurityGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SecurityGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList. +func (in *SecurityGroupList) DeepCopy() *SecurityGroupList { + if in == nil { + return nil + } + out := new(SecurityGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation. +func (in *SecurityGroupObservation) DeepCopy() *SecurityGroupObservation { + if in == nil { + return nil + } + out := new(SecurityGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters. +func (in *SecurityGroupParameters) DeepCopy() *SecurityGroupParameters { + if in == nil { + return nil + } + out := new(SecurityGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec. +func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec { + if in == nil { + return nil + } + out := new(SecurityGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus. +func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus { + if in == nil { + return nil + } + out := new(SecurityGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuObservation) DeepCopyInto(out *SkuObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuObservation. +func (in *SkuObservation) DeepCopy() *SkuObservation { + if in == nil { + return nil + } + out := new(SkuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslCertificateObservation) DeepCopyInto(out *SslCertificateObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.PublicCertData != nil { + in, out := &in.PublicCertData, &out.PublicCertData + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCertificateObservation. +func (in *SslCertificateObservation) DeepCopy() *SslCertificateObservation { + if in == nil { + return nil + } + out := new(SslCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslCertificateParameters) DeepCopyInto(out *SslCertificateParameters) { + *out = *in + if in.DataSecretRef != nil { + in, out := &in.DataSecretRef, &out.DataSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.KeyVaultSecretID != nil { + in, out := &in.KeyVaultSecretID, &out.KeyVaultSecretID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslCertificateParameters. +func (in *SslCertificateParameters) DeepCopy() *SslCertificateParameters { + if in == nil { + return nil + } + out := new(SslCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslPolicyObservation) DeepCopyInto(out *SslPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslPolicyObservation. +func (in *SslPolicyObservation) DeepCopy() *SslPolicyObservation { + if in == nil { + return nil + } + out := new(SslPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslPolicyParameters) DeepCopyInto(out *SslPolicyParameters) { + *out = *in + if in.CipherSuites != nil { + in, out := &in.CipherSuites, &out.CipherSuites + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DisabledProtocols != nil { + in, out := &in.DisabledProtocols, &out.DisabledProtocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MinProtocolVersion != nil { + in, out := &in.MinProtocolVersion, &out.MinProtocolVersion + *out = new(string) + **out = **in + } + if in.PolicyName != nil { + in, out := &in.PolicyName, &out.PolicyName + *out = new(string) + **out = **in + } + if in.PolicyType != nil { + in, out := &in.PolicyType, &out.PolicyType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslPolicyParameters. +func (in *SslPolicyParameters) DeepCopy() *SslPolicyParameters { + if in == nil { + return nil + } + out := new(SslPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslProfileObservation) DeepCopyInto(out *SslProfileObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslProfileObservation. +func (in *SslProfileObservation) DeepCopy() *SslProfileObservation { + if in == nil { + return nil + } + out := new(SslProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslProfileParameters) DeepCopyInto(out *SslProfileParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SslPolicy != nil { + in, out := &in.SslPolicy, &out.SslPolicy + *out = make([]SslProfileSslPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrustedClientCertificateNames != nil { + in, out := &in.TrustedClientCertificateNames, &out.TrustedClientCertificateNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VerifyClientCertIssuerDn != nil { + in, out := &in.VerifyClientCertIssuerDn, &out.VerifyClientCertIssuerDn + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslProfileParameters. +func (in *SslProfileParameters) DeepCopy() *SslProfileParameters { + if in == nil { + return nil + } + out := new(SslProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslProfileSslPolicyObservation) DeepCopyInto(out *SslProfileSslPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslProfileSslPolicyObservation. +func (in *SslProfileSslPolicyObservation) DeepCopy() *SslProfileSslPolicyObservation { + if in == nil { + return nil + } + out := new(SslProfileSslPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SslProfileSslPolicyParameters) DeepCopyInto(out *SslProfileSslPolicyParameters) { + *out = *in + if in.CipherSuites != nil { + in, out := &in.CipherSuites, &out.CipherSuites + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DisabledProtocols != nil { + in, out := &in.DisabledProtocols, &out.DisabledProtocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MinProtocolVersion != nil { + in, out := &in.MinProtocolVersion, &out.MinProtocolVersion + *out = new(string) + **out = **in + } + if in.PolicyName != nil { + in, out := &in.PolicyName, &out.PolicyName + *out = new(string) + **out = **in + } + if in.PolicyType != nil { + in, out := &in.PolicyType, &out.PolicyType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SslProfileSslPolicyParameters. +func (in *SslProfileSslPolicyParameters) DeepCopy() *SslProfileSslPolicyParameters { + if in == nil { + return nil + } + out := new(SslProfileSslPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrustedClientCertificateObservation) DeepCopyInto(out *TrustedClientCertificateObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedClientCertificateObservation. +func (in *TrustedClientCertificateObservation) DeepCopy() *TrustedClientCertificateObservation { + if in == nil { + return nil + } + out := new(TrustedClientCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrustedClientCertificateParameters) DeepCopyInto(out *TrustedClientCertificateParameters) { + *out = *in + out.DataSecretRef = in.DataSecretRef + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedClientCertificateParameters. +func (in *TrustedClientCertificateParameters) DeepCopy() *TrustedClientCertificateParameters { + if in == nil { + return nil + } + out := new(TrustedClientCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrustedRootCertificateObservation) DeepCopyInto(out *TrustedRootCertificateObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedRootCertificateObservation. +func (in *TrustedRootCertificateObservation) DeepCopy() *TrustedRootCertificateObservation { + if in == nil { + return nil + } + out := new(TrustedRootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrustedRootCertificateParameters) DeepCopyInto(out *TrustedRootCertificateParameters) { + *out = *in + out.DataSecretRef = in.DataSecretRef + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedRootCertificateParameters. +func (in *TrustedRootCertificateParameters) DeepCopy() *TrustedRootCertificateParameters { + if in == nil { + return nil + } + out := new(TrustedRootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLObservation) DeepCopyInto(out *URLObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLObservation. +func (in *URLObservation) DeepCopy() *URLObservation { + if in == nil { + return nil + } + out := new(URLObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLParameters) DeepCopyInto(out *URLParameters) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.QueryString != nil { + in, out := &in.QueryString, &out.QueryString + *out = new(string) + **out = **in + } + if in.Reroute != nil { + in, out := &in.Reroute, &out.Reroute + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLParameters. +func (in *URLParameters) DeepCopy() *URLParameters { + if in == nil { + return nil + } + out := new(URLParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLPathMapObservation) DeepCopyInto(out *URLPathMapObservation) { + *out = *in + if in.DefaultBackendAddressPoolID != nil { + in, out := &in.DefaultBackendAddressPoolID, &out.DefaultBackendAddressPoolID + *out = new(string) + **out = **in + } + if in.DefaultBackendHTTPSettingsID != nil { + in, out := &in.DefaultBackendHTTPSettingsID, &out.DefaultBackendHTTPSettingsID + *out = new(string) + **out = **in + } + if in.DefaultRedirectConfigurationID != nil { + in, out := &in.DefaultRedirectConfigurationID, &out.DefaultRedirectConfigurationID + *out = new(string) + **out = **in + } + if in.DefaultRewriteRuleSetID != nil { + in, out := &in.DefaultRewriteRuleSetID, &out.DefaultRewriteRuleSetID + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLPathMapObservation. +func (in *URLPathMapObservation) DeepCopy() *URLPathMapObservation { + if in == nil { + return nil + } + out := new(URLPathMapObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLPathMapParameters) DeepCopyInto(out *URLPathMapParameters) { + *out = *in + if in.DefaultBackendAddressPoolName != nil { + in, out := &in.DefaultBackendAddressPoolName, &out.DefaultBackendAddressPoolName + *out = new(string) + **out = **in + } + if in.DefaultBackendHTTPSettingsName != nil { + in, out := &in.DefaultBackendHTTPSettingsName, &out.DefaultBackendHTTPSettingsName + *out = new(string) + **out = **in + } + if in.DefaultRedirectConfigurationName != nil { + in, out := &in.DefaultRedirectConfigurationName, &out.DefaultRedirectConfigurationName + *out = new(string) + **out = **in + } + if in.DefaultRewriteRuleSetName != nil { + in, out := &in.DefaultRewriteRuleSetName, &out.DefaultRewriteRuleSetName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PathRule != nil { + in, out := &in.PathRule, &out.PathRule + *out = make([]PathRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLPathMapParameters. +func (in *URLPathMapParameters) DeepCopy() *URLPathMapParameters { + if in == nil { + return nil + } + out := new(URLPathMapParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WafConfigurationObservation) DeepCopyInto(out *WafConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WafConfigurationObservation. +func (in *WafConfigurationObservation) DeepCopy() *WafConfigurationObservation { + if in == nil { + return nil + } + out := new(WafConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WafConfigurationParameters) DeepCopyInto(out *WafConfigurationParameters) { + *out = *in + if in.DisabledRuleGroup != nil { + in, out := &in.DisabledRuleGroup, &out.DisabledRuleGroup + *out = make([]DisabledRuleGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Exclusion != nil { + in, out := &in.Exclusion, &out.Exclusion + *out = make([]ExclusionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FileUploadLimitMb != nil { + in, out := &in.FileUploadLimitMb, &out.FileUploadLimitMb + *out = new(int64) + **out = **in + } + if in.FirewallMode != nil { + in, out := &in.FirewallMode, &out.FirewallMode + *out = new(string) + **out = **in + } + if in.MaxRequestBodySizeKb != nil { + in, out := &in.MaxRequestBodySizeKb, &out.MaxRequestBodySizeKb + *out = new(int64) + **out = **in + } + if in.RequestBodyCheck != nil { + in, out := &in.RequestBodyCheck, &out.RequestBodyCheck + *out = new(bool) + **out = **in + } + if in.RuleSetType != nil { + in, out := &in.RuleSetType, &out.RuleSetType + *out = new(string) + **out = **in + } + if in.RuleSetVersion != nil { + in, out := &in.RuleSetVersion, &out.RuleSetVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WafConfigurationParameters. +func (in *WafConfigurationParameters) DeepCopy() *WafConfigurationParameters { + if in == nil { + return nil + } + out := new(WafConfigurationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/application/v1alpha1/zz_generated.managed.go b/apis/application/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..3c5a68d3f --- /dev/null +++ b/apis/application/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Gateway. +func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Gateway. +func (mg *Gateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Gateway. +func (mg *Gateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Gateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Gateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Gateway. +func (mg *Gateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Gateway. +func (mg *Gateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Gateway. +func (mg *Gateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Gateway. +func (mg *Gateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Gateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Gateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Gateway. +func (mg *Gateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Insights. +func (mg *Insights) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Insights. +func (mg *Insights) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Insights. +func (mg *Insights) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Insights. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Insights) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Insights. +func (mg *Insights) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Insights. +func (mg *Insights) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Insights. +func (mg *Insights) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Insights. +func (mg *Insights) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Insights. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Insights) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Insights. +func (mg *Insights) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InsightsAnalyticsItem. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InsightsAnalyticsItem) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InsightsAnalyticsItem. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InsightsAnalyticsItem) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InsightsAnalyticsItem. +func (mg *InsightsAnalyticsItem) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InsightsApiKey. +func (mg *InsightsApiKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InsightsApiKey. +func (mg *InsightsApiKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InsightsApiKey. +func (mg *InsightsApiKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InsightsApiKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InsightsApiKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InsightsApiKey. +func (mg *InsightsApiKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InsightsApiKey. +func (mg *InsightsApiKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InsightsApiKey. +func (mg *InsightsApiKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InsightsApiKey. +func (mg *InsightsApiKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InsightsApiKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InsightsApiKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InsightsApiKey. +func (mg *InsightsApiKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InsightsSmartDetectionRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InsightsSmartDetectionRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InsightsSmartDetectionRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InsightsSmartDetectionRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InsightsSmartDetectionRule. +func (mg *InsightsSmartDetectionRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InsightsWebTest. +func (mg *InsightsWebTest) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InsightsWebTest. +func (mg *InsightsWebTest) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InsightsWebTest. +func (mg *InsightsWebTest) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InsightsWebTest. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InsightsWebTest) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InsightsWebTest. +func (mg *InsightsWebTest) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InsightsWebTest. +func (mg *InsightsWebTest) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InsightsWebTest. +func (mg *InsightsWebTest) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InsightsWebTest. +func (mg *InsightsWebTest) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InsightsWebTest. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InsightsWebTest) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InsightsWebTest. +func (mg *InsightsWebTest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SecurityGroup. +func (mg *SecurityGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SecurityGroup. +func (mg *SecurityGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SecurityGroup. +func (mg *SecurityGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SecurityGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SecurityGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SecurityGroup. +func (mg *SecurityGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SecurityGroup. +func (mg *SecurityGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SecurityGroup. +func (mg *SecurityGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SecurityGroup. +func (mg *SecurityGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SecurityGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SecurityGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SecurityGroup. +func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/application/v1alpha1/zz_generated.managedlist.go b/apis/application/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..d6e55f77b --- /dev/null +++ b/apis/application/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this GatewayList. +func (l *GatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InsightsAnalyticsItemList. +func (l *InsightsAnalyticsItemList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InsightsApiKeyList. +func (l *InsightsApiKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InsightsList. +func (l *InsightsList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InsightsSmartDetectionRuleList. +func (l *InsightsSmartDetectionRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InsightsWebTestList. +func (l *InsightsWebTestList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SecurityGroupList. +func (l *SecurityGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/application/v1alpha1/zz_groupversion_info.go b/apis/application/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..dd32da190 --- /dev/null +++ b/apis/application/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=application.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "application.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/application/v1alpha1/zz_insights_terraformed.go b/apis/application/v1alpha1/zz_insights_terraformed.go new file mode 100755 index 000000000..c32df9c2f --- /dev/null +++ b/apis/application/v1alpha1/zz_insights_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Insights +func (mg *Insights) GetTerraformResourceType() string { + return "azurerm_application_insights" +} + +// GetConnectionDetailsMapping for this Insights +func (tr *Insights) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"connection_string": "status.atProvider.connectionString", "instrumentation_key": "status.atProvider.instrumentationKey"} +} + +// GetObservation of this Insights +func (tr *Insights) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Insights +func (tr *Insights) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Insights +func (tr *Insights) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Insights +func (tr *Insights) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Insights using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Insights) LateInitialize(attrs []byte) (bool, error) { + params := &InsightsParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Insights) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_insights_types.go b/apis/application/v1alpha1/zz_insights_types.go new file mode 100755 index 000000000..b67c7ea9f --- /dev/null +++ b/apis/application/v1alpha1/zz_insights_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InsightsObservation struct { + AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"` +} + +type InsightsParameters struct { + + // +kubebuilder:validation:Required + ApplicationType *string `json:"applicationType" tf:"application_type,omitempty"` + + // +kubebuilder:validation:Optional + DailyDataCapInGb *float64 `json:"dailyDataCapInGb,omitempty" tf:"daily_data_cap_in_gb,omitempty"` + + // +kubebuilder:validation:Optional + DailyDataCapNotificationsDisabled *bool `json:"dailyDataCapNotificationsDisabled,omitempty" tf:"daily_data_cap_notifications_disabled,omitempty"` + + // +kubebuilder:validation:Optional + DisableIPMasking *bool `json:"disableIpMasking,omitempty" tf:"disable_ip_masking,omitempty"` + + // +kubebuilder:validation:Optional + LocalAuthenticationDisabled *bool `json:"localAuthenticationDisabled,omitempty" tf:"local_authentication_disabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetentionInDays *int64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Optional + SamplingPercentage *float64 `json:"samplingPercentage,omitempty" tf:"sampling_percentage,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` +} + +// InsightsSpec defines the desired state of Insights +type InsightsSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InsightsParameters `json:"forProvider"` +} + +// InsightsStatus defines the observed state of Insights. +type InsightsStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InsightsObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Insights is the Schema for the Insightss API +// +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,azurejet} +type Insights struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InsightsSpec `json:"spec"` + Status InsightsStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsList contains a list of Insightss +type InsightsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Insights `json:"items"` +} + +// Repository type metadata. +var ( + Insights_Kind = "Insights" + Insights_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Insights_Kind}.String() + Insights_KindAPIVersion = Insights_Kind + "." + CRDGroupVersion.String() + Insights_GroupVersionKind = CRDGroupVersion.WithKind(Insights_Kind) +) + +func init() { + SchemeBuilder.Register(&Insights{}, &InsightsList{}) +} diff --git a/apis/application/v1alpha1/zz_insightsanalyticsitem_terraformed.go b/apis/application/v1alpha1/zz_insightsanalyticsitem_terraformed.go new file mode 100755 index 000000000..697ca2e72 --- /dev/null +++ b/apis/application/v1alpha1/zz_insightsanalyticsitem_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InsightsAnalyticsItem +func (mg *InsightsAnalyticsItem) GetTerraformResourceType() string { + return "azurerm_application_insights_analytics_item" +} + +// GetConnectionDetailsMapping for this InsightsAnalyticsItem +func (tr *InsightsAnalyticsItem) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InsightsAnalyticsItem +func (tr *InsightsAnalyticsItem) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InsightsAnalyticsItem +func (tr *InsightsAnalyticsItem) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InsightsAnalyticsItem +func (tr *InsightsAnalyticsItem) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InsightsAnalyticsItem +func (tr *InsightsAnalyticsItem) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InsightsAnalyticsItem using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InsightsAnalyticsItem) LateInitialize(attrs []byte) (bool, error) { + params := &InsightsAnalyticsItemParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InsightsAnalyticsItem) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_insightsanalyticsitem_types.go b/apis/application/v1alpha1/zz_insightsanalyticsitem_types.go new file mode 100755 index 000000000..2223659a1 --- /dev/null +++ b/apis/application/v1alpha1/zz_insightsanalyticsitem_types.go @@ -0,0 +1,104 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InsightsAnalyticsItemObservation struct { + TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created,omitempty"` + + TimeModified *string `json:"timeModified,omitempty" tf:"time_modified,omitempty"` + + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type InsightsAnalyticsItemParameters struct { + + // +kubebuilder:validation:Required + ApplicationInsightsID *string `json:"applicationInsightsId" tf:"application_insights_id,omitempty"` + + // +kubebuilder:validation:Required + Content *string `json:"content" tf:"content,omitempty"` + + // +kubebuilder:validation:Optional + FunctionAlias *string `json:"functionAlias,omitempty" tf:"function_alias,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// InsightsAnalyticsItemSpec defines the desired state of InsightsAnalyticsItem +type InsightsAnalyticsItemSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InsightsAnalyticsItemParameters `json:"forProvider"` +} + +// InsightsAnalyticsItemStatus defines the observed state of InsightsAnalyticsItem. +type InsightsAnalyticsItemStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InsightsAnalyticsItemObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsAnalyticsItem is the Schema for the InsightsAnalyticsItems API +// +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,azurejet} +type InsightsAnalyticsItem struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InsightsAnalyticsItemSpec `json:"spec"` + Status InsightsAnalyticsItemStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsAnalyticsItemList contains a list of InsightsAnalyticsItems +type InsightsAnalyticsItemList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InsightsAnalyticsItem `json:"items"` +} + +// Repository type metadata. +var ( + InsightsAnalyticsItem_Kind = "InsightsAnalyticsItem" + InsightsAnalyticsItem_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InsightsAnalyticsItem_Kind}.String() + InsightsAnalyticsItem_KindAPIVersion = InsightsAnalyticsItem_Kind + "." + CRDGroupVersion.String() + InsightsAnalyticsItem_GroupVersionKind = CRDGroupVersion.WithKind(InsightsAnalyticsItem_Kind) +) + +func init() { + SchemeBuilder.Register(&InsightsAnalyticsItem{}, &InsightsAnalyticsItemList{}) +} diff --git a/apis/application/v1alpha1/zz_insightsapikey_terraformed.go b/apis/application/v1alpha1/zz_insightsapikey_terraformed.go new file mode 100755 index 000000000..52d620545 --- /dev/null +++ b/apis/application/v1alpha1/zz_insightsapikey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InsightsApiKey +func (mg *InsightsApiKey) GetTerraformResourceType() string { + return "azurerm_application_insights_api_key" +} + +// GetConnectionDetailsMapping for this InsightsApiKey +func (tr *InsightsApiKey) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"api_key": "status.atProvider.apiKey"} +} + +// GetObservation of this InsightsApiKey +func (tr *InsightsApiKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InsightsApiKey +func (tr *InsightsApiKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InsightsApiKey +func (tr *InsightsApiKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InsightsApiKey +func (tr *InsightsApiKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InsightsApiKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InsightsApiKey) LateInitialize(attrs []byte) (bool, error) { + params := &InsightsApiKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InsightsApiKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_insightsapikey_types.go b/apis/application/v1alpha1/zz_insightsapikey_types.go new file mode 100755 index 000000000..385879770 --- /dev/null +++ b/apis/application/v1alpha1/zz_insightsapikey_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InsightsApiKeyObservation struct { +} + +type InsightsApiKeyParameters struct { + + // +kubebuilder:validation:Required + ApplicationInsightsID *string `json:"applicationInsightsId" tf:"application_insights_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ReadPermissions []*string `json:"readPermissions,omitempty" tf:"read_permissions,omitempty"` + + // +kubebuilder:validation:Optional + WritePermissions []*string `json:"writePermissions,omitempty" tf:"write_permissions,omitempty"` +} + +// InsightsApiKeySpec defines the desired state of InsightsApiKey +type InsightsApiKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InsightsApiKeyParameters `json:"forProvider"` +} + +// InsightsApiKeyStatus defines the observed state of InsightsApiKey. +type InsightsApiKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InsightsApiKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsApiKey is the Schema for the InsightsApiKeys API +// +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,azurejet} +type InsightsApiKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InsightsApiKeySpec `json:"spec"` + Status InsightsApiKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsApiKeyList contains a list of InsightsApiKeys +type InsightsApiKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InsightsApiKey `json:"items"` +} + +// Repository type metadata. +var ( + InsightsApiKey_Kind = "InsightsApiKey" + InsightsApiKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InsightsApiKey_Kind}.String() + InsightsApiKey_KindAPIVersion = InsightsApiKey_Kind + "." + CRDGroupVersion.String() + InsightsApiKey_GroupVersionKind = CRDGroupVersion.WithKind(InsightsApiKey_Kind) +) + +func init() { + SchemeBuilder.Register(&InsightsApiKey{}, &InsightsApiKeyList{}) +} diff --git a/apis/application/v1alpha1/zz_insightssmartdetectionrule_terraformed.go b/apis/application/v1alpha1/zz_insightssmartdetectionrule_terraformed.go new file mode 100755 index 000000000..02016f2f1 --- /dev/null +++ b/apis/application/v1alpha1/zz_insightssmartdetectionrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InsightsSmartDetectionRule +func (mg *InsightsSmartDetectionRule) GetTerraformResourceType() string { + return "azurerm_application_insights_smart_detection_rule" +} + +// GetConnectionDetailsMapping for this InsightsSmartDetectionRule +func (tr *InsightsSmartDetectionRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InsightsSmartDetectionRule +func (tr *InsightsSmartDetectionRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InsightsSmartDetectionRule +func (tr *InsightsSmartDetectionRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InsightsSmartDetectionRule +func (tr *InsightsSmartDetectionRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InsightsSmartDetectionRule +func (tr *InsightsSmartDetectionRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InsightsSmartDetectionRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InsightsSmartDetectionRule) LateInitialize(attrs []byte) (bool, error) { + params := &InsightsSmartDetectionRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InsightsSmartDetectionRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_insightssmartdetectionrule_types.go b/apis/application/v1alpha1/zz_insightssmartdetectionrule_types.go new file mode 100755 index 000000000..ea10a86f7 --- /dev/null +++ b/apis/application/v1alpha1/zz_insightssmartdetectionrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InsightsSmartDetectionRuleObservation struct { +} + +type InsightsSmartDetectionRuleParameters struct { + + // +kubebuilder:validation:Optional + AdditionalEmailRecipients []*string `json:"additionalEmailRecipients,omitempty" tf:"additional_email_recipients,omitempty"` + + // +kubebuilder:validation:Required + ApplicationInsightsID *string `json:"applicationInsightsId" tf:"application_insights_id,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SendEmailsToSubscriptionOwners *bool `json:"sendEmailsToSubscriptionOwners,omitempty" tf:"send_emails_to_subscription_owners,omitempty"` +} + +// InsightsSmartDetectionRuleSpec defines the desired state of InsightsSmartDetectionRule +type InsightsSmartDetectionRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InsightsSmartDetectionRuleParameters `json:"forProvider"` +} + +// InsightsSmartDetectionRuleStatus defines the observed state of InsightsSmartDetectionRule. +type InsightsSmartDetectionRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InsightsSmartDetectionRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsSmartDetectionRule is the Schema for the InsightsSmartDetectionRules API +// +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,azurejet} +type InsightsSmartDetectionRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InsightsSmartDetectionRuleSpec `json:"spec"` + Status InsightsSmartDetectionRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsSmartDetectionRuleList contains a list of InsightsSmartDetectionRules +type InsightsSmartDetectionRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InsightsSmartDetectionRule `json:"items"` +} + +// Repository type metadata. +var ( + InsightsSmartDetectionRule_Kind = "InsightsSmartDetectionRule" + InsightsSmartDetectionRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InsightsSmartDetectionRule_Kind}.String() + InsightsSmartDetectionRule_KindAPIVersion = InsightsSmartDetectionRule_Kind + "." + CRDGroupVersion.String() + InsightsSmartDetectionRule_GroupVersionKind = CRDGroupVersion.WithKind(InsightsSmartDetectionRule_Kind) +) + +func init() { + SchemeBuilder.Register(&InsightsSmartDetectionRule{}, &InsightsSmartDetectionRuleList{}) +} diff --git a/apis/application/v1alpha1/zz_insightswebtest_terraformed.go b/apis/application/v1alpha1/zz_insightswebtest_terraformed.go new file mode 100755 index 000000000..a3948279e --- /dev/null +++ b/apis/application/v1alpha1/zz_insightswebtest_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InsightsWebTest +func (mg *InsightsWebTest) GetTerraformResourceType() string { + return "azurerm_application_insights_web_test" +} + +// GetConnectionDetailsMapping for this InsightsWebTest +func (tr *InsightsWebTest) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InsightsWebTest +func (tr *InsightsWebTest) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InsightsWebTest +func (tr *InsightsWebTest) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InsightsWebTest +func (tr *InsightsWebTest) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InsightsWebTest +func (tr *InsightsWebTest) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InsightsWebTest using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InsightsWebTest) LateInitialize(attrs []byte) (bool, error) { + params := &InsightsWebTestParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InsightsWebTest) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_insightswebtest_types.go b/apis/application/v1alpha1/zz_insightswebtest_types.go new file mode 100755 index 000000000..0e600a53c --- /dev/null +++ b/apis/application/v1alpha1/zz_insightswebtest_types.go @@ -0,0 +1,121 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InsightsWebTestObservation struct { + SyntheticMonitorID *string `json:"syntheticMonitorId,omitempty" tf:"synthetic_monitor_id,omitempty"` +} + +type InsightsWebTestParameters struct { + + // +kubebuilder:validation:Required + ApplicationInsightsID *string `json:"applicationInsightsId" tf:"application_insights_id,omitempty"` + + // +kubebuilder:validation:Required + Configuration *string `json:"configuration" tf:"configuration,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Frequency *int64 `json:"frequency,omitempty" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + GeoLocations []*string `json:"geoLocations" tf:"geo_locations,omitempty"` + + // +kubebuilder:validation:Required + Kind *string `json:"kind" tf:"kind,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetryEnabled *bool `json:"retryEnabled,omitempty" tf:"retry_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Timeout *int64 `json:"timeout,omitempty" tf:"timeout,omitempty"` +} + +// InsightsWebTestSpec defines the desired state of InsightsWebTest +type InsightsWebTestSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InsightsWebTestParameters `json:"forProvider"` +} + +// InsightsWebTestStatus defines the observed state of InsightsWebTest. +type InsightsWebTestStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InsightsWebTestObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsWebTest is the Schema for the InsightsWebTests API +// +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,azurejet} +type InsightsWebTest struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InsightsWebTestSpec `json:"spec"` + Status InsightsWebTestStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InsightsWebTestList contains a list of InsightsWebTests +type InsightsWebTestList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InsightsWebTest `json:"items"` +} + +// Repository type metadata. +var ( + InsightsWebTest_Kind = "InsightsWebTest" + InsightsWebTest_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InsightsWebTest_Kind}.String() + InsightsWebTest_KindAPIVersion = InsightsWebTest_Kind + "." + CRDGroupVersion.String() + InsightsWebTest_GroupVersionKind = CRDGroupVersion.WithKind(InsightsWebTest_Kind) +) + +func init() { + SchemeBuilder.Register(&InsightsWebTest{}, &InsightsWebTestList{}) +} diff --git a/apis/application/v1alpha1/zz_securitygroup_terraformed.go b/apis/application/v1alpha1/zz_securitygroup_terraformed.go new file mode 100755 index 000000000..e14c52ba9 --- /dev/null +++ b/apis/application/v1alpha1/zz_securitygroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SecurityGroup +func (mg *SecurityGroup) GetTerraformResourceType() string { + return "azurerm_application_security_group" +} + +// GetConnectionDetailsMapping for this SecurityGroup +func (tr *SecurityGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SecurityGroup +func (tr *SecurityGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SecurityGroup +func (tr *SecurityGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SecurityGroup +func (tr *SecurityGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SecurityGroup +func (tr *SecurityGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SecurityGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SecurityGroup) LateInitialize(attrs []byte) (bool, error) { + params := &SecurityGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SecurityGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/application/v1alpha1/zz_securitygroup_types.go b/apis/application/v1alpha1/zz_securitygroup_types.go new file mode 100755 index 000000000..f10bc3beb --- /dev/null +++ b/apis/application/v1alpha1/zz_securitygroup_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SecurityGroupObservation struct { +} + +type SecurityGroupParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SecurityGroupSpec defines the desired state of SecurityGroup +type SecurityGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SecurityGroupParameters `json:"forProvider"` +} + +// SecurityGroupStatus defines the observed state of SecurityGroup. +type SecurityGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SecurityGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecurityGroup is the Schema for the SecurityGroups API +// +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,azurejet} +type SecurityGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SecurityGroupSpec `json:"spec"` + Status SecurityGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecurityGroupList contains a list of SecurityGroups +type SecurityGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SecurityGroup `json:"items"` +} + +// Repository type metadata. +var ( + SecurityGroup_Kind = "SecurityGroup" + SecurityGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroup_Kind}.String() + SecurityGroup_KindAPIVersion = SecurityGroup_Kind + "." + CRDGroupVersion.String() + SecurityGroup_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&SecurityGroup{}, &SecurityGroupList{}) +} diff --git a/apis/attestation/v1alpha1/zz_generated.deepcopy.go b/apis/attestation/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..fcd6260a8 --- /dev/null +++ b/apis/attestation/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,193 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Provider) DeepCopyInto(out *Provider) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider. +func (in *Provider) DeepCopy() *Provider { + if in == nil { + return nil + } + out := new(Provider) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Provider) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderList) DeepCopyInto(out *ProviderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Provider, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderList. +func (in *ProviderList) DeepCopy() *ProviderList { + if in == nil { + return nil + } + out := new(ProviderList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProviderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderObservation) DeepCopyInto(out *ProviderObservation) { + *out = *in + if in.AttestationURI != nil { + in, out := &in.AttestationURI, &out.AttestationURI + *out = new(string) + **out = **in + } + if in.TrustModel != nil { + in, out := &in.TrustModel, &out.TrustModel + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderObservation. +func (in *ProviderObservation) DeepCopy() *ProviderObservation { + if in == nil { + return nil + } + out := new(ProviderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderParameters) DeepCopyInto(out *ProviderParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicySigningCertificateData != nil { + in, out := &in.PolicySigningCertificateData, &out.PolicySigningCertificateData + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderParameters. +func (in *ProviderParameters) DeepCopy() *ProviderParameters { + if in == nil { + return nil + } + out := new(ProviderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec. +func (in *ProviderSpec) DeepCopy() *ProviderSpec { + if in == nil { + return nil + } + out := new(ProviderSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus. +func (in *ProviderStatus) DeepCopy() *ProviderStatus { + if in == nil { + return nil + } + out := new(ProviderStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/attestation/v1alpha1/zz_generated.managed.go b/apis/attestation/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..508ad50c8 --- /dev/null +++ b/apis/attestation/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Provider. +func (mg *Provider) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Provider. +func (mg *Provider) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Provider. +func (mg *Provider) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Provider. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Provider) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Provider. +func (mg *Provider) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Provider. +func (mg *Provider) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Provider. +func (mg *Provider) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Provider. +func (mg *Provider) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Provider. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Provider) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Provider. +func (mg *Provider) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/attestation/v1alpha1/zz_generated.managedlist.go b/apis/attestation/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..c3505dead --- /dev/null +++ b/apis/attestation/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ProviderList. +func (l *ProviderList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/attestation/v1alpha1/zz_groupversion_info.go b/apis/attestation/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..7b50d62aa --- /dev/null +++ b/apis/attestation/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=attestation.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "attestation.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/attestation/v1alpha1/zz_provider_terraformed.go b/apis/attestation/v1alpha1/zz_provider_terraformed.go new file mode 100755 index 000000000..e15ceaa42 --- /dev/null +++ b/apis/attestation/v1alpha1/zz_provider_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Provider +func (mg *Provider) GetTerraformResourceType() string { + return "azurerm_attestation_provider" +} + +// GetConnectionDetailsMapping for this Provider +func (tr *Provider) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Provider +func (tr *Provider) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Provider +func (tr *Provider) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Provider +func (tr *Provider) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Provider +func (tr *Provider) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Provider using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Provider) LateInitialize(attrs []byte) (bool, error) { + params := &ProviderParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Provider) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/attestation/v1alpha1/zz_provider_types.go b/apis/attestation/v1alpha1/zz_provider_types.go new file mode 100755 index 000000000..466a0dc7e --- /dev/null +++ b/apis/attestation/v1alpha1/zz_provider_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProviderObservation struct { + AttestationURI *string `json:"attestationUri,omitempty" tf:"attestation_uri,omitempty"` + + TrustModel *string `json:"trustModel,omitempty" tf:"trust_model,omitempty"` +} + +type ProviderParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PolicySigningCertificateData *string `json:"policySigningCertificateData,omitempty" tf:"policy_signing_certificate_data,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ProviderSpec defines the desired state of Provider +type ProviderSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProviderParameters `json:"forProvider"` +} + +// ProviderStatus defines the observed state of Provider. +type ProviderStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProviderObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Provider is the Schema for the Providers API +// +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,azurejet} +type Provider struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProviderSpec `json:"spec"` + Status ProviderStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProviderList contains a list of Providers +type ProviderList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Provider `json:"items"` +} + +// Repository type metadata. +var ( + Provider_Kind = "Provider" + Provider_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Provider_Kind}.String() + Provider_KindAPIVersion = Provider_Kind + "." + CRDGroupVersion.String() + Provider_GroupVersionKind = CRDGroupVersion.WithKind(Provider_Kind) +) + +func init() { + SchemeBuilder.Register(&Provider{}, &ProviderList{}) +} diff --git a/apis/automation/v1alpha1/zz_account_terraformed.go b/apis/automation/v1alpha1/zz_account_terraformed.go new file mode 100755 index 000000000..f3d9c403a --- /dev/null +++ b/apis/automation/v1alpha1/zz_account_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Account +func (mg *Account) GetTerraformResourceType() string { + return "azurerm_automation_account" +} + +// GetConnectionDetailsMapping for this Account +func (tr *Account) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Account +func (tr *Account) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Account +func (tr *Account) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Account +func (tr *Account) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Account +func (tr *Account) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Account using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Account) LateInitialize(attrs []byte) (bool, error) { + params := &AccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Account) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_account_types.go b/apis/automation/v1alpha1/zz_account_types.go new file mode 100755 index 000000000..f4b25204a --- /dev/null +++ b/apis/automation/v1alpha1/zz_account_types.go @@ -0,0 +1,101 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountObservation struct { + DscPrimaryAccessKey *string `json:"dscPrimaryAccessKey,omitempty" tf:"dsc_primary_access_key,omitempty"` + + DscSecondaryAccessKey *string `json:"dscSecondaryAccessKey,omitempty" tf:"dsc_secondary_access_key,omitempty"` + + DscServerEndpoint *string `json:"dscServerEndpoint,omitempty" tf:"dsc_server_endpoint,omitempty"` +} + +type AccountParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AccountSpec defines the desired state of Account +type AccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountParameters `json:"forProvider"` +} + +// AccountStatus defines the observed state of Account. +type AccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Account is the Schema for the Accounts API +// +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,azurejet} +type Account struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountSpec `json:"spec"` + Status AccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountList contains a list of Accounts +type AccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Account `json:"items"` +} + +// Repository type metadata. +var ( + Account_Kind = "Account" + Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() + Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() + Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) +) + +func init() { + SchemeBuilder.Register(&Account{}, &AccountList{}) +} diff --git a/apis/automation/v1alpha1/zz_certificate_terraformed.go b/apis/automation/v1alpha1/zz_certificate_terraformed.go new file mode 100755 index 000000000..c4b2877fd --- /dev/null +++ b/apis/automation/v1alpha1/zz_certificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Certificate +func (mg *Certificate) GetTerraformResourceType() string { + return "azurerm_automation_certificate" +} + +// GetConnectionDetailsMapping for this Certificate +func (tr *Certificate) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"base64": "spec.forProvider.base64SecretRef"} +} + +// GetObservation of this Certificate +func (tr *Certificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Certificate +func (tr *Certificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Certificate +func (tr *Certificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Certificate +func (tr *Certificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Certificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Certificate) LateInitialize(attrs []byte) (bool, error) { + params := &CertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Certificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_certificate_types.go b/apis/automation/v1alpha1/zz_certificate_types.go new file mode 100755 index 000000000..cf96177c5 --- /dev/null +++ b/apis/automation/v1alpha1/zz_certificate_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CertificateObservation struct { + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Required + Base64SecretRef v1.SecretKeySelector `json:"base64SecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Exportable *bool `json:"exportable,omitempty" tf:"exportable,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// CertificateSpec defines the desired state of Certificate +type CertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CertificateParameters `json:"forProvider"` +} + +// CertificateStatus defines the observed state of Certificate. +type CertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Certificate is the Schema for the Certificates API +// +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,azurejet} +type Certificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CertificateSpec `json:"spec"` + Status CertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CertificateList contains a list of Certificates +type CertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Certificate `json:"items"` +} + +// Repository type metadata. +var ( + Certificate_Kind = "Certificate" + Certificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Certificate_Kind}.String() + Certificate_KindAPIVersion = Certificate_Kind + "." + CRDGroupVersion.String() + Certificate_GroupVersionKind = CRDGroupVersion.WithKind(Certificate_Kind) +) + +func init() { + SchemeBuilder.Register(&Certificate{}, &CertificateList{}) +} diff --git a/apis/automation/v1alpha1/zz_connection_terraformed.go b/apis/automation/v1alpha1/zz_connection_terraformed.go new file mode 100755 index 000000000..de9405cb2 --- /dev/null +++ b/apis/automation/v1alpha1/zz_connection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Connection +func (mg *Connection) GetTerraformResourceType() string { + return "azurerm_automation_connection" +} + +// GetConnectionDetailsMapping for this Connection +func (tr *Connection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Connection +func (tr *Connection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Connection +func (tr *Connection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Connection +func (tr *Connection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Connection +func (tr *Connection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Connection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Connection) LateInitialize(attrs []byte) (bool, error) { + params := &ConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Connection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_connection_types.go b/apis/automation/v1alpha1/zz_connection_types.go new file mode 100755 index 000000000..ee078e5fa --- /dev/null +++ b/apis/automation/v1alpha1/zz_connection_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionObservation struct { +} + +type ConnectionParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + Values map[string]*string `json:"values" tf:"values,omitempty"` +} + +// ConnectionSpec defines the desired state of Connection +type ConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConnectionParameters `json:"forProvider"` +} + +// ConnectionStatus defines the observed state of Connection. +type ConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Connection is the Schema for the Connections API +// +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,azurejet} +type Connection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectionSpec `json:"spec"` + Status ConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionList contains a list of Connections +type ConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Connection `json:"items"` +} + +// Repository type metadata. +var ( + Connection_Kind = "Connection" + Connection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Connection_Kind}.String() + Connection_KindAPIVersion = Connection_Kind + "." + CRDGroupVersion.String() + Connection_GroupVersionKind = CRDGroupVersion.WithKind(Connection_Kind) +) + +func init() { + SchemeBuilder.Register(&Connection{}, &ConnectionList{}) +} diff --git a/apis/automation/v1alpha1/zz_connectioncertificate_terraformed.go b/apis/automation/v1alpha1/zz_connectioncertificate_terraformed.go new file mode 100755 index 000000000..f64106e0c --- /dev/null +++ b/apis/automation/v1alpha1/zz_connectioncertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ConnectionCertificate +func (mg *ConnectionCertificate) GetTerraformResourceType() string { + return "azurerm_automation_connection_certificate" +} + +// GetConnectionDetailsMapping for this ConnectionCertificate +func (tr *ConnectionCertificate) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ConnectionCertificate +func (tr *ConnectionCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ConnectionCertificate +func (tr *ConnectionCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ConnectionCertificate +func (tr *ConnectionCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ConnectionCertificate +func (tr *ConnectionCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ConnectionCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ConnectionCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &ConnectionCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ConnectionCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_connectioncertificate_types.go b/apis/automation/v1alpha1/zz_connectioncertificate_types.go new file mode 100755 index 000000000..6ecde0dfe --- /dev/null +++ b/apis/automation/v1alpha1/zz_connectioncertificate_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionCertificateObservation struct { +} + +type ConnectionCertificateParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Required + AutomationCertificateName *string `json:"automationCertificateName" tf:"automation_certificate_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` +} + +// ConnectionCertificateSpec defines the desired state of ConnectionCertificate +type ConnectionCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConnectionCertificateParameters `json:"forProvider"` +} + +// ConnectionCertificateStatus defines the observed state of ConnectionCertificate. +type ConnectionCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConnectionCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionCertificate is the Schema for the ConnectionCertificates API +// +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,azurejet} +type ConnectionCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectionCertificateSpec `json:"spec"` + Status ConnectionCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionCertificateList contains a list of ConnectionCertificates +type ConnectionCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ConnectionCertificate `json:"items"` +} + +// Repository type metadata. +var ( + ConnectionCertificate_Kind = "ConnectionCertificate" + ConnectionCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectionCertificate_Kind}.String() + ConnectionCertificate_KindAPIVersion = ConnectionCertificate_Kind + "." + CRDGroupVersion.String() + ConnectionCertificate_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&ConnectionCertificate{}, &ConnectionCertificateList{}) +} diff --git a/apis/automation/v1alpha1/zz_connectionclassiccertificate_terraformed.go b/apis/automation/v1alpha1/zz_connectionclassiccertificate_terraformed.go new file mode 100755 index 000000000..8fd52f5f0 --- /dev/null +++ b/apis/automation/v1alpha1/zz_connectionclassiccertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ConnectionClassicCertificate +func (mg *ConnectionClassicCertificate) GetTerraformResourceType() string { + return "azurerm_automation_connection_classic_certificate" +} + +// GetConnectionDetailsMapping for this ConnectionClassicCertificate +func (tr *ConnectionClassicCertificate) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ConnectionClassicCertificate +func (tr *ConnectionClassicCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ConnectionClassicCertificate +func (tr *ConnectionClassicCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ConnectionClassicCertificate +func (tr *ConnectionClassicCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ConnectionClassicCertificate +func (tr *ConnectionClassicCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ConnectionClassicCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ConnectionClassicCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &ConnectionClassicCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ConnectionClassicCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_connectionclassiccertificate_types.go b/apis/automation/v1alpha1/zz_connectionclassiccertificate_types.go new file mode 100755 index 000000000..979824381 --- /dev/null +++ b/apis/automation/v1alpha1/zz_connectionclassiccertificate_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionClassicCertificateObservation struct { +} + +type ConnectionClassicCertificateParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Required + CertificateAssetName *string `json:"certificateAssetName" tf:"certificate_asset_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionName *string `json:"subscriptionName" tf:"subscription_name,omitempty"` +} + +// ConnectionClassicCertificateSpec defines the desired state of ConnectionClassicCertificate +type ConnectionClassicCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConnectionClassicCertificateParameters `json:"forProvider"` +} + +// ConnectionClassicCertificateStatus defines the observed state of ConnectionClassicCertificate. +type ConnectionClassicCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConnectionClassicCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionClassicCertificate is the Schema for the ConnectionClassicCertificates API +// +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,azurejet} +type ConnectionClassicCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectionClassicCertificateSpec `json:"spec"` + Status ConnectionClassicCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionClassicCertificateList contains a list of ConnectionClassicCertificates +type ConnectionClassicCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ConnectionClassicCertificate `json:"items"` +} + +// Repository type metadata. +var ( + ConnectionClassicCertificate_Kind = "ConnectionClassicCertificate" + ConnectionClassicCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectionClassicCertificate_Kind}.String() + ConnectionClassicCertificate_KindAPIVersion = ConnectionClassicCertificate_Kind + "." + CRDGroupVersion.String() + ConnectionClassicCertificate_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionClassicCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&ConnectionClassicCertificate{}, &ConnectionClassicCertificateList{}) +} diff --git a/apis/automation/v1alpha1/zz_connectionserviceprincipal_terraformed.go b/apis/automation/v1alpha1/zz_connectionserviceprincipal_terraformed.go new file mode 100755 index 000000000..4e2df096a --- /dev/null +++ b/apis/automation/v1alpha1/zz_connectionserviceprincipal_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ConnectionServicePrincipal +func (mg *ConnectionServicePrincipal) GetTerraformResourceType() string { + return "azurerm_automation_connection_service_principal" +} + +// GetConnectionDetailsMapping for this ConnectionServicePrincipal +func (tr *ConnectionServicePrincipal) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ConnectionServicePrincipal +func (tr *ConnectionServicePrincipal) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ConnectionServicePrincipal +func (tr *ConnectionServicePrincipal) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ConnectionServicePrincipal +func (tr *ConnectionServicePrincipal) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ConnectionServicePrincipal +func (tr *ConnectionServicePrincipal) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ConnectionServicePrincipal using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ConnectionServicePrincipal) LateInitialize(attrs []byte) (bool, error) { + params := &ConnectionServicePrincipalParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ConnectionServicePrincipal) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_connectionserviceprincipal_types.go b/apis/automation/v1alpha1/zz_connectionserviceprincipal_types.go new file mode 100755 index 000000000..e4ca34069 --- /dev/null +++ b/apis/automation/v1alpha1/zz_connectionserviceprincipal_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionServicePrincipalObservation struct { +} + +type ConnectionServicePrincipalParameters struct { + + // +kubebuilder:validation:Required + ApplicationID *string `json:"applicationId" tf:"application_id,omitempty"` + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Required + CertificateThumbprint *string `json:"certificateThumbprint" tf:"certificate_thumbprint,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// ConnectionServicePrincipalSpec defines the desired state of ConnectionServicePrincipal +type ConnectionServicePrincipalSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConnectionServicePrincipalParameters `json:"forProvider"` +} + +// ConnectionServicePrincipalStatus defines the observed state of ConnectionServicePrincipal. +type ConnectionServicePrincipalStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConnectionServicePrincipalObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionServicePrincipal is the Schema for the ConnectionServicePrincipals API +// +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,azurejet} +type ConnectionServicePrincipal struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectionServicePrincipalSpec `json:"spec"` + Status ConnectionServicePrincipalStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionServicePrincipalList contains a list of ConnectionServicePrincipals +type ConnectionServicePrincipalList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ConnectionServicePrincipal `json:"items"` +} + +// Repository type metadata. +var ( + ConnectionServicePrincipal_Kind = "ConnectionServicePrincipal" + ConnectionServicePrincipal_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectionServicePrincipal_Kind}.String() + ConnectionServicePrincipal_KindAPIVersion = ConnectionServicePrincipal_Kind + "." + CRDGroupVersion.String() + ConnectionServicePrincipal_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionServicePrincipal_Kind) +) + +func init() { + SchemeBuilder.Register(&ConnectionServicePrincipal{}, &ConnectionServicePrincipalList{}) +} diff --git a/apis/automation/v1alpha1/zz_credential_terraformed.go b/apis/automation/v1alpha1/zz_credential_terraformed.go new file mode 100755 index 000000000..5c0acc7e4 --- /dev/null +++ b/apis/automation/v1alpha1/zz_credential_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Credential +func (mg *Credential) GetTerraformResourceType() string { + return "azurerm_automation_credential" +} + +// GetConnectionDetailsMapping for this Credential +func (tr *Credential) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this Credential +func (tr *Credential) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Credential +func (tr *Credential) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Credential +func (tr *Credential) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Credential +func (tr *Credential) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Credential using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Credential) LateInitialize(attrs []byte) (bool, error) { + params := &CredentialParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Credential) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_credential_types.go b/apis/automation/v1alpha1/zz_credential_types.go new file mode 100755 index 000000000..f97ef0628 --- /dev/null +++ b/apis/automation/v1alpha1/zz_credential_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CredentialObservation struct { +} + +type CredentialParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// CredentialSpec defines the desired state of Credential +type CredentialSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CredentialParameters `json:"forProvider"` +} + +// CredentialStatus defines the observed state of Credential. +type CredentialStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CredentialObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Credential is the Schema for the Credentials API +// +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,azurejet} +type Credential struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CredentialSpec `json:"spec"` + Status CredentialStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CredentialList contains a list of Credentials +type CredentialList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Credential `json:"items"` +} + +// Repository type metadata. +var ( + Credential_Kind = "Credential" + Credential_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Credential_Kind}.String() + Credential_KindAPIVersion = Credential_Kind + "." + CRDGroupVersion.String() + Credential_GroupVersionKind = CRDGroupVersion.WithKind(Credential_Kind) +) + +func init() { + SchemeBuilder.Register(&Credential{}, &CredentialList{}) +} diff --git a/apis/automation/v1alpha1/zz_dscnodeconfiguration_terraformed.go b/apis/automation/v1alpha1/zz_dscnodeconfiguration_terraformed.go new file mode 100755 index 000000000..dd295c28d --- /dev/null +++ b/apis/automation/v1alpha1/zz_dscnodeconfiguration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DscNodeconfiguration +func (mg *DscNodeconfiguration) GetTerraformResourceType() string { + return "azurerm_automation_dsc_nodeconfiguration" +} + +// GetConnectionDetailsMapping for this DscNodeconfiguration +func (tr *DscNodeconfiguration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DscNodeconfiguration +func (tr *DscNodeconfiguration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DscNodeconfiguration +func (tr *DscNodeconfiguration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DscNodeconfiguration +func (tr *DscNodeconfiguration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DscNodeconfiguration +func (tr *DscNodeconfiguration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DscNodeconfiguration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DscNodeconfiguration) LateInitialize(attrs []byte) (bool, error) { + params := &DscNodeconfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DscNodeconfiguration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_dscnodeconfiguration_types.go b/apis/automation/v1alpha1/zz_dscnodeconfiguration_types.go new file mode 100755 index 000000000..368b05ce5 --- /dev/null +++ b/apis/automation/v1alpha1/zz_dscnodeconfiguration_types.go @@ -0,0 +1,94 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DscNodeconfigurationObservation struct { + ConfigurationName *string `json:"configurationName,omitempty" tf:"configuration_name,omitempty"` +} + +type DscNodeconfigurationParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Required + ContentEmbedded *string `json:"contentEmbedded" tf:"content_embedded,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// DscNodeconfigurationSpec defines the desired state of DscNodeconfiguration +type DscNodeconfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DscNodeconfigurationParameters `json:"forProvider"` +} + +// DscNodeconfigurationStatus defines the observed state of DscNodeconfiguration. +type DscNodeconfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DscNodeconfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DscNodeconfiguration is the Schema for the DscNodeconfigurations API +// +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,azurejet} +type DscNodeconfiguration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DscNodeconfigurationSpec `json:"spec"` + Status DscNodeconfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DscNodeconfigurationList contains a list of DscNodeconfigurations +type DscNodeconfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DscNodeconfiguration `json:"items"` +} + +// Repository type metadata. +var ( + DscNodeconfiguration_Kind = "DscNodeconfiguration" + DscNodeconfiguration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DscNodeconfiguration_Kind}.String() + DscNodeconfiguration_KindAPIVersion = DscNodeconfiguration_Kind + "." + CRDGroupVersion.String() + DscNodeconfiguration_GroupVersionKind = CRDGroupVersion.WithKind(DscNodeconfiguration_Kind) +) + +func init() { + SchemeBuilder.Register(&DscNodeconfiguration{}, &DscNodeconfigurationList{}) +} diff --git a/apis/automation/v1alpha1/zz_generated.deepcopy.go b/apis/automation/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..cb63d82ce --- /dev/null +++ b/apis/automation/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2874 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Account) DeepCopyInto(out *Account) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account. +func (in *Account) DeepCopy() *Account { + if in == nil { + return nil + } + out := new(Account) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Account) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil + } + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in + if in.DscPrimaryAccessKey != nil { + in, out := &in.DscPrimaryAccessKey, &out.DscPrimaryAccessKey + *out = new(string) + **out = **in + } + if in.DscSecondaryAccessKey != nil { + in, out := &in.DscSecondaryAccessKey, &out.DscSecondaryAccessKey + *out = new(string) + **out = **in + } + if in.DscServerEndpoint != nil { + in, out := &in.DscServerEndpoint, &out.DscServerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation. +func (in *AccountObservation) DeepCopy() *AccountObservation { + if in == nil { + return nil + } + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Certificate) DeepCopyInto(out *Certificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate. +func (in *Certificate) DeepCopy() *Certificate { + if in == nil { + return nil + } + out := new(Certificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Certificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateList) DeepCopyInto(out *CertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Certificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList. +func (in *CertificateList) DeepCopy() *CertificateList { + if in == nil { + return nil + } + out := new(CertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + out.Base64SecretRef = in.Base64SecretRef + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Exportable != nil { + in, out := &in.Exportable, &out.Exportable + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSpec. +func (in *CertificateSpec) DeepCopy() *CertificateSpec { + if in == nil { + return nil + } + out := new(CertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateStatus. +func (in *CertificateStatus) DeepCopy() *CertificateStatus { + if in == nil { + return nil + } + out := new(CertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Connection) DeepCopyInto(out *Connection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection. +func (in *Connection) DeepCopy() *Connection { + if in == nil { + return nil + } + out := new(Connection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Connection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionCertificate) DeepCopyInto(out *ConnectionCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCertificate. +func (in *ConnectionCertificate) DeepCopy() *ConnectionCertificate { + if in == nil { + return nil + } + out := new(ConnectionCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionCertificateList) DeepCopyInto(out *ConnectionCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ConnectionCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCertificateList. +func (in *ConnectionCertificateList) DeepCopy() *ConnectionCertificateList { + if in == nil { + return nil + } + out := new(ConnectionCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionCertificateObservation) DeepCopyInto(out *ConnectionCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCertificateObservation. +func (in *ConnectionCertificateObservation) DeepCopy() *ConnectionCertificateObservation { + if in == nil { + return nil + } + out := new(ConnectionCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionCertificateParameters) DeepCopyInto(out *ConnectionCertificateParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.AutomationCertificateName != nil { + in, out := &in.AutomationCertificateName, &out.AutomationCertificateName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCertificateParameters. +func (in *ConnectionCertificateParameters) DeepCopy() *ConnectionCertificateParameters { + if in == nil { + return nil + } + out := new(ConnectionCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionCertificateSpec) DeepCopyInto(out *ConnectionCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCertificateSpec. +func (in *ConnectionCertificateSpec) DeepCopy() *ConnectionCertificateSpec { + if in == nil { + return nil + } + out := new(ConnectionCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionCertificateStatus) DeepCopyInto(out *ConnectionCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionCertificateStatus. +func (in *ConnectionCertificateStatus) DeepCopy() *ConnectionCertificateStatus { + if in == nil { + return nil + } + out := new(ConnectionCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionClassicCertificate) DeepCopyInto(out *ConnectionClassicCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionClassicCertificate. +func (in *ConnectionClassicCertificate) DeepCopy() *ConnectionClassicCertificate { + if in == nil { + return nil + } + out := new(ConnectionClassicCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionClassicCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionClassicCertificateList) DeepCopyInto(out *ConnectionClassicCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ConnectionClassicCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionClassicCertificateList. +func (in *ConnectionClassicCertificateList) DeepCopy() *ConnectionClassicCertificateList { + if in == nil { + return nil + } + out := new(ConnectionClassicCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionClassicCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionClassicCertificateObservation) DeepCopyInto(out *ConnectionClassicCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionClassicCertificateObservation. +func (in *ConnectionClassicCertificateObservation) DeepCopy() *ConnectionClassicCertificateObservation { + if in == nil { + return nil + } + out := new(ConnectionClassicCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionClassicCertificateParameters) DeepCopyInto(out *ConnectionClassicCertificateParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.CertificateAssetName != nil { + in, out := &in.CertificateAssetName, &out.CertificateAssetName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } + if in.SubscriptionName != nil { + in, out := &in.SubscriptionName, &out.SubscriptionName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionClassicCertificateParameters. +func (in *ConnectionClassicCertificateParameters) DeepCopy() *ConnectionClassicCertificateParameters { + if in == nil { + return nil + } + out := new(ConnectionClassicCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionClassicCertificateSpec) DeepCopyInto(out *ConnectionClassicCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionClassicCertificateSpec. +func (in *ConnectionClassicCertificateSpec) DeepCopy() *ConnectionClassicCertificateSpec { + if in == nil { + return nil + } + out := new(ConnectionClassicCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionClassicCertificateStatus) DeepCopyInto(out *ConnectionClassicCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionClassicCertificateStatus. +func (in *ConnectionClassicCertificateStatus) DeepCopy() *ConnectionClassicCertificateStatus { + if in == nil { + return nil + } + out := new(ConnectionClassicCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionList) DeepCopyInto(out *ConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Connection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionList. +func (in *ConnectionList) DeepCopy() *ConnectionList { + if in == nil { + return nil + } + out := new(ConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionObservation. +func (in *ConnectionObservation) DeepCopy() *ConnectionObservation { + if in == nil { + return nil + } + out := new(ConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionParameters. +func (in *ConnectionParameters) DeepCopy() *ConnectionParameters { + if in == nil { + return nil + } + out := new(ConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionServicePrincipal) DeepCopyInto(out *ConnectionServicePrincipal) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionServicePrincipal. +func (in *ConnectionServicePrincipal) DeepCopy() *ConnectionServicePrincipal { + if in == nil { + return nil + } + out := new(ConnectionServicePrincipal) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionServicePrincipal) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionServicePrincipalList) DeepCopyInto(out *ConnectionServicePrincipalList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ConnectionServicePrincipal, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionServicePrincipalList. +func (in *ConnectionServicePrincipalList) DeepCopy() *ConnectionServicePrincipalList { + if in == nil { + return nil + } + out := new(ConnectionServicePrincipalList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionServicePrincipalList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionServicePrincipalObservation) DeepCopyInto(out *ConnectionServicePrincipalObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionServicePrincipalObservation. +func (in *ConnectionServicePrincipalObservation) DeepCopy() *ConnectionServicePrincipalObservation { + if in == nil { + return nil + } + out := new(ConnectionServicePrincipalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionServicePrincipalParameters) DeepCopyInto(out *ConnectionServicePrincipalParameters) { + *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.CertificateThumbprint != nil { + in, out := &in.CertificateThumbprint, &out.CertificateThumbprint + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionServicePrincipalParameters. +func (in *ConnectionServicePrincipalParameters) DeepCopy() *ConnectionServicePrincipalParameters { + if in == nil { + return nil + } + out := new(ConnectionServicePrincipalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionServicePrincipalSpec) DeepCopyInto(out *ConnectionServicePrincipalSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionServicePrincipalSpec. +func (in *ConnectionServicePrincipalSpec) DeepCopy() *ConnectionServicePrincipalSpec { + if in == nil { + return nil + } + out := new(ConnectionServicePrincipalSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionServicePrincipalStatus) DeepCopyInto(out *ConnectionServicePrincipalStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionServicePrincipalStatus. +func (in *ConnectionServicePrincipalStatus) DeepCopy() *ConnectionServicePrincipalStatus { + if in == nil { + return nil + } + out := new(ConnectionServicePrincipalStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpec. +func (in *ConnectionSpec) DeepCopy() *ConnectionSpec { + if in == nil { + return nil + } + out := new(ConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStatus. +func (in *ConnectionStatus) DeepCopy() *ConnectionStatus { + if in == nil { + return nil + } + out := new(ConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Credential) DeepCopyInto(out *Credential) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential. +func (in *Credential) DeepCopy() *Credential { + if in == nil { + return nil + } + out := new(Credential) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Credential) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialList) DeepCopyInto(out *CredentialList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Credential, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialList. +func (in *CredentialList) DeepCopy() *CredentialList { + if in == nil { + return nil + } + out := new(CredentialList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CredentialList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialObservation) DeepCopyInto(out *CredentialObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialObservation. +func (in *CredentialObservation) DeepCopy() *CredentialObservation { + if in == nil { + return nil + } + out := new(CredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialParameters) DeepCopyInto(out *CredentialParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialParameters. +func (in *CredentialParameters) DeepCopy() *CredentialParameters { + if in == nil { + return nil + } + out := new(CredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialSpec) DeepCopyInto(out *CredentialSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialSpec. +func (in *CredentialSpec) DeepCopy() *CredentialSpec { + if in == nil { + return nil + } + out := new(CredentialSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CredentialStatus) DeepCopyInto(out *CredentialStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialStatus. +func (in *CredentialStatus) DeepCopy() *CredentialStatus { + if in == nil { + return nil + } + out := new(CredentialStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DscNodeconfiguration) DeepCopyInto(out *DscNodeconfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DscNodeconfiguration. +func (in *DscNodeconfiguration) DeepCopy() *DscNodeconfiguration { + if in == nil { + return nil + } + out := new(DscNodeconfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DscNodeconfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DscNodeconfigurationList) DeepCopyInto(out *DscNodeconfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DscNodeconfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DscNodeconfigurationList. +func (in *DscNodeconfigurationList) DeepCopy() *DscNodeconfigurationList { + if in == nil { + return nil + } + out := new(DscNodeconfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DscNodeconfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DscNodeconfigurationObservation) DeepCopyInto(out *DscNodeconfigurationObservation) { + *out = *in + if in.ConfigurationName != nil { + in, out := &in.ConfigurationName, &out.ConfigurationName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DscNodeconfigurationObservation. +func (in *DscNodeconfigurationObservation) DeepCopy() *DscNodeconfigurationObservation { + if in == nil { + return nil + } + out := new(DscNodeconfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DscNodeconfigurationParameters) DeepCopyInto(out *DscNodeconfigurationParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.ContentEmbedded != nil { + in, out := &in.ContentEmbedded, &out.ContentEmbedded + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DscNodeconfigurationParameters. +func (in *DscNodeconfigurationParameters) DeepCopy() *DscNodeconfigurationParameters { + if in == nil { + return nil + } + out := new(DscNodeconfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DscNodeconfigurationSpec) DeepCopyInto(out *DscNodeconfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DscNodeconfigurationSpec. +func (in *DscNodeconfigurationSpec) DeepCopy() *DscNodeconfigurationSpec { + if in == nil { + return nil + } + out := new(DscNodeconfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DscNodeconfigurationStatus) DeepCopyInto(out *DscNodeconfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DscNodeconfigurationStatus. +func (in *DscNodeconfigurationStatus) DeepCopy() *DscNodeconfigurationStatus { + if in == nil { + return nil + } + out := new(DscNodeconfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HashObservation) DeepCopyInto(out *HashObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HashObservation. +func (in *HashObservation) DeepCopy() *HashObservation { + if in == nil { + return nil + } + out := new(HashObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HashParameters) DeepCopyInto(out *HashParameters) { + *out = *in + if in.Algorithm != nil { + in, out := &in.Algorithm, &out.Algorithm + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HashParameters. +func (in *HashParameters) DeepCopy() *HashParameters { + if in == nil { + return nil + } + out := new(HashParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobSchedule) DeepCopyInto(out *JobSchedule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSchedule. +func (in *JobSchedule) DeepCopy() *JobSchedule { + if in == nil { + return nil + } + out := new(JobSchedule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobSchedule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobScheduleList) DeepCopyInto(out *JobScheduleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]JobSchedule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleList. +func (in *JobScheduleList) DeepCopy() *JobScheduleList { + if in == nil { + return nil + } + out := new(JobScheduleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobScheduleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobScheduleObservation) DeepCopyInto(out *JobScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleObservation. +func (in *JobScheduleObservation) DeepCopy() *JobScheduleObservation { + if in == nil { + return nil + } + out := new(JobScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobScheduleParameters) DeepCopyInto(out *JobScheduleParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.JobScheduleID != nil { + in, out := &in.JobScheduleID, &out.JobScheduleID + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RunOn != nil { + in, out := &in.RunOn, &out.RunOn + *out = new(string) + **out = **in + } + if in.RunbookName != nil { + in, out := &in.RunbookName, &out.RunbookName + *out = new(string) + **out = **in + } + if in.ScheduleName != nil { + in, out := &in.ScheduleName, &out.ScheduleName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleParameters. +func (in *JobScheduleParameters) DeepCopy() *JobScheduleParameters { + if in == nil { + return nil + } + out := new(JobScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobScheduleSpec) DeepCopyInto(out *JobScheduleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleSpec. +func (in *JobScheduleSpec) DeepCopy() *JobScheduleSpec { + if in == nil { + return nil + } + out := new(JobScheduleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobScheduleStatus) DeepCopyInto(out *JobScheduleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleStatus. +func (in *JobScheduleStatus) DeepCopy() *JobScheduleStatus { + if in == nil { + return nil + } + out := new(JobScheduleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Module) DeepCopyInto(out *Module) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module. +func (in *Module) DeepCopy() *Module { + if in == nil { + return nil + } + out := new(Module) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Module) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleLinkObservation) DeepCopyInto(out *ModuleLinkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleLinkObservation. +func (in *ModuleLinkObservation) DeepCopy() *ModuleLinkObservation { + if in == nil { + return nil + } + out := new(ModuleLinkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleLinkParameters) DeepCopyInto(out *ModuleLinkParameters) { + *out = *in + if in.Hash != nil { + in, out := &in.Hash, &out.Hash + *out = make([]HashParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleLinkParameters. +func (in *ModuleLinkParameters) DeepCopy() *ModuleLinkParameters { + if in == nil { + return nil + } + out := new(ModuleLinkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleList) DeepCopyInto(out *ModuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Module, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleList. +func (in *ModuleList) DeepCopy() *ModuleList { + if in == nil { + return nil + } + out := new(ModuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ModuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleObservation) DeepCopyInto(out *ModuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleObservation. +func (in *ModuleObservation) DeepCopy() *ModuleObservation { + if in == nil { + return nil + } + out := new(ModuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleParameters) DeepCopyInto(out *ModuleParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.ModuleLink != nil { + in, out := &in.ModuleLink, &out.ModuleLink + *out = make([]ModuleLinkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleParameters. +func (in *ModuleParameters) DeepCopy() *ModuleParameters { + if in == nil { + return nil + } + out := new(ModuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSpec. +func (in *ModuleSpec) DeepCopy() *ModuleSpec { + if in == nil { + return nil + } + out := new(ModuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleStatus. +func (in *ModuleStatus) DeepCopy() *ModuleStatus { + if in == nil { + return nil + } + out := new(ModuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonthlyOccurrenceObservation) DeepCopyInto(out *MonthlyOccurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonthlyOccurrenceObservation. +func (in *MonthlyOccurrenceObservation) DeepCopy() *MonthlyOccurrenceObservation { + if in == nil { + return nil + } + out := new(MonthlyOccurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonthlyOccurrenceParameters) DeepCopyInto(out *MonthlyOccurrenceParameters) { + *out = *in + if in.Day != nil { + in, out := &in.Day, &out.Day + *out = new(string) + **out = **in + } + if in.Occurrence != nil { + in, out := &in.Occurrence, &out.Occurrence + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonthlyOccurrenceParameters. +func (in *MonthlyOccurrenceParameters) DeepCopy() *MonthlyOccurrenceParameters { + if in == nil { + return nil + } + out := new(MonthlyOccurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublishContentLinkHashObservation) DeepCopyInto(out *PublishContentLinkHashObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishContentLinkHashObservation. +func (in *PublishContentLinkHashObservation) DeepCopy() *PublishContentLinkHashObservation { + if in == nil { + return nil + } + out := new(PublishContentLinkHashObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublishContentLinkHashParameters) DeepCopyInto(out *PublishContentLinkHashParameters) { + *out = *in + if in.Algorithm != nil { + in, out := &in.Algorithm, &out.Algorithm + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishContentLinkHashParameters. +func (in *PublishContentLinkHashParameters) DeepCopy() *PublishContentLinkHashParameters { + if in == nil { + return nil + } + out := new(PublishContentLinkHashParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublishContentLinkObservation) DeepCopyInto(out *PublishContentLinkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishContentLinkObservation. +func (in *PublishContentLinkObservation) DeepCopy() *PublishContentLinkObservation { + if in == nil { + return nil + } + out := new(PublishContentLinkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublishContentLinkParameters) DeepCopyInto(out *PublishContentLinkParameters) { + *out = *in + if in.Hash != nil { + in, out := &in.Hash, &out.Hash + *out = make([]PublishContentLinkHashParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishContentLinkParameters. +func (in *PublishContentLinkParameters) DeepCopy() *PublishContentLinkParameters { + if in == nil { + return nil + } + out := new(PublishContentLinkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Runbook) DeepCopyInto(out *Runbook) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Runbook. +func (in *Runbook) DeepCopy() *Runbook { + if in == nil { + return nil + } + out := new(Runbook) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Runbook) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookJobScheduleObservation) DeepCopyInto(out *RunbookJobScheduleObservation) { + *out = *in + if in.JobScheduleID != nil { + in, out := &in.JobScheduleID, &out.JobScheduleID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookJobScheduleObservation. +func (in *RunbookJobScheduleObservation) DeepCopy() *RunbookJobScheduleObservation { + if in == nil { + return nil + } + out := new(RunbookJobScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookJobScheduleParameters) DeepCopyInto(out *RunbookJobScheduleParameters) { + *out = *in + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.RunOn != nil { + in, out := &in.RunOn, &out.RunOn + *out = new(string) + **out = **in + } + if in.ScheduleName != nil { + in, out := &in.ScheduleName, &out.ScheduleName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookJobScheduleParameters. +func (in *RunbookJobScheduleParameters) DeepCopy() *RunbookJobScheduleParameters { + if in == nil { + return nil + } + out := new(RunbookJobScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookList) DeepCopyInto(out *RunbookList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Runbook, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookList. +func (in *RunbookList) DeepCopy() *RunbookList { + if in == nil { + return nil + } + out := new(RunbookList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RunbookList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookObservation) DeepCopyInto(out *RunbookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookObservation. +func (in *RunbookObservation) DeepCopy() *RunbookObservation { + if in == nil { + return nil + } + out := new(RunbookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookParameters) DeepCopyInto(out *RunbookParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.JobSchedule != nil { + in, out := &in.JobSchedule, &out.JobSchedule + *out = make([]RunbookJobScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LogProgress != nil { + in, out := &in.LogProgress, &out.LogProgress + *out = new(bool) + **out = **in + } + if in.LogVerbose != nil { + in, out := &in.LogVerbose, &out.LogVerbose + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublishContentLink != nil { + in, out := &in.PublishContentLink, &out.PublishContentLink + *out = make([]PublishContentLinkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RunbookType != nil { + in, out := &in.RunbookType, &out.RunbookType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookParameters. +func (in *RunbookParameters) DeepCopy() *RunbookParameters { + if in == nil { + return nil + } + out := new(RunbookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookSpec) DeepCopyInto(out *RunbookSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookSpec. +func (in *RunbookSpec) DeepCopy() *RunbookSpec { + if in == nil { + return nil + } + out := new(RunbookSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunbookStatus) DeepCopyInto(out *RunbookStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunbookStatus. +func (in *RunbookStatus) DeepCopy() *RunbookStatus { + if in == nil { + return nil + } + out := new(RunbookStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Schedule) DeepCopyInto(out *Schedule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schedule. +func (in *Schedule) DeepCopy() *Schedule { + if in == nil { + return nil + } + out := new(Schedule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Schedule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleList) DeepCopyInto(out *ScheduleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Schedule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleList. +func (in *ScheduleList) DeepCopy() *ScheduleList { + if in == nil { + return nil + } + out := new(ScheduleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ScheduleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation. +func (in *ScheduleObservation) DeepCopy() *ScheduleObservation { + if in == nil { + return nil + } + out := new(ScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExpiryTime != nil { + in, out := &in.ExpiryTime, &out.ExpiryTime + *out = new(string) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int64) + **out = **in + } + if in.MonthDays != nil { + in, out := &in.MonthDays, &out.MonthDays + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.MonthlyOccurrence != nil { + in, out := &in.MonthlyOccurrence, &out.MonthlyOccurrence + *out = make([]MonthlyOccurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } + if in.WeekDays != nil { + in, out := &in.WeekDays, &out.WeekDays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters. +func (in *ScheduleParameters) DeepCopy() *ScheduleParameters { + if in == nil { + return nil + } + out := new(ScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleSpec) DeepCopyInto(out *ScheduleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleSpec. +func (in *ScheduleSpec) DeepCopy() *ScheduleSpec { + if in == nil { + return nil + } + out := new(ScheduleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleStatus. +func (in *ScheduleStatus) DeepCopy() *ScheduleStatus { + if in == nil { + return nil + } + out := new(ScheduleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableBool) DeepCopyInto(out *VariableBool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableBool. +func (in *VariableBool) DeepCopy() *VariableBool { + if in == nil { + return nil + } + out := new(VariableBool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableBool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableBoolList) DeepCopyInto(out *VariableBoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VariableBool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableBoolList. +func (in *VariableBoolList) DeepCopy() *VariableBoolList { + if in == nil { + return nil + } + out := new(VariableBoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableBoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableBoolObservation) DeepCopyInto(out *VariableBoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableBoolObservation. +func (in *VariableBoolObservation) DeepCopy() *VariableBoolObservation { + if in == nil { + return nil + } + out := new(VariableBoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableBoolParameters) DeepCopyInto(out *VariableBoolParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableBoolParameters. +func (in *VariableBoolParameters) DeepCopy() *VariableBoolParameters { + if in == nil { + return nil + } + out := new(VariableBoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableBoolSpec) DeepCopyInto(out *VariableBoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableBoolSpec. +func (in *VariableBoolSpec) DeepCopy() *VariableBoolSpec { + if in == nil { + return nil + } + out := new(VariableBoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableBoolStatus) DeepCopyInto(out *VariableBoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableBoolStatus. +func (in *VariableBoolStatus) DeepCopy() *VariableBoolStatus { + if in == nil { + return nil + } + out := new(VariableBoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableDatetime) DeepCopyInto(out *VariableDatetime) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableDatetime. +func (in *VariableDatetime) DeepCopy() *VariableDatetime { + if in == nil { + return nil + } + out := new(VariableDatetime) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableDatetime) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableDatetimeList) DeepCopyInto(out *VariableDatetimeList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VariableDatetime, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableDatetimeList. +func (in *VariableDatetimeList) DeepCopy() *VariableDatetimeList { + if in == nil { + return nil + } + out := new(VariableDatetimeList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableDatetimeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableDatetimeObservation) DeepCopyInto(out *VariableDatetimeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableDatetimeObservation. +func (in *VariableDatetimeObservation) DeepCopy() *VariableDatetimeObservation { + if in == nil { + return nil + } + out := new(VariableDatetimeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableDatetimeParameters) DeepCopyInto(out *VariableDatetimeParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableDatetimeParameters. +func (in *VariableDatetimeParameters) DeepCopy() *VariableDatetimeParameters { + if in == nil { + return nil + } + out := new(VariableDatetimeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableDatetimeSpec) DeepCopyInto(out *VariableDatetimeSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableDatetimeSpec. +func (in *VariableDatetimeSpec) DeepCopy() *VariableDatetimeSpec { + if in == nil { + return nil + } + out := new(VariableDatetimeSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableDatetimeStatus) DeepCopyInto(out *VariableDatetimeStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableDatetimeStatus. +func (in *VariableDatetimeStatus) DeepCopy() *VariableDatetimeStatus { + if in == nil { + return nil + } + out := new(VariableDatetimeStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableInt) DeepCopyInto(out *VariableInt) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableInt. +func (in *VariableInt) DeepCopy() *VariableInt { + if in == nil { + return nil + } + out := new(VariableInt) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableInt) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableIntList) DeepCopyInto(out *VariableIntList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VariableInt, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableIntList. +func (in *VariableIntList) DeepCopy() *VariableIntList { + if in == nil { + return nil + } + out := new(VariableIntList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableIntList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableIntObservation) DeepCopyInto(out *VariableIntObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableIntObservation. +func (in *VariableIntObservation) DeepCopy() *VariableIntObservation { + if in == nil { + return nil + } + out := new(VariableIntObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableIntParameters) DeepCopyInto(out *VariableIntParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableIntParameters. +func (in *VariableIntParameters) DeepCopy() *VariableIntParameters { + if in == nil { + return nil + } + out := new(VariableIntParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableIntSpec) DeepCopyInto(out *VariableIntSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableIntSpec. +func (in *VariableIntSpec) DeepCopy() *VariableIntSpec { + if in == nil { + return nil + } + out := new(VariableIntSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableIntStatus) DeepCopyInto(out *VariableIntStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableIntStatus. +func (in *VariableIntStatus) DeepCopy() *VariableIntStatus { + if in == nil { + return nil + } + out := new(VariableIntStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableString) DeepCopyInto(out *VariableString) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableString. +func (in *VariableString) DeepCopy() *VariableString { + if in == nil { + return nil + } + out := new(VariableString) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableString) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableStringList) DeepCopyInto(out *VariableStringList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VariableString, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStringList. +func (in *VariableStringList) DeepCopy() *VariableStringList { + if in == nil { + return nil + } + out := new(VariableStringList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VariableStringList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableStringObservation) DeepCopyInto(out *VariableStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStringObservation. +func (in *VariableStringObservation) DeepCopy() *VariableStringObservation { + if in == nil { + return nil + } + out := new(VariableStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableStringParameters) DeepCopyInto(out *VariableStringParameters) { + *out = *in + if in.AutomationAccountName != nil { + in, out := &in.AutomationAccountName, &out.AutomationAccountName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStringParameters. +func (in *VariableStringParameters) DeepCopy() *VariableStringParameters { + if in == nil { + return nil + } + out := new(VariableStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableStringSpec) DeepCopyInto(out *VariableStringSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStringSpec. +func (in *VariableStringSpec) DeepCopy() *VariableStringSpec { + if in == nil { + return nil + } + out := new(VariableStringSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VariableStringStatus) DeepCopyInto(out *VariableStringStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableStringStatus. +func (in *VariableStringStatus) DeepCopy() *VariableStringStatus { + if in == nil { + return nil + } + out := new(VariableStringStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/automation/v1alpha1/zz_generated.managed.go b/apis/automation/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..a50d45362 --- /dev/null +++ b/apis/automation/v1alpha1/zz_generated.managed.go @@ -0,0 +1,916 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Account. +func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Account. +func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Account. +func (mg *Account) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Account. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Account) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Account. +func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Account. +func (mg *Account) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Account. +func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Account. +func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Account. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Account) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Account. +func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Certificate. +func (mg *Certificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Certificate. +func (mg *Certificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Certificate. +func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Certificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Certificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Certificate. +func (mg *Certificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Certificate. +func (mg *Certificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Certificate. +func (mg *Certificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Certificate. +func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Certificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Certificate. +func (mg *Certificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Connection. +func (mg *Connection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Connection. +func (mg *Connection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Connection. +func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Connection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Connection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Connection. +func (mg *Connection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Connection. +func (mg *Connection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Connection. +func (mg *Connection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Connection. +func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Connection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Connection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Connection. +func (mg *Connection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ConnectionCertificate. +func (mg *ConnectionCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ConnectionCertificate. +func (mg *ConnectionCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ConnectionCertificate. +func (mg *ConnectionCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ConnectionCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ConnectionCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ConnectionCertificate. +func (mg *ConnectionCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ConnectionCertificate. +func (mg *ConnectionCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ConnectionCertificate. +func (mg *ConnectionCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ConnectionCertificate. +func (mg *ConnectionCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ConnectionCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ConnectionCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ConnectionCertificate. +func (mg *ConnectionCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ConnectionClassicCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ConnectionClassicCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ConnectionClassicCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ConnectionClassicCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ConnectionClassicCertificate. +func (mg *ConnectionClassicCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ConnectionServicePrincipal. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ConnectionServicePrincipal) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ConnectionServicePrincipal. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ConnectionServicePrincipal) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ConnectionServicePrincipal. +func (mg *ConnectionServicePrincipal) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Credential. +func (mg *Credential) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Credential. +func (mg *Credential) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Credential. +func (mg *Credential) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Credential. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Credential) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Credential. +func (mg *Credential) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Credential. +func (mg *Credential) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Credential. +func (mg *Credential) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Credential. +func (mg *Credential) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Credential. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Credential) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Credential. +func (mg *Credential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DscNodeconfiguration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DscNodeconfiguration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DscNodeconfiguration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DscNodeconfiguration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DscNodeconfiguration. +func (mg *DscNodeconfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this JobSchedule. +func (mg *JobSchedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this JobSchedule. +func (mg *JobSchedule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this JobSchedule. +func (mg *JobSchedule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this JobSchedule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *JobSchedule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this JobSchedule. +func (mg *JobSchedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this JobSchedule. +func (mg *JobSchedule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this JobSchedule. +func (mg *JobSchedule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this JobSchedule. +func (mg *JobSchedule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this JobSchedule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *JobSchedule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this JobSchedule. +func (mg *JobSchedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Module. +func (mg *Module) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Module. +func (mg *Module) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Module. +func (mg *Module) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Module. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Module) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Module. +func (mg *Module) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Module. +func (mg *Module) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Module. +func (mg *Module) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Module. +func (mg *Module) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Module. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Module) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Module. +func (mg *Module) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Runbook. +func (mg *Runbook) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Runbook. +func (mg *Runbook) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Runbook. +func (mg *Runbook) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Runbook. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Runbook) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Runbook. +func (mg *Runbook) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Runbook. +func (mg *Runbook) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Runbook. +func (mg *Runbook) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Runbook. +func (mg *Runbook) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Runbook. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Runbook) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Runbook. +func (mg *Runbook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Schedule. +func (mg *Schedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Schedule. +func (mg *Schedule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Schedule. +func (mg *Schedule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Schedule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Schedule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Schedule. +func (mg *Schedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Schedule. +func (mg *Schedule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Schedule. +func (mg *Schedule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Schedule. +func (mg *Schedule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Schedule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Schedule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Schedule. +func (mg *Schedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VariableBool. +func (mg *VariableBool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VariableBool. +func (mg *VariableBool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VariableBool. +func (mg *VariableBool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VariableBool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VariableBool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VariableBool. +func (mg *VariableBool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VariableBool. +func (mg *VariableBool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VariableBool. +func (mg *VariableBool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VariableBool. +func (mg *VariableBool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VariableBool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VariableBool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VariableBool. +func (mg *VariableBool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VariableDatetime. +func (mg *VariableDatetime) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VariableDatetime. +func (mg *VariableDatetime) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VariableDatetime. +func (mg *VariableDatetime) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VariableDatetime. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VariableDatetime) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VariableDatetime. +func (mg *VariableDatetime) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VariableDatetime. +func (mg *VariableDatetime) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VariableDatetime. +func (mg *VariableDatetime) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VariableDatetime. +func (mg *VariableDatetime) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VariableDatetime. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VariableDatetime) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VariableDatetime. +func (mg *VariableDatetime) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VariableInt. +func (mg *VariableInt) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VariableInt. +func (mg *VariableInt) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VariableInt. +func (mg *VariableInt) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VariableInt. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VariableInt) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VariableInt. +func (mg *VariableInt) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VariableInt. +func (mg *VariableInt) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VariableInt. +func (mg *VariableInt) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VariableInt. +func (mg *VariableInt) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VariableInt. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VariableInt) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VariableInt. +func (mg *VariableInt) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VariableString. +func (mg *VariableString) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VariableString. +func (mg *VariableString) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VariableString. +func (mg *VariableString) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VariableString. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VariableString) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VariableString. +func (mg *VariableString) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VariableString. +func (mg *VariableString) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VariableString. +func (mg *VariableString) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VariableString. +func (mg *VariableString) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VariableString. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VariableString) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VariableString. +func (mg *VariableString) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/automation/v1alpha1/zz_generated.managedlist.go b/apis/automation/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..cc53e52f9 --- /dev/null +++ b/apis/automation/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,164 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccountList. +func (l *AccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CertificateList. +func (l *CertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConnectionCertificateList. +func (l *ConnectionCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConnectionClassicCertificateList. +func (l *ConnectionClassicCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConnectionList. +func (l *ConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConnectionServicePrincipalList. +func (l *ConnectionServicePrincipalList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CredentialList. +func (l *CredentialList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DscNodeconfigurationList. +func (l *DscNodeconfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this JobScheduleList. +func (l *JobScheduleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ModuleList. +func (l *ModuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RunbookList. +func (l *RunbookList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ScheduleList. +func (l *ScheduleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VariableBoolList. +func (l *VariableBoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VariableDatetimeList. +func (l *VariableDatetimeList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VariableIntList. +func (l *VariableIntList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VariableStringList. +func (l *VariableStringList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/automation/v1alpha1/zz_groupversion_info.go b/apis/automation/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..45281b995 --- /dev/null +++ b/apis/automation/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=automation.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "automation.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/automation/v1alpha1/zz_jobschedule_terraformed.go b/apis/automation/v1alpha1/zz_jobschedule_terraformed.go new file mode 100755 index 000000000..2a6386c71 --- /dev/null +++ b/apis/automation/v1alpha1/zz_jobschedule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this JobSchedule +func (mg *JobSchedule) GetTerraformResourceType() string { + return "azurerm_automation_job_schedule" +} + +// GetConnectionDetailsMapping for this JobSchedule +func (tr *JobSchedule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this JobSchedule +func (tr *JobSchedule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this JobSchedule +func (tr *JobSchedule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this JobSchedule +func (tr *JobSchedule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this JobSchedule +func (tr *JobSchedule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this JobSchedule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *JobSchedule) LateInitialize(attrs []byte) (bool, error) { + params := &JobScheduleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *JobSchedule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_jobschedule_types.go b/apis/automation/v1alpha1/zz_jobschedule_types.go new file mode 100755 index 000000000..eaf08a281 --- /dev/null +++ b/apis/automation/v1alpha1/zz_jobschedule_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type JobScheduleObservation struct { +} + +type JobScheduleParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + JobScheduleID *string `json:"jobScheduleId,omitempty" tf:"job_schedule_id,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RunOn *string `json:"runOn,omitempty" tf:"run_on,omitempty"` + + // +kubebuilder:validation:Required + RunbookName *string `json:"runbookName" tf:"runbook_name,omitempty"` + + // +kubebuilder:validation:Required + ScheduleName *string `json:"scheduleName" tf:"schedule_name,omitempty"` +} + +// JobScheduleSpec defines the desired state of JobSchedule +type JobScheduleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider JobScheduleParameters `json:"forProvider"` +} + +// JobScheduleStatus defines the observed state of JobSchedule. +type JobScheduleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider JobScheduleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobSchedule is the Schema for the JobSchedules API +// +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,azurejet} +type JobSchedule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec JobScheduleSpec `json:"spec"` + Status JobScheduleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobScheduleList contains a list of JobSchedules +type JobScheduleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []JobSchedule `json:"items"` +} + +// Repository type metadata. +var ( + JobSchedule_Kind = "JobSchedule" + JobSchedule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: JobSchedule_Kind}.String() + JobSchedule_KindAPIVersion = JobSchedule_Kind + "." + CRDGroupVersion.String() + JobSchedule_GroupVersionKind = CRDGroupVersion.WithKind(JobSchedule_Kind) +) + +func init() { + SchemeBuilder.Register(&JobSchedule{}, &JobScheduleList{}) +} diff --git a/apis/automation/v1alpha1/zz_module_terraformed.go b/apis/automation/v1alpha1/zz_module_terraformed.go new file mode 100755 index 000000000..413ad0ed4 --- /dev/null +++ b/apis/automation/v1alpha1/zz_module_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Module +func (mg *Module) GetTerraformResourceType() string { + return "azurerm_automation_module" +} + +// GetConnectionDetailsMapping for this Module +func (tr *Module) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Module +func (tr *Module) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Module +func (tr *Module) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Module +func (tr *Module) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Module +func (tr *Module) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Module using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Module) LateInitialize(attrs []byte) (bool, error) { + params := &ModuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Module) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_module_types.go b/apis/automation/v1alpha1/zz_module_types.go new file mode 100755 index 000000000..e48e569e1 --- /dev/null +++ b/apis/automation/v1alpha1/zz_module_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HashObservation struct { +} + +type HashParameters struct { + + // +kubebuilder:validation:Required + Algorithm *string `json:"algorithm" tf:"algorithm,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ModuleLinkObservation struct { +} + +type ModuleLinkParameters struct { + + // +kubebuilder:validation:Optional + Hash []HashParameters `json:"hash,omitempty" tf:"hash,omitempty"` + + // +kubebuilder:validation:Required + URI *string `json:"uri" tf:"uri,omitempty"` +} + +type ModuleObservation struct { +} + +type ModuleParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Required + ModuleLink []ModuleLinkParameters `json:"moduleLink" tf:"module_link,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ModuleSpec defines the desired state of Module +type ModuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ModuleParameters `json:"forProvider"` +} + +// ModuleStatus defines the observed state of Module. +type ModuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ModuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Module is the Schema for the Modules API +// +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,azurejet} +type Module struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ModuleSpec `json:"spec"` + Status ModuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ModuleList contains a list of Modules +type ModuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Module `json:"items"` +} + +// Repository type metadata. +var ( + Module_Kind = "Module" + Module_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Module_Kind}.String() + Module_KindAPIVersion = Module_Kind + "." + CRDGroupVersion.String() + Module_GroupVersionKind = CRDGroupVersion.WithKind(Module_Kind) +) + +func init() { + SchemeBuilder.Register(&Module{}, &ModuleList{}) +} diff --git a/apis/automation/v1alpha1/zz_runbook_terraformed.go b/apis/automation/v1alpha1/zz_runbook_terraformed.go new file mode 100755 index 000000000..a46ede2df --- /dev/null +++ b/apis/automation/v1alpha1/zz_runbook_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Runbook +func (mg *Runbook) GetTerraformResourceType() string { + return "azurerm_automation_runbook" +} + +// GetConnectionDetailsMapping for this Runbook +func (tr *Runbook) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Runbook +func (tr *Runbook) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Runbook +func (tr *Runbook) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Runbook +func (tr *Runbook) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Runbook +func (tr *Runbook) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Runbook using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Runbook) LateInitialize(attrs []byte) (bool, error) { + params := &RunbookParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Runbook) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_runbook_types.go b/apis/automation/v1alpha1/zz_runbook_types.go new file mode 100755 index 000000000..0dda57419 --- /dev/null +++ b/apis/automation/v1alpha1/zz_runbook_types.go @@ -0,0 +1,160 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PublishContentLinkHashObservation struct { +} + +type PublishContentLinkHashParameters struct { + + // +kubebuilder:validation:Required + Algorithm *string `json:"algorithm" tf:"algorithm,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type PublishContentLinkObservation struct { +} + +type PublishContentLinkParameters struct { + + // +kubebuilder:validation:Optional + Hash []PublishContentLinkHashParameters `json:"hash,omitempty" tf:"hash,omitempty"` + + // +kubebuilder:validation:Required + URI *string `json:"uri" tf:"uri,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type RunbookJobScheduleObservation struct { + JobScheduleID *string `json:"jobScheduleId,omitempty" tf:"job_schedule_id,omitempty"` +} + +type RunbookJobScheduleParameters struct { + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + RunOn *string `json:"runOn,omitempty" tf:"run_on,omitempty"` + + // +kubebuilder:validation:Required + ScheduleName *string `json:"scheduleName" tf:"schedule_name,omitempty"` +} + +type RunbookObservation struct { +} + +type RunbookParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Content *string `json:"content,omitempty" tf:"content,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + JobSchedule []RunbookJobScheduleParameters `json:"jobSchedule,omitempty" tf:"job_schedule,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + LogProgress *bool `json:"logProgress" tf:"log_progress,omitempty"` + + // +kubebuilder:validation:Required + LogVerbose *bool `json:"logVerbose" tf:"log_verbose,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublishContentLink []PublishContentLinkParameters `json:"publishContentLink,omitempty" tf:"publish_content_link,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + RunbookType *string `json:"runbookType" tf:"runbook_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// RunbookSpec defines the desired state of Runbook +type RunbookSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RunbookParameters `json:"forProvider"` +} + +// RunbookStatus defines the observed state of Runbook. +type RunbookStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RunbookObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Runbook is the Schema for the Runbooks API +// +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,azurejet} +type Runbook struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RunbookSpec `json:"spec"` + Status RunbookStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RunbookList contains a list of Runbooks +type RunbookList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Runbook `json:"items"` +} + +// Repository type metadata. +var ( + Runbook_Kind = "Runbook" + Runbook_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Runbook_Kind}.String() + Runbook_KindAPIVersion = Runbook_Kind + "." + CRDGroupVersion.String() + Runbook_GroupVersionKind = CRDGroupVersion.WithKind(Runbook_Kind) +) + +func init() { + SchemeBuilder.Register(&Runbook{}, &RunbookList{}) +} diff --git a/apis/automation/v1alpha1/zz_schedule_terraformed.go b/apis/automation/v1alpha1/zz_schedule_terraformed.go new file mode 100755 index 000000000..c0bbb2a04 --- /dev/null +++ b/apis/automation/v1alpha1/zz_schedule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Schedule +func (mg *Schedule) GetTerraformResourceType() string { + return "azurerm_automation_schedule" +} + +// GetConnectionDetailsMapping for this Schedule +func (tr *Schedule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Schedule +func (tr *Schedule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Schedule +func (tr *Schedule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Schedule +func (tr *Schedule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Schedule +func (tr *Schedule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Schedule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Schedule) LateInitialize(attrs []byte) (bool, error) { + params := &ScheduleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Schedule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_schedule_types.go b/apis/automation/v1alpha1/zz_schedule_types.go new file mode 100755 index 000000000..628406746 --- /dev/null +++ b/apis/automation/v1alpha1/zz_schedule_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type MonthlyOccurrenceObservation struct { +} + +type MonthlyOccurrenceParameters struct { + + // +kubebuilder:validation:Required + Day *string `json:"day" tf:"day,omitempty"` + + // +kubebuilder:validation:Required + Occurrence *int64 `json:"occurrence" tf:"occurrence,omitempty"` +} + +type ScheduleObservation struct { +} + +type ScheduleParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + ExpiryTime *string `json:"expiryTime,omitempty" tf:"expiry_time,omitempty"` + + // +kubebuilder:validation:Required + Frequency *string `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Optional + Interval *int64 `json:"interval,omitempty" tf:"interval,omitempty"` + + // +kubebuilder:validation:Optional + MonthDays []*int64 `json:"monthDays,omitempty" tf:"month_days,omitempty"` + + // +kubebuilder:validation:Optional + MonthlyOccurrence []MonthlyOccurrenceParameters `json:"monthlyOccurrence,omitempty" tf:"monthly_occurrence,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` + + // +kubebuilder:validation:Optional + WeekDays []*string `json:"weekDays,omitempty" tf:"week_days,omitempty"` +} + +// ScheduleSpec defines the desired state of Schedule +type ScheduleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ScheduleParameters `json:"forProvider"` +} + +// ScheduleStatus defines the observed state of Schedule. +type ScheduleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ScheduleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Schedule is the Schema for the Schedules API +// +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,azurejet} +type Schedule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ScheduleSpec `json:"spec"` + Status ScheduleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ScheduleList contains a list of Schedules +type ScheduleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Schedule `json:"items"` +} + +// Repository type metadata. +var ( + Schedule_Kind = "Schedule" + Schedule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Schedule_Kind}.String() + Schedule_KindAPIVersion = Schedule_Kind + "." + CRDGroupVersion.String() + Schedule_GroupVersionKind = CRDGroupVersion.WithKind(Schedule_Kind) +) + +func init() { + SchemeBuilder.Register(&Schedule{}, &ScheduleList{}) +} diff --git a/apis/automation/v1alpha1/zz_variablebool_terraformed.go b/apis/automation/v1alpha1/zz_variablebool_terraformed.go new file mode 100755 index 000000000..da5bd9e67 --- /dev/null +++ b/apis/automation/v1alpha1/zz_variablebool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VariableBool +func (mg *VariableBool) GetTerraformResourceType() string { + return "azurerm_automation_variable_bool" +} + +// GetConnectionDetailsMapping for this VariableBool +func (tr *VariableBool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VariableBool +func (tr *VariableBool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VariableBool +func (tr *VariableBool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VariableBool +func (tr *VariableBool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VariableBool +func (tr *VariableBool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VariableBool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VariableBool) LateInitialize(attrs []byte) (bool, error) { + params := &VariableBoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VariableBool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_variablebool_types.go b/apis/automation/v1alpha1/zz_variablebool_types.go new file mode 100755 index 000000000..fa18a42c8 --- /dev/null +++ b/apis/automation/v1alpha1/zz_variablebool_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VariableBoolObservation struct { +} + +type VariableBoolParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Value *bool `json:"value,omitempty" tf:"value,omitempty"` +} + +// VariableBoolSpec defines the desired state of VariableBool +type VariableBoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VariableBoolParameters `json:"forProvider"` +} + +// VariableBoolStatus defines the observed state of VariableBool. +type VariableBoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VariableBoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableBool is the Schema for the VariableBools API +// +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,azurejet} +type VariableBool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VariableBoolSpec `json:"spec"` + Status VariableBoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableBoolList contains a list of VariableBools +type VariableBoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VariableBool `json:"items"` +} + +// Repository type metadata. +var ( + VariableBool_Kind = "VariableBool" + VariableBool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VariableBool_Kind}.String() + VariableBool_KindAPIVersion = VariableBool_Kind + "." + CRDGroupVersion.String() + VariableBool_GroupVersionKind = CRDGroupVersion.WithKind(VariableBool_Kind) +) + +func init() { + SchemeBuilder.Register(&VariableBool{}, &VariableBoolList{}) +} diff --git a/apis/automation/v1alpha1/zz_variabledatetime_terraformed.go b/apis/automation/v1alpha1/zz_variabledatetime_terraformed.go new file mode 100755 index 000000000..6502994a5 --- /dev/null +++ b/apis/automation/v1alpha1/zz_variabledatetime_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VariableDatetime +func (mg *VariableDatetime) GetTerraformResourceType() string { + return "azurerm_automation_variable_datetime" +} + +// GetConnectionDetailsMapping for this VariableDatetime +func (tr *VariableDatetime) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VariableDatetime +func (tr *VariableDatetime) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VariableDatetime +func (tr *VariableDatetime) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VariableDatetime +func (tr *VariableDatetime) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VariableDatetime +func (tr *VariableDatetime) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VariableDatetime using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VariableDatetime) LateInitialize(attrs []byte) (bool, error) { + params := &VariableDatetimeParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VariableDatetime) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_variabledatetime_types.go b/apis/automation/v1alpha1/zz_variabledatetime_types.go new file mode 100755 index 000000000..7fd22e850 --- /dev/null +++ b/apis/automation/v1alpha1/zz_variabledatetime_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VariableDatetimeObservation struct { +} + +type VariableDatetimeParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +// VariableDatetimeSpec defines the desired state of VariableDatetime +type VariableDatetimeSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VariableDatetimeParameters `json:"forProvider"` +} + +// VariableDatetimeStatus defines the observed state of VariableDatetime. +type VariableDatetimeStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VariableDatetimeObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableDatetime is the Schema for the VariableDatetimes API +// +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,azurejet} +type VariableDatetime struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VariableDatetimeSpec `json:"spec"` + Status VariableDatetimeStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableDatetimeList contains a list of VariableDatetimes +type VariableDatetimeList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VariableDatetime `json:"items"` +} + +// Repository type metadata. +var ( + VariableDatetime_Kind = "VariableDatetime" + VariableDatetime_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VariableDatetime_Kind}.String() + VariableDatetime_KindAPIVersion = VariableDatetime_Kind + "." + CRDGroupVersion.String() + VariableDatetime_GroupVersionKind = CRDGroupVersion.WithKind(VariableDatetime_Kind) +) + +func init() { + SchemeBuilder.Register(&VariableDatetime{}, &VariableDatetimeList{}) +} diff --git a/apis/automation/v1alpha1/zz_variableint_terraformed.go b/apis/automation/v1alpha1/zz_variableint_terraformed.go new file mode 100755 index 000000000..1f9a93807 --- /dev/null +++ b/apis/automation/v1alpha1/zz_variableint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VariableInt +func (mg *VariableInt) GetTerraformResourceType() string { + return "azurerm_automation_variable_int" +} + +// GetConnectionDetailsMapping for this VariableInt +func (tr *VariableInt) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VariableInt +func (tr *VariableInt) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VariableInt +func (tr *VariableInt) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VariableInt +func (tr *VariableInt) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VariableInt +func (tr *VariableInt) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VariableInt using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VariableInt) LateInitialize(attrs []byte) (bool, error) { + params := &VariableIntParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VariableInt) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_variableint_types.go b/apis/automation/v1alpha1/zz_variableint_types.go new file mode 100755 index 000000000..c1877165d --- /dev/null +++ b/apis/automation/v1alpha1/zz_variableint_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VariableIntObservation struct { +} + +type VariableIntParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Value *int64 `json:"value,omitempty" tf:"value,omitempty"` +} + +// VariableIntSpec defines the desired state of VariableInt +type VariableIntSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VariableIntParameters `json:"forProvider"` +} + +// VariableIntStatus defines the observed state of VariableInt. +type VariableIntStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VariableIntObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableInt is the Schema for the VariableInts API +// +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,azurejet} +type VariableInt struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VariableIntSpec `json:"spec"` + Status VariableIntStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableIntList contains a list of VariableInts +type VariableIntList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VariableInt `json:"items"` +} + +// Repository type metadata. +var ( + VariableInt_Kind = "VariableInt" + VariableInt_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VariableInt_Kind}.String() + VariableInt_KindAPIVersion = VariableInt_Kind + "." + CRDGroupVersion.String() + VariableInt_GroupVersionKind = CRDGroupVersion.WithKind(VariableInt_Kind) +) + +func init() { + SchemeBuilder.Register(&VariableInt{}, &VariableIntList{}) +} diff --git a/apis/automation/v1alpha1/zz_variablestring_terraformed.go b/apis/automation/v1alpha1/zz_variablestring_terraformed.go new file mode 100755 index 000000000..7b9426463 --- /dev/null +++ b/apis/automation/v1alpha1/zz_variablestring_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VariableString +func (mg *VariableString) GetTerraformResourceType() string { + return "azurerm_automation_variable_string" +} + +// GetConnectionDetailsMapping for this VariableString +func (tr *VariableString) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VariableString +func (tr *VariableString) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VariableString +func (tr *VariableString) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VariableString +func (tr *VariableString) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VariableString +func (tr *VariableString) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VariableString using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VariableString) LateInitialize(attrs []byte) (bool, error) { + params := &VariableStringParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VariableString) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/automation/v1alpha1/zz_variablestring_types.go b/apis/automation/v1alpha1/zz_variablestring_types.go new file mode 100755 index 000000000..5c9a0882a --- /dev/null +++ b/apis/automation/v1alpha1/zz_variablestring_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VariableStringObservation struct { +} + +type VariableStringParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountName *string `json:"automationAccountName" tf:"automation_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +// VariableStringSpec defines the desired state of VariableString +type VariableStringSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VariableStringParameters `json:"forProvider"` +} + +// VariableStringStatus defines the observed state of VariableString. +type VariableStringStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VariableStringObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableString is the Schema for the VariableStrings API +// +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,azurejet} +type VariableString struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VariableStringSpec `json:"spec"` + Status VariableStringStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VariableStringList contains a list of VariableStrings +type VariableStringList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VariableString `json:"items"` +} + +// Repository type metadata. +var ( + VariableString_Kind = "VariableString" + VariableString_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VariableString_Kind}.String() + VariableString_KindAPIVersion = VariableString_Kind + "." + CRDGroupVersion.String() + VariableString_GroupVersionKind = CRDGroupVersion.WithKind(VariableString_Kind) +) + +func init() { + SchemeBuilder.Register(&VariableString{}, &VariableStringList{}) +} diff --git a/apis/availability/v1alpha1/zz_generated.deepcopy.go b/apis/availability/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2b7bea089 --- /dev/null +++ b/apis/availability/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,198 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Set) DeepCopyInto(out *Set) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Set. +func (in *Set) DeepCopy() *Set { + if in == nil { + return nil + } + out := new(Set) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Set) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetList) DeepCopyInto(out *SetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Set, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetList. +func (in *SetList) DeepCopy() *SetList { + if in == nil { + return nil + } + out := new(SetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetObservation) DeepCopyInto(out *SetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetObservation. +func (in *SetObservation) DeepCopy() *SetObservation { + if in == nil { + return nil + } + out := new(SetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetParameters) DeepCopyInto(out *SetParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Managed != nil { + in, out := &in.Managed, &out.Managed + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PlatformFaultDomainCount != nil { + in, out := &in.PlatformFaultDomainCount, &out.PlatformFaultDomainCount + *out = new(int64) + **out = **in + } + if in.PlatformUpdateDomainCount != nil { + in, out := &in.PlatformUpdateDomainCount, &out.PlatformUpdateDomainCount + *out = new(int64) + **out = **in + } + if in.ProximityPlacementGroupID != nil { + in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetParameters. +func (in *SetParameters) DeepCopy() *SetParameters { + if in == nil { + return nil + } + out := new(SetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetSpec) DeepCopyInto(out *SetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetSpec. +func (in *SetSpec) DeepCopy() *SetSpec { + if in == nil { + return nil + } + out := new(SetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetStatus) DeepCopyInto(out *SetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetStatus. +func (in *SetStatus) DeepCopy() *SetStatus { + if in == nil { + return nil + } + out := new(SetStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/availability/v1alpha1/zz_generated.managed.go b/apis/availability/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..69d3e4af5 --- /dev/null +++ b/apis/availability/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Set. +func (mg *Set) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Set. +func (mg *Set) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Set. +func (mg *Set) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Set. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Set) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Set. +func (mg *Set) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Set. +func (mg *Set) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Set. +func (mg *Set) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Set. +func (mg *Set) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Set. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Set) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Set. +func (mg *Set) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/availability/v1alpha1/zz_generated.managedlist.go b/apis/availability/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..5ac06a996 --- /dev/null +++ b/apis/availability/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this SetList. +func (l *SetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/availability/v1alpha1/zz_groupversion_info.go b/apis/availability/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..fc9fc1e06 --- /dev/null +++ b/apis/availability/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=availability.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "availability.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/availability/v1alpha1/zz_set_terraformed.go b/apis/availability/v1alpha1/zz_set_terraformed.go new file mode 100755 index 000000000..a554b798d --- /dev/null +++ b/apis/availability/v1alpha1/zz_set_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Set +func (mg *Set) GetTerraformResourceType() string { + return "azurerm_availability_set" +} + +// GetConnectionDetailsMapping for this Set +func (tr *Set) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Set +func (tr *Set) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Set +func (tr *Set) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Set +func (tr *Set) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Set +func (tr *Set) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Set using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Set) LateInitialize(attrs []byte) (bool, error) { + params := &SetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Set) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/availability/v1alpha1/zz_set_types.go b/apis/availability/v1alpha1/zz_set_types.go new file mode 100755 index 000000000..daed3cd4a --- /dev/null +++ b/apis/availability/v1alpha1/zz_set_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SetObservation struct { +} + +type SetParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Managed *bool `json:"managed,omitempty" tf:"managed,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PlatformFaultDomainCount *int64 `json:"platformFaultDomainCount,omitempty" tf:"platform_fault_domain_count,omitempty"` + + // +kubebuilder:validation:Optional + PlatformUpdateDomainCount *int64 `json:"platformUpdateDomainCount,omitempty" tf:"platform_update_domain_count,omitempty"` + + // +kubebuilder:validation:Optional + ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SetSpec defines the desired state of Set +type SetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SetParameters `json:"forProvider"` +} + +// SetStatus defines the observed state of Set. +type SetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Set is the Schema for the Sets API +// +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,azurejet} +type Set struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SetSpec `json:"spec"` + Status SetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SetList contains a list of Sets +type SetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Set `json:"items"` +} + +// Repository type metadata. +var ( + Set_Kind = "Set" + Set_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Set_Kind}.String() + Set_KindAPIVersion = Set_Kind + "." + CRDGroupVersion.String() + Set_GroupVersionKind = CRDGroupVersion.WithKind(Set_Kind) +) + +func init() { + SchemeBuilder.Register(&Set{}, &SetList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_dashboard_terraformed.go b/apis/azurerm/v1alpha1/zz_dashboard_terraformed.go new file mode 100755 index 000000000..c4f64c27b --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_dashboard_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Dashboard +func (mg *Dashboard) GetTerraformResourceType() string { + return "azurerm_dashboard" +} + +// GetConnectionDetailsMapping for this Dashboard +func (tr *Dashboard) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Dashboard +func (tr *Dashboard) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Dashboard +func (tr *Dashboard) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Dashboard +func (tr *Dashboard) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Dashboard +func (tr *Dashboard) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Dashboard using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Dashboard) LateInitialize(attrs []byte) (bool, error) { + params := &DashboardParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Dashboard) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_dashboard_types.go b/apis/azurerm/v1alpha1/zz_dashboard_types.go new file mode 100755 index 000000000..bc84df0a7 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_dashboard_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DashboardObservation struct { +} + +type DashboardParameters struct { + + // +kubebuilder:validation:Optional + DashboardProperties *string `json:"dashboardProperties,omitempty" tf:"dashboard_properties,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// DashboardSpec defines the desired state of Dashboard +type DashboardSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DashboardParameters `json:"forProvider"` +} + +// DashboardStatus defines the observed state of Dashboard. +type DashboardStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DashboardObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Dashboard is the Schema for the Dashboards API +// +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,azurejet} +type Dashboard struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DashboardSpec `json:"spec"` + Status DashboardStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DashboardList contains a list of Dashboards +type DashboardList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Dashboard `json:"items"` +} + +// Repository type metadata. +var ( + Dashboard_Kind = "Dashboard" + Dashboard_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Dashboard_Kind}.String() + Dashboard_KindAPIVersion = Dashboard_Kind + "." + CRDGroupVersion.String() + Dashboard_GroupVersionKind = CRDGroupVersion.WithKind(Dashboard_Kind) +) + +func init() { + SchemeBuilder.Register(&Dashboard{}, &DashboardList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_eventhub_terraformed.go b/apis/azurerm/v1alpha1/zz_eventhub_terraformed.go new file mode 100755 index 000000000..e9cffc34d --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_eventhub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Eventhub +func (mg *Eventhub) GetTerraformResourceType() string { + return "azurerm_eventhub" +} + +// GetConnectionDetailsMapping for this Eventhub +func (tr *Eventhub) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Eventhub +func (tr *Eventhub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Eventhub +func (tr *Eventhub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Eventhub +func (tr *Eventhub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Eventhub +func (tr *Eventhub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Eventhub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Eventhub) LateInitialize(attrs []byte) (bool, error) { + params := &EventhubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Eventhub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_eventhub_types.go b/apis/azurerm/v1alpha1/zz_eventhub_types.go new file mode 100755 index 000000000..eeb0b0a07 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_eventhub_types.go @@ -0,0 +1,145 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CaptureDescriptionObservation struct { +} + +type CaptureDescriptionParameters struct { + + // +kubebuilder:validation:Required + Destination []DestinationParameters `json:"destination" tf:"destination,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Encoding *string `json:"encoding" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty" tf:"interval_in_seconds,omitempty"` + + // +kubebuilder:validation:Optional + SizeLimitInBytes *int64 `json:"sizeLimitInBytes,omitempty" tf:"size_limit_in_bytes,omitempty"` + + // +kubebuilder:validation:Optional + SkipEmptyArchives *bool `json:"skipEmptyArchives,omitempty" tf:"skip_empty_archives,omitempty"` +} + +type DestinationObservation struct { +} + +type DestinationParameters struct { + + // +kubebuilder:validation:Required + ArchiveNameFormat *string `json:"archiveNameFormat" tf:"archive_name_format,omitempty"` + + // +kubebuilder:validation:Required + BlobContainerName *string `json:"blobContainerName" tf:"blob_container_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type EventhubObservation struct { + PartitionIds []*string `json:"partitionIds,omitempty" tf:"partition_ids,omitempty"` +} + +type EventhubParameters struct { + + // +kubebuilder:validation:Optional + CaptureDescription []CaptureDescriptionParameters `json:"captureDescription,omitempty" tf:"capture_description,omitempty"` + + // +kubebuilder:validation:Required + MessageRetention *int64 `json:"messageRetention" tf:"message_retention,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + PartitionCount *int64 `json:"partitionCount" tf:"partition_count,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` +} + +// EventhubSpec defines the desired state of Eventhub +type EventhubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EventhubParameters `json:"forProvider"` +} + +// EventhubStatus defines the observed state of Eventhub. +type EventhubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EventhubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Eventhub is the Schema for the Eventhubs API +// +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,azurejet} +type Eventhub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EventhubSpec `json:"spec"` + Status EventhubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventhubList contains a list of Eventhubs +type EventhubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Eventhub `json:"items"` +} + +// Repository type metadata. +var ( + Eventhub_Kind = "Eventhub" + Eventhub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Eventhub_Kind}.String() + Eventhub_KindAPIVersion = Eventhub_Kind + "." + CRDGroupVersion.String() + Eventhub_GroupVersionKind = CRDGroupVersion.WithKind(Eventhub_Kind) +) + +func init() { + SchemeBuilder.Register(&Eventhub{}, &EventhubList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_firewall_terraformed.go b/apis/azurerm/v1alpha1/zz_firewall_terraformed.go new file mode 100755 index 000000000..1fcd1772c --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_firewall_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Firewall +func (mg *Firewall) GetTerraformResourceType() string { + return "azurerm_firewall" +} + +// GetConnectionDetailsMapping for this Firewall +func (tr *Firewall) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Firewall +func (tr *Firewall) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Firewall +func (tr *Firewall) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Firewall +func (tr *Firewall) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Firewall +func (tr *Firewall) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Firewall using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Firewall) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Firewall) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_firewall_types.go b/apis/azurerm/v1alpha1/zz_firewall_types.go new file mode 100755 index 000000000..4c9af5e97 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_firewall_types.go @@ -0,0 +1,170 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallObservation struct { +} + +type FirewallParameters struct { + + // +kubebuilder:validation:Optional + DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` + + // +kubebuilder:validation:Optional + FirewallPolicyID *string `json:"firewallPolicyId,omitempty" tf:"firewall_policy_id,omitempty"` + + // +kubebuilder:validation:Optional + IPConfiguration []IPConfigurationParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + ManagementIPConfiguration []ManagementIPConfigurationParameters `json:"managementIpConfiguration,omitempty" tf:"management_ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPRanges []*string `json:"privateIpRanges,omitempty" tf:"private_ip_ranges,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuTier *string `json:"skuTier,omitempty" tf:"sku_tier,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ThreatIntelMode *string `json:"threatIntelMode,omitempty" tf:"threat_intel_mode,omitempty"` + + // +kubebuilder:validation:Optional + VirtualHub []VirtualHubParameters `json:"virtualHub,omitempty" tf:"virtual_hub,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type IPConfigurationObservation struct { + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` +} + +type IPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` +} + +type ManagementIPConfigurationObservation struct { + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` +} + +type ManagementIPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +type VirtualHubObservation struct { + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + PublicIPAddresses []*string `json:"publicIpAddresses,omitempty" tf:"public_ip_addresses,omitempty"` +} + +type VirtualHubParameters struct { + + // +kubebuilder:validation:Optional + PublicIPCount *int64 `json:"publicIpCount,omitempty" tf:"public_ip_count,omitempty"` + + // +kubebuilder:validation:Required + VirtualHubID *string `json:"virtualHubId" tf:"virtual_hub_id,omitempty"` +} + +// FirewallSpec defines the desired state of Firewall +type FirewallSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallParameters `json:"forProvider"` +} + +// FirewallStatus defines the observed state of Firewall. +type FirewallStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Firewall is the Schema for the Firewalls API +// +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,azurejet} +type Firewall struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallSpec `json:"spec"` + Status FirewallStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallList contains a list of Firewalls +type FirewallList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Firewall `json:"items"` +} + +// Repository type metadata. +var ( + Firewall_Kind = "Firewall" + Firewall_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Firewall_Kind}.String() + Firewall_KindAPIVersion = Firewall_Kind + "." + CRDGroupVersion.String() + Firewall_GroupVersionKind = CRDGroupVersion.WithKind(Firewall_Kind) +) + +func init() { + SchemeBuilder.Register(&Firewall{}, &FirewallList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_frontdoor_terraformed.go b/apis/azurerm/v1alpha1/zz_frontdoor_terraformed.go new file mode 100755 index 000000000..d951f541e --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_frontdoor_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Frontdoor +func (mg *Frontdoor) GetTerraformResourceType() string { + return "azurerm_frontdoor" +} + +// GetConnectionDetailsMapping for this Frontdoor +func (tr *Frontdoor) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Frontdoor +func (tr *Frontdoor) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Frontdoor +func (tr *Frontdoor) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Frontdoor +func (tr *Frontdoor) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Frontdoor +func (tr *Frontdoor) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Frontdoor using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Frontdoor) LateInitialize(attrs []byte) (bool, error) { + params := &FrontdoorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Frontdoor) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/azurerm/v1alpha1/zz_frontdoor_types.go b/apis/azurerm/v1alpha1/zz_frontdoor_types.go new file mode 100755 index 000000000..3f059428d --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_frontdoor_types.go @@ -0,0 +1,344 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BackendObservation struct { +} + +type BackendParameters struct { + + // +kubebuilder:validation:Required + Address *string `json:"address" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + HTTPPort *int64 `json:"httpPort" tf:"http_port,omitempty"` + + // +kubebuilder:validation:Required + HTTPSPort *int64 `json:"httpsPort" tf:"https_port,omitempty"` + + // +kubebuilder:validation:Required + HostHeader *string `json:"hostHeader" tf:"host_header,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + Weight *int64 `json:"weight,omitempty" tf:"weight,omitempty"` +} + +type BackendPoolHealthProbeObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type BackendPoolHealthProbeParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty" tf:"interval_in_seconds,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + ProbeMethod *string `json:"probeMethod,omitempty" tf:"probe_method,omitempty"` + + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` +} + +type BackendPoolLoadBalancingObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type BackendPoolLoadBalancingParameters struct { + + // +kubebuilder:validation:Optional + AdditionalLatencyMilliseconds *int64 `json:"additionalLatencyMilliseconds,omitempty" tf:"additional_latency_milliseconds,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SampleSize *int64 `json:"sampleSize,omitempty" tf:"sample_size,omitempty"` + + // +kubebuilder:validation:Optional + SuccessfulSamplesRequired *int64 `json:"successfulSamplesRequired,omitempty" tf:"successful_samples_required,omitempty"` +} + +type BackendPoolObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type BackendPoolParameters struct { + + // +kubebuilder:validation:Required + Backend []BackendParameters `json:"backend" tf:"backend,omitempty"` + + // +kubebuilder:validation:Required + HealthProbeName *string `json:"healthProbeName" tf:"health_probe_name,omitempty"` + + // +kubebuilder:validation:Required + LoadBalancingName *string `json:"loadBalancingName" tf:"load_balancing_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ExplicitResourceOrderObservation struct { + BackendPoolHealthProbeIds []*string `json:"backendPoolHealthProbeIds,omitempty" tf:"backend_pool_health_probe_ids,omitempty"` + + BackendPoolIds []*string `json:"backendPoolIds,omitempty" tf:"backend_pool_ids,omitempty"` + + BackendPoolLoadBalancingIds []*string `json:"backendPoolLoadBalancingIds,omitempty" tf:"backend_pool_load_balancing_ids,omitempty"` + + FrontendEndpointIds []*string `json:"frontendEndpointIds,omitempty" tf:"frontend_endpoint_ids,omitempty"` + + RoutingRuleIds []*string `json:"routingRuleIds,omitempty" tf:"routing_rule_ids,omitempty"` +} + +type ExplicitResourceOrderParameters struct { +} + +type ForwardingConfigurationObservation struct { +} + +type ForwardingConfigurationParameters struct { + + // +kubebuilder:validation:Required + BackendPoolName *string `json:"backendPoolName" tf:"backend_pool_name,omitempty"` + + // +kubebuilder:validation:Optional + CacheDuration *string `json:"cacheDuration,omitempty" tf:"cache_duration,omitempty"` + + // +kubebuilder:validation:Optional + CacheEnabled *bool `json:"cacheEnabled,omitempty" tf:"cache_enabled,omitempty"` + + // +kubebuilder:validation:Optional + CacheQueryParameterStripDirective *string `json:"cacheQueryParameterStripDirective,omitempty" tf:"cache_query_parameter_strip_directive,omitempty"` + + // +kubebuilder:validation:Optional + CacheQueryParameters []*string `json:"cacheQueryParameters,omitempty" tf:"cache_query_parameters,omitempty"` + + // +kubebuilder:validation:Optional + CacheUseDynamicCompression *bool `json:"cacheUseDynamicCompression,omitempty" tf:"cache_use_dynamic_compression,omitempty"` + + // +kubebuilder:validation:Optional + CustomForwardingPath *string `json:"customForwardingPath,omitempty" tf:"custom_forwarding_path,omitempty"` + + // +kubebuilder:validation:Optional + ForwardingProtocol *string `json:"forwardingProtocol,omitempty" tf:"forwarding_protocol,omitempty"` +} + +type FrontdoorObservation struct { + BackendPoolHealthProbes map[string]*string `json:"backendPoolHealthProbes,omitempty" tf:"backend_pool_health_probes,omitempty"` + + BackendPoolLoadBalancingSettings map[string]*string `json:"backendPoolLoadBalancingSettings,omitempty" tf:"backend_pool_load_balancing_settings,omitempty"` + + BackendPools map[string]*string `json:"backendPools,omitempty" tf:"backend_pools,omitempty"` + + Cname *string `json:"cname,omitempty" tf:"cname,omitempty"` + + ExplicitResourceOrder []ExplicitResourceOrderObservation `json:"explicitResourceOrder,omitempty" tf:"explicit_resource_order,omitempty"` + + FrontendEndpoints map[string]*string `json:"frontendEndpoints,omitempty" tf:"frontend_endpoints,omitempty"` + + HeaderFrontdoorID *string `json:"headerFrontdoorId,omitempty" tf:"header_frontdoor_id,omitempty"` + + RoutingRules map[string]*string `json:"routingRules,omitempty" tf:"routing_rules,omitempty"` +} + +type FrontdoorParameters struct { + + // +kubebuilder:validation:Required + BackendPool []BackendPoolParameters `json:"backendPool" tf:"backend_pool,omitempty"` + + // +kubebuilder:validation:Required + BackendPoolHealthProbe []BackendPoolHealthProbeParameters `json:"backendPoolHealthProbe" tf:"backend_pool_health_probe,omitempty"` + + // +kubebuilder:validation:Required + BackendPoolLoadBalancing []BackendPoolLoadBalancingParameters `json:"backendPoolLoadBalancing" tf:"backend_pool_load_balancing,omitempty"` + + // +kubebuilder:validation:Optional + BackendPoolsSendReceiveTimeoutSeconds *int64 `json:"backendPoolsSendReceiveTimeoutSeconds,omitempty" tf:"backend_pools_send_receive_timeout_seconds,omitempty"` + + // +kubebuilder:validation:Required + EnforceBackendPoolsCertificateNameCheck *bool `json:"enforceBackendPoolsCertificateNameCheck" tf:"enforce_backend_pools_certificate_name_check,omitempty"` + + // +kubebuilder:validation:Optional + FriendlyName *string `json:"friendlyName,omitempty" tf:"friendly_name,omitempty"` + + // +kubebuilder:validation:Required + FrontendEndpoint []FrontendEndpointParameters `json:"frontendEndpoint" tf:"frontend_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + LoadBalancerEnabled *bool `json:"loadBalancerEnabled,omitempty" tf:"load_balancer_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + RoutingRule []RoutingRuleParameters `json:"routingRule" tf:"routing_rule,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type FrontendEndpointObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type FrontendEndpointParameters struct { + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SessionAffinityEnabled *bool `json:"sessionAffinityEnabled,omitempty" tf:"session_affinity_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SessionAffinityTTLSeconds *int64 `json:"sessionAffinityTtlSeconds,omitempty" tf:"session_affinity_ttl_seconds,omitempty"` + + // +kubebuilder:validation:Optional + WebApplicationFirewallPolicyLinkID *string `json:"webApplicationFirewallPolicyLinkId,omitempty" tf:"web_application_firewall_policy_link_id,omitempty"` +} + +type RedirectConfigurationObservation struct { +} + +type RedirectConfigurationParameters struct { + + // +kubebuilder:validation:Optional + CustomFragment *string `json:"customFragment,omitempty" tf:"custom_fragment,omitempty"` + + // +kubebuilder:validation:Optional + CustomHost *string `json:"customHost,omitempty" tf:"custom_host,omitempty"` + + // +kubebuilder:validation:Optional + CustomPath *string `json:"customPath,omitempty" tf:"custom_path,omitempty"` + + // +kubebuilder:validation:Optional + CustomQueryString *string `json:"customQueryString,omitempty" tf:"custom_query_string,omitempty"` + + // +kubebuilder:validation:Required + RedirectProtocol *string `json:"redirectProtocol" tf:"redirect_protocol,omitempty"` + + // +kubebuilder:validation:Required + RedirectType *string `json:"redirectType" tf:"redirect_type,omitempty"` +} + +type RoutingRuleObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type RoutingRuleParameters struct { + + // +kubebuilder:validation:Required + AcceptedProtocols []*string `json:"acceptedProtocols" tf:"accepted_protocols,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + ForwardingConfiguration []ForwardingConfigurationParameters `json:"forwardingConfiguration,omitempty" tf:"forwarding_configuration,omitempty"` + + // +kubebuilder:validation:Required + FrontendEndpoints []*string `json:"frontendEndpoints" tf:"frontend_endpoints,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PatternsToMatch []*string `json:"patternsToMatch" tf:"patterns_to_match,omitempty"` + + // +kubebuilder:validation:Optional + RedirectConfiguration []RedirectConfigurationParameters `json:"redirectConfiguration,omitempty" tf:"redirect_configuration,omitempty"` +} + +// FrontdoorSpec defines the desired state of Frontdoor +type FrontdoorSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FrontdoorParameters `json:"forProvider"` +} + +// FrontdoorStatus defines the observed state of Frontdoor. +type FrontdoorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FrontdoorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Frontdoor is the Schema for the Frontdoors API +// +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,azurejet} +type Frontdoor struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FrontdoorSpec `json:"spec"` + Status FrontdoorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FrontdoorList contains a list of Frontdoors +type FrontdoorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Frontdoor `json:"items"` +} + +// Repository type metadata. +var ( + Frontdoor_Kind = "Frontdoor" + Frontdoor_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Frontdoor_Kind}.String() + Frontdoor_KindAPIVersion = Frontdoor_Kind + "." + CRDGroupVersion.String() + Frontdoor_GroupVersionKind = CRDGroupVersion.WithKind(Frontdoor_Kind) +) + +func init() { + SchemeBuilder.Register(&Frontdoor{}, &FrontdoorList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_generated.deepcopy.go b/apis/azurerm/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..23b5c3ce5 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2706 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendObservation) DeepCopyInto(out *BackendObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendObservation. +func (in *BackendObservation) DeepCopy() *BackendObservation { + if in == nil { + return nil + } + out := new(BackendObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendParameters) DeepCopyInto(out *BackendParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.HTTPPort != nil { + in, out := &in.HTTPPort, &out.HTTPPort + *out = new(int64) + **out = **in + } + if in.HTTPSPort != nil { + in, out := &in.HTTPSPort, &out.HTTPSPort + *out = new(int64) + **out = **in + } + if in.HostHeader != nil { + in, out := &in.HostHeader, &out.HostHeader + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Weight != nil { + in, out := &in.Weight, &out.Weight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendParameters. +func (in *BackendParameters) DeepCopy() *BackendParameters { + if in == nil { + return nil + } + out := new(BackendParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendPoolHealthProbeObservation) DeepCopyInto(out *BackendPoolHealthProbeObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendPoolHealthProbeObservation. +func (in *BackendPoolHealthProbeObservation) DeepCopy() *BackendPoolHealthProbeObservation { + if in == nil { + return nil + } + out := new(BackendPoolHealthProbeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendPoolHealthProbeParameters) DeepCopyInto(out *BackendPoolHealthProbeParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.IntervalInSeconds != nil { + in, out := &in.IntervalInSeconds, &out.IntervalInSeconds + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.ProbeMethod != nil { + in, out := &in.ProbeMethod, &out.ProbeMethod + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendPoolHealthProbeParameters. +func (in *BackendPoolHealthProbeParameters) DeepCopy() *BackendPoolHealthProbeParameters { + if in == nil { + return nil + } + out := new(BackendPoolHealthProbeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendPoolLoadBalancingObservation) DeepCopyInto(out *BackendPoolLoadBalancingObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendPoolLoadBalancingObservation. +func (in *BackendPoolLoadBalancingObservation) DeepCopy() *BackendPoolLoadBalancingObservation { + if in == nil { + return nil + } + out := new(BackendPoolLoadBalancingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendPoolLoadBalancingParameters) DeepCopyInto(out *BackendPoolLoadBalancingParameters) { + *out = *in + if in.AdditionalLatencyMilliseconds != nil { + in, out := &in.AdditionalLatencyMilliseconds, &out.AdditionalLatencyMilliseconds + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SampleSize != nil { + in, out := &in.SampleSize, &out.SampleSize + *out = new(int64) + **out = **in + } + if in.SuccessfulSamplesRequired != nil { + in, out := &in.SuccessfulSamplesRequired, &out.SuccessfulSamplesRequired + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendPoolLoadBalancingParameters. +func (in *BackendPoolLoadBalancingParameters) DeepCopy() *BackendPoolLoadBalancingParameters { + if in == nil { + return nil + } + out := new(BackendPoolLoadBalancingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendPoolObservation) DeepCopyInto(out *BackendPoolObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendPoolObservation. +func (in *BackendPoolObservation) DeepCopy() *BackendPoolObservation { + if in == nil { + return nil + } + out := new(BackendPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendPoolParameters) DeepCopyInto(out *BackendPoolParameters) { + *out = *in + if in.Backend != nil { + in, out := &in.Backend, &out.Backend + *out = make([]BackendParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HealthProbeName != nil { + in, out := &in.HealthProbeName, &out.HealthProbeName + *out = new(string) + **out = **in + } + if in.LoadBalancingName != nil { + in, out := &in.LoadBalancingName, &out.LoadBalancingName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendPoolParameters. +func (in *BackendPoolParameters) DeepCopy() *BackendPoolParameters { + if in == nil { + return nil + } + out := new(BackendPoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureDescriptionObservation) DeepCopyInto(out *CaptureDescriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureDescriptionObservation. +func (in *CaptureDescriptionObservation) DeepCopy() *CaptureDescriptionObservation { + if in == nil { + return nil + } + out := new(CaptureDescriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureDescriptionParameters) DeepCopyInto(out *CaptureDescriptionParameters) { + *out = *in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = make([]DestinationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.IntervalInSeconds != nil { + in, out := &in.IntervalInSeconds, &out.IntervalInSeconds + *out = new(int64) + **out = **in + } + if in.SizeLimitInBytes != nil { + in, out := &in.SizeLimitInBytes, &out.SizeLimitInBytes + *out = new(int64) + **out = **in + } + if in.SkipEmptyArchives != nil { + in, out := &in.SkipEmptyArchives, &out.SkipEmptyArchives + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureDescriptionParameters. +func (in *CaptureDescriptionParameters) DeepCopy() *CaptureDescriptionParameters { + if in == nil { + return nil + } + out := new(CaptureDescriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Dashboard) DeepCopyInto(out *Dashboard) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard. +func (in *Dashboard) DeepCopy() *Dashboard { + if in == nil { + return nil + } + out := new(Dashboard) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Dashboard) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DashboardList) DeepCopyInto(out *DashboardList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Dashboard, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardList. +func (in *DashboardList) DeepCopy() *DashboardList { + if in == nil { + return nil + } + out := new(DashboardList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DashboardList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DashboardObservation) DeepCopyInto(out *DashboardObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardObservation. +func (in *DashboardObservation) DeepCopy() *DashboardObservation { + if in == nil { + return nil + } + out := new(DashboardObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DashboardParameters) DeepCopyInto(out *DashboardParameters) { + *out = *in + if in.DashboardProperties != nil { + in, out := &in.DashboardProperties, &out.DashboardProperties + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardParameters. +func (in *DashboardParameters) DeepCopy() *DashboardParameters { + if in == nil { + return nil + } + out := new(DashboardParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSpec. +func (in *DashboardSpec) DeepCopy() *DashboardSpec { + if in == nil { + return nil + } + out := new(DashboardSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardStatus. +func (in *DashboardStatus) DeepCopy() *DashboardStatus { + if in == nil { + return nil + } + out := new(DashboardStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataDiskObservation) DeepCopyInto(out *DataDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDiskObservation. +func (in *DataDiskObservation) DeepCopy() *DataDiskObservation { + if in == nil { + return nil + } + out := new(DataDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataDiskParameters) DeepCopyInto(out *DataDiskParameters) { + *out = *in + if in.BlobURI != nil { + in, out := &in.BlobURI, &out.BlobURI + *out = new(string) + **out = **in + } + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.Lun != nil { + in, out := &in.Lun, &out.Lun + *out = new(int64) + **out = **in + } + if in.ManagedDiskID != nil { + in, out := &in.ManagedDiskID, &out.ManagedDiskID + *out = new(string) + **out = **in + } + if in.SizeGb != nil { + in, out := &in.SizeGb, &out.SizeGb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDiskParameters. +func (in *DataDiskParameters) DeepCopy() *DataDiskParameters { + if in == nil { + return nil + } + out := new(DataDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationObservation. +func (in *DestinationObservation) DeepCopy() *DestinationObservation { + if in == nil { + return nil + } + out := new(DestinationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters) { + *out = *in + if in.ArchiveNameFormat != nil { + in, out := &in.ArchiveNameFormat, &out.ArchiveNameFormat + *out = new(string) + **out = **in + } + if in.BlobContainerName != nil { + in, out := &in.BlobContainerName, &out.BlobContainerName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationParameters. +func (in *DestinationParameters) DeepCopy() *DestinationParameters { + if in == nil { + return nil + } + out := new(DestinationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskEncryptionKeyObservation) DeepCopyInto(out *DiskEncryptionKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskEncryptionKeyObservation. +func (in *DiskEncryptionKeyObservation) DeepCopy() *DiskEncryptionKeyObservation { + if in == nil { + return nil + } + out := new(DiskEncryptionKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskEncryptionKeyParameters) DeepCopyInto(out *DiskEncryptionKeyParameters) { + *out = *in + if in.SecretURL != nil { + in, out := &in.SecretURL, &out.SecretURL + *out = new(string) + **out = **in + } + if in.SourceVaultID != nil { + in, out := &in.SourceVaultID, &out.SourceVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskEncryptionKeyParameters. +func (in *DiskEncryptionKeyParameters) DeepCopy() *DiskEncryptionKeyParameters { + if in == nil { + return nil + } + out := new(DiskEncryptionKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSettingsObservation) DeepCopyInto(out *EncryptionSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSettingsObservation. +func (in *EncryptionSettingsObservation) DeepCopy() *EncryptionSettingsObservation { + if in == nil { + return nil + } + out := new(EncryptionSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSettingsParameters) DeepCopyInto(out *EncryptionSettingsParameters) { + *out = *in + if in.DiskEncryptionKey != nil { + in, out := &in.DiskEncryptionKey, &out.DiskEncryptionKey + *out = make([]DiskEncryptionKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.KeyEncryptionKey != nil { + in, out := &in.KeyEncryptionKey, &out.KeyEncryptionKey + *out = make([]KeyEncryptionKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSettingsParameters. +func (in *EncryptionSettingsParameters) DeepCopy() *EncryptionSettingsParameters { + if in == nil { + return nil + } + out := new(EncryptionSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Eventhub) DeepCopyInto(out *Eventhub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eventhub. +func (in *Eventhub) DeepCopy() *Eventhub { + if in == nil { + return nil + } + out := new(Eventhub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Eventhub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubList) DeepCopyInto(out *EventhubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Eventhub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubList. +func (in *EventhubList) DeepCopy() *EventhubList { + if in == nil { + return nil + } + out := new(EventhubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventhubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubObservation) DeepCopyInto(out *EventhubObservation) { + *out = *in + if in.PartitionIds != nil { + in, out := &in.PartitionIds, &out.PartitionIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubObservation. +func (in *EventhubObservation) DeepCopy() *EventhubObservation { + if in == nil { + return nil + } + out := new(EventhubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubParameters) DeepCopyInto(out *EventhubParameters) { + *out = *in + if in.CaptureDescription != nil { + in, out := &in.CaptureDescription, &out.CaptureDescription + *out = make([]CaptureDescriptionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MessageRetention != nil { + in, out := &in.MessageRetention, &out.MessageRetention + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.PartitionCount != nil { + in, out := &in.PartitionCount, &out.PartitionCount + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubParameters. +func (in *EventhubParameters) DeepCopy() *EventhubParameters { + if in == nil { + return nil + } + out := new(EventhubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubSpec) DeepCopyInto(out *EventhubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubSpec. +func (in *EventhubSpec) DeepCopy() *EventhubSpec { + if in == nil { + return nil + } + out := new(EventhubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubStatus) DeepCopyInto(out *EventhubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubStatus. +func (in *EventhubStatus) DeepCopy() *EventhubStatus { + if in == nil { + return nil + } + out := new(EventhubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExplicitResourceOrderObservation) DeepCopyInto(out *ExplicitResourceOrderObservation) { + *out = *in + if in.BackendPoolHealthProbeIds != nil { + in, out := &in.BackendPoolHealthProbeIds, &out.BackendPoolHealthProbeIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BackendPoolIds != nil { + in, out := &in.BackendPoolIds, &out.BackendPoolIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BackendPoolLoadBalancingIds != nil { + in, out := &in.BackendPoolLoadBalancingIds, &out.BackendPoolLoadBalancingIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.FrontendEndpointIds != nil { + in, out := &in.FrontendEndpointIds, &out.FrontendEndpointIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RoutingRuleIds != nil { + in, out := &in.RoutingRuleIds, &out.RoutingRuleIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExplicitResourceOrderObservation. +func (in *ExplicitResourceOrderObservation) DeepCopy() *ExplicitResourceOrderObservation { + if in == nil { + return nil + } + out := new(ExplicitResourceOrderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExplicitResourceOrderParameters) DeepCopyInto(out *ExplicitResourceOrderParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExplicitResourceOrderParameters. +func (in *ExplicitResourceOrderParameters) DeepCopy() *ExplicitResourceOrderParameters { + if in == nil { + return nil + } + out := new(ExplicitResourceOrderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Firewall) DeepCopyInto(out *Firewall) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firewall. +func (in *Firewall) DeepCopy() *Firewall { + if in == nil { + return nil + } + out := new(Firewall) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Firewall) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallList) DeepCopyInto(out *FirewallList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Firewall, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallList. +func (in *FirewallList) DeepCopy() *FirewallList { + if in == nil { + return nil + } + out := new(FirewallList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallObservation) DeepCopyInto(out *FirewallObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallObservation. +func (in *FirewallObservation) DeepCopy() *FirewallObservation { + if in == nil { + return nil + } + out := new(FirewallObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallParameters) DeepCopyInto(out *FirewallParameters) { + *out = *in + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.FirewallPolicyID != nil { + in, out := &in.FirewallPolicyID, &out.FirewallPolicyID + *out = new(string) + **out = **in + } + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]IPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagementIPConfiguration != nil { + in, out := &in.ManagementIPConfiguration, &out.ManagementIPConfiguration + *out = make([]ManagementIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateIPRanges != nil { + in, out := &in.PrivateIPRanges, &out.PrivateIPRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SkuTier != nil { + in, out := &in.SkuTier, &out.SkuTier + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ThreatIntelMode != nil { + in, out := &in.ThreatIntelMode, &out.ThreatIntelMode + *out = new(string) + **out = **in + } + if in.VirtualHub != nil { + in, out := &in.VirtualHub, &out.VirtualHub + *out = make([]VirtualHubParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallParameters. +func (in *FirewallParameters) DeepCopy() *FirewallParameters { + if in == nil { + return nil + } + out := new(FirewallParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallSpec) DeepCopyInto(out *FirewallSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallSpec. +func (in *FirewallSpec) DeepCopy() *FirewallSpec { + if in == nil { + return nil + } + out := new(FirewallSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallStatus) DeepCopyInto(out *FirewallStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallStatus. +func (in *FirewallStatus) DeepCopy() *FirewallStatus { + if in == nil { + return nil + } + out := new(FirewallStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ForwardingConfigurationObservation) DeepCopyInto(out *ForwardingConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingConfigurationObservation. +func (in *ForwardingConfigurationObservation) DeepCopy() *ForwardingConfigurationObservation { + if in == nil { + return nil + } + out := new(ForwardingConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ForwardingConfigurationParameters) DeepCopyInto(out *ForwardingConfigurationParameters) { + *out = *in + if in.BackendPoolName != nil { + in, out := &in.BackendPoolName, &out.BackendPoolName + *out = new(string) + **out = **in + } + if in.CacheDuration != nil { + in, out := &in.CacheDuration, &out.CacheDuration + *out = new(string) + **out = **in + } + if in.CacheEnabled != nil { + in, out := &in.CacheEnabled, &out.CacheEnabled + *out = new(bool) + **out = **in + } + if in.CacheQueryParameterStripDirective != nil { + in, out := &in.CacheQueryParameterStripDirective, &out.CacheQueryParameterStripDirective + *out = new(string) + **out = **in + } + if in.CacheQueryParameters != nil { + in, out := &in.CacheQueryParameters, &out.CacheQueryParameters + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CacheUseDynamicCompression != nil { + in, out := &in.CacheUseDynamicCompression, &out.CacheUseDynamicCompression + *out = new(bool) + **out = **in + } + if in.CustomForwardingPath != nil { + in, out := &in.CustomForwardingPath, &out.CustomForwardingPath + *out = new(string) + **out = **in + } + if in.ForwardingProtocol != nil { + in, out := &in.ForwardingProtocol, &out.ForwardingProtocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingConfigurationParameters. +func (in *ForwardingConfigurationParameters) DeepCopy() *ForwardingConfigurationParameters { + if in == nil { + return nil + } + out := new(ForwardingConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Frontdoor) DeepCopyInto(out *Frontdoor) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Frontdoor. +func (in *Frontdoor) DeepCopy() *Frontdoor { + if in == nil { + return nil + } + out := new(Frontdoor) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Frontdoor) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontdoorList) DeepCopyInto(out *FrontdoorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Frontdoor, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontdoorList. +func (in *FrontdoorList) DeepCopy() *FrontdoorList { + if in == nil { + return nil + } + out := new(FrontdoorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FrontdoorList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontdoorObservation) DeepCopyInto(out *FrontdoorObservation) { + *out = *in + if in.BackendPoolHealthProbes != nil { + in, out := &in.BackendPoolHealthProbes, &out.BackendPoolHealthProbes + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.BackendPoolLoadBalancingSettings != nil { + in, out := &in.BackendPoolLoadBalancingSettings, &out.BackendPoolLoadBalancingSettings + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.BackendPools != nil { + in, out := &in.BackendPools, &out.BackendPools + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Cname != nil { + in, out := &in.Cname, &out.Cname + *out = new(string) + **out = **in + } + if in.ExplicitResourceOrder != nil { + in, out := &in.ExplicitResourceOrder, &out.ExplicitResourceOrder + *out = make([]ExplicitResourceOrderObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontendEndpoints != nil { + in, out := &in.FrontendEndpoints, &out.FrontendEndpoints + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.HeaderFrontdoorID != nil { + in, out := &in.HeaderFrontdoorID, &out.HeaderFrontdoorID + *out = new(string) + **out = **in + } + if in.RoutingRules != nil { + in, out := &in.RoutingRules, &out.RoutingRules + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontdoorObservation. +func (in *FrontdoorObservation) DeepCopy() *FrontdoorObservation { + if in == nil { + return nil + } + out := new(FrontdoorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontdoorParameters) DeepCopyInto(out *FrontdoorParameters) { + *out = *in + if in.BackendPool != nil { + in, out := &in.BackendPool, &out.BackendPool + *out = make([]BackendPoolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendPoolHealthProbe != nil { + in, out := &in.BackendPoolHealthProbe, &out.BackendPoolHealthProbe + *out = make([]BackendPoolHealthProbeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendPoolLoadBalancing != nil { + in, out := &in.BackendPoolLoadBalancing, &out.BackendPoolLoadBalancing + *out = make([]BackendPoolLoadBalancingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BackendPoolsSendReceiveTimeoutSeconds != nil { + in, out := &in.BackendPoolsSendReceiveTimeoutSeconds, &out.BackendPoolsSendReceiveTimeoutSeconds + *out = new(int64) + **out = **in + } + if in.EnforceBackendPoolsCertificateNameCheck != nil { + in, out := &in.EnforceBackendPoolsCertificateNameCheck, &out.EnforceBackendPoolsCertificateNameCheck + *out = new(bool) + **out = **in + } + if in.FriendlyName != nil { + in, out := &in.FriendlyName, &out.FriendlyName + *out = new(string) + **out = **in + } + if in.FrontendEndpoint != nil { + in, out := &in.FrontendEndpoint, &out.FrontendEndpoint + *out = make([]FrontendEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LoadBalancerEnabled != nil { + in, out := &in.LoadBalancerEnabled, &out.LoadBalancerEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RoutingRule != nil { + in, out := &in.RoutingRule, &out.RoutingRule + *out = make([]RoutingRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontdoorParameters. +func (in *FrontdoorParameters) DeepCopy() *FrontdoorParameters { + if in == nil { + return nil + } + out := new(FrontdoorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontdoorSpec) DeepCopyInto(out *FrontdoorSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontdoorSpec. +func (in *FrontdoorSpec) DeepCopy() *FrontdoorSpec { + if in == nil { + return nil + } + out := new(FrontdoorSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontdoorStatus) DeepCopyInto(out *FrontdoorStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontdoorStatus. +func (in *FrontdoorStatus) DeepCopy() *FrontdoorStatus { + if in == nil { + return nil + } + out := new(FrontdoorStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendEndpointObservation) DeepCopyInto(out *FrontendEndpointObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendEndpointObservation. +func (in *FrontendEndpointObservation) DeepCopy() *FrontendEndpointObservation { + if in == nil { + return nil + } + out := new(FrontendEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendEndpointParameters) DeepCopyInto(out *FrontendEndpointParameters) { + *out = *in + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SessionAffinityEnabled != nil { + in, out := &in.SessionAffinityEnabled, &out.SessionAffinityEnabled + *out = new(bool) + **out = **in + } + if in.SessionAffinityTTLSeconds != nil { + in, out := &in.SessionAffinityTTLSeconds, &out.SessionAffinityTTLSeconds + *out = new(int64) + **out = **in + } + if in.WebApplicationFirewallPolicyLinkID != nil { + in, out := &in.WebApplicationFirewallPolicyLinkID, &out.WebApplicationFirewallPolicyLinkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendEndpointParameters. +func (in *FrontendEndpointParameters) DeepCopy() *FrontendEndpointParameters { + if in == nil { + return nil + } + out := new(FrontendEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Healthbot) DeepCopyInto(out *Healthbot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthbot. +func (in *Healthbot) DeepCopy() *Healthbot { + if in == nil { + return nil + } + out := new(Healthbot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Healthbot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthbotList) DeepCopyInto(out *HealthbotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Healthbot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthbotList. +func (in *HealthbotList) DeepCopy() *HealthbotList { + if in == nil { + return nil + } + out := new(HealthbotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HealthbotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthbotObservation) DeepCopyInto(out *HealthbotObservation) { + *out = *in + if in.BotManagementPortalURL != nil { + in, out := &in.BotManagementPortalURL, &out.BotManagementPortalURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthbotObservation. +func (in *HealthbotObservation) DeepCopy() *HealthbotObservation { + if in == nil { + return nil + } + out := new(HealthbotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthbotParameters) DeepCopyInto(out *HealthbotParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthbotParameters. +func (in *HealthbotParameters) DeepCopy() *HealthbotParameters { + if in == nil { + return nil + } + out := new(HealthbotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthbotSpec) DeepCopyInto(out *HealthbotSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthbotSpec. +func (in *HealthbotSpec) DeepCopy() *HealthbotSpec { + if in == nil { + return nil + } + out := new(HealthbotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthbotStatus) DeepCopyInto(out *HealthbotStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthbotStatus. +func (in *HealthbotStatus) DeepCopy() *HealthbotStatus { + if in == nil { + return nil + } + out := new(HealthbotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation. +func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation { + if in == nil { + return nil + } + out := new(IPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters. +func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters { + if in == nil { + return nil + } + out := new(IPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Image) DeepCopyInto(out *Image) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image. +func (in *Image) DeepCopy() *Image { + if in == nil { + return nil + } + out := new(Image) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Image) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageList) DeepCopyInto(out *ImageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Image, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList. +func (in *ImageList) DeepCopy() *ImageList { + if in == nil { + return nil + } + out := new(ImageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageObservation. +func (in *ImageObservation) DeepCopy() *ImageObservation { + if in == nil { + return nil + } + out := new(ImageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { + *out = *in + if in.DataDisk != nil { + in, out := &in.DataDisk, &out.DataDisk + *out = make([]DataDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HyperVGeneration != nil { + in, out := &in.HyperVGeneration, &out.HyperVGeneration + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OsDisk != nil { + in, out := &in.OsDisk, &out.OsDisk + *out = make([]OsDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceVirtualMachineID != nil { + in, out := &in.SourceVirtualMachineID, &out.SourceVirtualMachineID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneResilient != nil { + in, out := &in.ZoneResilient, &out.ZoneResilient + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParameters. +func (in *ImageParameters) DeepCopy() *ImageParameters { + if in == nil { + return nil + } + out := new(ImageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageSpec) DeepCopyInto(out *ImageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec. +func (in *ImageSpec) DeepCopy() *ImageSpec { + if in == nil { + return nil + } + out := new(ImageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageStatus) DeepCopyInto(out *ImageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus. +func (in *ImageStatus) DeepCopy() *ImageStatus { + if in == nil { + return nil + } + out := new(ImageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyEncryptionKeyObservation) DeepCopyInto(out *KeyEncryptionKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyEncryptionKeyObservation. +func (in *KeyEncryptionKeyObservation) DeepCopy() *KeyEncryptionKeyObservation { + if in == nil { + return nil + } + out := new(KeyEncryptionKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyEncryptionKeyParameters) DeepCopyInto(out *KeyEncryptionKeyParameters) { + *out = *in + if in.KeyURL != nil { + in, out := &in.KeyURL, &out.KeyURL + *out = new(string) + **out = **in + } + if in.SourceVaultID != nil { + in, out := &in.SourceVaultID, &out.SourceVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyEncryptionKeyParameters. +func (in *KeyEncryptionKeyParameters) DeepCopy() *KeyEncryptionKeyParameters { + if in == nil { + return nil + } + out := new(KeyEncryptionKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIPConfigurationObservation) DeepCopyInto(out *ManagementIPConfigurationObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIPConfigurationObservation. +func (in *ManagementIPConfigurationObservation) DeepCopy() *ManagementIPConfigurationObservation { + if in == nil { + return nil + } + out := new(ManagementIPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementIPConfigurationParameters) DeepCopyInto(out *ManagementIPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementIPConfigurationParameters. +func (in *ManagementIPConfigurationParameters) DeepCopy() *ManagementIPConfigurationParameters { + if in == nil { + return nil + } + out := new(ManagementIPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskObservation) DeepCopyInto(out *OsDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskObservation. +func (in *OsDiskObservation) DeepCopy() *OsDiskObservation { + if in == nil { + return nil + } + out := new(OsDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskParameters) DeepCopyInto(out *OsDiskParameters) { + *out = *in + if in.BlobURI != nil { + in, out := &in.BlobURI, &out.BlobURI + *out = new(string) + **out = **in + } + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.ManagedDiskID != nil { + in, out := &in.ManagedDiskID, &out.ManagedDiskID + *out = new(string) + **out = **in + } + if in.OsState != nil { + in, out := &in.OsState, &out.OsState + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.SizeGb != nil { + in, out := &in.SizeGb, &out.SizeGb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskParameters. +func (in *OsDiskParameters) DeepCopy() *OsDiskParameters { + if in == nil { + return nil + } + out := new(OsDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedirectConfigurationObservation) DeepCopyInto(out *RedirectConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectConfigurationObservation. +func (in *RedirectConfigurationObservation) DeepCopy() *RedirectConfigurationObservation { + if in == nil { + return nil + } + out := new(RedirectConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedirectConfigurationParameters) DeepCopyInto(out *RedirectConfigurationParameters) { + *out = *in + if in.CustomFragment != nil { + in, out := &in.CustomFragment, &out.CustomFragment + *out = new(string) + **out = **in + } + if in.CustomHost != nil { + in, out := &in.CustomHost, &out.CustomHost + *out = new(string) + **out = **in + } + if in.CustomPath != nil { + in, out := &in.CustomPath, &out.CustomPath + *out = new(string) + **out = **in + } + if in.CustomQueryString != nil { + in, out := &in.CustomQueryString, &out.CustomQueryString + *out = new(string) + **out = **in + } + if in.RedirectProtocol != nil { + in, out := &in.RedirectProtocol, &out.RedirectProtocol + *out = new(string) + **out = **in + } + if in.RedirectType != nil { + in, out := &in.RedirectType, &out.RedirectType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedirectConfigurationParameters. +func (in *RedirectConfigurationParameters) DeepCopy() *RedirectConfigurationParameters { + if in == nil { + return nil + } + out := new(RedirectConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutingRuleObservation) DeepCopyInto(out *RoutingRuleObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingRuleObservation. +func (in *RoutingRuleObservation) DeepCopy() *RoutingRuleObservation { + if in == nil { + return nil + } + out := new(RoutingRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutingRuleParameters) DeepCopyInto(out *RoutingRuleParameters) { + *out = *in + if in.AcceptedProtocols != nil { + in, out := &in.AcceptedProtocols, &out.AcceptedProtocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.ForwardingConfiguration != nil { + in, out := &in.ForwardingConfiguration, &out.ForwardingConfiguration + *out = make([]ForwardingConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FrontendEndpoints != nil { + in, out := &in.FrontendEndpoints, &out.FrontendEndpoints + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PatternsToMatch != nil { + in, out := &in.PatternsToMatch, &out.PatternsToMatch + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RedirectConfiguration != nil { + in, out := &in.RedirectConfiguration, &out.RedirectConfiguration + *out = make([]RedirectConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingRuleParameters. +func (in *RoutingRuleParameters) DeepCopy() *RoutingRuleParameters { + if in == nil { + return nil + } + out := new(RoutingRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Snapshot) DeepCopyInto(out *Snapshot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot. +func (in *Snapshot) DeepCopy() *Snapshot { + if in == nil { + return nil + } + out := new(Snapshot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Snapshot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotList) DeepCopyInto(out *SnapshotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Snapshot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList. +func (in *SnapshotList) DeepCopy() *SnapshotList { + if in == nil { + return nil + } + out := new(SnapshotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SnapshotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotObservation. +func (in *SnapshotObservation) DeepCopy() *SnapshotObservation { + if in == nil { + return nil + } + out := new(SnapshotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters) { + *out = *in + if in.CreateOption != nil { + in, out := &in.CreateOption, &out.CreateOption + *out = new(string) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.EncryptionSettings != nil { + in, out := &in.EncryptionSettings, &out.EncryptionSettings + *out = make([]EncryptionSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceResourceID != nil { + in, out := &in.SourceResourceID, &out.SourceResourceID + *out = new(string) + **out = **in + } + if in.SourceURI != nil { + in, out := &in.SourceURI, &out.SourceURI + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotParameters. +func (in *SnapshotParameters) DeepCopy() *SnapshotParameters { + if in == nil { + return nil + } + out := new(SnapshotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec. +func (in *SnapshotSpec) DeepCopy() *SnapshotSpec { + if in == nil { + return nil + } + out := new(SnapshotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus. +func (in *SnapshotStatus) DeepCopy() *SnapshotStatus { + if in == nil { + return nil + } + out := new(SnapshotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Subscription) DeepCopyInto(out *Subscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription. +func (in *Subscription) DeepCopy() *Subscription { + if in == nil { + return nil + } + out := new(Subscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Subscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Subscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionList. +func (in *SubscriptionList) DeepCopy() *SubscriptionList { + if in == nil { + return nil + } + out := new(SubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionObservation) DeepCopyInto(out *SubscriptionObservation) { + *out = *in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionObservation. +func (in *SubscriptionObservation) DeepCopy() *SubscriptionObservation { + if in == nil { + return nil + } + out := new(SubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionParameters) DeepCopyInto(out *SubscriptionParameters) { + *out = *in + if in.Alias != nil { + in, out := &in.Alias, &out.Alias + *out = new(string) + **out = **in + } + if in.BillingScopeID != nil { + in, out := &in.BillingScopeID, &out.BillingScopeID + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } + if in.SubscriptionName != nil { + in, out := &in.SubscriptionName, &out.SubscriptionName + *out = new(string) + **out = **in + } + if in.Workload != nil { + in, out := &in.Workload, &out.Workload + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionParameters. +func (in *SubscriptionParameters) DeepCopy() *SubscriptionParameters { + if in == nil { + return nil + } + out := new(SubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpec. +func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec { + if in == nil { + return nil + } + out := new(SubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatus. +func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus { + if in == nil { + return nil + } + out := new(SubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualHubObservation) DeepCopyInto(out *VirtualHubObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PublicIPAddresses != nil { + in, out := &in.PublicIPAddresses, &out.PublicIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualHubObservation. +func (in *VirtualHubObservation) DeepCopy() *VirtualHubObservation { + if in == nil { + return nil + } + out := new(VirtualHubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualHubParameters) DeepCopyInto(out *VirtualHubParameters) { + *out = *in + if in.PublicIPCount != nil { + in, out := &in.PublicIPCount, &out.PublicIPCount + *out = new(int64) + **out = **in + } + if in.VirtualHubID != nil { + in, out := &in.VirtualHubID, &out.VirtualHubID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualHubParameters. +func (in *VirtualHubParameters) DeepCopy() *VirtualHubParameters { + if in == nil { + return nil + } + out := new(VirtualHubParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/azurerm/v1alpha1/zz_generated.managed.go b/apis/azurerm/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e38ae058b --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_generated.managed.go @@ -0,0 +1,468 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Dashboard. +func (mg *Dashboard) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Dashboard. +func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Dashboard. +func (mg *Dashboard) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Dashboard. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Dashboard) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Dashboard. +func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Dashboard. +func (mg *Dashboard) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Dashboard. +func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Dashboard. +func (mg *Dashboard) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Dashboard. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Dashboard) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Dashboard. +func (mg *Dashboard) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Eventhub. +func (mg *Eventhub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Eventhub. +func (mg *Eventhub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Eventhub. +func (mg *Eventhub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Eventhub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Eventhub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Eventhub. +func (mg *Eventhub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Eventhub. +func (mg *Eventhub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Eventhub. +func (mg *Eventhub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Eventhub. +func (mg *Eventhub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Eventhub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Eventhub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Eventhub. +func (mg *Eventhub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Firewall. +func (mg *Firewall) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Firewall. +func (mg *Firewall) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Firewall. +func (mg *Firewall) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Firewall. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Firewall) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Firewall. +func (mg *Firewall) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Firewall. +func (mg *Firewall) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Firewall. +func (mg *Firewall) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Firewall. +func (mg *Firewall) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Firewall. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Firewall) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Firewall. +func (mg *Firewall) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Frontdoor. +func (mg *Frontdoor) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Frontdoor. +func (mg *Frontdoor) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Frontdoor. +func (mg *Frontdoor) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Frontdoor. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Frontdoor) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Frontdoor. +func (mg *Frontdoor) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Frontdoor. +func (mg *Frontdoor) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Frontdoor. +func (mg *Frontdoor) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Frontdoor. +func (mg *Frontdoor) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Frontdoor. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Frontdoor) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Frontdoor. +func (mg *Frontdoor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Healthbot. +func (mg *Healthbot) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Healthbot. +func (mg *Healthbot) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Healthbot. +func (mg *Healthbot) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Healthbot. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Healthbot) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Healthbot. +func (mg *Healthbot) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Healthbot. +func (mg *Healthbot) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Healthbot. +func (mg *Healthbot) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Healthbot. +func (mg *Healthbot) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Healthbot. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Healthbot) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Healthbot. +func (mg *Healthbot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Image. +func (mg *Image) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Image. +func (mg *Image) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Image. +func (mg *Image) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Image. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Image) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Image. +func (mg *Image) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Image. +func (mg *Image) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Image. +func (mg *Image) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Image. +func (mg *Image) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Image. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Image) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Image. +func (mg *Image) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Snapshot. +func (mg *Snapshot) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Snapshot. +func (mg *Snapshot) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Snapshot. +func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Snapshot. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Snapshot) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Snapshot. +func (mg *Snapshot) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Snapshot. +func (mg *Snapshot) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Snapshot. +func (mg *Snapshot) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Snapshot. +func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Snapshot. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Snapshot) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Snapshot. +func (mg *Snapshot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Subscription. +func (mg *Subscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Subscription. +func (mg *Subscription) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Subscription. +func (mg *Subscription) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Subscription. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Subscription) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Subscription. +func (mg *Subscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Subscription. +func (mg *Subscription) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Subscription. +func (mg *Subscription) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Subscription. +func (mg *Subscription) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Subscription. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Subscription) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Subscription. +func (mg *Subscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/azurerm/v1alpha1/zz_generated.managedlist.go b/apis/azurerm/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..3bca4c363 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this DashboardList. +func (l *DashboardList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EventhubList. +func (l *EventhubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallList. +func (l *FirewallList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FrontdoorList. +func (l *FrontdoorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this HealthbotList. +func (l *HealthbotList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ImageList. +func (l *ImageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SnapshotList. +func (l *SnapshotList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SubscriptionList. +func (l *SubscriptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/azurerm/v1alpha1/zz_groupversion_info.go b/apis/azurerm/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..e6461e0e9 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=azurerm.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "azurerm.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/azurerm/v1alpha1/zz_healthbot_terraformed.go b/apis/azurerm/v1alpha1/zz_healthbot_terraformed.go new file mode 100755 index 000000000..9a1af3b79 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_healthbot_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Healthbot +func (mg *Healthbot) GetTerraformResourceType() string { + return "azurerm_healthbot" +} + +// GetConnectionDetailsMapping for this Healthbot +func (tr *Healthbot) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Healthbot +func (tr *Healthbot) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Healthbot +func (tr *Healthbot) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Healthbot +func (tr *Healthbot) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Healthbot +func (tr *Healthbot) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Healthbot using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Healthbot) LateInitialize(attrs []byte) (bool, error) { + params := &HealthbotParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Healthbot) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_healthbot_types.go b/apis/azurerm/v1alpha1/zz_healthbot_types.go new file mode 100755 index 000000000..5536ce040 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_healthbot_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HealthbotObservation struct { + BotManagementPortalURL *string `json:"botManagementPortalUrl,omitempty" tf:"bot_management_portal_url,omitempty"` +} + +type HealthbotParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// HealthbotSpec defines the desired state of Healthbot +type HealthbotSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HealthbotParameters `json:"forProvider"` +} + +// HealthbotStatus defines the observed state of Healthbot. +type HealthbotStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HealthbotObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Healthbot is the Schema for the Healthbots API +// +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,azurejet} +type Healthbot struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HealthbotSpec `json:"spec"` + Status HealthbotStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HealthbotList contains a list of Healthbots +type HealthbotList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Healthbot `json:"items"` +} + +// Repository type metadata. +var ( + Healthbot_Kind = "Healthbot" + Healthbot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Healthbot_Kind}.String() + Healthbot_KindAPIVersion = Healthbot_Kind + "." + CRDGroupVersion.String() + Healthbot_GroupVersionKind = CRDGroupVersion.WithKind(Healthbot_Kind) +) + +func init() { + SchemeBuilder.Register(&Healthbot{}, &HealthbotList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_image_terraformed.go b/apis/azurerm/v1alpha1/zz_image_terraformed.go new file mode 100755 index 000000000..1a94b2f66 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_image_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Image +func (mg *Image) GetTerraformResourceType() string { + return "azurerm_image" +} + +// GetConnectionDetailsMapping for this Image +func (tr *Image) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Image +func (tr *Image) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Image +func (tr *Image) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Image +func (tr *Image) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Image +func (tr *Image) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Image using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Image) LateInitialize(attrs []byte) (bool, error) { + params := &ImageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Image) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_image_types.go b/apis/azurerm/v1alpha1/zz_image_types.go new file mode 100755 index 000000000..0712598da --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_image_types.go @@ -0,0 +1,153 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataDiskObservation struct { +} + +type DataDiskParameters struct { + + // +kubebuilder:validation:Optional + BlobURI *string `json:"blobUri,omitempty" tf:"blob_uri,omitempty"` + + // +kubebuilder:validation:Optional + Caching *string `json:"caching,omitempty" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + Lun *int64 `json:"lun,omitempty" tf:"lun,omitempty"` + + // +kubebuilder:validation:Optional + ManagedDiskID *string `json:"managedDiskId,omitempty" tf:"managed_disk_id,omitempty"` + + // +kubebuilder:validation:Optional + SizeGb *int64 `json:"sizeGb,omitempty" tf:"size_gb,omitempty"` +} + +type ImageObservation struct { +} + +type ImageParameters struct { + + // +kubebuilder:validation:Optional + DataDisk []DataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"` + + // +kubebuilder:validation:Optional + HyperVGeneration *string `json:"hyperVGeneration,omitempty" tf:"hyper_v_generation,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OsDisk []OsDiskParameters `json:"osDisk,omitempty" tf:"os_disk,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SourceVirtualMachineID *string `json:"sourceVirtualMachineId,omitempty" tf:"source_virtual_machine_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneResilient *bool `json:"zoneResilient,omitempty" tf:"zone_resilient,omitempty"` +} + +type OsDiskObservation struct { +} + +type OsDiskParameters struct { + + // +kubebuilder:validation:Optional + BlobURI *string `json:"blobUri,omitempty" tf:"blob_uri,omitempty"` + + // +kubebuilder:validation:Optional + Caching *string `json:"caching,omitempty" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + ManagedDiskID *string `json:"managedDiskId,omitempty" tf:"managed_disk_id,omitempty"` + + // +kubebuilder:validation:Optional + OsState *string `json:"osState,omitempty" tf:"os_state,omitempty"` + + // +kubebuilder:validation:Optional + OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"` + + // +kubebuilder:validation:Optional + SizeGb *int64 `json:"sizeGb,omitempty" tf:"size_gb,omitempty"` +} + +// ImageSpec defines the desired state of Image +type ImageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ImageParameters `json:"forProvider"` +} + +// ImageStatus defines the observed state of Image. +type ImageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ImageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Image is the Schema for the Images API +// +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,azurejet} +type Image struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ImageSpec `json:"spec"` + Status ImageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ImageList contains a list of Images +type ImageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Image `json:"items"` +} + +// Repository type metadata. +var ( + Image_Kind = "Image" + Image_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Image_Kind}.String() + Image_KindAPIVersion = Image_Kind + "." + CRDGroupVersion.String() + Image_GroupVersionKind = CRDGroupVersion.WithKind(Image_Kind) +) + +func init() { + SchemeBuilder.Register(&Image{}, &ImageList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_snapshot_terraformed.go b/apis/azurerm/v1alpha1/zz_snapshot_terraformed.go new file mode 100755 index 000000000..d0b6ba41e --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_snapshot_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Snapshot +func (mg *Snapshot) GetTerraformResourceType() string { + return "azurerm_snapshot" +} + +// GetConnectionDetailsMapping for this Snapshot +func (tr *Snapshot) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Snapshot +func (tr *Snapshot) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Snapshot +func (tr *Snapshot) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Snapshot +func (tr *Snapshot) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Snapshot +func (tr *Snapshot) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Snapshot using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Snapshot) LateInitialize(attrs []byte) (bool, error) { + params := &SnapshotParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Snapshot) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_snapshot_types.go b/apis/azurerm/v1alpha1/zz_snapshot_types.go new file mode 100755 index 000000000..84cef1bc9 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_snapshot_types.go @@ -0,0 +1,150 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DiskEncryptionKeyObservation struct { +} + +type DiskEncryptionKeyParameters struct { + + // +kubebuilder:validation:Required + SecretURL *string `json:"secretUrl" tf:"secret_url,omitempty"` + + // +kubebuilder:validation:Required + SourceVaultID *string `json:"sourceVaultId" tf:"source_vault_id,omitempty"` +} + +type EncryptionSettingsObservation struct { +} + +type EncryptionSettingsParameters struct { + + // +kubebuilder:validation:Optional + DiskEncryptionKey []DiskEncryptionKeyParameters `json:"diskEncryptionKey,omitempty" tf:"disk_encryption_key,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + KeyEncryptionKey []KeyEncryptionKeyParameters `json:"keyEncryptionKey,omitempty" tf:"key_encryption_key,omitempty"` +} + +type KeyEncryptionKeyObservation struct { +} + +type KeyEncryptionKeyParameters struct { + + // +kubebuilder:validation:Required + KeyURL *string `json:"keyUrl" tf:"key_url,omitempty"` + + // +kubebuilder:validation:Required + SourceVaultID *string `json:"sourceVaultId" tf:"source_vault_id,omitempty"` +} + +type SnapshotObservation struct { +} + +type SnapshotParameters struct { + + // +kubebuilder:validation:Required + CreateOption *string `json:"createOption" tf:"create_option,omitempty"` + + // +kubebuilder:validation:Optional + DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionSettings []EncryptionSettingsParameters `json:"encryptionSettings,omitempty" tf:"encryption_settings,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SourceResourceID *string `json:"sourceResourceId,omitempty" tf:"source_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceURI *string `json:"sourceUri,omitempty" tf:"source_uri,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SnapshotSpec defines the desired state of Snapshot +type SnapshotSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SnapshotParameters `json:"forProvider"` +} + +// SnapshotStatus defines the observed state of Snapshot. +type SnapshotStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SnapshotObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Snapshot is the Schema for the Snapshots API +// +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,azurejet} +type Snapshot struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SnapshotSpec `json:"spec"` + Status SnapshotStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SnapshotList contains a list of Snapshots +type SnapshotList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Snapshot `json:"items"` +} + +// Repository type metadata. +var ( + Snapshot_Kind = "Snapshot" + Snapshot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String() + Snapshot_KindAPIVersion = Snapshot_Kind + "." + CRDGroupVersion.String() + Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind) +) + +func init() { + SchemeBuilder.Register(&Snapshot{}, &SnapshotList{}) +} diff --git a/apis/azurerm/v1alpha1/zz_subscription_terraformed.go b/apis/azurerm/v1alpha1/zz_subscription_terraformed.go new file mode 100755 index 000000000..37c633166 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_subscription_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Subscription +func (mg *Subscription) GetTerraformResourceType() string { + return "azurerm_subscription" +} + +// GetConnectionDetailsMapping for this Subscription +func (tr *Subscription) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Subscription +func (tr *Subscription) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Subscription +func (tr *Subscription) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Subscription +func (tr *Subscription) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Subscription +func (tr *Subscription) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Subscription using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Subscription) LateInitialize(attrs []byte) (bool, error) { + params := &SubscriptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Subscription) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/azurerm/v1alpha1/zz_subscription_types.go b/apis/azurerm/v1alpha1/zz_subscription_types.go new file mode 100755 index 000000000..95e281691 --- /dev/null +++ b/apis/azurerm/v1alpha1/zz_subscription_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SubscriptionObservation struct { + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type SubscriptionParameters struct { + + // The Alias Name of the subscription. If omitted a new UUID will be generated for this property. + // +kubebuilder:validation:Optional + Alias *string `json:"alias,omitempty" tf:"alias,omitempty"` + + // +kubebuilder:validation:Optional + BillingScopeID *string `json:"billingScopeId,omitempty" tf:"billing_scope_id,omitempty"` + + // The GUID of the Subscription. + // +kubebuilder:validation:Optional + SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` + + // The Display Name for the Subscription. + // +kubebuilder:validation:Required + SubscriptionName *string `json:"subscriptionName" tf:"subscription_name,omitempty"` + + // The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`. + // +kubebuilder:validation:Optional + Workload *string `json:"workload,omitempty" tf:"workload,omitempty"` +} + +// SubscriptionSpec defines the desired state of Subscription +type SubscriptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SubscriptionParameters `json:"forProvider"` +} + +// SubscriptionStatus defines the observed state of Subscription. +type SubscriptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SubscriptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Subscription is the Schema for the Subscriptions API +// +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,azurejet} +type Subscription struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SubscriptionSpec `json:"spec"` + Status SubscriptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SubscriptionList contains a list of Subscriptions +type SubscriptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Subscription `json:"items"` +} + +// Repository type metadata. +var ( + Subscription_Kind = "Subscription" + Subscription_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Subscription_Kind}.String() + Subscription_KindAPIVersion = Subscription_Kind + "." + CRDGroupVersion.String() + Subscription_GroupVersionKind = CRDGroupVersion.WithKind(Subscription_Kind) +) + +func init() { + SchemeBuilder.Register(&Subscription{}, &SubscriptionList{}) +} diff --git a/apis/backup/v1alpha1/zz_containerstorageaccount_terraformed.go b/apis/backup/v1alpha1/zz_containerstorageaccount_terraformed.go new file mode 100755 index 000000000..68c5c9e86 --- /dev/null +++ b/apis/backup/v1alpha1/zz_containerstorageaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ContainerStorageAccount +func (mg *ContainerStorageAccount) GetTerraformResourceType() string { + return "azurerm_backup_container_storage_account" +} + +// GetConnectionDetailsMapping for this ContainerStorageAccount +func (tr *ContainerStorageAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ContainerStorageAccount +func (tr *ContainerStorageAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ContainerStorageAccount +func (tr *ContainerStorageAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ContainerStorageAccount +func (tr *ContainerStorageAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ContainerStorageAccount +func (tr *ContainerStorageAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ContainerStorageAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ContainerStorageAccount) LateInitialize(attrs []byte) (bool, error) { + params := &ContainerStorageAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ContainerStorageAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/backup/v1alpha1/zz_containerstorageaccount_types.go b/apis/backup/v1alpha1/zz_containerstorageaccount_types.go new file mode 100755 index 000000000..b96fc5f98 --- /dev/null +++ b/apis/backup/v1alpha1/zz_containerstorageaccount_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ContainerStorageAccountObservation struct { +} + +type ContainerStorageAccountParameters struct { + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +// ContainerStorageAccountSpec defines the desired state of ContainerStorageAccount +type ContainerStorageAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ContainerStorageAccountParameters `json:"forProvider"` +} + +// ContainerStorageAccountStatus defines the observed state of ContainerStorageAccount. +type ContainerStorageAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ContainerStorageAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ContainerStorageAccount is the Schema for the ContainerStorageAccounts API +// +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,azurejet} +type ContainerStorageAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ContainerStorageAccountSpec `json:"spec"` + Status ContainerStorageAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ContainerStorageAccountList contains a list of ContainerStorageAccounts +type ContainerStorageAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ContainerStorageAccount `json:"items"` +} + +// Repository type metadata. +var ( + ContainerStorageAccount_Kind = "ContainerStorageAccount" + ContainerStorageAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ContainerStorageAccount_Kind}.String() + ContainerStorageAccount_KindAPIVersion = ContainerStorageAccount_Kind + "." + CRDGroupVersion.String() + ContainerStorageAccount_GroupVersionKind = CRDGroupVersion.WithKind(ContainerStorageAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&ContainerStorageAccount{}, &ContainerStorageAccountList{}) +} diff --git a/apis/backup/v1alpha1/zz_generated.deepcopy.go b/apis/backup/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..eed3b92a0 --- /dev/null +++ b/apis/backup/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1363 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackupObservation) DeepCopyInto(out *BackupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupObservation. +func (in *BackupObservation) DeepCopy() *BackupObservation { + if in == nil { + return nil + } + out := new(BackupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackupParameters) DeepCopyInto(out *BackupParameters) { + *out = *in + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupParameters. +func (in *BackupParameters) DeepCopy() *BackupParameters { + if in == nil { + return nil + } + out := new(BackupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStorageAccount) DeepCopyInto(out *ContainerStorageAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStorageAccount. +func (in *ContainerStorageAccount) DeepCopy() *ContainerStorageAccount { + if in == nil { + return nil + } + out := new(ContainerStorageAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ContainerStorageAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStorageAccountList) DeepCopyInto(out *ContainerStorageAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ContainerStorageAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStorageAccountList. +func (in *ContainerStorageAccountList) DeepCopy() *ContainerStorageAccountList { + if in == nil { + return nil + } + out := new(ContainerStorageAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ContainerStorageAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStorageAccountObservation) DeepCopyInto(out *ContainerStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStorageAccountObservation. +func (in *ContainerStorageAccountObservation) DeepCopy() *ContainerStorageAccountObservation { + if in == nil { + return nil + } + out := new(ContainerStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStorageAccountParameters) DeepCopyInto(out *ContainerStorageAccountParameters) { + *out = *in + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStorageAccountParameters. +func (in *ContainerStorageAccountParameters) DeepCopy() *ContainerStorageAccountParameters { + if in == nil { + return nil + } + out := new(ContainerStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStorageAccountSpec) DeepCopyInto(out *ContainerStorageAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStorageAccountSpec. +func (in *ContainerStorageAccountSpec) DeepCopy() *ContainerStorageAccountSpec { + if in == nil { + return nil + } + out := new(ContainerStorageAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStorageAccountStatus) DeepCopyInto(out *ContainerStorageAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStorageAccountStatus. +func (in *ContainerStorageAccountStatus) DeepCopy() *ContainerStorageAccountStatus { + if in == nil { + return nil + } + out := new(ContainerStorageAccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyFileShare) DeepCopyInto(out *PolicyFileShare) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFileShare. +func (in *PolicyFileShare) DeepCopy() *PolicyFileShare { + if in == nil { + return nil + } + out := new(PolicyFileShare) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyFileShare) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyFileShareList) DeepCopyInto(out *PolicyFileShareList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PolicyFileShare, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFileShareList. +func (in *PolicyFileShareList) DeepCopy() *PolicyFileShareList { + if in == nil { + return nil + } + out := new(PolicyFileShareList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyFileShareList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyFileShareObservation) DeepCopyInto(out *PolicyFileShareObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFileShareObservation. +func (in *PolicyFileShareObservation) DeepCopy() *PolicyFileShareObservation { + if in == nil { + return nil + } + out := new(PolicyFileShareObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyFileShareParameters) DeepCopyInto(out *PolicyFileShareParameters) { + *out = *in + if in.Backup != nil { + in, out := &in.Backup, &out.Backup + *out = make([]BackupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetentionDaily != nil { + in, out := &in.RetentionDaily, &out.RetentionDaily + *out = make([]RetentionDailyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionMonthly != nil { + in, out := &in.RetentionMonthly, &out.RetentionMonthly + *out = make([]RetentionMonthlyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionWeekly != nil { + in, out := &in.RetentionWeekly, &out.RetentionWeekly + *out = make([]RetentionWeeklyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionYearly != nil { + in, out := &in.RetentionYearly, &out.RetentionYearly + *out = make([]RetentionYearlyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFileShareParameters. +func (in *PolicyFileShareParameters) DeepCopy() *PolicyFileShareParameters { + if in == nil { + return nil + } + out := new(PolicyFileShareParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyFileShareSpec) DeepCopyInto(out *PolicyFileShareSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFileShareSpec. +func (in *PolicyFileShareSpec) DeepCopy() *PolicyFileShareSpec { + if in == nil { + return nil + } + out := new(PolicyFileShareSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyFileShareStatus) DeepCopyInto(out *PolicyFileShareStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyFileShareStatus. +func (in *PolicyFileShareStatus) DeepCopy() *PolicyFileShareStatus { + if in == nil { + return nil + } + out := new(PolicyFileShareStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVm) DeepCopyInto(out *PolicyVm) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVm. +func (in *PolicyVm) DeepCopy() *PolicyVm { + if in == nil { + return nil + } + out := new(PolicyVm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyVm) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmBackupObservation) DeepCopyInto(out *PolicyVmBackupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmBackupObservation. +func (in *PolicyVmBackupObservation) DeepCopy() *PolicyVmBackupObservation { + if in == nil { + return nil + } + out := new(PolicyVmBackupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmBackupParameters) DeepCopyInto(out *PolicyVmBackupParameters) { + *out = *in + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmBackupParameters. +func (in *PolicyVmBackupParameters) DeepCopy() *PolicyVmBackupParameters { + if in == nil { + return nil + } + out := new(PolicyVmBackupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmList) DeepCopyInto(out *PolicyVmList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PolicyVm, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmList. +func (in *PolicyVmList) DeepCopy() *PolicyVmList { + if in == nil { + return nil + } + out := new(PolicyVmList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyVmList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmObservation) DeepCopyInto(out *PolicyVmObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmObservation. +func (in *PolicyVmObservation) DeepCopy() *PolicyVmObservation { + if in == nil { + return nil + } + out := new(PolicyVmObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmParameters) DeepCopyInto(out *PolicyVmParameters) { + *out = *in + if in.Backup != nil { + in, out := &in.Backup, &out.Backup + *out = make([]PolicyVmBackupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InstantRestoreRetentionDays != nil { + in, out := &in.InstantRestoreRetentionDays, &out.InstantRestoreRetentionDays + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetentionDaily != nil { + in, out := &in.RetentionDaily, &out.RetentionDaily + *out = make([]PolicyVmRetentionDailyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionMonthly != nil { + in, out := &in.RetentionMonthly, &out.RetentionMonthly + *out = make([]PolicyVmRetentionMonthlyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionWeekly != nil { + in, out := &in.RetentionWeekly, &out.RetentionWeekly + *out = make([]PolicyVmRetentionWeeklyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionYearly != nil { + in, out := &in.RetentionYearly, &out.RetentionYearly + *out = make([]PolicyVmRetentionYearlyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmParameters. +func (in *PolicyVmParameters) DeepCopy() *PolicyVmParameters { + if in == nil { + return nil + } + out := new(PolicyVmParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionDailyObservation) DeepCopyInto(out *PolicyVmRetentionDailyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionDailyObservation. +func (in *PolicyVmRetentionDailyObservation) DeepCopy() *PolicyVmRetentionDailyObservation { + if in == nil { + return nil + } + out := new(PolicyVmRetentionDailyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionDailyParameters) DeepCopyInto(out *PolicyVmRetentionDailyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionDailyParameters. +func (in *PolicyVmRetentionDailyParameters) DeepCopy() *PolicyVmRetentionDailyParameters { + if in == nil { + return nil + } + out := new(PolicyVmRetentionDailyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionMonthlyObservation) DeepCopyInto(out *PolicyVmRetentionMonthlyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionMonthlyObservation. +func (in *PolicyVmRetentionMonthlyObservation) DeepCopy() *PolicyVmRetentionMonthlyObservation { + if in == nil { + return nil + } + out := new(PolicyVmRetentionMonthlyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionMonthlyParameters) DeepCopyInto(out *PolicyVmRetentionMonthlyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Weeks != nil { + in, out := &in.Weeks, &out.Weeks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionMonthlyParameters. +func (in *PolicyVmRetentionMonthlyParameters) DeepCopy() *PolicyVmRetentionMonthlyParameters { + if in == nil { + return nil + } + out := new(PolicyVmRetentionMonthlyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionWeeklyObservation) DeepCopyInto(out *PolicyVmRetentionWeeklyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionWeeklyObservation. +func (in *PolicyVmRetentionWeeklyObservation) DeepCopy() *PolicyVmRetentionWeeklyObservation { + if in == nil { + return nil + } + out := new(PolicyVmRetentionWeeklyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionWeeklyParameters) DeepCopyInto(out *PolicyVmRetentionWeeklyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionWeeklyParameters. +func (in *PolicyVmRetentionWeeklyParameters) DeepCopy() *PolicyVmRetentionWeeklyParameters { + if in == nil { + return nil + } + out := new(PolicyVmRetentionWeeklyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionYearlyObservation) DeepCopyInto(out *PolicyVmRetentionYearlyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionYearlyObservation. +func (in *PolicyVmRetentionYearlyObservation) DeepCopy() *PolicyVmRetentionYearlyObservation { + if in == nil { + return nil + } + out := new(PolicyVmRetentionYearlyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmRetentionYearlyParameters) DeepCopyInto(out *PolicyVmRetentionYearlyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } + if in.Months != nil { + in, out := &in.Months, &out.Months + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Weeks != nil { + in, out := &in.Weeks, &out.Weeks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmRetentionYearlyParameters. +func (in *PolicyVmRetentionYearlyParameters) DeepCopy() *PolicyVmRetentionYearlyParameters { + if in == nil { + return nil + } + out := new(PolicyVmRetentionYearlyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmSpec) DeepCopyInto(out *PolicyVmSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmSpec. +func (in *PolicyVmSpec) DeepCopy() *PolicyVmSpec { + if in == nil { + return nil + } + out := new(PolicyVmSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyVmStatus) DeepCopyInto(out *PolicyVmStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyVmStatus. +func (in *PolicyVmStatus) DeepCopy() *PolicyVmStatus { + if in == nil { + return nil + } + out := new(PolicyVmStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedFileShare) DeepCopyInto(out *ProtectedFileShare) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedFileShare. +func (in *ProtectedFileShare) DeepCopy() *ProtectedFileShare { + if in == nil { + return nil + } + out := new(ProtectedFileShare) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectedFileShare) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedFileShareList) DeepCopyInto(out *ProtectedFileShareList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectedFileShare, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedFileShareList. +func (in *ProtectedFileShareList) DeepCopy() *ProtectedFileShareList { + if in == nil { + return nil + } + out := new(ProtectedFileShareList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectedFileShareList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedFileShareObservation) DeepCopyInto(out *ProtectedFileShareObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedFileShareObservation. +func (in *ProtectedFileShareObservation) DeepCopy() *ProtectedFileShareObservation { + if in == nil { + return nil + } + out := new(ProtectedFileShareObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedFileShareParameters) DeepCopyInto(out *ProtectedFileShareParameters) { + *out = *in + if in.BackupPolicyID != nil { + in, out := &in.BackupPolicyID, &out.BackupPolicyID + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceFileShareName != nil { + in, out := &in.SourceFileShareName, &out.SourceFileShareName + *out = new(string) + **out = **in + } + if in.SourceStorageAccountID != nil { + in, out := &in.SourceStorageAccountID, &out.SourceStorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedFileShareParameters. +func (in *ProtectedFileShareParameters) DeepCopy() *ProtectedFileShareParameters { + if in == nil { + return nil + } + out := new(ProtectedFileShareParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedFileShareSpec) DeepCopyInto(out *ProtectedFileShareSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedFileShareSpec. +func (in *ProtectedFileShareSpec) DeepCopy() *ProtectedFileShareSpec { + if in == nil { + return nil + } + out := new(ProtectedFileShareSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedFileShareStatus) DeepCopyInto(out *ProtectedFileShareStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedFileShareStatus. +func (in *ProtectedFileShareStatus) DeepCopy() *ProtectedFileShareStatus { + if in == nil { + return nil + } + out := new(ProtectedFileShareStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedVm) DeepCopyInto(out *ProtectedVm) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedVm. +func (in *ProtectedVm) DeepCopy() *ProtectedVm { + if in == nil { + return nil + } + out := new(ProtectedVm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectedVm) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedVmList) DeepCopyInto(out *ProtectedVmList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectedVm, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedVmList. +func (in *ProtectedVmList) DeepCopy() *ProtectedVmList { + if in == nil { + return nil + } + out := new(ProtectedVmList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectedVmList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedVmObservation) DeepCopyInto(out *ProtectedVmObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedVmObservation. +func (in *ProtectedVmObservation) DeepCopy() *ProtectedVmObservation { + if in == nil { + return nil + } + out := new(ProtectedVmObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedVmParameters) DeepCopyInto(out *ProtectedVmParameters) { + *out = *in + if in.BackupPolicyID != nil { + in, out := &in.BackupPolicyID, &out.BackupPolicyID + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceVMID != nil { + in, out := &in.SourceVMID, &out.SourceVMID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedVmParameters. +func (in *ProtectedVmParameters) DeepCopy() *ProtectedVmParameters { + if in == nil { + return nil + } + out := new(ProtectedVmParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedVmSpec) DeepCopyInto(out *ProtectedVmSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedVmSpec. +func (in *ProtectedVmSpec) DeepCopy() *ProtectedVmSpec { + if in == nil { + return nil + } + out := new(ProtectedVmSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectedVmStatus) DeepCopyInto(out *ProtectedVmStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedVmStatus. +func (in *ProtectedVmStatus) DeepCopy() *ProtectedVmStatus { + if in == nil { + return nil + } + out := new(ProtectedVmStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionDailyObservation) DeepCopyInto(out *RetentionDailyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionDailyObservation. +func (in *RetentionDailyObservation) DeepCopy() *RetentionDailyObservation { + if in == nil { + return nil + } + out := new(RetentionDailyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionDailyParameters) DeepCopyInto(out *RetentionDailyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionDailyParameters. +func (in *RetentionDailyParameters) DeepCopy() *RetentionDailyParameters { + if in == nil { + return nil + } + out := new(RetentionDailyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionMonthlyObservation) DeepCopyInto(out *RetentionMonthlyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionMonthlyObservation. +func (in *RetentionMonthlyObservation) DeepCopy() *RetentionMonthlyObservation { + if in == nil { + return nil + } + out := new(RetentionMonthlyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionMonthlyParameters) DeepCopyInto(out *RetentionMonthlyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Weeks != nil { + in, out := &in.Weeks, &out.Weeks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionMonthlyParameters. +func (in *RetentionMonthlyParameters) DeepCopy() *RetentionMonthlyParameters { + if in == nil { + return nil + } + out := new(RetentionMonthlyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionWeeklyObservation) DeepCopyInto(out *RetentionWeeklyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionWeeklyObservation. +func (in *RetentionWeeklyObservation) DeepCopy() *RetentionWeeklyObservation { + if in == nil { + return nil + } + out := new(RetentionWeeklyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionWeeklyParameters) DeepCopyInto(out *RetentionWeeklyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionWeeklyParameters. +func (in *RetentionWeeklyParameters) DeepCopy() *RetentionWeeklyParameters { + if in == nil { + return nil + } + out := new(RetentionWeeklyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionYearlyObservation) DeepCopyInto(out *RetentionYearlyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionYearlyObservation. +func (in *RetentionYearlyObservation) DeepCopy() *RetentionYearlyObservation { + if in == nil { + return nil + } + out := new(RetentionYearlyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionYearlyParameters) DeepCopyInto(out *RetentionYearlyParameters) { + *out = *in + if in.Count != nil { + in, out := &in.Count, &out.Count + *out = new(int64) + **out = **in + } + if in.Months != nil { + in, out := &in.Months, &out.Months + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Weekdays != nil { + in, out := &in.Weekdays, &out.Weekdays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Weeks != nil { + in, out := &in.Weeks, &out.Weeks + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionYearlyParameters. +func (in *RetentionYearlyParameters) DeepCopy() *RetentionYearlyParameters { + if in == nil { + return nil + } + out := new(RetentionYearlyParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/backup/v1alpha1/zz_generated.managed.go b/apis/backup/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..cddd5d243 --- /dev/null +++ b/apis/backup/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ContainerStorageAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ContainerStorageAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ContainerStorageAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ContainerStorageAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ContainerStorageAccount. +func (mg *ContainerStorageAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PolicyFileShare. +func (mg *PolicyFileShare) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PolicyFileShare. +func (mg *PolicyFileShare) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PolicyFileShare. +func (mg *PolicyFileShare) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PolicyFileShare. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PolicyFileShare) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PolicyFileShare. +func (mg *PolicyFileShare) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyFileShare. +func (mg *PolicyFileShare) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PolicyFileShare. +func (mg *PolicyFileShare) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PolicyFileShare. +func (mg *PolicyFileShare) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PolicyFileShare. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PolicyFileShare) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyFileShare. +func (mg *PolicyFileShare) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PolicyVm. +func (mg *PolicyVm) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PolicyVm. +func (mg *PolicyVm) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PolicyVm. +func (mg *PolicyVm) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PolicyVm. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PolicyVm) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PolicyVm. +func (mg *PolicyVm) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyVm. +func (mg *PolicyVm) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PolicyVm. +func (mg *PolicyVm) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PolicyVm. +func (mg *PolicyVm) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PolicyVm. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PolicyVm) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyVm. +func (mg *PolicyVm) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectedFileShare. +func (mg *ProtectedFileShare) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectedFileShare. +func (mg *ProtectedFileShare) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectedFileShare. +func (mg *ProtectedFileShare) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectedFileShare. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectedFileShare) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectedFileShare. +func (mg *ProtectedFileShare) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectedFileShare. +func (mg *ProtectedFileShare) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectedFileShare. +func (mg *ProtectedFileShare) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectedFileShare. +func (mg *ProtectedFileShare) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectedFileShare. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectedFileShare) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectedFileShare. +func (mg *ProtectedFileShare) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectedVm. +func (mg *ProtectedVm) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectedVm. +func (mg *ProtectedVm) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectedVm. +func (mg *ProtectedVm) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectedVm. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectedVm) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectedVm. +func (mg *ProtectedVm) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectedVm. +func (mg *ProtectedVm) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectedVm. +func (mg *ProtectedVm) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectedVm. +func (mg *ProtectedVm) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectedVm. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectedVm) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectedVm. +func (mg *ProtectedVm) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/backup/v1alpha1/zz_generated.managedlist.go b/apis/backup/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..2515a3127 --- /dev/null +++ b/apis/backup/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ContainerStorageAccountList. +func (l *ContainerStorageAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyFileShareList. +func (l *PolicyFileShareList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyVmList. +func (l *PolicyVmList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectedFileShareList. +func (l *ProtectedFileShareList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectedVmList. +func (l *ProtectedVmList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/backup/v1alpha1/zz_groupversion_info.go b/apis/backup/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..efbd7bde8 --- /dev/null +++ b/apis/backup/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=backup.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "backup.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/backup/v1alpha1/zz_policyfileshare_terraformed.go b/apis/backup/v1alpha1/zz_policyfileshare_terraformed.go new file mode 100755 index 000000000..7099bb95d --- /dev/null +++ b/apis/backup/v1alpha1/zz_policyfileshare_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyFileShare +func (mg *PolicyFileShare) GetTerraformResourceType() string { + return "azurerm_backup_policy_file_share" +} + +// GetConnectionDetailsMapping for this PolicyFileShare +func (tr *PolicyFileShare) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyFileShare +func (tr *PolicyFileShare) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyFileShare +func (tr *PolicyFileShare) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PolicyFileShare +func (tr *PolicyFileShare) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyFileShare +func (tr *PolicyFileShare) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PolicyFileShare using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyFileShare) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyFileShareParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyFileShare) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/backup/v1alpha1/zz_policyfileshare_types.go b/apis/backup/v1alpha1/zz_policyfileshare_types.go new file mode 100755 index 000000000..f8ad24e30 --- /dev/null +++ b/apis/backup/v1alpha1/zz_policyfileshare_types.go @@ -0,0 +1,177 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BackupObservation struct { +} + +type BackupParameters struct { + + // +kubebuilder:validation:Required + Frequency *string `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` +} + +type PolicyFileShareObservation struct { +} + +type PolicyFileShareParameters struct { + + // +kubebuilder:validation:Required + Backup []BackupParameters `json:"backup" tf:"backup,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + RetentionDaily []RetentionDailyParameters `json:"retentionDaily" tf:"retention_daily,omitempty"` + + // +kubebuilder:validation:Optional + RetentionMonthly []RetentionMonthlyParameters `json:"retentionMonthly,omitempty" tf:"retention_monthly,omitempty"` + + // +kubebuilder:validation:Optional + RetentionWeekly []RetentionWeeklyParameters `json:"retentionWeekly,omitempty" tf:"retention_weekly,omitempty"` + + // +kubebuilder:validation:Optional + RetentionYearly []RetentionYearlyParameters `json:"retentionYearly,omitempty" tf:"retention_yearly,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` +} + +type RetentionDailyObservation struct { +} + +type RetentionDailyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` +} + +type RetentionMonthlyObservation struct { +} + +type RetentionMonthlyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` + + // +kubebuilder:validation:Required + Weekdays []*string `json:"weekdays" tf:"weekdays,omitempty"` + + // +kubebuilder:validation:Required + Weeks []*string `json:"weeks" tf:"weeks,omitempty"` +} + +type RetentionWeeklyObservation struct { +} + +type RetentionWeeklyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` + + // +kubebuilder:validation:Required + Weekdays []*string `json:"weekdays" tf:"weekdays,omitempty"` +} + +type RetentionYearlyObservation struct { +} + +type RetentionYearlyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` + + // +kubebuilder:validation:Required + Months []*string `json:"months" tf:"months,omitempty"` + + // +kubebuilder:validation:Required + Weekdays []*string `json:"weekdays" tf:"weekdays,omitempty"` + + // +kubebuilder:validation:Required + Weeks []*string `json:"weeks" tf:"weeks,omitempty"` +} + +// PolicyFileShareSpec defines the desired state of PolicyFileShare +type PolicyFileShareSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyFileShareParameters `json:"forProvider"` +} + +// PolicyFileShareStatus defines the observed state of PolicyFileShare. +type PolicyFileShareStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyFileShareObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyFileShare is the Schema for the PolicyFileShares API +// +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,azurejet} +type PolicyFileShare struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PolicyFileShareSpec `json:"spec"` + Status PolicyFileShareStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyFileShareList contains a list of PolicyFileShares +type PolicyFileShareList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyFileShare `json:"items"` +} + +// Repository type metadata. +var ( + PolicyFileShare_Kind = "PolicyFileShare" + PolicyFileShare_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyFileShare_Kind}.String() + PolicyFileShare_KindAPIVersion = PolicyFileShare_Kind + "." + CRDGroupVersion.String() + PolicyFileShare_GroupVersionKind = CRDGroupVersion.WithKind(PolicyFileShare_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyFileShare{}, &PolicyFileShareList{}) +} diff --git a/apis/backup/v1alpha1/zz_policyvm_terraformed.go b/apis/backup/v1alpha1/zz_policyvm_terraformed.go new file mode 100755 index 000000000..ba314d6c1 --- /dev/null +++ b/apis/backup/v1alpha1/zz_policyvm_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyVm +func (mg *PolicyVm) GetTerraformResourceType() string { + return "azurerm_backup_policy_vm" +} + +// GetConnectionDetailsMapping for this PolicyVm +func (tr *PolicyVm) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyVm +func (tr *PolicyVm) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyVm +func (tr *PolicyVm) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PolicyVm +func (tr *PolicyVm) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyVm +func (tr *PolicyVm) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PolicyVm using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyVm) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyVmParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyVm) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/backup/v1alpha1/zz_policyvm_types.go b/apis/backup/v1alpha1/zz_policyvm_types.go new file mode 100755 index 000000000..3bbf3fff3 --- /dev/null +++ b/apis/backup/v1alpha1/zz_policyvm_types.go @@ -0,0 +1,183 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PolicyVmBackupObservation struct { +} + +type PolicyVmBackupParameters struct { + + // +kubebuilder:validation:Required + Frequency *string `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` + + // +kubebuilder:validation:Optional + Weekdays []*string `json:"weekdays,omitempty" tf:"weekdays,omitempty"` +} + +type PolicyVmObservation struct { +} + +type PolicyVmParameters struct { + + // +kubebuilder:validation:Required + Backup []PolicyVmBackupParameters `json:"backup" tf:"backup,omitempty"` + + // +kubebuilder:validation:Optional + InstantRestoreRetentionDays *int64 `json:"instantRestoreRetentionDays,omitempty" tf:"instant_restore_retention_days,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDaily []PolicyVmRetentionDailyParameters `json:"retentionDaily,omitempty" tf:"retention_daily,omitempty"` + + // +kubebuilder:validation:Optional + RetentionMonthly []PolicyVmRetentionMonthlyParameters `json:"retentionMonthly,omitempty" tf:"retention_monthly,omitempty"` + + // +kubebuilder:validation:Optional + RetentionWeekly []PolicyVmRetentionWeeklyParameters `json:"retentionWeekly,omitempty" tf:"retention_weekly,omitempty"` + + // +kubebuilder:validation:Optional + RetentionYearly []PolicyVmRetentionYearlyParameters `json:"retentionYearly,omitempty" tf:"retention_yearly,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` +} + +type PolicyVmRetentionDailyObservation struct { +} + +type PolicyVmRetentionDailyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` +} + +type PolicyVmRetentionMonthlyObservation struct { +} + +type PolicyVmRetentionMonthlyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` + + // +kubebuilder:validation:Required + Weekdays []*string `json:"weekdays" tf:"weekdays,omitempty"` + + // +kubebuilder:validation:Required + Weeks []*string `json:"weeks" tf:"weeks,omitempty"` +} + +type PolicyVmRetentionWeeklyObservation struct { +} + +type PolicyVmRetentionWeeklyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` + + // +kubebuilder:validation:Required + Weekdays []*string `json:"weekdays" tf:"weekdays,omitempty"` +} + +type PolicyVmRetentionYearlyObservation struct { +} + +type PolicyVmRetentionYearlyParameters struct { + + // +kubebuilder:validation:Required + Count *int64 `json:"count" tf:"count,omitempty"` + + // +kubebuilder:validation:Required + Months []*string `json:"months" tf:"months,omitempty"` + + // +kubebuilder:validation:Required + Weekdays []*string `json:"weekdays" tf:"weekdays,omitempty"` + + // +kubebuilder:validation:Required + Weeks []*string `json:"weeks" tf:"weeks,omitempty"` +} + +// PolicyVmSpec defines the desired state of PolicyVm +type PolicyVmSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyVmParameters `json:"forProvider"` +} + +// PolicyVmStatus defines the observed state of PolicyVm. +type PolicyVmStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyVmObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyVm is the Schema for the PolicyVms API +// +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,azurejet} +type PolicyVm struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PolicyVmSpec `json:"spec"` + Status PolicyVmStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyVmList contains a list of PolicyVms +type PolicyVmList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyVm `json:"items"` +} + +// Repository type metadata. +var ( + PolicyVm_Kind = "PolicyVm" + PolicyVm_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyVm_Kind}.String() + PolicyVm_KindAPIVersion = PolicyVm_Kind + "." + CRDGroupVersion.String() + PolicyVm_GroupVersionKind = CRDGroupVersion.WithKind(PolicyVm_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyVm{}, &PolicyVmList{}) +} diff --git a/apis/backup/v1alpha1/zz_protectedfileshare_terraformed.go b/apis/backup/v1alpha1/zz_protectedfileshare_terraformed.go new file mode 100755 index 000000000..f2b0eebe3 --- /dev/null +++ b/apis/backup/v1alpha1/zz_protectedfileshare_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectedFileShare +func (mg *ProtectedFileShare) GetTerraformResourceType() string { + return "azurerm_backup_protected_file_share" +} + +// GetConnectionDetailsMapping for this ProtectedFileShare +func (tr *ProtectedFileShare) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectedFileShare +func (tr *ProtectedFileShare) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectedFileShare +func (tr *ProtectedFileShare) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectedFileShare +func (tr *ProtectedFileShare) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectedFileShare +func (tr *ProtectedFileShare) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectedFileShare using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectedFileShare) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectedFileShareParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectedFileShare) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/backup/v1alpha1/zz_protectedfileshare_types.go b/apis/backup/v1alpha1/zz_protectedfileshare_types.go new file mode 100755 index 000000000..c62ea47c8 --- /dev/null +++ b/apis/backup/v1alpha1/zz_protectedfileshare_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectedFileShareObservation struct { +} + +type ProtectedFileShareParameters struct { + + // +kubebuilder:validation:Required + BackupPolicyID *string `json:"backupPolicyId" tf:"backup_policy_id,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SourceFileShareName *string `json:"sourceFileShareName" tf:"source_file_share_name,omitempty"` + + // +kubebuilder:validation:Required + SourceStorageAccountID *string `json:"sourceStorageAccountId" tf:"source_storage_account_id,omitempty"` +} + +// ProtectedFileShareSpec defines the desired state of ProtectedFileShare +type ProtectedFileShareSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectedFileShareParameters `json:"forProvider"` +} + +// ProtectedFileShareStatus defines the observed state of ProtectedFileShare. +type ProtectedFileShareStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectedFileShareObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectedFileShare is the Schema for the ProtectedFileShares API +// +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,azurejet} +type ProtectedFileShare struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectedFileShareSpec `json:"spec"` + Status ProtectedFileShareStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectedFileShareList contains a list of ProtectedFileShares +type ProtectedFileShareList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectedFileShare `json:"items"` +} + +// Repository type metadata. +var ( + ProtectedFileShare_Kind = "ProtectedFileShare" + ProtectedFileShare_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectedFileShare_Kind}.String() + ProtectedFileShare_KindAPIVersion = ProtectedFileShare_Kind + "." + CRDGroupVersion.String() + ProtectedFileShare_GroupVersionKind = CRDGroupVersion.WithKind(ProtectedFileShare_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectedFileShare{}, &ProtectedFileShareList{}) +} diff --git a/apis/backup/v1alpha1/zz_protectedvm_terraformed.go b/apis/backup/v1alpha1/zz_protectedvm_terraformed.go new file mode 100755 index 000000000..e0785859c --- /dev/null +++ b/apis/backup/v1alpha1/zz_protectedvm_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectedVm +func (mg *ProtectedVm) GetTerraformResourceType() string { + return "azurerm_backup_protected_vm" +} + +// GetConnectionDetailsMapping for this ProtectedVm +func (tr *ProtectedVm) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectedVm +func (tr *ProtectedVm) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectedVm +func (tr *ProtectedVm) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectedVm +func (tr *ProtectedVm) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectedVm +func (tr *ProtectedVm) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectedVm using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectedVm) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectedVmParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectedVm) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/backup/v1alpha1/zz_protectedvm_types.go b/apis/backup/v1alpha1/zz_protectedvm_types.go new file mode 100755 index 000000000..94765851f --- /dev/null +++ b/apis/backup/v1alpha1/zz_protectedvm_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectedVmObservation struct { +} + +type ProtectedVmParameters struct { + + // +kubebuilder:validation:Required + BackupPolicyID *string `json:"backupPolicyId" tf:"backup_policy_id,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SourceVMID *string `json:"sourceVmId" tf:"source_vm_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ProtectedVmSpec defines the desired state of ProtectedVm +type ProtectedVmSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectedVmParameters `json:"forProvider"` +} + +// ProtectedVmStatus defines the observed state of ProtectedVm. +type ProtectedVmStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectedVmObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectedVm is the Schema for the ProtectedVms API +// +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,azurejet} +type ProtectedVm struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectedVmSpec `json:"spec"` + Status ProtectedVmStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectedVmList contains a list of ProtectedVms +type ProtectedVmList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectedVm `json:"items"` +} + +// Repository type metadata. +var ( + ProtectedVm_Kind = "ProtectedVm" + ProtectedVm_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectedVm_Kind}.String() + ProtectedVm_KindAPIVersion = ProtectedVm_Kind + "." + CRDGroupVersion.String() + ProtectedVm_GroupVersionKind = CRDGroupVersion.WithKind(ProtectedVm_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectedVm{}, &ProtectedVmList{}) +} diff --git a/apis/bastion/v1alpha1/zz_generated.deepcopy.go b/apis/bastion/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..5ef3ee7ee --- /dev/null +++ b/apis/bastion/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,235 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Host) DeepCopyInto(out *Host) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host. +func (in *Host) DeepCopy() *Host { + if in == nil { + return nil + } + out := new(Host) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Host) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostList) DeepCopyInto(out *HostList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Host, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList. +func (in *HostList) DeepCopy() *HostList { + if in == nil { + return nil + } + out := new(HostList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HostList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostObservation) DeepCopyInto(out *HostObservation) { + *out = *in + if in.DNSName != nil { + in, out := &in.DNSName, &out.DNSName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostObservation. +func (in *HostObservation) DeepCopy() *HostObservation { + if in == nil { + return nil + } + out := new(HostObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostParameters) DeepCopyInto(out *HostParameters) { + *out = *in + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]IPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostParameters. +func (in *HostParameters) DeepCopy() *HostParameters { + if in == nil { + return nil + } + out := new(HostParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostSpec) DeepCopyInto(out *HostSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec. +func (in *HostSpec) DeepCopy() *HostSpec { + if in == nil { + return nil + } + out := new(HostSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostStatus) DeepCopyInto(out *HostStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus. +func (in *HostStatus) DeepCopy() *HostStatus { + if in == nil { + return nil + } + out := new(HostStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation. +func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation { + if in == nil { + return nil + } + out := new(IPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters. +func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters { + if in == nil { + return nil + } + out := new(IPConfigurationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/bastion/v1alpha1/zz_generated.managed.go b/apis/bastion/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..d69e03229 --- /dev/null +++ b/apis/bastion/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Host. +func (mg *Host) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Host. +func (mg *Host) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Host. +func (mg *Host) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Host. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Host) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Host. +func (mg *Host) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Host. +func (mg *Host) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Host. +func (mg *Host) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Host. +func (mg *Host) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Host. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Host) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Host. +func (mg *Host) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/bastion/v1alpha1/zz_generated.managedlist.go b/apis/bastion/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..433c80a66 --- /dev/null +++ b/apis/bastion/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this HostList. +func (l *HostList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/bastion/v1alpha1/zz_groupversion_info.go b/apis/bastion/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..55836af95 --- /dev/null +++ b/apis/bastion/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=bastion.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "bastion.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/bastion/v1alpha1/zz_host_terraformed.go b/apis/bastion/v1alpha1/zz_host_terraformed.go new file mode 100755 index 000000000..2b86a7797 --- /dev/null +++ b/apis/bastion/v1alpha1/zz_host_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Host +func (mg *Host) GetTerraformResourceType() string { + return "azurerm_bastion_host" +} + +// GetConnectionDetailsMapping for this Host +func (tr *Host) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Host +func (tr *Host) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Host +func (tr *Host) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Host +func (tr *Host) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Host +func (tr *Host) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Host using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Host) LateInitialize(attrs []byte) (bool, error) { + params := &HostParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Host) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bastion/v1alpha1/zz_host_types.go b/apis/bastion/v1alpha1/zz_host_types.go new file mode 100755 index 000000000..685b17893 --- /dev/null +++ b/apis/bastion/v1alpha1/zz_host_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HostObservation struct { + DNSName *string `json:"dnsName,omitempty" tf:"dns_name,omitempty"` +} + +type HostParameters struct { + + // +kubebuilder:validation:Optional + IPConfiguration []IPConfigurationParameters `json:"ipConfiguration,omitempty" tf:"ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IPConfigurationObservation struct { +} + +type IPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// HostSpec defines the desired state of Host +type HostSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HostParameters `json:"forProvider"` +} + +// HostStatus defines the observed state of Host. +type HostStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HostObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Host is the Schema for the Hosts API +// +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,azurejet} +type Host struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HostSpec `json:"spec"` + Status HostStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HostList contains a list of Hosts +type HostList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Host `json:"items"` +} + +// Repository type metadata. +var ( + Host_Kind = "Host" + Host_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Host_Kind}.String() + Host_KindAPIVersion = Host_Kind + "." + CRDGroupVersion.String() + Host_GroupVersionKind = CRDGroupVersion.WithKind(Host_Kind) +) + +func init() { + SchemeBuilder.Register(&Host{}, &HostList{}) +} diff --git a/apis/batch/v1alpha1/zz_account_terraformed.go b/apis/batch/v1alpha1/zz_account_terraformed.go new file mode 100755 index 000000000..4ea722f68 --- /dev/null +++ b/apis/batch/v1alpha1/zz_account_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Account +func (mg *Account) GetTerraformResourceType() string { + return "azurerm_batch_account" +} + +// GetConnectionDetailsMapping for this Account +func (tr *Account) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "secondary_access_key": "status.atProvider.secondaryAccessKey"} +} + +// GetObservation of this Account +func (tr *Account) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Account +func (tr *Account) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Account +func (tr *Account) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Account +func (tr *Account) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Account using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Account) LateInitialize(attrs []byte) (bool, error) { + params := &AccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Account) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/batch/v1alpha1/zz_account_types.go b/apis/batch/v1alpha1/zz_account_types.go new file mode 100755 index 000000000..ceb83c416 --- /dev/null +++ b/apis/batch/v1alpha1/zz_account_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountObservation struct { + AccountEndpoint *string `json:"accountEndpoint,omitempty" tf:"account_endpoint,omitempty"` +} + +type AccountParameters struct { + + // +kubebuilder:validation:Optional + KeyVaultReference []KeyVaultReferenceParameters `json:"keyVaultReference,omitempty" tf:"key_vault_reference,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PoolAllocationMode *string `json:"poolAllocationMode,omitempty" tf:"pool_allocation_mode,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type KeyVaultReferenceObservation struct { +} + +type KeyVaultReferenceParameters struct { + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +// AccountSpec defines the desired state of Account +type AccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountParameters `json:"forProvider"` +} + +// AccountStatus defines the observed state of Account. +type AccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Account is the Schema for the Accounts API +// +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,azurejet} +type Account struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountSpec `json:"spec"` + Status AccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountList contains a list of Accounts +type AccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Account `json:"items"` +} + +// Repository type metadata. +var ( + Account_Kind = "Account" + Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() + Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() + Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) +) + +func init() { + SchemeBuilder.Register(&Account{}, &AccountList{}) +} diff --git a/apis/batch/v1alpha1/zz_application_terraformed.go b/apis/batch/v1alpha1/zz_application_terraformed.go new file mode 100755 index 000000000..9a299d88d --- /dev/null +++ b/apis/batch/v1alpha1/zz_application_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Application +func (mg *Application) GetTerraformResourceType() string { + return "azurerm_batch_application" +} + +// GetConnectionDetailsMapping for this Application +func (tr *Application) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Application +func (tr *Application) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Application +func (tr *Application) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Application +func (tr *Application) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Application +func (tr *Application) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Application using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Application) LateInitialize(attrs []byte) (bool, error) { + params := &ApplicationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Application) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/batch/v1alpha1/zz_application_types.go b/apis/batch/v1alpha1/zz_application_types.go new file mode 100755 index 000000000..3e1765952 --- /dev/null +++ b/apis/batch/v1alpha1/zz_application_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationObservation struct { +} + +type ApplicationParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Optional + AllowUpdates *bool `json:"allowUpdates,omitempty" tf:"allow_updates,omitempty"` + + // +kubebuilder:validation:Optional + DefaultVersion *string `json:"defaultVersion,omitempty" tf:"default_version,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ApplicationSpec defines the desired state of Application +type ApplicationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ApplicationParameters `json:"forProvider"` +} + +// ApplicationStatus defines the observed state of Application. +type ApplicationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ApplicationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Application is the Schema for the Applications API +// +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,azurejet} +type Application struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ApplicationSpec `json:"spec"` + Status ApplicationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationList contains a list of Applications +type ApplicationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Application `json:"items"` +} + +// Repository type metadata. +var ( + Application_Kind = "Application" + Application_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String() + Application_KindAPIVersion = Application_Kind + "." + CRDGroupVersion.String() + Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_Kind) +) + +func init() { + SchemeBuilder.Register(&Application{}, &ApplicationList{}) +} diff --git a/apis/batch/v1alpha1/zz_certificate_terraformed.go b/apis/batch/v1alpha1/zz_certificate_terraformed.go new file mode 100755 index 000000000..691d663ab --- /dev/null +++ b/apis/batch/v1alpha1/zz_certificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Certificate +func (mg *Certificate) GetTerraformResourceType() string { + return "azurerm_batch_certificate" +} + +// GetConnectionDetailsMapping for this Certificate +func (tr *Certificate) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"certificate": "spec.forProvider.certificateSecretRef", "password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this Certificate +func (tr *Certificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Certificate +func (tr *Certificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Certificate +func (tr *Certificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Certificate +func (tr *Certificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Certificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Certificate) LateInitialize(attrs []byte) (bool, error) { + params := &CertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Certificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/batch/v1alpha1/zz_certificate_types.go b/apis/batch/v1alpha1/zz_certificate_types.go new file mode 100755 index 000000000..228370453 --- /dev/null +++ b/apis/batch/v1alpha1/zz_certificate_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CertificateObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + PublicData *string `json:"publicData,omitempty" tf:"public_data,omitempty"` +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + CertificateSecretRef v1.SecretKeySelector `json:"certificateSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Format *string `json:"format" tf:"format,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` + + // +kubebuilder:validation:Required + ThumbprintAlgorithm *string `json:"thumbprintAlgorithm" tf:"thumbprint_algorithm,omitempty"` +} + +// CertificateSpec defines the desired state of Certificate +type CertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CertificateParameters `json:"forProvider"` +} + +// CertificateStatus defines the observed state of Certificate. +type CertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Certificate is the Schema for the Certificates API +// +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,azurejet} +type Certificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CertificateSpec `json:"spec"` + Status CertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CertificateList contains a list of Certificates +type CertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Certificate `json:"items"` +} + +// Repository type metadata. +var ( + Certificate_Kind = "Certificate" + Certificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Certificate_Kind}.String() + Certificate_KindAPIVersion = Certificate_Kind + "." + CRDGroupVersion.String() + Certificate_GroupVersionKind = CRDGroupVersion.WithKind(Certificate_Kind) +) + +func init() { + SchemeBuilder.Register(&Certificate{}, &CertificateList{}) +} diff --git a/apis/batch/v1alpha1/zz_generated.deepcopy.go b/apis/batch/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..cc23b5c53 --- /dev/null +++ b/apis/batch/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1619 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Account) DeepCopyInto(out *Account) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account. +func (in *Account) DeepCopy() *Account { + if in == nil { + return nil + } + out := new(Account) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Account) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil + } + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in + if in.AccountEndpoint != nil { + in, out := &in.AccountEndpoint, &out.AccountEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation. +func (in *AccountObservation) DeepCopy() *AccountObservation { + if in == nil { + return nil + } + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.KeyVaultReference != nil { + in, out := &in.KeyVaultReference, &out.KeyVaultReference + *out = make([]KeyVaultReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PoolAllocationMode != nil { + in, out := &in.PoolAllocationMode, &out.PoolAllocationMode + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Application) DeepCopyInto(out *Application) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application. +func (in *Application) DeepCopy() *Application { + if in == nil { + return nil + } + out := new(Application) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Application) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationList) DeepCopyInto(out *ApplicationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Application, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList. +func (in *ApplicationList) DeepCopy() *ApplicationList { + if in == nil { + return nil + } + out := new(ApplicationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationObservation. +func (in *ApplicationObservation) DeepCopy() *ApplicationObservation { + if in == nil { + return nil + } + out := new(ApplicationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.AllowUpdates != nil { + in, out := &in.AllowUpdates, &out.AllowUpdates + *out = new(bool) + **out = **in + } + if in.DefaultVersion != nil { + in, out := &in.DefaultVersion, &out.DefaultVersion + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationParameters. +func (in *ApplicationParameters) DeepCopy() *ApplicationParameters { + if in == nil { + return nil + } + out := new(ApplicationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec. +func (in *ApplicationSpec) DeepCopy() *ApplicationSpec { + if in == nil { + return nil + } + out := new(ApplicationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus. +func (in *ApplicationStatus) DeepCopy() *ApplicationStatus { + if in == nil { + return nil + } + out := new(ApplicationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoScaleObservation) DeepCopyInto(out *AutoScaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleObservation. +func (in *AutoScaleObservation) DeepCopy() *AutoScaleObservation { + if in == nil { + return nil + } + out := new(AutoScaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoScaleParameters) DeepCopyInto(out *AutoScaleParameters) { + *out = *in + if in.EvaluationInterval != nil { + in, out := &in.EvaluationInterval, &out.EvaluationInterval + *out = new(string) + **out = **in + } + if in.Formula != nil { + in, out := &in.Formula, &out.Formula + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleParameters. +func (in *AutoScaleParameters) DeepCopy() *AutoScaleParameters { + if in == nil { + return nil + } + out := new(AutoScaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoUserObservation) DeepCopyInto(out *AutoUserObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoUserObservation. +func (in *AutoUserObservation) DeepCopy() *AutoUserObservation { + if in == nil { + return nil + } + out := new(AutoUserObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoUserParameters) DeepCopyInto(out *AutoUserParameters) { + *out = *in + if in.ElevationLevel != nil { + in, out := &in.ElevationLevel, &out.ElevationLevel + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoUserParameters. +func (in *AutoUserParameters) DeepCopy() *AutoUserParameters { + if in == nil { + return nil + } + out := new(AutoUserParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Certificate) DeepCopyInto(out *Certificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate. +func (in *Certificate) DeepCopy() *Certificate { + if in == nil { + return nil + } + out := new(Certificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Certificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateList) DeepCopyInto(out *CertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Certificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList. +func (in *CertificateList) DeepCopy() *CertificateList { + if in == nil { + return nil + } + out := new(CertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicData != nil { + in, out := &in.PublicData, &out.PublicData + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + out.CertificateSecretRef = in.CertificateSecretRef + if in.Format != nil { + in, out := &in.Format, &out.Format + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } + if in.ThumbprintAlgorithm != nil { + in, out := &in.ThumbprintAlgorithm, &out.ThumbprintAlgorithm + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateSpec) DeepCopyInto(out *CertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSpec. +func (in *CertificateSpec) DeepCopy() *CertificateSpec { + if in == nil { + return nil + } + out := new(CertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateStatus) DeepCopyInto(out *CertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateStatus. +func (in *CertificateStatus) DeepCopy() *CertificateStatus { + if in == nil { + return nil + } + out := new(CertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationObservation) DeepCopyInto(out *ContainerConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationObservation. +func (in *ContainerConfigurationObservation) DeepCopy() *ContainerConfigurationObservation { + if in == nil { + return nil + } + out := new(ContainerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerConfigurationParameters) DeepCopyInto(out *ContainerConfigurationParameters) { + *out = *in + if in.ContainerImageNames != nil { + in, out := &in.ContainerImageNames, &out.ContainerImageNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ContainerRegistries != nil { + in, out := &in.ContainerRegistries, &out.ContainerRegistries + *out = make([]ContainerRegistriesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfigurationParameters. +func (in *ContainerConfigurationParameters) DeepCopy() *ContainerConfigurationParameters { + if in == nil { + return nil + } + out := new(ContainerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerRegistriesObservation) DeepCopyInto(out *ContainerRegistriesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRegistriesObservation. +func (in *ContainerRegistriesObservation) DeepCopy() *ContainerRegistriesObservation { + if in == nil { + return nil + } + out := new(ContainerRegistriesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerRegistriesParameters) DeepCopyInto(out *ContainerRegistriesParameters) { + *out = *in + out.PasswordSecretRef = in.PasswordSecretRef + if in.RegistryServer != nil { + in, out := &in.RegistryServer, &out.RegistryServer + *out = new(string) + **out = **in + } + if in.UserName != nil { + in, out := &in.UserName, &out.UserName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRegistriesParameters. +func (in *ContainerRegistriesParameters) DeepCopy() *ContainerRegistriesParameters { + if in == nil { + return nil + } + out := new(ContainerRegistriesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointConfigurationObservation) DeepCopyInto(out *EndpointConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationObservation. +func (in *EndpointConfigurationObservation) DeepCopy() *EndpointConfigurationObservation { + if in == nil { + return nil + } + out := new(EndpointConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointConfigurationParameters) DeepCopyInto(out *EndpointConfigurationParameters) { + *out = *in + if in.BackendPort != nil { + in, out := &in.BackendPort, &out.BackendPort + *out = new(int64) + **out = **in + } + if in.FrontendPortRange != nil { + in, out := &in.FrontendPortRange, &out.FrontendPortRange + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkSecurityGroupRules != nil { + in, out := &in.NetworkSecurityGroupRules, &out.NetworkSecurityGroupRules + *out = make([]NetworkSecurityGroupRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfigurationParameters. +func (in *EndpointConfigurationParameters) DeepCopy() *EndpointConfigurationParameters { + if in == nil { + return nil + } + out := new(EndpointConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FixedScaleObservation) DeepCopyInto(out *FixedScaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedScaleObservation. +func (in *FixedScaleObservation) DeepCopy() *FixedScaleObservation { + if in == nil { + return nil + } + out := new(FixedScaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FixedScaleParameters) DeepCopyInto(out *FixedScaleParameters) { + *out = *in + if in.ResizeTimeout != nil { + in, out := &in.ResizeTimeout, &out.ResizeTimeout + *out = new(string) + **out = **in + } + if in.TargetDedicatedNodes != nil { + in, out := &in.TargetDedicatedNodes, &out.TargetDedicatedNodes + *out = new(int64) + **out = **in + } + if in.TargetLowPriorityNodes != nil { + in, out := &in.TargetLowPriorityNodes, &out.TargetLowPriorityNodes + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedScaleParameters. +func (in *FixedScaleParameters) DeepCopy() *FixedScaleParameters { + if in == nil { + return nil + } + out := new(FixedScaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Job) DeepCopyInto(out *Job) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job. +func (in *Job) DeepCopy() *Job { + if in == nil { + return nil + } + out := new(Job) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Job) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobList) DeepCopyInto(out *JobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Job, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList. +func (in *JobList) DeepCopy() *JobList { + if in == nil { + return nil + } + out := new(JobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobObservation) DeepCopyInto(out *JobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobObservation. +func (in *JobObservation) DeepCopy() *JobObservation { + if in == nil { + return nil + } + out := new(JobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobParameters) DeepCopyInto(out *JobParameters) { + *out = *in + if in.BatchPoolID != nil { + in, out := &in.BatchPoolID, &out.BatchPoolID + *out = new(string) + **out = **in + } + if in.CommonEnvironmentProperties != nil { + in, out := &in.CommonEnvironmentProperties, &out.CommonEnvironmentProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.TaskRetryMaximum != nil { + in, out := &in.TaskRetryMaximum, &out.TaskRetryMaximum + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobParameters. +func (in *JobParameters) DeepCopy() *JobParameters { + if in == nil { + return nil + } + out := new(JobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobSpec) DeepCopyInto(out *JobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. +func (in *JobSpec) DeepCopy() *JobSpec { + if in == nil { + return nil + } + out := new(JobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobStatus) DeepCopyInto(out *JobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. +func (in *JobStatus) DeepCopy() *JobStatus { + if in == nil { + return nil + } + out := new(JobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultReferenceObservation) DeepCopyInto(out *KeyVaultReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultReferenceObservation. +func (in *KeyVaultReferenceObservation) DeepCopy() *KeyVaultReferenceObservation { + if in == nil { + return nil + } + out := new(KeyVaultReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultReferenceParameters) DeepCopyInto(out *KeyVaultReferenceParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultReferenceParameters. +func (in *KeyVaultReferenceParameters) DeepCopy() *KeyVaultReferenceParameters { + if in == nil { + return nil + } + out := new(KeyVaultReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkConfigurationObservation) DeepCopyInto(out *NetworkConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationObservation. +func (in *NetworkConfigurationObservation) DeepCopy() *NetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(NetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkConfigurationParameters) DeepCopyInto(out *NetworkConfigurationParameters) { + *out = *in + if in.EndpointConfiguration != nil { + in, out := &in.EndpointConfiguration, &out.EndpointConfiguration + *out = make([]EndpointConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PublicAddressProvisioningType != nil { + in, out := &in.PublicAddressProvisioningType, &out.PublicAddressProvisioningType + *out = new(string) + **out = **in + } + if in.PublicIps != nil { + in, out := &in.PublicIps, &out.PublicIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfigurationParameters. +func (in *NetworkConfigurationParameters) DeepCopy() *NetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(NetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkSecurityGroupRulesObservation) DeepCopyInto(out *NetworkSecurityGroupRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityGroupRulesObservation. +func (in *NetworkSecurityGroupRulesObservation) DeepCopy() *NetworkSecurityGroupRulesObservation { + if in == nil { + return nil + } + out := new(NetworkSecurityGroupRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkSecurityGroupRulesParameters) DeepCopyInto(out *NetworkSecurityGroupRulesParameters) { + *out = *in + if in.Access != nil { + in, out := &in.Access, &out.Access + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.SourceAddressPrefix != nil { + in, out := &in.SourceAddressPrefix, &out.SourceAddressPrefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurityGroupRulesParameters. +func (in *NetworkSecurityGroupRulesParameters) DeepCopy() *NetworkSecurityGroupRulesParameters { + if in == nil { + return nil + } + out := new(NetworkSecurityGroupRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Pool) DeepCopyInto(out *Pool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pool. +func (in *Pool) DeepCopy() *Pool { + if in == nil { + return nil + } + out := new(Pool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Pool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolCertificateObservation) DeepCopyInto(out *PoolCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolCertificateObservation. +func (in *PoolCertificateObservation) DeepCopy() *PoolCertificateObservation { + if in == nil { + return nil + } + out := new(PoolCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolCertificateParameters) DeepCopyInto(out *PoolCertificateParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.StoreLocation != nil { + in, out := &in.StoreLocation, &out.StoreLocation + *out = new(string) + **out = **in + } + if in.StoreName != nil { + in, out := &in.StoreName, &out.StoreName + *out = new(string) + **out = **in + } + if in.Visibility != nil { + in, out := &in.Visibility, &out.Visibility + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolCertificateParameters. +func (in *PoolCertificateParameters) DeepCopy() *PoolCertificateParameters { + if in == nil { + return nil + } + out := new(PoolCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolList) DeepCopyInto(out *PoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Pool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolList. +func (in *PoolList) DeepCopy() *PoolList { + if in == nil { + return nil + } + out := new(PoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolObservation) DeepCopyInto(out *PoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolObservation. +func (in *PoolObservation) DeepCopy() *PoolObservation { + if in == nil { + return nil + } + out := new(PoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolParameters) DeepCopyInto(out *PoolParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.AutoScale != nil { + in, out := &in.AutoScale, &out.AutoScale + *out = make([]AutoScaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]PoolCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ContainerConfiguration != nil { + in, out := &in.ContainerConfiguration, &out.ContainerConfiguration + *out = make([]ContainerConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.FixedScale != nil { + in, out := &in.FixedScale, &out.FixedScale + *out = make([]FixedScaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaxTasksPerNode != nil { + in, out := &in.MaxTasksPerNode, &out.MaxTasksPerNode + *out = new(int64) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkConfiguration != nil { + in, out := &in.NetworkConfiguration, &out.NetworkConfiguration + *out = make([]NetworkConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NodeAgentSkuID != nil { + in, out := &in.NodeAgentSkuID, &out.NodeAgentSkuID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StartTask != nil { + in, out := &in.StartTask, &out.StartTask + *out = make([]StartTaskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StopPendingResizeOperation != nil { + in, out := &in.StopPendingResizeOperation, &out.StopPendingResizeOperation + *out = new(bool) + **out = **in + } + if in.StorageImageReference != nil { + in, out := &in.StorageImageReference, &out.StorageImageReference + *out = make([]StorageImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolParameters. +func (in *PoolParameters) DeepCopy() *PoolParameters { + if in == nil { + return nil + } + out := new(PoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolSpec) DeepCopyInto(out *PoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec. +func (in *PoolSpec) DeepCopy() *PoolSpec { + if in == nil { + return nil + } + out := new(PoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolStatus) DeepCopyInto(out *PoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus. +func (in *PoolStatus) DeepCopy() *PoolStatus { + if in == nil { + return nil + } + out := new(PoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceFileObservation) DeepCopyInto(out *ResourceFileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFileObservation. +func (in *ResourceFileObservation) DeepCopy() *ResourceFileObservation { + if in == nil { + return nil + } + out := new(ResourceFileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceFileParameters) DeepCopyInto(out *ResourceFileParameters) { + *out = *in + if in.AutoStorageContainerName != nil { + in, out := &in.AutoStorageContainerName, &out.AutoStorageContainerName + *out = new(string) + **out = **in + } + if in.BlobPrefix != nil { + in, out := &in.BlobPrefix, &out.BlobPrefix + *out = new(string) + **out = **in + } + if in.FileMode != nil { + in, out := &in.FileMode, &out.FileMode + *out = new(string) + **out = **in + } + if in.FilePath != nil { + in, out := &in.FilePath, &out.FilePath + *out = new(string) + **out = **in + } + if in.HTTPURL != nil { + in, out := &in.HTTPURL, &out.HTTPURL + *out = new(string) + **out = **in + } + if in.StorageContainerURL != nil { + in, out := &in.StorageContainerURL, &out.StorageContainerURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFileParameters. +func (in *ResourceFileParameters) DeepCopy() *ResourceFileParameters { + if in == nil { + return nil + } + out := new(ResourceFileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StartTaskObservation) DeepCopyInto(out *StartTaskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTaskObservation. +func (in *StartTaskObservation) DeepCopy() *StartTaskObservation { + if in == nil { + return nil + } + out := new(StartTaskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StartTaskParameters) DeepCopyInto(out *StartTaskParameters) { + *out = *in + if in.CommandLine != nil { + in, out := &in.CommandLine, &out.CommandLine + *out = new(string) + **out = **in + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.MaxTaskRetryCount != nil { + in, out := &in.MaxTaskRetryCount, &out.MaxTaskRetryCount + *out = new(int64) + **out = **in + } + if in.ResourceFile != nil { + in, out := &in.ResourceFile, &out.ResourceFile + *out = make([]ResourceFileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UserIdentity != nil { + in, out := &in.UserIdentity, &out.UserIdentity + *out = make([]UserIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WaitForSuccess != nil { + in, out := &in.WaitForSuccess, &out.WaitForSuccess + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTaskParameters. +func (in *StartTaskParameters) DeepCopy() *StartTaskParameters { + if in == nil { + return nil + } + out := new(StartTaskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageImageReferenceObservation) DeepCopyInto(out *StorageImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageImageReferenceObservation. +func (in *StorageImageReferenceObservation) DeepCopy() *StorageImageReferenceObservation { + if in == nil { + return nil + } + out := new(StorageImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageImageReferenceParameters) DeepCopyInto(out *StorageImageReferenceParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageImageReferenceParameters. +func (in *StorageImageReferenceParameters) DeepCopy() *StorageImageReferenceParameters { + if in == nil { + return nil + } + out := new(StorageImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserIdentityObservation) DeepCopyInto(out *UserIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIdentityObservation. +func (in *UserIdentityObservation) DeepCopy() *UserIdentityObservation { + if in == nil { + return nil + } + out := new(UserIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UserIdentityParameters) DeepCopyInto(out *UserIdentityParameters) { + *out = *in + if in.AutoUser != nil { + in, out := &in.AutoUser, &out.AutoUser + *out = make([]AutoUserParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UserName != nil { + in, out := &in.UserName, &out.UserName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIdentityParameters. +func (in *UserIdentityParameters) DeepCopy() *UserIdentityParameters { + if in == nil { + return nil + } + out := new(UserIdentityParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/batch/v1alpha1/zz_generated.managed.go b/apis/batch/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..da4298495 --- /dev/null +++ b/apis/batch/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Account. +func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Account. +func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Account. +func (mg *Account) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Account. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Account) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Account. +func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Account. +func (mg *Account) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Account. +func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Account. +func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Account. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Account) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Account. +func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Application. +func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Application. +func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Application. +func (mg *Application) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Application. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Application) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Application. +func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Application. +func (mg *Application) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Application. +func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Application. +func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Application. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Application) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Application. +func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Certificate. +func (mg *Certificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Certificate. +func (mg *Certificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Certificate. +func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Certificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Certificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Certificate. +func (mg *Certificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Certificate. +func (mg *Certificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Certificate. +func (mg *Certificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Certificate. +func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Certificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Certificate. +func (mg *Certificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Job. +func (mg *Job) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Job. +func (mg *Job) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Job. +func (mg *Job) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Job. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Job) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Job. +func (mg *Job) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Job. +func (mg *Job) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Job. +func (mg *Job) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Job. +func (mg *Job) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Job. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Job) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Job. +func (mg *Job) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Pool. +func (mg *Pool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Pool. +func (mg *Pool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Pool. +func (mg *Pool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Pool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Pool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Pool. +func (mg *Pool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Pool. +func (mg *Pool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Pool. +func (mg *Pool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Pool. +func (mg *Pool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Pool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Pool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Pool. +func (mg *Pool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/batch/v1alpha1/zz_generated.managedlist.go b/apis/batch/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..ac8621649 --- /dev/null +++ b/apis/batch/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccountList. +func (l *AccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ApplicationList. +func (l *ApplicationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CertificateList. +func (l *CertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this JobList. +func (l *JobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PoolList. +func (l *PoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/batch/v1alpha1/zz_groupversion_info.go b/apis/batch/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..08fc270b6 --- /dev/null +++ b/apis/batch/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=batch.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "batch.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/batch/v1alpha1/zz_job_terraformed.go b/apis/batch/v1alpha1/zz_job_terraformed.go new file mode 100755 index 000000000..751175c53 --- /dev/null +++ b/apis/batch/v1alpha1/zz_job_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Job +func (mg *Job) GetTerraformResourceType() string { + return "azurerm_batch_job" +} + +// GetConnectionDetailsMapping for this Job +func (tr *Job) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Job +func (tr *Job) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Job +func (tr *Job) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Job +func (tr *Job) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Job +func (tr *Job) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Job using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Job) LateInitialize(attrs []byte) (bool, error) { + params := &JobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Job) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/batch/v1alpha1/zz_job_types.go b/apis/batch/v1alpha1/zz_job_types.go new file mode 100755 index 000000000..ea44d343d --- /dev/null +++ b/apis/batch/v1alpha1/zz_job_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type JobObservation struct { +} + +type JobParameters struct { + + // +kubebuilder:validation:Required + BatchPoolID *string `json:"batchPoolId" tf:"batch_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + CommonEnvironmentProperties map[string]*string `json:"commonEnvironmentProperties,omitempty" tf:"common_environment_properties,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + TaskRetryMaximum *int64 `json:"taskRetryMaximum,omitempty" tf:"task_retry_maximum,omitempty"` +} + +// JobSpec defines the desired state of Job +type JobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider JobParameters `json:"forProvider"` +} + +// JobStatus defines the observed state of Job. +type JobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider JobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Job is the Schema for the Jobs API +// +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,azurejet} +type Job struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec JobSpec `json:"spec"` + Status JobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobList contains a list of Jobs +type JobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Job `json:"items"` +} + +// Repository type metadata. +var ( + Job_Kind = "Job" + Job_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Job_Kind}.String() + Job_KindAPIVersion = Job_Kind + "." + CRDGroupVersion.String() + Job_GroupVersionKind = CRDGroupVersion.WithKind(Job_Kind) +) + +func init() { + SchemeBuilder.Register(&Job{}, &JobList{}) +} diff --git a/apis/batch/v1alpha1/zz_pool_terraformed.go b/apis/batch/v1alpha1/zz_pool_terraformed.go new file mode 100755 index 000000000..bd704f8c9 --- /dev/null +++ b/apis/batch/v1alpha1/zz_pool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Pool +func (mg *Pool) GetTerraformResourceType() string { + return "azurerm_batch_pool" +} + +// GetConnectionDetailsMapping for this Pool +func (tr *Pool) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"container_configuration[*].container_registries[*].password": "spec.forProvider.containerConfiguration[*].containerRegistries[*].passwordSecretRef"} +} + +// GetObservation of this Pool +func (tr *Pool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Pool +func (tr *Pool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Pool +func (tr *Pool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Pool +func (tr *Pool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Pool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Pool) LateInitialize(attrs []byte) (bool, error) { + params := &PoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Pool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/batch/v1alpha1/zz_pool_types.go b/apis/batch/v1alpha1/zz_pool_types.go new file mode 100755 index 000000000..83bea8aba --- /dev/null +++ b/apis/batch/v1alpha1/zz_pool_types.go @@ -0,0 +1,351 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutoScaleObservation struct { +} + +type AutoScaleParameters struct { + + // +kubebuilder:validation:Optional + EvaluationInterval *string `json:"evaluationInterval,omitempty" tf:"evaluation_interval,omitempty"` + + // +kubebuilder:validation:Required + Formula *string `json:"formula" tf:"formula,omitempty"` +} + +type AutoUserObservation struct { +} + +type AutoUserParameters struct { + + // +kubebuilder:validation:Optional + ElevationLevel *string `json:"elevationLevel,omitempty" tf:"elevation_level,omitempty"` + + // +kubebuilder:validation:Optional + Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` +} + +type ContainerConfigurationObservation struct { +} + +type ContainerConfigurationParameters struct { + + // +kubebuilder:validation:Optional + ContainerImageNames []*string `json:"containerImageNames,omitempty" tf:"container_image_names,omitempty"` + + // +kubebuilder:validation:Optional + ContainerRegistries []ContainerRegistriesParameters `json:"containerRegistries,omitempty" tf:"container_registries,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ContainerRegistriesObservation struct { +} + +type ContainerRegistriesParameters struct { + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + RegistryServer *string `json:"registryServer" tf:"registry_server,omitempty"` + + // +kubebuilder:validation:Required + UserName *string `json:"userName" tf:"user_name,omitempty"` +} + +type EndpointConfigurationObservation struct { +} + +type EndpointConfigurationParameters struct { + + // +kubebuilder:validation:Required + BackendPort *int64 `json:"backendPort" tf:"backend_port,omitempty"` + + // +kubebuilder:validation:Required + FrontendPortRange *string `json:"frontendPortRange" tf:"frontend_port_range,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkSecurityGroupRules []NetworkSecurityGroupRulesParameters `json:"networkSecurityGroupRules,omitempty" tf:"network_security_group_rules,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` +} + +type FixedScaleObservation struct { +} + +type FixedScaleParameters struct { + + // +kubebuilder:validation:Optional + ResizeTimeout *string `json:"resizeTimeout,omitempty" tf:"resize_timeout,omitempty"` + + // +kubebuilder:validation:Optional + TargetDedicatedNodes *int64 `json:"targetDedicatedNodes,omitempty" tf:"target_dedicated_nodes,omitempty"` + + // +kubebuilder:validation:Optional + TargetLowPriorityNodes *int64 `json:"targetLowPriorityNodes,omitempty" tf:"target_low_priority_nodes,omitempty"` +} + +type NetworkConfigurationObservation struct { +} + +type NetworkConfigurationParameters struct { + + // +kubebuilder:validation:Optional + EndpointConfiguration []EndpointConfigurationParameters `json:"endpointConfiguration,omitempty" tf:"endpoint_configuration,omitempty"` + + // +kubebuilder:validation:Optional + PublicAddressProvisioningType *string `json:"publicAddressProvisioningType,omitempty" tf:"public_address_provisioning_type,omitempty"` + + // +kubebuilder:validation:Optional + PublicIps []*string `json:"publicIps,omitempty" tf:"public_ips,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +type NetworkSecurityGroupRulesObservation struct { +} + +type NetworkSecurityGroupRulesParameters struct { + + // +kubebuilder:validation:Required + Access *string `json:"access" tf:"access,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + SourceAddressPrefix *string `json:"sourceAddressPrefix" tf:"source_address_prefix,omitempty"` +} + +type PoolCertificateObservation struct { +} + +type PoolCertificateParameters struct { + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` + + // +kubebuilder:validation:Required + StoreLocation *string `json:"storeLocation" tf:"store_location,omitempty"` + + // +kubebuilder:validation:Optional + StoreName *string `json:"storeName,omitempty" tf:"store_name,omitempty"` + + // +kubebuilder:validation:Optional + Visibility []*string `json:"visibility,omitempty" tf:"visibility,omitempty"` +} + +type PoolObservation struct { +} + +type PoolParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Optional + AutoScale []AutoScaleParameters `json:"autoScale,omitempty" tf:"auto_scale,omitempty"` + + // +kubebuilder:validation:Optional + Certificate []PoolCertificateParameters `json:"certificate,omitempty" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Optional + ContainerConfiguration []ContainerConfigurationParameters `json:"containerConfiguration,omitempty" tf:"container_configuration,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + FixedScale []FixedScaleParameters `json:"fixedScale,omitempty" tf:"fixed_scale,omitempty"` + + // +kubebuilder:validation:Optional + MaxTasksPerNode *int64 `json:"maxTasksPerNode,omitempty" tf:"max_tasks_per_node,omitempty"` + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkConfiguration []NetworkConfigurationParameters `json:"networkConfiguration,omitempty" tf:"network_configuration,omitempty"` + + // +kubebuilder:validation:Required + NodeAgentSkuID *string `json:"nodeAgentSkuId" tf:"node_agent_sku_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StartTask []StartTaskParameters `json:"startTask,omitempty" tf:"start_task,omitempty"` + + // +kubebuilder:validation:Optional + StopPendingResizeOperation *bool `json:"stopPendingResizeOperation,omitempty" tf:"stop_pending_resize_operation,omitempty"` + + // +kubebuilder:validation:Required + StorageImageReference []StorageImageReferenceParameters `json:"storageImageReference" tf:"storage_image_reference,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` +} + +type ResourceFileObservation struct { +} + +type ResourceFileParameters struct { + + // +kubebuilder:validation:Optional + AutoStorageContainerName *string `json:"autoStorageContainerName,omitempty" tf:"auto_storage_container_name,omitempty"` + + // +kubebuilder:validation:Optional + BlobPrefix *string `json:"blobPrefix,omitempty" tf:"blob_prefix,omitempty"` + + // +kubebuilder:validation:Optional + FileMode *string `json:"fileMode,omitempty" tf:"file_mode,omitempty"` + + // +kubebuilder:validation:Optional + FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` + + // +kubebuilder:validation:Optional + HTTPURL *string `json:"httpUrl,omitempty" tf:"http_url,omitempty"` + + // +kubebuilder:validation:Optional + StorageContainerURL *string `json:"storageContainerUrl,omitempty" tf:"storage_container_url,omitempty"` +} + +type StartTaskObservation struct { +} + +type StartTaskParameters struct { + + // +kubebuilder:validation:Required + CommandLine *string `json:"commandLine" tf:"command_line,omitempty"` + + // +kubebuilder:validation:Optional + Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"` + + // +kubebuilder:validation:Optional + MaxTaskRetryCount *int64 `json:"maxTaskRetryCount,omitempty" tf:"max_task_retry_count,omitempty"` + + // +kubebuilder:validation:Optional + ResourceFile []ResourceFileParameters `json:"resourceFile,omitempty" tf:"resource_file,omitempty"` + + // +kubebuilder:validation:Required + UserIdentity []UserIdentityParameters `json:"userIdentity" tf:"user_identity,omitempty"` + + // +kubebuilder:validation:Optional + WaitForSuccess *bool `json:"waitForSuccess,omitempty" tf:"wait_for_success,omitempty"` +} + +type StorageImageReferenceObservation struct { +} + +type StorageImageReferenceParameters struct { + + // +kubebuilder:validation:Optional + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // +kubebuilder:validation:Optional + Offer *string `json:"offer,omitempty" tf:"offer,omitempty"` + + // +kubebuilder:validation:Optional + Publisher *string `json:"publisher,omitempty" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type UserIdentityObservation struct { +} + +type UserIdentityParameters struct { + + // +kubebuilder:validation:Optional + AutoUser []AutoUserParameters `json:"autoUser,omitempty" tf:"auto_user,omitempty"` + + // +kubebuilder:validation:Optional + UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"` +} + +// PoolSpec defines the desired state of Pool +type PoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PoolParameters `json:"forProvider"` +} + +// PoolStatus defines the observed state of Pool. +type PoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Pool is the Schema for the Pools API +// +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,azurejet} +type Pool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PoolSpec `json:"spec"` + Status PoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PoolList contains a list of Pools +type PoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Pool `json:"items"` +} + +// Repository type metadata. +var ( + Pool_Kind = "Pool" + Pool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Pool_Kind}.String() + Pool_KindAPIVersion = Pool_Kind + "." + CRDGroupVersion.String() + Pool_GroupVersionKind = CRDGroupVersion.WithKind(Pool_Kind) +) + +func init() { + SchemeBuilder.Register(&Pool{}, &PoolList{}) +} diff --git a/apis/blueprint/v1alpha1/zz_assignment_terraformed.go b/apis/blueprint/v1alpha1/zz_assignment_terraformed.go new file mode 100755 index 000000000..3328595ac --- /dev/null +++ b/apis/blueprint/v1alpha1/zz_assignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Assignment +func (mg *Assignment) GetTerraformResourceType() string { + return "azurerm_blueprint_assignment" +} + +// GetConnectionDetailsMapping for this Assignment +func (tr *Assignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Assignment +func (tr *Assignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Assignment +func (tr *Assignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Assignment +func (tr *Assignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Assignment +func (tr *Assignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Assignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Assignment) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Assignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/blueprint/v1alpha1/zz_assignment_types.go b/apis/blueprint/v1alpha1/zz_assignment_types.go new file mode 100755 index 000000000..2819ce51c --- /dev/null +++ b/apis/blueprint/v1alpha1/zz_assignment_types.go @@ -0,0 +1,130 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentObservation struct { + BlueprintName *string `json:"blueprintName,omitempty" tf:"blueprint_name,omitempty"` + + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type AssignmentParameters struct { + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + LockExcludePrincipals []*string `json:"lockExcludePrincipals,omitempty" tf:"lock_exclude_principals,omitempty"` + + // +kubebuilder:validation:Optional + LockMode *string `json:"lockMode,omitempty" tf:"lock_mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ParameterValues *string `json:"parameterValues,omitempty" tf:"parameter_values,omitempty"` + + // +kubebuilder:validation:Optional + ResourceGroups *string `json:"resourceGroups,omitempty" tf:"resource_groups,omitempty"` + + // +kubebuilder:validation:Required + TargetSubscriptionID *string `json:"targetSubscriptionId" tf:"target_subscription_id,omitempty"` + + // +kubebuilder:validation:Required + VersionID *string `json:"versionId" tf:"version_id,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + IdentityIds []*string `json:"identityIds" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AssignmentSpec defines the desired state of Assignment +type AssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentParameters `json:"forProvider"` +} + +// AssignmentStatus defines the observed state of Assignment. +type AssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Assignment is the Schema for the Assignments API +// +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,azurejet} +type Assignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentSpec `json:"spec"` + Status AssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentList contains a list of Assignments +type AssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Assignment `json:"items"` +} + +// Repository type metadata. +var ( + Assignment_Kind = "Assignment" + Assignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Assignment_Kind}.String() + Assignment_KindAPIVersion = Assignment_Kind + "." + CRDGroupVersion.String() + Assignment_GroupVersionKind = CRDGroupVersion.WithKind(Assignment_Kind) +) + +func init() { + SchemeBuilder.Register(&Assignment{}, &AssignmentList{}) +} diff --git a/apis/blueprint/v1alpha1/zz_generated.deepcopy.go b/apis/blueprint/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..63aee108c --- /dev/null +++ b/apis/blueprint/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,277 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Assignment) DeepCopyInto(out *Assignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assignment. +func (in *Assignment) DeepCopy() *Assignment { + if in == nil { + return nil + } + out := new(Assignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Assignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentList) DeepCopyInto(out *AssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Assignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentList. +func (in *AssignmentList) DeepCopy() *AssignmentList { + if in == nil { + return nil + } + out := new(AssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentObservation) DeepCopyInto(out *AssignmentObservation) { + *out = *in + if in.BlueprintName != nil { + in, out := &in.BlueprintName, &out.BlueprintName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentObservation. +func (in *AssignmentObservation) DeepCopy() *AssignmentObservation { + if in == nil { + return nil + } + out := new(AssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentParameters) DeepCopyInto(out *AssignmentParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LockExcludePrincipals != nil { + in, out := &in.LockExcludePrincipals, &out.LockExcludePrincipals + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LockMode != nil { + in, out := &in.LockMode, &out.LockMode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ParameterValues != nil { + in, out := &in.ParameterValues, &out.ParameterValues + *out = new(string) + **out = **in + } + if in.ResourceGroups != nil { + in, out := &in.ResourceGroups, &out.ResourceGroups + *out = new(string) + **out = **in + } + if in.TargetSubscriptionID != nil { + in, out := &in.TargetSubscriptionID, &out.TargetSubscriptionID + *out = new(string) + **out = **in + } + if in.VersionID != nil { + in, out := &in.VersionID, &out.VersionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentParameters. +func (in *AssignmentParameters) DeepCopy() *AssignmentParameters { + if in == nil { + return nil + } + out := new(AssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentSpec. +func (in *AssignmentSpec) DeepCopy() *AssignmentSpec { + if in == nil { + return nil + } + out := new(AssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentStatus. +func (in *AssignmentStatus) DeepCopy() *AssignmentStatus { + if in == nil { + return nil + } + out := new(AssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/blueprint/v1alpha1/zz_generated.managed.go b/apis/blueprint/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..697335693 --- /dev/null +++ b/apis/blueprint/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Assignment. +func (mg *Assignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Assignment. +func (mg *Assignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Assignment. +func (mg *Assignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Assignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Assignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Assignment. +func (mg *Assignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Assignment. +func (mg *Assignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Assignment. +func (mg *Assignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Assignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Assignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/blueprint/v1alpha1/zz_generated.managedlist.go b/apis/blueprint/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..2c7b1b2cf --- /dev/null +++ b/apis/blueprint/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssignmentList. +func (l *AssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/blueprint/v1alpha1/zz_groupversion_info.go b/apis/blueprint/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..eb646bb0f --- /dev/null +++ b/apis/blueprint/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=blueprint.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "blueprint.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/bot/v1alpha1/zz_channelalexa_terraformed.go b/apis/bot/v1alpha1/zz_channelalexa_terraformed.go new file mode 100755 index 000000000..b53dc5881 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelalexa_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelAlexa +func (mg *ChannelAlexa) GetTerraformResourceType() string { + return "azurerm_bot_channel_alexa" +} + +// GetConnectionDetailsMapping for this ChannelAlexa +func (tr *ChannelAlexa) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ChannelAlexa +func (tr *ChannelAlexa) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelAlexa +func (tr *ChannelAlexa) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelAlexa +func (tr *ChannelAlexa) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelAlexa +func (tr *ChannelAlexa) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelAlexa using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelAlexa) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelAlexaParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelAlexa) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelalexa_types.go b/apis/bot/v1alpha1/zz_channelalexa_types.go new file mode 100755 index 000000000..1efeb873d --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelalexa_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelAlexaObservation struct { +} + +type ChannelAlexaParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkillID *string `json:"skillId" tf:"skill_id,omitempty"` +} + +// ChannelAlexaSpec defines the desired state of ChannelAlexa +type ChannelAlexaSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelAlexaParameters `json:"forProvider"` +} + +// ChannelAlexaStatus defines the observed state of ChannelAlexa. +type ChannelAlexaStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelAlexaObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelAlexa is the Schema for the ChannelAlexas API +// +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,azurejet} +type ChannelAlexa struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelAlexaSpec `json:"spec"` + Status ChannelAlexaStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelAlexaList contains a list of ChannelAlexas +type ChannelAlexaList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelAlexa `json:"items"` +} + +// Repository type metadata. +var ( + ChannelAlexa_Kind = "ChannelAlexa" + ChannelAlexa_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelAlexa_Kind}.String() + ChannelAlexa_KindAPIVersion = ChannelAlexa_Kind + "." + CRDGroupVersion.String() + ChannelAlexa_GroupVersionKind = CRDGroupVersion.WithKind(ChannelAlexa_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelAlexa{}, &ChannelAlexaList{}) +} diff --git a/apis/bot/v1alpha1/zz_channeldirectline_terraformed.go b/apis/bot/v1alpha1/zz_channeldirectline_terraformed.go new file mode 100755 index 000000000..0b0fea486 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channeldirectline_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelDirectline +func (mg *ChannelDirectline) GetTerraformResourceType() string { + return "azurerm_bot_channel_directline" +} + +// GetConnectionDetailsMapping for this ChannelDirectline +func (tr *ChannelDirectline) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"site[*].key": "status.atProvider.site[*].key", "site[*].key2": "status.atProvider.site[*].key2"} +} + +// GetObservation of this ChannelDirectline +func (tr *ChannelDirectline) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelDirectline +func (tr *ChannelDirectline) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelDirectline +func (tr *ChannelDirectline) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelDirectline +func (tr *ChannelDirectline) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelDirectline using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelDirectline) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelDirectlineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelDirectline) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channeldirectline_types.go b/apis/bot/v1alpha1/zz_channeldirectline_types.go new file mode 100755 index 000000000..65be14e79 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channeldirectline_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelDirectlineObservation struct { +} + +type ChannelDirectlineParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Site []SiteParameters `json:"site" tf:"site,omitempty"` +} + +type SiteObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type SiteParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + EnhancedAuthenticationEnabled *bool `json:"enhancedAuthenticationEnabled,omitempty" tf:"enhanced_authentication_enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + TrustedOrigins []*string `json:"trustedOrigins,omitempty" tf:"trusted_origins,omitempty"` + + // +kubebuilder:validation:Optional + V1Allowed *bool `json:"v1Allowed,omitempty" tf:"v1_allowed,omitempty"` + + // +kubebuilder:validation:Optional + V3Allowed *bool `json:"v3Allowed,omitempty" tf:"v3_allowed,omitempty"` +} + +// ChannelDirectlineSpec defines the desired state of ChannelDirectline +type ChannelDirectlineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelDirectlineParameters `json:"forProvider"` +} + +// ChannelDirectlineStatus defines the observed state of ChannelDirectline. +type ChannelDirectlineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelDirectlineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelDirectline is the Schema for the ChannelDirectlines API +// +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,azurejet} +type ChannelDirectline struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelDirectlineSpec `json:"spec"` + Status ChannelDirectlineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelDirectlineList contains a list of ChannelDirectlines +type ChannelDirectlineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelDirectline `json:"items"` +} + +// Repository type metadata. +var ( + ChannelDirectline_Kind = "ChannelDirectline" + ChannelDirectline_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelDirectline_Kind}.String() + ChannelDirectline_KindAPIVersion = ChannelDirectline_Kind + "." + CRDGroupVersion.String() + ChannelDirectline_GroupVersionKind = CRDGroupVersion.WithKind(ChannelDirectline_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelDirectline{}, &ChannelDirectlineList{}) +} diff --git a/apis/bot/v1alpha1/zz_channeldirectlinespeech_terraformed.go b/apis/bot/v1alpha1/zz_channeldirectlinespeech_terraformed.go new file mode 100755 index 000000000..4eac28cd3 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channeldirectlinespeech_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelDirectLineSpeech +func (mg *ChannelDirectLineSpeech) GetTerraformResourceType() string { + return "azurerm_bot_channel_direct_line_speech" +} + +// GetConnectionDetailsMapping for this ChannelDirectLineSpeech +func (tr *ChannelDirectLineSpeech) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"cognitive_service_access_key": "spec.forProvider.cognitiveServiceAccessKeySecretRef"} +} + +// GetObservation of this ChannelDirectLineSpeech +func (tr *ChannelDirectLineSpeech) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelDirectLineSpeech +func (tr *ChannelDirectLineSpeech) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelDirectLineSpeech +func (tr *ChannelDirectLineSpeech) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelDirectLineSpeech +func (tr *ChannelDirectLineSpeech) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelDirectLineSpeech using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelDirectLineSpeech) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelDirectLineSpeechParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelDirectLineSpeech) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channeldirectlinespeech_types.go b/apis/bot/v1alpha1/zz_channeldirectlinespeech_types.go new file mode 100755 index 000000000..9e0a069fd --- /dev/null +++ b/apis/bot/v1alpha1/zz_channeldirectlinespeech_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelDirectLineSpeechObservation struct { +} + +type ChannelDirectLineSpeechParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + CognitiveServiceAccessKeySecretRef v1.SecretKeySelector `json:"cognitiveServiceAccessKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + CognitiveServiceLocation *string `json:"cognitiveServiceLocation" tf:"cognitive_service_location,omitempty"` + + // +kubebuilder:validation:Optional + CustomSpeechModelID *string `json:"customSpeechModelId,omitempty" tf:"custom_speech_model_id,omitempty"` + + // +kubebuilder:validation:Optional + CustomVoiceDeploymentID *string `json:"customVoiceDeploymentId,omitempty" tf:"custom_voice_deployment_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ChannelDirectLineSpeechSpec defines the desired state of ChannelDirectLineSpeech +type ChannelDirectLineSpeechSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelDirectLineSpeechParameters `json:"forProvider"` +} + +// ChannelDirectLineSpeechStatus defines the observed state of ChannelDirectLineSpeech. +type ChannelDirectLineSpeechStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelDirectLineSpeechObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelDirectLineSpeech is the Schema for the ChannelDirectLineSpeechs API +// +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,azurejet} +type ChannelDirectLineSpeech struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelDirectLineSpeechSpec `json:"spec"` + Status ChannelDirectLineSpeechStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelDirectLineSpeechList contains a list of ChannelDirectLineSpeechs +type ChannelDirectLineSpeechList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelDirectLineSpeech `json:"items"` +} + +// Repository type metadata. +var ( + ChannelDirectLineSpeech_Kind = "ChannelDirectLineSpeech" + ChannelDirectLineSpeech_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelDirectLineSpeech_Kind}.String() + ChannelDirectLineSpeech_KindAPIVersion = ChannelDirectLineSpeech_Kind + "." + CRDGroupVersion.String() + ChannelDirectLineSpeech_GroupVersionKind = CRDGroupVersion.WithKind(ChannelDirectLineSpeech_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelDirectLineSpeech{}, &ChannelDirectLineSpeechList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelemail_terraformed.go b/apis/bot/v1alpha1/zz_channelemail_terraformed.go new file mode 100755 index 000000000..3063651cb --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelemail_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelEmail +func (mg *ChannelEmail) GetTerraformResourceType() string { + return "azurerm_bot_channel_email" +} + +// GetConnectionDetailsMapping for this ChannelEmail +func (tr *ChannelEmail) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"email_password": "spec.forProvider.emailPasswordSecretRef"} +} + +// GetObservation of this ChannelEmail +func (tr *ChannelEmail) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelEmail +func (tr *ChannelEmail) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelEmail +func (tr *ChannelEmail) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelEmail +func (tr *ChannelEmail) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelEmail using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelEmail) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelEmailParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelEmail) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelemail_types.go b/apis/bot/v1alpha1/zz_channelemail_types.go new file mode 100755 index 000000000..58dd71686 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelemail_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelEmailObservation struct { +} + +type ChannelEmailParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + EmailAddress *string `json:"emailAddress" tf:"email_address,omitempty"` + + // +kubebuilder:validation:Required + EmailPasswordSecretRef v1.SecretKeySelector `json:"emailPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ChannelEmailSpec defines the desired state of ChannelEmail +type ChannelEmailSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelEmailParameters `json:"forProvider"` +} + +// ChannelEmailStatus defines the observed state of ChannelEmail. +type ChannelEmailStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelEmailObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelEmail is the Schema for the ChannelEmails API +// +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,azurejet} +type ChannelEmail struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelEmailSpec `json:"spec"` + Status ChannelEmailStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelEmailList contains a list of ChannelEmails +type ChannelEmailList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelEmail `json:"items"` +} + +// Repository type metadata. +var ( + ChannelEmail_Kind = "ChannelEmail" + ChannelEmail_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelEmail_Kind}.String() + ChannelEmail_KindAPIVersion = ChannelEmail_Kind + "." + CRDGroupVersion.String() + ChannelEmail_GroupVersionKind = CRDGroupVersion.WithKind(ChannelEmail_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelEmail{}, &ChannelEmailList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelfacebook_terraformed.go b/apis/bot/v1alpha1/zz_channelfacebook_terraformed.go new file mode 100755 index 000000000..3fe3e01ef --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelfacebook_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelFacebook +func (mg *ChannelFacebook) GetTerraformResourceType() string { + return "azurerm_bot_channel_facebook" +} + +// GetConnectionDetailsMapping for this ChannelFacebook +func (tr *ChannelFacebook) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"facebook_application_secret": "spec.forProvider.facebookApplicationSecretSecretRef", "page[*].access_token": "spec.forProvider.page[*].accessTokenSecretRef"} +} + +// GetObservation of this ChannelFacebook +func (tr *ChannelFacebook) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelFacebook +func (tr *ChannelFacebook) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelFacebook +func (tr *ChannelFacebook) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelFacebook +func (tr *ChannelFacebook) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelFacebook using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelFacebook) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelFacebookParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelFacebook) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelfacebook_types.go b/apis/bot/v1alpha1/zz_channelfacebook_types.go new file mode 100755 index 000000000..078e900a5 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelfacebook_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelFacebookObservation struct { +} + +type ChannelFacebookParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + FacebookApplicationID *string `json:"facebookApplicationId" tf:"facebook_application_id,omitempty"` + + // +kubebuilder:validation:Required + FacebookApplicationSecretSecretRef v1.SecretKeySelector `json:"facebookApplicationSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Page []PageParameters `json:"page" tf:"page,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type PageObservation struct { +} + +type PageParameters struct { + + // +kubebuilder:validation:Required + AccessTokenSecretRef v1.SecretKeySelector `json:"accessTokenSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` +} + +// ChannelFacebookSpec defines the desired state of ChannelFacebook +type ChannelFacebookSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelFacebookParameters `json:"forProvider"` +} + +// ChannelFacebookStatus defines the observed state of ChannelFacebook. +type ChannelFacebookStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelFacebookObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelFacebook is the Schema for the ChannelFacebooks API +// +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,azurejet} +type ChannelFacebook struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelFacebookSpec `json:"spec"` + Status ChannelFacebookStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelFacebookList contains a list of ChannelFacebooks +type ChannelFacebookList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelFacebook `json:"items"` +} + +// Repository type metadata. +var ( + ChannelFacebook_Kind = "ChannelFacebook" + ChannelFacebook_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelFacebook_Kind}.String() + ChannelFacebook_KindAPIVersion = ChannelFacebook_Kind + "." + CRDGroupVersion.String() + ChannelFacebook_GroupVersionKind = CRDGroupVersion.WithKind(ChannelFacebook_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelFacebook{}, &ChannelFacebookList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelline_terraformed.go b/apis/bot/v1alpha1/zz_channelline_terraformed.go new file mode 100755 index 000000000..405c40f6f --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelline_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelLine +func (mg *ChannelLine) GetTerraformResourceType() string { + return "azurerm_bot_channel_line" +} + +// GetConnectionDetailsMapping for this ChannelLine +func (tr *ChannelLine) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"line_channel[*].access_token": "spec.forProvider.lineChannel[*].accessTokenSecretRef", "line_channel[*].secret": "spec.forProvider.lineChannel[*].secretSecretRef"} +} + +// GetObservation of this ChannelLine +func (tr *ChannelLine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelLine +func (tr *ChannelLine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelLine +func (tr *ChannelLine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelLine +func (tr *ChannelLine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelLine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelLine) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelLineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelLine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelline_types.go b/apis/bot/v1alpha1/zz_channelline_types.go new file mode 100755 index 000000000..2836ff824 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelline_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelLineObservation struct { +} + +type ChannelLineParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + LineChannel []LineChannelParameters `json:"lineChannel" tf:"line_channel,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type LineChannelObservation struct { +} + +type LineChannelParameters struct { + + // +kubebuilder:validation:Required + AccessTokenSecretRef v1.SecretKeySelector `json:"accessTokenSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SecretSecretRef v1.SecretKeySelector `json:"secretSecretRef" tf:"-"` +} + +// ChannelLineSpec defines the desired state of ChannelLine +type ChannelLineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelLineParameters `json:"forProvider"` +} + +// ChannelLineStatus defines the observed state of ChannelLine. +type ChannelLineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelLineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelLine is the Schema for the ChannelLines API +// +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,azurejet} +type ChannelLine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelLineSpec `json:"spec"` + Status ChannelLineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelLineList contains a list of ChannelLines +type ChannelLineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelLine `json:"items"` +} + +// Repository type metadata. +var ( + ChannelLine_Kind = "ChannelLine" + ChannelLine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelLine_Kind}.String() + ChannelLine_KindAPIVersion = ChannelLine_Kind + "." + CRDGroupVersion.String() + ChannelLine_GroupVersionKind = CRDGroupVersion.WithKind(ChannelLine_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelLine{}, &ChannelLineList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelmsteams_terraformed.go b/apis/bot/v1alpha1/zz_channelmsteams_terraformed.go new file mode 100755 index 000000000..6bbe8d9d2 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelmsteams_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelMsTeams +func (mg *ChannelMsTeams) GetTerraformResourceType() string { + return "azurerm_bot_channel_ms_teams" +} + +// GetConnectionDetailsMapping for this ChannelMsTeams +func (tr *ChannelMsTeams) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ChannelMsTeams +func (tr *ChannelMsTeams) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelMsTeams +func (tr *ChannelMsTeams) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelMsTeams +func (tr *ChannelMsTeams) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelMsTeams +func (tr *ChannelMsTeams) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelMsTeams using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelMsTeams) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelMsTeamsParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelMsTeams) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelmsteams_types.go b/apis/bot/v1alpha1/zz_channelmsteams_types.go new file mode 100755 index 000000000..eba1969eb --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelmsteams_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelMsTeamsObservation struct { +} + +type ChannelMsTeamsParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Optional + CallingWebHook *string `json:"callingWebHook,omitempty" tf:"calling_web_hook,omitempty"` + + // +kubebuilder:validation:Optional + EnableCalling *bool `json:"enableCalling,omitempty" tf:"enable_calling,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ChannelMsTeamsSpec defines the desired state of ChannelMsTeams +type ChannelMsTeamsSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelMsTeamsParameters `json:"forProvider"` +} + +// ChannelMsTeamsStatus defines the observed state of ChannelMsTeams. +type ChannelMsTeamsStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelMsTeamsObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelMsTeams is the Schema for the ChannelMsTeamss API +// +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,azurejet} +type ChannelMsTeams struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelMsTeamsSpec `json:"spec"` + Status ChannelMsTeamsStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelMsTeamsList contains a list of ChannelMsTeamss +type ChannelMsTeamsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelMsTeams `json:"items"` +} + +// Repository type metadata. +var ( + ChannelMsTeams_Kind = "ChannelMsTeams" + ChannelMsTeams_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelMsTeams_Kind}.String() + ChannelMsTeams_KindAPIVersion = ChannelMsTeams_Kind + "." + CRDGroupVersion.String() + ChannelMsTeams_GroupVersionKind = CRDGroupVersion.WithKind(ChannelMsTeams_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelMsTeams{}, &ChannelMsTeamsList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelslack_terraformed.go b/apis/bot/v1alpha1/zz_channelslack_terraformed.go new file mode 100755 index 000000000..934c5553e --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelslack_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelSlack +func (mg *ChannelSlack) GetTerraformResourceType() string { + return "azurerm_bot_channel_slack" +} + +// GetConnectionDetailsMapping for this ChannelSlack +func (tr *ChannelSlack) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef", "signing_secret": "spec.forProvider.signingSecretSecretRef", "verification_token": "spec.forProvider.verificationTokenSecretRef"} +} + +// GetObservation of this ChannelSlack +func (tr *ChannelSlack) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelSlack +func (tr *ChannelSlack) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelSlack +func (tr *ChannelSlack) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelSlack +func (tr *ChannelSlack) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelSlack using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelSlack) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelSlackParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelSlack) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelslack_types.go b/apis/bot/v1alpha1/zz_channelslack_types.go new file mode 100755 index 000000000..e257cd405 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelslack_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelSlackObservation struct { +} + +type ChannelSlackParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + LandingPageURL *string `json:"landingPageUrl,omitempty" tf:"landing_page_url,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SigningSecretSecretRef *v1.SecretKeySelector `json:"signingSecretSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + VerificationTokenSecretRef v1.SecretKeySelector `json:"verificationTokenSecretRef" tf:"-"` +} + +// ChannelSlackSpec defines the desired state of ChannelSlack +type ChannelSlackSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelSlackParameters `json:"forProvider"` +} + +// ChannelSlackStatus defines the observed state of ChannelSlack. +type ChannelSlackStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelSlackObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelSlack is the Schema for the ChannelSlacks API +// +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,azurejet} +type ChannelSlack struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelSlackSpec `json:"spec"` + Status ChannelSlackStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelSlackList contains a list of ChannelSlacks +type ChannelSlackList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelSlack `json:"items"` +} + +// Repository type metadata. +var ( + ChannelSlack_Kind = "ChannelSlack" + ChannelSlack_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelSlack_Kind}.String() + ChannelSlack_KindAPIVersion = ChannelSlack_Kind + "." + CRDGroupVersion.String() + ChannelSlack_GroupVersionKind = CRDGroupVersion.WithKind(ChannelSlack_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelSlack{}, &ChannelSlackList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelsms_terraformed.go b/apis/bot/v1alpha1/zz_channelsms_terraformed.go new file mode 100755 index 000000000..5a60c22c1 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelsms_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelSms +func (mg *ChannelSms) GetTerraformResourceType() string { + return "azurerm_bot_channel_sms" +} + +// GetConnectionDetailsMapping for this ChannelSms +func (tr *ChannelSms) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"sms_channel_auth_token": "spec.forProvider.smsChannelAuthTokenSecretRef"} +} + +// GetObservation of this ChannelSms +func (tr *ChannelSms) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelSms +func (tr *ChannelSms) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelSms +func (tr *ChannelSms) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelSms +func (tr *ChannelSms) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelSms using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelSms) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelSmsParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelSms) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelsms_types.go b/apis/bot/v1alpha1/zz_channelsms_types.go new file mode 100755 index 000000000..dddf7b791 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelsms_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelSmsObservation struct { +} + +type ChannelSmsParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SmsChannelAccountSecurityID *string `json:"smsChannelAccountSecurityId" tf:"sms_channel_account_security_id,omitempty"` + + // +kubebuilder:validation:Required + SmsChannelAuthTokenSecretRef v1.SecretKeySelector `json:"smsChannelAuthTokenSecretRef" tf:"-"` +} + +// ChannelSmsSpec defines the desired state of ChannelSms +type ChannelSmsSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelSmsParameters `json:"forProvider"` +} + +// ChannelSmsStatus defines the observed state of ChannelSms. +type ChannelSmsStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelSmsObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelSms is the Schema for the ChannelSmss API +// +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,azurejet} +type ChannelSms struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelSmsSpec `json:"spec"` + Status ChannelSmsStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelSmsList contains a list of ChannelSmss +type ChannelSmsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelSms `json:"items"` +} + +// Repository type metadata. +var ( + ChannelSms_Kind = "ChannelSms" + ChannelSms_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelSms_Kind}.String() + ChannelSms_KindAPIVersion = ChannelSms_Kind + "." + CRDGroupVersion.String() + ChannelSms_GroupVersionKind = CRDGroupVersion.WithKind(ChannelSms_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelSms{}, &ChannelSmsList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelsregistration_terraformed.go b/apis/bot/v1alpha1/zz_channelsregistration_terraformed.go new file mode 100755 index 000000000..9e15da41a --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelsregistration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelsRegistration +func (mg *ChannelsRegistration) GetTerraformResourceType() string { + return "azurerm_bot_channels_registration" +} + +// GetConnectionDetailsMapping for this ChannelsRegistration +func (tr *ChannelsRegistration) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"developer_app_insights_api_key": "spec.forProvider.developerAppInsightsAPIKeySecretRef"} +} + +// GetObservation of this ChannelsRegistration +func (tr *ChannelsRegistration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelsRegistration +func (tr *ChannelsRegistration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelsRegistration +func (tr *ChannelsRegistration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelsRegistration +func (tr *ChannelsRegistration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelsRegistration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelsRegistration) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelsRegistrationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelsRegistration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelsregistration_types.go b/apis/bot/v1alpha1/zz_channelsregistration_types.go new file mode 100755 index 000000000..ca68f7dae --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelsregistration_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelsRegistrationObservation struct { +} + +type ChannelsRegistrationParameters struct { + + // +kubebuilder:validation:Optional + CmkKeyVaultURL *string `json:"cmkKeyVaultUrl,omitempty" tf:"cmk_key_vault_url,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DeveloperAppInsightsAPIKeySecretRef *v1.SecretKeySelector `json:"developerAppInsightsApiKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DeveloperAppInsightsApplicationID *string `json:"developerAppInsightsApplicationId,omitempty" tf:"developer_app_insights_application_id,omitempty"` + + // +kubebuilder:validation:Optional + DeveloperAppInsightsKey *string `json:"developerAppInsightsKey,omitempty" tf:"developer_app_insights_key,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` + + // +kubebuilder:validation:Optional + IconURL *string `json:"iconUrl,omitempty" tf:"icon_url,omitempty"` + + // +kubebuilder:validation:Optional + IsolatedNetworkEnabled *bool `json:"isolatedNetworkEnabled,omitempty" tf:"isolated_network_enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MicrosoftAppID *string `json:"microsoftAppId" tf:"microsoft_app_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ChannelsRegistrationSpec defines the desired state of ChannelsRegistration +type ChannelsRegistrationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelsRegistrationParameters `json:"forProvider"` +} + +// ChannelsRegistrationStatus defines the observed state of ChannelsRegistration. +type ChannelsRegistrationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelsRegistrationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelsRegistration is the Schema for the ChannelsRegistrations API +// +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,azurejet} +type ChannelsRegistration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelsRegistrationSpec `json:"spec"` + Status ChannelsRegistrationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelsRegistrationList contains a list of ChannelsRegistrations +type ChannelsRegistrationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelsRegistration `json:"items"` +} + +// Repository type metadata. +var ( + ChannelsRegistration_Kind = "ChannelsRegistration" + ChannelsRegistration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelsRegistration_Kind}.String() + ChannelsRegistration_KindAPIVersion = ChannelsRegistration_Kind + "." + CRDGroupVersion.String() + ChannelsRegistration_GroupVersionKind = CRDGroupVersion.WithKind(ChannelsRegistration_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelsRegistration{}, &ChannelsRegistrationList{}) +} diff --git a/apis/bot/v1alpha1/zz_channelwebchat_terraformed.go b/apis/bot/v1alpha1/zz_channelwebchat_terraformed.go new file mode 100755 index 000000000..6cd389683 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelwebchat_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ChannelWebChat +func (mg *ChannelWebChat) GetTerraformResourceType() string { + return "azurerm_bot_channel_web_chat" +} + +// GetConnectionDetailsMapping for this ChannelWebChat +func (tr *ChannelWebChat) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ChannelWebChat +func (tr *ChannelWebChat) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ChannelWebChat +func (tr *ChannelWebChat) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ChannelWebChat +func (tr *ChannelWebChat) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ChannelWebChat +func (tr *ChannelWebChat) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ChannelWebChat using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ChannelWebChat) LateInitialize(attrs []byte) (bool, error) { + params := &ChannelWebChatParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ChannelWebChat) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_channelwebchat_types.go b/apis/bot/v1alpha1/zz_channelwebchat_types.go new file mode 100755 index 000000000..65e02b1a9 --- /dev/null +++ b/apis/bot/v1alpha1/zz_channelwebchat_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ChannelWebChatObservation struct { +} + +type ChannelWebChatParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SiteNames []*string `json:"siteNames" tf:"site_names,omitempty"` +} + +// ChannelWebChatSpec defines the desired state of ChannelWebChat +type ChannelWebChatSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ChannelWebChatParameters `json:"forProvider"` +} + +// ChannelWebChatStatus defines the observed state of ChannelWebChat. +type ChannelWebChatStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ChannelWebChatObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelWebChat is the Schema for the ChannelWebChats API +// +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,azurejet} +type ChannelWebChat struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ChannelWebChatSpec `json:"spec"` + Status ChannelWebChatStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ChannelWebChatList contains a list of ChannelWebChats +type ChannelWebChatList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ChannelWebChat `json:"items"` +} + +// Repository type metadata. +var ( + ChannelWebChat_Kind = "ChannelWebChat" + ChannelWebChat_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ChannelWebChat_Kind}.String() + ChannelWebChat_KindAPIVersion = ChannelWebChat_Kind + "." + CRDGroupVersion.String() + ChannelWebChat_GroupVersionKind = CRDGroupVersion.WithKind(ChannelWebChat_Kind) +) + +func init() { + SchemeBuilder.Register(&ChannelWebChat{}, &ChannelWebChatList{}) +} diff --git a/apis/bot/v1alpha1/zz_connection_terraformed.go b/apis/bot/v1alpha1/zz_connection_terraformed.go new file mode 100755 index 000000000..a12b9f1f7 --- /dev/null +++ b/apis/bot/v1alpha1/zz_connection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Connection +func (mg *Connection) GetTerraformResourceType() string { + return "azurerm_bot_connection" +} + +// GetConnectionDetailsMapping for this Connection +func (tr *Connection) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"client_secret": "spec.forProvider.clientSecretSecretRef"} +} + +// GetObservation of this Connection +func (tr *Connection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Connection +func (tr *Connection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Connection +func (tr *Connection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Connection +func (tr *Connection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Connection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Connection) LateInitialize(attrs []byte) (bool, error) { + params := &ConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Connection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_connection_types.go b/apis/bot/v1alpha1/zz_connection_types.go new file mode 100755 index 000000000..b0f3868ff --- /dev/null +++ b/apis/bot/v1alpha1/zz_connection_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionObservation struct { +} + +type ConnectionParameters struct { + + // +kubebuilder:validation:Required + BotName *string `json:"botName" tf:"bot_name,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Scopes *string `json:"scopes,omitempty" tf:"scopes,omitempty"` + + // +kubebuilder:validation:Required + ServiceProviderName *string `json:"serviceProviderName" tf:"service_provider_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ConnectionSpec defines the desired state of Connection +type ConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConnectionParameters `json:"forProvider"` +} + +// ConnectionStatus defines the observed state of Connection. +type ConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Connection is the Schema for the Connections API +// +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,azurejet} +type Connection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectionSpec `json:"spec"` + Status ConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionList contains a list of Connections +type ConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Connection `json:"items"` +} + +// Repository type metadata. +var ( + Connection_Kind = "Connection" + Connection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Connection_Kind}.String() + Connection_KindAPIVersion = Connection_Kind + "." + CRDGroupVersion.String() + Connection_GroupVersionKind = CRDGroupVersion.WithKind(Connection_Kind) +) + +func init() { + SchemeBuilder.Register(&Connection{}, &ConnectionList{}) +} diff --git a/apis/bot/v1alpha1/zz_generated.deepcopy.go b/apis/bot/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..ee61a43cc --- /dev/null +++ b/apis/bot/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2247 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelAlexa) DeepCopyInto(out *ChannelAlexa) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelAlexa. +func (in *ChannelAlexa) DeepCopy() *ChannelAlexa { + if in == nil { + return nil + } + out := new(ChannelAlexa) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelAlexa) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelAlexaList) DeepCopyInto(out *ChannelAlexaList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelAlexa, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelAlexaList. +func (in *ChannelAlexaList) DeepCopy() *ChannelAlexaList { + if in == nil { + return nil + } + out := new(ChannelAlexaList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelAlexaList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelAlexaObservation) DeepCopyInto(out *ChannelAlexaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelAlexaObservation. +func (in *ChannelAlexaObservation) DeepCopy() *ChannelAlexaObservation { + if in == nil { + return nil + } + out := new(ChannelAlexaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelAlexaParameters) DeepCopyInto(out *ChannelAlexaParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkillID != nil { + in, out := &in.SkillID, &out.SkillID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelAlexaParameters. +func (in *ChannelAlexaParameters) DeepCopy() *ChannelAlexaParameters { + if in == nil { + return nil + } + out := new(ChannelAlexaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelAlexaSpec) DeepCopyInto(out *ChannelAlexaSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelAlexaSpec. +func (in *ChannelAlexaSpec) DeepCopy() *ChannelAlexaSpec { + if in == nil { + return nil + } + out := new(ChannelAlexaSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelAlexaStatus) DeepCopyInto(out *ChannelAlexaStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelAlexaStatus. +func (in *ChannelAlexaStatus) DeepCopy() *ChannelAlexaStatus { + if in == nil { + return nil + } + out := new(ChannelAlexaStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectLineSpeech) DeepCopyInto(out *ChannelDirectLineSpeech) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectLineSpeech. +func (in *ChannelDirectLineSpeech) DeepCopy() *ChannelDirectLineSpeech { + if in == nil { + return nil + } + out := new(ChannelDirectLineSpeech) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelDirectLineSpeech) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectLineSpeechList) DeepCopyInto(out *ChannelDirectLineSpeechList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelDirectLineSpeech, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectLineSpeechList. +func (in *ChannelDirectLineSpeechList) DeepCopy() *ChannelDirectLineSpeechList { + if in == nil { + return nil + } + out := new(ChannelDirectLineSpeechList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelDirectLineSpeechList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectLineSpeechObservation) DeepCopyInto(out *ChannelDirectLineSpeechObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectLineSpeechObservation. +func (in *ChannelDirectLineSpeechObservation) DeepCopy() *ChannelDirectLineSpeechObservation { + if in == nil { + return nil + } + out := new(ChannelDirectLineSpeechObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectLineSpeechParameters) DeepCopyInto(out *ChannelDirectLineSpeechParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + out.CognitiveServiceAccessKeySecretRef = in.CognitiveServiceAccessKeySecretRef + if in.CognitiveServiceLocation != nil { + in, out := &in.CognitiveServiceLocation, &out.CognitiveServiceLocation + *out = new(string) + **out = **in + } + if in.CustomSpeechModelID != nil { + in, out := &in.CustomSpeechModelID, &out.CustomSpeechModelID + *out = new(string) + **out = **in + } + if in.CustomVoiceDeploymentID != nil { + in, out := &in.CustomVoiceDeploymentID, &out.CustomVoiceDeploymentID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectLineSpeechParameters. +func (in *ChannelDirectLineSpeechParameters) DeepCopy() *ChannelDirectLineSpeechParameters { + if in == nil { + return nil + } + out := new(ChannelDirectLineSpeechParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectLineSpeechSpec) DeepCopyInto(out *ChannelDirectLineSpeechSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectLineSpeechSpec. +func (in *ChannelDirectLineSpeechSpec) DeepCopy() *ChannelDirectLineSpeechSpec { + if in == nil { + return nil + } + out := new(ChannelDirectLineSpeechSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectLineSpeechStatus) DeepCopyInto(out *ChannelDirectLineSpeechStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectLineSpeechStatus. +func (in *ChannelDirectLineSpeechStatus) DeepCopy() *ChannelDirectLineSpeechStatus { + if in == nil { + return nil + } + out := new(ChannelDirectLineSpeechStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectline) DeepCopyInto(out *ChannelDirectline) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectline. +func (in *ChannelDirectline) DeepCopy() *ChannelDirectline { + if in == nil { + return nil + } + out := new(ChannelDirectline) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelDirectline) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectlineList) DeepCopyInto(out *ChannelDirectlineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelDirectline, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectlineList. +func (in *ChannelDirectlineList) DeepCopy() *ChannelDirectlineList { + if in == nil { + return nil + } + out := new(ChannelDirectlineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelDirectlineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectlineObservation) DeepCopyInto(out *ChannelDirectlineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectlineObservation. +func (in *ChannelDirectlineObservation) DeepCopy() *ChannelDirectlineObservation { + if in == nil { + return nil + } + out := new(ChannelDirectlineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectlineParameters) DeepCopyInto(out *ChannelDirectlineParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Site != nil { + in, out := &in.Site, &out.Site + *out = make([]SiteParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectlineParameters. +func (in *ChannelDirectlineParameters) DeepCopy() *ChannelDirectlineParameters { + if in == nil { + return nil + } + out := new(ChannelDirectlineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectlineSpec) DeepCopyInto(out *ChannelDirectlineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectlineSpec. +func (in *ChannelDirectlineSpec) DeepCopy() *ChannelDirectlineSpec { + if in == nil { + return nil + } + out := new(ChannelDirectlineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelDirectlineStatus) DeepCopyInto(out *ChannelDirectlineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelDirectlineStatus. +func (in *ChannelDirectlineStatus) DeepCopy() *ChannelDirectlineStatus { + if in == nil { + return nil + } + out := new(ChannelDirectlineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelEmail) DeepCopyInto(out *ChannelEmail) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEmail. +func (in *ChannelEmail) DeepCopy() *ChannelEmail { + if in == nil { + return nil + } + out := new(ChannelEmail) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelEmail) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelEmailList) DeepCopyInto(out *ChannelEmailList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelEmail, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEmailList. +func (in *ChannelEmailList) DeepCopy() *ChannelEmailList { + if in == nil { + return nil + } + out := new(ChannelEmailList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelEmailList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelEmailObservation) DeepCopyInto(out *ChannelEmailObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEmailObservation. +func (in *ChannelEmailObservation) DeepCopy() *ChannelEmailObservation { + if in == nil { + return nil + } + out := new(ChannelEmailObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelEmailParameters) DeepCopyInto(out *ChannelEmailParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.EmailAddress != nil { + in, out := &in.EmailAddress, &out.EmailAddress + *out = new(string) + **out = **in + } + out.EmailPasswordSecretRef = in.EmailPasswordSecretRef + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEmailParameters. +func (in *ChannelEmailParameters) DeepCopy() *ChannelEmailParameters { + if in == nil { + return nil + } + out := new(ChannelEmailParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelEmailSpec) DeepCopyInto(out *ChannelEmailSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEmailSpec. +func (in *ChannelEmailSpec) DeepCopy() *ChannelEmailSpec { + if in == nil { + return nil + } + out := new(ChannelEmailSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelEmailStatus) DeepCopyInto(out *ChannelEmailStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEmailStatus. +func (in *ChannelEmailStatus) DeepCopy() *ChannelEmailStatus { + if in == nil { + return nil + } + out := new(ChannelEmailStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelFacebook) DeepCopyInto(out *ChannelFacebook) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelFacebook. +func (in *ChannelFacebook) DeepCopy() *ChannelFacebook { + if in == nil { + return nil + } + out := new(ChannelFacebook) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelFacebook) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelFacebookList) DeepCopyInto(out *ChannelFacebookList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelFacebook, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelFacebookList. +func (in *ChannelFacebookList) DeepCopy() *ChannelFacebookList { + if in == nil { + return nil + } + out := new(ChannelFacebookList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelFacebookList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelFacebookObservation) DeepCopyInto(out *ChannelFacebookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelFacebookObservation. +func (in *ChannelFacebookObservation) DeepCopy() *ChannelFacebookObservation { + if in == nil { + return nil + } + out := new(ChannelFacebookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelFacebookParameters) DeepCopyInto(out *ChannelFacebookParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.FacebookApplicationID != nil { + in, out := &in.FacebookApplicationID, &out.FacebookApplicationID + *out = new(string) + **out = **in + } + out.FacebookApplicationSecretSecretRef = in.FacebookApplicationSecretSecretRef + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Page != nil { + in, out := &in.Page, &out.Page + *out = make([]PageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelFacebookParameters. +func (in *ChannelFacebookParameters) DeepCopy() *ChannelFacebookParameters { + if in == nil { + return nil + } + out := new(ChannelFacebookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelFacebookSpec) DeepCopyInto(out *ChannelFacebookSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelFacebookSpec. +func (in *ChannelFacebookSpec) DeepCopy() *ChannelFacebookSpec { + if in == nil { + return nil + } + out := new(ChannelFacebookSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelFacebookStatus) DeepCopyInto(out *ChannelFacebookStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelFacebookStatus. +func (in *ChannelFacebookStatus) DeepCopy() *ChannelFacebookStatus { + if in == nil { + return nil + } + out := new(ChannelFacebookStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelLine) DeepCopyInto(out *ChannelLine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLine. +func (in *ChannelLine) DeepCopy() *ChannelLine { + if in == nil { + return nil + } + out := new(ChannelLine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelLine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelLineList) DeepCopyInto(out *ChannelLineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelLine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLineList. +func (in *ChannelLineList) DeepCopy() *ChannelLineList { + if in == nil { + return nil + } + out := new(ChannelLineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelLineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelLineObservation) DeepCopyInto(out *ChannelLineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLineObservation. +func (in *ChannelLineObservation) DeepCopy() *ChannelLineObservation { + if in == nil { + return nil + } + out := new(ChannelLineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelLineParameters) DeepCopyInto(out *ChannelLineParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.LineChannel != nil { + in, out := &in.LineChannel, &out.LineChannel + *out = make([]LineChannelParameters, len(*in)) + copy(*out, *in) + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLineParameters. +func (in *ChannelLineParameters) DeepCopy() *ChannelLineParameters { + if in == nil { + return nil + } + out := new(ChannelLineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelLineSpec) DeepCopyInto(out *ChannelLineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLineSpec. +func (in *ChannelLineSpec) DeepCopy() *ChannelLineSpec { + if in == nil { + return nil + } + out := new(ChannelLineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelLineStatus) DeepCopyInto(out *ChannelLineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelLineStatus. +func (in *ChannelLineStatus) DeepCopy() *ChannelLineStatus { + if in == nil { + return nil + } + out := new(ChannelLineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelMsTeams) DeepCopyInto(out *ChannelMsTeams) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelMsTeams. +func (in *ChannelMsTeams) DeepCopy() *ChannelMsTeams { + if in == nil { + return nil + } + out := new(ChannelMsTeams) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelMsTeams) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelMsTeamsList) DeepCopyInto(out *ChannelMsTeamsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelMsTeams, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelMsTeamsList. +func (in *ChannelMsTeamsList) DeepCopy() *ChannelMsTeamsList { + if in == nil { + return nil + } + out := new(ChannelMsTeamsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelMsTeamsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelMsTeamsObservation) DeepCopyInto(out *ChannelMsTeamsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelMsTeamsObservation. +func (in *ChannelMsTeamsObservation) DeepCopy() *ChannelMsTeamsObservation { + if in == nil { + return nil + } + out := new(ChannelMsTeamsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelMsTeamsParameters) DeepCopyInto(out *ChannelMsTeamsParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.CallingWebHook != nil { + in, out := &in.CallingWebHook, &out.CallingWebHook + *out = new(string) + **out = **in + } + if in.EnableCalling != nil { + in, out := &in.EnableCalling, &out.EnableCalling + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelMsTeamsParameters. +func (in *ChannelMsTeamsParameters) DeepCopy() *ChannelMsTeamsParameters { + if in == nil { + return nil + } + out := new(ChannelMsTeamsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelMsTeamsSpec) DeepCopyInto(out *ChannelMsTeamsSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelMsTeamsSpec. +func (in *ChannelMsTeamsSpec) DeepCopy() *ChannelMsTeamsSpec { + if in == nil { + return nil + } + out := new(ChannelMsTeamsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelMsTeamsStatus) DeepCopyInto(out *ChannelMsTeamsStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelMsTeamsStatus. +func (in *ChannelMsTeamsStatus) DeepCopy() *ChannelMsTeamsStatus { + if in == nil { + return nil + } + out := new(ChannelMsTeamsStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSlack) DeepCopyInto(out *ChannelSlack) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSlack. +func (in *ChannelSlack) DeepCopy() *ChannelSlack { + if in == nil { + return nil + } + out := new(ChannelSlack) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelSlack) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSlackList) DeepCopyInto(out *ChannelSlackList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelSlack, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSlackList. +func (in *ChannelSlackList) DeepCopy() *ChannelSlackList { + if in == nil { + return nil + } + out := new(ChannelSlackList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelSlackList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSlackObservation) DeepCopyInto(out *ChannelSlackObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSlackObservation. +func (in *ChannelSlackObservation) DeepCopy() *ChannelSlackObservation { + if in == nil { + return nil + } + out := new(ChannelSlackObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSlackParameters) DeepCopyInto(out *ChannelSlackParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.LandingPageURL != nil { + in, out := &in.LandingPageURL, &out.LandingPageURL + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SigningSecretSecretRef != nil { + in, out := &in.SigningSecretSecretRef, &out.SigningSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + out.VerificationTokenSecretRef = in.VerificationTokenSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSlackParameters. +func (in *ChannelSlackParameters) DeepCopy() *ChannelSlackParameters { + if in == nil { + return nil + } + out := new(ChannelSlackParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSlackSpec) DeepCopyInto(out *ChannelSlackSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSlackSpec. +func (in *ChannelSlackSpec) DeepCopy() *ChannelSlackSpec { + if in == nil { + return nil + } + out := new(ChannelSlackSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSlackStatus) DeepCopyInto(out *ChannelSlackStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSlackStatus. +func (in *ChannelSlackStatus) DeepCopy() *ChannelSlackStatus { + if in == nil { + return nil + } + out := new(ChannelSlackStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSms) DeepCopyInto(out *ChannelSms) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSms. +func (in *ChannelSms) DeepCopy() *ChannelSms { + if in == nil { + return nil + } + out := new(ChannelSms) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelSms) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSmsList) DeepCopyInto(out *ChannelSmsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelSms, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSmsList. +func (in *ChannelSmsList) DeepCopy() *ChannelSmsList { + if in == nil { + return nil + } + out := new(ChannelSmsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelSmsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSmsObservation) DeepCopyInto(out *ChannelSmsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSmsObservation. +func (in *ChannelSmsObservation) DeepCopy() *ChannelSmsObservation { + if in == nil { + return nil + } + out := new(ChannelSmsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSmsParameters) DeepCopyInto(out *ChannelSmsParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.PhoneNumber != nil { + in, out := &in.PhoneNumber, &out.PhoneNumber + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SmsChannelAccountSecurityID != nil { + in, out := &in.SmsChannelAccountSecurityID, &out.SmsChannelAccountSecurityID + *out = new(string) + **out = **in + } + out.SmsChannelAuthTokenSecretRef = in.SmsChannelAuthTokenSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSmsParameters. +func (in *ChannelSmsParameters) DeepCopy() *ChannelSmsParameters { + if in == nil { + return nil + } + out := new(ChannelSmsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSmsSpec) DeepCopyInto(out *ChannelSmsSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSmsSpec. +func (in *ChannelSmsSpec) DeepCopy() *ChannelSmsSpec { + if in == nil { + return nil + } + out := new(ChannelSmsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelSmsStatus) DeepCopyInto(out *ChannelSmsStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSmsStatus. +func (in *ChannelSmsStatus) DeepCopy() *ChannelSmsStatus { + if in == nil { + return nil + } + out := new(ChannelSmsStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelWebChat) DeepCopyInto(out *ChannelWebChat) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebChat. +func (in *ChannelWebChat) DeepCopy() *ChannelWebChat { + if in == nil { + return nil + } + out := new(ChannelWebChat) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelWebChat) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelWebChatList) DeepCopyInto(out *ChannelWebChatList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelWebChat, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebChatList. +func (in *ChannelWebChatList) DeepCopy() *ChannelWebChatList { + if in == nil { + return nil + } + out := new(ChannelWebChatList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelWebChatList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelWebChatObservation) DeepCopyInto(out *ChannelWebChatObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebChatObservation. +func (in *ChannelWebChatObservation) DeepCopy() *ChannelWebChatObservation { + if in == nil { + return nil + } + out := new(ChannelWebChatObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelWebChatParameters) DeepCopyInto(out *ChannelWebChatParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SiteNames != nil { + in, out := &in.SiteNames, &out.SiteNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebChatParameters. +func (in *ChannelWebChatParameters) DeepCopy() *ChannelWebChatParameters { + if in == nil { + return nil + } + out := new(ChannelWebChatParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelWebChatSpec) DeepCopyInto(out *ChannelWebChatSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebChatSpec. +func (in *ChannelWebChatSpec) DeepCopy() *ChannelWebChatSpec { + if in == nil { + return nil + } + out := new(ChannelWebChatSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelWebChatStatus) DeepCopyInto(out *ChannelWebChatStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelWebChatStatus. +func (in *ChannelWebChatStatus) DeepCopy() *ChannelWebChatStatus { + if in == nil { + return nil + } + out := new(ChannelWebChatStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelsRegistration) DeepCopyInto(out *ChannelsRegistration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelsRegistration. +func (in *ChannelsRegistration) DeepCopy() *ChannelsRegistration { + if in == nil { + return nil + } + out := new(ChannelsRegistration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelsRegistration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelsRegistrationList) DeepCopyInto(out *ChannelsRegistrationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ChannelsRegistration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelsRegistrationList. +func (in *ChannelsRegistrationList) DeepCopy() *ChannelsRegistrationList { + if in == nil { + return nil + } + out := new(ChannelsRegistrationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ChannelsRegistrationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelsRegistrationObservation) DeepCopyInto(out *ChannelsRegistrationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelsRegistrationObservation. +func (in *ChannelsRegistrationObservation) DeepCopy() *ChannelsRegistrationObservation { + if in == nil { + return nil + } + out := new(ChannelsRegistrationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelsRegistrationParameters) DeepCopyInto(out *ChannelsRegistrationParameters) { + *out = *in + if in.CmkKeyVaultURL != nil { + in, out := &in.CmkKeyVaultURL, &out.CmkKeyVaultURL + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DeveloperAppInsightsAPIKeySecretRef != nil { + in, out := &in.DeveloperAppInsightsAPIKeySecretRef, &out.DeveloperAppInsightsAPIKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DeveloperAppInsightsApplicationID != nil { + in, out := &in.DeveloperAppInsightsApplicationID, &out.DeveloperAppInsightsApplicationID + *out = new(string) + **out = **in + } + if in.DeveloperAppInsightsKey != nil { + in, out := &in.DeveloperAppInsightsKey, &out.DeveloperAppInsightsKey + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.IconURL != nil { + in, out := &in.IconURL, &out.IconURL + *out = new(string) + **out = **in + } + if in.IsolatedNetworkEnabled != nil { + in, out := &in.IsolatedNetworkEnabled, &out.IsolatedNetworkEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MicrosoftAppID != nil { + in, out := &in.MicrosoftAppID, &out.MicrosoftAppID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelsRegistrationParameters. +func (in *ChannelsRegistrationParameters) DeepCopy() *ChannelsRegistrationParameters { + if in == nil { + return nil + } + out := new(ChannelsRegistrationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelsRegistrationSpec) DeepCopyInto(out *ChannelsRegistrationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelsRegistrationSpec. +func (in *ChannelsRegistrationSpec) DeepCopy() *ChannelsRegistrationSpec { + if in == nil { + return nil + } + out := new(ChannelsRegistrationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ChannelsRegistrationStatus) DeepCopyInto(out *ChannelsRegistrationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelsRegistrationStatus. +func (in *ChannelsRegistrationStatus) DeepCopy() *ChannelsRegistrationStatus { + if in == nil { + return nil + } + out := new(ChannelsRegistrationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Connection) DeepCopyInto(out *Connection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection. +func (in *Connection) DeepCopy() *Connection { + if in == nil { + return nil + } + out := new(Connection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Connection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionList) DeepCopyInto(out *ConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Connection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionList. +func (in *ConnectionList) DeepCopy() *ConnectionList { + if in == nil { + return nil + } + out := new(ConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionObservation. +func (in *ConnectionObservation) DeepCopy() *ConnectionObservation { + if in == nil { + return nil + } + out := new(ConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { + *out = *in + if in.BotName != nil { + in, out := &in.BotName, &out.BotName + *out = new(string) + **out = **in + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *out = new(string) + **out = **in + } + if in.ServiceProviderName != nil { + in, out := &in.ServiceProviderName, &out.ServiceProviderName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionParameters. +func (in *ConnectionParameters) DeepCopy() *ConnectionParameters { + if in == nil { + return nil + } + out := new(ConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpec. +func (in *ConnectionSpec) DeepCopy() *ConnectionSpec { + if in == nil { + return nil + } + out := new(ConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStatus. +func (in *ConnectionStatus) DeepCopy() *ConnectionStatus { + if in == nil { + return nil + } + out := new(ConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LineChannelObservation) DeepCopyInto(out *LineChannelObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LineChannelObservation. +func (in *LineChannelObservation) DeepCopy() *LineChannelObservation { + if in == nil { + return nil + } + out := new(LineChannelObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LineChannelParameters) DeepCopyInto(out *LineChannelParameters) { + *out = *in + out.AccessTokenSecretRef = in.AccessTokenSecretRef + out.SecretSecretRef = in.SecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LineChannelParameters. +func (in *LineChannelParameters) DeepCopy() *LineChannelParameters { + if in == nil { + return nil + } + out := new(LineChannelParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PageObservation) DeepCopyInto(out *PageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PageObservation. +func (in *PageObservation) DeepCopy() *PageObservation { + if in == nil { + return nil + } + out := new(PageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PageParameters) DeepCopyInto(out *PageParameters) { + *out = *in + out.AccessTokenSecretRef = in.AccessTokenSecretRef + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PageParameters. +func (in *PageParameters) DeepCopy() *PageParameters { + if in == nil { + return nil + } + out := new(PageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteObservation) DeepCopyInto(out *SiteObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteObservation. +func (in *SiteObservation) DeepCopy() *SiteObservation { + if in == nil { + return nil + } + out := new(SiteObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteParameters) DeepCopyInto(out *SiteParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.EnhancedAuthenticationEnabled != nil { + in, out := &in.EnhancedAuthenticationEnabled, &out.EnhancedAuthenticationEnabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.TrustedOrigins != nil { + in, out := &in.TrustedOrigins, &out.TrustedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.V1Allowed != nil { + in, out := &in.V1Allowed, &out.V1Allowed + *out = new(bool) + **out = **in + } + if in.V3Allowed != nil { + in, out := &in.V3Allowed, &out.V3Allowed + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteParameters. +func (in *SiteParameters) DeepCopy() *SiteParameters { + if in == nil { + return nil + } + out := new(SiteParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebApp) DeepCopyInto(out *WebApp) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApp. +func (in *WebApp) DeepCopy() *WebApp { + if in == nil { + return nil + } + out := new(WebApp) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WebApp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebAppList) DeepCopyInto(out *WebAppList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WebApp, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppList. +func (in *WebAppList) DeepCopy() *WebAppList { + if in == nil { + return nil + } + out := new(WebAppList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WebAppList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebAppObservation) DeepCopyInto(out *WebAppObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppObservation. +func (in *WebAppObservation) DeepCopy() *WebAppObservation { + if in == nil { + return nil + } + out := new(WebAppObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebAppParameters) DeepCopyInto(out *WebAppParameters) { + *out = *in + if in.DeveloperAppInsightsAPIKeySecretRef != nil { + in, out := &in.DeveloperAppInsightsAPIKeySecretRef, &out.DeveloperAppInsightsAPIKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DeveloperAppInsightsApplicationID != nil { + in, out := &in.DeveloperAppInsightsApplicationID, &out.DeveloperAppInsightsApplicationID + *out = new(string) + **out = **in + } + if in.DeveloperAppInsightsKey != nil { + in, out := &in.DeveloperAppInsightsKey, &out.DeveloperAppInsightsKey + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LuisAppIds != nil { + in, out := &in.LuisAppIds, &out.LuisAppIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LuisKeySecretRef != nil { + in, out := &in.LuisKeySecretRef, &out.LuisKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.MicrosoftAppID != nil { + in, out := &in.MicrosoftAppID, &out.MicrosoftAppID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppParameters. +func (in *WebAppParameters) DeepCopy() *WebAppParameters { + if in == nil { + return nil + } + out := new(WebAppParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebAppSpec) DeepCopyInto(out *WebAppSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppSpec. +func (in *WebAppSpec) DeepCopy() *WebAppSpec { + if in == nil { + return nil + } + out := new(WebAppSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebAppStatus) DeepCopyInto(out *WebAppStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppStatus. +func (in *WebAppStatus) DeepCopy() *WebAppStatus { + if in == nil { + return nil + } + out := new(WebAppStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/bot/v1alpha1/zz_generated.managed.go b/apis/bot/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e34c10e29 --- /dev/null +++ b/apis/bot/v1alpha1/zz_generated.managed.go @@ -0,0 +1,748 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ChannelAlexa. +func (mg *ChannelAlexa) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelAlexa. +func (mg *ChannelAlexa) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelAlexa. +func (mg *ChannelAlexa) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelAlexa. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelAlexa) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelAlexa. +func (mg *ChannelAlexa) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelAlexa. +func (mg *ChannelAlexa) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelAlexa. +func (mg *ChannelAlexa) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelAlexa. +func (mg *ChannelAlexa) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelAlexa. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelAlexa) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelAlexa. +func (mg *ChannelAlexa) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelDirectLineSpeech. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelDirectLineSpeech) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelDirectLineSpeech. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelDirectLineSpeech) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelDirectLineSpeech. +func (mg *ChannelDirectLineSpeech) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelDirectline. +func (mg *ChannelDirectline) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelDirectline. +func (mg *ChannelDirectline) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelDirectline. +func (mg *ChannelDirectline) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelDirectline. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelDirectline) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelDirectline. +func (mg *ChannelDirectline) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelDirectline. +func (mg *ChannelDirectline) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelDirectline. +func (mg *ChannelDirectline) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelDirectline. +func (mg *ChannelDirectline) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelDirectline. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelDirectline) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelDirectline. +func (mg *ChannelDirectline) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelEmail. +func (mg *ChannelEmail) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelEmail. +func (mg *ChannelEmail) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelEmail. +func (mg *ChannelEmail) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelEmail. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelEmail) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelEmail. +func (mg *ChannelEmail) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelEmail. +func (mg *ChannelEmail) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelEmail. +func (mg *ChannelEmail) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelEmail. +func (mg *ChannelEmail) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelEmail. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelEmail) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelEmail. +func (mg *ChannelEmail) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelFacebook. +func (mg *ChannelFacebook) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelFacebook. +func (mg *ChannelFacebook) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelFacebook. +func (mg *ChannelFacebook) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelFacebook. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelFacebook) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelFacebook. +func (mg *ChannelFacebook) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelFacebook. +func (mg *ChannelFacebook) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelFacebook. +func (mg *ChannelFacebook) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelFacebook. +func (mg *ChannelFacebook) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelFacebook. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelFacebook) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelFacebook. +func (mg *ChannelFacebook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelLine. +func (mg *ChannelLine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelLine. +func (mg *ChannelLine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelLine. +func (mg *ChannelLine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelLine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelLine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelLine. +func (mg *ChannelLine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelLine. +func (mg *ChannelLine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelLine. +func (mg *ChannelLine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelLine. +func (mg *ChannelLine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelLine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelLine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelLine. +func (mg *ChannelLine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelMsTeams. +func (mg *ChannelMsTeams) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelMsTeams. +func (mg *ChannelMsTeams) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelMsTeams. +func (mg *ChannelMsTeams) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelMsTeams. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelMsTeams) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelMsTeams. +func (mg *ChannelMsTeams) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelMsTeams. +func (mg *ChannelMsTeams) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelMsTeams. +func (mg *ChannelMsTeams) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelMsTeams. +func (mg *ChannelMsTeams) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelMsTeams. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelMsTeams) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelMsTeams. +func (mg *ChannelMsTeams) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelSlack. +func (mg *ChannelSlack) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelSlack. +func (mg *ChannelSlack) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelSlack. +func (mg *ChannelSlack) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelSlack. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelSlack) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelSlack. +func (mg *ChannelSlack) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelSlack. +func (mg *ChannelSlack) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelSlack. +func (mg *ChannelSlack) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelSlack. +func (mg *ChannelSlack) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelSlack. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelSlack) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelSlack. +func (mg *ChannelSlack) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelSms. +func (mg *ChannelSms) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelSms. +func (mg *ChannelSms) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelSms. +func (mg *ChannelSms) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelSms. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelSms) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelSms. +func (mg *ChannelSms) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelSms. +func (mg *ChannelSms) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelSms. +func (mg *ChannelSms) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelSms. +func (mg *ChannelSms) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelSms. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelSms) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelSms. +func (mg *ChannelSms) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelWebChat. +func (mg *ChannelWebChat) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelWebChat. +func (mg *ChannelWebChat) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelWebChat. +func (mg *ChannelWebChat) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelWebChat. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelWebChat) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelWebChat. +func (mg *ChannelWebChat) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelWebChat. +func (mg *ChannelWebChat) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelWebChat. +func (mg *ChannelWebChat) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelWebChat. +func (mg *ChannelWebChat) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelWebChat. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelWebChat) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelWebChat. +func (mg *ChannelWebChat) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ChannelsRegistration. +func (mg *ChannelsRegistration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ChannelsRegistration. +func (mg *ChannelsRegistration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ChannelsRegistration. +func (mg *ChannelsRegistration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ChannelsRegistration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ChannelsRegistration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ChannelsRegistration. +func (mg *ChannelsRegistration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ChannelsRegistration. +func (mg *ChannelsRegistration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ChannelsRegistration. +func (mg *ChannelsRegistration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ChannelsRegistration. +func (mg *ChannelsRegistration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ChannelsRegistration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ChannelsRegistration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ChannelsRegistration. +func (mg *ChannelsRegistration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Connection. +func (mg *Connection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Connection. +func (mg *Connection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Connection. +func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Connection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Connection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Connection. +func (mg *Connection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Connection. +func (mg *Connection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Connection. +func (mg *Connection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Connection. +func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Connection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Connection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Connection. +func (mg *Connection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WebApp. +func (mg *WebApp) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WebApp. +func (mg *WebApp) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WebApp. +func (mg *WebApp) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WebApp. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WebApp) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WebApp. +func (mg *WebApp) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WebApp. +func (mg *WebApp) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WebApp. +func (mg *WebApp) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WebApp. +func (mg *WebApp) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WebApp. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WebApp) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WebApp. +func (mg *WebApp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/bot/v1alpha1/zz_generated.managedlist.go b/apis/bot/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..f3d02ce7e --- /dev/null +++ b/apis/bot/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,137 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ChannelAlexaList. +func (l *ChannelAlexaList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelDirectLineSpeechList. +func (l *ChannelDirectLineSpeechList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelDirectlineList. +func (l *ChannelDirectlineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelEmailList. +func (l *ChannelEmailList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelFacebookList. +func (l *ChannelFacebookList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelLineList. +func (l *ChannelLineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelMsTeamsList. +func (l *ChannelMsTeamsList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelSlackList. +func (l *ChannelSlackList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelSmsList. +func (l *ChannelSmsList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelWebChatList. +func (l *ChannelWebChatList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ChannelsRegistrationList. +func (l *ChannelsRegistrationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConnectionList. +func (l *ConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WebAppList. +func (l *WebAppList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/bot/v1alpha1/zz_groupversion_info.go b/apis/bot/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..3e9aa0f0e --- /dev/null +++ b/apis/bot/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=bot.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "bot.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/bot/v1alpha1/zz_webapp_terraformed.go b/apis/bot/v1alpha1/zz_webapp_terraformed.go new file mode 100755 index 000000000..f2cc03765 --- /dev/null +++ b/apis/bot/v1alpha1/zz_webapp_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WebApp +func (mg *WebApp) GetTerraformResourceType() string { + return "azurerm_bot_web_app" +} + +// GetConnectionDetailsMapping for this WebApp +func (tr *WebApp) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"developer_app_insights_api_key": "spec.forProvider.developerAppInsightsAPIKeySecretRef", "luis_key": "spec.forProvider.luisKeySecretRef"} +} + +// GetObservation of this WebApp +func (tr *WebApp) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WebApp +func (tr *WebApp) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WebApp +func (tr *WebApp) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WebApp +func (tr *WebApp) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WebApp using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WebApp) LateInitialize(attrs []byte) (bool, error) { + params := &WebAppParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WebApp) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/bot/v1alpha1/zz_webapp_types.go b/apis/bot/v1alpha1/zz_webapp_types.go new file mode 100755 index 000000000..2a5abda36 --- /dev/null +++ b/apis/bot/v1alpha1/zz_webapp_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WebAppObservation struct { +} + +type WebAppParameters struct { + + // +kubebuilder:validation:Optional + DeveloperAppInsightsAPIKeySecretRef *v1.SecretKeySelector `json:"developerAppInsightsApiKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DeveloperAppInsightsApplicationID *string `json:"developerAppInsightsApplicationId,omitempty" tf:"developer_app_insights_application_id,omitempty"` + + // +kubebuilder:validation:Optional + DeveloperAppInsightsKey *string `json:"developerAppInsightsKey,omitempty" tf:"developer_app_insights_key,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + LuisAppIds []*string `json:"luisAppIds,omitempty" tf:"luis_app_ids,omitempty"` + + // +kubebuilder:validation:Optional + LuisKeySecretRef *v1.SecretKeySelector `json:"luisKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + MicrosoftAppID *string `json:"microsoftAppId" tf:"microsoft_app_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// WebAppSpec defines the desired state of WebApp +type WebAppSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WebAppParameters `json:"forProvider"` +} + +// WebAppStatus defines the observed state of WebApp. +type WebAppStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WebAppObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WebApp is the Schema for the WebApps API +// +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,azurejet} +type WebApp struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WebAppSpec `json:"spec"` + Status WebAppStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WebAppList contains a list of WebApps +type WebAppList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WebApp `json:"items"` +} + +// Repository type metadata. +var ( + WebApp_Kind = "WebApp" + WebApp_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WebApp_Kind}.String() + WebApp_KindAPIVersion = WebApp_Kind + "." + CRDGroupVersion.String() + WebApp_GroupVersionKind = CRDGroupVersion.WithKind(WebApp_Kind) +) + +func init() { + SchemeBuilder.Register(&WebApp{}, &WebAppList{}) +} diff --git a/apis/cdn/v1alpha1/zz_endpoint_terraformed.go b/apis/cdn/v1alpha1/zz_endpoint_terraformed.go new file mode 100755 index 000000000..647426ead --- /dev/null +++ b/apis/cdn/v1alpha1/zz_endpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Endpoint +func (mg *Endpoint) GetTerraformResourceType() string { + return "azurerm_cdn_endpoint" +} + +// GetConnectionDetailsMapping for this Endpoint +func (tr *Endpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Endpoint +func (tr *Endpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Endpoint +func (tr *Endpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Endpoint +func (tr *Endpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Endpoint +func (tr *Endpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Endpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Endpoint) LateInitialize(attrs []byte) (bool, error) { + params := &EndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Endpoint) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/cdn/v1alpha1/zz_endpoint_types.go b/apis/cdn/v1alpha1/zz_endpoint_types.go new file mode 100755 index 000000000..14c9bfbc9 --- /dev/null +++ b/apis/cdn/v1alpha1/zz_endpoint_types.go @@ -0,0 +1,697 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CacheExpirationActionObservation struct { +} + +type CacheExpirationActionParameters struct { + + // +kubebuilder:validation:Required + Behavior *string `json:"behavior" tf:"behavior,omitempty"` + + // +kubebuilder:validation:Optional + Duration *string `json:"duration,omitempty" tf:"duration,omitempty"` +} + +type CacheKeyQueryStringActionObservation struct { +} + +type CacheKeyQueryStringActionParameters struct { + + // +kubebuilder:validation:Required + Behavior *string `json:"behavior" tf:"behavior,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type CookiesConditionObservation struct { +} + +type CookiesConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type DeliveryRuleObservation struct { +} + +type DeliveryRuleParameters struct { + + // +kubebuilder:validation:Optional + CacheExpirationAction []CacheExpirationActionParameters `json:"cacheExpirationAction,omitempty" tf:"cache_expiration_action,omitempty"` + + // +kubebuilder:validation:Optional + CacheKeyQueryStringAction []CacheKeyQueryStringActionParameters `json:"cacheKeyQueryStringAction,omitempty" tf:"cache_key_query_string_action,omitempty"` + + // +kubebuilder:validation:Optional + CookiesCondition []CookiesConditionParameters `json:"cookiesCondition,omitempty" tf:"cookies_condition,omitempty"` + + // +kubebuilder:validation:Optional + DeviceCondition []DeviceConditionParameters `json:"deviceCondition,omitempty" tf:"device_condition,omitempty"` + + // +kubebuilder:validation:Optional + HTTPVersionCondition []HTTPVersionConditionParameters `json:"httpVersionCondition,omitempty" tf:"http_version_condition,omitempty"` + + // +kubebuilder:validation:Optional + ModifyRequestHeaderAction []ModifyRequestHeaderActionParameters `json:"modifyRequestHeaderAction,omitempty" tf:"modify_request_header_action,omitempty"` + + // +kubebuilder:validation:Optional + ModifyResponseHeaderAction []ModifyResponseHeaderActionParameters `json:"modifyResponseHeaderAction,omitempty" tf:"modify_response_header_action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Order *int64 `json:"order" tf:"order,omitempty"` + + // +kubebuilder:validation:Optional + PostArgCondition []PostArgConditionParameters `json:"postArgCondition,omitempty" tf:"post_arg_condition,omitempty"` + + // +kubebuilder:validation:Optional + QueryStringCondition []QueryStringConditionParameters `json:"queryStringCondition,omitempty" tf:"query_string_condition,omitempty"` + + // +kubebuilder:validation:Optional + RemoteAddressCondition []RemoteAddressConditionParameters `json:"remoteAddressCondition,omitempty" tf:"remote_address_condition,omitempty"` + + // +kubebuilder:validation:Optional + RequestBodyCondition []RequestBodyConditionParameters `json:"requestBodyCondition,omitempty" tf:"request_body_condition,omitempty"` + + // +kubebuilder:validation:Optional + RequestHeaderCondition []RequestHeaderConditionParameters `json:"requestHeaderCondition,omitempty" tf:"request_header_condition,omitempty"` + + // +kubebuilder:validation:Optional + RequestMethodCondition []RequestMethodConditionParameters `json:"requestMethodCondition,omitempty" tf:"request_method_condition,omitempty"` + + // +kubebuilder:validation:Optional + RequestSchemeCondition []RequestSchemeConditionParameters `json:"requestSchemeCondition,omitempty" tf:"request_scheme_condition,omitempty"` + + // +kubebuilder:validation:Optional + RequestURICondition []RequestURIConditionParameters `json:"requestUriCondition,omitempty" tf:"request_uri_condition,omitempty"` + + // +kubebuilder:validation:Optional + URLFileExtensionCondition []URLFileExtensionConditionParameters `json:"urlFileExtensionCondition,omitempty" tf:"url_file_extension_condition,omitempty"` + + // +kubebuilder:validation:Optional + URLFileNameCondition []URLFileNameConditionParameters `json:"urlFileNameCondition,omitempty" tf:"url_file_name_condition,omitempty"` + + // +kubebuilder:validation:Optional + URLPathCondition []URLPathConditionParameters `json:"urlPathCondition,omitempty" tf:"url_path_condition,omitempty"` + + // +kubebuilder:validation:Optional + URLRedirectAction []URLRedirectActionParameters `json:"urlRedirectAction,omitempty" tf:"url_redirect_action,omitempty"` + + // +kubebuilder:validation:Optional + URLRewriteAction []URLRewriteActionParameters `json:"urlRewriteAction,omitempty" tf:"url_rewrite_action,omitempty"` +} + +type DeviceConditionObservation struct { +} + +type DeviceConditionParameters struct { + + // +kubebuilder:validation:Required + MatchValues []*string `json:"matchValues" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` +} + +type EndpointObservation struct { + HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"` +} + +type EndpointParameters struct { + + // +kubebuilder:validation:Optional + ContentTypesToCompress []*string `json:"contentTypesToCompress,omitempty" tf:"content_types_to_compress,omitempty"` + + // +kubebuilder:validation:Optional + DeliveryRule []DeliveryRuleParameters `json:"deliveryRule,omitempty" tf:"delivery_rule,omitempty"` + + // +kubebuilder:validation:Optional + GeoFilter []GeoFilterParameters `json:"geoFilter,omitempty" tf:"geo_filter,omitempty"` + + // +kubebuilder:validation:Optional + GlobalDeliveryRule []GlobalDeliveryRuleParameters `json:"globalDeliveryRule,omitempty" tf:"global_delivery_rule,omitempty"` + + // +kubebuilder:validation:Optional + IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty" tf:"is_compression_enabled,omitempty"` + + // +kubebuilder:validation:Optional + IsHTTPAllowed *bool `json:"isHttpAllowed,omitempty" tf:"is_http_allowed,omitempty"` + + // +kubebuilder:validation:Optional + IsHTTPSAllowed *bool `json:"isHttpsAllowed,omitempty" tf:"is_https_allowed,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OptimizationType *string `json:"optimizationType,omitempty" tf:"optimization_type,omitempty"` + + // +kubebuilder:validation:Required + Origin []OriginParameters `json:"origin" tf:"origin,omitempty"` + + // +kubebuilder:validation:Optional + OriginHostHeader *string `json:"originHostHeader,omitempty" tf:"origin_host_header,omitempty"` + + // +kubebuilder:validation:Optional + OriginPath *string `json:"originPath,omitempty" tf:"origin_path,omitempty"` + + // +kubebuilder:validation:Optional + ProbePath *string `json:"probePath,omitempty" tf:"probe_path,omitempty"` + + // +kubebuilder:validation:Required + ProfileName *string `json:"profileName" tf:"profile_name,omitempty"` + + // +kubebuilder:validation:Optional + QuerystringCachingBehaviour *string `json:"querystringCachingBehaviour,omitempty" tf:"querystring_caching_behaviour,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type GeoFilterObservation struct { +} + +type GeoFilterParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + CountryCodes []*string `json:"countryCodes" tf:"country_codes,omitempty"` + + // +kubebuilder:validation:Required + RelativePath *string `json:"relativePath" tf:"relative_path,omitempty"` +} + +type GlobalDeliveryRuleCacheExpirationActionObservation struct { +} + +type GlobalDeliveryRuleCacheExpirationActionParameters struct { + + // +kubebuilder:validation:Required + Behavior *string `json:"behavior" tf:"behavior,omitempty"` + + // +kubebuilder:validation:Optional + Duration *string `json:"duration,omitempty" tf:"duration,omitempty"` +} + +type GlobalDeliveryRuleCacheKeyQueryStringActionObservation struct { +} + +type GlobalDeliveryRuleCacheKeyQueryStringActionParameters struct { + + // +kubebuilder:validation:Required + Behavior *string `json:"behavior" tf:"behavior,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type GlobalDeliveryRuleModifyRequestHeaderActionObservation struct { +} + +type GlobalDeliveryRuleModifyRequestHeaderActionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type GlobalDeliveryRuleModifyResponseHeaderActionObservation struct { +} + +type GlobalDeliveryRuleModifyResponseHeaderActionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type GlobalDeliveryRuleObservation struct { +} + +type GlobalDeliveryRuleParameters struct { + + // +kubebuilder:validation:Optional + CacheExpirationAction []GlobalDeliveryRuleCacheExpirationActionParameters `json:"cacheExpirationAction,omitempty" tf:"cache_expiration_action,omitempty"` + + // +kubebuilder:validation:Optional + CacheKeyQueryStringAction []GlobalDeliveryRuleCacheKeyQueryStringActionParameters `json:"cacheKeyQueryStringAction,omitempty" tf:"cache_key_query_string_action,omitempty"` + + // +kubebuilder:validation:Optional + ModifyRequestHeaderAction []GlobalDeliveryRuleModifyRequestHeaderActionParameters `json:"modifyRequestHeaderAction,omitempty" tf:"modify_request_header_action,omitempty"` + + // +kubebuilder:validation:Optional + ModifyResponseHeaderAction []GlobalDeliveryRuleModifyResponseHeaderActionParameters `json:"modifyResponseHeaderAction,omitempty" tf:"modify_response_header_action,omitempty"` + + // +kubebuilder:validation:Optional + URLRedirectAction []GlobalDeliveryRuleURLRedirectActionParameters `json:"urlRedirectAction,omitempty" tf:"url_redirect_action,omitempty"` + + // +kubebuilder:validation:Optional + URLRewriteAction []GlobalDeliveryRuleURLRewriteActionParameters `json:"urlRewriteAction,omitempty" tf:"url_rewrite_action,omitempty"` +} + +type GlobalDeliveryRuleURLRedirectActionObservation struct { +} + +type GlobalDeliveryRuleURLRedirectActionParameters struct { + + // +kubebuilder:validation:Optional + Fragment *string `json:"fragment,omitempty" tf:"fragment,omitempty"` + + // +kubebuilder:validation:Optional + Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + QueryString *string `json:"queryString,omitempty" tf:"query_string,omitempty"` + + // +kubebuilder:validation:Required + RedirectType *string `json:"redirectType" tf:"redirect_type,omitempty"` +} + +type GlobalDeliveryRuleURLRewriteActionObservation struct { +} + +type GlobalDeliveryRuleURLRewriteActionParameters struct { + + // +kubebuilder:validation:Required + Destination *string `json:"destination" tf:"destination,omitempty"` + + // +kubebuilder:validation:Optional + PreserveUnmatchedPath *bool `json:"preserveUnmatchedPath,omitempty" tf:"preserve_unmatched_path,omitempty"` + + // +kubebuilder:validation:Required + SourcePattern *string `json:"sourcePattern" tf:"source_pattern,omitempty"` +} + +type HTTPVersionConditionObservation struct { +} + +type HTTPVersionConditionParameters struct { + + // +kubebuilder:validation:Required + MatchValues []*string `json:"matchValues" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` +} + +type ModifyRequestHeaderActionObservation struct { +} + +type ModifyRequestHeaderActionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type ModifyResponseHeaderActionObservation struct { +} + +type ModifyResponseHeaderActionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type OriginObservation struct { +} + +type OriginParameters struct { + + // +kubebuilder:validation:Optional + HTTPPort *int64 `json:"httpPort,omitempty" tf:"http_port,omitempty"` + + // +kubebuilder:validation:Optional + HTTPSPort *int64 `json:"httpsPort,omitempty" tf:"https_port,omitempty"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type PostArgConditionObservation struct { +} + +type PostArgConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type QueryStringConditionObservation struct { +} + +type QueryStringConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type RemoteAddressConditionObservation struct { +} + +type RemoteAddressConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` +} + +type RequestBodyConditionObservation struct { +} + +type RequestBodyConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type RequestHeaderConditionObservation struct { +} + +type RequestHeaderConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type RequestMethodConditionObservation struct { +} + +type RequestMethodConditionParameters struct { + + // +kubebuilder:validation:Required + MatchValues []*string `json:"matchValues" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` +} + +type RequestSchemeConditionObservation struct { +} + +type RequestSchemeConditionParameters struct { + + // +kubebuilder:validation:Required + MatchValues []*string `json:"matchValues" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` +} + +type RequestURIConditionObservation struct { +} + +type RequestURIConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type URLFileExtensionConditionObservation struct { +} + +type URLFileExtensionConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type URLFileNameConditionObservation struct { +} + +type URLFileNameConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type URLPathConditionObservation struct { +} + +type URLPathConditionParameters struct { + + // +kubebuilder:validation:Optional + MatchValues []*string `json:"matchValues,omitempty" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type URLRedirectActionObservation struct { +} + +type URLRedirectActionParameters struct { + + // +kubebuilder:validation:Optional + Fragment *string `json:"fragment,omitempty" tf:"fragment,omitempty"` + + // +kubebuilder:validation:Optional + Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + QueryString *string `json:"queryString,omitempty" tf:"query_string,omitempty"` + + // +kubebuilder:validation:Required + RedirectType *string `json:"redirectType" tf:"redirect_type,omitempty"` +} + +type URLRewriteActionObservation struct { +} + +type URLRewriteActionParameters struct { + + // +kubebuilder:validation:Required + Destination *string `json:"destination" tf:"destination,omitempty"` + + // +kubebuilder:validation:Optional + PreserveUnmatchedPath *bool `json:"preserveUnmatchedPath,omitempty" tf:"preserve_unmatched_path,omitempty"` + + // +kubebuilder:validation:Required + SourcePattern *string `json:"sourcePattern" tf:"source_pattern,omitempty"` +} + +// EndpointSpec defines the desired state of Endpoint +type EndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EndpointParameters `json:"forProvider"` +} + +// EndpointStatus defines the observed state of Endpoint. +type EndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Endpoint is the Schema for the Endpoints API +// +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,azurejet} +type Endpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EndpointSpec `json:"spec"` + Status EndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EndpointList contains a list of Endpoints +type EndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Endpoint `json:"items"` +} + +// Repository type metadata. +var ( + Endpoint_Kind = "Endpoint" + Endpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Endpoint_Kind}.String() + Endpoint_KindAPIVersion = Endpoint_Kind + "." + CRDGroupVersion.String() + Endpoint_GroupVersionKind = CRDGroupVersion.WithKind(Endpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&Endpoint{}, &EndpointList{}) +} diff --git a/apis/cdn/v1alpha1/zz_endpointcustomdomain_terraformed.go b/apis/cdn/v1alpha1/zz_endpointcustomdomain_terraformed.go new file mode 100755 index 000000000..a94c70aea --- /dev/null +++ b/apis/cdn/v1alpha1/zz_endpointcustomdomain_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EndpointCustomDomain +func (mg *EndpointCustomDomain) GetTerraformResourceType() string { + return "azurerm_cdn_endpoint_custom_domain" +} + +// GetConnectionDetailsMapping for this EndpointCustomDomain +func (tr *EndpointCustomDomain) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EndpointCustomDomain +func (tr *EndpointCustomDomain) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EndpointCustomDomain +func (tr *EndpointCustomDomain) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EndpointCustomDomain +func (tr *EndpointCustomDomain) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EndpointCustomDomain +func (tr *EndpointCustomDomain) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EndpointCustomDomain using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EndpointCustomDomain) LateInitialize(attrs []byte) (bool, error) { + params := &EndpointCustomDomainParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EndpointCustomDomain) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cdn/v1alpha1/zz_endpointcustomdomain_types.go b/apis/cdn/v1alpha1/zz_endpointcustomdomain_types.go new file mode 100755 index 000000000..41b298ae9 --- /dev/null +++ b/apis/cdn/v1alpha1/zz_endpointcustomdomain_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EndpointCustomDomainObservation struct { +} + +type EndpointCustomDomainParameters struct { + + // +kubebuilder:validation:Required + CdnEndpointID *string `json:"cdnEndpointId" tf:"cdn_endpoint_id,omitempty"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// EndpointCustomDomainSpec defines the desired state of EndpointCustomDomain +type EndpointCustomDomainSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EndpointCustomDomainParameters `json:"forProvider"` +} + +// EndpointCustomDomainStatus defines the observed state of EndpointCustomDomain. +type EndpointCustomDomainStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EndpointCustomDomainObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EndpointCustomDomain is the Schema for the EndpointCustomDomains API +// +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,azurejet} +type EndpointCustomDomain struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EndpointCustomDomainSpec `json:"spec"` + Status EndpointCustomDomainStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EndpointCustomDomainList contains a list of EndpointCustomDomains +type EndpointCustomDomainList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EndpointCustomDomain `json:"items"` +} + +// Repository type metadata. +var ( + EndpointCustomDomain_Kind = "EndpointCustomDomain" + EndpointCustomDomain_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EndpointCustomDomain_Kind}.String() + EndpointCustomDomain_KindAPIVersion = EndpointCustomDomain_Kind + "." + CRDGroupVersion.String() + EndpointCustomDomain_GroupVersionKind = CRDGroupVersion.WithKind(EndpointCustomDomain_Kind) +) + +func init() { + SchemeBuilder.Register(&EndpointCustomDomain{}, &EndpointCustomDomainList{}) +} diff --git a/apis/cdn/v1alpha1/zz_generated.deepcopy.go b/apis/cdn/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..fbf9ab3aa --- /dev/null +++ b/apis/cdn/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2294 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheExpirationActionObservation) DeepCopyInto(out *CacheExpirationActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheExpirationActionObservation. +func (in *CacheExpirationActionObservation) DeepCopy() *CacheExpirationActionObservation { + if in == nil { + return nil + } + out := new(CacheExpirationActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheExpirationActionParameters) DeepCopyInto(out *CacheExpirationActionParameters) { + *out = *in + if in.Behavior != nil { + in, out := &in.Behavior, &out.Behavior + *out = new(string) + **out = **in + } + if in.Duration != nil { + in, out := &in.Duration, &out.Duration + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheExpirationActionParameters. +func (in *CacheExpirationActionParameters) DeepCopy() *CacheExpirationActionParameters { + if in == nil { + return nil + } + out := new(CacheExpirationActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheKeyQueryStringActionObservation) DeepCopyInto(out *CacheKeyQueryStringActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheKeyQueryStringActionObservation. +func (in *CacheKeyQueryStringActionObservation) DeepCopy() *CacheKeyQueryStringActionObservation { + if in == nil { + return nil + } + out := new(CacheKeyQueryStringActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheKeyQueryStringActionParameters) DeepCopyInto(out *CacheKeyQueryStringActionParameters) { + *out = *in + if in.Behavior != nil { + in, out := &in.Behavior, &out.Behavior + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheKeyQueryStringActionParameters. +func (in *CacheKeyQueryStringActionParameters) DeepCopy() *CacheKeyQueryStringActionParameters { + if in == nil { + return nil + } + out := new(CacheKeyQueryStringActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CookiesConditionObservation) DeepCopyInto(out *CookiesConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CookiesConditionObservation. +func (in *CookiesConditionObservation) DeepCopy() *CookiesConditionObservation { + if in == nil { + return nil + } + out := new(CookiesConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CookiesConditionParameters) DeepCopyInto(out *CookiesConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CookiesConditionParameters. +func (in *CookiesConditionParameters) DeepCopy() *CookiesConditionParameters { + if in == nil { + return nil + } + out := new(CookiesConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryRuleObservation) DeepCopyInto(out *DeliveryRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryRuleObservation. +func (in *DeliveryRuleObservation) DeepCopy() *DeliveryRuleObservation { + if in == nil { + return nil + } + out := new(DeliveryRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryRuleParameters) DeepCopyInto(out *DeliveryRuleParameters) { + *out = *in + if in.CacheExpirationAction != nil { + in, out := &in.CacheExpirationAction, &out.CacheExpirationAction + *out = make([]CacheExpirationActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CacheKeyQueryStringAction != nil { + in, out := &in.CacheKeyQueryStringAction, &out.CacheKeyQueryStringAction + *out = make([]CacheKeyQueryStringActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CookiesCondition != nil { + in, out := &in.CookiesCondition, &out.CookiesCondition + *out = make([]CookiesConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DeviceCondition != nil { + in, out := &in.DeviceCondition, &out.DeviceCondition + *out = make([]DeviceConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HTTPVersionCondition != nil { + in, out := &in.HTTPVersionCondition, &out.HTTPVersionCondition + *out = make([]HTTPVersionConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModifyRequestHeaderAction != nil { + in, out := &in.ModifyRequestHeaderAction, &out.ModifyRequestHeaderAction + *out = make([]ModifyRequestHeaderActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModifyResponseHeaderAction != nil { + in, out := &in.ModifyResponseHeaderAction, &out.ModifyResponseHeaderAction + *out = make([]ModifyResponseHeaderActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Order != nil { + in, out := &in.Order, &out.Order + *out = new(int64) + **out = **in + } + if in.PostArgCondition != nil { + in, out := &in.PostArgCondition, &out.PostArgCondition + *out = make([]PostArgConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.QueryStringCondition != nil { + in, out := &in.QueryStringCondition, &out.QueryStringCondition + *out = make([]QueryStringConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RemoteAddressCondition != nil { + in, out := &in.RemoteAddressCondition, &out.RemoteAddressCondition + *out = make([]RemoteAddressConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RequestBodyCondition != nil { + in, out := &in.RequestBodyCondition, &out.RequestBodyCondition + *out = make([]RequestBodyConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RequestHeaderCondition != nil { + in, out := &in.RequestHeaderCondition, &out.RequestHeaderCondition + *out = make([]RequestHeaderConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RequestMethodCondition != nil { + in, out := &in.RequestMethodCondition, &out.RequestMethodCondition + *out = make([]RequestMethodConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RequestSchemeCondition != nil { + in, out := &in.RequestSchemeCondition, &out.RequestSchemeCondition + *out = make([]RequestSchemeConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RequestURICondition != nil { + in, out := &in.RequestURICondition, &out.RequestURICondition + *out = make([]RequestURIConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLFileExtensionCondition != nil { + in, out := &in.URLFileExtensionCondition, &out.URLFileExtensionCondition + *out = make([]URLFileExtensionConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLFileNameCondition != nil { + in, out := &in.URLFileNameCondition, &out.URLFileNameCondition + *out = make([]URLFileNameConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLPathCondition != nil { + in, out := &in.URLPathCondition, &out.URLPathCondition + *out = make([]URLPathConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLRedirectAction != nil { + in, out := &in.URLRedirectAction, &out.URLRedirectAction + *out = make([]URLRedirectActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLRewriteAction != nil { + in, out := &in.URLRewriteAction, &out.URLRewriteAction + *out = make([]URLRewriteActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryRuleParameters. +func (in *DeliveryRuleParameters) DeepCopy() *DeliveryRuleParameters { + if in == nil { + return nil + } + out := new(DeliveryRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeviceConditionObservation) DeepCopyInto(out *DeviceConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConditionObservation. +func (in *DeviceConditionObservation) DeepCopy() *DeviceConditionObservation { + if in == nil { + return nil + } + out := new(DeviceConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeviceConditionParameters) DeepCopyInto(out *DeviceConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConditionParameters. +func (in *DeviceConditionParameters) DeepCopy() *DeviceConditionParameters { + if in == nil { + return nil + } + out := new(DeviceConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Endpoint) DeepCopyInto(out *Endpoint) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. +func (in *Endpoint) DeepCopy() *Endpoint { + if in == nil { + return nil + } + out := new(Endpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Endpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointCustomDomain) DeepCopyInto(out *EndpointCustomDomain) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCustomDomain. +func (in *EndpointCustomDomain) DeepCopy() *EndpointCustomDomain { + if in == nil { + return nil + } + out := new(EndpointCustomDomain) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointCustomDomain) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointCustomDomainList) DeepCopyInto(out *EndpointCustomDomainList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EndpointCustomDomain, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCustomDomainList. +func (in *EndpointCustomDomainList) DeepCopy() *EndpointCustomDomainList { + if in == nil { + return nil + } + out := new(EndpointCustomDomainList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointCustomDomainList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointCustomDomainObservation) DeepCopyInto(out *EndpointCustomDomainObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCustomDomainObservation. +func (in *EndpointCustomDomainObservation) DeepCopy() *EndpointCustomDomainObservation { + if in == nil { + return nil + } + out := new(EndpointCustomDomainObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointCustomDomainParameters) DeepCopyInto(out *EndpointCustomDomainParameters) { + *out = *in + if in.CdnEndpointID != nil { + in, out := &in.CdnEndpointID, &out.CdnEndpointID + *out = new(string) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCustomDomainParameters. +func (in *EndpointCustomDomainParameters) DeepCopy() *EndpointCustomDomainParameters { + if in == nil { + return nil + } + out := new(EndpointCustomDomainParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointCustomDomainSpec) DeepCopyInto(out *EndpointCustomDomainSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCustomDomainSpec. +func (in *EndpointCustomDomainSpec) DeepCopy() *EndpointCustomDomainSpec { + if in == nil { + return nil + } + out := new(EndpointCustomDomainSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointCustomDomainStatus) DeepCopyInto(out *EndpointCustomDomainStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCustomDomainStatus. +func (in *EndpointCustomDomainStatus) DeepCopy() *EndpointCustomDomainStatus { + if in == nil { + return nil + } + out := new(EndpointCustomDomainStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointList) DeepCopyInto(out *EndpointList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Endpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList. +func (in *EndpointList) DeepCopy() *EndpointList { + if in == nil { + return nil + } + out := new(EndpointList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { + *out = *in + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointObservation. +func (in *EndpointObservation) DeepCopy() *EndpointObservation { + if in == nil { + return nil + } + out := new(EndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { + *out = *in + if in.ContentTypesToCompress != nil { + in, out := &in.ContentTypesToCompress, &out.ContentTypesToCompress + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DeliveryRule != nil { + in, out := &in.DeliveryRule, &out.DeliveryRule + *out = make([]DeliveryRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GeoFilter != nil { + in, out := &in.GeoFilter, &out.GeoFilter + *out = make([]GeoFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GlobalDeliveryRule != nil { + in, out := &in.GlobalDeliveryRule, &out.GlobalDeliveryRule + *out = make([]GlobalDeliveryRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsCompressionEnabled != nil { + in, out := &in.IsCompressionEnabled, &out.IsCompressionEnabled + *out = new(bool) + **out = **in + } + if in.IsHTTPAllowed != nil { + in, out := &in.IsHTTPAllowed, &out.IsHTTPAllowed + *out = new(bool) + **out = **in + } + if in.IsHTTPSAllowed != nil { + in, out := &in.IsHTTPSAllowed, &out.IsHTTPSAllowed + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OptimizationType != nil { + in, out := &in.OptimizationType, &out.OptimizationType + *out = new(string) + **out = **in + } + if in.Origin != nil { + in, out := &in.Origin, &out.Origin + *out = make([]OriginParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OriginHostHeader != nil { + in, out := &in.OriginHostHeader, &out.OriginHostHeader + *out = new(string) + **out = **in + } + if in.OriginPath != nil { + in, out := &in.OriginPath, &out.OriginPath + *out = new(string) + **out = **in + } + if in.ProbePath != nil { + in, out := &in.ProbePath, &out.ProbePath + *out = new(string) + **out = **in + } + if in.ProfileName != nil { + in, out := &in.ProfileName, &out.ProfileName + *out = new(string) + **out = **in + } + if in.QuerystringCachingBehaviour != nil { + in, out := &in.QuerystringCachingBehaviour, &out.QuerystringCachingBehaviour + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParameters. +func (in *EndpointParameters) DeepCopy() *EndpointParameters { + if in == nil { + return nil + } + out := new(EndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpec. +func (in *EndpointSpec) DeepCopy() *EndpointSpec { + if in == nil { + return nil + } + out := new(EndpointSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatus. +func (in *EndpointStatus) DeepCopy() *EndpointStatus { + if in == nil { + return nil + } + out := new(EndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GeoFilterObservation) DeepCopyInto(out *GeoFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeoFilterObservation. +func (in *GeoFilterObservation) DeepCopy() *GeoFilterObservation { + if in == nil { + return nil + } + out := new(GeoFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GeoFilterParameters) DeepCopyInto(out *GeoFilterParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.CountryCodes != nil { + in, out := &in.CountryCodes, &out.CountryCodes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RelativePath != nil { + in, out := &in.RelativePath, &out.RelativePath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeoFilterParameters. +func (in *GeoFilterParameters) DeepCopy() *GeoFilterParameters { + if in == nil { + return nil + } + out := new(GeoFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleCacheExpirationActionObservation) DeepCopyInto(out *GlobalDeliveryRuleCacheExpirationActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleCacheExpirationActionObservation. +func (in *GlobalDeliveryRuleCacheExpirationActionObservation) DeepCopy() *GlobalDeliveryRuleCacheExpirationActionObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleCacheExpirationActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleCacheExpirationActionParameters) DeepCopyInto(out *GlobalDeliveryRuleCacheExpirationActionParameters) { + *out = *in + if in.Behavior != nil { + in, out := &in.Behavior, &out.Behavior + *out = new(string) + **out = **in + } + if in.Duration != nil { + in, out := &in.Duration, &out.Duration + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleCacheExpirationActionParameters. +func (in *GlobalDeliveryRuleCacheExpirationActionParameters) DeepCopy() *GlobalDeliveryRuleCacheExpirationActionParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleCacheExpirationActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleCacheKeyQueryStringActionObservation) DeepCopyInto(out *GlobalDeliveryRuleCacheKeyQueryStringActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleCacheKeyQueryStringActionObservation. +func (in *GlobalDeliveryRuleCacheKeyQueryStringActionObservation) DeepCopy() *GlobalDeliveryRuleCacheKeyQueryStringActionObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleCacheKeyQueryStringActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleCacheKeyQueryStringActionParameters) DeepCopyInto(out *GlobalDeliveryRuleCacheKeyQueryStringActionParameters) { + *out = *in + if in.Behavior != nil { + in, out := &in.Behavior, &out.Behavior + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleCacheKeyQueryStringActionParameters. +func (in *GlobalDeliveryRuleCacheKeyQueryStringActionParameters) DeepCopy() *GlobalDeliveryRuleCacheKeyQueryStringActionParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleCacheKeyQueryStringActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleModifyRequestHeaderActionObservation) DeepCopyInto(out *GlobalDeliveryRuleModifyRequestHeaderActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleModifyRequestHeaderActionObservation. +func (in *GlobalDeliveryRuleModifyRequestHeaderActionObservation) DeepCopy() *GlobalDeliveryRuleModifyRequestHeaderActionObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleModifyRequestHeaderActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleModifyRequestHeaderActionParameters) DeepCopyInto(out *GlobalDeliveryRuleModifyRequestHeaderActionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleModifyRequestHeaderActionParameters. +func (in *GlobalDeliveryRuleModifyRequestHeaderActionParameters) DeepCopy() *GlobalDeliveryRuleModifyRequestHeaderActionParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleModifyRequestHeaderActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleModifyResponseHeaderActionObservation) DeepCopyInto(out *GlobalDeliveryRuleModifyResponseHeaderActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleModifyResponseHeaderActionObservation. +func (in *GlobalDeliveryRuleModifyResponseHeaderActionObservation) DeepCopy() *GlobalDeliveryRuleModifyResponseHeaderActionObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleModifyResponseHeaderActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleModifyResponseHeaderActionParameters) DeepCopyInto(out *GlobalDeliveryRuleModifyResponseHeaderActionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleModifyResponseHeaderActionParameters. +func (in *GlobalDeliveryRuleModifyResponseHeaderActionParameters) DeepCopy() *GlobalDeliveryRuleModifyResponseHeaderActionParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleModifyResponseHeaderActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleObservation) DeepCopyInto(out *GlobalDeliveryRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleObservation. +func (in *GlobalDeliveryRuleObservation) DeepCopy() *GlobalDeliveryRuleObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleParameters) DeepCopyInto(out *GlobalDeliveryRuleParameters) { + *out = *in + if in.CacheExpirationAction != nil { + in, out := &in.CacheExpirationAction, &out.CacheExpirationAction + *out = make([]GlobalDeliveryRuleCacheExpirationActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CacheKeyQueryStringAction != nil { + in, out := &in.CacheKeyQueryStringAction, &out.CacheKeyQueryStringAction + *out = make([]GlobalDeliveryRuleCacheKeyQueryStringActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModifyRequestHeaderAction != nil { + in, out := &in.ModifyRequestHeaderAction, &out.ModifyRequestHeaderAction + *out = make([]GlobalDeliveryRuleModifyRequestHeaderActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ModifyResponseHeaderAction != nil { + in, out := &in.ModifyResponseHeaderAction, &out.ModifyResponseHeaderAction + *out = make([]GlobalDeliveryRuleModifyResponseHeaderActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLRedirectAction != nil { + in, out := &in.URLRedirectAction, &out.URLRedirectAction + *out = make([]GlobalDeliveryRuleURLRedirectActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URLRewriteAction != nil { + in, out := &in.URLRewriteAction, &out.URLRewriteAction + *out = make([]GlobalDeliveryRuleURLRewriteActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleParameters. +func (in *GlobalDeliveryRuleParameters) DeepCopy() *GlobalDeliveryRuleParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleURLRedirectActionObservation) DeepCopyInto(out *GlobalDeliveryRuleURLRedirectActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleURLRedirectActionObservation. +func (in *GlobalDeliveryRuleURLRedirectActionObservation) DeepCopy() *GlobalDeliveryRuleURLRedirectActionObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleURLRedirectActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleURLRedirectActionParameters) DeepCopyInto(out *GlobalDeliveryRuleURLRedirectActionParameters) { + *out = *in + if in.Fragment != nil { + in, out := &in.Fragment, &out.Fragment + *out = new(string) + **out = **in + } + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.QueryString != nil { + in, out := &in.QueryString, &out.QueryString + *out = new(string) + **out = **in + } + if in.RedirectType != nil { + in, out := &in.RedirectType, &out.RedirectType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleURLRedirectActionParameters. +func (in *GlobalDeliveryRuleURLRedirectActionParameters) DeepCopy() *GlobalDeliveryRuleURLRedirectActionParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleURLRedirectActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleURLRewriteActionObservation) DeepCopyInto(out *GlobalDeliveryRuleURLRewriteActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleURLRewriteActionObservation. +func (in *GlobalDeliveryRuleURLRewriteActionObservation) DeepCopy() *GlobalDeliveryRuleURLRewriteActionObservation { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleURLRewriteActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalDeliveryRuleURLRewriteActionParameters) DeepCopyInto(out *GlobalDeliveryRuleURLRewriteActionParameters) { + *out = *in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in + } + if in.PreserveUnmatchedPath != nil { + in, out := &in.PreserveUnmatchedPath, &out.PreserveUnmatchedPath + *out = new(bool) + **out = **in + } + if in.SourcePattern != nil { + in, out := &in.SourcePattern, &out.SourcePattern + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalDeliveryRuleURLRewriteActionParameters. +func (in *GlobalDeliveryRuleURLRewriteActionParameters) DeepCopy() *GlobalDeliveryRuleURLRewriteActionParameters { + if in == nil { + return nil + } + out := new(GlobalDeliveryRuleURLRewriteActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPVersionConditionObservation) DeepCopyInto(out *HTTPVersionConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPVersionConditionObservation. +func (in *HTTPVersionConditionObservation) DeepCopy() *HTTPVersionConditionObservation { + if in == nil { + return nil + } + out := new(HTTPVersionConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPVersionConditionParameters) DeepCopyInto(out *HTTPVersionConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPVersionConditionParameters. +func (in *HTTPVersionConditionParameters) DeepCopy() *HTTPVersionConditionParameters { + if in == nil { + return nil + } + out := new(HTTPVersionConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModifyRequestHeaderActionObservation) DeepCopyInto(out *ModifyRequestHeaderActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifyRequestHeaderActionObservation. +func (in *ModifyRequestHeaderActionObservation) DeepCopy() *ModifyRequestHeaderActionObservation { + if in == nil { + return nil + } + out := new(ModifyRequestHeaderActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModifyRequestHeaderActionParameters) DeepCopyInto(out *ModifyRequestHeaderActionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifyRequestHeaderActionParameters. +func (in *ModifyRequestHeaderActionParameters) DeepCopy() *ModifyRequestHeaderActionParameters { + if in == nil { + return nil + } + out := new(ModifyRequestHeaderActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModifyResponseHeaderActionObservation) DeepCopyInto(out *ModifyResponseHeaderActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifyResponseHeaderActionObservation. +func (in *ModifyResponseHeaderActionObservation) DeepCopy() *ModifyResponseHeaderActionObservation { + if in == nil { + return nil + } + out := new(ModifyResponseHeaderActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModifyResponseHeaderActionParameters) DeepCopyInto(out *ModifyResponseHeaderActionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModifyResponseHeaderActionParameters. +func (in *ModifyResponseHeaderActionParameters) DeepCopy() *ModifyResponseHeaderActionParameters { + if in == nil { + return nil + } + out := new(ModifyResponseHeaderActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OriginObservation) DeepCopyInto(out *OriginObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginObservation. +func (in *OriginObservation) DeepCopy() *OriginObservation { + if in == nil { + return nil + } + out := new(OriginObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OriginParameters) DeepCopyInto(out *OriginParameters) { + *out = *in + if in.HTTPPort != nil { + in, out := &in.HTTPPort, &out.HTTPPort + *out = new(int64) + **out = **in + } + if in.HTTPSPort != nil { + in, out := &in.HTTPSPort, &out.HTTPSPort + *out = new(int64) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginParameters. +func (in *OriginParameters) DeepCopy() *OriginParameters { + if in == nil { + return nil + } + out := new(OriginParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PostArgConditionObservation) DeepCopyInto(out *PostArgConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostArgConditionObservation. +func (in *PostArgConditionObservation) DeepCopy() *PostArgConditionObservation { + if in == nil { + return nil + } + out := new(PostArgConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PostArgConditionParameters) DeepCopyInto(out *PostArgConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostArgConditionParameters. +func (in *PostArgConditionParameters) DeepCopy() *PostArgConditionParameters { + if in == nil { + return nil + } + out := new(PostArgConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Profile) DeepCopyInto(out *Profile) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile. +func (in *Profile) DeepCopy() *Profile { + if in == nil { + return nil + } + out := new(Profile) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Profile) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileList) DeepCopyInto(out *ProfileList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Profile, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList. +func (in *ProfileList) DeepCopy() *ProfileList { + if in == nil { + return nil + } + out := new(ProfileList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProfileList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileObservation. +func (in *ProfileObservation) DeepCopy() *ProfileObservation { + if in == nil { + return nil + } + out := new(ProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileParameters. +func (in *ProfileParameters) DeepCopy() *ProfileParameters { + if in == nil { + return nil + } + out := new(ProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec. +func (in *ProfileSpec) DeepCopy() *ProfileSpec { + if in == nil { + return nil + } + out := new(ProfileSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus. +func (in *ProfileStatus) DeepCopy() *ProfileStatus { + if in == nil { + return nil + } + out := new(ProfileStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryStringConditionObservation) DeepCopyInto(out *QueryStringConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryStringConditionObservation. +func (in *QueryStringConditionObservation) DeepCopy() *QueryStringConditionObservation { + if in == nil { + return nil + } + out := new(QueryStringConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryStringConditionParameters) DeepCopyInto(out *QueryStringConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryStringConditionParameters. +func (in *QueryStringConditionParameters) DeepCopy() *QueryStringConditionParameters { + if in == nil { + return nil + } + out := new(QueryStringConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemoteAddressConditionObservation) DeepCopyInto(out *RemoteAddressConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAddressConditionObservation. +func (in *RemoteAddressConditionObservation) DeepCopy() *RemoteAddressConditionObservation { + if in == nil { + return nil + } + out := new(RemoteAddressConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemoteAddressConditionParameters) DeepCopyInto(out *RemoteAddressConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteAddressConditionParameters. +func (in *RemoteAddressConditionParameters) DeepCopy() *RemoteAddressConditionParameters { + if in == nil { + return nil + } + out := new(RemoteAddressConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestBodyConditionObservation) DeepCopyInto(out *RequestBodyConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestBodyConditionObservation. +func (in *RequestBodyConditionObservation) DeepCopy() *RequestBodyConditionObservation { + if in == nil { + return nil + } + out := new(RequestBodyConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestBodyConditionParameters) DeepCopyInto(out *RequestBodyConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestBodyConditionParameters. +func (in *RequestBodyConditionParameters) DeepCopy() *RequestBodyConditionParameters { + if in == nil { + return nil + } + out := new(RequestBodyConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderConditionObservation) DeepCopyInto(out *RequestHeaderConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConditionObservation. +func (in *RequestHeaderConditionObservation) DeepCopy() *RequestHeaderConditionObservation { + if in == nil { + return nil + } + out := new(RequestHeaderConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderConditionParameters) DeepCopyInto(out *RequestHeaderConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderConditionParameters. +func (in *RequestHeaderConditionParameters) DeepCopy() *RequestHeaderConditionParameters { + if in == nil { + return nil + } + out := new(RequestHeaderConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestMethodConditionObservation) DeepCopyInto(out *RequestMethodConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestMethodConditionObservation. +func (in *RequestMethodConditionObservation) DeepCopy() *RequestMethodConditionObservation { + if in == nil { + return nil + } + out := new(RequestMethodConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestMethodConditionParameters) DeepCopyInto(out *RequestMethodConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestMethodConditionParameters. +func (in *RequestMethodConditionParameters) DeepCopy() *RequestMethodConditionParameters { + if in == nil { + return nil + } + out := new(RequestMethodConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestSchemeConditionObservation) DeepCopyInto(out *RequestSchemeConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestSchemeConditionObservation. +func (in *RequestSchemeConditionObservation) DeepCopy() *RequestSchemeConditionObservation { + if in == nil { + return nil + } + out := new(RequestSchemeConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestSchemeConditionParameters) DeepCopyInto(out *RequestSchemeConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestSchemeConditionParameters. +func (in *RequestSchemeConditionParameters) DeepCopy() *RequestSchemeConditionParameters { + if in == nil { + return nil + } + out := new(RequestSchemeConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestURIConditionObservation) DeepCopyInto(out *RequestURIConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestURIConditionObservation. +func (in *RequestURIConditionObservation) DeepCopy() *RequestURIConditionObservation { + if in == nil { + return nil + } + out := new(RequestURIConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestURIConditionParameters) DeepCopyInto(out *RequestURIConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestURIConditionParameters. +func (in *RequestURIConditionParameters) DeepCopy() *RequestURIConditionParameters { + if in == nil { + return nil + } + out := new(RequestURIConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLFileExtensionConditionObservation) DeepCopyInto(out *URLFileExtensionConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLFileExtensionConditionObservation. +func (in *URLFileExtensionConditionObservation) DeepCopy() *URLFileExtensionConditionObservation { + if in == nil { + return nil + } + out := new(URLFileExtensionConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLFileExtensionConditionParameters) DeepCopyInto(out *URLFileExtensionConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLFileExtensionConditionParameters. +func (in *URLFileExtensionConditionParameters) DeepCopy() *URLFileExtensionConditionParameters { + if in == nil { + return nil + } + out := new(URLFileExtensionConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLFileNameConditionObservation) DeepCopyInto(out *URLFileNameConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLFileNameConditionObservation. +func (in *URLFileNameConditionObservation) DeepCopy() *URLFileNameConditionObservation { + if in == nil { + return nil + } + out := new(URLFileNameConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLFileNameConditionParameters) DeepCopyInto(out *URLFileNameConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLFileNameConditionParameters. +func (in *URLFileNameConditionParameters) DeepCopy() *URLFileNameConditionParameters { + if in == nil { + return nil + } + out := new(URLFileNameConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLPathConditionObservation) DeepCopyInto(out *URLPathConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLPathConditionObservation. +func (in *URLPathConditionObservation) DeepCopy() *URLPathConditionObservation { + if in == nil { + return nil + } + out := new(URLPathConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLPathConditionParameters) DeepCopyInto(out *URLPathConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLPathConditionParameters. +func (in *URLPathConditionParameters) DeepCopy() *URLPathConditionParameters { + if in == nil { + return nil + } + out := new(URLPathConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLRedirectActionObservation) DeepCopyInto(out *URLRedirectActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLRedirectActionObservation. +func (in *URLRedirectActionObservation) DeepCopy() *URLRedirectActionObservation { + if in == nil { + return nil + } + out := new(URLRedirectActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLRedirectActionParameters) DeepCopyInto(out *URLRedirectActionParameters) { + *out = *in + if in.Fragment != nil { + in, out := &in.Fragment, &out.Fragment + *out = new(string) + **out = **in + } + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.QueryString != nil { + in, out := &in.QueryString, &out.QueryString + *out = new(string) + **out = **in + } + if in.RedirectType != nil { + in, out := &in.RedirectType, &out.RedirectType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLRedirectActionParameters. +func (in *URLRedirectActionParameters) DeepCopy() *URLRedirectActionParameters { + if in == nil { + return nil + } + out := new(URLRedirectActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLRewriteActionObservation) DeepCopyInto(out *URLRewriteActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLRewriteActionObservation. +func (in *URLRewriteActionObservation) DeepCopy() *URLRewriteActionObservation { + if in == nil { + return nil + } + out := new(URLRewriteActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *URLRewriteActionParameters) DeepCopyInto(out *URLRewriteActionParameters) { + *out = *in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = new(string) + **out = **in + } + if in.PreserveUnmatchedPath != nil { + in, out := &in.PreserveUnmatchedPath, &out.PreserveUnmatchedPath + *out = new(bool) + **out = **in + } + if in.SourcePattern != nil { + in, out := &in.SourcePattern, &out.SourcePattern + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLRewriteActionParameters. +func (in *URLRewriteActionParameters) DeepCopy() *URLRewriteActionParameters { + if in == nil { + return nil + } + out := new(URLRewriteActionParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/cdn/v1alpha1/zz_generated.managed.go b/apis/cdn/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..82675ccee --- /dev/null +++ b/apis/cdn/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Endpoint. +func (mg *Endpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Endpoint. +func (mg *Endpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Endpoint. +func (mg *Endpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Endpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Endpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Endpoint. +func (mg *Endpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Endpoint. +func (mg *Endpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Endpoint. +func (mg *Endpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Endpoint. +func (mg *Endpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Endpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Endpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Endpoint. +func (mg *Endpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EndpointCustomDomain. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EndpointCustomDomain) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EndpointCustomDomain. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EndpointCustomDomain) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EndpointCustomDomain. +func (mg *EndpointCustomDomain) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Profile. +func (mg *Profile) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Profile. +func (mg *Profile) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Profile. +func (mg *Profile) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Profile. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Profile) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Profile. +func (mg *Profile) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Profile. +func (mg *Profile) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Profile. +func (mg *Profile) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Profile. +func (mg *Profile) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Profile. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Profile) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Profile. +func (mg *Profile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/cdn/v1alpha1/zz_generated.managedlist.go b/apis/cdn/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..aeed1d659 --- /dev/null +++ b/apis/cdn/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this EndpointCustomDomainList. +func (l *EndpointCustomDomainList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EndpointList. +func (l *EndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProfileList. +func (l *ProfileList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/cdn/v1alpha1/zz_groupversion_info.go b/apis/cdn/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f08f0f017 --- /dev/null +++ b/apis/cdn/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=cdn.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "cdn.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/cdn/v1alpha1/zz_profile_terraformed.go b/apis/cdn/v1alpha1/zz_profile_terraformed.go new file mode 100755 index 000000000..350243d23 --- /dev/null +++ b/apis/cdn/v1alpha1/zz_profile_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Profile +func (mg *Profile) GetTerraformResourceType() string { + return "azurerm_cdn_profile" +} + +// GetConnectionDetailsMapping for this Profile +func (tr *Profile) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Profile +func (tr *Profile) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Profile +func (tr *Profile) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Profile +func (tr *Profile) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Profile +func (tr *Profile) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Profile using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Profile) LateInitialize(attrs []byte) (bool, error) { + params := &ProfileParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Profile) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/cdn/v1alpha1/zz_profile_types.go b/apis/cdn/v1alpha1/zz_profile_types.go new file mode 100755 index 000000000..02968827c --- /dev/null +++ b/apis/cdn/v1alpha1/zz_profile_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProfileObservation struct { +} + +type ProfileParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ProfileSpec defines the desired state of Profile +type ProfileSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProfileParameters `json:"forProvider"` +} + +// ProfileStatus defines the observed state of Profile. +type ProfileStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProfileObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Profile is the Schema for the Profiles API +// +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,azurejet} +type Profile struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProfileSpec `json:"spec"` + Status ProfileStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProfileList contains a list of Profiles +type ProfileList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Profile `json:"items"` +} + +// Repository type metadata. +var ( + Profile_Kind = "Profile" + Profile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Profile_Kind}.String() + Profile_KindAPIVersion = Profile_Kind + "." + CRDGroupVersion.String() + Profile_GroupVersionKind = CRDGroupVersion.WithKind(Profile_Kind) +) + +func init() { + SchemeBuilder.Register(&Profile{}, &ProfileList{}) +} diff --git a/apis/cognitive/v1alpha1/zz_account_terraformed.go b/apis/cognitive/v1alpha1/zz_account_terraformed.go new file mode 100755 index 000000000..04736bfb1 --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_account_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Account +func (mg *Account) GetTerraformResourceType() string { + return "azurerm_cognitive_account" +} + +// GetConnectionDetailsMapping for this Account +func (tr *Account) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "secondary_access_key": "status.atProvider.secondaryAccessKey"} +} + +// GetObservation of this Account +func (tr *Account) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Account +func (tr *Account) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Account +func (tr *Account) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Account +func (tr *Account) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Account using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Account) LateInitialize(attrs []byte) (bool, error) { + params := &AccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Account) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cognitive/v1alpha1/zz_account_types.go b/apis/cognitive/v1alpha1/zz_account_types.go new file mode 100755 index 000000000..0148a8fdb --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_account_types.go @@ -0,0 +1,196 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountObservation struct { + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` +} + +type AccountParameters struct { + + // +kubebuilder:validation:Optional + CustomSubdomainName *string `json:"customSubdomainName,omitempty" tf:"custom_subdomain_name,omitempty"` + + // +kubebuilder:validation:Optional + Fqdns []*string `json:"fqdns,omitempty" tf:"fqdns,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Kind *string `json:"kind" tf:"kind,omitempty"` + + // +kubebuilder:validation:Optional + LocalAuthEnabled *bool `json:"localAuthEnabled,omitempty" tf:"local_auth_enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MetricsAdvisorAadClientID *string `json:"metricsAdvisorAadClientId,omitempty" tf:"metrics_advisor_aad_client_id,omitempty"` + + // +kubebuilder:validation:Optional + MetricsAdvisorAadTenantID *string `json:"metricsAdvisorAadTenantId,omitempty" tf:"metrics_advisor_aad_tenant_id,omitempty"` + + // +kubebuilder:validation:Optional + MetricsAdvisorSuperUserName *string `json:"metricsAdvisorSuperUserName,omitempty" tf:"metrics_advisor_super_user_name,omitempty"` + + // +kubebuilder:validation:Optional + MetricsAdvisorWebsiteName *string `json:"metricsAdvisorWebsiteName,omitempty" tf:"metrics_advisor_website_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkAcls []NetworkAclsParameters `json:"networkAcls,omitempty" tf:"network_acls,omitempty"` + + // +kubebuilder:validation:Optional + OutboundNetworkAccessRestrited *bool `json:"outboundNetworkAccessRestrited,omitempty" tf:"outbound_network_access_restrited,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + QnaRuntimeEndpoint *string `json:"qnaRuntimeEndpoint,omitempty" tf:"qna_runtime_endpoint,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Storage []StorageParameters `json:"storage,omitempty" tf:"storage,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type NetworkAclsObservation struct { +} + +type NetworkAclsParameters struct { + + // +kubebuilder:validation:Required + DefaultAction *string `json:"defaultAction" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPRules []*string `json:"ipRules,omitempty" tf:"ip_rules,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkRules []VirtualNetworkRulesParameters `json:"virtualNetworkRules,omitempty" tf:"virtual_network_rules,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetIds []*string `json:"virtualNetworkSubnetIds,omitempty" tf:"virtual_network_subnet_ids,omitempty"` +} + +type StorageObservation struct { +} + +type StorageParameters struct { + + // +kubebuilder:validation:Optional + IdentityClientID *string `json:"identityClientId,omitempty" tf:"identity_client_id,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type VirtualNetworkRulesObservation struct { +} + +type VirtualNetworkRulesParameters struct { + + // +kubebuilder:validation:Optional + IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// AccountSpec defines the desired state of Account +type AccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountParameters `json:"forProvider"` +} + +// AccountStatus defines the observed state of Account. +type AccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Account is the Schema for the Accounts API +// +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,azurejet} +type Account struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountSpec `json:"spec"` + Status AccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountList contains a list of Accounts +type AccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Account `json:"items"` +} + +// Repository type metadata. +var ( + Account_Kind = "Account" + Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() + Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() + Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) +) + +func init() { + SchemeBuilder.Register(&Account{}, &AccountList{}) +} diff --git a/apis/cognitive/v1alpha1/zz_accountcustomermanagedkey_terraformed.go b/apis/cognitive/v1alpha1/zz_accountcustomermanagedkey_terraformed.go new file mode 100755 index 000000000..411f26407 --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_accountcustomermanagedkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AccountCustomerManagedKey +func (mg *AccountCustomerManagedKey) GetTerraformResourceType() string { + return "azurerm_cognitive_account_customer_managed_key" +} + +// GetConnectionDetailsMapping for this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AccountCustomerManagedKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AccountCustomerManagedKey) LateInitialize(attrs []byte) (bool, error) { + params := &AccountCustomerManagedKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AccountCustomerManagedKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cognitive/v1alpha1/zz_accountcustomermanagedkey_types.go b/apis/cognitive/v1alpha1/zz_accountcustomermanagedkey_types.go new file mode 100755 index 000000000..5f10281ef --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_accountcustomermanagedkey_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountCustomerManagedKeyObservation struct { +} + +type AccountCustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Required + CognitiveAccountID *string `json:"cognitiveAccountId" tf:"cognitive_account_id,omitempty"` + + // +kubebuilder:validation:Optional + IdentityClientID *string `json:"identityClientId,omitempty" tf:"identity_client_id,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultKeyID *string `json:"keyVaultKeyId" tf:"key_vault_key_id,omitempty"` +} + +// AccountCustomerManagedKeySpec defines the desired state of AccountCustomerManagedKey +type AccountCustomerManagedKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountCustomerManagedKeyParameters `json:"forProvider"` +} + +// AccountCustomerManagedKeyStatus defines the observed state of AccountCustomerManagedKey. +type AccountCustomerManagedKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountCustomerManagedKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountCustomerManagedKey is the Schema for the AccountCustomerManagedKeys API +// +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,azurejet} +type AccountCustomerManagedKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountCustomerManagedKeySpec `json:"spec"` + Status AccountCustomerManagedKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountCustomerManagedKeyList contains a list of AccountCustomerManagedKeys +type AccountCustomerManagedKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AccountCustomerManagedKey `json:"items"` +} + +// Repository type metadata. +var ( + AccountCustomerManagedKey_Kind = "AccountCustomerManagedKey" + AccountCustomerManagedKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AccountCustomerManagedKey_Kind}.String() + AccountCustomerManagedKey_KindAPIVersion = AccountCustomerManagedKey_Kind + "." + CRDGroupVersion.String() + AccountCustomerManagedKey_GroupVersionKind = CRDGroupVersion.WithKind(AccountCustomerManagedKey_Kind) +) + +func init() { + SchemeBuilder.Register(&AccountCustomerManagedKey{}, &AccountCustomerManagedKeyList{}) +} diff --git a/apis/cognitive/v1alpha1/zz_generated.deepcopy.go b/apis/cognitive/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..902de424c --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,608 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Account) DeepCopyInto(out *Account) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account. +func (in *Account) DeepCopy() *Account { + if in == nil { + return nil + } + out := new(Account) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Account) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKey) DeepCopyInto(out *AccountCustomerManagedKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKey. +func (in *AccountCustomerManagedKey) DeepCopy() *AccountCustomerManagedKey { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountCustomerManagedKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyList) DeepCopyInto(out *AccountCustomerManagedKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AccountCustomerManagedKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyList. +func (in *AccountCustomerManagedKeyList) DeepCopy() *AccountCustomerManagedKeyList { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountCustomerManagedKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyObservation) DeepCopyInto(out *AccountCustomerManagedKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyObservation. +func (in *AccountCustomerManagedKeyObservation) DeepCopy() *AccountCustomerManagedKeyObservation { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyParameters) DeepCopyInto(out *AccountCustomerManagedKeyParameters) { + *out = *in + if in.CognitiveAccountID != nil { + in, out := &in.CognitiveAccountID, &out.CognitiveAccountID + *out = new(string) + **out = **in + } + if in.IdentityClientID != nil { + in, out := &in.IdentityClientID, &out.IdentityClientID + *out = new(string) + **out = **in + } + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyParameters. +func (in *AccountCustomerManagedKeyParameters) DeepCopy() *AccountCustomerManagedKeyParameters { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeySpec) DeepCopyInto(out *AccountCustomerManagedKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeySpec. +func (in *AccountCustomerManagedKeySpec) DeepCopy() *AccountCustomerManagedKeySpec { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyStatus) DeepCopyInto(out *AccountCustomerManagedKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyStatus. +func (in *AccountCustomerManagedKeyStatus) DeepCopy() *AccountCustomerManagedKeyStatus { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil + } + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation. +func (in *AccountObservation) DeepCopy() *AccountObservation { + if in == nil { + return nil + } + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.CustomSubdomainName != nil { + in, out := &in.CustomSubdomainName, &out.CustomSubdomainName + *out = new(string) + **out = **in + } + if in.Fqdns != nil { + in, out := &in.Fqdns, &out.Fqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.LocalAuthEnabled != nil { + in, out := &in.LocalAuthEnabled, &out.LocalAuthEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MetricsAdvisorAadClientID != nil { + in, out := &in.MetricsAdvisorAadClientID, &out.MetricsAdvisorAadClientID + *out = new(string) + **out = **in + } + if in.MetricsAdvisorAadTenantID != nil { + in, out := &in.MetricsAdvisorAadTenantID, &out.MetricsAdvisorAadTenantID + *out = new(string) + **out = **in + } + if in.MetricsAdvisorSuperUserName != nil { + in, out := &in.MetricsAdvisorSuperUserName, &out.MetricsAdvisorSuperUserName + *out = new(string) + **out = **in + } + if in.MetricsAdvisorWebsiteName != nil { + in, out := &in.MetricsAdvisorWebsiteName, &out.MetricsAdvisorWebsiteName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkAcls != nil { + in, out := &in.NetworkAcls, &out.NetworkAcls + *out = make([]NetworkAclsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OutboundNetworkAccessRestrited != nil { + in, out := &in.OutboundNetworkAccessRestrited, &out.OutboundNetworkAccessRestrited + *out = new(bool) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.QnaRuntimeEndpoint != nil { + in, out := &in.QnaRuntimeEndpoint, &out.QnaRuntimeEndpoint + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Storage != nil { + in, out := &in.Storage, &out.Storage + *out = make([]StorageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkAclsObservation) DeepCopyInto(out *NetworkAclsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAclsObservation. +func (in *NetworkAclsObservation) DeepCopy() *NetworkAclsObservation { + if in == nil { + return nil + } + out := new(NetworkAclsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkAclsParameters) DeepCopyInto(out *NetworkAclsParameters) { + *out = *in + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRules != nil { + in, out := &in.IPRules, &out.IPRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualNetworkRules != nil { + in, out := &in.VirtualNetworkRules, &out.VirtualNetworkRules + *out = make([]VirtualNetworkRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VirtualNetworkSubnetIds != nil { + in, out := &in.VirtualNetworkSubnetIds, &out.VirtualNetworkSubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAclsParameters. +func (in *NetworkAclsParameters) DeepCopy() *NetworkAclsParameters { + if in == nil { + return nil + } + out := new(NetworkAclsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageObservation) DeepCopyInto(out *StorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageObservation. +func (in *StorageObservation) DeepCopy() *StorageObservation { + if in == nil { + return nil + } + out := new(StorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageParameters) DeepCopyInto(out *StorageParameters) { + *out = *in + if in.IdentityClientID != nil { + in, out := &in.IdentityClientID, &out.IdentityClientID + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageParameters. +func (in *StorageParameters) DeepCopy() *StorageParameters { + if in == nil { + return nil + } + out := new(StorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRulesObservation) DeepCopyInto(out *VirtualNetworkRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRulesObservation. +func (in *VirtualNetworkRulesObservation) DeepCopy() *VirtualNetworkRulesObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRulesParameters) DeepCopyInto(out *VirtualNetworkRulesParameters) { + *out = *in + if in.IgnoreMissingVnetServiceEndpoint != nil { + in, out := &in.IgnoreMissingVnetServiceEndpoint, &out.IgnoreMissingVnetServiceEndpoint + *out = new(bool) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRulesParameters. +func (in *VirtualNetworkRulesParameters) DeepCopy() *VirtualNetworkRulesParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkRulesParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/cognitive/v1alpha1/zz_generated.managed.go b/apis/cognitive/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..0e86d65e6 --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Account. +func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Account. +func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Account. +func (mg *Account) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Account. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Account) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Account. +func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Account. +func (mg *Account) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Account. +func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Account. +func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Account. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Account) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Account. +func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AccountCustomerManagedKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AccountCustomerManagedKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AccountCustomerManagedKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AccountCustomerManagedKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/cognitive/v1alpha1/zz_generated.managedlist.go b/apis/cognitive/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b4ccc0b4c --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccountCustomerManagedKeyList. +func (l *AccountCustomerManagedKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AccountList. +func (l *AccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/cognitive/v1alpha1/zz_groupversion_info.go b/apis/cognitive/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..614f5d45f --- /dev/null +++ b/apis/cognitive/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=cognitive.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "cognitive.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/communication/v1alpha1/zz_generated.deepcopy.go b/apis/communication/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..90e274d90 --- /dev/null +++ b/apis/communication/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,178 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Service) DeepCopyInto(out *Service) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { + return nil + } + out := new(Service) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceList) DeepCopyInto(out *ServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Service, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { + return nil + } + out := new(ServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation. +func (in *ServiceObservation) DeepCopy() *ServiceObservation { + if in == nil { + return nil + } + out := new(ServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { + *out = *in + if in.DataLocation != nil { + in, out := &in.DataLocation, &out.DataLocation + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters. +func (in *ServiceParameters) DeepCopy() *ServiceParameters { + if in == nil { + return nil + } + out := new(ServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { + return nil + } + out := new(ServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { + return nil + } + out := new(ServiceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/communication/v1alpha1/zz_generated.managed.go b/apis/communication/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2660651d6 --- /dev/null +++ b/apis/communication/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Service. +func (mg *Service) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Service. +func (mg *Service) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Service. +func (mg *Service) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Service. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Service) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Service. +func (mg *Service) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Service. +func (mg *Service) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Service. +func (mg *Service) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Service. +func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Service. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Service) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Service. +func (mg *Service) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/communication/v1alpha1/zz_generated.managedlist.go b/apis/communication/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..8d822c98b --- /dev/null +++ b/apis/communication/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServiceList. +func (l *ServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/communication/v1alpha1/zz_groupversion_info.go b/apis/communication/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..563bc4b93 --- /dev/null +++ b/apis/communication/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=communication.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "communication.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/communication/v1alpha1/zz_service_terraformed.go b/apis/communication/v1alpha1/zz_service_terraformed.go new file mode 100755 index 000000000..4dbe24a52 --- /dev/null +++ b/apis/communication/v1alpha1/zz_service_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Service +func (mg *Service) GetTerraformResourceType() string { + return "azurerm_communication_service" +} + +// GetConnectionDetailsMapping for this Service +func (tr *Service) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Service +func (tr *Service) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Service +func (tr *Service) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Service +func (tr *Service) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Service +func (tr *Service) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Service using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Service) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Service) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/communication/v1alpha1/zz_service_types.go b/apis/communication/v1alpha1/zz_service_types.go new file mode 100755 index 000000000..3305cc4b0 --- /dev/null +++ b/apis/communication/v1alpha1/zz_service_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceObservation struct { +} + +type ServiceParameters struct { + + // +kubebuilder:validation:Optional + DataLocation *string `json:"dataLocation,omitempty" tf:"data_location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServiceSpec defines the desired state of Service +type ServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceParameters `json:"forProvider"` +} + +// ServiceStatus defines the observed state of Service. +type ServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Service is the Schema for the Services API +// +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,azurejet} +type Service struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSpec `json:"spec"` + Status ServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceList contains a list of Services +type ServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Service `json:"items"` +} + +// Repository type metadata. +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) +) + +func init() { + SchemeBuilder.Register(&Service{}, &ServiceList{}) +} diff --git a/apis/consumption/v1alpha1/zz_budgetresourcegroup_terraformed.go b/apis/consumption/v1alpha1/zz_budgetresourcegroup_terraformed.go new file mode 100755 index 000000000..ef85ee9c1 --- /dev/null +++ b/apis/consumption/v1alpha1/zz_budgetresourcegroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this BudgetResourceGroup +func (mg *BudgetResourceGroup) GetTerraformResourceType() string { + return "azurerm_consumption_budget_resource_group" +} + +// GetConnectionDetailsMapping for this BudgetResourceGroup +func (tr *BudgetResourceGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this BudgetResourceGroup +func (tr *BudgetResourceGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this BudgetResourceGroup +func (tr *BudgetResourceGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this BudgetResourceGroup +func (tr *BudgetResourceGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this BudgetResourceGroup +func (tr *BudgetResourceGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this BudgetResourceGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *BudgetResourceGroup) LateInitialize(attrs []byte) (bool, error) { + params := &BudgetResourceGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *BudgetResourceGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/consumption/v1alpha1/zz_budgetresourcegroup_types.go b/apis/consumption/v1alpha1/zz_budgetresourcegroup_types.go new file mode 100755 index 000000000..21276ad46 --- /dev/null +++ b/apis/consumption/v1alpha1/zz_budgetresourcegroup_types.go @@ -0,0 +1,225 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BudgetResourceGroupObservation struct { +} + +type BudgetResourceGroupParameters struct { + + // +kubebuilder:validation:Required + Amount *float64 `json:"amount" tf:"amount,omitempty"` + + // +kubebuilder:validation:Optional + Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Notification []NotificationParameters `json:"notification" tf:"notification,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupID *string `json:"resourceGroupId" tf:"resource_group_id,omitempty"` + + // +kubebuilder:validation:Optional + TimeGrain *string `json:"timeGrain,omitempty" tf:"time_grain,omitempty"` + + // +kubebuilder:validation:Required + TimePeriod []TimePeriodParameters `json:"timePeriod" tf:"time_period,omitempty"` +} + +type DimensionObservation struct { +} + +type DimensionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type FilterObservation struct { +} + +type FilterParameters struct { + + // +kubebuilder:validation:Optional + Dimension []DimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"` + + // +kubebuilder:validation:Optional + Not []NotParameters `json:"not,omitempty" tf:"not,omitempty"` + + // +kubebuilder:validation:Optional + Tag []FilterTagParameters `json:"tag,omitempty" tf:"tag,omitempty"` +} + +type FilterTagObservation struct { +} + +type FilterTagParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type NotDimensionObservation struct { +} + +type NotDimensionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type NotObservation struct { +} + +type NotParameters struct { + + // +kubebuilder:validation:Optional + Dimension []NotDimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"` + + // +kubebuilder:validation:Optional + Tag []TagParameters `json:"tag,omitempty" tf:"tag,omitempty"` +} + +type NotificationObservation struct { +} + +type NotificationParameters struct { + + // +kubebuilder:validation:Optional + ContactEmails []*string `json:"contactEmails,omitempty" tf:"contact_emails,omitempty"` + + // +kubebuilder:validation:Optional + ContactGroups []*string `json:"contactGroups,omitempty" tf:"contact_groups,omitempty"` + + // +kubebuilder:validation:Optional + ContactRoles []*string `json:"contactRoles,omitempty" tf:"contact_roles,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Threshold *int64 `json:"threshold" tf:"threshold,omitempty"` +} + +type TagObservation struct { +} + +type TagParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type TimePeriodObservation struct { +} + +type TimePeriodParameters struct { + + // +kubebuilder:validation:Optional + EndDate *string `json:"endDate,omitempty" tf:"end_date,omitempty"` + + // +kubebuilder:validation:Required + StartDate *string `json:"startDate" tf:"start_date,omitempty"` +} + +// BudgetResourceGroupSpec defines the desired state of BudgetResourceGroup +type BudgetResourceGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider BudgetResourceGroupParameters `json:"forProvider"` +} + +// BudgetResourceGroupStatus defines the observed state of BudgetResourceGroup. +type BudgetResourceGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider BudgetResourceGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// BudgetResourceGroup is the Schema for the BudgetResourceGroups API +// +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,azurejet} +type BudgetResourceGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BudgetResourceGroupSpec `json:"spec"` + Status BudgetResourceGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// BudgetResourceGroupList contains a list of BudgetResourceGroups +type BudgetResourceGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BudgetResourceGroup `json:"items"` +} + +// Repository type metadata. +var ( + BudgetResourceGroup_Kind = "BudgetResourceGroup" + BudgetResourceGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BudgetResourceGroup_Kind}.String() + BudgetResourceGroup_KindAPIVersion = BudgetResourceGroup_Kind + "." + CRDGroupVersion.String() + BudgetResourceGroup_GroupVersionKind = CRDGroupVersion.WithKind(BudgetResourceGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&BudgetResourceGroup{}, &BudgetResourceGroupList{}) +} diff --git a/apis/consumption/v1alpha1/zz_budgetsubscription_terraformed.go b/apis/consumption/v1alpha1/zz_budgetsubscription_terraformed.go new file mode 100755 index 000000000..377d58cef --- /dev/null +++ b/apis/consumption/v1alpha1/zz_budgetsubscription_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this BudgetSubscription +func (mg *BudgetSubscription) GetTerraformResourceType() string { + return "azurerm_consumption_budget_subscription" +} + +// GetConnectionDetailsMapping for this BudgetSubscription +func (tr *BudgetSubscription) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this BudgetSubscription +func (tr *BudgetSubscription) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this BudgetSubscription +func (tr *BudgetSubscription) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this BudgetSubscription +func (tr *BudgetSubscription) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this BudgetSubscription +func (tr *BudgetSubscription) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this BudgetSubscription using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *BudgetSubscription) LateInitialize(attrs []byte) (bool, error) { + params := &BudgetSubscriptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *BudgetSubscription) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/consumption/v1alpha1/zz_budgetsubscription_types.go b/apis/consumption/v1alpha1/zz_budgetsubscription_types.go new file mode 100755 index 000000000..de200bf25 --- /dev/null +++ b/apis/consumption/v1alpha1/zz_budgetsubscription_types.go @@ -0,0 +1,225 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BudgetSubscriptionFilterObservation struct { +} + +type BudgetSubscriptionFilterParameters struct { + + // +kubebuilder:validation:Optional + Dimension []FilterDimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"` + + // +kubebuilder:validation:Optional + Not []FilterNotParameters `json:"not,omitempty" tf:"not,omitempty"` + + // +kubebuilder:validation:Optional + Tag []BudgetSubscriptionFilterTagParameters `json:"tag,omitempty" tf:"tag,omitempty"` +} + +type BudgetSubscriptionFilterTagObservation struct { +} + +type BudgetSubscriptionFilterTagParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type BudgetSubscriptionNotificationObservation struct { +} + +type BudgetSubscriptionNotificationParameters struct { + + // +kubebuilder:validation:Optional + ContactEmails []*string `json:"contactEmails,omitempty" tf:"contact_emails,omitempty"` + + // +kubebuilder:validation:Optional + ContactGroups []*string `json:"contactGroups,omitempty" tf:"contact_groups,omitempty"` + + // +kubebuilder:validation:Optional + ContactRoles []*string `json:"contactRoles,omitempty" tf:"contact_roles,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Threshold *int64 `json:"threshold" tf:"threshold,omitempty"` +} + +type BudgetSubscriptionObservation struct { +} + +type BudgetSubscriptionParameters struct { + + // +kubebuilder:validation:Required + Amount *float64 `json:"amount" tf:"amount,omitempty"` + + // +kubebuilder:validation:Optional + Filter []BudgetSubscriptionFilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Notification []BudgetSubscriptionNotificationParameters `json:"notification" tf:"notification,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` + + // +kubebuilder:validation:Optional + TimeGrain *string `json:"timeGrain,omitempty" tf:"time_grain,omitempty"` + + // +kubebuilder:validation:Required + TimePeriod []BudgetSubscriptionTimePeriodParameters `json:"timePeriod" tf:"time_period,omitempty"` +} + +type BudgetSubscriptionTimePeriodObservation struct { +} + +type BudgetSubscriptionTimePeriodParameters struct { + + // +kubebuilder:validation:Optional + EndDate *string `json:"endDate,omitempty" tf:"end_date,omitempty"` + + // +kubebuilder:validation:Required + StartDate *string `json:"startDate" tf:"start_date,omitempty"` +} + +type FilterDimensionObservation struct { +} + +type FilterDimensionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type FilterNotDimensionObservation struct { +} + +type FilterNotDimensionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type FilterNotObservation struct { +} + +type FilterNotParameters struct { + + // +kubebuilder:validation:Optional + Dimension []FilterNotDimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"` + + // +kubebuilder:validation:Optional + Tag []NotTagParameters `json:"tag,omitempty" tf:"tag,omitempty"` +} + +type NotTagObservation struct { +} + +type NotTagParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +// BudgetSubscriptionSpec defines the desired state of BudgetSubscription +type BudgetSubscriptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider BudgetSubscriptionParameters `json:"forProvider"` +} + +// BudgetSubscriptionStatus defines the observed state of BudgetSubscription. +type BudgetSubscriptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider BudgetSubscriptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// BudgetSubscription is the Schema for the BudgetSubscriptions API +// +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,azurejet} +type BudgetSubscription struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BudgetSubscriptionSpec `json:"spec"` + Status BudgetSubscriptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// BudgetSubscriptionList contains a list of BudgetSubscriptions +type BudgetSubscriptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BudgetSubscription `json:"items"` +} + +// Repository type metadata. +var ( + BudgetSubscription_Kind = "BudgetSubscription" + BudgetSubscription_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BudgetSubscription_Kind}.String() + BudgetSubscription_KindAPIVersion = BudgetSubscription_Kind + "." + CRDGroupVersion.String() + BudgetSubscription_GroupVersionKind = CRDGroupVersion.WithKind(BudgetSubscription_Kind) +) + +func init() { + SchemeBuilder.Register(&BudgetSubscription{}, &BudgetSubscriptionList{}) +} diff --git a/apis/consumption/v1alpha1/zz_generated.deepcopy.go b/apis/consumption/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..63d13dab6 --- /dev/null +++ b/apis/consumption/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1187 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetResourceGroup) DeepCopyInto(out *BudgetResourceGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceGroup. +func (in *BudgetResourceGroup) DeepCopy() *BudgetResourceGroup { + if in == nil { + return nil + } + out := new(BudgetResourceGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BudgetResourceGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetResourceGroupList) DeepCopyInto(out *BudgetResourceGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BudgetResourceGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceGroupList. +func (in *BudgetResourceGroupList) DeepCopy() *BudgetResourceGroupList { + if in == nil { + return nil + } + out := new(BudgetResourceGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BudgetResourceGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetResourceGroupObservation) DeepCopyInto(out *BudgetResourceGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceGroupObservation. +func (in *BudgetResourceGroupObservation) DeepCopy() *BudgetResourceGroupObservation { + if in == nil { + return nil + } + out := new(BudgetResourceGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetResourceGroupParameters) DeepCopyInto(out *BudgetResourceGroupParameters) { + *out = *in + if in.Amount != nil { + in, out := &in.Amount, &out.Amount + *out = new(float64) + **out = **in + } + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notification != nil { + in, out := &in.Notification, &out.Notification + *out = make([]NotificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupID != nil { + in, out := &in.ResourceGroupID, &out.ResourceGroupID + *out = new(string) + **out = **in + } + if in.TimeGrain != nil { + in, out := &in.TimeGrain, &out.TimeGrain + *out = new(string) + **out = **in + } + if in.TimePeriod != nil { + in, out := &in.TimePeriod, &out.TimePeriod + *out = make([]TimePeriodParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceGroupParameters. +func (in *BudgetResourceGroupParameters) DeepCopy() *BudgetResourceGroupParameters { + if in == nil { + return nil + } + out := new(BudgetResourceGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetResourceGroupSpec) DeepCopyInto(out *BudgetResourceGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceGroupSpec. +func (in *BudgetResourceGroupSpec) DeepCopy() *BudgetResourceGroupSpec { + if in == nil { + return nil + } + out := new(BudgetResourceGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetResourceGroupStatus) DeepCopyInto(out *BudgetResourceGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetResourceGroupStatus. +func (in *BudgetResourceGroupStatus) DeepCopy() *BudgetResourceGroupStatus { + if in == nil { + return nil + } + out := new(BudgetResourceGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscription) DeepCopyInto(out *BudgetSubscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscription. +func (in *BudgetSubscription) DeepCopy() *BudgetSubscription { + if in == nil { + return nil + } + out := new(BudgetSubscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BudgetSubscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionFilterObservation) DeepCopyInto(out *BudgetSubscriptionFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionFilterObservation. +func (in *BudgetSubscriptionFilterObservation) DeepCopy() *BudgetSubscriptionFilterObservation { + if in == nil { + return nil + } + out := new(BudgetSubscriptionFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionFilterParameters) DeepCopyInto(out *BudgetSubscriptionFilterParameters) { + *out = *in + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]FilterDimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Not != nil { + in, out := &in.Not, &out.Not + *out = make([]FilterNotParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]BudgetSubscriptionFilterTagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionFilterParameters. +func (in *BudgetSubscriptionFilterParameters) DeepCopy() *BudgetSubscriptionFilterParameters { + if in == nil { + return nil + } + out := new(BudgetSubscriptionFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionFilterTagObservation) DeepCopyInto(out *BudgetSubscriptionFilterTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionFilterTagObservation. +func (in *BudgetSubscriptionFilterTagObservation) DeepCopy() *BudgetSubscriptionFilterTagObservation { + if in == nil { + return nil + } + out := new(BudgetSubscriptionFilterTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionFilterTagParameters) DeepCopyInto(out *BudgetSubscriptionFilterTagParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionFilterTagParameters. +func (in *BudgetSubscriptionFilterTagParameters) DeepCopy() *BudgetSubscriptionFilterTagParameters { + if in == nil { + return nil + } + out := new(BudgetSubscriptionFilterTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionList) DeepCopyInto(out *BudgetSubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BudgetSubscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionList. +func (in *BudgetSubscriptionList) DeepCopy() *BudgetSubscriptionList { + if in == nil { + return nil + } + out := new(BudgetSubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BudgetSubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionNotificationObservation) DeepCopyInto(out *BudgetSubscriptionNotificationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionNotificationObservation. +func (in *BudgetSubscriptionNotificationObservation) DeepCopy() *BudgetSubscriptionNotificationObservation { + if in == nil { + return nil + } + out := new(BudgetSubscriptionNotificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionNotificationParameters) DeepCopyInto(out *BudgetSubscriptionNotificationParameters) { + *out = *in + if in.ContactEmails != nil { + in, out := &in.ContactEmails, &out.ContactEmails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ContactGroups != nil { + in, out := &in.ContactGroups, &out.ContactGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ContactRoles != nil { + in, out := &in.ContactRoles, &out.ContactRoles + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionNotificationParameters. +func (in *BudgetSubscriptionNotificationParameters) DeepCopy() *BudgetSubscriptionNotificationParameters { + if in == nil { + return nil + } + out := new(BudgetSubscriptionNotificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionObservation) DeepCopyInto(out *BudgetSubscriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionObservation. +func (in *BudgetSubscriptionObservation) DeepCopy() *BudgetSubscriptionObservation { + if in == nil { + return nil + } + out := new(BudgetSubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionParameters) DeepCopyInto(out *BudgetSubscriptionParameters) { + *out = *in + if in.Amount != nil { + in, out := &in.Amount, &out.Amount + *out = new(float64) + **out = **in + } + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]BudgetSubscriptionFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notification != nil { + in, out := &in.Notification, &out.Notification + *out = make([]BudgetSubscriptionNotificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } + if in.TimeGrain != nil { + in, out := &in.TimeGrain, &out.TimeGrain + *out = new(string) + **out = **in + } + if in.TimePeriod != nil { + in, out := &in.TimePeriod, &out.TimePeriod + *out = make([]BudgetSubscriptionTimePeriodParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionParameters. +func (in *BudgetSubscriptionParameters) DeepCopy() *BudgetSubscriptionParameters { + if in == nil { + return nil + } + out := new(BudgetSubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionSpec) DeepCopyInto(out *BudgetSubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionSpec. +func (in *BudgetSubscriptionSpec) DeepCopy() *BudgetSubscriptionSpec { + if in == nil { + return nil + } + out := new(BudgetSubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionStatus) DeepCopyInto(out *BudgetSubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionStatus. +func (in *BudgetSubscriptionStatus) DeepCopy() *BudgetSubscriptionStatus { + if in == nil { + return nil + } + out := new(BudgetSubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionTimePeriodObservation) DeepCopyInto(out *BudgetSubscriptionTimePeriodObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionTimePeriodObservation. +func (in *BudgetSubscriptionTimePeriodObservation) DeepCopy() *BudgetSubscriptionTimePeriodObservation { + if in == nil { + return nil + } + out := new(BudgetSubscriptionTimePeriodObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BudgetSubscriptionTimePeriodParameters) DeepCopyInto(out *BudgetSubscriptionTimePeriodParameters) { + *out = *in + if in.EndDate != nil { + in, out := &in.EndDate, &out.EndDate + *out = new(string) + **out = **in + } + if in.StartDate != nil { + in, out := &in.StartDate, &out.StartDate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BudgetSubscriptionTimePeriodParameters. +func (in *BudgetSubscriptionTimePeriodParameters) DeepCopy() *BudgetSubscriptionTimePeriodParameters { + if in == nil { + return nil + } + out := new(BudgetSubscriptionTimePeriodParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DimensionObservation) DeepCopyInto(out *DimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionObservation. +func (in *DimensionObservation) DeepCopy() *DimensionObservation { + if in == nil { + return nil + } + out := new(DimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DimensionParameters) DeepCopyInto(out *DimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionParameters. +func (in *DimensionParameters) DeepCopy() *DimensionParameters { + if in == nil { + return nil + } + out := new(DimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterDimensionObservation) DeepCopyInto(out *FilterDimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterDimensionObservation. +func (in *FilterDimensionObservation) DeepCopy() *FilterDimensionObservation { + if in == nil { + return nil + } + out := new(FilterDimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterDimensionParameters) DeepCopyInto(out *FilterDimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterDimensionParameters. +func (in *FilterDimensionParameters) DeepCopy() *FilterDimensionParameters { + if in == nil { + return nil + } + out := new(FilterDimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterNotDimensionObservation) DeepCopyInto(out *FilterNotDimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterNotDimensionObservation. +func (in *FilterNotDimensionObservation) DeepCopy() *FilterNotDimensionObservation { + if in == nil { + return nil + } + out := new(FilterNotDimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterNotDimensionParameters) DeepCopyInto(out *FilterNotDimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterNotDimensionParameters. +func (in *FilterNotDimensionParameters) DeepCopy() *FilterNotDimensionParameters { + if in == nil { + return nil + } + out := new(FilterNotDimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterNotObservation) DeepCopyInto(out *FilterNotObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterNotObservation. +func (in *FilterNotObservation) DeepCopy() *FilterNotObservation { + if in == nil { + return nil + } + out := new(FilterNotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterNotParameters) DeepCopyInto(out *FilterNotParameters) { + *out = *in + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]FilterNotDimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]NotTagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterNotParameters. +func (in *FilterNotParameters) DeepCopy() *FilterNotParameters { + if in == nil { + return nil + } + out := new(FilterNotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation. +func (in *FilterObservation) DeepCopy() *FilterObservation { + if in == nil { + return nil + } + out := new(FilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { + *out = *in + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]DimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Not != nil { + in, out := &in.Not, &out.Not + *out = make([]NotParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]FilterTagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters. +func (in *FilterParameters) DeepCopy() *FilterParameters { + if in == nil { + return nil + } + out := new(FilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterTagObservation) DeepCopyInto(out *FilterTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterTagObservation. +func (in *FilterTagObservation) DeepCopy() *FilterTagObservation { + if in == nil { + return nil + } + out := new(FilterTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterTagParameters) DeepCopyInto(out *FilterTagParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterTagParameters. +func (in *FilterTagParameters) DeepCopy() *FilterTagParameters { + if in == nil { + return nil + } + out := new(FilterTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotDimensionObservation) DeepCopyInto(out *NotDimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotDimensionObservation. +func (in *NotDimensionObservation) DeepCopy() *NotDimensionObservation { + if in == nil { + return nil + } + out := new(NotDimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotDimensionParameters) DeepCopyInto(out *NotDimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotDimensionParameters. +func (in *NotDimensionParameters) DeepCopy() *NotDimensionParameters { + if in == nil { + return nil + } + out := new(NotDimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotObservation) DeepCopyInto(out *NotObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotObservation. +func (in *NotObservation) DeepCopy() *NotObservation { + if in == nil { + return nil + } + out := new(NotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotParameters) DeepCopyInto(out *NotParameters) { + *out = *in + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]NotDimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = make([]TagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotParameters. +func (in *NotParameters) DeepCopy() *NotParameters { + if in == nil { + return nil + } + out := new(NotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotTagObservation) DeepCopyInto(out *NotTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotTagObservation. +func (in *NotTagObservation) DeepCopy() *NotTagObservation { + if in == nil { + return nil + } + out := new(NotTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotTagParameters) DeepCopyInto(out *NotTagParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotTagParameters. +func (in *NotTagParameters) DeepCopy() *NotTagParameters { + if in == nil { + return nil + } + out := new(NotTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationObservation) DeepCopyInto(out *NotificationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationObservation. +func (in *NotificationObservation) DeepCopy() *NotificationObservation { + if in == nil { + return nil + } + out := new(NotificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationParameters) DeepCopyInto(out *NotificationParameters) { + *out = *in + if in.ContactEmails != nil { + in, out := &in.ContactEmails, &out.ContactEmails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ContactGroups != nil { + in, out := &in.ContactGroups, &out.ContactGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ContactRoles != nil { + in, out := &in.ContactRoles, &out.ContactRoles + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationParameters. +func (in *NotificationParameters) DeepCopy() *NotificationParameters { + if in == nil { + return nil + } + out := new(NotificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TagObservation) DeepCopyInto(out *TagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagObservation. +func (in *TagObservation) DeepCopy() *TagObservation { + if in == nil { + return nil + } + out := new(TagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TagParameters) DeepCopyInto(out *TagParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagParameters. +func (in *TagParameters) DeepCopy() *TagParameters { + if in == nil { + return nil + } + out := new(TagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimePeriodObservation) DeepCopyInto(out *TimePeriodObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimePeriodObservation. +func (in *TimePeriodObservation) DeepCopy() *TimePeriodObservation { + if in == nil { + return nil + } + out := new(TimePeriodObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimePeriodParameters) DeepCopyInto(out *TimePeriodParameters) { + *out = *in + if in.EndDate != nil { + in, out := &in.EndDate, &out.EndDate + *out = new(string) + **out = **in + } + if in.StartDate != nil { + in, out := &in.StartDate, &out.StartDate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimePeriodParameters. +func (in *TimePeriodParameters) DeepCopy() *TimePeriodParameters { + if in == nil { + return nil + } + out := new(TimePeriodParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/consumption/v1alpha1/zz_generated.managed.go b/apis/consumption/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2e28ff194 --- /dev/null +++ b/apis/consumption/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this BudgetResourceGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *BudgetResourceGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this BudgetResourceGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *BudgetResourceGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this BudgetResourceGroup. +func (mg *BudgetResourceGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this BudgetSubscription. +func (mg *BudgetSubscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this BudgetSubscription. +func (mg *BudgetSubscription) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this BudgetSubscription. +func (mg *BudgetSubscription) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this BudgetSubscription. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *BudgetSubscription) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this BudgetSubscription. +func (mg *BudgetSubscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this BudgetSubscription. +func (mg *BudgetSubscription) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this BudgetSubscription. +func (mg *BudgetSubscription) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this BudgetSubscription. +func (mg *BudgetSubscription) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this BudgetSubscription. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *BudgetSubscription) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this BudgetSubscription. +func (mg *BudgetSubscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/consumption/v1alpha1/zz_generated.managedlist.go b/apis/consumption/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..3e36b92ac --- /dev/null +++ b/apis/consumption/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this BudgetResourceGroupList. +func (l *BudgetResourceGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this BudgetSubscriptionList. +func (l *BudgetSubscriptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/consumption/v1alpha1/zz_groupversion_info.go b/apis/consumption/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..fa44fb302 --- /dev/null +++ b/apis/consumption/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=consumption.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "consumption.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/container/v1alpha1/zz_generated.deepcopy.go b/apis/container/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..341714bbf --- /dev/null +++ b/apis/container/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1132 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionObservation) DeepCopyInto(out *EncryptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionObservation. +func (in *EncryptionObservation) DeepCopy() *EncryptionObservation { + if in == nil { + return nil + } + out := new(EncryptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionParameters) DeepCopyInto(out *EncryptionParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.IdentityClientID != nil { + in, out := &in.IdentityClientID, &out.IdentityClientID + *out = new(string) + **out = **in + } + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionParameters. +func (in *EncryptionParameters) DeepCopy() *EncryptionParameters { + if in == nil { + return nil + } + out := new(EncryptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GeoreplicationsObservation) DeepCopyInto(out *GeoreplicationsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeoreplicationsObservation. +func (in *GeoreplicationsObservation) DeepCopy() *GeoreplicationsObservation { + if in == nil { + return nil + } + out := new(GeoreplicationsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GeoreplicationsParameters) DeepCopyInto(out *GeoreplicationsParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneRedundancyEnabled != nil { + in, out := &in.ZoneRedundancyEnabled, &out.ZoneRedundancyEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeoreplicationsParameters. +func (in *GeoreplicationsParameters) DeepCopy() *GeoreplicationsParameters { + if in == nil { + return nil + } + out := new(GeoreplicationsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRuleObservation) DeepCopyInto(out *IPRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRuleObservation. +func (in *IPRuleObservation) DeepCopy() *IPRuleObservation { + if in == nil { + return nil + } + out := new(IPRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRuleParameters) DeepCopyInto(out *IPRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.IPRange != nil { + in, out := &in.IPRange, &out.IPRange + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRuleParameters. +func (in *IPRuleParameters) DeepCopy() *IPRuleParameters { + if in == nil { + return nil + } + out := new(IPRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleSetObservation) DeepCopyInto(out *NetworkRuleSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleSetObservation. +func (in *NetworkRuleSetObservation) DeepCopy() *NetworkRuleSetObservation { + if in == nil { + return nil + } + out := new(NetworkRuleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleSetParameters) DeepCopyInto(out *NetworkRuleSetParameters) { + *out = *in + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRule != nil { + in, out := &in.IPRule, &out.IPRule + *out = make([]IPRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VirtualNetwork != nil { + in, out := &in.VirtualNetwork, &out.VirtualNetwork + *out = make([]VirtualNetworkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleSetParameters. +func (in *NetworkRuleSetParameters) DeepCopy() *NetworkRuleSetParameters { + if in == nil { + return nil + } + out := new(NetworkRuleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Registry) DeepCopyInto(out *Registry) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry. +func (in *Registry) DeepCopy() *Registry { + if in == nil { + return nil + } + out := new(Registry) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Registry) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryList) DeepCopyInto(out *RegistryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Registry, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryList. +func (in *RegistryList) DeepCopy() *RegistryList { + if in == nil { + return nil + } + out := new(RegistryList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation) { + *out = *in + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in + } + if in.LoginServer != nil { + in, out := &in.LoginServer, &out.LoginServer + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryObservation. +func (in *RegistryObservation) DeepCopy() *RegistryObservation { + if in == nil { + return nil + } + out := new(RegistryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters) { + *out = *in + if in.AdminEnabled != nil { + in, out := &in.AdminEnabled, &out.AdminEnabled + *out = new(bool) + **out = **in + } + if in.Encryption != nil { + in, out := &in.Encryption, &out.Encryption + *out = make([]EncryptionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GeoreplicationLocations != nil { + in, out := &in.GeoreplicationLocations, &out.GeoreplicationLocations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Georeplications != nil { + in, out := &in.Georeplications, &out.Georeplications + *out = make([]GeoreplicationsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkRuleSet != nil { + in, out := &in.NetworkRuleSet, &out.NetworkRuleSet + *out = make([]NetworkRuleSetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.QuarantinePolicyEnabled != nil { + in, out := &in.QuarantinePolicyEnabled, &out.QuarantinePolicyEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TrustPolicy != nil { + in, out := &in.TrustPolicy, &out.TrustPolicy + *out = make([]TrustPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZoneRedundancyEnabled != nil { + in, out := &in.ZoneRedundancyEnabled, &out.ZoneRedundancyEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryParameters. +func (in *RegistryParameters) DeepCopy() *RegistryParameters { + if in == nil { + return nil + } + out := new(RegistryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryScopeMap) DeepCopyInto(out *RegistryScopeMap) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryScopeMap. +func (in *RegistryScopeMap) DeepCopy() *RegistryScopeMap { + if in == nil { + return nil + } + out := new(RegistryScopeMap) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryScopeMap) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryScopeMapList) DeepCopyInto(out *RegistryScopeMapList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RegistryScopeMap, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryScopeMapList. +func (in *RegistryScopeMapList) DeepCopy() *RegistryScopeMapList { + if in == nil { + return nil + } + out := new(RegistryScopeMapList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryScopeMapList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryScopeMapObservation) DeepCopyInto(out *RegistryScopeMapObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryScopeMapObservation. +func (in *RegistryScopeMapObservation) DeepCopy() *RegistryScopeMapObservation { + if in == nil { + return nil + } + out := new(RegistryScopeMapObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryScopeMapParameters) DeepCopyInto(out *RegistryScopeMapParameters) { + *out = *in + if in.Actions != nil { + in, out := &in.Actions, &out.Actions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ContainerRegistryName != nil { + in, out := &in.ContainerRegistryName, &out.ContainerRegistryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryScopeMapParameters. +func (in *RegistryScopeMapParameters) DeepCopy() *RegistryScopeMapParameters { + if in == nil { + return nil + } + out := new(RegistryScopeMapParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryScopeMapSpec) DeepCopyInto(out *RegistryScopeMapSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryScopeMapSpec. +func (in *RegistryScopeMapSpec) DeepCopy() *RegistryScopeMapSpec { + if in == nil { + return nil + } + out := new(RegistryScopeMapSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryScopeMapStatus) DeepCopyInto(out *RegistryScopeMapStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryScopeMapStatus. +func (in *RegistryScopeMapStatus) DeepCopy() *RegistryScopeMapStatus { + if in == nil { + return nil + } + out := new(RegistryScopeMapStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySpec. +func (in *RegistrySpec) DeepCopy() *RegistrySpec { + if in == nil { + return nil + } + out := new(RegistrySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryStatus. +func (in *RegistryStatus) DeepCopy() *RegistryStatus { + if in == nil { + return nil + } + out := new(RegistryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryToken) DeepCopyInto(out *RegistryToken) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryToken. +func (in *RegistryToken) DeepCopy() *RegistryToken { + if in == nil { + return nil + } + out := new(RegistryToken) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryToken) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryTokenList) DeepCopyInto(out *RegistryTokenList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RegistryToken, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenList. +func (in *RegistryTokenList) DeepCopy() *RegistryTokenList { + if in == nil { + return nil + } + out := new(RegistryTokenList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryTokenList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryTokenObservation) DeepCopyInto(out *RegistryTokenObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenObservation. +func (in *RegistryTokenObservation) DeepCopy() *RegistryTokenObservation { + if in == nil { + return nil + } + out := new(RegistryTokenObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryTokenParameters) DeepCopyInto(out *RegistryTokenParameters) { + *out = *in + if in.ContainerRegistryName != nil { + in, out := &in.ContainerRegistryName, &out.ContainerRegistryName + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ScopeMapID != nil { + in, out := &in.ScopeMapID, &out.ScopeMapID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenParameters. +func (in *RegistryTokenParameters) DeepCopy() *RegistryTokenParameters { + if in == nil { + return nil + } + out := new(RegistryTokenParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryTokenSpec) DeepCopyInto(out *RegistryTokenSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenSpec. +func (in *RegistryTokenSpec) DeepCopy() *RegistryTokenSpec { + if in == nil { + return nil + } + out := new(RegistryTokenSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryTokenStatus) DeepCopyInto(out *RegistryTokenStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenStatus. +func (in *RegistryTokenStatus) DeepCopy() *RegistryTokenStatus { + if in == nil { + return nil + } + out := new(RegistryTokenStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryWebhook) DeepCopyInto(out *RegistryWebhook) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryWebhook. +func (in *RegistryWebhook) DeepCopy() *RegistryWebhook { + if in == nil { + return nil + } + out := new(RegistryWebhook) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryWebhook) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryWebhookList) DeepCopyInto(out *RegistryWebhookList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RegistryWebhook, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryWebhookList. +func (in *RegistryWebhookList) DeepCopy() *RegistryWebhookList { + if in == nil { + return nil + } + out := new(RegistryWebhookList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RegistryWebhookList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryWebhookObservation) DeepCopyInto(out *RegistryWebhookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryWebhookObservation. +func (in *RegistryWebhookObservation) DeepCopy() *RegistryWebhookObservation { + if in == nil { + return nil + } + out := new(RegistryWebhookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryWebhookParameters) DeepCopyInto(out *RegistryWebhookParameters) { + *out = *in + if in.Actions != nil { + in, out := &in.Actions, &out.Actions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CustomHeaders != nil { + in, out := &in.CustomHeaders, &out.CustomHeaders + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RegistryName != nil { + in, out := &in.RegistryName, &out.RegistryName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.ServiceURI != nil { + in, out := &in.ServiceURI, &out.ServiceURI + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryWebhookParameters. +func (in *RegistryWebhookParameters) DeepCopy() *RegistryWebhookParameters { + if in == nil { + return nil + } + out := new(RegistryWebhookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryWebhookSpec) DeepCopyInto(out *RegistryWebhookSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryWebhookSpec. +func (in *RegistryWebhookSpec) DeepCopy() *RegistryWebhookSpec { + if in == nil { + return nil + } + out := new(RegistryWebhookSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RegistryWebhookStatus) DeepCopyInto(out *RegistryWebhookStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryWebhookStatus. +func (in *RegistryWebhookStatus) DeepCopy() *RegistryWebhookStatus { + if in == nil { + return nil + } + out := new(RegistryWebhookStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. +func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { + if in == nil { + return nil + } + out := new(RetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. +func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { + if in == nil { + return nil + } + out := new(RetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrustPolicyObservation) DeepCopyInto(out *TrustPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustPolicyObservation. +func (in *TrustPolicyObservation) DeepCopy() *TrustPolicyObservation { + if in == nil { + return nil + } + out := new(TrustPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrustPolicyParameters) DeepCopyInto(out *TrustPolicyParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustPolicyParameters. +func (in *TrustPolicyParameters) DeepCopy() *TrustPolicyParameters { + if in == nil { + return nil + } + out := new(TrustPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkObservation) DeepCopyInto(out *VirtualNetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkObservation. +func (in *VirtualNetworkObservation) DeepCopy() *VirtualNetworkObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkParameters) DeepCopyInto(out *VirtualNetworkParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkParameters. +func (in *VirtualNetworkParameters) DeepCopy() *VirtualNetworkParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/container/v1alpha1/zz_generated.managed.go b/apis/container/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..70df3b581 --- /dev/null +++ b/apis/container/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Registry. +func (mg *Registry) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Registry. +func (mg *Registry) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Registry. +func (mg *Registry) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Registry. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Registry) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Registry. +func (mg *Registry) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Registry. +func (mg *Registry) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Registry. +func (mg *Registry) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Registry. +func (mg *Registry) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Registry. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Registry) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Registry. +func (mg *Registry) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RegistryScopeMap. +func (mg *RegistryScopeMap) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RegistryScopeMap. +func (mg *RegistryScopeMap) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RegistryScopeMap. +func (mg *RegistryScopeMap) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RegistryScopeMap. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RegistryScopeMap) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RegistryScopeMap. +func (mg *RegistryScopeMap) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RegistryScopeMap. +func (mg *RegistryScopeMap) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RegistryScopeMap. +func (mg *RegistryScopeMap) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RegistryScopeMap. +func (mg *RegistryScopeMap) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RegistryScopeMap. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RegistryScopeMap) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RegistryScopeMap. +func (mg *RegistryScopeMap) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RegistryToken. +func (mg *RegistryToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RegistryToken. +func (mg *RegistryToken) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RegistryToken. +func (mg *RegistryToken) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RegistryToken. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RegistryToken) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RegistryToken. +func (mg *RegistryToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RegistryToken. +func (mg *RegistryToken) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RegistryToken. +func (mg *RegistryToken) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RegistryToken. +func (mg *RegistryToken) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RegistryToken. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RegistryToken) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RegistryToken. +func (mg *RegistryToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RegistryWebhook. +func (mg *RegistryWebhook) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RegistryWebhook. +func (mg *RegistryWebhook) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RegistryWebhook. +func (mg *RegistryWebhook) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RegistryWebhook. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RegistryWebhook) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RegistryWebhook. +func (mg *RegistryWebhook) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RegistryWebhook. +func (mg *RegistryWebhook) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RegistryWebhook. +func (mg *RegistryWebhook) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RegistryWebhook. +func (mg *RegistryWebhook) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RegistryWebhook. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RegistryWebhook) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RegistryWebhook. +func (mg *RegistryWebhook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/container/v1alpha1/zz_generated.managedlist.go b/apis/container/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..14b6e36bf --- /dev/null +++ b/apis/container/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this RegistryList. +func (l *RegistryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RegistryScopeMapList. +func (l *RegistryScopeMapList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RegistryTokenList. +func (l *RegistryTokenList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RegistryWebhookList. +func (l *RegistryWebhookList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/container/v1alpha1/zz_groupversion_info.go b/apis/container/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..71667a4ad --- /dev/null +++ b/apis/container/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=container.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "container.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/container/v1alpha1/zz_registry_terraformed.go b/apis/container/v1alpha1/zz_registry_terraformed.go new file mode 100755 index 000000000..78fdece68 --- /dev/null +++ b/apis/container/v1alpha1/zz_registry_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Registry +func (mg *Registry) GetTerraformResourceType() string { + return "azurerm_container_registry" +} + +// GetConnectionDetailsMapping for this Registry +func (tr *Registry) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"admin_password": "status.atProvider.adminPassword"} +} + +// GetObservation of this Registry +func (tr *Registry) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Registry +func (tr *Registry) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Registry +func (tr *Registry) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Registry +func (tr *Registry) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Registry using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Registry) LateInitialize(attrs []byte) (bool, error) { + params := &RegistryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Registry) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/container/v1alpha1/zz_registry_types.go b/apis/container/v1alpha1/zz_registry_types.go new file mode 100755 index 000000000..1938e4c37 --- /dev/null +++ b/apis/container/v1alpha1/zz_registry_types.go @@ -0,0 +1,240 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EncryptionObservation struct { +} + +type EncryptionParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + IdentityClientID *string `json:"identityClientId" tf:"identity_client_id,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultKeyID *string `json:"keyVaultKeyId" tf:"key_vault_key_id,omitempty"` +} + +type GeoreplicationsObservation struct { +} + +type GeoreplicationsParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundancyEnabled *bool `json:"zoneRedundancyEnabled,omitempty" tf:"zone_redundancy_enabled,omitempty"` +} + +type IPRuleObservation struct { +} + +type IPRuleParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + IPRange *string `json:"ipRange" tf:"ip_range,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type NetworkRuleSetObservation struct { +} + +type NetworkRuleSetParameters struct { + + // +kubebuilder:validation:Optional + DefaultAction *string `json:"defaultAction,omitempty" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPRule []IPRuleParameters `json:"ipRule,omitempty" tf:"ip_rule,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetwork []VirtualNetworkParameters `json:"virtualNetwork,omitempty" tf:"virtual_network,omitempty"` +} + +type RegistryObservation struct { + AdminUsername *string `json:"adminUsername,omitempty" tf:"admin_username,omitempty"` + + LoginServer *string `json:"loginServer,omitempty" tf:"login_server,omitempty"` +} + +type RegistryParameters struct { + + // +kubebuilder:validation:Optional + AdminEnabled *bool `json:"adminEnabled,omitempty" tf:"admin_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Encryption []EncryptionParameters `json:"encryption,omitempty" tf:"encryption,omitempty"` + + // +kubebuilder:validation:Optional + GeoreplicationLocations []*string `json:"georeplicationLocations,omitempty" tf:"georeplication_locations,omitempty"` + + // +kubebuilder:validation:Optional + Georeplications []GeoreplicationsParameters `json:"georeplications,omitempty" tf:"georeplications,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkRuleSet []NetworkRuleSetParameters `json:"networkRuleSet,omitempty" tf:"network_rule_set,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + QuarantinePolicyEnabled *bool `json:"quarantinePolicyEnabled,omitempty" tf:"quarantine_policy_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetentionPolicy []RetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TrustPolicy []TrustPolicyParameters `json:"trustPolicy,omitempty" tf:"trust_policy,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundancyEnabled *bool `json:"zoneRedundancyEnabled,omitempty" tf:"zone_redundancy_enabled,omitempty"` +} + +type RetentionPolicyObservation struct { +} + +type RetentionPolicyParameters struct { + + // +kubebuilder:validation:Optional + Days *int64 `json:"days,omitempty" tf:"days,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` +} + +type TrustPolicyObservation struct { +} + +type TrustPolicyParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` +} + +type VirtualNetworkObservation struct { +} + +type VirtualNetworkParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// RegistrySpec defines the desired state of Registry +type RegistrySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RegistryParameters `json:"forProvider"` +} + +// RegistryStatus defines the observed state of Registry. +type RegistryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RegistryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Registry is the Schema for the Registrys API +// +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,azurejet} +type Registry struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RegistrySpec `json:"spec"` + Status RegistryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryList contains a list of Registrys +type RegistryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Registry `json:"items"` +} + +// Repository type metadata. +var ( + Registry_Kind = "Registry" + Registry_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Registry_Kind}.String() + Registry_KindAPIVersion = Registry_Kind + "." + CRDGroupVersion.String() + Registry_GroupVersionKind = CRDGroupVersion.WithKind(Registry_Kind) +) + +func init() { + SchemeBuilder.Register(&Registry{}, &RegistryList{}) +} diff --git a/apis/container/v1alpha1/zz_registryscopemap_terraformed.go b/apis/container/v1alpha1/zz_registryscopemap_terraformed.go new file mode 100755 index 000000000..fb77e9b82 --- /dev/null +++ b/apis/container/v1alpha1/zz_registryscopemap_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RegistryScopeMap +func (mg *RegistryScopeMap) GetTerraformResourceType() string { + return "azurerm_container_registry_scope_map" +} + +// GetConnectionDetailsMapping for this RegistryScopeMap +func (tr *RegistryScopeMap) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RegistryScopeMap +func (tr *RegistryScopeMap) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RegistryScopeMap +func (tr *RegistryScopeMap) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RegistryScopeMap +func (tr *RegistryScopeMap) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RegistryScopeMap +func (tr *RegistryScopeMap) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RegistryScopeMap using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RegistryScopeMap) LateInitialize(attrs []byte) (bool, error) { + params := &RegistryScopeMapParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RegistryScopeMap) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/container/v1alpha1/zz_registryscopemap_types.go b/apis/container/v1alpha1/zz_registryscopemap_types.go new file mode 100755 index 000000000..bb543ddf3 --- /dev/null +++ b/apis/container/v1alpha1/zz_registryscopemap_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RegistryScopeMapObservation struct { +} + +type RegistryScopeMapParameters struct { + + // +kubebuilder:validation:Required + Actions []*string `json:"actions" tf:"actions,omitempty"` + + // +kubebuilder:validation:Required + ContainerRegistryName *string `json:"containerRegistryName" tf:"container_registry_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RegistryScopeMapSpec defines the desired state of RegistryScopeMap +type RegistryScopeMapSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RegistryScopeMapParameters `json:"forProvider"` +} + +// RegistryScopeMapStatus defines the observed state of RegistryScopeMap. +type RegistryScopeMapStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RegistryScopeMapObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryScopeMap is the Schema for the RegistryScopeMaps API +// +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,azurejet} +type RegistryScopeMap struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RegistryScopeMapSpec `json:"spec"` + Status RegistryScopeMapStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryScopeMapList contains a list of RegistryScopeMaps +type RegistryScopeMapList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RegistryScopeMap `json:"items"` +} + +// Repository type metadata. +var ( + RegistryScopeMap_Kind = "RegistryScopeMap" + RegistryScopeMap_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RegistryScopeMap_Kind}.String() + RegistryScopeMap_KindAPIVersion = RegistryScopeMap_Kind + "." + CRDGroupVersion.String() + RegistryScopeMap_GroupVersionKind = CRDGroupVersion.WithKind(RegistryScopeMap_Kind) +) + +func init() { + SchemeBuilder.Register(&RegistryScopeMap{}, &RegistryScopeMapList{}) +} diff --git a/apis/container/v1alpha1/zz_registrytoken_terraformed.go b/apis/container/v1alpha1/zz_registrytoken_terraformed.go new file mode 100755 index 000000000..05a397228 --- /dev/null +++ b/apis/container/v1alpha1/zz_registrytoken_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RegistryToken +func (mg *RegistryToken) GetTerraformResourceType() string { + return "azurerm_container_registry_token" +} + +// GetConnectionDetailsMapping for this RegistryToken +func (tr *RegistryToken) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RegistryToken +func (tr *RegistryToken) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RegistryToken +func (tr *RegistryToken) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RegistryToken +func (tr *RegistryToken) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RegistryToken +func (tr *RegistryToken) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RegistryToken using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RegistryToken) LateInitialize(attrs []byte) (bool, error) { + params := &RegistryTokenParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RegistryToken) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/container/v1alpha1/zz_registrytoken_types.go b/apis/container/v1alpha1/zz_registrytoken_types.go new file mode 100755 index 000000000..f434871d4 --- /dev/null +++ b/apis/container/v1alpha1/zz_registrytoken_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RegistryTokenObservation struct { +} + +type RegistryTokenParameters struct { + + // +kubebuilder:validation:Required + ContainerRegistryName *string `json:"containerRegistryName" tf:"container_registry_name,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ScopeMapID *string `json:"scopeMapId" tf:"scope_map_id,omitempty"` +} + +// RegistryTokenSpec defines the desired state of RegistryToken +type RegistryTokenSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RegistryTokenParameters `json:"forProvider"` +} + +// RegistryTokenStatus defines the observed state of RegistryToken. +type RegistryTokenStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RegistryTokenObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryToken is the Schema for the RegistryTokens API +// +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,azurejet} +type RegistryToken struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RegistryTokenSpec `json:"spec"` + Status RegistryTokenStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryTokenList contains a list of RegistryTokens +type RegistryTokenList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RegistryToken `json:"items"` +} + +// Repository type metadata. +var ( + RegistryToken_Kind = "RegistryToken" + RegistryToken_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RegistryToken_Kind}.String() + RegistryToken_KindAPIVersion = RegistryToken_Kind + "." + CRDGroupVersion.String() + RegistryToken_GroupVersionKind = CRDGroupVersion.WithKind(RegistryToken_Kind) +) + +func init() { + SchemeBuilder.Register(&RegistryToken{}, &RegistryTokenList{}) +} diff --git a/apis/container/v1alpha1/zz_registrywebhook_terraformed.go b/apis/container/v1alpha1/zz_registrywebhook_terraformed.go new file mode 100755 index 000000000..8c21138e7 --- /dev/null +++ b/apis/container/v1alpha1/zz_registrywebhook_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RegistryWebhook +func (mg *RegistryWebhook) GetTerraformResourceType() string { + return "azurerm_container_registry_webhook" +} + +// GetConnectionDetailsMapping for this RegistryWebhook +func (tr *RegistryWebhook) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RegistryWebhook +func (tr *RegistryWebhook) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RegistryWebhook +func (tr *RegistryWebhook) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RegistryWebhook +func (tr *RegistryWebhook) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RegistryWebhook +func (tr *RegistryWebhook) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RegistryWebhook using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RegistryWebhook) LateInitialize(attrs []byte) (bool, error) { + params := &RegistryWebhookParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RegistryWebhook) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/container/v1alpha1/zz_registrywebhook_types.go b/apis/container/v1alpha1/zz_registrywebhook_types.go new file mode 100755 index 000000000..709886f20 --- /dev/null +++ b/apis/container/v1alpha1/zz_registrywebhook_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RegistryWebhookObservation struct { +} + +type RegistryWebhookParameters struct { + + // +kubebuilder:validation:Required + Actions []*string `json:"actions" tf:"actions,omitempty"` + + // +kubebuilder:validation:Optional + CustomHeaders map[string]*string `json:"customHeaders,omitempty" tf:"custom_headers,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RegistryName *string `json:"registryName" tf:"registry_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` + + // +kubebuilder:validation:Required + ServiceURI *string `json:"serviceUri" tf:"service_uri,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// RegistryWebhookSpec defines the desired state of RegistryWebhook +type RegistryWebhookSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RegistryWebhookParameters `json:"forProvider"` +} + +// RegistryWebhookStatus defines the observed state of RegistryWebhook. +type RegistryWebhookStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RegistryWebhookObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryWebhook is the Schema for the RegistryWebhooks API +// +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,azurejet} +type RegistryWebhook struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RegistryWebhookSpec `json:"spec"` + Status RegistryWebhookStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RegistryWebhookList contains a list of RegistryWebhooks +type RegistryWebhookList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RegistryWebhook `json:"items"` +} + +// Repository type metadata. +var ( + RegistryWebhook_Kind = "RegistryWebhook" + RegistryWebhook_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RegistryWebhook_Kind}.String() + RegistryWebhook_KindAPIVersion = RegistryWebhook_Kind + "." + CRDGroupVersion.String() + RegistryWebhook_GroupVersionKind = CRDGroupVersion.WithKind(RegistryWebhook_Kind) +) + +func init() { + SchemeBuilder.Register(&RegistryWebhook{}, &RegistryWebhookList{}) +} diff --git a/apis/cost/v1alpha1/zz_generated.deepcopy.go b/apis/cost/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2a9510efe --- /dev/null +++ b/apis/cost/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,277 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryInfoObservation) DeepCopyInto(out *DeliveryInfoObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryInfoObservation. +func (in *DeliveryInfoObservation) DeepCopy() *DeliveryInfoObservation { + if in == nil { + return nil + } + out := new(DeliveryInfoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryInfoParameters) DeepCopyInto(out *DeliveryInfoParameters) { + *out = *in + if in.ContainerName != nil { + in, out := &in.ContainerName, &out.ContainerName + *out = new(string) + **out = **in + } + if in.RootFolderPath != nil { + in, out := &in.RootFolderPath, &out.RootFolderPath + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryInfoParameters. +func (in *DeliveryInfoParameters) DeepCopy() *DeliveryInfoParameters { + if in == nil { + return nil + } + out := new(DeliveryInfoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementExportResourceGroup) DeepCopyInto(out *ManagementExportResourceGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementExportResourceGroup. +func (in *ManagementExportResourceGroup) DeepCopy() *ManagementExportResourceGroup { + if in == nil { + return nil + } + out := new(ManagementExportResourceGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementExportResourceGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementExportResourceGroupList) DeepCopyInto(out *ManagementExportResourceGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementExportResourceGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementExportResourceGroupList. +func (in *ManagementExportResourceGroupList) DeepCopy() *ManagementExportResourceGroupList { + if in == nil { + return nil + } + out := new(ManagementExportResourceGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementExportResourceGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementExportResourceGroupObservation) DeepCopyInto(out *ManagementExportResourceGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementExportResourceGroupObservation. +func (in *ManagementExportResourceGroupObservation) DeepCopy() *ManagementExportResourceGroupObservation { + if in == nil { + return nil + } + out := new(ManagementExportResourceGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementExportResourceGroupParameters) DeepCopyInto(out *ManagementExportResourceGroupParameters) { + *out = *in + if in.Active != nil { + in, out := &in.Active, &out.Active + *out = new(bool) + **out = **in + } + if in.DeliveryInfo != nil { + in, out := &in.DeliveryInfo, &out.DeliveryInfo + *out = make([]DeliveryInfoParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Query != nil { + in, out := &in.Query, &out.Query + *out = make([]QueryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RecurrencePeriodEnd != nil { + in, out := &in.RecurrencePeriodEnd, &out.RecurrencePeriodEnd + *out = new(string) + **out = **in + } + if in.RecurrencePeriodStart != nil { + in, out := &in.RecurrencePeriodStart, &out.RecurrencePeriodStart + *out = new(string) + **out = **in + } + if in.RecurrenceType != nil { + in, out := &in.RecurrenceType, &out.RecurrenceType + *out = new(string) + **out = **in + } + if in.ResourceGroupID != nil { + in, out := &in.ResourceGroupID, &out.ResourceGroupID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementExportResourceGroupParameters. +func (in *ManagementExportResourceGroupParameters) DeepCopy() *ManagementExportResourceGroupParameters { + if in == nil { + return nil + } + out := new(ManagementExportResourceGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementExportResourceGroupSpec) DeepCopyInto(out *ManagementExportResourceGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementExportResourceGroupSpec. +func (in *ManagementExportResourceGroupSpec) DeepCopy() *ManagementExportResourceGroupSpec { + if in == nil { + return nil + } + out := new(ManagementExportResourceGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementExportResourceGroupStatus) DeepCopyInto(out *ManagementExportResourceGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementExportResourceGroupStatus. +func (in *ManagementExportResourceGroupStatus) DeepCopy() *ManagementExportResourceGroupStatus { + if in == nil { + return nil + } + out := new(ManagementExportResourceGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryObservation) DeepCopyInto(out *QueryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryObservation. +func (in *QueryObservation) DeepCopy() *QueryObservation { + if in == nil { + return nil + } + out := new(QueryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryParameters) DeepCopyInto(out *QueryParameters) { + *out = *in + if in.TimeFrame != nil { + in, out := &in.TimeFrame, &out.TimeFrame + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameters. +func (in *QueryParameters) DeepCopy() *QueryParameters { + if in == nil { + return nil + } + out := new(QueryParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/cost/v1alpha1/zz_generated.managed.go b/apis/cost/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e2140a783 --- /dev/null +++ b/apis/cost/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementExportResourceGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementExportResourceGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementExportResourceGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementExportResourceGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementExportResourceGroup. +func (mg *ManagementExportResourceGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/cost/v1alpha1/zz_generated.managedlist.go b/apis/cost/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..270eabd5d --- /dev/null +++ b/apis/cost/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ManagementExportResourceGroupList. +func (l *ManagementExportResourceGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/cost/v1alpha1/zz_groupversion_info.go b/apis/cost/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..993ef19b3 --- /dev/null +++ b/apis/cost/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=cost.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "cost.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/cost/v1alpha1/zz_managementexportresourcegroup_terraformed.go b/apis/cost/v1alpha1/zz_managementexportresourcegroup_terraformed.go new file mode 100755 index 000000000..4d31d24d5 --- /dev/null +++ b/apis/cost/v1alpha1/zz_managementexportresourcegroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementExportResourceGroup +func (mg *ManagementExportResourceGroup) GetTerraformResourceType() string { + return "azurerm_cost_management_export_resource_group" +} + +// GetConnectionDetailsMapping for this ManagementExportResourceGroup +func (tr *ManagementExportResourceGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementExportResourceGroup +func (tr *ManagementExportResourceGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementExportResourceGroup +func (tr *ManagementExportResourceGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementExportResourceGroup +func (tr *ManagementExportResourceGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementExportResourceGroup +func (tr *ManagementExportResourceGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementExportResourceGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementExportResourceGroup) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementExportResourceGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementExportResourceGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/cost/v1alpha1/zz_managementexportresourcegroup_types.go b/apis/cost/v1alpha1/zz_managementexportresourcegroup_types.go new file mode 100755 index 000000000..7753539b3 --- /dev/null +++ b/apis/cost/v1alpha1/zz_managementexportresourcegroup_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DeliveryInfoObservation struct { +} + +type DeliveryInfoParameters struct { + + // +kubebuilder:validation:Required + ContainerName *string `json:"containerName" tf:"container_name,omitempty"` + + // +kubebuilder:validation:Required + RootFolderPath *string `json:"rootFolderPath" tf:"root_folder_path,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type ManagementExportResourceGroupObservation struct { +} + +type ManagementExportResourceGroupParameters struct { + + // +kubebuilder:validation:Optional + Active *bool `json:"active,omitempty" tf:"active,omitempty"` + + // +kubebuilder:validation:Required + DeliveryInfo []DeliveryInfoParameters `json:"deliveryInfo" tf:"delivery_info,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Query []QueryParameters `json:"query" tf:"query,omitempty"` + + // +kubebuilder:validation:Required + RecurrencePeriodEnd *string `json:"recurrencePeriodEnd" tf:"recurrence_period_end,omitempty"` + + // +kubebuilder:validation:Required + RecurrencePeriodStart *string `json:"recurrencePeriodStart" tf:"recurrence_period_start,omitempty"` + + // +kubebuilder:validation:Required + RecurrenceType *string `json:"recurrenceType" tf:"recurrence_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupID *string `json:"resourceGroupId" tf:"resource_group_id,omitempty"` +} + +type QueryObservation struct { +} + +type QueryParameters struct { + + // +kubebuilder:validation:Required + TimeFrame *string `json:"timeFrame" tf:"time_frame,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// ManagementExportResourceGroupSpec defines the desired state of ManagementExportResourceGroup +type ManagementExportResourceGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementExportResourceGroupParameters `json:"forProvider"` +} + +// ManagementExportResourceGroupStatus defines the observed state of ManagementExportResourceGroup. +type ManagementExportResourceGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementExportResourceGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementExportResourceGroup is the Schema for the ManagementExportResourceGroups API +// +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,azurejet} +type ManagementExportResourceGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementExportResourceGroupSpec `json:"spec"` + Status ManagementExportResourceGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementExportResourceGroupList contains a list of ManagementExportResourceGroups +type ManagementExportResourceGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementExportResourceGroup `json:"items"` +} + +// Repository type metadata. +var ( + ManagementExportResourceGroup_Kind = "ManagementExportResourceGroup" + ManagementExportResourceGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementExportResourceGroup_Kind}.String() + ManagementExportResourceGroup_KindAPIVersion = ManagementExportResourceGroup_Kind + "." + CRDGroupVersion.String() + ManagementExportResourceGroup_GroupVersionKind = CRDGroupVersion.WithKind(ManagementExportResourceGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementExportResourceGroup{}, &ManagementExportResourceGroupList{}) +} diff --git a/apis/custom/v1alpha1/zz_generated.deepcopy.go b/apis/custom/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..5642a11e0 --- /dev/null +++ b/apis/custom/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,319 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionObservation) DeepCopyInto(out *ActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionObservation. +func (in *ActionObservation) DeepCopy() *ActionObservation { + if in == nil { + return nil + } + out := new(ActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionParameters. +func (in *ActionParameters) DeepCopy() *ActionParameters { + if in == nil { + return nil + } + out := new(ActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Provider) DeepCopyInto(out *Provider) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider. +func (in *Provider) DeepCopy() *Provider { + if in == nil { + return nil + } + out := new(Provider) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Provider) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderList) DeepCopyInto(out *ProviderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Provider, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderList. +func (in *ProviderList) DeepCopy() *ProviderList { + if in == nil { + return nil + } + out := new(ProviderList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProviderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderObservation) DeepCopyInto(out *ProviderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderObservation. +func (in *ProviderObservation) DeepCopy() *ProviderObservation { + if in == nil { + return nil + } + out := new(ProviderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderParameters) DeepCopyInto(out *ProviderParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]ActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceType != nil { + in, out := &in.ResourceType, &out.ResourceType + *out = make([]ResourceTypeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Validation != nil { + in, out := &in.Validation, &out.Validation + *out = make([]ValidationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderParameters. +func (in *ProviderParameters) DeepCopy() *ProviderParameters { + if in == nil { + return nil + } + out := new(ProviderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec. +func (in *ProviderSpec) DeepCopy() *ProviderSpec { + if in == nil { + return nil + } + out := new(ProviderSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus. +func (in *ProviderStatus) DeepCopy() *ProviderStatus { + if in == nil { + return nil + } + out := new(ProviderStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceTypeObservation) DeepCopyInto(out *ResourceTypeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTypeObservation. +func (in *ResourceTypeObservation) DeepCopy() *ResourceTypeObservation { + if in == nil { + return nil + } + out := new(ResourceTypeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceTypeParameters) DeepCopyInto(out *ResourceTypeParameters) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RoutingType != nil { + in, out := &in.RoutingType, &out.RoutingType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTypeParameters. +func (in *ResourceTypeParameters) DeepCopy() *ResourceTypeParameters { + if in == nil { + return nil + } + out := new(ResourceTypeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValidationObservation) DeepCopyInto(out *ValidationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationObservation. +func (in *ValidationObservation) DeepCopy() *ValidationObservation { + if in == nil { + return nil + } + out := new(ValidationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ValidationParameters) DeepCopyInto(out *ValidationParameters) { + *out = *in + if in.Specification != nil { + in, out := &in.Specification, &out.Specification + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationParameters. +func (in *ValidationParameters) DeepCopy() *ValidationParameters { + if in == nil { + return nil + } + out := new(ValidationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/custom/v1alpha1/zz_generated.managed.go b/apis/custom/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..508ad50c8 --- /dev/null +++ b/apis/custom/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Provider. +func (mg *Provider) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Provider. +func (mg *Provider) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Provider. +func (mg *Provider) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Provider. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Provider) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Provider. +func (mg *Provider) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Provider. +func (mg *Provider) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Provider. +func (mg *Provider) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Provider. +func (mg *Provider) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Provider. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Provider) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Provider. +func (mg *Provider) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/custom/v1alpha1/zz_generated.managedlist.go b/apis/custom/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..c3505dead --- /dev/null +++ b/apis/custom/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ProviderList. +func (l *ProviderList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/custom/v1alpha1/zz_groupversion_info.go b/apis/custom/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..9761f22bc --- /dev/null +++ b/apis/custom/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=custom.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "custom.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/custom/v1alpha1/zz_provider_terraformed.go b/apis/custom/v1alpha1/zz_provider_terraformed.go new file mode 100755 index 000000000..8f597aefd --- /dev/null +++ b/apis/custom/v1alpha1/zz_provider_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Provider +func (mg *Provider) GetTerraformResourceType() string { + return "azurerm_custom_provider" +} + +// GetConnectionDetailsMapping for this Provider +func (tr *Provider) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Provider +func (tr *Provider) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Provider +func (tr *Provider) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Provider +func (tr *Provider) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Provider +func (tr *Provider) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Provider using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Provider) LateInitialize(attrs []byte) (bool, error) { + params := &ProviderParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Provider) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/custom/v1alpha1/zz_provider_types.go b/apis/custom/v1alpha1/zz_provider_types.go new file mode 100755 index 000000000..c68ab4f5f --- /dev/null +++ b/apis/custom/v1alpha1/zz_provider_types.go @@ -0,0 +1,138 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionObservation struct { +} + +type ActionParameters struct { + + // +kubebuilder:validation:Required + Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ProviderObservation struct { +} + +type ProviderParameters struct { + + // +kubebuilder:validation:Optional + Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceType []ResourceTypeParameters `json:"resourceType,omitempty" tf:"resource_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Validation []ValidationParameters `json:"validation,omitempty" tf:"validation,omitempty"` +} + +type ResourceTypeObservation struct { +} + +type ResourceTypeParameters struct { + + // +kubebuilder:validation:Required + Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RoutingType *string `json:"routingType,omitempty" tf:"routing_type,omitempty"` +} + +type ValidationObservation struct { +} + +type ValidationParameters struct { + + // +kubebuilder:validation:Required + Specification *string `json:"specification" tf:"specification,omitempty"` +} + +// ProviderSpec defines the desired state of Provider +type ProviderSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProviderParameters `json:"forProvider"` +} + +// ProviderStatus defines the observed state of Provider. +type ProviderStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProviderObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Provider is the Schema for the Providers API +// +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,azurejet} +type Provider struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProviderSpec `json:"spec"` + Status ProviderStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProviderList contains a list of Providers +type ProviderList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Provider `json:"items"` +} + +// Repository type metadata. +var ( + Provider_Kind = "Provider" + Provider_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Provider_Kind}.String() + Provider_KindAPIVersion = Provider_Kind + "." + CRDGroupVersion.String() + Provider_GroupVersionKind = CRDGroupVersion.WithKind(Provider_Kind) +) + +func init() { + SchemeBuilder.Register(&Provider{}, &ProviderList{}) +} diff --git a/apis/data/v1alpha1/zz_factory_terraformed.go b/apis/data/v1alpha1/zz_factory_terraformed.go new file mode 100755 index 000000000..b65dbebf9 --- /dev/null +++ b/apis/data/v1alpha1/zz_factory_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Factory +func (mg *Factory) GetTerraformResourceType() string { + return "azurerm_data_factory" +} + +// GetConnectionDetailsMapping for this Factory +func (tr *Factory) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Factory +func (tr *Factory) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Factory +func (tr *Factory) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Factory +func (tr *Factory) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Factory +func (tr *Factory) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Factory using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Factory) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Factory) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/data/v1alpha1/zz_factory_types.go b/apis/data/v1alpha1/zz_factory_types.go new file mode 100755 index 000000000..1cd732ff8 --- /dev/null +++ b/apis/data/v1alpha1/zz_factory_types.go @@ -0,0 +1,189 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryObservation struct { +} + +type FactoryParameters struct { + + // +kubebuilder:validation:Optional + CustomerManagedKeyID *string `json:"customerManagedKeyId,omitempty" tf:"customer_managed_key_id,omitempty"` + + // +kubebuilder:validation:Optional + GithubConfiguration []GithubConfigurationParameters `json:"githubConfiguration,omitempty" tf:"github_configuration,omitempty"` + + // +kubebuilder:validation:Optional + GlobalParameter []GlobalParameterParameters `json:"globalParameter,omitempty" tf:"global_parameter,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + ManagedVirtualNetworkEnabled *bool `json:"managedVirtualNetworkEnabled,omitempty" tf:"managed_virtual_network_enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkEnabled *bool `json:"publicNetworkEnabled,omitempty" tf:"public_network_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + VstsConfiguration []VstsConfigurationParameters `json:"vstsConfiguration,omitempty" tf:"vsts_configuration,omitempty"` +} + +type GithubConfigurationObservation struct { +} + +type GithubConfigurationParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + BranchName *string `json:"branchName" tf:"branch_name,omitempty"` + + // +kubebuilder:validation:Required + GitURL *string `json:"gitUrl" tf:"git_url,omitempty"` + + // +kubebuilder:validation:Required + RepositoryName *string `json:"repositoryName" tf:"repository_name,omitempty"` + + // +kubebuilder:validation:Required + RootFolder *string `json:"rootFolder" tf:"root_folder,omitempty"` +} + +type GlobalParameterObservation struct { +} + +type GlobalParameterParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type VstsConfigurationObservation struct { +} + +type VstsConfigurationParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + BranchName *string `json:"branchName" tf:"branch_name,omitempty"` + + // +kubebuilder:validation:Required + ProjectName *string `json:"projectName" tf:"project_name,omitempty"` + + // +kubebuilder:validation:Required + RepositoryName *string `json:"repositoryName" tf:"repository_name,omitempty"` + + // +kubebuilder:validation:Required + RootFolder *string `json:"rootFolder" tf:"root_folder,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// FactorySpec defines the desired state of Factory +type FactorySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryParameters `json:"forProvider"` +} + +// FactoryStatus defines the observed state of Factory. +type FactoryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Factory is the Schema for the Factorys API +// +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,azurejet} +type Factory struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactorySpec `json:"spec"` + Status FactoryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryList contains a list of Factorys +type FactoryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Factory `json:"items"` +} + +// Repository type metadata. +var ( + Factory_Kind = "Factory" + Factory_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Factory_Kind}.String() + Factory_KindAPIVersion = Factory_Kind + "." + CRDGroupVersion.String() + Factory_GroupVersionKind = CRDGroupVersion.WithKind(Factory_Kind) +) + +func init() { + SchemeBuilder.Register(&Factory{}, &FactoryList{}) +} diff --git a/apis/data/v1alpha1/zz_factorycustomdataset_terraformed.go b/apis/data/v1alpha1/zz_factorycustomdataset_terraformed.go new file mode 100755 index 000000000..7fa432200 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorycustomdataset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryCustomDataset +func (mg *FactoryCustomDataset) GetTerraformResourceType() string { + return "azurerm_data_factory_custom_dataset" +} + +// GetConnectionDetailsMapping for this FactoryCustomDataset +func (tr *FactoryCustomDataset) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryCustomDataset +func (tr *FactoryCustomDataset) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryCustomDataset +func (tr *FactoryCustomDataset) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryCustomDataset +func (tr *FactoryCustomDataset) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryCustomDataset +func (tr *FactoryCustomDataset) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryCustomDataset using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryCustomDataset) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryCustomDatasetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryCustomDataset) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorycustomdataset_types.go b/apis/data/v1alpha1/zz_factorycustomdataset_types.go new file mode 100755 index 000000000..489a92051 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorycustomdataset_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryCustomDatasetObservation struct { +} + +type FactoryCustomDatasetParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedService []LinkedServiceParameters `json:"linkedService" tf:"linked_service,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + SchemaJSON *string `json:"schemaJson,omitempty" tf:"schema_json,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + TypePropertiesJSON *string `json:"typePropertiesJson" tf:"type_properties_json,omitempty"` +} + +type LinkedServiceObservation struct { +} + +type LinkedServiceParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +// FactoryCustomDatasetSpec defines the desired state of FactoryCustomDataset +type FactoryCustomDatasetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryCustomDatasetParameters `json:"forProvider"` +} + +// FactoryCustomDatasetStatus defines the observed state of FactoryCustomDataset. +type FactoryCustomDatasetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryCustomDatasetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryCustomDataset is the Schema for the FactoryCustomDatasets API +// +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,azurejet} +type FactoryCustomDataset struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryCustomDatasetSpec `json:"spec"` + Status FactoryCustomDatasetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryCustomDatasetList contains a list of FactoryCustomDatasets +type FactoryCustomDatasetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryCustomDataset `json:"items"` +} + +// Repository type metadata. +var ( + FactoryCustomDataset_Kind = "FactoryCustomDataset" + FactoryCustomDataset_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryCustomDataset_Kind}.String() + FactoryCustomDataset_KindAPIVersion = FactoryCustomDataset_Kind + "." + CRDGroupVersion.String() + FactoryCustomDataset_GroupVersionKind = CRDGroupVersion.WithKind(FactoryCustomDataset_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryCustomDataset{}, &FactoryCustomDatasetList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydataflow_terraformed.go b/apis/data/v1alpha1/zz_factorydataflow_terraformed.go new file mode 100755 index 000000000..28e20d950 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydataflow_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDataFlow +func (mg *FactoryDataFlow) GetTerraformResourceType() string { + return "azurerm_data_factory_data_flow" +} + +// GetConnectionDetailsMapping for this FactoryDataFlow +func (tr *FactoryDataFlow) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDataFlow +func (tr *FactoryDataFlow) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDataFlow +func (tr *FactoryDataFlow) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDataFlow +func (tr *FactoryDataFlow) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDataFlow +func (tr *FactoryDataFlow) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDataFlow using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDataFlow) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDataFlowParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDataFlow) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydataflow_types.go b/apis/data/v1alpha1/zz_factorydataflow_types.go new file mode 100755 index 000000000..3b2a4c6a6 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydataflow_types.go @@ -0,0 +1,234 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatasetObservation struct { +} + +type DatasetParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type FactoryDataFlowObservation struct { +} + +type FactoryDataFlowParameters struct { + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Script *string `json:"script" tf:"script,omitempty"` + + // +kubebuilder:validation:Required + Sink []SinkParameters `json:"sink" tf:"sink,omitempty"` + + // +kubebuilder:validation:Required + Source []SourceParameters `json:"source" tf:"source,omitempty"` + + // +kubebuilder:validation:Optional + Transformation []TransformationParameters `json:"transformation,omitempty" tf:"transformation,omitempty"` +} + +type SchemaLinkedServiceObservation struct { +} + +type SchemaLinkedServiceParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type SinkLinkedServiceObservation struct { +} + +type SinkLinkedServiceParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type SinkObservation struct { +} + +type SinkParameters struct { + + // +kubebuilder:validation:Optional + Dataset []DatasetParameters `json:"dataset,omitempty" tf:"dataset,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + LinkedService []SinkLinkedServiceParameters `json:"linkedService,omitempty" tf:"linked_service,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaLinkedService []SchemaLinkedServiceParameters `json:"schemaLinkedService,omitempty" tf:"schema_linked_service,omitempty"` +} + +type SourceDatasetObservation struct { +} + +type SourceDatasetParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type SourceLinkedServiceObservation struct { +} + +type SourceLinkedServiceParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type SourceObservation struct { +} + +type SourceParameters struct { + + // +kubebuilder:validation:Optional + Dataset []SourceDatasetParameters `json:"dataset,omitempty" tf:"dataset,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + LinkedService []SourceLinkedServiceParameters `json:"linkedService,omitempty" tf:"linked_service,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaLinkedService []SourceSchemaLinkedServiceParameters `json:"schemaLinkedService,omitempty" tf:"schema_linked_service,omitempty"` +} + +type SourceSchemaLinkedServiceObservation struct { +} + +type SourceSchemaLinkedServiceParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type TransformationObservation struct { +} + +type TransformationParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// FactoryDataFlowSpec defines the desired state of FactoryDataFlow +type FactoryDataFlowSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDataFlowParameters `json:"forProvider"` +} + +// FactoryDataFlowStatus defines the observed state of FactoryDataFlow. +type FactoryDataFlowStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDataFlowObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDataFlow is the Schema for the FactoryDataFlows API +// +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,azurejet} +type FactoryDataFlow struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDataFlowSpec `json:"spec"` + Status FactoryDataFlowStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDataFlowList contains a list of FactoryDataFlows +type FactoryDataFlowList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDataFlow `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDataFlow_Kind = "FactoryDataFlow" + FactoryDataFlow_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDataFlow_Kind}.String() + FactoryDataFlow_KindAPIVersion = FactoryDataFlow_Kind + "." + CRDGroupVersion.String() + FactoryDataFlow_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDataFlow_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDataFlow{}, &FactoryDataFlowList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetazureblob_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetazureblob_terraformed.go new file mode 100755 index 000000000..36949e2c9 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetazureblob_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetAzureBlob +func (mg *FactoryDatasetAzureBlob) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_azure_blob" +} + +// GetConnectionDetailsMapping for this FactoryDatasetAzureBlob +func (tr *FactoryDatasetAzureBlob) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetAzureBlob +func (tr *FactoryDatasetAzureBlob) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetAzureBlob +func (tr *FactoryDatasetAzureBlob) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetAzureBlob +func (tr *FactoryDatasetAzureBlob) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetAzureBlob +func (tr *FactoryDatasetAzureBlob) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetAzureBlob using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetAzureBlob) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetAzureBlobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetAzureBlob) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetazureblob_types.go b/apis/data/v1alpha1/zz_factorydatasetazureblob_types.go new file mode 100755 index 000000000..7d018ee2a --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetazureblob_types.go @@ -0,0 +1,138 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetAzureBlobObservation struct { +} + +type FactoryDatasetAzureBlobParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []SchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` +} + +type SchemaColumnObservation struct { +} + +type SchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetAzureBlobSpec defines the desired state of FactoryDatasetAzureBlob +type FactoryDatasetAzureBlobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetAzureBlobParameters `json:"forProvider"` +} + +// FactoryDatasetAzureBlobStatus defines the observed state of FactoryDatasetAzureBlob. +type FactoryDatasetAzureBlobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetAzureBlobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetAzureBlob is the Schema for the FactoryDatasetAzureBlobs API +// +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,azurejet} +type FactoryDatasetAzureBlob struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetAzureBlobSpec `json:"spec"` + Status FactoryDatasetAzureBlobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetAzureBlobList contains a list of FactoryDatasetAzureBlobs +type FactoryDatasetAzureBlobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetAzureBlob `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetAzureBlob_Kind = "FactoryDatasetAzureBlob" + FactoryDatasetAzureBlob_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetAzureBlob_Kind}.String() + FactoryDatasetAzureBlob_KindAPIVersion = FactoryDatasetAzureBlob_Kind + "." + CRDGroupVersion.String() + FactoryDatasetAzureBlob_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetAzureBlob_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetAzureBlob{}, &FactoryDatasetAzureBlobList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetbinary_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetbinary_terraformed.go new file mode 100755 index 000000000..28165b88b --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetbinary_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetBinary +func (mg *FactoryDatasetBinary) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_binary" +} + +// GetConnectionDetailsMapping for this FactoryDatasetBinary +func (tr *FactoryDatasetBinary) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetBinary +func (tr *FactoryDatasetBinary) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetBinary +func (tr *FactoryDatasetBinary) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetBinary +func (tr *FactoryDatasetBinary) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetBinary +func (tr *FactoryDatasetBinary) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetBinary using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetBinary) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetBinaryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetBinary) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetbinary_types.go b/apis/data/v1alpha1/zz_factorydatasetbinary_types.go new file mode 100755 index 000000000..be6eb4e20 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetbinary_types.go @@ -0,0 +1,192 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AzureBlobStorageLocationObservation struct { +} + +type AzureBlobStorageLocationParameters struct { + + // +kubebuilder:validation:Required + Container *string `json:"container" tf:"container,omitempty"` + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type CompressionObservation struct { +} + +type CompressionParameters struct { + + // +kubebuilder:validation:Optional + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type FactoryDatasetBinaryObservation struct { +} + +type FactoryDatasetBinaryParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + AzureBlobStorageLocation []AzureBlobStorageLocationParameters `json:"azureBlobStorageLocation,omitempty" tf:"azure_blob_storage_location,omitempty"` + + // +kubebuilder:validation:Optional + Compression []CompressionParameters `json:"compression,omitempty" tf:"compression,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Optional + HTTPServerLocation []HTTPServerLocationParameters `json:"httpServerLocation,omitempty" tf:"http_server_location,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SftpServerLocation []SftpServerLocationParameters `json:"sftpServerLocation,omitempty" tf:"sftp_server_location,omitempty"` +} + +type HTTPServerLocationObservation struct { +} + +type HTTPServerLocationParameters struct { + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + RelativeURL *string `json:"relativeUrl" tf:"relative_url,omitempty"` +} + +type SftpServerLocationObservation struct { +} + +type SftpServerLocationParameters struct { + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` +} + +// FactoryDatasetBinarySpec defines the desired state of FactoryDatasetBinary +type FactoryDatasetBinarySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetBinaryParameters `json:"forProvider"` +} + +// FactoryDatasetBinaryStatus defines the observed state of FactoryDatasetBinary. +type FactoryDatasetBinaryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetBinaryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetBinary is the Schema for the FactoryDatasetBinarys API +// +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,azurejet} +type FactoryDatasetBinary struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetBinarySpec `json:"spec"` + Status FactoryDatasetBinaryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetBinaryList contains a list of FactoryDatasetBinarys +type FactoryDatasetBinaryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetBinary `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetBinary_Kind = "FactoryDatasetBinary" + FactoryDatasetBinary_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetBinary_Kind}.String() + FactoryDatasetBinary_KindAPIVersion = FactoryDatasetBinary_Kind + "." + CRDGroupVersion.String() + FactoryDatasetBinary_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetBinary_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetBinary{}, &FactoryDatasetBinaryList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetcosmosdbsqlapi_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetcosmosdbsqlapi_terraformed.go new file mode 100755 index 000000000..45c00dc3b --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetcosmosdbsqlapi_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetCosmosdbSqlapi +func (mg *FactoryDatasetCosmosdbSqlapi) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_cosmosdb_sqlapi" +} + +// GetConnectionDetailsMapping for this FactoryDatasetCosmosdbSqlapi +func (tr *FactoryDatasetCosmosdbSqlapi) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetCosmosdbSqlapi +func (tr *FactoryDatasetCosmosdbSqlapi) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetCosmosdbSqlapi +func (tr *FactoryDatasetCosmosdbSqlapi) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetCosmosdbSqlapi +func (tr *FactoryDatasetCosmosdbSqlapi) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetCosmosdbSqlapi +func (tr *FactoryDatasetCosmosdbSqlapi) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetCosmosdbSqlapi using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetCosmosdbSqlapi) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetCosmosdbSqlapiParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetCosmosdbSqlapi) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetcosmosdbsqlapi_types.go b/apis/data/v1alpha1/zz_factorydatasetcosmosdbsqlapi_types.go new file mode 100755 index 000000000..d386d3d12 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetcosmosdbsqlapi_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetCosmosdbSqlapiObservation struct { +} + +type FactoryDatasetCosmosdbSqlapiParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + CollectionName *string `json:"collectionName,omitempty" tf:"collection_name,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetCosmosdbSqlapiSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` +} + +type FactoryDatasetCosmosdbSqlapiSchemaColumnObservation struct { +} + +type FactoryDatasetCosmosdbSqlapiSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetCosmosdbSqlapiSpec defines the desired state of FactoryDatasetCosmosdbSqlapi +type FactoryDatasetCosmosdbSqlapiSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetCosmosdbSqlapiParameters `json:"forProvider"` +} + +// FactoryDatasetCosmosdbSqlapiStatus defines the observed state of FactoryDatasetCosmosdbSqlapi. +type FactoryDatasetCosmosdbSqlapiStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetCosmosdbSqlapiObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetCosmosdbSqlapi is the Schema for the FactoryDatasetCosmosdbSqlapis API +// +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,azurejet} +type FactoryDatasetCosmosdbSqlapi struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetCosmosdbSqlapiSpec `json:"spec"` + Status FactoryDatasetCosmosdbSqlapiStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetCosmosdbSqlapiList contains a list of FactoryDatasetCosmosdbSqlapis +type FactoryDatasetCosmosdbSqlapiList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetCosmosdbSqlapi `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetCosmosdbSqlapi_Kind = "FactoryDatasetCosmosdbSqlapi" + FactoryDatasetCosmosdbSqlapi_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetCosmosdbSqlapi_Kind}.String() + FactoryDatasetCosmosdbSqlapi_KindAPIVersion = FactoryDatasetCosmosdbSqlapi_Kind + "." + CRDGroupVersion.String() + FactoryDatasetCosmosdbSqlapi_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetCosmosdbSqlapi_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetCosmosdbSqlapi{}, &FactoryDatasetCosmosdbSqlapiList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetdelimitedtext_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetdelimitedtext_terraformed.go new file mode 100755 index 000000000..140ffbe70 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetdelimitedtext_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetDelimitedText +func (mg *FactoryDatasetDelimitedText) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_delimited_text" +} + +// GetConnectionDetailsMapping for this FactoryDatasetDelimitedText +func (tr *FactoryDatasetDelimitedText) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetDelimitedText +func (tr *FactoryDatasetDelimitedText) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetDelimitedText +func (tr *FactoryDatasetDelimitedText) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetDelimitedText +func (tr *FactoryDatasetDelimitedText) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetDelimitedText +func (tr *FactoryDatasetDelimitedText) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetDelimitedText using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetDelimitedText) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetDelimitedTextParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetDelimitedText) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetdelimitedtext_types.go b/apis/data/v1alpha1/zz_factorydatasetdelimitedtext_types.go new file mode 100755 index 000000000..bccdfad30 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetdelimitedtext_types.go @@ -0,0 +1,219 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AzureBlobFsLocationObservation struct { +} + +type AzureBlobFsLocationParameters struct { + + // +kubebuilder:validation:Required + FileSystem *string `json:"fileSystem" tf:"file_system,omitempty"` + + // +kubebuilder:validation:Optional + Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation struct { +} + +type FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters struct { + + // +kubebuilder:validation:Required + Container *string `json:"container" tf:"container,omitempty"` + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` +} + +type FactoryDatasetDelimitedTextHTTPServerLocationObservation struct { +} + +type FactoryDatasetDelimitedTextHTTPServerLocationParameters struct { + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + RelativeURL *string `json:"relativeUrl" tf:"relative_url,omitempty"` +} + +type FactoryDatasetDelimitedTextObservation struct { +} + +type FactoryDatasetDelimitedTextParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + AzureBlobFsLocation []AzureBlobFsLocationParameters `json:"azureBlobFsLocation,omitempty" tf:"azure_blob_fs_location,omitempty"` + + // +kubebuilder:validation:Optional + AzureBlobStorageLocation []FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters `json:"azureBlobStorageLocation,omitempty" tf:"azure_blob_storage_location,omitempty"` + + // +kubebuilder:validation:Optional + ColumnDelimiter *string `json:"columnDelimiter,omitempty" tf:"column_delimiter,omitempty"` + + // +kubebuilder:validation:Optional + CompressionCodec *string `json:"compressionCodec,omitempty" tf:"compression_codec,omitempty"` + + // +kubebuilder:validation:Optional + CompressionLevel *string `json:"compressionLevel,omitempty" tf:"compression_level,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + EscapeCharacter *string `json:"escapeCharacter,omitempty" tf:"escape_character,omitempty"` + + // +kubebuilder:validation:Optional + FirstRowAsHeader *bool `json:"firstRowAsHeader,omitempty" tf:"first_row_as_header,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Optional + HTTPServerLocation []FactoryDatasetDelimitedTextHTTPServerLocationParameters `json:"httpServerLocation,omitempty" tf:"http_server_location,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NullValue *string `json:"nullValue,omitempty" tf:"null_value,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + QuoteCharacter *string `json:"quoteCharacter,omitempty" tf:"quote_character,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RowDelimiter *string `json:"rowDelimiter,omitempty" tf:"row_delimiter,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetDelimitedTextSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` +} + +type FactoryDatasetDelimitedTextSchemaColumnObservation struct { +} + +type FactoryDatasetDelimitedTextSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetDelimitedTextSpec defines the desired state of FactoryDatasetDelimitedText +type FactoryDatasetDelimitedTextSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetDelimitedTextParameters `json:"forProvider"` +} + +// FactoryDatasetDelimitedTextStatus defines the observed state of FactoryDatasetDelimitedText. +type FactoryDatasetDelimitedTextStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetDelimitedTextObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetDelimitedText is the Schema for the FactoryDatasetDelimitedTexts API +// +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,azurejet} +type FactoryDatasetDelimitedText struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetDelimitedTextSpec `json:"spec"` + Status FactoryDatasetDelimitedTextStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetDelimitedTextList contains a list of FactoryDatasetDelimitedTexts +type FactoryDatasetDelimitedTextList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetDelimitedText `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetDelimitedText_Kind = "FactoryDatasetDelimitedText" + FactoryDatasetDelimitedText_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetDelimitedText_Kind}.String() + FactoryDatasetDelimitedText_KindAPIVersion = FactoryDatasetDelimitedText_Kind + "." + CRDGroupVersion.String() + FactoryDatasetDelimitedText_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetDelimitedText_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetDelimitedText{}, &FactoryDatasetDelimitedTextList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasethttp_terraformed.go b/apis/data/v1alpha1/zz_factorydatasethttp_terraformed.go new file mode 100755 index 000000000..3da4997e1 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasethttp_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetHttp +func (mg *FactoryDatasetHttp) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_http" +} + +// GetConnectionDetailsMapping for this FactoryDatasetHttp +func (tr *FactoryDatasetHttp) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetHttp +func (tr *FactoryDatasetHttp) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetHttp +func (tr *FactoryDatasetHttp) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetHttp +func (tr *FactoryDatasetHttp) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetHttp +func (tr *FactoryDatasetHttp) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetHttp using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetHttp) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetHttpParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetHttp) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasethttp_types.go b/apis/data/v1alpha1/zz_factorydatasethttp_types.go new file mode 100755 index 000000000..c01d51711 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasethttp_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetHttpObservation struct { +} + +type FactoryDatasetHttpParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + RelativeURL *string `json:"relativeUrl,omitempty" tf:"relative_url,omitempty"` + + // +kubebuilder:validation:Optional + RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"` + + // +kubebuilder:validation:Optional + RequestMethod *string `json:"requestMethod,omitempty" tf:"request_method,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetHttpSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` +} + +type FactoryDatasetHttpSchemaColumnObservation struct { +} + +type FactoryDatasetHttpSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetHttpSpec defines the desired state of FactoryDatasetHttp +type FactoryDatasetHttpSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetHttpParameters `json:"forProvider"` +} + +// FactoryDatasetHttpStatus defines the observed state of FactoryDatasetHttp. +type FactoryDatasetHttpStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetHttpObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetHttp is the Schema for the FactoryDatasetHttps API +// +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,azurejet} +type FactoryDatasetHttp struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetHttpSpec `json:"spec"` + Status FactoryDatasetHttpStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetHttpList contains a list of FactoryDatasetHttps +type FactoryDatasetHttpList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetHttp `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetHttp_Kind = "FactoryDatasetHttp" + FactoryDatasetHttp_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetHttp_Kind}.String() + FactoryDatasetHttp_KindAPIVersion = FactoryDatasetHttp_Kind + "." + CRDGroupVersion.String() + FactoryDatasetHttp_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetHttp_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetHttp{}, &FactoryDatasetHttpList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetjson_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetjson_terraformed.go new file mode 100755 index 000000000..9d3d754a4 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetjson_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetJson +func (mg *FactoryDatasetJson) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_json" +} + +// GetConnectionDetailsMapping for this FactoryDatasetJson +func (tr *FactoryDatasetJson) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetJson +func (tr *FactoryDatasetJson) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetJson +func (tr *FactoryDatasetJson) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetJson +func (tr *FactoryDatasetJson) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetJson +func (tr *FactoryDatasetJson) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetJson using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetJson) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetJsonParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetJson) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetjson_types.go b/apis/data/v1alpha1/zz_factorydatasetjson_types.go new file mode 100755 index 000000000..86686d5d9 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetjson_types.go @@ -0,0 +1,177 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetJsonAzureBlobStorageLocationObservation struct { +} + +type FactoryDatasetJsonAzureBlobStorageLocationParameters struct { + + // +kubebuilder:validation:Required + Container *string `json:"container" tf:"container,omitempty"` + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` +} + +type FactoryDatasetJsonHTTPServerLocationObservation struct { +} + +type FactoryDatasetJsonHTTPServerLocationParameters struct { + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + RelativeURL *string `json:"relativeUrl" tf:"relative_url,omitempty"` +} + +type FactoryDatasetJsonObservation struct { +} + +type FactoryDatasetJsonParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + AzureBlobStorageLocation []FactoryDatasetJsonAzureBlobStorageLocationParameters `json:"azureBlobStorageLocation,omitempty" tf:"azure_blob_storage_location,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Optional + HTTPServerLocation []FactoryDatasetJsonHTTPServerLocationParameters `json:"httpServerLocation,omitempty" tf:"http_server_location,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetJsonSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` +} + +type FactoryDatasetJsonSchemaColumnObservation struct { +} + +type FactoryDatasetJsonSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetJsonSpec defines the desired state of FactoryDatasetJson +type FactoryDatasetJsonSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetJsonParameters `json:"forProvider"` +} + +// FactoryDatasetJsonStatus defines the observed state of FactoryDatasetJson. +type FactoryDatasetJsonStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetJsonObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetJson is the Schema for the FactoryDatasetJsons API +// +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,azurejet} +type FactoryDatasetJson struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetJsonSpec `json:"spec"` + Status FactoryDatasetJsonStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetJsonList contains a list of FactoryDatasetJsons +type FactoryDatasetJsonList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetJson `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetJson_Kind = "FactoryDatasetJson" + FactoryDatasetJson_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetJson_Kind}.String() + FactoryDatasetJson_KindAPIVersion = FactoryDatasetJson_Kind + "." + CRDGroupVersion.String() + FactoryDatasetJson_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetJson_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetJson{}, &FactoryDatasetJsonList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetmysql_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetmysql_terraformed.go new file mode 100755 index 000000000..f31c86fc3 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetmysql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetMysql +func (mg *FactoryDatasetMysql) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_mysql" +} + +// GetConnectionDetailsMapping for this FactoryDatasetMysql +func (tr *FactoryDatasetMysql) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetMysql +func (tr *FactoryDatasetMysql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetMysql +func (tr *FactoryDatasetMysql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetMysql +func (tr *FactoryDatasetMysql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetMysql +func (tr *FactoryDatasetMysql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetMysql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetMysql) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetMysqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetMysql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetmysql_types.go b/apis/data/v1alpha1/zz_factorydatasetmysql_types.go new file mode 100755 index 000000000..cd0ef0382 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetmysql_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetMysqlObservation struct { +} + +type FactoryDatasetMysqlParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetMysqlSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +type FactoryDatasetMysqlSchemaColumnObservation struct { +} + +type FactoryDatasetMysqlSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetMysqlSpec defines the desired state of FactoryDatasetMysql +type FactoryDatasetMysqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetMysqlParameters `json:"forProvider"` +} + +// FactoryDatasetMysqlStatus defines the observed state of FactoryDatasetMysql. +type FactoryDatasetMysqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetMysqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetMysql is the Schema for the FactoryDatasetMysqls API +// +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,azurejet} +type FactoryDatasetMysql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetMysqlSpec `json:"spec"` + Status FactoryDatasetMysqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetMysqlList contains a list of FactoryDatasetMysqls +type FactoryDatasetMysqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetMysql `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetMysql_Kind = "FactoryDatasetMysql" + FactoryDatasetMysql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetMysql_Kind}.String() + FactoryDatasetMysql_KindAPIVersion = FactoryDatasetMysql_Kind + "." + CRDGroupVersion.String() + FactoryDatasetMysql_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetMysql_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetMysql{}, &FactoryDatasetMysqlList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetparquet_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetparquet_terraformed.go new file mode 100755 index 000000000..a3c36f59a --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetparquet_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetParquet +func (mg *FactoryDatasetParquet) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_parquet" +} + +// GetConnectionDetailsMapping for this FactoryDatasetParquet +func (tr *FactoryDatasetParquet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetParquet +func (tr *FactoryDatasetParquet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetParquet +func (tr *FactoryDatasetParquet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetParquet +func (tr *FactoryDatasetParquet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetParquet +func (tr *FactoryDatasetParquet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetParquet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetParquet) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetParquetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetParquet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetparquet_types.go b/apis/data/v1alpha1/zz_factorydatasetparquet_types.go new file mode 100755 index 000000000..47db43502 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetparquet_types.go @@ -0,0 +1,180 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetParquetAzureBlobStorageLocationObservation struct { +} + +type FactoryDatasetParquetAzureBlobStorageLocationParameters struct { + + // +kubebuilder:validation:Required + Container *string `json:"container" tf:"container,omitempty"` + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Filename *string `json:"filename,omitempty" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` +} + +type FactoryDatasetParquetHTTPServerLocationObservation struct { +} + +type FactoryDatasetParquetHTTPServerLocationParameters struct { + + // +kubebuilder:validation:Optional + DynamicFilenameEnabled *bool `json:"dynamicFilenameEnabled,omitempty" tf:"dynamic_filename_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DynamicPathEnabled *bool `json:"dynamicPathEnabled,omitempty" tf:"dynamic_path_enabled,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + RelativeURL *string `json:"relativeUrl" tf:"relative_url,omitempty"` +} + +type FactoryDatasetParquetObservation struct { +} + +type FactoryDatasetParquetParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + AzureBlobStorageLocation []FactoryDatasetParquetAzureBlobStorageLocationParameters `json:"azureBlobStorageLocation,omitempty" tf:"azure_blob_storage_location,omitempty"` + + // +kubebuilder:validation:Optional + CompressionCodec *string `json:"compressionCodec,omitempty" tf:"compression_codec,omitempty"` + + // +kubebuilder:validation:Optional + CompressionLevel *string `json:"compressionLevel,omitempty" tf:"compression_level,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Optional + HTTPServerLocation []FactoryDatasetParquetHTTPServerLocationParameters `json:"httpServerLocation,omitempty" tf:"http_server_location,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetParquetSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` +} + +type FactoryDatasetParquetSchemaColumnObservation struct { +} + +type FactoryDatasetParquetSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetParquetSpec defines the desired state of FactoryDatasetParquet +type FactoryDatasetParquetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetParquetParameters `json:"forProvider"` +} + +// FactoryDatasetParquetStatus defines the observed state of FactoryDatasetParquet. +type FactoryDatasetParquetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetParquetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetParquet is the Schema for the FactoryDatasetParquets API +// +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,azurejet} +type FactoryDatasetParquet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetParquetSpec `json:"spec"` + Status FactoryDatasetParquetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetParquetList contains a list of FactoryDatasetParquets +type FactoryDatasetParquetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetParquet `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetParquet_Kind = "FactoryDatasetParquet" + FactoryDatasetParquet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetParquet_Kind}.String() + FactoryDatasetParquet_KindAPIVersion = FactoryDatasetParquet_Kind + "." + CRDGroupVersion.String() + FactoryDatasetParquet_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetParquet_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetParquet{}, &FactoryDatasetParquetList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetpostgresql_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetpostgresql_terraformed.go new file mode 100755 index 000000000..19cb3c944 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetpostgresql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetPostgresql +func (mg *FactoryDatasetPostgresql) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_postgresql" +} + +// GetConnectionDetailsMapping for this FactoryDatasetPostgresql +func (tr *FactoryDatasetPostgresql) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetPostgresql +func (tr *FactoryDatasetPostgresql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetPostgresql +func (tr *FactoryDatasetPostgresql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetPostgresql +func (tr *FactoryDatasetPostgresql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetPostgresql +func (tr *FactoryDatasetPostgresql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetPostgresql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetPostgresql) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetPostgresqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetPostgresql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetpostgresql_types.go b/apis/data/v1alpha1/zz_factorydatasetpostgresql_types.go new file mode 100755 index 000000000..4f3fb0ec6 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetpostgresql_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetPostgresqlObservation struct { +} + +type FactoryDatasetPostgresqlParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetPostgresqlSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +type FactoryDatasetPostgresqlSchemaColumnObservation struct { +} + +type FactoryDatasetPostgresqlSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetPostgresqlSpec defines the desired state of FactoryDatasetPostgresql +type FactoryDatasetPostgresqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetPostgresqlParameters `json:"forProvider"` +} + +// FactoryDatasetPostgresqlStatus defines the observed state of FactoryDatasetPostgresql. +type FactoryDatasetPostgresqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetPostgresqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetPostgresql is the Schema for the FactoryDatasetPostgresqls API +// +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,azurejet} +type FactoryDatasetPostgresql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetPostgresqlSpec `json:"spec"` + Status FactoryDatasetPostgresqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetPostgresqlList contains a list of FactoryDatasetPostgresqls +type FactoryDatasetPostgresqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetPostgresql `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetPostgresql_Kind = "FactoryDatasetPostgresql" + FactoryDatasetPostgresql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetPostgresql_Kind}.String() + FactoryDatasetPostgresql_KindAPIVersion = FactoryDatasetPostgresql_Kind + "." + CRDGroupVersion.String() + FactoryDatasetPostgresql_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetPostgresql_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetPostgresql{}, &FactoryDatasetPostgresqlList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetsnowflake_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetsnowflake_terraformed.go new file mode 100755 index 000000000..1d0aae7f3 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetsnowflake_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetSnowflake +func (mg *FactoryDatasetSnowflake) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_snowflake" +} + +// GetConnectionDetailsMapping for this FactoryDatasetSnowflake +func (tr *FactoryDatasetSnowflake) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetSnowflake +func (tr *FactoryDatasetSnowflake) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetSnowflake +func (tr *FactoryDatasetSnowflake) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetSnowflake +func (tr *FactoryDatasetSnowflake) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetSnowflake +func (tr *FactoryDatasetSnowflake) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetSnowflake using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetSnowflake) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetSnowflakeParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetSnowflake) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetsnowflake_types.go b/apis/data/v1alpha1/zz_factorydatasetsnowflake_types.go new file mode 100755 index 000000000..b522d162c --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetsnowflake_types.go @@ -0,0 +1,153 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetSnowflakeObservation struct { +} + +type FactoryDatasetSnowflakeParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetSnowflakeSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` + + // +kubebuilder:validation:Optional + SchemaName *string `json:"schemaName,omitempty" tf:"schema_name,omitempty"` + + // +kubebuilder:validation:Optional + StructureColumn []StructureColumnParameters `json:"structureColumn,omitempty" tf:"structure_column,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +type FactoryDatasetSnowflakeSchemaColumnObservation struct { +} + +type FactoryDatasetSnowflakeSchemaColumnParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Precision *int64 `json:"precision,omitempty" tf:"precision,omitempty"` + + // +kubebuilder:validation:Optional + Scale *int64 `json:"scale,omitempty" tf:"scale,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type StructureColumnObservation struct { +} + +type StructureColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetSnowflakeSpec defines the desired state of FactoryDatasetSnowflake +type FactoryDatasetSnowflakeSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetSnowflakeParameters `json:"forProvider"` +} + +// FactoryDatasetSnowflakeStatus defines the observed state of FactoryDatasetSnowflake. +type FactoryDatasetSnowflakeStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetSnowflakeObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetSnowflake is the Schema for the FactoryDatasetSnowflakes API +// +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,azurejet} +type FactoryDatasetSnowflake struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetSnowflakeSpec `json:"spec"` + Status FactoryDatasetSnowflakeStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetSnowflakeList contains a list of FactoryDatasetSnowflakes +type FactoryDatasetSnowflakeList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetSnowflake `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetSnowflake_Kind = "FactoryDatasetSnowflake" + FactoryDatasetSnowflake_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetSnowflake_Kind}.String() + FactoryDatasetSnowflake_KindAPIVersion = FactoryDatasetSnowflake_Kind + "." + CRDGroupVersion.String() + FactoryDatasetSnowflake_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetSnowflake_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetSnowflake{}, &FactoryDatasetSnowflakeList{}) +} diff --git a/apis/data/v1alpha1/zz_factorydatasetsqlservertable_terraformed.go b/apis/data/v1alpha1/zz_factorydatasetsqlservertable_terraformed.go new file mode 100755 index 000000000..1100cede4 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetsqlservertable_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryDatasetSqlServerTable +func (mg *FactoryDatasetSqlServerTable) GetTerraformResourceType() string { + return "azurerm_data_factory_dataset_sql_server_table" +} + +// GetConnectionDetailsMapping for this FactoryDatasetSqlServerTable +func (tr *FactoryDatasetSqlServerTable) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryDatasetSqlServerTable +func (tr *FactoryDatasetSqlServerTable) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryDatasetSqlServerTable +func (tr *FactoryDatasetSqlServerTable) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryDatasetSqlServerTable +func (tr *FactoryDatasetSqlServerTable) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryDatasetSqlServerTable +func (tr *FactoryDatasetSqlServerTable) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryDatasetSqlServerTable using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryDatasetSqlServerTable) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryDatasetSqlServerTableParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryDatasetSqlServerTable) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorydatasetsqlservertable_types.go b/apis/data/v1alpha1/zz_factorydatasetsqlservertable_types.go new file mode 100755 index 000000000..107265fd5 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorydatasetsqlservertable_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryDatasetSqlServerTableObservation struct { +} + +type FactoryDatasetSqlServerTableParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SchemaColumn []FactoryDatasetSqlServerTableSchemaColumnParameters `json:"schemaColumn,omitempty" tf:"schema_column,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +type FactoryDatasetSqlServerTableSchemaColumnObservation struct { +} + +type FactoryDatasetSqlServerTableSchemaColumnParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// FactoryDatasetSqlServerTableSpec defines the desired state of FactoryDatasetSqlServerTable +type FactoryDatasetSqlServerTableSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryDatasetSqlServerTableParameters `json:"forProvider"` +} + +// FactoryDatasetSqlServerTableStatus defines the observed state of FactoryDatasetSqlServerTable. +type FactoryDatasetSqlServerTableStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryDatasetSqlServerTableObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetSqlServerTable is the Schema for the FactoryDatasetSqlServerTables API +// +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,azurejet} +type FactoryDatasetSqlServerTable struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryDatasetSqlServerTableSpec `json:"spec"` + Status FactoryDatasetSqlServerTableStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryDatasetSqlServerTableList contains a list of FactoryDatasetSqlServerTables +type FactoryDatasetSqlServerTableList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryDatasetSqlServerTable `json:"items"` +} + +// Repository type metadata. +var ( + FactoryDatasetSqlServerTable_Kind = "FactoryDatasetSqlServerTable" + FactoryDatasetSqlServerTable_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryDatasetSqlServerTable_Kind}.String() + FactoryDatasetSqlServerTable_KindAPIVersion = FactoryDatasetSqlServerTable_Kind + "." + CRDGroupVersion.String() + FactoryDatasetSqlServerTable_GroupVersionKind = CRDGroupVersion.WithKind(FactoryDatasetSqlServerTable_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryDatasetSqlServerTable{}, &FactoryDatasetSqlServerTableList{}) +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimeazure_terraformed.go b/apis/data/v1alpha1/zz_factoryintegrationruntimeazure_terraformed.go new file mode 100755 index 000000000..56934a871 --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimeazure_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryIntegrationRuntimeAzure +func (mg *FactoryIntegrationRuntimeAzure) GetTerraformResourceType() string { + return "azurerm_data_factory_integration_runtime_azure" +} + +// GetConnectionDetailsMapping for this FactoryIntegrationRuntimeAzure +func (tr *FactoryIntegrationRuntimeAzure) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryIntegrationRuntimeAzure +func (tr *FactoryIntegrationRuntimeAzure) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryIntegrationRuntimeAzure +func (tr *FactoryIntegrationRuntimeAzure) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryIntegrationRuntimeAzure +func (tr *FactoryIntegrationRuntimeAzure) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryIntegrationRuntimeAzure +func (tr *FactoryIntegrationRuntimeAzure) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryIntegrationRuntimeAzure using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryIntegrationRuntimeAzure) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryIntegrationRuntimeAzureParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryIntegrationRuntimeAzure) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimeazure_types.go b/apis/data/v1alpha1/zz_factoryintegrationruntimeazure_types.go new file mode 100755 index 000000000..c0ad4bb22 --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimeazure_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryIntegrationRuntimeAzureObservation struct { +} + +type FactoryIntegrationRuntimeAzureParameters struct { + + // +kubebuilder:validation:Optional + CleanupEnabled *bool `json:"cleanupEnabled,omitempty" tf:"cleanup_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ComputeType *string `json:"computeType,omitempty" tf:"compute_type,omitempty"` + + // +kubebuilder:validation:Optional + CoreCount *int64 `json:"coreCount,omitempty" tf:"core_count,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + TimeToLiveMin *int64 `json:"timeToLiveMin,omitempty" tf:"time_to_live_min,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkEnabled *bool `json:"virtualNetworkEnabled,omitempty" tf:"virtual_network_enabled,omitempty"` +} + +// FactoryIntegrationRuntimeAzureSpec defines the desired state of FactoryIntegrationRuntimeAzure +type FactoryIntegrationRuntimeAzureSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryIntegrationRuntimeAzureParameters `json:"forProvider"` +} + +// FactoryIntegrationRuntimeAzureStatus defines the observed state of FactoryIntegrationRuntimeAzure. +type FactoryIntegrationRuntimeAzureStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryIntegrationRuntimeAzureObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeAzure is the Schema for the FactoryIntegrationRuntimeAzures API +// +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,azurejet} +type FactoryIntegrationRuntimeAzure struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryIntegrationRuntimeAzureSpec `json:"spec"` + Status FactoryIntegrationRuntimeAzureStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeAzureList contains a list of FactoryIntegrationRuntimeAzures +type FactoryIntegrationRuntimeAzureList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryIntegrationRuntimeAzure `json:"items"` +} + +// Repository type metadata. +var ( + FactoryIntegrationRuntimeAzure_Kind = "FactoryIntegrationRuntimeAzure" + FactoryIntegrationRuntimeAzure_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryIntegrationRuntimeAzure_Kind}.String() + FactoryIntegrationRuntimeAzure_KindAPIVersion = FactoryIntegrationRuntimeAzure_Kind + "." + CRDGroupVersion.String() + FactoryIntegrationRuntimeAzure_GroupVersionKind = CRDGroupVersion.WithKind(FactoryIntegrationRuntimeAzure_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryIntegrationRuntimeAzure{}, &FactoryIntegrationRuntimeAzureList{}) +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimeazuressis_terraformed.go b/apis/data/v1alpha1/zz_factoryintegrationruntimeazuressis_terraformed.go new file mode 100755 index 000000000..e161bac9a --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimeazuressis_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryIntegrationRuntimeAzureSsis +func (mg *FactoryIntegrationRuntimeAzureSsis) GetTerraformResourceType() string { + return "azurerm_data_factory_integration_runtime_azure_ssis" +} + +// GetConnectionDetailsMapping for this FactoryIntegrationRuntimeAzureSsis +func (tr *FactoryIntegrationRuntimeAzureSsis) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"catalog_info[*].administrator_password": "spec.forProvider.catalogInfo[*].administratorPasswordSecretRef", "custom_setup_script[*].sas_token": "spec.forProvider.customSetupScript[*].sasTokenSecretRef", "express_custom_setup[*].command_key[*].password": "spec.forProvider.expressCustomSetup[*].commandKey[*].passwordSecretRef", "express_custom_setup[*].component[*].license": "spec.forProvider.expressCustomSetup[*].component[*].licenseSecretRef"} +} + +// GetObservation of this FactoryIntegrationRuntimeAzureSsis +func (tr *FactoryIntegrationRuntimeAzureSsis) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryIntegrationRuntimeAzureSsis +func (tr *FactoryIntegrationRuntimeAzureSsis) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryIntegrationRuntimeAzureSsis +func (tr *FactoryIntegrationRuntimeAzureSsis) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryIntegrationRuntimeAzureSsis +func (tr *FactoryIntegrationRuntimeAzureSsis) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryIntegrationRuntimeAzureSsis using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryIntegrationRuntimeAzureSsis) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryIntegrationRuntimeAzureSsisParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryIntegrationRuntimeAzureSsis) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimeazuressis_types.go b/apis/data/v1alpha1/zz_factoryintegrationruntimeazuressis_types.go new file mode 100755 index 000000000..ece4ff4df --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimeazuressis_types.go @@ -0,0 +1,294 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CatalogInfoObservation struct { +} + +type CatalogInfoParameters struct { + + // +kubebuilder:validation:Optional + AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"` + + // +kubebuilder:validation:Optional + AdministratorPasswordSecretRef *v1.SecretKeySelector `json:"administratorPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DualStandbyPairName *string `json:"dualStandbyPairName,omitempty" tf:"dual_standby_pair_name,omitempty"` + + // +kubebuilder:validation:Optional + PricingTier *string `json:"pricingTier,omitempty" tf:"pricing_tier,omitempty"` + + // +kubebuilder:validation:Required + ServerEndpoint *string `json:"serverEndpoint" tf:"server_endpoint,omitempty"` +} + +type CommandKeyObservation struct { +} + +type CommandKeyParameters struct { + + // +kubebuilder:validation:Optional + KeyVaultPassword []KeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + TargetName *string `json:"targetName" tf:"target_name,omitempty"` + + // +kubebuilder:validation:Required + UserName *string `json:"userName" tf:"user_name,omitempty"` +} + +type ComponentObservation struct { +} + +type ComponentParameters struct { + + // +kubebuilder:validation:Optional + KeyVaultLicense []KeyVaultLicenseParameters `json:"keyVaultLicense,omitempty" tf:"key_vault_license,omitempty"` + + // +kubebuilder:validation:Optional + LicenseSecretRef *v1.SecretKeySelector `json:"licenseSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type CustomSetupScriptObservation struct { +} + +type CustomSetupScriptParameters struct { + + // +kubebuilder:validation:Required + BlobContainerURI *string `json:"blobContainerUri" tf:"blob_container_uri,omitempty"` + + // +kubebuilder:validation:Required + SasTokenSecretRef v1.SecretKeySelector `json:"sasTokenSecretRef" tf:"-"` +} + +type ExpressCustomSetupObservation struct { +} + +type ExpressCustomSetupParameters struct { + + // +kubebuilder:validation:Optional + CommandKey []CommandKeyParameters `json:"commandKey,omitempty" tf:"command_key,omitempty"` + + // +kubebuilder:validation:Optional + Component []ComponentParameters `json:"component,omitempty" tf:"component,omitempty"` + + // +kubebuilder:validation:Optional + Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"` + + // +kubebuilder:validation:Optional + PowershellVersion *string `json:"powershellVersion,omitempty" tf:"powershell_version,omitempty"` +} + +type FactoryIntegrationRuntimeAzureSsisObservation struct { +} + +type FactoryIntegrationRuntimeAzureSsisParameters struct { + + // +kubebuilder:validation:Optional + CatalogInfo []CatalogInfoParameters `json:"catalogInfo,omitempty" tf:"catalog_info,omitempty"` + + // +kubebuilder:validation:Optional + CustomSetupScript []CustomSetupScriptParameters `json:"customSetupScript,omitempty" tf:"custom_setup_script,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` + + // +kubebuilder:validation:Optional + ExpressCustomSetup []ExpressCustomSetupParameters `json:"expressCustomSetup,omitempty" tf:"express_custom_setup,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxParallelExecutionsPerNode *int64 `json:"maxParallelExecutionsPerNode,omitempty" tf:"max_parallel_executions_per_node,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NodeSize *string `json:"nodeSize" tf:"node_size,omitempty"` + + // +kubebuilder:validation:Optional + NumberOfNodes *int64 `json:"numberOfNodes,omitempty" tf:"number_of_nodes,omitempty"` + + // +kubebuilder:validation:Optional + PackageStore []PackageStoreParameters `json:"packageStore,omitempty" tf:"package_store,omitempty"` + + // +kubebuilder:validation:Optional + Proxy []ProxyParameters `json:"proxy,omitempty" tf:"proxy,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + VnetIntegration []VnetIntegrationParameters `json:"vnetIntegration,omitempty" tf:"vnet_integration,omitempty"` +} + +type KeyVaultLicenseObservation struct { +} + +type KeyVaultLicenseParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` + + // +kubebuilder:validation:Optional + SecretVersion *string `json:"secretVersion,omitempty" tf:"secret_version,omitempty"` +} + +type KeyVaultPasswordObservation struct { +} + +type KeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` + + // +kubebuilder:validation:Optional + SecretVersion *string `json:"secretVersion,omitempty" tf:"secret_version,omitempty"` +} + +type PackageStoreObservation struct { +} + +type PackageStoreParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ProxyObservation struct { +} + +type ProxyParameters struct { + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + SelfHostedIntegrationRuntimeName *string `json:"selfHostedIntegrationRuntimeName" tf:"self_hosted_integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + StagingStorageLinkedServiceName *string `json:"stagingStorageLinkedServiceName" tf:"staging_storage_linked_service_name,omitempty"` +} + +type VnetIntegrationObservation struct { +} + +type VnetIntegrationParameters struct { + + // +kubebuilder:validation:Optional + PublicIps []*string `json:"publicIps,omitempty" tf:"public_ips,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + SubnetName *string `json:"subnetName,omitempty" tf:"subnet_name,omitempty"` + + // +kubebuilder:validation:Optional + VnetID *string `json:"vnetId,omitempty" tf:"vnet_id,omitempty"` +} + +// FactoryIntegrationRuntimeAzureSsisSpec defines the desired state of FactoryIntegrationRuntimeAzureSsis +type FactoryIntegrationRuntimeAzureSsisSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryIntegrationRuntimeAzureSsisParameters `json:"forProvider"` +} + +// FactoryIntegrationRuntimeAzureSsisStatus defines the observed state of FactoryIntegrationRuntimeAzureSsis. +type FactoryIntegrationRuntimeAzureSsisStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryIntegrationRuntimeAzureSsisObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeAzureSsis is the Schema for the FactoryIntegrationRuntimeAzureSsiss API +// +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,azurejet} +type FactoryIntegrationRuntimeAzureSsis struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryIntegrationRuntimeAzureSsisSpec `json:"spec"` + Status FactoryIntegrationRuntimeAzureSsisStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeAzureSsisList contains a list of FactoryIntegrationRuntimeAzureSsiss +type FactoryIntegrationRuntimeAzureSsisList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryIntegrationRuntimeAzureSsis `json:"items"` +} + +// Repository type metadata. +var ( + FactoryIntegrationRuntimeAzureSsis_Kind = "FactoryIntegrationRuntimeAzureSsis" + FactoryIntegrationRuntimeAzureSsis_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryIntegrationRuntimeAzureSsis_Kind}.String() + FactoryIntegrationRuntimeAzureSsis_KindAPIVersion = FactoryIntegrationRuntimeAzureSsis_Kind + "." + CRDGroupVersion.String() + FactoryIntegrationRuntimeAzureSsis_GroupVersionKind = CRDGroupVersion.WithKind(FactoryIntegrationRuntimeAzureSsis_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryIntegrationRuntimeAzureSsis{}, &FactoryIntegrationRuntimeAzureSsisList{}) +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimemanaged_terraformed.go b/apis/data/v1alpha1/zz_factoryintegrationruntimemanaged_terraformed.go new file mode 100755 index 000000000..83116de12 --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimemanaged_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryIntegrationRuntimeManaged +func (mg *FactoryIntegrationRuntimeManaged) GetTerraformResourceType() string { + return "azurerm_data_factory_integration_runtime_managed" +} + +// GetConnectionDetailsMapping for this FactoryIntegrationRuntimeManaged +func (tr *FactoryIntegrationRuntimeManaged) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"catalog_info[*].administrator_password": "spec.forProvider.catalogInfo[*].administratorPasswordSecretRef", "custom_setup_script[*].sas_token": "spec.forProvider.customSetupScript[*].sasTokenSecretRef"} +} + +// GetObservation of this FactoryIntegrationRuntimeManaged +func (tr *FactoryIntegrationRuntimeManaged) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryIntegrationRuntimeManaged +func (tr *FactoryIntegrationRuntimeManaged) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryIntegrationRuntimeManaged +func (tr *FactoryIntegrationRuntimeManaged) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryIntegrationRuntimeManaged +func (tr *FactoryIntegrationRuntimeManaged) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryIntegrationRuntimeManaged using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryIntegrationRuntimeManaged) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryIntegrationRuntimeManagedParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryIntegrationRuntimeManaged) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimemanaged_types.go b/apis/data/v1alpha1/zz_factoryintegrationruntimemanaged_types.go new file mode 100755 index 000000000..2dac75296 --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimemanaged_types.go @@ -0,0 +1,162 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryIntegrationRuntimeManagedCatalogInfoObservation struct { +} + +type FactoryIntegrationRuntimeManagedCatalogInfoParameters struct { + + // +kubebuilder:validation:Optional + AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"` + + // +kubebuilder:validation:Optional + AdministratorPasswordSecretRef *v1.SecretKeySelector `json:"administratorPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + PricingTier *string `json:"pricingTier,omitempty" tf:"pricing_tier,omitempty"` + + // +kubebuilder:validation:Required + ServerEndpoint *string `json:"serverEndpoint" tf:"server_endpoint,omitempty"` +} + +type FactoryIntegrationRuntimeManagedCustomSetupScriptObservation struct { +} + +type FactoryIntegrationRuntimeManagedCustomSetupScriptParameters struct { + + // +kubebuilder:validation:Required + BlobContainerURI *string `json:"blobContainerUri" tf:"blob_container_uri,omitempty"` + + // +kubebuilder:validation:Required + SasTokenSecretRef v1.SecretKeySelector `json:"sasTokenSecretRef" tf:"-"` +} + +type FactoryIntegrationRuntimeManagedObservation struct { +} + +type FactoryIntegrationRuntimeManagedParameters struct { + + // +kubebuilder:validation:Optional + CatalogInfo []FactoryIntegrationRuntimeManagedCatalogInfoParameters `json:"catalogInfo,omitempty" tf:"catalog_info,omitempty"` + + // +kubebuilder:validation:Optional + CustomSetupScript []FactoryIntegrationRuntimeManagedCustomSetupScriptParameters `json:"customSetupScript,omitempty" tf:"custom_setup_script,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxParallelExecutionsPerNode *int64 `json:"maxParallelExecutionsPerNode,omitempty" tf:"max_parallel_executions_per_node,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NodeSize *string `json:"nodeSize" tf:"node_size,omitempty"` + + // +kubebuilder:validation:Optional + NumberOfNodes *int64 `json:"numberOfNodes,omitempty" tf:"number_of_nodes,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + VnetIntegration []FactoryIntegrationRuntimeManagedVnetIntegrationParameters `json:"vnetIntegration,omitempty" tf:"vnet_integration,omitempty"` +} + +type FactoryIntegrationRuntimeManagedVnetIntegrationObservation struct { +} + +type FactoryIntegrationRuntimeManagedVnetIntegrationParameters struct { + + // +kubebuilder:validation:Required + SubnetName *string `json:"subnetName" tf:"subnet_name,omitempty"` + + // +kubebuilder:validation:Required + VnetID *string `json:"vnetId" tf:"vnet_id,omitempty"` +} + +// FactoryIntegrationRuntimeManagedSpec defines the desired state of FactoryIntegrationRuntimeManaged +type FactoryIntegrationRuntimeManagedSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryIntegrationRuntimeManagedParameters `json:"forProvider"` +} + +// FactoryIntegrationRuntimeManagedStatus defines the observed state of FactoryIntegrationRuntimeManaged. +type FactoryIntegrationRuntimeManagedStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryIntegrationRuntimeManagedObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeManaged is the Schema for the FactoryIntegrationRuntimeManageds API +// +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,azurejet} +type FactoryIntegrationRuntimeManaged struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryIntegrationRuntimeManagedSpec `json:"spec"` + Status FactoryIntegrationRuntimeManagedStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeManagedList contains a list of FactoryIntegrationRuntimeManageds +type FactoryIntegrationRuntimeManagedList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryIntegrationRuntimeManaged `json:"items"` +} + +// Repository type metadata. +var ( + FactoryIntegrationRuntimeManaged_Kind = "FactoryIntegrationRuntimeManaged" + FactoryIntegrationRuntimeManaged_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryIntegrationRuntimeManaged_Kind}.String() + FactoryIntegrationRuntimeManaged_KindAPIVersion = FactoryIntegrationRuntimeManaged_Kind + "." + CRDGroupVersion.String() + FactoryIntegrationRuntimeManaged_GroupVersionKind = CRDGroupVersion.WithKind(FactoryIntegrationRuntimeManaged_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryIntegrationRuntimeManaged{}, &FactoryIntegrationRuntimeManagedList{}) +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimeselfhosted_terraformed.go b/apis/data/v1alpha1/zz_factoryintegrationruntimeselfhosted_terraformed.go new file mode 100755 index 000000000..777d0a268 --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimeselfhosted_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryIntegrationRuntimeSelfHosted +func (mg *FactoryIntegrationRuntimeSelfHosted) GetTerraformResourceType() string { + return "azurerm_data_factory_integration_runtime_self_hosted" +} + +// GetConnectionDetailsMapping for this FactoryIntegrationRuntimeSelfHosted +func (tr *FactoryIntegrationRuntimeSelfHosted) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryIntegrationRuntimeSelfHosted +func (tr *FactoryIntegrationRuntimeSelfHosted) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryIntegrationRuntimeSelfHosted +func (tr *FactoryIntegrationRuntimeSelfHosted) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryIntegrationRuntimeSelfHosted +func (tr *FactoryIntegrationRuntimeSelfHosted) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryIntegrationRuntimeSelfHosted +func (tr *FactoryIntegrationRuntimeSelfHosted) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryIntegrationRuntimeSelfHosted using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryIntegrationRuntimeSelfHosted) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryIntegrationRuntimeSelfHostedParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryIntegrationRuntimeSelfHosted) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factoryintegrationruntimeselfhosted_types.go b/apis/data/v1alpha1/zz_factoryintegrationruntimeselfhosted_types.go new file mode 100755 index 000000000..5a4fe41a1 --- /dev/null +++ b/apis/data/v1alpha1/zz_factoryintegrationruntimeselfhosted_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryIntegrationRuntimeSelfHostedObservation struct { + AuthKey1 *string `json:"authKey1,omitempty" tf:"auth_key_1,omitempty"` + + AuthKey2 *string `json:"authKey2,omitempty" tf:"auth_key_2,omitempty"` +} + +type FactoryIntegrationRuntimeSelfHostedParameters struct { + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RbacAuthorization []RbacAuthorizationParameters `json:"rbacAuthorization,omitempty" tf:"rbac_authorization,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type RbacAuthorizationObservation struct { +} + +type RbacAuthorizationParameters struct { + + // +kubebuilder:validation:Required + ResourceID *string `json:"resourceId" tf:"resource_id,omitempty"` +} + +// FactoryIntegrationRuntimeSelfHostedSpec defines the desired state of FactoryIntegrationRuntimeSelfHosted +type FactoryIntegrationRuntimeSelfHostedSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryIntegrationRuntimeSelfHostedParameters `json:"forProvider"` +} + +// FactoryIntegrationRuntimeSelfHostedStatus defines the observed state of FactoryIntegrationRuntimeSelfHosted. +type FactoryIntegrationRuntimeSelfHostedStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryIntegrationRuntimeSelfHostedObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeSelfHosted is the Schema for the FactoryIntegrationRuntimeSelfHosteds API +// +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,azurejet} +type FactoryIntegrationRuntimeSelfHosted struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryIntegrationRuntimeSelfHostedSpec `json:"spec"` + Status FactoryIntegrationRuntimeSelfHostedStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryIntegrationRuntimeSelfHostedList contains a list of FactoryIntegrationRuntimeSelfHosteds +type FactoryIntegrationRuntimeSelfHostedList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryIntegrationRuntimeSelfHosted `json:"items"` +} + +// Repository type metadata. +var ( + FactoryIntegrationRuntimeSelfHosted_Kind = "FactoryIntegrationRuntimeSelfHosted" + FactoryIntegrationRuntimeSelfHosted_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryIntegrationRuntimeSelfHosted_Kind}.String() + FactoryIntegrationRuntimeSelfHosted_KindAPIVersion = FactoryIntegrationRuntimeSelfHosted_Kind + "." + CRDGroupVersion.String() + FactoryIntegrationRuntimeSelfHosted_GroupVersionKind = CRDGroupVersion.WithKind(FactoryIntegrationRuntimeSelfHosted_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryIntegrationRuntimeSelfHosted{}, &FactoryIntegrationRuntimeSelfHostedList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedcustomservice_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedcustomservice_terraformed.go new file mode 100755 index 000000000..a09b1de27 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedcustomservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedCustomService +func (mg *FactoryLinkedCustomService) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_custom_service" +} + +// GetConnectionDetailsMapping for this FactoryLinkedCustomService +func (tr *FactoryLinkedCustomService) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedCustomService +func (tr *FactoryLinkedCustomService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedCustomService +func (tr *FactoryLinkedCustomService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedCustomService +func (tr *FactoryLinkedCustomService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedCustomService +func (tr *FactoryLinkedCustomService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedCustomService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedCustomService) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedCustomServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedCustomService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedcustomservice_types.go b/apis/data/v1alpha1/zz_factorylinkedcustomservice_types.go new file mode 100755 index 000000000..cb8adb208 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedcustomservice_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedCustomServiceObservation struct { +} + +type FactoryLinkedCustomServiceParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntime []IntegrationRuntimeParameters `json:"integrationRuntime,omitempty" tf:"integration_runtime,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + TypePropertiesJSON *string `json:"typePropertiesJson" tf:"type_properties_json,omitempty"` +} + +type IntegrationRuntimeObservation struct { +} + +type IntegrationRuntimeParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +// FactoryLinkedCustomServiceSpec defines the desired state of FactoryLinkedCustomService +type FactoryLinkedCustomServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedCustomServiceParameters `json:"forProvider"` +} + +// FactoryLinkedCustomServiceStatus defines the observed state of FactoryLinkedCustomService. +type FactoryLinkedCustomServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedCustomServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedCustomService is the Schema for the FactoryLinkedCustomServices API +// +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,azurejet} +type FactoryLinkedCustomService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedCustomServiceSpec `json:"spec"` + Status FactoryLinkedCustomServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedCustomServiceList contains a list of FactoryLinkedCustomServices +type FactoryLinkedCustomServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedCustomService `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedCustomService_Kind = "FactoryLinkedCustomService" + FactoryLinkedCustomService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedCustomService_Kind}.String() + FactoryLinkedCustomService_KindAPIVersion = FactoryLinkedCustomService_Kind + "." + CRDGroupVersion.String() + FactoryLinkedCustomService_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedCustomService_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedCustomService{}, &FactoryLinkedCustomServiceList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazureblobstorage_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazureblobstorage_terraformed.go new file mode 100755 index 000000000..a76c5dcbc --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazureblobstorage_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureBlobStorage +func (mg *FactoryLinkedServiceAzureBlobStorage) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_blob_storage" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureBlobStorage +func (tr *FactoryLinkedServiceAzureBlobStorage) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"connection_string": "spec.forProvider.connectionStringSecretRef", "sas_uri": "spec.forProvider.sasURISecretRef", "service_endpoint": "spec.forProvider.serviceEndpointSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceAzureBlobStorage +func (tr *FactoryLinkedServiceAzureBlobStorage) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureBlobStorage +func (tr *FactoryLinkedServiceAzureBlobStorage) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureBlobStorage +func (tr *FactoryLinkedServiceAzureBlobStorage) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureBlobStorage +func (tr *FactoryLinkedServiceAzureBlobStorage) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureBlobStorage using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureBlobStorage) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureBlobStorageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureBlobStorage) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazureblobstorage_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazureblobstorage_types.go new file mode 100755 index 000000000..035312fa1 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazureblobstorage_types.go @@ -0,0 +1,141 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureBlobStorageObservation struct { +} + +type FactoryLinkedServiceAzureBlobStorageParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionStringSecretRef *v1.SecretKeySelector `json:"connectionStringSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultSasToken []KeyVaultSasTokenParameters `json:"keyVaultSasToken,omitempty" tf:"key_vault_sas_token,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SasURISecretRef *v1.SecretKeySelector `json:"sasUriSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ServiceEndpointSecretRef *v1.SecretKeySelector `json:"serviceEndpointSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ServicePrincipalID *string `json:"servicePrincipalId,omitempty" tf:"service_principal_id,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalKey *string `json:"servicePrincipalKey,omitempty" tf:"service_principal_key,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` + + // +kubebuilder:validation:Optional + UseManagedIdentity *bool `json:"useManagedIdentity,omitempty" tf:"use_managed_identity,omitempty"` +} + +type KeyVaultSasTokenObservation struct { +} + +type KeyVaultSasTokenParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +// FactoryLinkedServiceAzureBlobStorageSpec defines the desired state of FactoryLinkedServiceAzureBlobStorage +type FactoryLinkedServiceAzureBlobStorageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureBlobStorageParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureBlobStorageStatus defines the observed state of FactoryLinkedServiceAzureBlobStorage. +type FactoryLinkedServiceAzureBlobStorageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureBlobStorageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureBlobStorage is the Schema for the FactoryLinkedServiceAzureBlobStorages API +// +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,azurejet} +type FactoryLinkedServiceAzureBlobStorage struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureBlobStorageSpec `json:"spec"` + Status FactoryLinkedServiceAzureBlobStorageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureBlobStorageList contains a list of FactoryLinkedServiceAzureBlobStorages +type FactoryLinkedServiceAzureBlobStorageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureBlobStorage `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureBlobStorage_Kind = "FactoryLinkedServiceAzureBlobStorage" + FactoryLinkedServiceAzureBlobStorage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureBlobStorage_Kind}.String() + FactoryLinkedServiceAzureBlobStorage_KindAPIVersion = FactoryLinkedServiceAzureBlobStorage_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureBlobStorage_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureBlobStorage_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureBlobStorage{}, &FactoryLinkedServiceAzureBlobStorageList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuredatabricks_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuredatabricks_terraformed.go new file mode 100755 index 000000000..7713cdaf0 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuredatabricks_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureDatabricks +func (mg *FactoryLinkedServiceAzureDatabricks) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_databricks" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureDatabricks +func (tr *FactoryLinkedServiceAzureDatabricks) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"access_token": "spec.forProvider.accessTokenSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceAzureDatabricks +func (tr *FactoryLinkedServiceAzureDatabricks) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureDatabricks +func (tr *FactoryLinkedServiceAzureDatabricks) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureDatabricks +func (tr *FactoryLinkedServiceAzureDatabricks) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureDatabricks +func (tr *FactoryLinkedServiceAzureDatabricks) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureDatabricks using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureDatabricks) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureDatabricksParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureDatabricks) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuredatabricks_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuredatabricks_types.go new file mode 100755 index 000000000..a338de014 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuredatabricks_types.go @@ -0,0 +1,192 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation struct { +} + +type FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceAzureDatabricksObservation struct { +} + +type FactoryLinkedServiceAzureDatabricksParameters struct { + + // +kubebuilder:validation:Optional + AccessTokenSecretRef *v1.SecretKeySelector `json:"accessTokenSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + AdbDomain *string `json:"adbDomain" tf:"adb_domain,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + ExistingClusterID *string `json:"existingClusterId,omitempty" tf:"existing_cluster_id,omitempty"` + + // +kubebuilder:validation:Optional + InstancePool []InstancePoolParameters `json:"instancePool,omitempty" tf:"instance_pool,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultPassword []FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Optional + MsiWorkSpaceResourceID *string `json:"msiWorkSpaceResourceId,omitempty" tf:"msi_work_space_resource_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NewClusterConfig []NewClusterConfigParameters `json:"newClusterConfig,omitempty" tf:"new_cluster_config,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type InstancePoolObservation struct { +} + +type InstancePoolParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + InstancePoolID *string `json:"instancePoolId" tf:"instance_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + MaxNumberOfWorkers *int64 `json:"maxNumberOfWorkers,omitempty" tf:"max_number_of_workers,omitempty"` + + // +kubebuilder:validation:Optional + MinNumberOfWorkers *int64 `json:"minNumberOfWorkers,omitempty" tf:"min_number_of_workers,omitempty"` +} + +type NewClusterConfigObservation struct { +} + +type NewClusterConfigParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Optional + CustomTags map[string]*string `json:"customTags,omitempty" tf:"custom_tags,omitempty"` + + // +kubebuilder:validation:Optional + DriverNodeType *string `json:"driverNodeType,omitempty" tf:"driver_node_type,omitempty"` + + // +kubebuilder:validation:Optional + InitScripts []*string `json:"initScripts,omitempty" tf:"init_scripts,omitempty"` + + // +kubebuilder:validation:Optional + LogDestination *string `json:"logDestination,omitempty" tf:"log_destination,omitempty"` + + // +kubebuilder:validation:Optional + MaxNumberOfWorkers *int64 `json:"maxNumberOfWorkers,omitempty" tf:"max_number_of_workers,omitempty"` + + // +kubebuilder:validation:Optional + MinNumberOfWorkers *int64 `json:"minNumberOfWorkers,omitempty" tf:"min_number_of_workers,omitempty"` + + // +kubebuilder:validation:Required + NodeType *string `json:"nodeType" tf:"node_type,omitempty"` + + // +kubebuilder:validation:Optional + SparkConfig map[string]*string `json:"sparkConfig,omitempty" tf:"spark_config,omitempty"` + + // +kubebuilder:validation:Optional + SparkEnvironmentVariables map[string]*string `json:"sparkEnvironmentVariables,omitempty" tf:"spark_environment_variables,omitempty"` +} + +// FactoryLinkedServiceAzureDatabricksSpec defines the desired state of FactoryLinkedServiceAzureDatabricks +type FactoryLinkedServiceAzureDatabricksSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureDatabricksParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureDatabricksStatus defines the observed state of FactoryLinkedServiceAzureDatabricks. +type FactoryLinkedServiceAzureDatabricksStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureDatabricksObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureDatabricks is the Schema for the FactoryLinkedServiceAzureDatabrickss API +// +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,azurejet} +type FactoryLinkedServiceAzureDatabricks struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureDatabricksSpec `json:"spec"` + Status FactoryLinkedServiceAzureDatabricksStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureDatabricksList contains a list of FactoryLinkedServiceAzureDatabrickss +type FactoryLinkedServiceAzureDatabricksList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureDatabricks `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureDatabricks_Kind = "FactoryLinkedServiceAzureDatabricks" + FactoryLinkedServiceAzureDatabricks_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureDatabricks_Kind}.String() + FactoryLinkedServiceAzureDatabricks_KindAPIVersion = FactoryLinkedServiceAzureDatabricks_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureDatabricks_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureDatabricks_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureDatabricks{}, &FactoryLinkedServiceAzureDatabricksList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazurefilestorage_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazurefilestorage_terraformed.go new file mode 100755 index 000000000..bbe4799c9 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazurefilestorage_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureFileStorage +func (mg *FactoryLinkedServiceAzureFileStorage) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_file_storage" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureFileStorage +func (tr *FactoryLinkedServiceAzureFileStorage) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"connection_string": "spec.forProvider.connectionStringSecretRef", "password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceAzureFileStorage +func (tr *FactoryLinkedServiceAzureFileStorage) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureFileStorage +func (tr *FactoryLinkedServiceAzureFileStorage) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureFileStorage +func (tr *FactoryLinkedServiceAzureFileStorage) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureFileStorage +func (tr *FactoryLinkedServiceAzureFileStorage) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureFileStorage using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureFileStorage) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureFileStorageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureFileStorage) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazurefilestorage_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazurefilestorage_types.go new file mode 100755 index 000000000..beaf68729 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazurefilestorage_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation struct { +} + +type FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceAzureFileStorageObservation struct { +} + +type FactoryLinkedServiceAzureFileStorageParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + ConnectionStringSecretRef v1.SecretKeySelector `json:"connectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + FileShare *string `json:"fileShare,omitempty" tf:"file_share,omitempty"` + + // +kubebuilder:validation:Optional + Host *string `json:"host,omitempty" tf:"host,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultPassword []FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` +} + +// FactoryLinkedServiceAzureFileStorageSpec defines the desired state of FactoryLinkedServiceAzureFileStorage +type FactoryLinkedServiceAzureFileStorageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureFileStorageParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureFileStorageStatus defines the observed state of FactoryLinkedServiceAzureFileStorage. +type FactoryLinkedServiceAzureFileStorageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureFileStorageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureFileStorage is the Schema for the FactoryLinkedServiceAzureFileStorages API +// +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,azurejet} +type FactoryLinkedServiceAzureFileStorage struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureFileStorageSpec `json:"spec"` + Status FactoryLinkedServiceAzureFileStorageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureFileStorageList contains a list of FactoryLinkedServiceAzureFileStorages +type FactoryLinkedServiceAzureFileStorageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureFileStorage `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureFileStorage_Kind = "FactoryLinkedServiceAzureFileStorage" + FactoryLinkedServiceAzureFileStorage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureFileStorage_Kind}.String() + FactoryLinkedServiceAzureFileStorage_KindAPIVersion = FactoryLinkedServiceAzureFileStorage_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureFileStorage_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureFileStorage_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureFileStorage{}, &FactoryLinkedServiceAzureFileStorageList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazurefunction_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazurefunction_terraformed.go new file mode 100755 index 000000000..6d7bd98f1 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazurefunction_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureFunction +func (mg *FactoryLinkedServiceAzureFunction) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_function" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureFunction +func (tr *FactoryLinkedServiceAzureFunction) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"key": "spec.forProvider.keySecretRef"} +} + +// GetObservation of this FactoryLinkedServiceAzureFunction +func (tr *FactoryLinkedServiceAzureFunction) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureFunction +func (tr *FactoryLinkedServiceAzureFunction) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureFunction +func (tr *FactoryLinkedServiceAzureFunction) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureFunction +func (tr *FactoryLinkedServiceAzureFunction) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureFunction using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureFunction) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureFunctionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureFunction) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazurefunction_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazurefunction_types.go new file mode 100755 index 000000000..5e21d72b9 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazurefunction_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureFunctionObservation struct { +} + +type FactoryLinkedServiceAzureFunctionParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeySecretRef *v1.SecretKeySelector `json:"keySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + KeyVaultKey []KeyVaultKeyParameters `json:"keyVaultKey,omitempty" tf:"key_vault_key,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +type KeyVaultKeyObservation struct { +} + +type KeyVaultKeyParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +// FactoryLinkedServiceAzureFunctionSpec defines the desired state of FactoryLinkedServiceAzureFunction +type FactoryLinkedServiceAzureFunctionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureFunctionParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureFunctionStatus defines the observed state of FactoryLinkedServiceAzureFunction. +type FactoryLinkedServiceAzureFunctionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureFunctionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureFunction is the Schema for the FactoryLinkedServiceAzureFunctions API +// +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,azurejet} +type FactoryLinkedServiceAzureFunction struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureFunctionSpec `json:"spec"` + Status FactoryLinkedServiceAzureFunctionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureFunctionList contains a list of FactoryLinkedServiceAzureFunctions +type FactoryLinkedServiceAzureFunctionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureFunction `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureFunction_Kind = "FactoryLinkedServiceAzureFunction" + FactoryLinkedServiceAzureFunction_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureFunction_Kind}.String() + FactoryLinkedServiceAzureFunction_KindAPIVersion = FactoryLinkedServiceAzureFunction_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureFunction_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureFunction_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureFunction{}, &FactoryLinkedServiceAzureFunctionList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuresearch_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuresearch_terraformed.go new file mode 100755 index 000000000..34ab1fab9 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuresearch_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureSearch +func (mg *FactoryLinkedServiceAzureSearch) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_search" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureSearch +func (tr *FactoryLinkedServiceAzureSearch) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceAzureSearch +func (tr *FactoryLinkedServiceAzureSearch) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureSearch +func (tr *FactoryLinkedServiceAzureSearch) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureSearch +func (tr *FactoryLinkedServiceAzureSearch) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureSearch +func (tr *FactoryLinkedServiceAzureSearch) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureSearch using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureSearch) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureSearchParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureSearch) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuresearch_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuresearch_types.go new file mode 100755 index 000000000..96e59e662 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuresearch_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureSearchObservation struct { + EncryptedCredential *string `json:"encryptedCredential,omitempty" tf:"encrypted_credential,omitempty"` +} + +type FactoryLinkedServiceAzureSearchParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + SearchServiceKey *string `json:"searchServiceKey" tf:"search_service_key,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +// FactoryLinkedServiceAzureSearchSpec defines the desired state of FactoryLinkedServiceAzureSearch +type FactoryLinkedServiceAzureSearchSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureSearchParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureSearchStatus defines the observed state of FactoryLinkedServiceAzureSearch. +type FactoryLinkedServiceAzureSearchStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureSearchObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureSearch is the Schema for the FactoryLinkedServiceAzureSearchs API +// +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,azurejet} +type FactoryLinkedServiceAzureSearch struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureSearchSpec `json:"spec"` + Status FactoryLinkedServiceAzureSearchStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureSearchList contains a list of FactoryLinkedServiceAzureSearchs +type FactoryLinkedServiceAzureSearchList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureSearch `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureSearch_Kind = "FactoryLinkedServiceAzureSearch" + FactoryLinkedServiceAzureSearch_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureSearch_Kind}.String() + FactoryLinkedServiceAzureSearch_KindAPIVersion = FactoryLinkedServiceAzureSearch_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureSearch_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureSearch_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureSearch{}, &FactoryLinkedServiceAzureSearchList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuresqldatabase_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuresqldatabase_terraformed.go new file mode 100755 index 000000000..d3c55d8d5 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuresqldatabase_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureSqlDatabase +func (mg *FactoryLinkedServiceAzureSqlDatabase) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_sql_database" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureSqlDatabase +func (tr *FactoryLinkedServiceAzureSqlDatabase) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceAzureSqlDatabase +func (tr *FactoryLinkedServiceAzureSqlDatabase) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureSqlDatabase +func (tr *FactoryLinkedServiceAzureSqlDatabase) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureSqlDatabase +func (tr *FactoryLinkedServiceAzureSqlDatabase) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureSqlDatabase +func (tr *FactoryLinkedServiceAzureSqlDatabase) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureSqlDatabase using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureSqlDatabase) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureSqlDatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureSqlDatabase) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuresqldatabase_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuresqldatabase_types.go new file mode 100755 index 000000000..4b99ca84a --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuresqldatabase_types.go @@ -0,0 +1,150 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation struct { +} + +type FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceAzureSqlDatabaseObservation struct { +} + +type FactoryLinkedServiceAzureSqlDatabaseParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultConnectionString []KeyVaultConnectionStringParameters `json:"keyVaultConnectionString,omitempty" tf:"key_vault_connection_string,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultPassword []FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalID *string `json:"servicePrincipalId,omitempty" tf:"service_principal_id,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalKey *string `json:"servicePrincipalKey,omitempty" tf:"service_principal_key,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` + + // +kubebuilder:validation:Optional + UseManagedIdentity *bool `json:"useManagedIdentity,omitempty" tf:"use_managed_identity,omitempty"` +} + +type KeyVaultConnectionStringObservation struct { +} + +type KeyVaultConnectionStringParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +// FactoryLinkedServiceAzureSqlDatabaseSpec defines the desired state of FactoryLinkedServiceAzureSqlDatabase +type FactoryLinkedServiceAzureSqlDatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureSqlDatabaseParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureSqlDatabaseStatus defines the observed state of FactoryLinkedServiceAzureSqlDatabase. +type FactoryLinkedServiceAzureSqlDatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureSqlDatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureSqlDatabase is the Schema for the FactoryLinkedServiceAzureSqlDatabases API +// +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,azurejet} +type FactoryLinkedServiceAzureSqlDatabase struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureSqlDatabaseSpec `json:"spec"` + Status FactoryLinkedServiceAzureSqlDatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureSqlDatabaseList contains a list of FactoryLinkedServiceAzureSqlDatabases +type FactoryLinkedServiceAzureSqlDatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureSqlDatabase `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureSqlDatabase_Kind = "FactoryLinkedServiceAzureSqlDatabase" + FactoryLinkedServiceAzureSqlDatabase_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureSqlDatabase_Kind}.String() + FactoryLinkedServiceAzureSqlDatabase_KindAPIVersion = FactoryLinkedServiceAzureSqlDatabase_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureSqlDatabase_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureSqlDatabase_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureSqlDatabase{}, &FactoryLinkedServiceAzureSqlDatabaseList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuretablestorage_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuretablestorage_terraformed.go new file mode 100755 index 000000000..ca4ecea80 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuretablestorage_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceAzureTableStorage +func (mg *FactoryLinkedServiceAzureTableStorage) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_azure_table_storage" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceAzureTableStorage +func (tr *FactoryLinkedServiceAzureTableStorage) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"connection_string": "spec.forProvider.connectionStringSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceAzureTableStorage +func (tr *FactoryLinkedServiceAzureTableStorage) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceAzureTableStorage +func (tr *FactoryLinkedServiceAzureTableStorage) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceAzureTableStorage +func (tr *FactoryLinkedServiceAzureTableStorage) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceAzureTableStorage +func (tr *FactoryLinkedServiceAzureTableStorage) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceAzureTableStorage using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceAzureTableStorage) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceAzureTableStorageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceAzureTableStorage) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceazuretablestorage_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceazuretablestorage_types.go new file mode 100755 index 000000000..e90869e7f --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceazuretablestorage_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceAzureTableStorageObservation struct { +} + +type FactoryLinkedServiceAzureTableStorageParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + ConnectionStringSecretRef v1.SecretKeySelector `json:"connectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceAzureTableStorageSpec defines the desired state of FactoryLinkedServiceAzureTableStorage +type FactoryLinkedServiceAzureTableStorageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceAzureTableStorageParameters `json:"forProvider"` +} + +// FactoryLinkedServiceAzureTableStorageStatus defines the observed state of FactoryLinkedServiceAzureTableStorage. +type FactoryLinkedServiceAzureTableStorageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceAzureTableStorageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureTableStorage is the Schema for the FactoryLinkedServiceAzureTableStorages API +// +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,azurejet} +type FactoryLinkedServiceAzureTableStorage struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceAzureTableStorageSpec `json:"spec"` + Status FactoryLinkedServiceAzureTableStorageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceAzureTableStorageList contains a list of FactoryLinkedServiceAzureTableStorages +type FactoryLinkedServiceAzureTableStorageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceAzureTableStorage `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceAzureTableStorage_Kind = "FactoryLinkedServiceAzureTableStorage" + FactoryLinkedServiceAzureTableStorage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceAzureTableStorage_Kind}.String() + FactoryLinkedServiceAzureTableStorage_KindAPIVersion = FactoryLinkedServiceAzureTableStorage_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceAzureTableStorage_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceAzureTableStorage_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceAzureTableStorage{}, &FactoryLinkedServiceAzureTableStorageList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicecosmosdb_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicecosmosdb_terraformed.go new file mode 100755 index 000000000..d332c3f2b --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicecosmosdb_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceCosmosdb +func (mg *FactoryLinkedServiceCosmosdb) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_cosmosdb" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceCosmosdb +func (tr *FactoryLinkedServiceCosmosdb) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"account_key": "spec.forProvider.accountKeySecretRef", "connection_string": "spec.forProvider.connectionStringSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceCosmosdb +func (tr *FactoryLinkedServiceCosmosdb) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceCosmosdb +func (tr *FactoryLinkedServiceCosmosdb) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceCosmosdb +func (tr *FactoryLinkedServiceCosmosdb) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceCosmosdb +func (tr *FactoryLinkedServiceCosmosdb) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceCosmosdb using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceCosmosdb) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceCosmosdbParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceCosmosdb) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicecosmosdb_types.go b/apis/data/v1alpha1/zz_factorylinkedservicecosmosdb_types.go new file mode 100755 index 000000000..6f67df842 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicecosmosdb_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceCosmosdbObservation struct { +} + +type FactoryLinkedServiceCosmosdbParameters struct { + + // +kubebuilder:validation:Optional + AccountEndpoint *string `json:"accountEndpoint,omitempty" tf:"account_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + AccountKeySecretRef *v1.SecretKeySelector `json:"accountKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionStringSecretRef *v1.SecretKeySelector `json:"connectionStringSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Database *string `json:"database,omitempty" tf:"database,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceCosmosdbSpec defines the desired state of FactoryLinkedServiceCosmosdb +type FactoryLinkedServiceCosmosdbSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceCosmosdbParameters `json:"forProvider"` +} + +// FactoryLinkedServiceCosmosdbStatus defines the observed state of FactoryLinkedServiceCosmosdb. +type FactoryLinkedServiceCosmosdbStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceCosmosdbObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceCosmosdb is the Schema for the FactoryLinkedServiceCosmosdbs API +// +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,azurejet} +type FactoryLinkedServiceCosmosdb struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceCosmosdbSpec `json:"spec"` + Status FactoryLinkedServiceCosmosdbStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceCosmosdbList contains a list of FactoryLinkedServiceCosmosdbs +type FactoryLinkedServiceCosmosdbList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceCosmosdb `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceCosmosdb_Kind = "FactoryLinkedServiceCosmosdb" + FactoryLinkedServiceCosmosdb_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceCosmosdb_Kind}.String() + FactoryLinkedServiceCosmosdb_KindAPIVersion = FactoryLinkedServiceCosmosdb_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceCosmosdb_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceCosmosdb_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceCosmosdb{}, &FactoryLinkedServiceCosmosdbList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicedatalakestoragegen2_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicedatalakestoragegen2_terraformed.go new file mode 100755 index 000000000..7b54af766 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicedatalakestoragegen2_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceDataLakeStorageGen2 +func (mg *FactoryLinkedServiceDataLakeStorageGen2) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_data_lake_storage_gen2" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceDataLakeStorageGen2 +func (tr *FactoryLinkedServiceDataLakeStorageGen2) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceDataLakeStorageGen2 +func (tr *FactoryLinkedServiceDataLakeStorageGen2) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceDataLakeStorageGen2 +func (tr *FactoryLinkedServiceDataLakeStorageGen2) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceDataLakeStorageGen2 +func (tr *FactoryLinkedServiceDataLakeStorageGen2) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceDataLakeStorageGen2 +func (tr *FactoryLinkedServiceDataLakeStorageGen2) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceDataLakeStorageGen2 using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceDataLakeStorageGen2) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceDataLakeStorageGen2Parameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceDataLakeStorageGen2) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicedatalakestoragegen2_types.go b/apis/data/v1alpha1/zz_factorylinkedservicedatalakestoragegen2_types.go new file mode 100755 index 000000000..d99aa1560 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicedatalakestoragegen2_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceDataLakeStorageGen2Observation struct { +} + +type FactoryLinkedServiceDataLakeStorageGen2Parameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalID *string `json:"servicePrincipalId,omitempty" tf:"service_principal_id,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalKey *string `json:"servicePrincipalKey,omitempty" tf:"service_principal_key,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountKey *string `json:"storageAccountKey,omitempty" tf:"storage_account_key,omitempty"` + + // +kubebuilder:validation:Optional + Tenant *string `json:"tenant,omitempty" tf:"tenant,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` + + // +kubebuilder:validation:Optional + UseManagedIdentity *bool `json:"useManagedIdentity,omitempty" tf:"use_managed_identity,omitempty"` +} + +// FactoryLinkedServiceDataLakeStorageGen2Spec defines the desired state of FactoryLinkedServiceDataLakeStorageGen2 +type FactoryLinkedServiceDataLakeStorageGen2Spec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceDataLakeStorageGen2Parameters `json:"forProvider"` +} + +// FactoryLinkedServiceDataLakeStorageGen2Status defines the observed state of FactoryLinkedServiceDataLakeStorageGen2. +type FactoryLinkedServiceDataLakeStorageGen2Status struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceDataLakeStorageGen2Observation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceDataLakeStorageGen2 is the Schema for the FactoryLinkedServiceDataLakeStorageGen2s API +// +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,azurejet} +type FactoryLinkedServiceDataLakeStorageGen2 struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceDataLakeStorageGen2Spec `json:"spec"` + Status FactoryLinkedServiceDataLakeStorageGen2Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceDataLakeStorageGen2List contains a list of FactoryLinkedServiceDataLakeStorageGen2s +type FactoryLinkedServiceDataLakeStorageGen2List struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceDataLakeStorageGen2 `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceDataLakeStorageGen2_Kind = "FactoryLinkedServiceDataLakeStorageGen2" + FactoryLinkedServiceDataLakeStorageGen2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceDataLakeStorageGen2_Kind}.String() + FactoryLinkedServiceDataLakeStorageGen2_KindAPIVersion = FactoryLinkedServiceDataLakeStorageGen2_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceDataLakeStorageGen2_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceDataLakeStorageGen2_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceDataLakeStorageGen2{}, &FactoryLinkedServiceDataLakeStorageGen2List{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicekeyvault_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicekeyvault_terraformed.go new file mode 100755 index 000000000..6963986d7 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicekeyvault_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceKeyVault +func (mg *FactoryLinkedServiceKeyVault) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_key_vault" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceKeyVault +func (tr *FactoryLinkedServiceKeyVault) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceKeyVault +func (tr *FactoryLinkedServiceKeyVault) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceKeyVault +func (tr *FactoryLinkedServiceKeyVault) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceKeyVault +func (tr *FactoryLinkedServiceKeyVault) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceKeyVault +func (tr *FactoryLinkedServiceKeyVault) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceKeyVault using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceKeyVault) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceKeyVaultParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceKeyVault) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicekeyvault_types.go b/apis/data/v1alpha1/zz_factorylinkedservicekeyvault_types.go new file mode 100755 index 000000000..10a9ee6db --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicekeyvault_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceKeyVaultObservation struct { +} + +type FactoryLinkedServiceKeyVaultParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceKeyVaultSpec defines the desired state of FactoryLinkedServiceKeyVault +type FactoryLinkedServiceKeyVaultSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceKeyVaultParameters `json:"forProvider"` +} + +// FactoryLinkedServiceKeyVaultStatus defines the observed state of FactoryLinkedServiceKeyVault. +type FactoryLinkedServiceKeyVaultStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceKeyVaultObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceKeyVault is the Schema for the FactoryLinkedServiceKeyVaults API +// +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,azurejet} +type FactoryLinkedServiceKeyVault struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceKeyVaultSpec `json:"spec"` + Status FactoryLinkedServiceKeyVaultStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceKeyVaultList contains a list of FactoryLinkedServiceKeyVaults +type FactoryLinkedServiceKeyVaultList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceKeyVault `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceKeyVault_Kind = "FactoryLinkedServiceKeyVault" + FactoryLinkedServiceKeyVault_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceKeyVault_Kind}.String() + FactoryLinkedServiceKeyVault_KindAPIVersion = FactoryLinkedServiceKeyVault_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceKeyVault_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceKeyVault_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceKeyVault{}, &FactoryLinkedServiceKeyVaultList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicekusto_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicekusto_terraformed.go new file mode 100755 index 000000000..bc126f59c --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicekusto_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceKusto +func (mg *FactoryLinkedServiceKusto) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_kusto" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceKusto +func (tr *FactoryLinkedServiceKusto) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"service_principal_key": "spec.forProvider.servicePrincipalKeySecretRef"} +} + +// GetObservation of this FactoryLinkedServiceKusto +func (tr *FactoryLinkedServiceKusto) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceKusto +func (tr *FactoryLinkedServiceKusto) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceKusto +func (tr *FactoryLinkedServiceKusto) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceKusto +func (tr *FactoryLinkedServiceKusto) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceKusto using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceKusto) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceKustoParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceKusto) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicekusto_types.go b/apis/data/v1alpha1/zz_factorylinkedservicekusto_types.go new file mode 100755 index 000000000..033b13326 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicekusto_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceKustoObservation struct { +} + +type FactoryLinkedServiceKustoParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + KustoDatabaseName *string `json:"kustoDatabaseName" tf:"kusto_database_name,omitempty"` + + // +kubebuilder:validation:Required + KustoEndpoint *string `json:"kustoEndpoint" tf:"kusto_endpoint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalID *string `json:"servicePrincipalId,omitempty" tf:"service_principal_id,omitempty"` + + // +kubebuilder:validation:Optional + ServicePrincipalKeySecretRef *v1.SecretKeySelector `json:"servicePrincipalKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + Tenant *string `json:"tenant,omitempty" tf:"tenant,omitempty"` + + // +kubebuilder:validation:Optional + UseManagedIdentity *bool `json:"useManagedIdentity,omitempty" tf:"use_managed_identity,omitempty"` +} + +// FactoryLinkedServiceKustoSpec defines the desired state of FactoryLinkedServiceKusto +type FactoryLinkedServiceKustoSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceKustoParameters `json:"forProvider"` +} + +// FactoryLinkedServiceKustoStatus defines the observed state of FactoryLinkedServiceKusto. +type FactoryLinkedServiceKustoStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceKustoObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceKusto is the Schema for the FactoryLinkedServiceKustos API +// +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,azurejet} +type FactoryLinkedServiceKusto struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceKustoSpec `json:"spec"` + Status FactoryLinkedServiceKustoStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceKustoList contains a list of FactoryLinkedServiceKustos +type FactoryLinkedServiceKustoList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceKusto `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceKusto_Kind = "FactoryLinkedServiceKusto" + FactoryLinkedServiceKusto_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceKusto_Kind}.String() + FactoryLinkedServiceKusto_KindAPIVersion = FactoryLinkedServiceKusto_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceKusto_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceKusto_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceKusto{}, &FactoryLinkedServiceKustoList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicemysql_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicemysql_terraformed.go new file mode 100755 index 000000000..d9caff8c1 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicemysql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceMysql +func (mg *FactoryLinkedServiceMysql) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_mysql" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceMysql +func (tr *FactoryLinkedServiceMysql) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceMysql +func (tr *FactoryLinkedServiceMysql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceMysql +func (tr *FactoryLinkedServiceMysql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceMysql +func (tr *FactoryLinkedServiceMysql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceMysql +func (tr *FactoryLinkedServiceMysql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceMysql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceMysql) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceMysqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceMysql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicemysql_types.go b/apis/data/v1alpha1/zz_factorylinkedservicemysql_types.go new file mode 100755 index 000000000..6c33c6010 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicemysql_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceMysqlObservation struct { +} + +type FactoryLinkedServiceMysqlParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + ConnectionString *string `json:"connectionString" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceMysqlSpec defines the desired state of FactoryLinkedServiceMysql +type FactoryLinkedServiceMysqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceMysqlParameters `json:"forProvider"` +} + +// FactoryLinkedServiceMysqlStatus defines the observed state of FactoryLinkedServiceMysql. +type FactoryLinkedServiceMysqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceMysqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceMysql is the Schema for the FactoryLinkedServiceMysqls API +// +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,azurejet} +type FactoryLinkedServiceMysql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceMysqlSpec `json:"spec"` + Status FactoryLinkedServiceMysqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceMysqlList contains a list of FactoryLinkedServiceMysqls +type FactoryLinkedServiceMysqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceMysql `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceMysql_Kind = "FactoryLinkedServiceMysql" + FactoryLinkedServiceMysql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceMysql_Kind}.String() + FactoryLinkedServiceMysql_KindAPIVersion = FactoryLinkedServiceMysql_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceMysql_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceMysql_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceMysql{}, &FactoryLinkedServiceMysqlList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceodata_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceodata_terraformed.go new file mode 100755 index 000000000..5b4b9bd63 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceodata_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceOdata +func (mg *FactoryLinkedServiceOdata) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_odata" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceOdata +func (tr *FactoryLinkedServiceOdata) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"basic_authentication[*].password": "spec.forProvider.basicAuthentication[*].passwordSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceOdata +func (tr *FactoryLinkedServiceOdata) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceOdata +func (tr *FactoryLinkedServiceOdata) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceOdata +func (tr *FactoryLinkedServiceOdata) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceOdata +func (tr *FactoryLinkedServiceOdata) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceOdata using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceOdata) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceOdataParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceOdata) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceodata_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceodata_types.go new file mode 100755 index 000000000..09ba424c2 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceodata_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BasicAuthenticationObservation struct { +} + +type BasicAuthenticationParameters struct { + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type FactoryLinkedServiceOdataObservation struct { +} + +type FactoryLinkedServiceOdataParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + BasicAuthentication []BasicAuthenticationParameters `json:"basicAuthentication,omitempty" tf:"basic_authentication,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +// FactoryLinkedServiceOdataSpec defines the desired state of FactoryLinkedServiceOdata +type FactoryLinkedServiceOdataSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceOdataParameters `json:"forProvider"` +} + +// FactoryLinkedServiceOdataStatus defines the observed state of FactoryLinkedServiceOdata. +type FactoryLinkedServiceOdataStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceOdataObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceOdata is the Schema for the FactoryLinkedServiceOdatas API +// +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,azurejet} +type FactoryLinkedServiceOdata struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceOdataSpec `json:"spec"` + Status FactoryLinkedServiceOdataStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceOdataList contains a list of FactoryLinkedServiceOdatas +type FactoryLinkedServiceOdataList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceOdata `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceOdata_Kind = "FactoryLinkedServiceOdata" + FactoryLinkedServiceOdata_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceOdata_Kind}.String() + FactoryLinkedServiceOdata_KindAPIVersion = FactoryLinkedServiceOdata_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceOdata_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceOdata_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceOdata{}, &FactoryLinkedServiceOdataList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicepostgresql_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicepostgresql_terraformed.go new file mode 100755 index 000000000..56bdd51ba --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicepostgresql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServicePostgresql +func (mg *FactoryLinkedServicePostgresql) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_postgresql" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServicePostgresql +func (tr *FactoryLinkedServicePostgresql) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServicePostgresql +func (tr *FactoryLinkedServicePostgresql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServicePostgresql +func (tr *FactoryLinkedServicePostgresql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServicePostgresql +func (tr *FactoryLinkedServicePostgresql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServicePostgresql +func (tr *FactoryLinkedServicePostgresql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServicePostgresql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServicePostgresql) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServicePostgresqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServicePostgresql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicepostgresql_types.go b/apis/data/v1alpha1/zz_factorylinkedservicepostgresql_types.go new file mode 100755 index 000000000..4a14424cf --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicepostgresql_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServicePostgresqlObservation struct { +} + +type FactoryLinkedServicePostgresqlParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + ConnectionString *string `json:"connectionString" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServicePostgresqlSpec defines the desired state of FactoryLinkedServicePostgresql +type FactoryLinkedServicePostgresqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServicePostgresqlParameters `json:"forProvider"` +} + +// FactoryLinkedServicePostgresqlStatus defines the observed state of FactoryLinkedServicePostgresql. +type FactoryLinkedServicePostgresqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServicePostgresqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServicePostgresql is the Schema for the FactoryLinkedServicePostgresqls API +// +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,azurejet} +type FactoryLinkedServicePostgresql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServicePostgresqlSpec `json:"spec"` + Status FactoryLinkedServicePostgresqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServicePostgresqlList contains a list of FactoryLinkedServicePostgresqls +type FactoryLinkedServicePostgresqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServicePostgresql `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServicePostgresql_Kind = "FactoryLinkedServicePostgresql" + FactoryLinkedServicePostgresql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServicePostgresql_Kind}.String() + FactoryLinkedServicePostgresql_KindAPIVersion = FactoryLinkedServicePostgresql_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServicePostgresql_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServicePostgresql_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServicePostgresql{}, &FactoryLinkedServicePostgresqlList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesftp_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicesftp_terraformed.go new file mode 100755 index 000000000..4b5a41b9b --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesftp_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceSftp +func (mg *FactoryLinkedServiceSftp) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_sftp" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceSftp +func (tr *FactoryLinkedServiceSftp) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceSftp +func (tr *FactoryLinkedServiceSftp) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceSftp +func (tr *FactoryLinkedServiceSftp) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceSftp +func (tr *FactoryLinkedServiceSftp) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceSftp +func (tr *FactoryLinkedServiceSftp) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceSftp using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceSftp) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceSftpParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceSftp) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesftp_types.go b/apis/data/v1alpha1/zz_factorylinkedservicesftp_types.go new file mode 100755 index 000000000..4609ff5ed --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesftp_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceSftpObservation struct { +} + +type FactoryLinkedServiceSftpParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + AuthenticationType *string `json:"authenticationType" tf:"authentication_type,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Host *string `json:"host" tf:"host,omitempty"` + + // +kubebuilder:validation:Optional + HostKeyFingerprint *string `json:"hostKeyFingerprint,omitempty" tf:"host_key_fingerprint,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkipHostKeyValidation *bool `json:"skipHostKeyValidation,omitempty" tf:"skip_host_key_validation,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// FactoryLinkedServiceSftpSpec defines the desired state of FactoryLinkedServiceSftp +type FactoryLinkedServiceSftpSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceSftpParameters `json:"forProvider"` +} + +// FactoryLinkedServiceSftpStatus defines the observed state of FactoryLinkedServiceSftp. +type FactoryLinkedServiceSftpStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceSftpObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSftp is the Schema for the FactoryLinkedServiceSftps API +// +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,azurejet} +type FactoryLinkedServiceSftp struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceSftpSpec `json:"spec"` + Status FactoryLinkedServiceSftpStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSftpList contains a list of FactoryLinkedServiceSftps +type FactoryLinkedServiceSftpList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceSftp `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceSftp_Kind = "FactoryLinkedServiceSftp" + FactoryLinkedServiceSftp_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceSftp_Kind}.String() + FactoryLinkedServiceSftp_KindAPIVersion = FactoryLinkedServiceSftp_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceSftp_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceSftp_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceSftp{}, &FactoryLinkedServiceSftpList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesnowflake_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicesnowflake_terraformed.go new file mode 100755 index 000000000..bb1d67ef5 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesnowflake_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceSnowflake +func (mg *FactoryLinkedServiceSnowflake) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_snowflake" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceSnowflake +func (tr *FactoryLinkedServiceSnowflake) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceSnowflake +func (tr *FactoryLinkedServiceSnowflake) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceSnowflake +func (tr *FactoryLinkedServiceSnowflake) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceSnowflake +func (tr *FactoryLinkedServiceSnowflake) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceSnowflake +func (tr *FactoryLinkedServiceSnowflake) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceSnowflake using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceSnowflake) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceSnowflakeParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceSnowflake) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesnowflake_types.go b/apis/data/v1alpha1/zz_factorylinkedservicesnowflake_types.go new file mode 100755 index 000000000..afec24ebb --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesnowflake_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation struct { +} + +type FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceSnowflakeObservation struct { +} + +type FactoryLinkedServiceSnowflakeParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + ConnectionString *string `json:"connectionString" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultPassword []FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceSnowflakeSpec defines the desired state of FactoryLinkedServiceSnowflake +type FactoryLinkedServiceSnowflakeSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceSnowflakeParameters `json:"forProvider"` +} + +// FactoryLinkedServiceSnowflakeStatus defines the observed state of FactoryLinkedServiceSnowflake. +type FactoryLinkedServiceSnowflakeStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceSnowflakeObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSnowflake is the Schema for the FactoryLinkedServiceSnowflakes API +// +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,azurejet} +type FactoryLinkedServiceSnowflake struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceSnowflakeSpec `json:"spec"` + Status FactoryLinkedServiceSnowflakeStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSnowflakeList contains a list of FactoryLinkedServiceSnowflakes +type FactoryLinkedServiceSnowflakeList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceSnowflake `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceSnowflake_Kind = "FactoryLinkedServiceSnowflake" + FactoryLinkedServiceSnowflake_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceSnowflake_Kind}.String() + FactoryLinkedServiceSnowflake_KindAPIVersion = FactoryLinkedServiceSnowflake_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceSnowflake_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceSnowflake_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceSnowflake{}, &FactoryLinkedServiceSnowflakeList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesqlserver_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicesqlserver_terraformed.go new file mode 100755 index 000000000..0bf94e658 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesqlserver_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceSqlServer +func (mg *FactoryLinkedServiceSqlServer) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_sql_server" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceSqlServer +func (tr *FactoryLinkedServiceSqlServer) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceSqlServer +func (tr *FactoryLinkedServiceSqlServer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceSqlServer +func (tr *FactoryLinkedServiceSqlServer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceSqlServer +func (tr *FactoryLinkedServiceSqlServer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceSqlServer +func (tr *FactoryLinkedServiceSqlServer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceSqlServer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceSqlServer) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceSqlServerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceSqlServer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesqlserver_types.go b/apis/data/v1alpha1/zz_factorylinkedservicesqlserver_types.go new file mode 100755 index 000000000..92f4ecd7c --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesqlserver_types.go @@ -0,0 +1,138 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation struct { +} + +type FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceSqlServerKeyVaultPasswordObservation struct { +} + +type FactoryLinkedServiceSqlServerKeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceSqlServerObservation struct { +} + +type FactoryLinkedServiceSqlServerParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultConnectionString []FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters `json:"keyVaultConnectionString,omitempty" tf:"key_vault_connection_string,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultPassword []FactoryLinkedServiceSqlServerKeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceSqlServerSpec defines the desired state of FactoryLinkedServiceSqlServer +type FactoryLinkedServiceSqlServerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceSqlServerParameters `json:"forProvider"` +} + +// FactoryLinkedServiceSqlServerStatus defines the observed state of FactoryLinkedServiceSqlServer. +type FactoryLinkedServiceSqlServerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceSqlServerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSqlServer is the Schema for the FactoryLinkedServiceSqlServers API +// +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,azurejet} +type FactoryLinkedServiceSqlServer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceSqlServerSpec `json:"spec"` + Status FactoryLinkedServiceSqlServerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSqlServerList contains a list of FactoryLinkedServiceSqlServers +type FactoryLinkedServiceSqlServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceSqlServer `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceSqlServer_Kind = "FactoryLinkedServiceSqlServer" + FactoryLinkedServiceSqlServer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceSqlServer_Kind}.String() + FactoryLinkedServiceSqlServer_KindAPIVersion = FactoryLinkedServiceSqlServer_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceSqlServer_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceSqlServer_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceSqlServer{}, &FactoryLinkedServiceSqlServerList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesynapse_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedservicesynapse_terraformed.go new file mode 100755 index 000000000..a3077281f --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesynapse_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceSynapse +func (mg *FactoryLinkedServiceSynapse) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_synapse" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceSynapse +func (tr *FactoryLinkedServiceSynapse) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryLinkedServiceSynapse +func (tr *FactoryLinkedServiceSynapse) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceSynapse +func (tr *FactoryLinkedServiceSynapse) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceSynapse +func (tr *FactoryLinkedServiceSynapse) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceSynapse +func (tr *FactoryLinkedServiceSynapse) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceSynapse using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceSynapse) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceSynapseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceSynapse) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedservicesynapse_types.go b/apis/data/v1alpha1/zz_factorylinkedservicesynapse_types.go new file mode 100755 index 000000000..02c1edab6 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedservicesynapse_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceSynapseKeyVaultPasswordObservation struct { +} + +type FactoryLinkedServiceSynapseKeyVaultPasswordParameters struct { + + // +kubebuilder:validation:Required + LinkedServiceName *string `json:"linkedServiceName" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Required + SecretName *string `json:"secretName" tf:"secret_name,omitempty"` +} + +type FactoryLinkedServiceSynapseObservation struct { +} + +type FactoryLinkedServiceSynapseParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + ConnectionString *string `json:"connectionString" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultPassword []FactoryLinkedServiceSynapseKeyVaultPasswordParameters `json:"keyVaultPassword,omitempty" tf:"key_vault_password,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// FactoryLinkedServiceSynapseSpec defines the desired state of FactoryLinkedServiceSynapse +type FactoryLinkedServiceSynapseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceSynapseParameters `json:"forProvider"` +} + +// FactoryLinkedServiceSynapseStatus defines the observed state of FactoryLinkedServiceSynapse. +type FactoryLinkedServiceSynapseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceSynapseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSynapse is the Schema for the FactoryLinkedServiceSynapses API +// +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,azurejet} +type FactoryLinkedServiceSynapse struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceSynapseSpec `json:"spec"` + Status FactoryLinkedServiceSynapseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceSynapseList contains a list of FactoryLinkedServiceSynapses +type FactoryLinkedServiceSynapseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceSynapse `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceSynapse_Kind = "FactoryLinkedServiceSynapse" + FactoryLinkedServiceSynapse_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceSynapse_Kind}.String() + FactoryLinkedServiceSynapse_KindAPIVersion = FactoryLinkedServiceSynapse_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceSynapse_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceSynapse_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceSynapse{}, &FactoryLinkedServiceSynapseList{}) +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceweb_terraformed.go b/apis/data/v1alpha1/zz_factorylinkedserviceweb_terraformed.go new file mode 100755 index 000000000..78210a214 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceweb_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryLinkedServiceWeb +func (mg *FactoryLinkedServiceWeb) GetTerraformResourceType() string { + return "azurerm_data_factory_linked_service_web" +} + +// GetConnectionDetailsMapping for this FactoryLinkedServiceWeb +func (tr *FactoryLinkedServiceWeb) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this FactoryLinkedServiceWeb +func (tr *FactoryLinkedServiceWeb) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryLinkedServiceWeb +func (tr *FactoryLinkedServiceWeb) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryLinkedServiceWeb +func (tr *FactoryLinkedServiceWeb) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryLinkedServiceWeb +func (tr *FactoryLinkedServiceWeb) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryLinkedServiceWeb using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryLinkedServiceWeb) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryLinkedServiceWebParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryLinkedServiceWeb) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorylinkedserviceweb_types.go b/apis/data/v1alpha1/zz_factorylinkedserviceweb_types.go new file mode 100755 index 000000000..7fa30bbe2 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorylinkedserviceweb_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryLinkedServiceWebObservation struct { +} + +type FactoryLinkedServiceWebParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + AuthenticationType *string `json:"authenticationType" tf:"authentication_type,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntimeName *string `json:"integrationRuntimeName,omitempty" tf:"integration_runtime_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` + + // +kubebuilder:validation:Optional + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +// FactoryLinkedServiceWebSpec defines the desired state of FactoryLinkedServiceWeb +type FactoryLinkedServiceWebSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryLinkedServiceWebParameters `json:"forProvider"` +} + +// FactoryLinkedServiceWebStatus defines the observed state of FactoryLinkedServiceWeb. +type FactoryLinkedServiceWebStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryLinkedServiceWebObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceWeb is the Schema for the FactoryLinkedServiceWebs API +// +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,azurejet} +type FactoryLinkedServiceWeb struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryLinkedServiceWebSpec `json:"spec"` + Status FactoryLinkedServiceWebStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryLinkedServiceWebList contains a list of FactoryLinkedServiceWebs +type FactoryLinkedServiceWebList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryLinkedServiceWeb `json:"items"` +} + +// Repository type metadata. +var ( + FactoryLinkedServiceWeb_Kind = "FactoryLinkedServiceWeb" + FactoryLinkedServiceWeb_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryLinkedServiceWeb_Kind}.String() + FactoryLinkedServiceWeb_KindAPIVersion = FactoryLinkedServiceWeb_Kind + "." + CRDGroupVersion.String() + FactoryLinkedServiceWeb_GroupVersionKind = CRDGroupVersion.WithKind(FactoryLinkedServiceWeb_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryLinkedServiceWeb{}, &FactoryLinkedServiceWebList{}) +} diff --git a/apis/data/v1alpha1/zz_factorymanagedprivateendpoint_terraformed.go b/apis/data/v1alpha1/zz_factorymanagedprivateendpoint_terraformed.go new file mode 100755 index 000000000..53bed19e3 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorymanagedprivateendpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryManagedPrivateEndpoint +func (mg *FactoryManagedPrivateEndpoint) GetTerraformResourceType() string { + return "azurerm_data_factory_managed_private_endpoint" +} + +// GetConnectionDetailsMapping for this FactoryManagedPrivateEndpoint +func (tr *FactoryManagedPrivateEndpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryManagedPrivateEndpoint +func (tr *FactoryManagedPrivateEndpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryManagedPrivateEndpoint +func (tr *FactoryManagedPrivateEndpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryManagedPrivateEndpoint +func (tr *FactoryManagedPrivateEndpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryManagedPrivateEndpoint +func (tr *FactoryManagedPrivateEndpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryManagedPrivateEndpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryManagedPrivateEndpoint) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryManagedPrivateEndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryManagedPrivateEndpoint) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorymanagedprivateendpoint_types.go b/apis/data/v1alpha1/zz_factorymanagedprivateendpoint_types.go new file mode 100755 index 000000000..c7b33ee1a --- /dev/null +++ b/apis/data/v1alpha1/zz_factorymanagedprivateendpoint_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryManagedPrivateEndpointObservation struct { +} + +type FactoryManagedPrivateEndpointParameters struct { + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SubresourceName *string `json:"subresourceName" tf:"subresource_name,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +// FactoryManagedPrivateEndpointSpec defines the desired state of FactoryManagedPrivateEndpoint +type FactoryManagedPrivateEndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryManagedPrivateEndpointParameters `json:"forProvider"` +} + +// FactoryManagedPrivateEndpointStatus defines the observed state of FactoryManagedPrivateEndpoint. +type FactoryManagedPrivateEndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryManagedPrivateEndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryManagedPrivateEndpoint is the Schema for the FactoryManagedPrivateEndpoints API +// +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,azurejet} +type FactoryManagedPrivateEndpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryManagedPrivateEndpointSpec `json:"spec"` + Status FactoryManagedPrivateEndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryManagedPrivateEndpointList contains a list of FactoryManagedPrivateEndpoints +type FactoryManagedPrivateEndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryManagedPrivateEndpoint `json:"items"` +} + +// Repository type metadata. +var ( + FactoryManagedPrivateEndpoint_Kind = "FactoryManagedPrivateEndpoint" + FactoryManagedPrivateEndpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryManagedPrivateEndpoint_Kind}.String() + FactoryManagedPrivateEndpoint_KindAPIVersion = FactoryManagedPrivateEndpoint_Kind + "." + CRDGroupVersion.String() + FactoryManagedPrivateEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(FactoryManagedPrivateEndpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryManagedPrivateEndpoint{}, &FactoryManagedPrivateEndpointList{}) +} diff --git a/apis/data/v1alpha1/zz_factorypipeline_terraformed.go b/apis/data/v1alpha1/zz_factorypipeline_terraformed.go new file mode 100755 index 000000000..c0db35077 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorypipeline_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryPipeline +func (mg *FactoryPipeline) GetTerraformResourceType() string { + return "azurerm_data_factory_pipeline" +} + +// GetConnectionDetailsMapping for this FactoryPipeline +func (tr *FactoryPipeline) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryPipeline +func (tr *FactoryPipeline) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryPipeline +func (tr *FactoryPipeline) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryPipeline +func (tr *FactoryPipeline) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryPipeline +func (tr *FactoryPipeline) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryPipeline using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryPipeline) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryPipelineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryPipeline) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorypipeline_types.go b/apis/data/v1alpha1/zz_factorypipeline_types.go new file mode 100755 index 000000000..e1714b71c --- /dev/null +++ b/apis/data/v1alpha1/zz_factorypipeline_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryPipelineObservation struct { +} + +type FactoryPipelineParameters struct { + + // +kubebuilder:validation:Optional + ActivitiesJSON *string `json:"activitiesJson,omitempty" tf:"activities_json,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + Concurrency *int64 `json:"concurrency,omitempty" tf:"concurrency,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` + + // +kubebuilder:validation:Optional + MoniterMetricsAfterDuration *string `json:"moniterMetricsAfterDuration,omitempty" tf:"moniter_metrics_after_duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Variables map[string]*string `json:"variables,omitempty" tf:"variables,omitempty"` +} + +// FactoryPipelineSpec defines the desired state of FactoryPipeline +type FactoryPipelineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryPipelineParameters `json:"forProvider"` +} + +// FactoryPipelineStatus defines the observed state of FactoryPipeline. +type FactoryPipelineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryPipelineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryPipeline is the Schema for the FactoryPipelines API +// +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,azurejet} +type FactoryPipeline struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryPipelineSpec `json:"spec"` + Status FactoryPipelineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryPipelineList contains a list of FactoryPipelines +type FactoryPipelineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryPipeline `json:"items"` +} + +// Repository type metadata. +var ( + FactoryPipeline_Kind = "FactoryPipeline" + FactoryPipeline_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryPipeline_Kind}.String() + FactoryPipeline_KindAPIVersion = FactoryPipeline_Kind + "." + CRDGroupVersion.String() + FactoryPipeline_GroupVersionKind = CRDGroupVersion.WithKind(FactoryPipeline_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryPipeline{}, &FactoryPipelineList{}) +} diff --git a/apis/data/v1alpha1/zz_factorytriggerblobevent_terraformed.go b/apis/data/v1alpha1/zz_factorytriggerblobevent_terraformed.go new file mode 100755 index 000000000..373a9d54d --- /dev/null +++ b/apis/data/v1alpha1/zz_factorytriggerblobevent_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryTriggerBlobEvent +func (mg *FactoryTriggerBlobEvent) GetTerraformResourceType() string { + return "azurerm_data_factory_trigger_blob_event" +} + +// GetConnectionDetailsMapping for this FactoryTriggerBlobEvent +func (tr *FactoryTriggerBlobEvent) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryTriggerBlobEvent +func (tr *FactoryTriggerBlobEvent) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryTriggerBlobEvent +func (tr *FactoryTriggerBlobEvent) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryTriggerBlobEvent +func (tr *FactoryTriggerBlobEvent) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryTriggerBlobEvent +func (tr *FactoryTriggerBlobEvent) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryTriggerBlobEvent using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryTriggerBlobEvent) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryTriggerBlobEventParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryTriggerBlobEvent) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorytriggerblobevent_types.go b/apis/data/v1alpha1/zz_factorytriggerblobevent_types.go new file mode 100755 index 000000000..f3231a8b3 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorytriggerblobevent_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryTriggerBlobEventObservation struct { +} + +type FactoryTriggerBlobEventParameters struct { + + // +kubebuilder:validation:Optional + Activated *bool `json:"activated,omitempty" tf:"activated,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + BlobPathBeginsWith *string `json:"blobPathBeginsWith,omitempty" tf:"blob_path_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + BlobPathEndsWith *string `json:"blobPathEndsWith,omitempty" tf:"blob_path_ends_with,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Events []*string `json:"events" tf:"events,omitempty"` + + // +kubebuilder:validation:Optional + IgnoreEmptyBlobs *bool `json:"ignoreEmptyBlobs,omitempty" tf:"ignore_empty_blobs,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Pipeline []PipelineParameters `json:"pipeline" tf:"pipeline,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type PipelineObservation struct { +} + +type PipelineParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +// FactoryTriggerBlobEventSpec defines the desired state of FactoryTriggerBlobEvent +type FactoryTriggerBlobEventSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryTriggerBlobEventParameters `json:"forProvider"` +} + +// FactoryTriggerBlobEventStatus defines the observed state of FactoryTriggerBlobEvent. +type FactoryTriggerBlobEventStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryTriggerBlobEventObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryTriggerBlobEvent is the Schema for the FactoryTriggerBlobEvents API +// +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,azurejet} +type FactoryTriggerBlobEvent struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryTriggerBlobEventSpec `json:"spec"` + Status FactoryTriggerBlobEventStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryTriggerBlobEventList contains a list of FactoryTriggerBlobEvents +type FactoryTriggerBlobEventList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryTriggerBlobEvent `json:"items"` +} + +// Repository type metadata. +var ( + FactoryTriggerBlobEvent_Kind = "FactoryTriggerBlobEvent" + FactoryTriggerBlobEvent_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryTriggerBlobEvent_Kind}.String() + FactoryTriggerBlobEvent_KindAPIVersion = FactoryTriggerBlobEvent_Kind + "." + CRDGroupVersion.String() + FactoryTriggerBlobEvent_GroupVersionKind = CRDGroupVersion.WithKind(FactoryTriggerBlobEvent_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryTriggerBlobEvent{}, &FactoryTriggerBlobEventList{}) +} diff --git a/apis/data/v1alpha1/zz_factorytriggercustomevent_terraformed.go b/apis/data/v1alpha1/zz_factorytriggercustomevent_terraformed.go new file mode 100755 index 000000000..2383c1af1 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorytriggercustomevent_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryTriggerCustomEvent +func (mg *FactoryTriggerCustomEvent) GetTerraformResourceType() string { + return "azurerm_data_factory_trigger_custom_event" +} + +// GetConnectionDetailsMapping for this FactoryTriggerCustomEvent +func (tr *FactoryTriggerCustomEvent) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryTriggerCustomEvent +func (tr *FactoryTriggerCustomEvent) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryTriggerCustomEvent +func (tr *FactoryTriggerCustomEvent) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryTriggerCustomEvent +func (tr *FactoryTriggerCustomEvent) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryTriggerCustomEvent +func (tr *FactoryTriggerCustomEvent) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryTriggerCustomEvent using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryTriggerCustomEvent) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryTriggerCustomEventParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryTriggerCustomEvent) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorytriggercustomevent_types.go b/apis/data/v1alpha1/zz_factorytriggercustomevent_types.go new file mode 100755 index 000000000..0ffdb2118 --- /dev/null +++ b/apis/data/v1alpha1/zz_factorytriggercustomevent_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryTriggerCustomEventObservation struct { +} + +type FactoryTriggerCustomEventParameters struct { + + // +kubebuilder:validation:Optional + Activated *bool `json:"activated,omitempty" tf:"activated,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryID *string `json:"dataFactoryId" tf:"data_factory_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + EventgridTopicID *string `json:"eventgridTopicId" tf:"eventgrid_topic_id,omitempty"` + + // +kubebuilder:validation:Required + Events []*string `json:"events" tf:"events,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Pipeline []FactoryTriggerCustomEventPipelineParameters `json:"pipeline" tf:"pipeline,omitempty"` + + // +kubebuilder:validation:Optional + SubjectBeginsWith *string `json:"subjectBeginsWith,omitempty" tf:"subject_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + SubjectEndsWith *string `json:"subjectEndsWith,omitempty" tf:"subject_ends_with,omitempty"` +} + +type FactoryTriggerCustomEventPipelineObservation struct { +} + +type FactoryTriggerCustomEventPipelineParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +// FactoryTriggerCustomEventSpec defines the desired state of FactoryTriggerCustomEvent +type FactoryTriggerCustomEventSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryTriggerCustomEventParameters `json:"forProvider"` +} + +// FactoryTriggerCustomEventStatus defines the observed state of FactoryTriggerCustomEvent. +type FactoryTriggerCustomEventStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryTriggerCustomEventObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryTriggerCustomEvent is the Schema for the FactoryTriggerCustomEvents API +// +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,azurejet} +type FactoryTriggerCustomEvent struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryTriggerCustomEventSpec `json:"spec"` + Status FactoryTriggerCustomEventStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryTriggerCustomEventList contains a list of FactoryTriggerCustomEvents +type FactoryTriggerCustomEventList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryTriggerCustomEvent `json:"items"` +} + +// Repository type metadata. +var ( + FactoryTriggerCustomEvent_Kind = "FactoryTriggerCustomEvent" + FactoryTriggerCustomEvent_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryTriggerCustomEvent_Kind}.String() + FactoryTriggerCustomEvent_KindAPIVersion = FactoryTriggerCustomEvent_Kind + "." + CRDGroupVersion.String() + FactoryTriggerCustomEvent_GroupVersionKind = CRDGroupVersion.WithKind(FactoryTriggerCustomEvent_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryTriggerCustomEvent{}, &FactoryTriggerCustomEventList{}) +} diff --git a/apis/data/v1alpha1/zz_factorytriggerschedule_terraformed.go b/apis/data/v1alpha1/zz_factorytriggerschedule_terraformed.go new file mode 100755 index 000000000..f8a44051a --- /dev/null +++ b/apis/data/v1alpha1/zz_factorytriggerschedule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FactoryTriggerSchedule +func (mg *FactoryTriggerSchedule) GetTerraformResourceType() string { + return "azurerm_data_factory_trigger_schedule" +} + +// GetConnectionDetailsMapping for this FactoryTriggerSchedule +func (tr *FactoryTriggerSchedule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FactoryTriggerSchedule +func (tr *FactoryTriggerSchedule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FactoryTriggerSchedule +func (tr *FactoryTriggerSchedule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FactoryTriggerSchedule +func (tr *FactoryTriggerSchedule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FactoryTriggerSchedule +func (tr *FactoryTriggerSchedule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FactoryTriggerSchedule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FactoryTriggerSchedule) LateInitialize(attrs []byte) (bool, error) { + params := &FactoryTriggerScheduleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FactoryTriggerSchedule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_factorytriggerschedule_types.go b/apis/data/v1alpha1/zz_factorytriggerschedule_types.go new file mode 100755 index 000000000..ee652490a --- /dev/null +++ b/apis/data/v1alpha1/zz_factorytriggerschedule_types.go @@ -0,0 +1,153 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FactoryTriggerScheduleObservation struct { +} + +type FactoryTriggerScheduleParameters struct { + + // +kubebuilder:validation:Optional + Activated *bool `json:"activated,omitempty" tf:"activated,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Required + DataFactoryName *string `json:"dataFactoryName" tf:"data_factory_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` + + // +kubebuilder:validation:Optional + Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Optional + Interval *int64 `json:"interval,omitempty" tf:"interval,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PipelineName *string `json:"pipelineName" tf:"pipeline_name,omitempty"` + + // +kubebuilder:validation:Optional + PipelineParameters map[string]*string `json:"pipelineParameters,omitempty" tf:"pipeline_parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Schedule []ScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Optional + StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` +} + +type MonthlyObservation struct { +} + +type MonthlyParameters struct { + + // +kubebuilder:validation:Optional + Week *int64 `json:"week,omitempty" tf:"week,omitempty"` + + // +kubebuilder:validation:Required + Weekday *string `json:"weekday" tf:"weekday,omitempty"` +} + +type ScheduleObservation struct { +} + +type ScheduleParameters struct { + + // +kubebuilder:validation:Optional + DaysOfMonth []*int64 `json:"daysOfMonth,omitempty" tf:"days_of_month,omitempty"` + + // +kubebuilder:validation:Optional + DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"` + + // +kubebuilder:validation:Optional + Hours []*int64 `json:"hours,omitempty" tf:"hours,omitempty"` + + // +kubebuilder:validation:Optional + Minutes []*int64 `json:"minutes,omitempty" tf:"minutes,omitempty"` + + // +kubebuilder:validation:Optional + Monthly []MonthlyParameters `json:"monthly,omitempty" tf:"monthly,omitempty"` +} + +// FactoryTriggerScheduleSpec defines the desired state of FactoryTriggerSchedule +type FactoryTriggerScheduleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FactoryTriggerScheduleParameters `json:"forProvider"` +} + +// FactoryTriggerScheduleStatus defines the observed state of FactoryTriggerSchedule. +type FactoryTriggerScheduleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FactoryTriggerScheduleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryTriggerSchedule is the Schema for the FactoryTriggerSchedules API +// +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,azurejet} +type FactoryTriggerSchedule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FactoryTriggerScheduleSpec `json:"spec"` + Status FactoryTriggerScheduleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FactoryTriggerScheduleList contains a list of FactoryTriggerSchedules +type FactoryTriggerScheduleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FactoryTriggerSchedule `json:"items"` +} + +// Repository type metadata. +var ( + FactoryTriggerSchedule_Kind = "FactoryTriggerSchedule" + FactoryTriggerSchedule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FactoryTriggerSchedule_Kind}.String() + FactoryTriggerSchedule_KindAPIVersion = FactoryTriggerSchedule_Kind + "." + CRDGroupVersion.String() + FactoryTriggerSchedule_GroupVersionKind = CRDGroupVersion.WithKind(FactoryTriggerSchedule_Kind) +) + +func init() { + SchemeBuilder.Register(&FactoryTriggerSchedule{}, &FactoryTriggerScheduleList{}) +} diff --git a/apis/data/v1alpha1/zz_generated.deepcopy.go b/apis/data/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..17a76ad81 --- /dev/null +++ b/apis/data/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,15609 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureBlobFsLocationObservation) DeepCopyInto(out *AzureBlobFsLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobFsLocationObservation. +func (in *AzureBlobFsLocationObservation) DeepCopy() *AzureBlobFsLocationObservation { + if in == nil { + return nil + } + out := new(AzureBlobFsLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureBlobFsLocationParameters) DeepCopyInto(out *AzureBlobFsLocationParameters) { + *out = *in + if in.FileSystem != nil { + in, out := &in.FileSystem, &out.FileSystem + *out = new(string) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobFsLocationParameters. +func (in *AzureBlobFsLocationParameters) DeepCopy() *AzureBlobFsLocationParameters { + if in == nil { + return nil + } + out := new(AzureBlobFsLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureBlobStorageLocationObservation) DeepCopyInto(out *AzureBlobStorageLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobStorageLocationObservation. +func (in *AzureBlobStorageLocationObservation) DeepCopy() *AzureBlobStorageLocationObservation { + if in == nil { + return nil + } + out := new(AzureBlobStorageLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureBlobStorageLocationParameters) DeepCopyInto(out *AzureBlobStorageLocationParameters) { + *out = *in + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = new(string) + **out = **in + } + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureBlobStorageLocationParameters. +func (in *AzureBlobStorageLocationParameters) DeepCopy() *AzureBlobStorageLocationParameters { + if in == nil { + return nil + } + out := new(AzureBlobStorageLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BasicAuthenticationObservation) DeepCopyInto(out *BasicAuthenticationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthenticationObservation. +func (in *BasicAuthenticationObservation) DeepCopy() *BasicAuthenticationObservation { + if in == nil { + return nil + } + out := new(BasicAuthenticationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BasicAuthenticationParameters) DeepCopyInto(out *BasicAuthenticationParameters) { + *out = *in + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthenticationParameters. +func (in *BasicAuthenticationParameters) DeepCopy() *BasicAuthenticationParameters { + if in == nil { + return nil + } + out := new(BasicAuthenticationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CatalogInfoObservation) DeepCopyInto(out *CatalogInfoObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogInfoObservation. +func (in *CatalogInfoObservation) DeepCopy() *CatalogInfoObservation { + if in == nil { + return nil + } + out := new(CatalogInfoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CatalogInfoParameters) DeepCopyInto(out *CatalogInfoParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorPasswordSecretRef != nil { + in, out := &in.AdministratorPasswordSecretRef, &out.AdministratorPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DualStandbyPairName != nil { + in, out := &in.DualStandbyPairName, &out.DualStandbyPairName + *out = new(string) + **out = **in + } + if in.PricingTier != nil { + in, out := &in.PricingTier, &out.PricingTier + *out = new(string) + **out = **in + } + if in.ServerEndpoint != nil { + in, out := &in.ServerEndpoint, &out.ServerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogInfoParameters. +func (in *CatalogInfoParameters) DeepCopy() *CatalogInfoParameters { + if in == nil { + return nil + } + out := new(CatalogInfoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommandKeyObservation) DeepCopyInto(out *CommandKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandKeyObservation. +func (in *CommandKeyObservation) DeepCopy() *CommandKeyObservation { + if in == nil { + return nil + } + out := new(CommandKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommandKeyParameters) DeepCopyInto(out *CommandKeyParameters) { + *out = *in + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]KeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.TargetName != nil { + in, out := &in.TargetName, &out.TargetName + *out = new(string) + **out = **in + } + if in.UserName != nil { + in, out := &in.UserName, &out.UserName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandKeyParameters. +func (in *CommandKeyParameters) DeepCopy() *CommandKeyParameters { + if in == nil { + return nil + } + out := new(CommandKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ComponentObservation) DeepCopyInto(out *ComponentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentObservation. +func (in *ComponentObservation) DeepCopy() *ComponentObservation { + if in == nil { + return nil + } + out := new(ComponentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ComponentParameters) DeepCopyInto(out *ComponentParameters) { + *out = *in + if in.KeyVaultLicense != nil { + in, out := &in.KeyVaultLicense, &out.KeyVaultLicense + *out = make([]KeyVaultLicenseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LicenseSecretRef != nil { + in, out := &in.LicenseSecretRef, &out.LicenseSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentParameters. +func (in *ComponentParameters) DeepCopy() *ComponentParameters { + if in == nil { + return nil + } + out := new(ComponentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompressionObservation) DeepCopyInto(out *CompressionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompressionObservation. +func (in *CompressionObservation) DeepCopy() *CompressionObservation { + if in == nil { + return nil + } + out := new(CompressionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CompressionParameters) DeepCopyInto(out *CompressionParameters) { + *out = *in + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompressionParameters. +func (in *CompressionParameters) DeepCopy() *CompressionParameters { + if in == nil { + return nil + } + out := new(CompressionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaObservation. +func (in *CriteriaObservation) DeepCopy() *CriteriaObservation { + if in == nil { + return nil + } + out := new(CriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters) { + *out = *in + if in.AbsoluteCriteria != nil { + in, out := &in.AbsoluteCriteria, &out.AbsoluteCriteria + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaParameters. +func (in *CriteriaParameters) DeepCopy() *CriteriaParameters { + if in == nil { + return nil + } + out := new(CriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomSetupScriptObservation) DeepCopyInto(out *CustomSetupScriptObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSetupScriptObservation. +func (in *CustomSetupScriptObservation) DeepCopy() *CustomSetupScriptObservation { + if in == nil { + return nil + } + out := new(CustomSetupScriptObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomSetupScriptParameters) DeepCopyInto(out *CustomSetupScriptParameters) { + *out = *in + if in.BlobContainerURI != nil { + in, out := &in.BlobContainerURI, &out.BlobContainerURI + *out = new(string) + **out = **in + } + out.SasTokenSecretRef = in.SasTokenSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSetupScriptParameters. +func (in *CustomSetupScriptParameters) DeepCopy() *CustomSetupScriptParameters { + if in == nil { + return nil + } + out := new(CustomSetupScriptParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatasetObservation) DeepCopyInto(out *DatasetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetObservation. +func (in *DatasetObservation) DeepCopy() *DatasetObservation { + if in == nil { + return nil + } + out := new(DatasetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatasetParameters) DeepCopyInto(out *DatasetParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetParameters. +func (in *DatasetParameters) DeepCopy() *DatasetParameters { + if in == nil { + return nil + } + out := new(DatasetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressCustomSetupObservation) DeepCopyInto(out *ExpressCustomSetupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressCustomSetupObservation. +func (in *ExpressCustomSetupObservation) DeepCopy() *ExpressCustomSetupObservation { + if in == nil { + return nil + } + out := new(ExpressCustomSetupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressCustomSetupParameters) DeepCopyInto(out *ExpressCustomSetupParameters) { + *out = *in + if in.CommandKey != nil { + in, out := &in.CommandKey, &out.CommandKey + *out = make([]CommandKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Component != nil { + in, out := &in.Component, &out.Component + *out = make([]ComponentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Environment != nil { + in, out := &in.Environment, &out.Environment + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PowershellVersion != nil { + in, out := &in.PowershellVersion, &out.PowershellVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressCustomSetupParameters. +func (in *ExpressCustomSetupParameters) DeepCopy() *ExpressCustomSetupParameters { + if in == nil { + return nil + } + out := new(ExpressCustomSetupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Factory) DeepCopyInto(out *Factory) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Factory. +func (in *Factory) DeepCopy() *Factory { + if in == nil { + return nil + } + out := new(Factory) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Factory) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryCustomDataset) DeepCopyInto(out *FactoryCustomDataset) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryCustomDataset. +func (in *FactoryCustomDataset) DeepCopy() *FactoryCustomDataset { + if in == nil { + return nil + } + out := new(FactoryCustomDataset) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryCustomDataset) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryCustomDatasetList) DeepCopyInto(out *FactoryCustomDatasetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryCustomDataset, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryCustomDatasetList. +func (in *FactoryCustomDatasetList) DeepCopy() *FactoryCustomDatasetList { + if in == nil { + return nil + } + out := new(FactoryCustomDatasetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryCustomDatasetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryCustomDatasetObservation) DeepCopyInto(out *FactoryCustomDatasetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryCustomDatasetObservation. +func (in *FactoryCustomDatasetObservation) DeepCopy() *FactoryCustomDatasetObservation { + if in == nil { + return nil + } + out := new(FactoryCustomDatasetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryCustomDatasetParameters) DeepCopyInto(out *FactoryCustomDatasetParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedService != nil { + in, out := &in.LinkedService, &out.LinkedService + *out = make([]LinkedServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.SchemaJSON != nil { + in, out := &in.SchemaJSON, &out.SchemaJSON + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.TypePropertiesJSON != nil { + in, out := &in.TypePropertiesJSON, &out.TypePropertiesJSON + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryCustomDatasetParameters. +func (in *FactoryCustomDatasetParameters) DeepCopy() *FactoryCustomDatasetParameters { + if in == nil { + return nil + } + out := new(FactoryCustomDatasetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryCustomDatasetSpec) DeepCopyInto(out *FactoryCustomDatasetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryCustomDatasetSpec. +func (in *FactoryCustomDatasetSpec) DeepCopy() *FactoryCustomDatasetSpec { + if in == nil { + return nil + } + out := new(FactoryCustomDatasetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryCustomDatasetStatus) DeepCopyInto(out *FactoryCustomDatasetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryCustomDatasetStatus. +func (in *FactoryCustomDatasetStatus) DeepCopy() *FactoryCustomDatasetStatus { + if in == nil { + return nil + } + out := new(FactoryCustomDatasetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDataFlow) DeepCopyInto(out *FactoryDataFlow) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDataFlow. +func (in *FactoryDataFlow) DeepCopy() *FactoryDataFlow { + if in == nil { + return nil + } + out := new(FactoryDataFlow) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDataFlow) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDataFlowList) DeepCopyInto(out *FactoryDataFlowList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDataFlow, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDataFlowList. +func (in *FactoryDataFlowList) DeepCopy() *FactoryDataFlowList { + if in == nil { + return nil + } + out := new(FactoryDataFlowList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDataFlowList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDataFlowObservation) DeepCopyInto(out *FactoryDataFlowObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDataFlowObservation. +func (in *FactoryDataFlowObservation) DeepCopy() *FactoryDataFlowObservation { + if in == nil { + return nil + } + out := new(FactoryDataFlowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDataFlowParameters) DeepCopyInto(out *FactoryDataFlowParameters) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Script != nil { + in, out := &in.Script, &out.Script + *out = new(string) + **out = **in + } + if in.Sink != nil { + in, out := &in.Sink, &out.Sink + *out = make([]SinkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = make([]SourceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Transformation != nil { + in, out := &in.Transformation, &out.Transformation + *out = make([]TransformationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDataFlowParameters. +func (in *FactoryDataFlowParameters) DeepCopy() *FactoryDataFlowParameters { + if in == nil { + return nil + } + out := new(FactoryDataFlowParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDataFlowSpec) DeepCopyInto(out *FactoryDataFlowSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDataFlowSpec. +func (in *FactoryDataFlowSpec) DeepCopy() *FactoryDataFlowSpec { + if in == nil { + return nil + } + out := new(FactoryDataFlowSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDataFlowStatus) DeepCopyInto(out *FactoryDataFlowStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDataFlowStatus. +func (in *FactoryDataFlowStatus) DeepCopy() *FactoryDataFlowStatus { + if in == nil { + return nil + } + out := new(FactoryDataFlowStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetAzureBlob) DeepCopyInto(out *FactoryDatasetAzureBlob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetAzureBlob. +func (in *FactoryDatasetAzureBlob) DeepCopy() *FactoryDatasetAzureBlob { + if in == nil { + return nil + } + out := new(FactoryDatasetAzureBlob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetAzureBlob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetAzureBlobList) DeepCopyInto(out *FactoryDatasetAzureBlobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetAzureBlob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetAzureBlobList. +func (in *FactoryDatasetAzureBlobList) DeepCopy() *FactoryDatasetAzureBlobList { + if in == nil { + return nil + } + out := new(FactoryDatasetAzureBlobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetAzureBlobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetAzureBlobObservation) DeepCopyInto(out *FactoryDatasetAzureBlobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetAzureBlobObservation. +func (in *FactoryDatasetAzureBlobObservation) DeepCopy() *FactoryDatasetAzureBlobObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetAzureBlobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetAzureBlobParameters) DeepCopyInto(out *FactoryDatasetAzureBlobParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]SchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetAzureBlobParameters. +func (in *FactoryDatasetAzureBlobParameters) DeepCopy() *FactoryDatasetAzureBlobParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetAzureBlobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetAzureBlobSpec) DeepCopyInto(out *FactoryDatasetAzureBlobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetAzureBlobSpec. +func (in *FactoryDatasetAzureBlobSpec) DeepCopy() *FactoryDatasetAzureBlobSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetAzureBlobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetAzureBlobStatus) DeepCopyInto(out *FactoryDatasetAzureBlobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetAzureBlobStatus. +func (in *FactoryDatasetAzureBlobStatus) DeepCopy() *FactoryDatasetAzureBlobStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetAzureBlobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetBinary) DeepCopyInto(out *FactoryDatasetBinary) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetBinary. +func (in *FactoryDatasetBinary) DeepCopy() *FactoryDatasetBinary { + if in == nil { + return nil + } + out := new(FactoryDatasetBinary) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetBinary) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetBinaryList) DeepCopyInto(out *FactoryDatasetBinaryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetBinary, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetBinaryList. +func (in *FactoryDatasetBinaryList) DeepCopy() *FactoryDatasetBinaryList { + if in == nil { + return nil + } + out := new(FactoryDatasetBinaryList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetBinaryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetBinaryObservation) DeepCopyInto(out *FactoryDatasetBinaryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetBinaryObservation. +func (in *FactoryDatasetBinaryObservation) DeepCopy() *FactoryDatasetBinaryObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetBinaryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetBinaryParameters) DeepCopyInto(out *FactoryDatasetBinaryParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AzureBlobStorageLocation != nil { + in, out := &in.AzureBlobStorageLocation, &out.AzureBlobStorageLocation + *out = make([]AzureBlobStorageLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Compression != nil { + in, out := &in.Compression, &out.Compression + *out = make([]CompressionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.HTTPServerLocation != nil { + in, out := &in.HTTPServerLocation, &out.HTTPServerLocation + *out = make([]HTTPServerLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SftpServerLocation != nil { + in, out := &in.SftpServerLocation, &out.SftpServerLocation + *out = make([]SftpServerLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetBinaryParameters. +func (in *FactoryDatasetBinaryParameters) DeepCopy() *FactoryDatasetBinaryParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetBinaryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetBinarySpec) DeepCopyInto(out *FactoryDatasetBinarySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetBinarySpec. +func (in *FactoryDatasetBinarySpec) DeepCopy() *FactoryDatasetBinarySpec { + if in == nil { + return nil + } + out := new(FactoryDatasetBinarySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetBinaryStatus) DeepCopyInto(out *FactoryDatasetBinaryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetBinaryStatus. +func (in *FactoryDatasetBinaryStatus) DeepCopy() *FactoryDatasetBinaryStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetBinaryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapi) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapi) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapi. +func (in *FactoryDatasetCosmosdbSqlapi) DeepCopy() *FactoryDatasetCosmosdbSqlapi { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapi) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetCosmosdbSqlapi) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiList) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetCosmosdbSqlapi, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiList. +func (in *FactoryDatasetCosmosdbSqlapiList) DeepCopy() *FactoryDatasetCosmosdbSqlapiList { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetCosmosdbSqlapiList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiObservation) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiObservation. +func (in *FactoryDatasetCosmosdbSqlapiObservation) DeepCopy() *FactoryDatasetCosmosdbSqlapiObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiParameters) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CollectionName != nil { + in, out := &in.CollectionName, &out.CollectionName + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetCosmosdbSqlapiSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiParameters. +func (in *FactoryDatasetCosmosdbSqlapiParameters) DeepCopy() *FactoryDatasetCosmosdbSqlapiParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiSchemaColumnObservation. +func (in *FactoryDatasetCosmosdbSqlapiSchemaColumnObservation) DeepCopy() *FactoryDatasetCosmosdbSqlapiSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiSchemaColumnParameters. +func (in *FactoryDatasetCosmosdbSqlapiSchemaColumnParameters) DeepCopy() *FactoryDatasetCosmosdbSqlapiSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiSpec) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiSpec. +func (in *FactoryDatasetCosmosdbSqlapiSpec) DeepCopy() *FactoryDatasetCosmosdbSqlapiSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetCosmosdbSqlapiStatus) DeepCopyInto(out *FactoryDatasetCosmosdbSqlapiStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetCosmosdbSqlapiStatus. +func (in *FactoryDatasetCosmosdbSqlapiStatus) DeepCopy() *FactoryDatasetCosmosdbSqlapiStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetCosmosdbSqlapiStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedText) DeepCopyInto(out *FactoryDatasetDelimitedText) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedText. +func (in *FactoryDatasetDelimitedText) DeepCopy() *FactoryDatasetDelimitedText { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedText) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetDelimitedText) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation) DeepCopyInto(out *FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation. +func (in *FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation) DeepCopy() *FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextAzureBlobStorageLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters) DeepCopyInto(out *FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters) { + *out = *in + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = new(string) + **out = **in + } + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters. +func (in *FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters) DeepCopy() *FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextHTTPServerLocationObservation) DeepCopyInto(out *FactoryDatasetDelimitedTextHTTPServerLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextHTTPServerLocationObservation. +func (in *FactoryDatasetDelimitedTextHTTPServerLocationObservation) DeepCopy() *FactoryDatasetDelimitedTextHTTPServerLocationObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextHTTPServerLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextHTTPServerLocationParameters) DeepCopyInto(out *FactoryDatasetDelimitedTextHTTPServerLocationParameters) { + *out = *in + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.RelativeURL != nil { + in, out := &in.RelativeURL, &out.RelativeURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextHTTPServerLocationParameters. +func (in *FactoryDatasetDelimitedTextHTTPServerLocationParameters) DeepCopy() *FactoryDatasetDelimitedTextHTTPServerLocationParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextHTTPServerLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextList) DeepCopyInto(out *FactoryDatasetDelimitedTextList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetDelimitedText, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextList. +func (in *FactoryDatasetDelimitedTextList) DeepCopy() *FactoryDatasetDelimitedTextList { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetDelimitedTextList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextObservation) DeepCopyInto(out *FactoryDatasetDelimitedTextObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextObservation. +func (in *FactoryDatasetDelimitedTextObservation) DeepCopy() *FactoryDatasetDelimitedTextObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextParameters) DeepCopyInto(out *FactoryDatasetDelimitedTextParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AzureBlobFsLocation != nil { + in, out := &in.AzureBlobFsLocation, &out.AzureBlobFsLocation + *out = make([]AzureBlobFsLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AzureBlobStorageLocation != nil { + in, out := &in.AzureBlobStorageLocation, &out.AzureBlobStorageLocation + *out = make([]FactoryDatasetDelimitedTextAzureBlobStorageLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ColumnDelimiter != nil { + in, out := &in.ColumnDelimiter, &out.ColumnDelimiter + *out = new(string) + **out = **in + } + if in.CompressionCodec != nil { + in, out := &in.CompressionCodec, &out.CompressionCodec + *out = new(string) + **out = **in + } + if in.CompressionLevel != nil { + in, out := &in.CompressionLevel, &out.CompressionLevel + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.EscapeCharacter != nil { + in, out := &in.EscapeCharacter, &out.EscapeCharacter + *out = new(string) + **out = **in + } + if in.FirstRowAsHeader != nil { + in, out := &in.FirstRowAsHeader, &out.FirstRowAsHeader + *out = new(bool) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.HTTPServerLocation != nil { + in, out := &in.HTTPServerLocation, &out.HTTPServerLocation + *out = make([]FactoryDatasetDelimitedTextHTTPServerLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NullValue != nil { + in, out := &in.NullValue, &out.NullValue + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.QuoteCharacter != nil { + in, out := &in.QuoteCharacter, &out.QuoteCharacter + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RowDelimiter != nil { + in, out := &in.RowDelimiter, &out.RowDelimiter + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetDelimitedTextSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextParameters. +func (in *FactoryDatasetDelimitedTextParameters) DeepCopy() *FactoryDatasetDelimitedTextParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetDelimitedTextSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextSchemaColumnObservation. +func (in *FactoryDatasetDelimitedTextSchemaColumnObservation) DeepCopy() *FactoryDatasetDelimitedTextSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetDelimitedTextSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextSchemaColumnParameters. +func (in *FactoryDatasetDelimitedTextSchemaColumnParameters) DeepCopy() *FactoryDatasetDelimitedTextSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextSpec) DeepCopyInto(out *FactoryDatasetDelimitedTextSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextSpec. +func (in *FactoryDatasetDelimitedTextSpec) DeepCopy() *FactoryDatasetDelimitedTextSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetDelimitedTextStatus) DeepCopyInto(out *FactoryDatasetDelimitedTextStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetDelimitedTextStatus. +func (in *FactoryDatasetDelimitedTextStatus) DeepCopy() *FactoryDatasetDelimitedTextStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetDelimitedTextStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttp) DeepCopyInto(out *FactoryDatasetHttp) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttp. +func (in *FactoryDatasetHttp) DeepCopy() *FactoryDatasetHttp { + if in == nil { + return nil + } + out := new(FactoryDatasetHttp) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetHttp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpList) DeepCopyInto(out *FactoryDatasetHttpList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetHttp, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpList. +func (in *FactoryDatasetHttpList) DeepCopy() *FactoryDatasetHttpList { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetHttpList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpObservation) DeepCopyInto(out *FactoryDatasetHttpObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpObservation. +func (in *FactoryDatasetHttpObservation) DeepCopy() *FactoryDatasetHttpObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpParameters) DeepCopyInto(out *FactoryDatasetHttpParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.RelativeURL != nil { + in, out := &in.RelativeURL, &out.RelativeURL + *out = new(string) + **out = **in + } + if in.RequestBody != nil { + in, out := &in.RequestBody, &out.RequestBody + *out = new(string) + **out = **in + } + if in.RequestMethod != nil { + in, out := &in.RequestMethod, &out.RequestMethod + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetHttpSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpParameters. +func (in *FactoryDatasetHttpParameters) DeepCopy() *FactoryDatasetHttpParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetHttpSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpSchemaColumnObservation. +func (in *FactoryDatasetHttpSchemaColumnObservation) DeepCopy() *FactoryDatasetHttpSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetHttpSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpSchemaColumnParameters. +func (in *FactoryDatasetHttpSchemaColumnParameters) DeepCopy() *FactoryDatasetHttpSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpSpec) DeepCopyInto(out *FactoryDatasetHttpSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpSpec. +func (in *FactoryDatasetHttpSpec) DeepCopy() *FactoryDatasetHttpSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetHttpStatus) DeepCopyInto(out *FactoryDatasetHttpStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetHttpStatus. +func (in *FactoryDatasetHttpStatus) DeepCopy() *FactoryDatasetHttpStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetHttpStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJson) DeepCopyInto(out *FactoryDatasetJson) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJson. +func (in *FactoryDatasetJson) DeepCopy() *FactoryDatasetJson { + if in == nil { + return nil + } + out := new(FactoryDatasetJson) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetJson) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonAzureBlobStorageLocationObservation) DeepCopyInto(out *FactoryDatasetJsonAzureBlobStorageLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonAzureBlobStorageLocationObservation. +func (in *FactoryDatasetJsonAzureBlobStorageLocationObservation) DeepCopy() *FactoryDatasetJsonAzureBlobStorageLocationObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonAzureBlobStorageLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonAzureBlobStorageLocationParameters) DeepCopyInto(out *FactoryDatasetJsonAzureBlobStorageLocationParameters) { + *out = *in + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = new(string) + **out = **in + } + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonAzureBlobStorageLocationParameters. +func (in *FactoryDatasetJsonAzureBlobStorageLocationParameters) DeepCopy() *FactoryDatasetJsonAzureBlobStorageLocationParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonAzureBlobStorageLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonHTTPServerLocationObservation) DeepCopyInto(out *FactoryDatasetJsonHTTPServerLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonHTTPServerLocationObservation. +func (in *FactoryDatasetJsonHTTPServerLocationObservation) DeepCopy() *FactoryDatasetJsonHTTPServerLocationObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonHTTPServerLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonHTTPServerLocationParameters) DeepCopyInto(out *FactoryDatasetJsonHTTPServerLocationParameters) { + *out = *in + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.RelativeURL != nil { + in, out := &in.RelativeURL, &out.RelativeURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonHTTPServerLocationParameters. +func (in *FactoryDatasetJsonHTTPServerLocationParameters) DeepCopy() *FactoryDatasetJsonHTTPServerLocationParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonHTTPServerLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonList) DeepCopyInto(out *FactoryDatasetJsonList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetJson, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonList. +func (in *FactoryDatasetJsonList) DeepCopy() *FactoryDatasetJsonList { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetJsonList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonObservation) DeepCopyInto(out *FactoryDatasetJsonObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonObservation. +func (in *FactoryDatasetJsonObservation) DeepCopy() *FactoryDatasetJsonObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonParameters) DeepCopyInto(out *FactoryDatasetJsonParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AzureBlobStorageLocation != nil { + in, out := &in.AzureBlobStorageLocation, &out.AzureBlobStorageLocation + *out = make([]FactoryDatasetJsonAzureBlobStorageLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.HTTPServerLocation != nil { + in, out := &in.HTTPServerLocation, &out.HTTPServerLocation + *out = make([]FactoryDatasetJsonHTTPServerLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetJsonSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonParameters. +func (in *FactoryDatasetJsonParameters) DeepCopy() *FactoryDatasetJsonParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetJsonSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonSchemaColumnObservation. +func (in *FactoryDatasetJsonSchemaColumnObservation) DeepCopy() *FactoryDatasetJsonSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetJsonSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonSchemaColumnParameters. +func (in *FactoryDatasetJsonSchemaColumnParameters) DeepCopy() *FactoryDatasetJsonSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonSpec) DeepCopyInto(out *FactoryDatasetJsonSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonSpec. +func (in *FactoryDatasetJsonSpec) DeepCopy() *FactoryDatasetJsonSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetJsonStatus) DeepCopyInto(out *FactoryDatasetJsonStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetJsonStatus. +func (in *FactoryDatasetJsonStatus) DeepCopy() *FactoryDatasetJsonStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetJsonStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysql) DeepCopyInto(out *FactoryDatasetMysql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysql. +func (in *FactoryDatasetMysql) DeepCopy() *FactoryDatasetMysql { + if in == nil { + return nil + } + out := new(FactoryDatasetMysql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetMysql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlList) DeepCopyInto(out *FactoryDatasetMysqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetMysql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlList. +func (in *FactoryDatasetMysqlList) DeepCopy() *FactoryDatasetMysqlList { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetMysqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlObservation) DeepCopyInto(out *FactoryDatasetMysqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlObservation. +func (in *FactoryDatasetMysqlObservation) DeepCopy() *FactoryDatasetMysqlObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlParameters) DeepCopyInto(out *FactoryDatasetMysqlParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetMysqlSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlParameters. +func (in *FactoryDatasetMysqlParameters) DeepCopy() *FactoryDatasetMysqlParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetMysqlSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlSchemaColumnObservation. +func (in *FactoryDatasetMysqlSchemaColumnObservation) DeepCopy() *FactoryDatasetMysqlSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetMysqlSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlSchemaColumnParameters. +func (in *FactoryDatasetMysqlSchemaColumnParameters) DeepCopy() *FactoryDatasetMysqlSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlSpec) DeepCopyInto(out *FactoryDatasetMysqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlSpec. +func (in *FactoryDatasetMysqlSpec) DeepCopy() *FactoryDatasetMysqlSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetMysqlStatus) DeepCopyInto(out *FactoryDatasetMysqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetMysqlStatus. +func (in *FactoryDatasetMysqlStatus) DeepCopy() *FactoryDatasetMysqlStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetMysqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquet) DeepCopyInto(out *FactoryDatasetParquet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquet. +func (in *FactoryDatasetParquet) DeepCopy() *FactoryDatasetParquet { + if in == nil { + return nil + } + out := new(FactoryDatasetParquet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetParquet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetAzureBlobStorageLocationObservation) DeepCopyInto(out *FactoryDatasetParquetAzureBlobStorageLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetAzureBlobStorageLocationObservation. +func (in *FactoryDatasetParquetAzureBlobStorageLocationObservation) DeepCopy() *FactoryDatasetParquetAzureBlobStorageLocationObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetAzureBlobStorageLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetAzureBlobStorageLocationParameters) DeepCopyInto(out *FactoryDatasetParquetAzureBlobStorageLocationParameters) { + *out = *in + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = new(string) + **out = **in + } + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetAzureBlobStorageLocationParameters. +func (in *FactoryDatasetParquetAzureBlobStorageLocationParameters) DeepCopy() *FactoryDatasetParquetAzureBlobStorageLocationParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetAzureBlobStorageLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetHTTPServerLocationObservation) DeepCopyInto(out *FactoryDatasetParquetHTTPServerLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetHTTPServerLocationObservation. +func (in *FactoryDatasetParquetHTTPServerLocationObservation) DeepCopy() *FactoryDatasetParquetHTTPServerLocationObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetHTTPServerLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetHTTPServerLocationParameters) DeepCopyInto(out *FactoryDatasetParquetHTTPServerLocationParameters) { + *out = *in + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.RelativeURL != nil { + in, out := &in.RelativeURL, &out.RelativeURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetHTTPServerLocationParameters. +func (in *FactoryDatasetParquetHTTPServerLocationParameters) DeepCopy() *FactoryDatasetParquetHTTPServerLocationParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetHTTPServerLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetList) DeepCopyInto(out *FactoryDatasetParquetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetParquet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetList. +func (in *FactoryDatasetParquetList) DeepCopy() *FactoryDatasetParquetList { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetParquetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetObservation) DeepCopyInto(out *FactoryDatasetParquetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetObservation. +func (in *FactoryDatasetParquetObservation) DeepCopy() *FactoryDatasetParquetObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetParameters) DeepCopyInto(out *FactoryDatasetParquetParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AzureBlobStorageLocation != nil { + in, out := &in.AzureBlobStorageLocation, &out.AzureBlobStorageLocation + *out = make([]FactoryDatasetParquetAzureBlobStorageLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CompressionCodec != nil { + in, out := &in.CompressionCodec, &out.CompressionCodec + *out = new(string) + **out = **in + } + if in.CompressionLevel != nil { + in, out := &in.CompressionLevel, &out.CompressionLevel + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.HTTPServerLocation != nil { + in, out := &in.HTTPServerLocation, &out.HTTPServerLocation + *out = make([]FactoryDatasetParquetHTTPServerLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetParquetSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetParameters. +func (in *FactoryDatasetParquetParameters) DeepCopy() *FactoryDatasetParquetParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetParquetSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetSchemaColumnObservation. +func (in *FactoryDatasetParquetSchemaColumnObservation) DeepCopy() *FactoryDatasetParquetSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetParquetSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetSchemaColumnParameters. +func (in *FactoryDatasetParquetSchemaColumnParameters) DeepCopy() *FactoryDatasetParquetSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetSpec) DeepCopyInto(out *FactoryDatasetParquetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetSpec. +func (in *FactoryDatasetParquetSpec) DeepCopy() *FactoryDatasetParquetSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetParquetStatus) DeepCopyInto(out *FactoryDatasetParquetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetParquetStatus. +func (in *FactoryDatasetParquetStatus) DeepCopy() *FactoryDatasetParquetStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetParquetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresql) DeepCopyInto(out *FactoryDatasetPostgresql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresql. +func (in *FactoryDatasetPostgresql) DeepCopy() *FactoryDatasetPostgresql { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetPostgresql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlList) DeepCopyInto(out *FactoryDatasetPostgresqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetPostgresql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlList. +func (in *FactoryDatasetPostgresqlList) DeepCopy() *FactoryDatasetPostgresqlList { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetPostgresqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlObservation) DeepCopyInto(out *FactoryDatasetPostgresqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlObservation. +func (in *FactoryDatasetPostgresqlObservation) DeepCopy() *FactoryDatasetPostgresqlObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlParameters) DeepCopyInto(out *FactoryDatasetPostgresqlParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetPostgresqlSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlParameters. +func (in *FactoryDatasetPostgresqlParameters) DeepCopy() *FactoryDatasetPostgresqlParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetPostgresqlSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlSchemaColumnObservation. +func (in *FactoryDatasetPostgresqlSchemaColumnObservation) DeepCopy() *FactoryDatasetPostgresqlSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetPostgresqlSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlSchemaColumnParameters. +func (in *FactoryDatasetPostgresqlSchemaColumnParameters) DeepCopy() *FactoryDatasetPostgresqlSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlSpec) DeepCopyInto(out *FactoryDatasetPostgresqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlSpec. +func (in *FactoryDatasetPostgresqlSpec) DeepCopy() *FactoryDatasetPostgresqlSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetPostgresqlStatus) DeepCopyInto(out *FactoryDatasetPostgresqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetPostgresqlStatus. +func (in *FactoryDatasetPostgresqlStatus) DeepCopy() *FactoryDatasetPostgresqlStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetPostgresqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflake) DeepCopyInto(out *FactoryDatasetSnowflake) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflake. +func (in *FactoryDatasetSnowflake) DeepCopy() *FactoryDatasetSnowflake { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflake) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetSnowflake) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeList) DeepCopyInto(out *FactoryDatasetSnowflakeList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetSnowflake, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeList. +func (in *FactoryDatasetSnowflakeList) DeepCopy() *FactoryDatasetSnowflakeList { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetSnowflakeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeObservation) DeepCopyInto(out *FactoryDatasetSnowflakeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeObservation. +func (in *FactoryDatasetSnowflakeObservation) DeepCopy() *FactoryDatasetSnowflakeObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeParameters) DeepCopyInto(out *FactoryDatasetSnowflakeParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetSnowflakeSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SchemaName != nil { + in, out := &in.SchemaName, &out.SchemaName + *out = new(string) + **out = **in + } + if in.StructureColumn != nil { + in, out := &in.StructureColumn, &out.StructureColumn + *out = make([]StructureColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeParameters. +func (in *FactoryDatasetSnowflakeParameters) DeepCopy() *FactoryDatasetSnowflakeParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetSnowflakeSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeSchemaColumnObservation. +func (in *FactoryDatasetSnowflakeSchemaColumnObservation) DeepCopy() *FactoryDatasetSnowflakeSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetSnowflakeSchemaColumnParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Precision != nil { + in, out := &in.Precision, &out.Precision + *out = new(int64) + **out = **in + } + if in.Scale != nil { + in, out := &in.Scale, &out.Scale + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeSchemaColumnParameters. +func (in *FactoryDatasetSnowflakeSchemaColumnParameters) DeepCopy() *FactoryDatasetSnowflakeSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeSpec) DeepCopyInto(out *FactoryDatasetSnowflakeSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeSpec. +func (in *FactoryDatasetSnowflakeSpec) DeepCopy() *FactoryDatasetSnowflakeSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSnowflakeStatus) DeepCopyInto(out *FactoryDatasetSnowflakeStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSnowflakeStatus. +func (in *FactoryDatasetSnowflakeStatus) DeepCopy() *FactoryDatasetSnowflakeStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetSnowflakeStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTable) DeepCopyInto(out *FactoryDatasetSqlServerTable) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTable. +func (in *FactoryDatasetSqlServerTable) DeepCopy() *FactoryDatasetSqlServerTable { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTable) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetSqlServerTable) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableList) DeepCopyInto(out *FactoryDatasetSqlServerTableList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryDatasetSqlServerTable, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableList. +func (in *FactoryDatasetSqlServerTableList) DeepCopy() *FactoryDatasetSqlServerTableList { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryDatasetSqlServerTableList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableObservation) DeepCopyInto(out *FactoryDatasetSqlServerTableObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableObservation. +func (in *FactoryDatasetSqlServerTableObservation) DeepCopy() *FactoryDatasetSqlServerTableObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableParameters) DeepCopyInto(out *FactoryDatasetSqlServerTableParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SchemaColumn != nil { + in, out := &in.SchemaColumn, &out.SchemaColumn + *out = make([]FactoryDatasetSqlServerTableSchemaColumnParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableParameters. +func (in *FactoryDatasetSqlServerTableParameters) DeepCopy() *FactoryDatasetSqlServerTableParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableSchemaColumnObservation) DeepCopyInto(out *FactoryDatasetSqlServerTableSchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableSchemaColumnObservation. +func (in *FactoryDatasetSqlServerTableSchemaColumnObservation) DeepCopy() *FactoryDatasetSqlServerTableSchemaColumnObservation { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableSchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableSchemaColumnParameters) DeepCopyInto(out *FactoryDatasetSqlServerTableSchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableSchemaColumnParameters. +func (in *FactoryDatasetSqlServerTableSchemaColumnParameters) DeepCopy() *FactoryDatasetSqlServerTableSchemaColumnParameters { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableSchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableSpec) DeepCopyInto(out *FactoryDatasetSqlServerTableSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableSpec. +func (in *FactoryDatasetSqlServerTableSpec) DeepCopy() *FactoryDatasetSqlServerTableSpec { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryDatasetSqlServerTableStatus) DeepCopyInto(out *FactoryDatasetSqlServerTableStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryDatasetSqlServerTableStatus. +func (in *FactoryDatasetSqlServerTableStatus) DeepCopy() *FactoryDatasetSqlServerTableStatus { + if in == nil { + return nil + } + out := new(FactoryDatasetSqlServerTableStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzure) DeepCopyInto(out *FactoryIntegrationRuntimeAzure) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzure. +func (in *FactoryIntegrationRuntimeAzure) DeepCopy() *FactoryIntegrationRuntimeAzure { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzure) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeAzure) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureList) DeepCopyInto(out *FactoryIntegrationRuntimeAzureList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryIntegrationRuntimeAzure, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureList. +func (in *FactoryIntegrationRuntimeAzureList) DeepCopy() *FactoryIntegrationRuntimeAzureList { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeAzureList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureObservation) DeepCopyInto(out *FactoryIntegrationRuntimeAzureObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureObservation. +func (in *FactoryIntegrationRuntimeAzureObservation) DeepCopy() *FactoryIntegrationRuntimeAzureObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureParameters) DeepCopyInto(out *FactoryIntegrationRuntimeAzureParameters) { + *out = *in + if in.CleanupEnabled != nil { + in, out := &in.CleanupEnabled, &out.CleanupEnabled + *out = new(bool) + **out = **in + } + if in.ComputeType != nil { + in, out := &in.ComputeType, &out.ComputeType + *out = new(string) + **out = **in + } + if in.CoreCount != nil { + in, out := &in.CoreCount, &out.CoreCount + *out = new(int64) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TimeToLiveMin != nil { + in, out := &in.TimeToLiveMin, &out.TimeToLiveMin + *out = new(int64) + **out = **in + } + if in.VirtualNetworkEnabled != nil { + in, out := &in.VirtualNetworkEnabled, &out.VirtualNetworkEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureParameters. +func (in *FactoryIntegrationRuntimeAzureParameters) DeepCopy() *FactoryIntegrationRuntimeAzureParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSpec) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSpec. +func (in *FactoryIntegrationRuntimeAzureSpec) DeepCopy() *FactoryIntegrationRuntimeAzureSpec { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSsis) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSsis) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSsis. +func (in *FactoryIntegrationRuntimeAzureSsis) DeepCopy() *FactoryIntegrationRuntimeAzureSsis { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSsis) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeAzureSsis) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSsisList) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSsisList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryIntegrationRuntimeAzureSsis, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSsisList. +func (in *FactoryIntegrationRuntimeAzureSsisList) DeepCopy() *FactoryIntegrationRuntimeAzureSsisList { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSsisList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeAzureSsisList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSsisObservation) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSsisObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSsisObservation. +func (in *FactoryIntegrationRuntimeAzureSsisObservation) DeepCopy() *FactoryIntegrationRuntimeAzureSsisObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSsisObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSsisParameters) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSsisParameters) { + *out = *in + if in.CatalogInfo != nil { + in, out := &in.CatalogInfo, &out.CatalogInfo + *out = make([]CatalogInfoParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSetupScript != nil { + in, out := &in.CustomSetupScript, &out.CustomSetupScript + *out = make([]CustomSetupScriptParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Edition != nil { + in, out := &in.Edition, &out.Edition + *out = new(string) + **out = **in + } + if in.ExpressCustomSetup != nil { + in, out := &in.ExpressCustomSetup, &out.ExpressCustomSetup + *out = make([]ExpressCustomSetupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxParallelExecutionsPerNode != nil { + in, out := &in.MaxParallelExecutionsPerNode, &out.MaxParallelExecutionsPerNode + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NodeSize != nil { + in, out := &in.NodeSize, &out.NodeSize + *out = new(string) + **out = **in + } + if in.NumberOfNodes != nil { + in, out := &in.NumberOfNodes, &out.NumberOfNodes + *out = new(int64) + **out = **in + } + if in.PackageStore != nil { + in, out := &in.PackageStore, &out.PackageStore + *out = make([]PackageStoreParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Proxy != nil { + in, out := &in.Proxy, &out.Proxy + *out = make([]ProxyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.VnetIntegration != nil { + in, out := &in.VnetIntegration, &out.VnetIntegration + *out = make([]VnetIntegrationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSsisParameters. +func (in *FactoryIntegrationRuntimeAzureSsisParameters) DeepCopy() *FactoryIntegrationRuntimeAzureSsisParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSsisParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSsisSpec) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSsisSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSsisSpec. +func (in *FactoryIntegrationRuntimeAzureSsisSpec) DeepCopy() *FactoryIntegrationRuntimeAzureSsisSpec { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSsisSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureSsisStatus) DeepCopyInto(out *FactoryIntegrationRuntimeAzureSsisStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureSsisStatus. +func (in *FactoryIntegrationRuntimeAzureSsisStatus) DeepCopy() *FactoryIntegrationRuntimeAzureSsisStatus { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureSsisStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeAzureStatus) DeepCopyInto(out *FactoryIntegrationRuntimeAzureStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeAzureStatus. +func (in *FactoryIntegrationRuntimeAzureStatus) DeepCopy() *FactoryIntegrationRuntimeAzureStatus { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeAzureStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManaged) DeepCopyInto(out *FactoryIntegrationRuntimeManaged) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManaged. +func (in *FactoryIntegrationRuntimeManaged) DeepCopy() *FactoryIntegrationRuntimeManaged { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManaged) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeManaged) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedCatalogInfoObservation) DeepCopyInto(out *FactoryIntegrationRuntimeManagedCatalogInfoObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedCatalogInfoObservation. +func (in *FactoryIntegrationRuntimeManagedCatalogInfoObservation) DeepCopy() *FactoryIntegrationRuntimeManagedCatalogInfoObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedCatalogInfoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedCatalogInfoParameters) DeepCopyInto(out *FactoryIntegrationRuntimeManagedCatalogInfoParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorPasswordSecretRef != nil { + in, out := &in.AdministratorPasswordSecretRef, &out.AdministratorPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.PricingTier != nil { + in, out := &in.PricingTier, &out.PricingTier + *out = new(string) + **out = **in + } + if in.ServerEndpoint != nil { + in, out := &in.ServerEndpoint, &out.ServerEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedCatalogInfoParameters. +func (in *FactoryIntegrationRuntimeManagedCatalogInfoParameters) DeepCopy() *FactoryIntegrationRuntimeManagedCatalogInfoParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedCatalogInfoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedCustomSetupScriptObservation) DeepCopyInto(out *FactoryIntegrationRuntimeManagedCustomSetupScriptObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedCustomSetupScriptObservation. +func (in *FactoryIntegrationRuntimeManagedCustomSetupScriptObservation) DeepCopy() *FactoryIntegrationRuntimeManagedCustomSetupScriptObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedCustomSetupScriptObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedCustomSetupScriptParameters) DeepCopyInto(out *FactoryIntegrationRuntimeManagedCustomSetupScriptParameters) { + *out = *in + if in.BlobContainerURI != nil { + in, out := &in.BlobContainerURI, &out.BlobContainerURI + *out = new(string) + **out = **in + } + out.SasTokenSecretRef = in.SasTokenSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedCustomSetupScriptParameters. +func (in *FactoryIntegrationRuntimeManagedCustomSetupScriptParameters) DeepCopy() *FactoryIntegrationRuntimeManagedCustomSetupScriptParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedCustomSetupScriptParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedList) DeepCopyInto(out *FactoryIntegrationRuntimeManagedList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryIntegrationRuntimeManaged, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedList. +func (in *FactoryIntegrationRuntimeManagedList) DeepCopy() *FactoryIntegrationRuntimeManagedList { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeManagedList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedObservation) DeepCopyInto(out *FactoryIntegrationRuntimeManagedObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedObservation. +func (in *FactoryIntegrationRuntimeManagedObservation) DeepCopy() *FactoryIntegrationRuntimeManagedObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedParameters) DeepCopyInto(out *FactoryIntegrationRuntimeManagedParameters) { + *out = *in + if in.CatalogInfo != nil { + in, out := &in.CatalogInfo, &out.CatalogInfo + *out = make([]FactoryIntegrationRuntimeManagedCatalogInfoParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomSetupScript != nil { + in, out := &in.CustomSetupScript, &out.CustomSetupScript + *out = make([]FactoryIntegrationRuntimeManagedCustomSetupScriptParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Edition != nil { + in, out := &in.Edition, &out.Edition + *out = new(string) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxParallelExecutionsPerNode != nil { + in, out := &in.MaxParallelExecutionsPerNode, &out.MaxParallelExecutionsPerNode + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NodeSize != nil { + in, out := &in.NodeSize, &out.NodeSize + *out = new(string) + **out = **in + } + if in.NumberOfNodes != nil { + in, out := &in.NumberOfNodes, &out.NumberOfNodes + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.VnetIntegration != nil { + in, out := &in.VnetIntegration, &out.VnetIntegration + *out = make([]FactoryIntegrationRuntimeManagedVnetIntegrationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedParameters. +func (in *FactoryIntegrationRuntimeManagedParameters) DeepCopy() *FactoryIntegrationRuntimeManagedParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedSpec) DeepCopyInto(out *FactoryIntegrationRuntimeManagedSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedSpec. +func (in *FactoryIntegrationRuntimeManagedSpec) DeepCopy() *FactoryIntegrationRuntimeManagedSpec { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedStatus) DeepCopyInto(out *FactoryIntegrationRuntimeManagedStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedStatus. +func (in *FactoryIntegrationRuntimeManagedStatus) DeepCopy() *FactoryIntegrationRuntimeManagedStatus { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedVnetIntegrationObservation) DeepCopyInto(out *FactoryIntegrationRuntimeManagedVnetIntegrationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedVnetIntegrationObservation. +func (in *FactoryIntegrationRuntimeManagedVnetIntegrationObservation) DeepCopy() *FactoryIntegrationRuntimeManagedVnetIntegrationObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedVnetIntegrationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeManagedVnetIntegrationParameters) DeepCopyInto(out *FactoryIntegrationRuntimeManagedVnetIntegrationParameters) { + *out = *in + if in.SubnetName != nil { + in, out := &in.SubnetName, &out.SubnetName + *out = new(string) + **out = **in + } + if in.VnetID != nil { + in, out := &in.VnetID, &out.VnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeManagedVnetIntegrationParameters. +func (in *FactoryIntegrationRuntimeManagedVnetIntegrationParameters) DeepCopy() *FactoryIntegrationRuntimeManagedVnetIntegrationParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeManagedVnetIntegrationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeSelfHosted) DeepCopyInto(out *FactoryIntegrationRuntimeSelfHosted) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeSelfHosted. +func (in *FactoryIntegrationRuntimeSelfHosted) DeepCopy() *FactoryIntegrationRuntimeSelfHosted { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeSelfHosted) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeSelfHosted) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeSelfHostedList) DeepCopyInto(out *FactoryIntegrationRuntimeSelfHostedList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryIntegrationRuntimeSelfHosted, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeSelfHostedList. +func (in *FactoryIntegrationRuntimeSelfHostedList) DeepCopy() *FactoryIntegrationRuntimeSelfHostedList { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeSelfHostedList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryIntegrationRuntimeSelfHostedList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeSelfHostedObservation) DeepCopyInto(out *FactoryIntegrationRuntimeSelfHostedObservation) { + *out = *in + if in.AuthKey1 != nil { + in, out := &in.AuthKey1, &out.AuthKey1 + *out = new(string) + **out = **in + } + if in.AuthKey2 != nil { + in, out := &in.AuthKey2, &out.AuthKey2 + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeSelfHostedObservation. +func (in *FactoryIntegrationRuntimeSelfHostedObservation) DeepCopy() *FactoryIntegrationRuntimeSelfHostedObservation { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeSelfHostedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeSelfHostedParameters) DeepCopyInto(out *FactoryIntegrationRuntimeSelfHostedParameters) { + *out = *in + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RbacAuthorization != nil { + in, out := &in.RbacAuthorization, &out.RbacAuthorization + *out = make([]RbacAuthorizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeSelfHostedParameters. +func (in *FactoryIntegrationRuntimeSelfHostedParameters) DeepCopy() *FactoryIntegrationRuntimeSelfHostedParameters { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeSelfHostedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeSelfHostedSpec) DeepCopyInto(out *FactoryIntegrationRuntimeSelfHostedSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeSelfHostedSpec. +func (in *FactoryIntegrationRuntimeSelfHostedSpec) DeepCopy() *FactoryIntegrationRuntimeSelfHostedSpec { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeSelfHostedSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryIntegrationRuntimeSelfHostedStatus) DeepCopyInto(out *FactoryIntegrationRuntimeSelfHostedStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryIntegrationRuntimeSelfHostedStatus. +func (in *FactoryIntegrationRuntimeSelfHostedStatus) DeepCopy() *FactoryIntegrationRuntimeSelfHostedStatus { + if in == nil { + return nil + } + out := new(FactoryIntegrationRuntimeSelfHostedStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedCustomService) DeepCopyInto(out *FactoryLinkedCustomService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedCustomService. +func (in *FactoryLinkedCustomService) DeepCopy() *FactoryLinkedCustomService { + if in == nil { + return nil + } + out := new(FactoryLinkedCustomService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedCustomService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedCustomServiceList) DeepCopyInto(out *FactoryLinkedCustomServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedCustomService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedCustomServiceList. +func (in *FactoryLinkedCustomServiceList) DeepCopy() *FactoryLinkedCustomServiceList { + if in == nil { + return nil + } + out := new(FactoryLinkedCustomServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedCustomServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedCustomServiceObservation) DeepCopyInto(out *FactoryLinkedCustomServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedCustomServiceObservation. +func (in *FactoryLinkedCustomServiceObservation) DeepCopy() *FactoryLinkedCustomServiceObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedCustomServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedCustomServiceParameters) DeepCopyInto(out *FactoryLinkedCustomServiceParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntime != nil { + in, out := &in.IntegrationRuntime, &out.IntegrationRuntime + *out = make([]IntegrationRuntimeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.TypePropertiesJSON != nil { + in, out := &in.TypePropertiesJSON, &out.TypePropertiesJSON + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedCustomServiceParameters. +func (in *FactoryLinkedCustomServiceParameters) DeepCopy() *FactoryLinkedCustomServiceParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedCustomServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedCustomServiceSpec) DeepCopyInto(out *FactoryLinkedCustomServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedCustomServiceSpec. +func (in *FactoryLinkedCustomServiceSpec) DeepCopy() *FactoryLinkedCustomServiceSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedCustomServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedCustomServiceStatus) DeepCopyInto(out *FactoryLinkedCustomServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedCustomServiceStatus. +func (in *FactoryLinkedCustomServiceStatus) DeepCopy() *FactoryLinkedCustomServiceStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedCustomServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureBlobStorage) DeepCopyInto(out *FactoryLinkedServiceAzureBlobStorage) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureBlobStorage. +func (in *FactoryLinkedServiceAzureBlobStorage) DeepCopy() *FactoryLinkedServiceAzureBlobStorage { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureBlobStorage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureBlobStorage) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureBlobStorageList) DeepCopyInto(out *FactoryLinkedServiceAzureBlobStorageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureBlobStorage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureBlobStorageList. +func (in *FactoryLinkedServiceAzureBlobStorageList) DeepCopy() *FactoryLinkedServiceAzureBlobStorageList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureBlobStorageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureBlobStorageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureBlobStorageObservation) DeepCopyInto(out *FactoryLinkedServiceAzureBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureBlobStorageObservation. +func (in *FactoryLinkedServiceAzureBlobStorageObservation) DeepCopy() *FactoryLinkedServiceAzureBlobStorageObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureBlobStorageParameters) DeepCopyInto(out *FactoryLinkedServiceAzureBlobStorageParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionStringSecretRef != nil { + in, out := &in.ConnectionStringSecretRef, &out.ConnectionStringSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultSasToken != nil { + in, out := &in.KeyVaultSasToken, &out.KeyVaultSasToken + *out = make([]KeyVaultSasTokenParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SasURISecretRef != nil { + in, out := &in.SasURISecretRef, &out.SasURISecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ServiceEndpointSecretRef != nil { + in, out := &in.ServiceEndpointSecretRef, &out.ServiceEndpointSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ServicePrincipalID != nil { + in, out := &in.ServicePrincipalID, &out.ServicePrincipalID + *out = new(string) + **out = **in + } + if in.ServicePrincipalKey != nil { + in, out := &in.ServicePrincipalKey, &out.ServicePrincipalKey + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } + if in.UseManagedIdentity != nil { + in, out := &in.UseManagedIdentity, &out.UseManagedIdentity + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureBlobStorageParameters. +func (in *FactoryLinkedServiceAzureBlobStorageParameters) DeepCopy() *FactoryLinkedServiceAzureBlobStorageParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureBlobStorageSpec) DeepCopyInto(out *FactoryLinkedServiceAzureBlobStorageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureBlobStorageSpec. +func (in *FactoryLinkedServiceAzureBlobStorageSpec) DeepCopy() *FactoryLinkedServiceAzureBlobStorageSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureBlobStorageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureBlobStorageStatus) DeepCopyInto(out *FactoryLinkedServiceAzureBlobStorageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureBlobStorageStatus. +func (in *FactoryLinkedServiceAzureBlobStorageStatus) DeepCopy() *FactoryLinkedServiceAzureBlobStorageStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureBlobStorageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricks) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricks) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricks. +func (in *FactoryLinkedServiceAzureDatabricks) DeepCopy() *FactoryLinkedServiceAzureDatabricks { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricks) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureDatabricks) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation. +func (in *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation) DeepCopy() *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksKeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters. +func (in *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters) DeepCopy() *FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksList) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureDatabricks, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksList. +func (in *FactoryLinkedServiceAzureDatabricksList) DeepCopy() *FactoryLinkedServiceAzureDatabricksList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureDatabricksList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksObservation) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksObservation. +func (in *FactoryLinkedServiceAzureDatabricksObservation) DeepCopy() *FactoryLinkedServiceAzureDatabricksObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksParameters) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksParameters) { + *out = *in + if in.AccessTokenSecretRef != nil { + in, out := &in.AccessTokenSecretRef, &out.AccessTokenSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AdbDomain != nil { + in, out := &in.AdbDomain, &out.AdbDomain + *out = new(string) + **out = **in + } + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.ExistingClusterID != nil { + in, out := &in.ExistingClusterID, &out.ExistingClusterID + *out = new(string) + **out = **in + } + if in.InstancePool != nil { + in, out := &in.InstancePool, &out.InstancePool + *out = make([]InstancePoolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]FactoryLinkedServiceAzureDatabricksKeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MsiWorkSpaceResourceID != nil { + in, out := &in.MsiWorkSpaceResourceID, &out.MsiWorkSpaceResourceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NewClusterConfig != nil { + in, out := &in.NewClusterConfig, &out.NewClusterConfig + *out = make([]NewClusterConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksParameters. +func (in *FactoryLinkedServiceAzureDatabricksParameters) DeepCopy() *FactoryLinkedServiceAzureDatabricksParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksSpec) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksSpec. +func (in *FactoryLinkedServiceAzureDatabricksSpec) DeepCopy() *FactoryLinkedServiceAzureDatabricksSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureDatabricksStatus) DeepCopyInto(out *FactoryLinkedServiceAzureDatabricksStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureDatabricksStatus. +func (in *FactoryLinkedServiceAzureDatabricksStatus) DeepCopy() *FactoryLinkedServiceAzureDatabricksStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureDatabricksStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorage) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorage) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorage. +func (in *FactoryLinkedServiceAzureFileStorage) DeepCopy() *FactoryLinkedServiceAzureFileStorage { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureFileStorage) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation. +func (in *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation) DeepCopy() *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageKeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters. +func (in *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters) DeepCopy() *FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageList) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureFileStorage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageList. +func (in *FactoryLinkedServiceAzureFileStorageList) DeepCopy() *FactoryLinkedServiceAzureFileStorageList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureFileStorageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageObservation) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageObservation. +func (in *FactoryLinkedServiceAzureFileStorageObservation) DeepCopy() *FactoryLinkedServiceAzureFileStorageObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageParameters) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + out.ConnectionStringSecretRef = in.ConnectionStringSecretRef + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FileShare != nil { + in, out := &in.FileShare, &out.FileShare + *out = new(string) + **out = **in + } + if in.Host != nil { + in, out := &in.Host, &out.Host + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]FactoryLinkedServiceAzureFileStorageKeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.UserID != nil { + in, out := &in.UserID, &out.UserID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageParameters. +func (in *FactoryLinkedServiceAzureFileStorageParameters) DeepCopy() *FactoryLinkedServiceAzureFileStorageParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageSpec) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageSpec. +func (in *FactoryLinkedServiceAzureFileStorageSpec) DeepCopy() *FactoryLinkedServiceAzureFileStorageSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFileStorageStatus) DeepCopyInto(out *FactoryLinkedServiceAzureFileStorageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFileStorageStatus. +func (in *FactoryLinkedServiceAzureFileStorageStatus) DeepCopy() *FactoryLinkedServiceAzureFileStorageStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFileStorageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFunction) DeepCopyInto(out *FactoryLinkedServiceAzureFunction) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFunction. +func (in *FactoryLinkedServiceAzureFunction) DeepCopy() *FactoryLinkedServiceAzureFunction { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFunction) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureFunction) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFunctionList) DeepCopyInto(out *FactoryLinkedServiceAzureFunctionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureFunction, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFunctionList. +func (in *FactoryLinkedServiceAzureFunctionList) DeepCopy() *FactoryLinkedServiceAzureFunctionList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFunctionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureFunctionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFunctionObservation) DeepCopyInto(out *FactoryLinkedServiceAzureFunctionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFunctionObservation. +func (in *FactoryLinkedServiceAzureFunctionObservation) DeepCopy() *FactoryLinkedServiceAzureFunctionObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFunctionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFunctionParameters) DeepCopyInto(out *FactoryLinkedServiceAzureFunctionParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeySecretRef != nil { + in, out := &in.KeySecretRef, &out.KeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.KeyVaultKey != nil { + in, out := &in.KeyVaultKey, &out.KeyVaultKey + *out = make([]KeyVaultKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFunctionParameters. +func (in *FactoryLinkedServiceAzureFunctionParameters) DeepCopy() *FactoryLinkedServiceAzureFunctionParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFunctionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFunctionSpec) DeepCopyInto(out *FactoryLinkedServiceAzureFunctionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFunctionSpec. +func (in *FactoryLinkedServiceAzureFunctionSpec) DeepCopy() *FactoryLinkedServiceAzureFunctionSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFunctionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureFunctionStatus) DeepCopyInto(out *FactoryLinkedServiceAzureFunctionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureFunctionStatus. +func (in *FactoryLinkedServiceAzureFunctionStatus) DeepCopy() *FactoryLinkedServiceAzureFunctionStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureFunctionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSearch) DeepCopyInto(out *FactoryLinkedServiceAzureSearch) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSearch. +func (in *FactoryLinkedServiceAzureSearch) DeepCopy() *FactoryLinkedServiceAzureSearch { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSearch) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureSearch) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSearchList) DeepCopyInto(out *FactoryLinkedServiceAzureSearchList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureSearch, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSearchList. +func (in *FactoryLinkedServiceAzureSearchList) DeepCopy() *FactoryLinkedServiceAzureSearchList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSearchList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureSearchList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSearchObservation) DeepCopyInto(out *FactoryLinkedServiceAzureSearchObservation) { + *out = *in + if in.EncryptedCredential != nil { + in, out := &in.EncryptedCredential, &out.EncryptedCredential + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSearchObservation. +func (in *FactoryLinkedServiceAzureSearchObservation) DeepCopy() *FactoryLinkedServiceAzureSearchObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSearchObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSearchParameters) DeepCopyInto(out *FactoryLinkedServiceAzureSearchParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.SearchServiceKey != nil { + in, out := &in.SearchServiceKey, &out.SearchServiceKey + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSearchParameters. +func (in *FactoryLinkedServiceAzureSearchParameters) DeepCopy() *FactoryLinkedServiceAzureSearchParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSearchParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSearchSpec) DeepCopyInto(out *FactoryLinkedServiceAzureSearchSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSearchSpec. +func (in *FactoryLinkedServiceAzureSearchSpec) DeepCopy() *FactoryLinkedServiceAzureSearchSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSearchSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSearchStatus) DeepCopyInto(out *FactoryLinkedServiceAzureSearchStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSearchStatus. +func (in *FactoryLinkedServiceAzureSearchStatus) DeepCopy() *FactoryLinkedServiceAzureSearchStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSearchStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabase) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabase) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabase. +func (in *FactoryLinkedServiceAzureSqlDatabase) DeepCopy() *FactoryLinkedServiceAzureSqlDatabase { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabase) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureSqlDatabase) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation. +func (in *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters. +func (in *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseList) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureSqlDatabase, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseList. +func (in *FactoryLinkedServiceAzureSqlDatabaseList) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureSqlDatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseObservation) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseObservation. +func (in *FactoryLinkedServiceAzureSqlDatabaseObservation) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseParameters) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultConnectionString != nil { + in, out := &in.KeyVaultConnectionString, &out.KeyVaultConnectionString + *out = make([]KeyVaultConnectionStringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]FactoryLinkedServiceAzureSqlDatabaseKeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServicePrincipalID != nil { + in, out := &in.ServicePrincipalID, &out.ServicePrincipalID + *out = new(string) + **out = **in + } + if in.ServicePrincipalKey != nil { + in, out := &in.ServicePrincipalKey, &out.ServicePrincipalKey + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } + if in.UseManagedIdentity != nil { + in, out := &in.UseManagedIdentity, &out.UseManagedIdentity + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseParameters. +func (in *FactoryLinkedServiceAzureSqlDatabaseParameters) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseSpec) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseSpec. +func (in *FactoryLinkedServiceAzureSqlDatabaseSpec) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureSqlDatabaseStatus) DeepCopyInto(out *FactoryLinkedServiceAzureSqlDatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureSqlDatabaseStatus. +func (in *FactoryLinkedServiceAzureSqlDatabaseStatus) DeepCopy() *FactoryLinkedServiceAzureSqlDatabaseStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureSqlDatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureTableStorage) DeepCopyInto(out *FactoryLinkedServiceAzureTableStorage) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureTableStorage. +func (in *FactoryLinkedServiceAzureTableStorage) DeepCopy() *FactoryLinkedServiceAzureTableStorage { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureTableStorage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureTableStorage) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureTableStorageList) DeepCopyInto(out *FactoryLinkedServiceAzureTableStorageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceAzureTableStorage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureTableStorageList. +func (in *FactoryLinkedServiceAzureTableStorageList) DeepCopy() *FactoryLinkedServiceAzureTableStorageList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureTableStorageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceAzureTableStorageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureTableStorageObservation) DeepCopyInto(out *FactoryLinkedServiceAzureTableStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureTableStorageObservation. +func (in *FactoryLinkedServiceAzureTableStorageObservation) DeepCopy() *FactoryLinkedServiceAzureTableStorageObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureTableStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureTableStorageParameters) DeepCopyInto(out *FactoryLinkedServiceAzureTableStorageParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + out.ConnectionStringSecretRef = in.ConnectionStringSecretRef + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureTableStorageParameters. +func (in *FactoryLinkedServiceAzureTableStorageParameters) DeepCopy() *FactoryLinkedServiceAzureTableStorageParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureTableStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureTableStorageSpec) DeepCopyInto(out *FactoryLinkedServiceAzureTableStorageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureTableStorageSpec. +func (in *FactoryLinkedServiceAzureTableStorageSpec) DeepCopy() *FactoryLinkedServiceAzureTableStorageSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureTableStorageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceAzureTableStorageStatus) DeepCopyInto(out *FactoryLinkedServiceAzureTableStorageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceAzureTableStorageStatus. +func (in *FactoryLinkedServiceAzureTableStorageStatus) DeepCopy() *FactoryLinkedServiceAzureTableStorageStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceAzureTableStorageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceCosmosdb) DeepCopyInto(out *FactoryLinkedServiceCosmosdb) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceCosmosdb. +func (in *FactoryLinkedServiceCosmosdb) DeepCopy() *FactoryLinkedServiceCosmosdb { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceCosmosdb) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceCosmosdb) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceCosmosdbList) DeepCopyInto(out *FactoryLinkedServiceCosmosdbList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceCosmosdb, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceCosmosdbList. +func (in *FactoryLinkedServiceCosmosdbList) DeepCopy() *FactoryLinkedServiceCosmosdbList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceCosmosdbList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceCosmosdbList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceCosmosdbObservation) DeepCopyInto(out *FactoryLinkedServiceCosmosdbObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceCosmosdbObservation. +func (in *FactoryLinkedServiceCosmosdbObservation) DeepCopy() *FactoryLinkedServiceCosmosdbObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceCosmosdbObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceCosmosdbParameters) DeepCopyInto(out *FactoryLinkedServiceCosmosdbParameters) { + *out = *in + if in.AccountEndpoint != nil { + in, out := &in.AccountEndpoint, &out.AccountEndpoint + *out = new(string) + **out = **in + } + if in.AccountKeySecretRef != nil { + in, out := &in.AccountKeySecretRef, &out.AccountKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionStringSecretRef != nil { + in, out := &in.ConnectionStringSecretRef, &out.ConnectionStringSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Database != nil { + in, out := &in.Database, &out.Database + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceCosmosdbParameters. +func (in *FactoryLinkedServiceCosmosdbParameters) DeepCopy() *FactoryLinkedServiceCosmosdbParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceCosmosdbParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceCosmosdbSpec) DeepCopyInto(out *FactoryLinkedServiceCosmosdbSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceCosmosdbSpec. +func (in *FactoryLinkedServiceCosmosdbSpec) DeepCopy() *FactoryLinkedServiceCosmosdbSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceCosmosdbSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceCosmosdbStatus) DeepCopyInto(out *FactoryLinkedServiceCosmosdbStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceCosmosdbStatus. +func (in *FactoryLinkedServiceCosmosdbStatus) DeepCopy() *FactoryLinkedServiceCosmosdbStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceCosmosdbStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceDataLakeStorageGen2) DeepCopyInto(out *FactoryLinkedServiceDataLakeStorageGen2) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceDataLakeStorageGen2. +func (in *FactoryLinkedServiceDataLakeStorageGen2) DeepCopy() *FactoryLinkedServiceDataLakeStorageGen2 { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceDataLakeStorageGen2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceDataLakeStorageGen2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceDataLakeStorageGen2List) DeepCopyInto(out *FactoryLinkedServiceDataLakeStorageGen2List) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceDataLakeStorageGen2, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceDataLakeStorageGen2List. +func (in *FactoryLinkedServiceDataLakeStorageGen2List) DeepCopy() *FactoryLinkedServiceDataLakeStorageGen2List { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceDataLakeStorageGen2List) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceDataLakeStorageGen2List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceDataLakeStorageGen2Observation) DeepCopyInto(out *FactoryLinkedServiceDataLakeStorageGen2Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceDataLakeStorageGen2Observation. +func (in *FactoryLinkedServiceDataLakeStorageGen2Observation) DeepCopy() *FactoryLinkedServiceDataLakeStorageGen2Observation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceDataLakeStorageGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceDataLakeStorageGen2Parameters) DeepCopyInto(out *FactoryLinkedServiceDataLakeStorageGen2Parameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServicePrincipalID != nil { + in, out := &in.ServicePrincipalID, &out.ServicePrincipalID + *out = new(string) + **out = **in + } + if in.ServicePrincipalKey != nil { + in, out := &in.ServicePrincipalKey, &out.ServicePrincipalKey + *out = new(string) + **out = **in + } + if in.StorageAccountKey != nil { + in, out := &in.StorageAccountKey, &out.StorageAccountKey + *out = new(string) + **out = **in + } + if in.Tenant != nil { + in, out := &in.Tenant, &out.Tenant + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } + if in.UseManagedIdentity != nil { + in, out := &in.UseManagedIdentity, &out.UseManagedIdentity + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceDataLakeStorageGen2Parameters. +func (in *FactoryLinkedServiceDataLakeStorageGen2Parameters) DeepCopy() *FactoryLinkedServiceDataLakeStorageGen2Parameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceDataLakeStorageGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceDataLakeStorageGen2Spec) DeepCopyInto(out *FactoryLinkedServiceDataLakeStorageGen2Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceDataLakeStorageGen2Spec. +func (in *FactoryLinkedServiceDataLakeStorageGen2Spec) DeepCopy() *FactoryLinkedServiceDataLakeStorageGen2Spec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceDataLakeStorageGen2Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceDataLakeStorageGen2Status) DeepCopyInto(out *FactoryLinkedServiceDataLakeStorageGen2Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceDataLakeStorageGen2Status. +func (in *FactoryLinkedServiceDataLakeStorageGen2Status) DeepCopy() *FactoryLinkedServiceDataLakeStorageGen2Status { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceDataLakeStorageGen2Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKeyVault) DeepCopyInto(out *FactoryLinkedServiceKeyVault) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKeyVault. +func (in *FactoryLinkedServiceKeyVault) DeepCopy() *FactoryLinkedServiceKeyVault { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKeyVault) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceKeyVault) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKeyVaultList) DeepCopyInto(out *FactoryLinkedServiceKeyVaultList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceKeyVault, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKeyVaultList. +func (in *FactoryLinkedServiceKeyVaultList) DeepCopy() *FactoryLinkedServiceKeyVaultList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKeyVaultList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceKeyVaultList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKeyVaultObservation) DeepCopyInto(out *FactoryLinkedServiceKeyVaultObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKeyVaultObservation. +func (in *FactoryLinkedServiceKeyVaultObservation) DeepCopy() *FactoryLinkedServiceKeyVaultObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKeyVaultObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKeyVaultParameters) DeepCopyInto(out *FactoryLinkedServiceKeyVaultParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKeyVaultParameters. +func (in *FactoryLinkedServiceKeyVaultParameters) DeepCopy() *FactoryLinkedServiceKeyVaultParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKeyVaultParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKeyVaultSpec) DeepCopyInto(out *FactoryLinkedServiceKeyVaultSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKeyVaultSpec. +func (in *FactoryLinkedServiceKeyVaultSpec) DeepCopy() *FactoryLinkedServiceKeyVaultSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKeyVaultSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKeyVaultStatus) DeepCopyInto(out *FactoryLinkedServiceKeyVaultStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKeyVaultStatus. +func (in *FactoryLinkedServiceKeyVaultStatus) DeepCopy() *FactoryLinkedServiceKeyVaultStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKeyVaultStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKusto) DeepCopyInto(out *FactoryLinkedServiceKusto) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKusto. +func (in *FactoryLinkedServiceKusto) DeepCopy() *FactoryLinkedServiceKusto { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKusto) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceKusto) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKustoList) DeepCopyInto(out *FactoryLinkedServiceKustoList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceKusto, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKustoList. +func (in *FactoryLinkedServiceKustoList) DeepCopy() *FactoryLinkedServiceKustoList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKustoList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceKustoList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKustoObservation) DeepCopyInto(out *FactoryLinkedServiceKustoObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKustoObservation. +func (in *FactoryLinkedServiceKustoObservation) DeepCopy() *FactoryLinkedServiceKustoObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKustoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKustoParameters) DeepCopyInto(out *FactoryLinkedServiceKustoParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KustoDatabaseName != nil { + in, out := &in.KustoDatabaseName, &out.KustoDatabaseName + *out = new(string) + **out = **in + } + if in.KustoEndpoint != nil { + in, out := &in.KustoEndpoint, &out.KustoEndpoint + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ServicePrincipalID != nil { + in, out := &in.ServicePrincipalID, &out.ServicePrincipalID + *out = new(string) + **out = **in + } + if in.ServicePrincipalKeySecretRef != nil { + in, out := &in.ServicePrincipalKeySecretRef, &out.ServicePrincipalKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.Tenant != nil { + in, out := &in.Tenant, &out.Tenant + *out = new(string) + **out = **in + } + if in.UseManagedIdentity != nil { + in, out := &in.UseManagedIdentity, &out.UseManagedIdentity + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKustoParameters. +func (in *FactoryLinkedServiceKustoParameters) DeepCopy() *FactoryLinkedServiceKustoParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKustoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKustoSpec) DeepCopyInto(out *FactoryLinkedServiceKustoSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKustoSpec. +func (in *FactoryLinkedServiceKustoSpec) DeepCopy() *FactoryLinkedServiceKustoSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKustoSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceKustoStatus) DeepCopyInto(out *FactoryLinkedServiceKustoStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceKustoStatus. +func (in *FactoryLinkedServiceKustoStatus) DeepCopy() *FactoryLinkedServiceKustoStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceKustoStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceMysql) DeepCopyInto(out *FactoryLinkedServiceMysql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceMysql. +func (in *FactoryLinkedServiceMysql) DeepCopy() *FactoryLinkedServiceMysql { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceMysql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceMysql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceMysqlList) DeepCopyInto(out *FactoryLinkedServiceMysqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceMysql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceMysqlList. +func (in *FactoryLinkedServiceMysqlList) DeepCopy() *FactoryLinkedServiceMysqlList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceMysqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceMysqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceMysqlObservation) DeepCopyInto(out *FactoryLinkedServiceMysqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceMysqlObservation. +func (in *FactoryLinkedServiceMysqlObservation) DeepCopy() *FactoryLinkedServiceMysqlObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceMysqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceMysqlParameters) DeepCopyInto(out *FactoryLinkedServiceMysqlParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceMysqlParameters. +func (in *FactoryLinkedServiceMysqlParameters) DeepCopy() *FactoryLinkedServiceMysqlParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceMysqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceMysqlSpec) DeepCopyInto(out *FactoryLinkedServiceMysqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceMysqlSpec. +func (in *FactoryLinkedServiceMysqlSpec) DeepCopy() *FactoryLinkedServiceMysqlSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceMysqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceMysqlStatus) DeepCopyInto(out *FactoryLinkedServiceMysqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceMysqlStatus. +func (in *FactoryLinkedServiceMysqlStatus) DeepCopy() *FactoryLinkedServiceMysqlStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceMysqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceOdata) DeepCopyInto(out *FactoryLinkedServiceOdata) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceOdata. +func (in *FactoryLinkedServiceOdata) DeepCopy() *FactoryLinkedServiceOdata { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceOdata) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceOdata) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceOdataList) DeepCopyInto(out *FactoryLinkedServiceOdataList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceOdata, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceOdataList. +func (in *FactoryLinkedServiceOdataList) DeepCopy() *FactoryLinkedServiceOdataList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceOdataList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceOdataList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceOdataObservation) DeepCopyInto(out *FactoryLinkedServiceOdataObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceOdataObservation. +func (in *FactoryLinkedServiceOdataObservation) DeepCopy() *FactoryLinkedServiceOdataObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceOdataObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceOdataParameters) DeepCopyInto(out *FactoryLinkedServiceOdataParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BasicAuthentication != nil { + in, out := &in.BasicAuthentication, &out.BasicAuthentication + *out = make([]BasicAuthenticationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceOdataParameters. +func (in *FactoryLinkedServiceOdataParameters) DeepCopy() *FactoryLinkedServiceOdataParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceOdataParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceOdataSpec) DeepCopyInto(out *FactoryLinkedServiceOdataSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceOdataSpec. +func (in *FactoryLinkedServiceOdataSpec) DeepCopy() *FactoryLinkedServiceOdataSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceOdataSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceOdataStatus) DeepCopyInto(out *FactoryLinkedServiceOdataStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceOdataStatus. +func (in *FactoryLinkedServiceOdataStatus) DeepCopy() *FactoryLinkedServiceOdataStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceOdataStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServicePostgresql) DeepCopyInto(out *FactoryLinkedServicePostgresql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServicePostgresql. +func (in *FactoryLinkedServicePostgresql) DeepCopy() *FactoryLinkedServicePostgresql { + if in == nil { + return nil + } + out := new(FactoryLinkedServicePostgresql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServicePostgresql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServicePostgresqlList) DeepCopyInto(out *FactoryLinkedServicePostgresqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServicePostgresql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServicePostgresqlList. +func (in *FactoryLinkedServicePostgresqlList) DeepCopy() *FactoryLinkedServicePostgresqlList { + if in == nil { + return nil + } + out := new(FactoryLinkedServicePostgresqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServicePostgresqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServicePostgresqlObservation) DeepCopyInto(out *FactoryLinkedServicePostgresqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServicePostgresqlObservation. +func (in *FactoryLinkedServicePostgresqlObservation) DeepCopy() *FactoryLinkedServicePostgresqlObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServicePostgresqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServicePostgresqlParameters) DeepCopyInto(out *FactoryLinkedServicePostgresqlParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServicePostgresqlParameters. +func (in *FactoryLinkedServicePostgresqlParameters) DeepCopy() *FactoryLinkedServicePostgresqlParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServicePostgresqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServicePostgresqlSpec) DeepCopyInto(out *FactoryLinkedServicePostgresqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServicePostgresqlSpec. +func (in *FactoryLinkedServicePostgresqlSpec) DeepCopy() *FactoryLinkedServicePostgresqlSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServicePostgresqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServicePostgresqlStatus) DeepCopyInto(out *FactoryLinkedServicePostgresqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServicePostgresqlStatus. +func (in *FactoryLinkedServicePostgresqlStatus) DeepCopy() *FactoryLinkedServicePostgresqlStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServicePostgresqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSftp) DeepCopyInto(out *FactoryLinkedServiceSftp) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSftp. +func (in *FactoryLinkedServiceSftp) DeepCopy() *FactoryLinkedServiceSftp { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSftp) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSftp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSftpList) DeepCopyInto(out *FactoryLinkedServiceSftpList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceSftp, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSftpList. +func (in *FactoryLinkedServiceSftpList) DeepCopy() *FactoryLinkedServiceSftpList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSftpList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSftpList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSftpObservation) DeepCopyInto(out *FactoryLinkedServiceSftpObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSftpObservation. +func (in *FactoryLinkedServiceSftpObservation) DeepCopy() *FactoryLinkedServiceSftpObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSftpObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSftpParameters) DeepCopyInto(out *FactoryLinkedServiceSftpParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AuthenticationType != nil { + in, out := &in.AuthenticationType, &out.AuthenticationType + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Host != nil { + in, out := &in.Host, &out.Host + *out = new(string) + **out = **in + } + if in.HostKeyFingerprint != nil { + in, out := &in.HostKeyFingerprint, &out.HostKeyFingerprint + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkipHostKeyValidation != nil { + in, out := &in.SkipHostKeyValidation, &out.SkipHostKeyValidation + *out = new(bool) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSftpParameters. +func (in *FactoryLinkedServiceSftpParameters) DeepCopy() *FactoryLinkedServiceSftpParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSftpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSftpSpec) DeepCopyInto(out *FactoryLinkedServiceSftpSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSftpSpec. +func (in *FactoryLinkedServiceSftpSpec) DeepCopy() *FactoryLinkedServiceSftpSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSftpSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSftpStatus) DeepCopyInto(out *FactoryLinkedServiceSftpStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSftpStatus. +func (in *FactoryLinkedServiceSftpStatus) DeepCopy() *FactoryLinkedServiceSftpStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSftpStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflake) DeepCopyInto(out *FactoryLinkedServiceSnowflake) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflake. +func (in *FactoryLinkedServiceSnowflake) DeepCopy() *FactoryLinkedServiceSnowflake { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflake) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSnowflake) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation) DeepCopyInto(out *FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation. +func (in *FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation) DeepCopy() *FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeKeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters) DeepCopyInto(out *FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters. +func (in *FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters) DeepCopy() *FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeList) DeepCopyInto(out *FactoryLinkedServiceSnowflakeList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceSnowflake, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeList. +func (in *FactoryLinkedServiceSnowflakeList) DeepCopy() *FactoryLinkedServiceSnowflakeList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSnowflakeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeObservation) DeepCopyInto(out *FactoryLinkedServiceSnowflakeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeObservation. +func (in *FactoryLinkedServiceSnowflakeObservation) DeepCopy() *FactoryLinkedServiceSnowflakeObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeParameters) DeepCopyInto(out *FactoryLinkedServiceSnowflakeParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]FactoryLinkedServiceSnowflakeKeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeParameters. +func (in *FactoryLinkedServiceSnowflakeParameters) DeepCopy() *FactoryLinkedServiceSnowflakeParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeSpec) DeepCopyInto(out *FactoryLinkedServiceSnowflakeSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeSpec. +func (in *FactoryLinkedServiceSnowflakeSpec) DeepCopy() *FactoryLinkedServiceSnowflakeSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSnowflakeStatus) DeepCopyInto(out *FactoryLinkedServiceSnowflakeStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSnowflakeStatus. +func (in *FactoryLinkedServiceSnowflakeStatus) DeepCopy() *FactoryLinkedServiceSnowflakeStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSnowflakeStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServer) DeepCopyInto(out *FactoryLinkedServiceSqlServer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServer. +func (in *FactoryLinkedServiceSqlServer) DeepCopy() *FactoryLinkedServiceSqlServer { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSqlServer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation) DeepCopyInto(out *FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation. +func (in *FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation) DeepCopy() *FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerKeyVaultConnectionStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters) DeepCopyInto(out *FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters. +func (in *FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters) DeepCopy() *FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerKeyVaultPasswordObservation) DeepCopyInto(out *FactoryLinkedServiceSqlServerKeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerKeyVaultPasswordObservation. +func (in *FactoryLinkedServiceSqlServerKeyVaultPasswordObservation) DeepCopy() *FactoryLinkedServiceSqlServerKeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerKeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerKeyVaultPasswordParameters) DeepCopyInto(out *FactoryLinkedServiceSqlServerKeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerKeyVaultPasswordParameters. +func (in *FactoryLinkedServiceSqlServerKeyVaultPasswordParameters) DeepCopy() *FactoryLinkedServiceSqlServerKeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerKeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerList) DeepCopyInto(out *FactoryLinkedServiceSqlServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceSqlServer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerList. +func (in *FactoryLinkedServiceSqlServerList) DeepCopy() *FactoryLinkedServiceSqlServerList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSqlServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerObservation) DeepCopyInto(out *FactoryLinkedServiceSqlServerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerObservation. +func (in *FactoryLinkedServiceSqlServerObservation) DeepCopy() *FactoryLinkedServiceSqlServerObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerParameters) DeepCopyInto(out *FactoryLinkedServiceSqlServerParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultConnectionString != nil { + in, out := &in.KeyVaultConnectionString, &out.KeyVaultConnectionString + *out = make([]FactoryLinkedServiceSqlServerKeyVaultConnectionStringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]FactoryLinkedServiceSqlServerKeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerParameters. +func (in *FactoryLinkedServiceSqlServerParameters) DeepCopy() *FactoryLinkedServiceSqlServerParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerSpec) DeepCopyInto(out *FactoryLinkedServiceSqlServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerSpec. +func (in *FactoryLinkedServiceSqlServerSpec) DeepCopy() *FactoryLinkedServiceSqlServerSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSqlServerStatus) DeepCopyInto(out *FactoryLinkedServiceSqlServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSqlServerStatus. +func (in *FactoryLinkedServiceSqlServerStatus) DeepCopy() *FactoryLinkedServiceSqlServerStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSqlServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapse) DeepCopyInto(out *FactoryLinkedServiceSynapse) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapse. +func (in *FactoryLinkedServiceSynapse) DeepCopy() *FactoryLinkedServiceSynapse { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapse) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSynapse) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseKeyVaultPasswordObservation) DeepCopyInto(out *FactoryLinkedServiceSynapseKeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseKeyVaultPasswordObservation. +func (in *FactoryLinkedServiceSynapseKeyVaultPasswordObservation) DeepCopy() *FactoryLinkedServiceSynapseKeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseKeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseKeyVaultPasswordParameters) DeepCopyInto(out *FactoryLinkedServiceSynapseKeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseKeyVaultPasswordParameters. +func (in *FactoryLinkedServiceSynapseKeyVaultPasswordParameters) DeepCopy() *FactoryLinkedServiceSynapseKeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseKeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseList) DeepCopyInto(out *FactoryLinkedServiceSynapseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceSynapse, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseList. +func (in *FactoryLinkedServiceSynapseList) DeepCopy() *FactoryLinkedServiceSynapseList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceSynapseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseObservation) DeepCopyInto(out *FactoryLinkedServiceSynapseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseObservation. +func (in *FactoryLinkedServiceSynapseObservation) DeepCopy() *FactoryLinkedServiceSynapseObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseParameters) DeepCopyInto(out *FactoryLinkedServiceSynapseParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.KeyVaultPassword != nil { + in, out := &in.KeyVaultPassword, &out.KeyVaultPassword + *out = make([]FactoryLinkedServiceSynapseKeyVaultPasswordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseParameters. +func (in *FactoryLinkedServiceSynapseParameters) DeepCopy() *FactoryLinkedServiceSynapseParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseSpec) DeepCopyInto(out *FactoryLinkedServiceSynapseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseSpec. +func (in *FactoryLinkedServiceSynapseSpec) DeepCopy() *FactoryLinkedServiceSynapseSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceSynapseStatus) DeepCopyInto(out *FactoryLinkedServiceSynapseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceSynapseStatus. +func (in *FactoryLinkedServiceSynapseStatus) DeepCopy() *FactoryLinkedServiceSynapseStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceSynapseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceWeb) DeepCopyInto(out *FactoryLinkedServiceWeb) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceWeb. +func (in *FactoryLinkedServiceWeb) DeepCopy() *FactoryLinkedServiceWeb { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceWeb) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceWeb) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceWebList) DeepCopyInto(out *FactoryLinkedServiceWebList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryLinkedServiceWeb, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceWebList. +func (in *FactoryLinkedServiceWebList) DeepCopy() *FactoryLinkedServiceWebList { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceWebList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryLinkedServiceWebList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceWebObservation) DeepCopyInto(out *FactoryLinkedServiceWebObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceWebObservation. +func (in *FactoryLinkedServiceWebObservation) DeepCopy() *FactoryLinkedServiceWebObservation { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceWebObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceWebParameters) DeepCopyInto(out *FactoryLinkedServiceWebParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AuthenticationType != nil { + in, out := &in.AuthenticationType, &out.AuthenticationType + *out = new(string) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntimeName != nil { + in, out := &in.IntegrationRuntimeName, &out.IntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceWebParameters. +func (in *FactoryLinkedServiceWebParameters) DeepCopy() *FactoryLinkedServiceWebParameters { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceWebParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceWebSpec) DeepCopyInto(out *FactoryLinkedServiceWebSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceWebSpec. +func (in *FactoryLinkedServiceWebSpec) DeepCopy() *FactoryLinkedServiceWebSpec { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceWebSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryLinkedServiceWebStatus) DeepCopyInto(out *FactoryLinkedServiceWebStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryLinkedServiceWebStatus. +func (in *FactoryLinkedServiceWebStatus) DeepCopy() *FactoryLinkedServiceWebStatus { + if in == nil { + return nil + } + out := new(FactoryLinkedServiceWebStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryList) DeepCopyInto(out *FactoryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Factory, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryList. +func (in *FactoryList) DeepCopy() *FactoryList { + if in == nil { + return nil + } + out := new(FactoryList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryManagedPrivateEndpoint) DeepCopyInto(out *FactoryManagedPrivateEndpoint) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryManagedPrivateEndpoint. +func (in *FactoryManagedPrivateEndpoint) DeepCopy() *FactoryManagedPrivateEndpoint { + if in == nil { + return nil + } + out := new(FactoryManagedPrivateEndpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryManagedPrivateEndpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryManagedPrivateEndpointList) DeepCopyInto(out *FactoryManagedPrivateEndpointList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryManagedPrivateEndpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryManagedPrivateEndpointList. +func (in *FactoryManagedPrivateEndpointList) DeepCopy() *FactoryManagedPrivateEndpointList { + if in == nil { + return nil + } + out := new(FactoryManagedPrivateEndpointList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryManagedPrivateEndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryManagedPrivateEndpointObservation) DeepCopyInto(out *FactoryManagedPrivateEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryManagedPrivateEndpointObservation. +func (in *FactoryManagedPrivateEndpointObservation) DeepCopy() *FactoryManagedPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(FactoryManagedPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryManagedPrivateEndpointParameters) DeepCopyInto(out *FactoryManagedPrivateEndpointParameters) { + *out = *in + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubresourceName != nil { + in, out := &in.SubresourceName, &out.SubresourceName + *out = new(string) + **out = **in + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryManagedPrivateEndpointParameters. +func (in *FactoryManagedPrivateEndpointParameters) DeepCopy() *FactoryManagedPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(FactoryManagedPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryManagedPrivateEndpointSpec) DeepCopyInto(out *FactoryManagedPrivateEndpointSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryManagedPrivateEndpointSpec. +func (in *FactoryManagedPrivateEndpointSpec) DeepCopy() *FactoryManagedPrivateEndpointSpec { + if in == nil { + return nil + } + out := new(FactoryManagedPrivateEndpointSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryManagedPrivateEndpointStatus) DeepCopyInto(out *FactoryManagedPrivateEndpointStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryManagedPrivateEndpointStatus. +func (in *FactoryManagedPrivateEndpointStatus) DeepCopy() *FactoryManagedPrivateEndpointStatus { + if in == nil { + return nil + } + out := new(FactoryManagedPrivateEndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryObservation) DeepCopyInto(out *FactoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryObservation. +func (in *FactoryObservation) DeepCopy() *FactoryObservation { + if in == nil { + return nil + } + out := new(FactoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryParameters) DeepCopyInto(out *FactoryParameters) { + *out = *in + if in.CustomerManagedKeyID != nil { + in, out := &in.CustomerManagedKeyID, &out.CustomerManagedKeyID + *out = new(string) + **out = **in + } + if in.GithubConfiguration != nil { + in, out := &in.GithubConfiguration, &out.GithubConfiguration + *out = make([]GithubConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GlobalParameter != nil { + in, out := &in.GlobalParameter, &out.GlobalParameter + *out = make([]GlobalParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagedVirtualNetworkEnabled != nil { + in, out := &in.ManagedVirtualNetworkEnabled, &out.ManagedVirtualNetworkEnabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkEnabled != nil { + in, out := &in.PublicNetworkEnabled, &out.PublicNetworkEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VstsConfiguration != nil { + in, out := &in.VstsConfiguration, &out.VstsConfiguration + *out = make([]VstsConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryParameters. +func (in *FactoryParameters) DeepCopy() *FactoryParameters { + if in == nil { + return nil + } + out := new(FactoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryPipeline) DeepCopyInto(out *FactoryPipeline) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryPipeline. +func (in *FactoryPipeline) DeepCopy() *FactoryPipeline { + if in == nil { + return nil + } + out := new(FactoryPipeline) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryPipeline) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryPipelineList) DeepCopyInto(out *FactoryPipelineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryPipeline, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryPipelineList. +func (in *FactoryPipelineList) DeepCopy() *FactoryPipelineList { + if in == nil { + return nil + } + out := new(FactoryPipelineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryPipelineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryPipelineObservation) DeepCopyInto(out *FactoryPipelineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryPipelineObservation. +func (in *FactoryPipelineObservation) DeepCopy() *FactoryPipelineObservation { + if in == nil { + return nil + } + out := new(FactoryPipelineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryPipelineParameters) DeepCopyInto(out *FactoryPipelineParameters) { + *out = *in + if in.ActivitiesJSON != nil { + in, out := &in.ActivitiesJSON, &out.ActivitiesJSON + *out = new(string) + **out = **in + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Concurrency != nil { + in, out := &in.Concurrency, &out.Concurrency + *out = new(int64) + **out = **in + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Folder != nil { + in, out := &in.Folder, &out.Folder + *out = new(string) + **out = **in + } + if in.MoniterMetricsAfterDuration != nil { + in, out := &in.MoniterMetricsAfterDuration, &out.MoniterMetricsAfterDuration + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Variables != nil { + in, out := &in.Variables, &out.Variables + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryPipelineParameters. +func (in *FactoryPipelineParameters) DeepCopy() *FactoryPipelineParameters { + if in == nil { + return nil + } + out := new(FactoryPipelineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryPipelineSpec) DeepCopyInto(out *FactoryPipelineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryPipelineSpec. +func (in *FactoryPipelineSpec) DeepCopy() *FactoryPipelineSpec { + if in == nil { + return nil + } + out := new(FactoryPipelineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryPipelineStatus) DeepCopyInto(out *FactoryPipelineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryPipelineStatus. +func (in *FactoryPipelineStatus) DeepCopy() *FactoryPipelineStatus { + if in == nil { + return nil + } + out := new(FactoryPipelineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactorySpec) DeepCopyInto(out *FactorySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactorySpec. +func (in *FactorySpec) DeepCopy() *FactorySpec { + if in == nil { + return nil + } + out := new(FactorySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryStatus) DeepCopyInto(out *FactoryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryStatus. +func (in *FactoryStatus) DeepCopy() *FactoryStatus { + if in == nil { + return nil + } + out := new(FactoryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerBlobEvent) DeepCopyInto(out *FactoryTriggerBlobEvent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerBlobEvent. +func (in *FactoryTriggerBlobEvent) DeepCopy() *FactoryTriggerBlobEvent { + if in == nil { + return nil + } + out := new(FactoryTriggerBlobEvent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryTriggerBlobEvent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerBlobEventList) DeepCopyInto(out *FactoryTriggerBlobEventList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryTriggerBlobEvent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerBlobEventList. +func (in *FactoryTriggerBlobEventList) DeepCopy() *FactoryTriggerBlobEventList { + if in == nil { + return nil + } + out := new(FactoryTriggerBlobEventList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryTriggerBlobEventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerBlobEventObservation) DeepCopyInto(out *FactoryTriggerBlobEventObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerBlobEventObservation. +func (in *FactoryTriggerBlobEventObservation) DeepCopy() *FactoryTriggerBlobEventObservation { + if in == nil { + return nil + } + out := new(FactoryTriggerBlobEventObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerBlobEventParameters) DeepCopyInto(out *FactoryTriggerBlobEventParameters) { + *out = *in + if in.Activated != nil { + in, out := &in.Activated, &out.Activated + *out = new(bool) + **out = **in + } + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BlobPathBeginsWith != nil { + in, out := &in.BlobPathBeginsWith, &out.BlobPathBeginsWith + *out = new(string) + **out = **in + } + if in.BlobPathEndsWith != nil { + in, out := &in.BlobPathEndsWith, &out.BlobPathEndsWith + *out = new(string) + **out = **in + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Events != nil { + in, out := &in.Events, &out.Events + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IgnoreEmptyBlobs != nil { + in, out := &in.IgnoreEmptyBlobs, &out.IgnoreEmptyBlobs + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Pipeline != nil { + in, out := &in.Pipeline, &out.Pipeline + *out = make([]PipelineParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerBlobEventParameters. +func (in *FactoryTriggerBlobEventParameters) DeepCopy() *FactoryTriggerBlobEventParameters { + if in == nil { + return nil + } + out := new(FactoryTriggerBlobEventParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerBlobEventSpec) DeepCopyInto(out *FactoryTriggerBlobEventSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerBlobEventSpec. +func (in *FactoryTriggerBlobEventSpec) DeepCopy() *FactoryTriggerBlobEventSpec { + if in == nil { + return nil + } + out := new(FactoryTriggerBlobEventSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerBlobEventStatus) DeepCopyInto(out *FactoryTriggerBlobEventStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerBlobEventStatus. +func (in *FactoryTriggerBlobEventStatus) DeepCopy() *FactoryTriggerBlobEventStatus { + if in == nil { + return nil + } + out := new(FactoryTriggerBlobEventStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEvent) DeepCopyInto(out *FactoryTriggerCustomEvent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEvent. +func (in *FactoryTriggerCustomEvent) DeepCopy() *FactoryTriggerCustomEvent { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEvent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryTriggerCustomEvent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventList) DeepCopyInto(out *FactoryTriggerCustomEventList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryTriggerCustomEvent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventList. +func (in *FactoryTriggerCustomEventList) DeepCopy() *FactoryTriggerCustomEventList { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryTriggerCustomEventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventObservation) DeepCopyInto(out *FactoryTriggerCustomEventObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventObservation. +func (in *FactoryTriggerCustomEventObservation) DeepCopy() *FactoryTriggerCustomEventObservation { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventParameters) DeepCopyInto(out *FactoryTriggerCustomEventParameters) { + *out = *in + if in.Activated != nil { + in, out := &in.Activated, &out.Activated + *out = new(bool) + **out = **in + } + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryID != nil { + in, out := &in.DataFactoryID, &out.DataFactoryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EventgridTopicID != nil { + in, out := &in.EventgridTopicID, &out.EventgridTopicID + *out = new(string) + **out = **in + } + if in.Events != nil { + in, out := &in.Events, &out.Events + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Pipeline != nil { + in, out := &in.Pipeline, &out.Pipeline + *out = make([]FactoryTriggerCustomEventPipelineParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubjectBeginsWith != nil { + in, out := &in.SubjectBeginsWith, &out.SubjectBeginsWith + *out = new(string) + **out = **in + } + if in.SubjectEndsWith != nil { + in, out := &in.SubjectEndsWith, &out.SubjectEndsWith + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventParameters. +func (in *FactoryTriggerCustomEventParameters) DeepCopy() *FactoryTriggerCustomEventParameters { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventPipelineObservation) DeepCopyInto(out *FactoryTriggerCustomEventPipelineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventPipelineObservation. +func (in *FactoryTriggerCustomEventPipelineObservation) DeepCopy() *FactoryTriggerCustomEventPipelineObservation { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventPipelineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventPipelineParameters) DeepCopyInto(out *FactoryTriggerCustomEventPipelineParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventPipelineParameters. +func (in *FactoryTriggerCustomEventPipelineParameters) DeepCopy() *FactoryTriggerCustomEventPipelineParameters { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventPipelineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventSpec) DeepCopyInto(out *FactoryTriggerCustomEventSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventSpec. +func (in *FactoryTriggerCustomEventSpec) DeepCopy() *FactoryTriggerCustomEventSpec { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerCustomEventStatus) DeepCopyInto(out *FactoryTriggerCustomEventStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerCustomEventStatus. +func (in *FactoryTriggerCustomEventStatus) DeepCopy() *FactoryTriggerCustomEventStatus { + if in == nil { + return nil + } + out := new(FactoryTriggerCustomEventStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerSchedule) DeepCopyInto(out *FactoryTriggerSchedule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerSchedule. +func (in *FactoryTriggerSchedule) DeepCopy() *FactoryTriggerSchedule { + if in == nil { + return nil + } + out := new(FactoryTriggerSchedule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryTriggerSchedule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerScheduleList) DeepCopyInto(out *FactoryTriggerScheduleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FactoryTriggerSchedule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerScheduleList. +func (in *FactoryTriggerScheduleList) DeepCopy() *FactoryTriggerScheduleList { + if in == nil { + return nil + } + out := new(FactoryTriggerScheduleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FactoryTriggerScheduleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerScheduleObservation) DeepCopyInto(out *FactoryTriggerScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerScheduleObservation. +func (in *FactoryTriggerScheduleObservation) DeepCopy() *FactoryTriggerScheduleObservation { + if in == nil { + return nil + } + out := new(FactoryTriggerScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerScheduleParameters) DeepCopyInto(out *FactoryTriggerScheduleParameters) { + *out = *in + if in.Activated != nil { + in, out := &in.Activated, &out.Activated + *out = new(bool) + **out = **in + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataFactoryName != nil { + in, out := &in.DataFactoryName, &out.DataFactoryName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EndTime != nil { + in, out := &in.EndTime, &out.EndTime + *out = new(string) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PipelineName != nil { + in, out := &in.PipelineName, &out.PipelineName + *out = new(string) + **out = **in + } + if in.PipelineParameters != nil { + in, out := &in.PipelineParameters, &out.PipelineParameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]ScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerScheduleParameters. +func (in *FactoryTriggerScheduleParameters) DeepCopy() *FactoryTriggerScheduleParameters { + if in == nil { + return nil + } + out := new(FactoryTriggerScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerScheduleSpec) DeepCopyInto(out *FactoryTriggerScheduleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerScheduleSpec. +func (in *FactoryTriggerScheduleSpec) DeepCopy() *FactoryTriggerScheduleSpec { + if in == nil { + return nil + } + out := new(FactoryTriggerScheduleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FactoryTriggerScheduleStatus) DeepCopyInto(out *FactoryTriggerScheduleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactoryTriggerScheduleStatus. +func (in *FactoryTriggerScheduleStatus) DeepCopy() *FactoryTriggerScheduleStatus { + if in == nil { + return nil + } + out := new(FactoryTriggerScheduleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GithubConfigurationObservation) DeepCopyInto(out *GithubConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubConfigurationObservation. +func (in *GithubConfigurationObservation) DeepCopy() *GithubConfigurationObservation { + if in == nil { + return nil + } + out := new(GithubConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GithubConfigurationParameters) DeepCopyInto(out *GithubConfigurationParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.BranchName != nil { + in, out := &in.BranchName, &out.BranchName + *out = new(string) + **out = **in + } + if in.GitURL != nil { + in, out := &in.GitURL, &out.GitURL + *out = new(string) + **out = **in + } + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RootFolder != nil { + in, out := &in.RootFolder, &out.RootFolder + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubConfigurationParameters. +func (in *GithubConfigurationParameters) DeepCopy() *GithubConfigurationParameters { + if in == nil { + return nil + } + out := new(GithubConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalParameterObservation) DeepCopyInto(out *GlobalParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalParameterObservation. +func (in *GlobalParameterObservation) DeepCopy() *GlobalParameterObservation { + if in == nil { + return nil + } + out := new(GlobalParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GlobalParameterParameters) DeepCopyInto(out *GlobalParameterParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalParameterParameters. +func (in *GlobalParameterParameters) DeepCopy() *GlobalParameterParameters { + if in == nil { + return nil + } + out := new(GlobalParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPServerLocationObservation) DeepCopyInto(out *HTTPServerLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPServerLocationObservation. +func (in *HTTPServerLocationObservation) DeepCopy() *HTTPServerLocationObservation { + if in == nil { + return nil + } + out := new(HTTPServerLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPServerLocationParameters) DeepCopyInto(out *HTTPServerLocationParameters) { + *out = *in + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.RelativeURL != nil { + in, out := &in.RelativeURL, &out.RelativeURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPServerLocationParameters. +func (in *HTTPServerLocationParameters) DeepCopy() *HTTPServerLocationParameters { + if in == nil { + return nil + } + out := new(HTTPServerLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstancePoolObservation) DeepCopyInto(out *InstancePoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePoolObservation. +func (in *InstancePoolObservation) DeepCopy() *InstancePoolObservation { + if in == nil { + return nil + } + out := new(InstancePoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstancePoolParameters) DeepCopyInto(out *InstancePoolParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.InstancePoolID != nil { + in, out := &in.InstancePoolID, &out.InstancePoolID + *out = new(string) + **out = **in + } + if in.MaxNumberOfWorkers != nil { + in, out := &in.MaxNumberOfWorkers, &out.MaxNumberOfWorkers + *out = new(int64) + **out = **in + } + if in.MinNumberOfWorkers != nil { + in, out := &in.MinNumberOfWorkers, &out.MinNumberOfWorkers + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePoolParameters. +func (in *InstancePoolParameters) DeepCopy() *InstancePoolParameters { + if in == nil { + return nil + } + out := new(InstancePoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeObservation) DeepCopyInto(out *IntegrationRuntimeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeObservation. +func (in *IntegrationRuntimeObservation) DeepCopy() *IntegrationRuntimeObservation { + if in == nil { + return nil + } + out := new(IntegrationRuntimeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeParameters) DeepCopyInto(out *IntegrationRuntimeParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeParameters. +func (in *IntegrationRuntimeParameters) DeepCopy() *IntegrationRuntimeParameters { + if in == nil { + return nil + } + out := new(IntegrationRuntimeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultConnectionStringObservation) DeepCopyInto(out *KeyVaultConnectionStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultConnectionStringObservation. +func (in *KeyVaultConnectionStringObservation) DeepCopy() *KeyVaultConnectionStringObservation { + if in == nil { + return nil + } + out := new(KeyVaultConnectionStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultConnectionStringParameters) DeepCopyInto(out *KeyVaultConnectionStringParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultConnectionStringParameters. +func (in *KeyVaultConnectionStringParameters) DeepCopy() *KeyVaultConnectionStringParameters { + if in == nil { + return nil + } + out := new(KeyVaultConnectionStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultKeyObservation) DeepCopyInto(out *KeyVaultKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultKeyObservation. +func (in *KeyVaultKeyObservation) DeepCopy() *KeyVaultKeyObservation { + if in == nil { + return nil + } + out := new(KeyVaultKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultKeyParameters) DeepCopyInto(out *KeyVaultKeyParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultKeyParameters. +func (in *KeyVaultKeyParameters) DeepCopy() *KeyVaultKeyParameters { + if in == nil { + return nil + } + out := new(KeyVaultKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultLicenseObservation) DeepCopyInto(out *KeyVaultLicenseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultLicenseObservation. +func (in *KeyVaultLicenseObservation) DeepCopy() *KeyVaultLicenseObservation { + if in == nil { + return nil + } + out := new(KeyVaultLicenseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultLicenseParameters) DeepCopyInto(out *KeyVaultLicenseParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } + if in.SecretVersion != nil { + in, out := &in.SecretVersion, &out.SecretVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultLicenseParameters. +func (in *KeyVaultLicenseParameters) DeepCopy() *KeyVaultLicenseParameters { + if in == nil { + return nil + } + out := new(KeyVaultLicenseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultPasswordObservation) DeepCopyInto(out *KeyVaultPasswordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultPasswordObservation. +func (in *KeyVaultPasswordObservation) DeepCopy() *KeyVaultPasswordObservation { + if in == nil { + return nil + } + out := new(KeyVaultPasswordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultPasswordParameters) DeepCopyInto(out *KeyVaultPasswordParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } + if in.SecretVersion != nil { + in, out := &in.SecretVersion, &out.SecretVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultPasswordParameters. +func (in *KeyVaultPasswordParameters) DeepCopy() *KeyVaultPasswordParameters { + if in == nil { + return nil + } + out := new(KeyVaultPasswordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultSasTokenObservation) DeepCopyInto(out *KeyVaultSasTokenObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSasTokenObservation. +func (in *KeyVaultSasTokenObservation) DeepCopy() *KeyVaultSasTokenObservation { + if in == nil { + return nil + } + out := new(KeyVaultSasTokenObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultSasTokenParameters) DeepCopyInto(out *KeyVaultSasTokenParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.SecretName != nil { + in, out := &in.SecretName, &out.SecretName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultSasTokenParameters. +func (in *KeyVaultSasTokenParameters) DeepCopy() *KeyVaultSasTokenParameters { + if in == nil { + return nil + } + out := new(KeyVaultSasTokenParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeAnalyticsFirewallRule) DeepCopyInto(out *LakeAnalyticsFirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeAnalyticsFirewallRule. +func (in *LakeAnalyticsFirewallRule) DeepCopy() *LakeAnalyticsFirewallRule { + if in == nil { + return nil + } + out := new(LakeAnalyticsFirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeAnalyticsFirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeAnalyticsFirewallRuleList) DeepCopyInto(out *LakeAnalyticsFirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LakeAnalyticsFirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeAnalyticsFirewallRuleList. +func (in *LakeAnalyticsFirewallRuleList) DeepCopy() *LakeAnalyticsFirewallRuleList { + if in == nil { + return nil + } + out := new(LakeAnalyticsFirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeAnalyticsFirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeAnalyticsFirewallRuleObservation) DeepCopyInto(out *LakeAnalyticsFirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeAnalyticsFirewallRuleObservation. +func (in *LakeAnalyticsFirewallRuleObservation) DeepCopy() *LakeAnalyticsFirewallRuleObservation { + if in == nil { + return nil + } + out := new(LakeAnalyticsFirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeAnalyticsFirewallRuleParameters) DeepCopyInto(out *LakeAnalyticsFirewallRuleParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeAnalyticsFirewallRuleParameters. +func (in *LakeAnalyticsFirewallRuleParameters) DeepCopy() *LakeAnalyticsFirewallRuleParameters { + if in == nil { + return nil + } + out := new(LakeAnalyticsFirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeAnalyticsFirewallRuleSpec) DeepCopyInto(out *LakeAnalyticsFirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeAnalyticsFirewallRuleSpec. +func (in *LakeAnalyticsFirewallRuleSpec) DeepCopy() *LakeAnalyticsFirewallRuleSpec { + if in == nil { + return nil + } + out := new(LakeAnalyticsFirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeAnalyticsFirewallRuleStatus) DeepCopyInto(out *LakeAnalyticsFirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeAnalyticsFirewallRuleStatus. +func (in *LakeAnalyticsFirewallRuleStatus) DeepCopy() *LakeAnalyticsFirewallRuleStatus { + if in == nil { + return nil + } + out := new(LakeAnalyticsFirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStore) DeepCopyInto(out *LakeStore) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStore. +func (in *LakeStore) DeepCopy() *LakeStore { + if in == nil { + return nil + } + out := new(LakeStore) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStore) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFile) DeepCopyInto(out *LakeStoreFile) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFile. +func (in *LakeStoreFile) DeepCopy() *LakeStoreFile { + if in == nil { + return nil + } + out := new(LakeStoreFile) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreFile) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFileList) DeepCopyInto(out *LakeStoreFileList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LakeStoreFile, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFileList. +func (in *LakeStoreFileList) DeepCopy() *LakeStoreFileList { + if in == nil { + return nil + } + out := new(LakeStoreFileList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreFileList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFileObservation) DeepCopyInto(out *LakeStoreFileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFileObservation. +func (in *LakeStoreFileObservation) DeepCopy() *LakeStoreFileObservation { + if in == nil { + return nil + } + out := new(LakeStoreFileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFileParameters) DeepCopyInto(out *LakeStoreFileParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.LocalFilePath != nil { + in, out := &in.LocalFilePath, &out.LocalFilePath + *out = new(string) + **out = **in + } + if in.RemoteFilePath != nil { + in, out := &in.RemoteFilePath, &out.RemoteFilePath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFileParameters. +func (in *LakeStoreFileParameters) DeepCopy() *LakeStoreFileParameters { + if in == nil { + return nil + } + out := new(LakeStoreFileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFileSpec) DeepCopyInto(out *LakeStoreFileSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFileSpec. +func (in *LakeStoreFileSpec) DeepCopy() *LakeStoreFileSpec { + if in == nil { + return nil + } + out := new(LakeStoreFileSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFileStatus) DeepCopyInto(out *LakeStoreFileStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFileStatus. +func (in *LakeStoreFileStatus) DeepCopy() *LakeStoreFileStatus { + if in == nil { + return nil + } + out := new(LakeStoreFileStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFirewallRule) DeepCopyInto(out *LakeStoreFirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFirewallRule. +func (in *LakeStoreFirewallRule) DeepCopy() *LakeStoreFirewallRule { + if in == nil { + return nil + } + out := new(LakeStoreFirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreFirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFirewallRuleList) DeepCopyInto(out *LakeStoreFirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LakeStoreFirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFirewallRuleList. +func (in *LakeStoreFirewallRuleList) DeepCopy() *LakeStoreFirewallRuleList { + if in == nil { + return nil + } + out := new(LakeStoreFirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreFirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFirewallRuleObservation) DeepCopyInto(out *LakeStoreFirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFirewallRuleObservation. +func (in *LakeStoreFirewallRuleObservation) DeepCopy() *LakeStoreFirewallRuleObservation { + if in == nil { + return nil + } + out := new(LakeStoreFirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFirewallRuleParameters) DeepCopyInto(out *LakeStoreFirewallRuleParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFirewallRuleParameters. +func (in *LakeStoreFirewallRuleParameters) DeepCopy() *LakeStoreFirewallRuleParameters { + if in == nil { + return nil + } + out := new(LakeStoreFirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFirewallRuleSpec) DeepCopyInto(out *LakeStoreFirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFirewallRuleSpec. +func (in *LakeStoreFirewallRuleSpec) DeepCopy() *LakeStoreFirewallRuleSpec { + if in == nil { + return nil + } + out := new(LakeStoreFirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreFirewallRuleStatus) DeepCopyInto(out *LakeStoreFirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreFirewallRuleStatus. +func (in *LakeStoreFirewallRuleStatus) DeepCopy() *LakeStoreFirewallRuleStatus { + if in == nil { + return nil + } + out := new(LakeStoreFirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreIdentityObservation) DeepCopyInto(out *LakeStoreIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreIdentityObservation. +func (in *LakeStoreIdentityObservation) DeepCopy() *LakeStoreIdentityObservation { + if in == nil { + return nil + } + out := new(LakeStoreIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreIdentityParameters) DeepCopyInto(out *LakeStoreIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreIdentityParameters. +func (in *LakeStoreIdentityParameters) DeepCopy() *LakeStoreIdentityParameters { + if in == nil { + return nil + } + out := new(LakeStoreIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreList) DeepCopyInto(out *LakeStoreList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LakeStore, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreList. +func (in *LakeStoreList) DeepCopy() *LakeStoreList { + if in == nil { + return nil + } + out := new(LakeStoreList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreObservation) DeepCopyInto(out *LakeStoreObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreObservation. +func (in *LakeStoreObservation) DeepCopy() *LakeStoreObservation { + if in == nil { + return nil + } + out := new(LakeStoreObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreParameters) DeepCopyInto(out *LakeStoreParameters) { + *out = *in + if in.EncryptionState != nil { + in, out := &in.EncryptionState, &out.EncryptionState + *out = new(string) + **out = **in + } + if in.EncryptionType != nil { + in, out := &in.EncryptionType, &out.EncryptionType + *out = new(string) + **out = **in + } + if in.FirewallAllowAzureIps != nil { + in, out := &in.FirewallAllowAzureIps, &out.FirewallAllowAzureIps + *out = new(string) + **out = **in + } + if in.FirewallState != nil { + in, out := &in.FirewallState, &out.FirewallState + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]LakeStoreIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreParameters. +func (in *LakeStoreParameters) DeepCopy() *LakeStoreParameters { + if in == nil { + return nil + } + out := new(LakeStoreParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreSpec) DeepCopyInto(out *LakeStoreSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreSpec. +func (in *LakeStoreSpec) DeepCopy() *LakeStoreSpec { + if in == nil { + return nil + } + out := new(LakeStoreSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreStatus) DeepCopyInto(out *LakeStoreStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreStatus. +func (in *LakeStoreStatus) DeepCopy() *LakeStoreStatus { + if in == nil { + return nil + } + out := new(LakeStoreStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreVirtualNetworkRule) DeepCopyInto(out *LakeStoreVirtualNetworkRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreVirtualNetworkRule. +func (in *LakeStoreVirtualNetworkRule) DeepCopy() *LakeStoreVirtualNetworkRule { + if in == nil { + return nil + } + out := new(LakeStoreVirtualNetworkRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreVirtualNetworkRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreVirtualNetworkRuleList) DeepCopyInto(out *LakeStoreVirtualNetworkRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LakeStoreVirtualNetworkRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreVirtualNetworkRuleList. +func (in *LakeStoreVirtualNetworkRuleList) DeepCopy() *LakeStoreVirtualNetworkRuleList { + if in == nil { + return nil + } + out := new(LakeStoreVirtualNetworkRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LakeStoreVirtualNetworkRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreVirtualNetworkRuleObservation) DeepCopyInto(out *LakeStoreVirtualNetworkRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreVirtualNetworkRuleObservation. +func (in *LakeStoreVirtualNetworkRuleObservation) DeepCopy() *LakeStoreVirtualNetworkRuleObservation { + if in == nil { + return nil + } + out := new(LakeStoreVirtualNetworkRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreVirtualNetworkRuleParameters) DeepCopyInto(out *LakeStoreVirtualNetworkRuleParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreVirtualNetworkRuleParameters. +func (in *LakeStoreVirtualNetworkRuleParameters) DeepCopy() *LakeStoreVirtualNetworkRuleParameters { + if in == nil { + return nil + } + out := new(LakeStoreVirtualNetworkRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreVirtualNetworkRuleSpec) DeepCopyInto(out *LakeStoreVirtualNetworkRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreVirtualNetworkRuleSpec. +func (in *LakeStoreVirtualNetworkRuleSpec) DeepCopy() *LakeStoreVirtualNetworkRuleSpec { + if in == nil { + return nil + } + out := new(LakeStoreVirtualNetworkRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LakeStoreVirtualNetworkRuleStatus) DeepCopyInto(out *LakeStoreVirtualNetworkRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LakeStoreVirtualNetworkRuleStatus. +func (in *LakeStoreVirtualNetworkRuleStatus) DeepCopy() *LakeStoreVirtualNetworkRuleStatus { + if in == nil { + return nil + } + out := new(LakeStoreVirtualNetworkRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceObservation) DeepCopyInto(out *LinkedServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceObservation. +func (in *LinkedServiceObservation) DeepCopy() *LinkedServiceObservation { + if in == nil { + return nil + } + out := new(LinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceParameters) DeepCopyInto(out *LinkedServiceParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceParameters. +func (in *LinkedServiceParameters) DeepCopy() *LinkedServiceParameters { + if in == nil { + return nil + } + out := new(LinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonthlyObservation) DeepCopyInto(out *MonthlyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonthlyObservation. +func (in *MonthlyObservation) DeepCopy() *MonthlyObservation { + if in == nil { + return nil + } + out := new(MonthlyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonthlyParameters) DeepCopyInto(out *MonthlyParameters) { + *out = *in + if in.Week != nil { + in, out := &in.Week, &out.Week + *out = new(int64) + **out = **in + } + if in.Weekday != nil { + in, out := &in.Weekday, &out.Weekday + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonthlyParameters. +func (in *MonthlyParameters) DeepCopy() *MonthlyParameters { + if in == nil { + return nil + } + out := new(MonthlyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NewClusterConfigObservation) DeepCopyInto(out *NewClusterConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewClusterConfigObservation. +func (in *NewClusterConfigObservation) DeepCopy() *NewClusterConfigObservation { + if in == nil { + return nil + } + out := new(NewClusterConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NewClusterConfigParameters) DeepCopyInto(out *NewClusterConfigParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.CustomTags != nil { + in, out := &in.CustomTags, &out.CustomTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.DriverNodeType != nil { + in, out := &in.DriverNodeType, &out.DriverNodeType + *out = new(string) + **out = **in + } + if in.InitScripts != nil { + in, out := &in.InitScripts, &out.InitScripts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LogDestination != nil { + in, out := &in.LogDestination, &out.LogDestination + *out = new(string) + **out = **in + } + if in.MaxNumberOfWorkers != nil { + in, out := &in.MaxNumberOfWorkers, &out.MaxNumberOfWorkers + *out = new(int64) + **out = **in + } + if in.MinNumberOfWorkers != nil { + in, out := &in.MinNumberOfWorkers, &out.MinNumberOfWorkers + *out = new(int64) + **out = **in + } + if in.NodeType != nil { + in, out := &in.NodeType, &out.NodeType + *out = new(string) + **out = **in + } + if in.SparkConfig != nil { + in, out := &in.SparkConfig, &out.SparkConfig + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.SparkEnvironmentVariables != nil { + in, out := &in.SparkEnvironmentVariables, &out.SparkEnvironmentVariables + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewClusterConfigParameters. +func (in *NewClusterConfigParameters) DeepCopy() *NewClusterConfigParameters { + if in == nil { + return nil + } + out := new(NewClusterConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PackageStoreObservation) DeepCopyInto(out *PackageStoreObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStoreObservation. +func (in *PackageStoreObservation) DeepCopy() *PackageStoreObservation { + if in == nil { + return nil + } + out := new(PackageStoreObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PackageStoreParameters) DeepCopyInto(out *PackageStoreParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStoreParameters. +func (in *PackageStoreParameters) DeepCopy() *PackageStoreParameters { + if in == nil { + return nil + } + out := new(PackageStoreParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PipelineObservation) DeepCopyInto(out *PipelineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineObservation. +func (in *PipelineObservation) DeepCopy() *PipelineObservation { + if in == nil { + return nil + } + out := new(PipelineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PipelineParameters) DeepCopyInto(out *PipelineParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineParameters. +func (in *PipelineParameters) DeepCopy() *PipelineParameters { + if in == nil { + return nil + } + out := new(PipelineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceBlobStorage) DeepCopyInto(out *ProtectionBackupInstanceBlobStorage) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceBlobStorage. +func (in *ProtectionBackupInstanceBlobStorage) DeepCopy() *ProtectionBackupInstanceBlobStorage { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceBlobStorage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupInstanceBlobStorage) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceBlobStorageList) DeepCopyInto(out *ProtectionBackupInstanceBlobStorageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupInstanceBlobStorage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceBlobStorageList. +func (in *ProtectionBackupInstanceBlobStorageList) DeepCopy() *ProtectionBackupInstanceBlobStorageList { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceBlobStorageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupInstanceBlobStorageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceBlobStorageObservation) DeepCopyInto(out *ProtectionBackupInstanceBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceBlobStorageObservation. +func (in *ProtectionBackupInstanceBlobStorageObservation) DeepCopy() *ProtectionBackupInstanceBlobStorageObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceBlobStorageParameters) DeepCopyInto(out *ProtectionBackupInstanceBlobStorageParameters) { + *out = *in + if in.BackupPolicyID != nil { + in, out := &in.BackupPolicyID, &out.BackupPolicyID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.VaultID != nil { + in, out := &in.VaultID, &out.VaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceBlobStorageParameters. +func (in *ProtectionBackupInstanceBlobStorageParameters) DeepCopy() *ProtectionBackupInstanceBlobStorageParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceBlobStorageSpec) DeepCopyInto(out *ProtectionBackupInstanceBlobStorageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceBlobStorageSpec. +func (in *ProtectionBackupInstanceBlobStorageSpec) DeepCopy() *ProtectionBackupInstanceBlobStorageSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceBlobStorageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceBlobStorageStatus) DeepCopyInto(out *ProtectionBackupInstanceBlobStorageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceBlobStorageStatus. +func (in *ProtectionBackupInstanceBlobStorageStatus) DeepCopy() *ProtectionBackupInstanceBlobStorageStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceBlobStorageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceDisk) DeepCopyInto(out *ProtectionBackupInstanceDisk) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceDisk. +func (in *ProtectionBackupInstanceDisk) DeepCopy() *ProtectionBackupInstanceDisk { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceDisk) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupInstanceDisk) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceDiskList) DeepCopyInto(out *ProtectionBackupInstanceDiskList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupInstanceDisk, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceDiskList. +func (in *ProtectionBackupInstanceDiskList) DeepCopy() *ProtectionBackupInstanceDiskList { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceDiskList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupInstanceDiskList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceDiskObservation) DeepCopyInto(out *ProtectionBackupInstanceDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceDiskObservation. +func (in *ProtectionBackupInstanceDiskObservation) DeepCopy() *ProtectionBackupInstanceDiskObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceDiskParameters) DeepCopyInto(out *ProtectionBackupInstanceDiskParameters) { + *out = *in + if in.BackupPolicyID != nil { + in, out := &in.BackupPolicyID, &out.BackupPolicyID + *out = new(string) + **out = **in + } + if in.DiskID != nil { + in, out := &in.DiskID, &out.DiskID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SnapshotResourceGroupName != nil { + in, out := &in.SnapshotResourceGroupName, &out.SnapshotResourceGroupName + *out = new(string) + **out = **in + } + if in.VaultID != nil { + in, out := &in.VaultID, &out.VaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceDiskParameters. +func (in *ProtectionBackupInstanceDiskParameters) DeepCopy() *ProtectionBackupInstanceDiskParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceDiskSpec) DeepCopyInto(out *ProtectionBackupInstanceDiskSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceDiskSpec. +func (in *ProtectionBackupInstanceDiskSpec) DeepCopy() *ProtectionBackupInstanceDiskSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceDiskSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstanceDiskStatus) DeepCopyInto(out *ProtectionBackupInstanceDiskStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstanceDiskStatus. +func (in *ProtectionBackupInstanceDiskStatus) DeepCopy() *ProtectionBackupInstanceDiskStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupInstanceDiskStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstancePostgresql) DeepCopyInto(out *ProtectionBackupInstancePostgresql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstancePostgresql. +func (in *ProtectionBackupInstancePostgresql) DeepCopy() *ProtectionBackupInstancePostgresql { + if in == nil { + return nil + } + out := new(ProtectionBackupInstancePostgresql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupInstancePostgresql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstancePostgresqlList) DeepCopyInto(out *ProtectionBackupInstancePostgresqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupInstancePostgresql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstancePostgresqlList. +func (in *ProtectionBackupInstancePostgresqlList) DeepCopy() *ProtectionBackupInstancePostgresqlList { + if in == nil { + return nil + } + out := new(ProtectionBackupInstancePostgresqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupInstancePostgresqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstancePostgresqlObservation) DeepCopyInto(out *ProtectionBackupInstancePostgresqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstancePostgresqlObservation. +func (in *ProtectionBackupInstancePostgresqlObservation) DeepCopy() *ProtectionBackupInstancePostgresqlObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupInstancePostgresqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstancePostgresqlParameters) DeepCopyInto(out *ProtectionBackupInstancePostgresqlParameters) { + *out = *in + if in.BackupPolicyID != nil { + in, out := &in.BackupPolicyID, &out.BackupPolicyID + *out = new(string) + **out = **in + } + if in.DatabaseCredentialKeyVaultSecretID != nil { + in, out := &in.DatabaseCredentialKeyVaultSecretID, &out.DatabaseCredentialKeyVaultSecretID + *out = new(string) + **out = **in + } + if in.DatabaseID != nil { + in, out := &in.DatabaseID, &out.DatabaseID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.VaultID != nil { + in, out := &in.VaultID, &out.VaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstancePostgresqlParameters. +func (in *ProtectionBackupInstancePostgresqlParameters) DeepCopy() *ProtectionBackupInstancePostgresqlParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupInstancePostgresqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstancePostgresqlSpec) DeepCopyInto(out *ProtectionBackupInstancePostgresqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstancePostgresqlSpec. +func (in *ProtectionBackupInstancePostgresqlSpec) DeepCopy() *ProtectionBackupInstancePostgresqlSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupInstancePostgresqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupInstancePostgresqlStatus) DeepCopyInto(out *ProtectionBackupInstancePostgresqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupInstancePostgresqlStatus. +func (in *ProtectionBackupInstancePostgresqlStatus) DeepCopy() *ProtectionBackupInstancePostgresqlStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupInstancePostgresqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyBlobStorage) DeepCopyInto(out *ProtectionBackupPolicyBlobStorage) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyBlobStorage. +func (in *ProtectionBackupPolicyBlobStorage) DeepCopy() *ProtectionBackupPolicyBlobStorage { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyBlobStorage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupPolicyBlobStorage) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyBlobStorageList) DeepCopyInto(out *ProtectionBackupPolicyBlobStorageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupPolicyBlobStorage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyBlobStorageList. +func (in *ProtectionBackupPolicyBlobStorageList) DeepCopy() *ProtectionBackupPolicyBlobStorageList { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyBlobStorageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupPolicyBlobStorageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyBlobStorageObservation) DeepCopyInto(out *ProtectionBackupPolicyBlobStorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyBlobStorageObservation. +func (in *ProtectionBackupPolicyBlobStorageObservation) DeepCopy() *ProtectionBackupPolicyBlobStorageObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyBlobStorageParameters) DeepCopyInto(out *ProtectionBackupPolicyBlobStorageParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RetentionDuration != nil { + in, out := &in.RetentionDuration, &out.RetentionDuration + *out = new(string) + **out = **in + } + if in.VaultID != nil { + in, out := &in.VaultID, &out.VaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyBlobStorageParameters. +func (in *ProtectionBackupPolicyBlobStorageParameters) DeepCopy() *ProtectionBackupPolicyBlobStorageParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyBlobStorageSpec) DeepCopyInto(out *ProtectionBackupPolicyBlobStorageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyBlobStorageSpec. +func (in *ProtectionBackupPolicyBlobStorageSpec) DeepCopy() *ProtectionBackupPolicyBlobStorageSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyBlobStorageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyBlobStorageStatus) DeepCopyInto(out *ProtectionBackupPolicyBlobStorageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyBlobStorageStatus. +func (in *ProtectionBackupPolicyBlobStorageStatus) DeepCopy() *ProtectionBackupPolicyBlobStorageStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyBlobStorageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyDisk) DeepCopyInto(out *ProtectionBackupPolicyDisk) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyDisk. +func (in *ProtectionBackupPolicyDisk) DeepCopy() *ProtectionBackupPolicyDisk { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyDisk) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupPolicyDisk) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyDiskList) DeepCopyInto(out *ProtectionBackupPolicyDiskList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupPolicyDisk, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyDiskList. +func (in *ProtectionBackupPolicyDiskList) DeepCopy() *ProtectionBackupPolicyDiskList { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyDiskList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupPolicyDiskList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyDiskObservation) DeepCopyInto(out *ProtectionBackupPolicyDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyDiskObservation. +func (in *ProtectionBackupPolicyDiskObservation) DeepCopy() *ProtectionBackupPolicyDiskObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyDiskParameters) DeepCopyInto(out *ProtectionBackupPolicyDiskParameters) { + *out = *in + if in.BackupRepeatingTimeIntervals != nil { + in, out := &in.BackupRepeatingTimeIntervals, &out.BackupRepeatingTimeIntervals + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultRetentionDuration != nil { + in, out := &in.DefaultRetentionDuration, &out.DefaultRetentionDuration + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RetentionRule != nil { + in, out := &in.RetentionRule, &out.RetentionRule + *out = make([]RetentionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VaultID != nil { + in, out := &in.VaultID, &out.VaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyDiskParameters. +func (in *ProtectionBackupPolicyDiskParameters) DeepCopy() *ProtectionBackupPolicyDiskParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyDiskSpec) DeepCopyInto(out *ProtectionBackupPolicyDiskSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyDiskSpec. +func (in *ProtectionBackupPolicyDiskSpec) DeepCopy() *ProtectionBackupPolicyDiskSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyDiskSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyDiskStatus) DeepCopyInto(out *ProtectionBackupPolicyDiskStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyDiskStatus. +func (in *ProtectionBackupPolicyDiskStatus) DeepCopy() *ProtectionBackupPolicyDiskStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyDiskStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresql) DeepCopyInto(out *ProtectionBackupPolicyPostgresql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresql. +func (in *ProtectionBackupPolicyPostgresql) DeepCopy() *ProtectionBackupPolicyPostgresql { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupPolicyPostgresql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlList) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupPolicyPostgresql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlList. +func (in *ProtectionBackupPolicyPostgresqlList) DeepCopy() *ProtectionBackupPolicyPostgresqlList { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupPolicyPostgresqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlObservation) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlObservation. +func (in *ProtectionBackupPolicyPostgresqlObservation) DeepCopy() *ProtectionBackupPolicyPostgresqlObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlParameters) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlParameters) { + *out = *in + if in.BackupRepeatingTimeIntervals != nil { + in, out := &in.BackupRepeatingTimeIntervals, &out.BackupRepeatingTimeIntervals + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultRetentionDuration != nil { + in, out := &in.DefaultRetentionDuration, &out.DefaultRetentionDuration + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetentionRule != nil { + in, out := &in.RetentionRule, &out.RetentionRule + *out = make([]ProtectionBackupPolicyPostgresqlRetentionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VaultName != nil { + in, out := &in.VaultName, &out.VaultName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlParameters. +func (in *ProtectionBackupPolicyPostgresqlParameters) DeepCopy() *ProtectionBackupPolicyPostgresqlParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlRetentionRuleObservation) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlRetentionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlRetentionRuleObservation. +func (in *ProtectionBackupPolicyPostgresqlRetentionRuleObservation) DeepCopy() *ProtectionBackupPolicyPostgresqlRetentionRuleObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlRetentionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlRetentionRuleParameters) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlRetentionRuleParameters) { + *out = *in + if in.Criteria != nil { + in, out := &in.Criteria, &out.Criteria + *out = make([]RetentionRuleCriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Duration != nil { + in, out := &in.Duration, &out.Duration + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlRetentionRuleParameters. +func (in *ProtectionBackupPolicyPostgresqlRetentionRuleParameters) DeepCopy() *ProtectionBackupPolicyPostgresqlRetentionRuleParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlRetentionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlSpec) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlSpec. +func (in *ProtectionBackupPolicyPostgresqlSpec) DeepCopy() *ProtectionBackupPolicyPostgresqlSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupPolicyPostgresqlStatus) DeepCopyInto(out *ProtectionBackupPolicyPostgresqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupPolicyPostgresqlStatus. +func (in *ProtectionBackupPolicyPostgresqlStatus) DeepCopy() *ProtectionBackupPolicyPostgresqlStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupPolicyPostgresqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVault) DeepCopyInto(out *ProtectionBackupVault) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVault. +func (in *ProtectionBackupVault) DeepCopy() *ProtectionBackupVault { + if in == nil { + return nil + } + out := new(ProtectionBackupVault) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupVault) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultIdentityObservation) DeepCopyInto(out *ProtectionBackupVaultIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultIdentityObservation. +func (in *ProtectionBackupVaultIdentityObservation) DeepCopy() *ProtectionBackupVaultIdentityObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultIdentityParameters) DeepCopyInto(out *ProtectionBackupVaultIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultIdentityParameters. +func (in *ProtectionBackupVaultIdentityParameters) DeepCopy() *ProtectionBackupVaultIdentityParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultList) DeepCopyInto(out *ProtectionBackupVaultList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProtectionBackupVault, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultList. +func (in *ProtectionBackupVaultList) DeepCopy() *ProtectionBackupVaultList { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProtectionBackupVaultList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultObservation) DeepCopyInto(out *ProtectionBackupVaultObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultObservation. +func (in *ProtectionBackupVaultObservation) DeepCopy() *ProtectionBackupVaultObservation { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultParameters) DeepCopyInto(out *ProtectionBackupVaultParameters) { + *out = *in + if in.DatastoreType != nil { + in, out := &in.DatastoreType, &out.DatastoreType + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]ProtectionBackupVaultIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Redundancy != nil { + in, out := &in.Redundancy, &out.Redundancy + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultParameters. +func (in *ProtectionBackupVaultParameters) DeepCopy() *ProtectionBackupVaultParameters { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultSpec) DeepCopyInto(out *ProtectionBackupVaultSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultSpec. +func (in *ProtectionBackupVaultSpec) DeepCopy() *ProtectionBackupVaultSpec { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtectionBackupVaultStatus) DeepCopyInto(out *ProtectionBackupVaultStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionBackupVaultStatus. +func (in *ProtectionBackupVaultStatus) DeepCopy() *ProtectionBackupVaultStatus { + if in == nil { + return nil + } + out := new(ProtectionBackupVaultStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProxyObservation) DeepCopyInto(out *ProxyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyObservation. +func (in *ProxyObservation) DeepCopy() *ProxyObservation { + if in == nil { + return nil + } + out := new(ProxyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProxyParameters) DeepCopyInto(out *ProxyParameters) { + *out = *in + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.SelfHostedIntegrationRuntimeName != nil { + in, out := &in.SelfHostedIntegrationRuntimeName, &out.SelfHostedIntegrationRuntimeName + *out = new(string) + **out = **in + } + if in.StagingStorageLinkedServiceName != nil { + in, out := &in.StagingStorageLinkedServiceName, &out.StagingStorageLinkedServiceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyParameters. +func (in *ProxyParameters) DeepCopy() *ProxyParameters { + if in == nil { + return nil + } + out := new(ProxyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RbacAuthorizationObservation) DeepCopyInto(out *RbacAuthorizationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RbacAuthorizationObservation. +func (in *RbacAuthorizationObservation) DeepCopy() *RbacAuthorizationObservation { + if in == nil { + return nil + } + out := new(RbacAuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RbacAuthorizationParameters) DeepCopyInto(out *RbacAuthorizationParameters) { + *out = *in + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RbacAuthorizationParameters. +func (in *RbacAuthorizationParameters) DeepCopy() *RbacAuthorizationParameters { + if in == nil { + return nil + } + out := new(RbacAuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionRuleCriteriaObservation) DeepCopyInto(out *RetentionRuleCriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionRuleCriteriaObservation. +func (in *RetentionRuleCriteriaObservation) DeepCopy() *RetentionRuleCriteriaObservation { + if in == nil { + return nil + } + out := new(RetentionRuleCriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionRuleCriteriaParameters) DeepCopyInto(out *RetentionRuleCriteriaParameters) { + *out = *in + if in.AbsoluteCriteria != nil { + in, out := &in.AbsoluteCriteria, &out.AbsoluteCriteria + *out = new(string) + **out = **in + } + if in.DaysOfWeek != nil { + in, out := &in.DaysOfWeek, &out.DaysOfWeek + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MonthsOfYear != nil { + in, out := &in.MonthsOfYear, &out.MonthsOfYear + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ScheduledBackupTimes != nil { + in, out := &in.ScheduledBackupTimes, &out.ScheduledBackupTimes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WeeksOfMonth != nil { + in, out := &in.WeeksOfMonth, &out.WeeksOfMonth + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionRuleCriteriaParameters. +func (in *RetentionRuleCriteriaParameters) DeepCopy() *RetentionRuleCriteriaParameters { + if in == nil { + return nil + } + out := new(RetentionRuleCriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionRuleObservation) DeepCopyInto(out *RetentionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionRuleObservation. +func (in *RetentionRuleObservation) DeepCopy() *RetentionRuleObservation { + if in == nil { + return nil + } + out := new(RetentionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionRuleParameters) DeepCopyInto(out *RetentionRuleParameters) { + *out = *in + if in.Criteria != nil { + in, out := &in.Criteria, &out.Criteria + *out = make([]CriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Duration != nil { + in, out := &in.Duration, &out.Duration + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionRuleParameters. +func (in *RetentionRuleParameters) DeepCopy() *RetentionRuleParameters { + if in == nil { + return nil + } + out := new(RetentionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation. +func (in *ScheduleObservation) DeepCopy() *ScheduleObservation { + if in == nil { + return nil + } + out := new(ScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { + *out = *in + if in.DaysOfMonth != nil { + in, out := &in.DaysOfMonth, &out.DaysOfMonth + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.DaysOfWeek != nil { + in, out := &in.DaysOfWeek, &out.DaysOfWeek + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Hours != nil { + in, out := &in.Hours, &out.Hours + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.Minutes != nil { + in, out := &in.Minutes, &out.Minutes + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.Monthly != nil { + in, out := &in.Monthly, &out.Monthly + *out = make([]MonthlyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters. +func (in *ScheduleParameters) DeepCopy() *ScheduleParameters { + if in == nil { + return nil + } + out := new(ScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SchemaColumnObservation) DeepCopyInto(out *SchemaColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaColumnObservation. +func (in *SchemaColumnObservation) DeepCopy() *SchemaColumnObservation { + if in == nil { + return nil + } + out := new(SchemaColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SchemaColumnParameters) DeepCopyInto(out *SchemaColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaColumnParameters. +func (in *SchemaColumnParameters) DeepCopy() *SchemaColumnParameters { + if in == nil { + return nil + } + out := new(SchemaColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SchemaLinkedServiceObservation) DeepCopyInto(out *SchemaLinkedServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaLinkedServiceObservation. +func (in *SchemaLinkedServiceObservation) DeepCopy() *SchemaLinkedServiceObservation { + if in == nil { + return nil + } + out := new(SchemaLinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SchemaLinkedServiceParameters) DeepCopyInto(out *SchemaLinkedServiceParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaLinkedServiceParameters. +func (in *SchemaLinkedServiceParameters) DeepCopy() *SchemaLinkedServiceParameters { + if in == nil { + return nil + } + out := new(SchemaLinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SftpServerLocationObservation) DeepCopyInto(out *SftpServerLocationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SftpServerLocationObservation. +func (in *SftpServerLocationObservation) DeepCopy() *SftpServerLocationObservation { + if in == nil { + return nil + } + out := new(SftpServerLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SftpServerLocationParameters) DeepCopyInto(out *SftpServerLocationParameters) { + *out = *in + if in.DynamicFilenameEnabled != nil { + in, out := &in.DynamicFilenameEnabled, &out.DynamicFilenameEnabled + *out = new(bool) + **out = **in + } + if in.DynamicPathEnabled != nil { + in, out := &in.DynamicPathEnabled, &out.DynamicPathEnabled + *out = new(bool) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SftpServerLocationParameters. +func (in *SftpServerLocationParameters) DeepCopy() *SftpServerLocationParameters { + if in == nil { + return nil + } + out := new(SftpServerLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Share) DeepCopyInto(out *Share) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Share. +func (in *Share) DeepCopy() *Share { + if in == nil { + return nil + } + out := new(Share) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Share) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccount) DeepCopyInto(out *ShareAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccount. +func (in *ShareAccount) DeepCopy() *ShareAccount { + if in == nil { + return nil + } + out := new(ShareAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountIdentityObservation) DeepCopyInto(out *ShareAccountIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountIdentityObservation. +func (in *ShareAccountIdentityObservation) DeepCopy() *ShareAccountIdentityObservation { + if in == nil { + return nil + } + out := new(ShareAccountIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountIdentityParameters) DeepCopyInto(out *ShareAccountIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountIdentityParameters. +func (in *ShareAccountIdentityParameters) DeepCopy() *ShareAccountIdentityParameters { + if in == nil { + return nil + } + out := new(ShareAccountIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountList) DeepCopyInto(out *ShareAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountList. +func (in *ShareAccountList) DeepCopy() *ShareAccountList { + if in == nil { + return nil + } + out := new(ShareAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountObservation) DeepCopyInto(out *ShareAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountObservation. +func (in *ShareAccountObservation) DeepCopy() *ShareAccountObservation { + if in == nil { + return nil + } + out := new(ShareAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountParameters) DeepCopyInto(out *ShareAccountParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]ShareAccountIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountParameters. +func (in *ShareAccountParameters) DeepCopy() *ShareAccountParameters { + if in == nil { + return nil + } + out := new(ShareAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountSpec) DeepCopyInto(out *ShareAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountSpec. +func (in *ShareAccountSpec) DeepCopy() *ShareAccountSpec { + if in == nil { + return nil + } + out := new(ShareAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareAccountStatus) DeepCopyInto(out *ShareAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareAccountStatus. +func (in *ShareAccountStatus) DeepCopy() *ShareAccountStatus { + if in == nil { + return nil + } + out := new(ShareAccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetBlobStorage) DeepCopyInto(out *ShareDatasetBlobStorage) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetBlobStorage. +func (in *ShareDatasetBlobStorage) DeepCopy() *ShareDatasetBlobStorage { + if in == nil { + return nil + } + out := new(ShareDatasetBlobStorage) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetBlobStorage) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetBlobStorageList) DeepCopyInto(out *ShareDatasetBlobStorageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareDatasetBlobStorage, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetBlobStorageList. +func (in *ShareDatasetBlobStorageList) DeepCopy() *ShareDatasetBlobStorageList { + if in == nil { + return nil + } + out := new(ShareDatasetBlobStorageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetBlobStorageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetBlobStorageObservation) DeepCopyInto(out *ShareDatasetBlobStorageObservation) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetBlobStorageObservation. +func (in *ShareDatasetBlobStorageObservation) DeepCopy() *ShareDatasetBlobStorageObservation { + if in == nil { + return nil + } + out := new(ShareDatasetBlobStorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetBlobStorageParameters) DeepCopyInto(out *ShareDatasetBlobStorageParameters) { + *out = *in + if in.ContainerName != nil { + in, out := &in.ContainerName, &out.ContainerName + *out = new(string) + **out = **in + } + if in.DataShareID != nil { + in, out := &in.DataShareID, &out.DataShareID + *out = new(string) + **out = **in + } + if in.FilePath != nil { + in, out := &in.FilePath, &out.FilePath + *out = new(string) + **out = **in + } + if in.FolderPath != nil { + in, out := &in.FolderPath, &out.FolderPath + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]StorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetBlobStorageParameters. +func (in *ShareDatasetBlobStorageParameters) DeepCopy() *ShareDatasetBlobStorageParameters { + if in == nil { + return nil + } + out := new(ShareDatasetBlobStorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetBlobStorageSpec) DeepCopyInto(out *ShareDatasetBlobStorageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetBlobStorageSpec. +func (in *ShareDatasetBlobStorageSpec) DeepCopy() *ShareDatasetBlobStorageSpec { + if in == nil { + return nil + } + out := new(ShareDatasetBlobStorageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetBlobStorageStatus) DeepCopyInto(out *ShareDatasetBlobStorageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetBlobStorageStatus. +func (in *ShareDatasetBlobStorageStatus) DeepCopy() *ShareDatasetBlobStorageStatus { + if in == nil { + return nil + } + out := new(ShareDatasetBlobStorageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen1) DeepCopyInto(out *ShareDatasetDataLakeGen1) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen1. +func (in *ShareDatasetDataLakeGen1) DeepCopy() *ShareDatasetDataLakeGen1 { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen1) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetDataLakeGen1) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen1List) DeepCopyInto(out *ShareDatasetDataLakeGen1List) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareDatasetDataLakeGen1, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen1List. +func (in *ShareDatasetDataLakeGen1List) DeepCopy() *ShareDatasetDataLakeGen1List { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen1List) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetDataLakeGen1List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen1Observation) DeepCopyInto(out *ShareDatasetDataLakeGen1Observation) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen1Observation. +func (in *ShareDatasetDataLakeGen1Observation) DeepCopy() *ShareDatasetDataLakeGen1Observation { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen1Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen1Parameters) DeepCopyInto(out *ShareDatasetDataLakeGen1Parameters) { + *out = *in + if in.DataLakeStoreID != nil { + in, out := &in.DataLakeStoreID, &out.DataLakeStoreID + *out = new(string) + **out = **in + } + if in.DataShareID != nil { + in, out := &in.DataShareID, &out.DataShareID + *out = new(string) + **out = **in + } + if in.FileName != nil { + in, out := &in.FileName, &out.FileName + *out = new(string) + **out = **in + } + if in.FolderPath != nil { + in, out := &in.FolderPath, &out.FolderPath + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen1Parameters. +func (in *ShareDatasetDataLakeGen1Parameters) DeepCopy() *ShareDatasetDataLakeGen1Parameters { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen1Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen1Spec) DeepCopyInto(out *ShareDatasetDataLakeGen1Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen1Spec. +func (in *ShareDatasetDataLakeGen1Spec) DeepCopy() *ShareDatasetDataLakeGen1Spec { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen1Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen1Status) DeepCopyInto(out *ShareDatasetDataLakeGen1Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen1Status. +func (in *ShareDatasetDataLakeGen1Status) DeepCopy() *ShareDatasetDataLakeGen1Status { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen1Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen2) DeepCopyInto(out *ShareDatasetDataLakeGen2) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen2. +func (in *ShareDatasetDataLakeGen2) DeepCopy() *ShareDatasetDataLakeGen2 { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen2) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetDataLakeGen2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen2List) DeepCopyInto(out *ShareDatasetDataLakeGen2List) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareDatasetDataLakeGen2, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen2List. +func (in *ShareDatasetDataLakeGen2List) DeepCopy() *ShareDatasetDataLakeGen2List { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen2List) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetDataLakeGen2List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen2Observation) DeepCopyInto(out *ShareDatasetDataLakeGen2Observation) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen2Observation. +func (in *ShareDatasetDataLakeGen2Observation) DeepCopy() *ShareDatasetDataLakeGen2Observation { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen2Parameters) DeepCopyInto(out *ShareDatasetDataLakeGen2Parameters) { + *out = *in + if in.FilePath != nil { + in, out := &in.FilePath, &out.FilePath + *out = new(string) + **out = **in + } + if in.FileSystemName != nil { + in, out := &in.FileSystemName, &out.FileSystemName + *out = new(string) + **out = **in + } + if in.FolderPath != nil { + in, out := &in.FolderPath, &out.FolderPath + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ShareID != nil { + in, out := &in.ShareID, &out.ShareID + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen2Parameters. +func (in *ShareDatasetDataLakeGen2Parameters) DeepCopy() *ShareDatasetDataLakeGen2Parameters { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen2Spec) DeepCopyInto(out *ShareDatasetDataLakeGen2Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen2Spec. +func (in *ShareDatasetDataLakeGen2Spec) DeepCopy() *ShareDatasetDataLakeGen2Spec { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen2Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetDataLakeGen2Status) DeepCopyInto(out *ShareDatasetDataLakeGen2Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetDataLakeGen2Status. +func (in *ShareDatasetDataLakeGen2Status) DeepCopy() *ShareDatasetDataLakeGen2Status { + if in == nil { + return nil + } + out := new(ShareDatasetDataLakeGen2Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoCluster) DeepCopyInto(out *ShareDatasetKustoCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoCluster. +func (in *ShareDatasetKustoCluster) DeepCopy() *ShareDatasetKustoCluster { + if in == nil { + return nil + } + out := new(ShareDatasetKustoCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetKustoCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoClusterList) DeepCopyInto(out *ShareDatasetKustoClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareDatasetKustoCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoClusterList. +func (in *ShareDatasetKustoClusterList) DeepCopy() *ShareDatasetKustoClusterList { + if in == nil { + return nil + } + out := new(ShareDatasetKustoClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetKustoClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoClusterObservation) DeepCopyInto(out *ShareDatasetKustoClusterObservation) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.KustoClusterLocation != nil { + in, out := &in.KustoClusterLocation, &out.KustoClusterLocation + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoClusterObservation. +func (in *ShareDatasetKustoClusterObservation) DeepCopy() *ShareDatasetKustoClusterObservation { + if in == nil { + return nil + } + out := new(ShareDatasetKustoClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoClusterParameters) DeepCopyInto(out *ShareDatasetKustoClusterParameters) { + *out = *in + if in.KustoClusterID != nil { + in, out := &in.KustoClusterID, &out.KustoClusterID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ShareID != nil { + in, out := &in.ShareID, &out.ShareID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoClusterParameters. +func (in *ShareDatasetKustoClusterParameters) DeepCopy() *ShareDatasetKustoClusterParameters { + if in == nil { + return nil + } + out := new(ShareDatasetKustoClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoClusterSpec) DeepCopyInto(out *ShareDatasetKustoClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoClusterSpec. +func (in *ShareDatasetKustoClusterSpec) DeepCopy() *ShareDatasetKustoClusterSpec { + if in == nil { + return nil + } + out := new(ShareDatasetKustoClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoClusterStatus) DeepCopyInto(out *ShareDatasetKustoClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoClusterStatus. +func (in *ShareDatasetKustoClusterStatus) DeepCopy() *ShareDatasetKustoClusterStatus { + if in == nil { + return nil + } + out := new(ShareDatasetKustoClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoDatabase) DeepCopyInto(out *ShareDatasetKustoDatabase) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoDatabase. +func (in *ShareDatasetKustoDatabase) DeepCopy() *ShareDatasetKustoDatabase { + if in == nil { + return nil + } + out := new(ShareDatasetKustoDatabase) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetKustoDatabase) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoDatabaseList) DeepCopyInto(out *ShareDatasetKustoDatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareDatasetKustoDatabase, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoDatabaseList. +func (in *ShareDatasetKustoDatabaseList) DeepCopy() *ShareDatasetKustoDatabaseList { + if in == nil { + return nil + } + out := new(ShareDatasetKustoDatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDatasetKustoDatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoDatabaseObservation) DeepCopyInto(out *ShareDatasetKustoDatabaseObservation) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.KustoClusterLocation != nil { + in, out := &in.KustoClusterLocation, &out.KustoClusterLocation + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoDatabaseObservation. +func (in *ShareDatasetKustoDatabaseObservation) DeepCopy() *ShareDatasetKustoDatabaseObservation { + if in == nil { + return nil + } + out := new(ShareDatasetKustoDatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoDatabaseParameters) DeepCopyInto(out *ShareDatasetKustoDatabaseParameters) { + *out = *in + if in.KustoDatabaseID != nil { + in, out := &in.KustoDatabaseID, &out.KustoDatabaseID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ShareID != nil { + in, out := &in.ShareID, &out.ShareID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoDatabaseParameters. +func (in *ShareDatasetKustoDatabaseParameters) DeepCopy() *ShareDatasetKustoDatabaseParameters { + if in == nil { + return nil + } + out := new(ShareDatasetKustoDatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoDatabaseSpec) DeepCopyInto(out *ShareDatasetKustoDatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoDatabaseSpec. +func (in *ShareDatasetKustoDatabaseSpec) DeepCopy() *ShareDatasetKustoDatabaseSpec { + if in == nil { + return nil + } + out := new(ShareDatasetKustoDatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareDatasetKustoDatabaseStatus) DeepCopyInto(out *ShareDatasetKustoDatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDatasetKustoDatabaseStatus. +func (in *ShareDatasetKustoDatabaseStatus) DeepCopy() *ShareDatasetKustoDatabaseStatus { + if in == nil { + return nil + } + out := new(ShareDatasetKustoDatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareList) DeepCopyInto(out *ShareList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Share, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareList. +func (in *ShareList) DeepCopy() *ShareList { + if in == nil { + return nil + } + out := new(ShareList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareObservation) DeepCopyInto(out *ShareObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareObservation. +func (in *ShareObservation) DeepCopy() *ShareObservation { + if in == nil { + return nil + } + out := new(ShareObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareParameters) DeepCopyInto(out *ShareParameters) { + *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SnapshotSchedule != nil { + in, out := &in.SnapshotSchedule, &out.SnapshotSchedule + *out = make([]SnapshotScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Terms != nil { + in, out := &in.Terms, &out.Terms + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareParameters. +func (in *ShareParameters) DeepCopy() *ShareParameters { + if in == nil { + return nil + } + out := new(ShareParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareSpec) DeepCopyInto(out *ShareSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareSpec. +func (in *ShareSpec) DeepCopy() *ShareSpec { + if in == nil { + return nil + } + out := new(ShareSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShareStatus) DeepCopyInto(out *ShareStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareStatus. +func (in *ShareStatus) DeepCopy() *ShareStatus { + if in == nil { + return nil + } + out := new(ShareStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SinkLinkedServiceObservation) DeepCopyInto(out *SinkLinkedServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkLinkedServiceObservation. +func (in *SinkLinkedServiceObservation) DeepCopy() *SinkLinkedServiceObservation { + if in == nil { + return nil + } + out := new(SinkLinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SinkLinkedServiceParameters) DeepCopyInto(out *SinkLinkedServiceParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkLinkedServiceParameters. +func (in *SinkLinkedServiceParameters) DeepCopy() *SinkLinkedServiceParameters { + if in == nil { + return nil + } + out := new(SinkLinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SinkObservation) DeepCopyInto(out *SinkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkObservation. +func (in *SinkObservation) DeepCopy() *SinkObservation { + if in == nil { + return nil + } + out := new(SinkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SinkParameters) DeepCopyInto(out *SinkParameters) { + *out = *in + if in.Dataset != nil { + in, out := &in.Dataset, &out.Dataset + *out = make([]DatasetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.LinkedService != nil { + in, out := &in.LinkedService, &out.LinkedService + *out = make([]SinkLinkedServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SchemaLinkedService != nil { + in, out := &in.SchemaLinkedService, &out.SchemaLinkedService + *out = make([]SchemaLinkedServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkParameters. +func (in *SinkParameters) DeepCopy() *SinkParameters { + if in == nil { + return nil + } + out := new(SinkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotScheduleObservation) DeepCopyInto(out *SnapshotScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotScheduleObservation. +func (in *SnapshotScheduleObservation) DeepCopy() *SnapshotScheduleObservation { + if in == nil { + return nil + } + out := new(SnapshotScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotScheduleParameters) DeepCopyInto(out *SnapshotScheduleParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = new(string) + **out = **in + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotScheduleParameters. +func (in *SnapshotScheduleParameters) DeepCopy() *SnapshotScheduleParameters { + if in == nil { + return nil + } + out := new(SnapshotScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceDatasetObservation) DeepCopyInto(out *SourceDatasetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceDatasetObservation. +func (in *SourceDatasetObservation) DeepCopy() *SourceDatasetObservation { + if in == nil { + return nil + } + out := new(SourceDatasetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceDatasetParameters) DeepCopyInto(out *SourceDatasetParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceDatasetParameters. +func (in *SourceDatasetParameters) DeepCopy() *SourceDatasetParameters { + if in == nil { + return nil + } + out := new(SourceDatasetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceLinkedServiceObservation) DeepCopyInto(out *SourceLinkedServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceLinkedServiceObservation. +func (in *SourceLinkedServiceObservation) DeepCopy() *SourceLinkedServiceObservation { + if in == nil { + return nil + } + out := new(SourceLinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceLinkedServiceParameters) DeepCopyInto(out *SourceLinkedServiceParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceLinkedServiceParameters. +func (in *SourceLinkedServiceParameters) DeepCopy() *SourceLinkedServiceParameters { + if in == nil { + return nil + } + out := new(SourceLinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceObservation) DeepCopyInto(out *SourceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation. +func (in *SourceObservation) DeepCopy() *SourceObservation { + if in == nil { + return nil + } + out := new(SourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceParameters) DeepCopyInto(out *SourceParameters) { + *out = *in + if in.Dataset != nil { + in, out := &in.Dataset, &out.Dataset + *out = make([]SourceDatasetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.LinkedService != nil { + in, out := &in.LinkedService, &out.LinkedService + *out = make([]SourceLinkedServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SchemaLinkedService != nil { + in, out := &in.SchemaLinkedService, &out.SchemaLinkedService + *out = make([]SourceSchemaLinkedServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters. +func (in *SourceParameters) DeepCopy() *SourceParameters { + if in == nil { + return nil + } + out := new(SourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceSchemaLinkedServiceObservation) DeepCopyInto(out *SourceSchemaLinkedServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSchemaLinkedServiceObservation. +func (in *SourceSchemaLinkedServiceObservation) DeepCopy() *SourceSchemaLinkedServiceObservation { + if in == nil { + return nil + } + out := new(SourceSchemaLinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceSchemaLinkedServiceParameters) DeepCopyInto(out *SourceSchemaLinkedServiceParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSchemaLinkedServiceParameters. +func (in *SourceSchemaLinkedServiceParameters) DeepCopy() *SourceSchemaLinkedServiceParameters { + if in == nil { + return nil + } + out := new(SourceSchemaLinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountObservation) DeepCopyInto(out *StorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountObservation. +func (in *StorageAccountObservation) DeepCopy() *StorageAccountObservation { + if in == nil { + return nil + } + out := new(StorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountParameters) DeepCopyInto(out *StorageAccountParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountParameters. +func (in *StorageAccountParameters) DeepCopy() *StorageAccountParameters { + if in == nil { + return nil + } + out := new(StorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StructureColumnObservation) DeepCopyInto(out *StructureColumnObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructureColumnObservation. +func (in *StructureColumnObservation) DeepCopy() *StructureColumnObservation { + if in == nil { + return nil + } + out := new(StructureColumnObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StructureColumnParameters) DeepCopyInto(out *StructureColumnParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructureColumnParameters. +func (in *StructureColumnParameters) DeepCopy() *StructureColumnParameters { + if in == nil { + return nil + } + out := new(StructureColumnParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformationObservation) DeepCopyInto(out *TransformationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformationObservation. +func (in *TransformationObservation) DeepCopy() *TransformationObservation { + if in == nil { + return nil + } + out := new(TransformationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformationParameters) DeepCopyInto(out *TransformationParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformationParameters. +func (in *TransformationParameters) DeepCopy() *TransformationParameters { + if in == nil { + return nil + } + out := new(TransformationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VnetIntegrationObservation) DeepCopyInto(out *VnetIntegrationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnetIntegrationObservation. +func (in *VnetIntegrationObservation) DeepCopy() *VnetIntegrationObservation { + if in == nil { + return nil + } + out := new(VnetIntegrationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VnetIntegrationParameters) DeepCopyInto(out *VnetIntegrationParameters) { + *out = *in + if in.PublicIps != nil { + in, out := &in.PublicIps, &out.PublicIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.SubnetName != nil { + in, out := &in.SubnetName, &out.SubnetName + *out = new(string) + **out = **in + } + if in.VnetID != nil { + in, out := &in.VnetID, &out.VnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnetIntegrationParameters. +func (in *VnetIntegrationParameters) DeepCopy() *VnetIntegrationParameters { + if in == nil { + return nil + } + out := new(VnetIntegrationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VstsConfigurationObservation) DeepCopyInto(out *VstsConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VstsConfigurationObservation. +func (in *VstsConfigurationObservation) DeepCopy() *VstsConfigurationObservation { + if in == nil { + return nil + } + out := new(VstsConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VstsConfigurationParameters) DeepCopyInto(out *VstsConfigurationParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.BranchName != nil { + in, out := &in.BranchName, &out.BranchName + *out = new(string) + **out = **in + } + if in.ProjectName != nil { + in, out := &in.ProjectName, &out.ProjectName + *out = new(string) + **out = **in + } + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RootFolder != nil { + in, out := &in.RootFolder, &out.RootFolder + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VstsConfigurationParameters. +func (in *VstsConfigurationParameters) DeepCopy() *VstsConfigurationParameters { + if in == nil { + return nil + } + out := new(VstsConfigurationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/data/v1alpha1/zz_generated.managed.go b/apis/data/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..5687cdc17 --- /dev/null +++ b/apis/data/v1alpha1/zz_generated.managed.go @@ -0,0 +1,3492 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Factory. +func (mg *Factory) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Factory. +func (mg *Factory) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Factory. +func (mg *Factory) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Factory. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Factory) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Factory. +func (mg *Factory) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Factory. +func (mg *Factory) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Factory. +func (mg *Factory) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Factory. +func (mg *Factory) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Factory. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Factory) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Factory. +func (mg *Factory) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryCustomDataset. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryCustomDataset) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryCustomDataset. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryCustomDataset) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryCustomDataset. +func (mg *FactoryCustomDataset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDataFlow. +func (mg *FactoryDataFlow) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDataFlow. +func (mg *FactoryDataFlow) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDataFlow. +func (mg *FactoryDataFlow) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDataFlow. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDataFlow) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDataFlow. +func (mg *FactoryDataFlow) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDataFlow. +func (mg *FactoryDataFlow) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDataFlow. +func (mg *FactoryDataFlow) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDataFlow. +func (mg *FactoryDataFlow) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDataFlow. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDataFlow) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDataFlow. +func (mg *FactoryDataFlow) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetAzureBlob. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetAzureBlob) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetAzureBlob. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetAzureBlob) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetAzureBlob. +func (mg *FactoryDatasetAzureBlob) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetBinary. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetBinary) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetBinary. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetBinary) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetBinary. +func (mg *FactoryDatasetBinary) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetCosmosdbSqlapi. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetCosmosdbSqlapi) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetCosmosdbSqlapi. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetCosmosdbSqlapi) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetCosmosdbSqlapi. +func (mg *FactoryDatasetCosmosdbSqlapi) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetDelimitedText. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetDelimitedText) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetDelimitedText. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetDelimitedText) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetDelimitedText. +func (mg *FactoryDatasetDelimitedText) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetHttp. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetHttp) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetHttp. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetHttp) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetHttp. +func (mg *FactoryDatasetHttp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetJson. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetJson) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetJson. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetJson) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetJson. +func (mg *FactoryDatasetJson) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetMysql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetMysql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetMysql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetMysql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetMysql. +func (mg *FactoryDatasetMysql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetParquet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetParquet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetParquet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetParquet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetParquet. +func (mg *FactoryDatasetParquet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetPostgresql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetPostgresql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetPostgresql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetPostgresql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetPostgresql. +func (mg *FactoryDatasetPostgresql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetSnowflake. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetSnowflake) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetSnowflake. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetSnowflake) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetSnowflake. +func (mg *FactoryDatasetSnowflake) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryDatasetSqlServerTable. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryDatasetSqlServerTable) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryDatasetSqlServerTable. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryDatasetSqlServerTable) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryDatasetSqlServerTable. +func (mg *FactoryDatasetSqlServerTable) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryIntegrationRuntimeAzure. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeAzure) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryIntegrationRuntimeAzure. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeAzure) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeAzure. +func (mg *FactoryIntegrationRuntimeAzure) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryIntegrationRuntimeAzureSsis. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeAzureSsis) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryIntegrationRuntimeAzureSsis. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeAzureSsis) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeAzureSsis. +func (mg *FactoryIntegrationRuntimeAzureSsis) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryIntegrationRuntimeManaged. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeManaged) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryIntegrationRuntimeManaged. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeManaged) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeManaged. +func (mg *FactoryIntegrationRuntimeManaged) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryIntegrationRuntimeSelfHosted. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeSelfHosted) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryIntegrationRuntimeSelfHosted. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryIntegrationRuntimeSelfHosted) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryIntegrationRuntimeSelfHosted. +func (mg *FactoryIntegrationRuntimeSelfHosted) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedCustomService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedCustomService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedCustomService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedCustomService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedCustomService. +func (mg *FactoryLinkedCustomService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureBlobStorage. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureBlobStorage) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureBlobStorage. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureBlobStorage) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureBlobStorage. +func (mg *FactoryLinkedServiceAzureBlobStorage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureDatabricks. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureDatabricks) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureDatabricks. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureDatabricks) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureDatabricks. +func (mg *FactoryLinkedServiceAzureDatabricks) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureFileStorage. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureFileStorage) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureFileStorage. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureFileStorage) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureFileStorage. +func (mg *FactoryLinkedServiceAzureFileStorage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureFunction. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureFunction) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureFunction. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureFunction) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureFunction. +func (mg *FactoryLinkedServiceAzureFunction) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureSearch. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureSearch) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureSearch. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureSearch) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureSearch. +func (mg *FactoryLinkedServiceAzureSearch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureSqlDatabase. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureSqlDatabase) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureSqlDatabase. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureSqlDatabase) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureSqlDatabase. +func (mg *FactoryLinkedServiceAzureSqlDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceAzureTableStorage. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureTableStorage) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceAzureTableStorage. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceAzureTableStorage) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceAzureTableStorage. +func (mg *FactoryLinkedServiceAzureTableStorage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceCosmosdb. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceCosmosdb) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceCosmosdb. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceCosmosdb) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceCosmosdb. +func (mg *FactoryLinkedServiceCosmosdb) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceDataLakeStorageGen2. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceDataLakeStorageGen2) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceDataLakeStorageGen2. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceDataLakeStorageGen2) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceDataLakeStorageGen2. +func (mg *FactoryLinkedServiceDataLakeStorageGen2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceKeyVault. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceKeyVault) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceKeyVault. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceKeyVault) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceKeyVault. +func (mg *FactoryLinkedServiceKeyVault) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceKusto. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceKusto) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceKusto. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceKusto) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceKusto. +func (mg *FactoryLinkedServiceKusto) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceMysql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceMysql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceMysql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceMysql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceMysql. +func (mg *FactoryLinkedServiceMysql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceOdata. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceOdata) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceOdata. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceOdata) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceOdata. +func (mg *FactoryLinkedServiceOdata) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServicePostgresql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServicePostgresql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServicePostgresql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServicePostgresql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServicePostgresql. +func (mg *FactoryLinkedServicePostgresql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceSftp. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSftp) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceSftp. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSftp) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceSftp. +func (mg *FactoryLinkedServiceSftp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceSnowflake. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSnowflake) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceSnowflake. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSnowflake) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceSnowflake. +func (mg *FactoryLinkedServiceSnowflake) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceSqlServer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSqlServer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceSqlServer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSqlServer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceSqlServer. +func (mg *FactoryLinkedServiceSqlServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceSynapse. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSynapse) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceSynapse. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceSynapse) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceSynapse. +func (mg *FactoryLinkedServiceSynapse) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryLinkedServiceWeb. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceWeb) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryLinkedServiceWeb. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryLinkedServiceWeb) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryLinkedServiceWeb. +func (mg *FactoryLinkedServiceWeb) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryManagedPrivateEndpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryManagedPrivateEndpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryManagedPrivateEndpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryManagedPrivateEndpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryManagedPrivateEndpoint. +func (mg *FactoryManagedPrivateEndpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryPipeline. +func (mg *FactoryPipeline) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryPipeline. +func (mg *FactoryPipeline) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryPipeline. +func (mg *FactoryPipeline) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryPipeline. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryPipeline) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryPipeline. +func (mg *FactoryPipeline) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryPipeline. +func (mg *FactoryPipeline) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryPipeline. +func (mg *FactoryPipeline) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryPipeline. +func (mg *FactoryPipeline) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryPipeline. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryPipeline) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryPipeline. +func (mg *FactoryPipeline) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryTriggerBlobEvent. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryTriggerBlobEvent) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryTriggerBlobEvent. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryTriggerBlobEvent) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryTriggerBlobEvent. +func (mg *FactoryTriggerBlobEvent) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryTriggerCustomEvent. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryTriggerCustomEvent) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryTriggerCustomEvent. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryTriggerCustomEvent) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryTriggerCustomEvent. +func (mg *FactoryTriggerCustomEvent) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FactoryTriggerSchedule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FactoryTriggerSchedule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FactoryTriggerSchedule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FactoryTriggerSchedule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FactoryTriggerSchedule. +func (mg *FactoryTriggerSchedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LakeAnalyticsFirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LakeAnalyticsFirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LakeAnalyticsFirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LakeAnalyticsFirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LakeAnalyticsFirewallRule. +func (mg *LakeAnalyticsFirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LakeStore. +func (mg *LakeStore) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LakeStore. +func (mg *LakeStore) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LakeStore. +func (mg *LakeStore) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LakeStore. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LakeStore) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LakeStore. +func (mg *LakeStore) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LakeStore. +func (mg *LakeStore) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LakeStore. +func (mg *LakeStore) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LakeStore. +func (mg *LakeStore) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LakeStore. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LakeStore) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LakeStore. +func (mg *LakeStore) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LakeStoreFile. +func (mg *LakeStoreFile) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LakeStoreFile. +func (mg *LakeStoreFile) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LakeStoreFile. +func (mg *LakeStoreFile) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LakeStoreFile. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LakeStoreFile) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LakeStoreFile. +func (mg *LakeStoreFile) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LakeStoreFile. +func (mg *LakeStoreFile) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LakeStoreFile. +func (mg *LakeStoreFile) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LakeStoreFile. +func (mg *LakeStoreFile) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LakeStoreFile. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LakeStoreFile) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LakeStoreFile. +func (mg *LakeStoreFile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LakeStoreFirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LakeStoreFirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LakeStoreFirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LakeStoreFirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LakeStoreFirewallRule. +func (mg *LakeStoreFirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LakeStoreVirtualNetworkRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LakeStoreVirtualNetworkRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LakeStoreVirtualNetworkRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LakeStoreVirtualNetworkRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LakeStoreVirtualNetworkRule. +func (mg *LakeStoreVirtualNetworkRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupInstanceBlobStorage. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupInstanceBlobStorage) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupInstanceBlobStorage. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupInstanceBlobStorage) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupInstanceBlobStorage. +func (mg *ProtectionBackupInstanceBlobStorage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupInstanceDisk. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupInstanceDisk) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupInstanceDisk. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupInstanceDisk) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupInstanceDisk. +func (mg *ProtectionBackupInstanceDisk) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupInstancePostgresql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupInstancePostgresql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupInstancePostgresql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupInstancePostgresql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupInstancePostgresql. +func (mg *ProtectionBackupInstancePostgresql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupPolicyBlobStorage. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupPolicyBlobStorage) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupPolicyBlobStorage. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupPolicyBlobStorage) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupPolicyBlobStorage. +func (mg *ProtectionBackupPolicyBlobStorage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupPolicyDisk. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupPolicyDisk) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupPolicyDisk. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupPolicyDisk) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupPolicyDisk. +func (mg *ProtectionBackupPolicyDisk) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupPolicyPostgresql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupPolicyPostgresql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupPolicyPostgresql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupPolicyPostgresql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupPolicyPostgresql. +func (mg *ProtectionBackupPolicyPostgresql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProtectionBackupVault. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProtectionBackupVault) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProtectionBackupVault. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProtectionBackupVault) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProtectionBackupVault. +func (mg *ProtectionBackupVault) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Share. +func (mg *Share) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Share. +func (mg *Share) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Share. +func (mg *Share) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Share. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Share) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Share. +func (mg *Share) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Share. +func (mg *Share) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Share. +func (mg *Share) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Share. +func (mg *Share) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Share. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Share) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Share. +func (mg *Share) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareAccount. +func (mg *ShareAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareAccount. +func (mg *ShareAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareAccount. +func (mg *ShareAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareAccount. +func (mg *ShareAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareAccount. +func (mg *ShareAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareAccount. +func (mg *ShareAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareAccount. +func (mg *ShareAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareAccount. +func (mg *ShareAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareDatasetBlobStorage. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareDatasetBlobStorage) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareDatasetBlobStorage. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareDatasetBlobStorage) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareDatasetBlobStorage. +func (mg *ShareDatasetBlobStorage) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareDatasetDataLakeGen1. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareDatasetDataLakeGen1) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareDatasetDataLakeGen1. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareDatasetDataLakeGen1) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareDatasetDataLakeGen1. +func (mg *ShareDatasetDataLakeGen1) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareDatasetDataLakeGen2. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareDatasetDataLakeGen2) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareDatasetDataLakeGen2. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareDatasetDataLakeGen2) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareDatasetDataLakeGen2. +func (mg *ShareDatasetDataLakeGen2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareDatasetKustoCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareDatasetKustoCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareDatasetKustoCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareDatasetKustoCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareDatasetKustoCluster. +func (mg *ShareDatasetKustoCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareDatasetKustoDatabase. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareDatasetKustoDatabase) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareDatasetKustoDatabase. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareDatasetKustoDatabase) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareDatasetKustoDatabase. +func (mg *ShareDatasetKustoDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/data/v1alpha1/zz_generated.managedlist.go b/apis/data/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..92a7a0d2e --- /dev/null +++ b/apis/data/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,578 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this FactoryCustomDatasetList. +func (l *FactoryCustomDatasetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDataFlowList. +func (l *FactoryDataFlowList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetAzureBlobList. +func (l *FactoryDatasetAzureBlobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetBinaryList. +func (l *FactoryDatasetBinaryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetCosmosdbSqlapiList. +func (l *FactoryDatasetCosmosdbSqlapiList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetDelimitedTextList. +func (l *FactoryDatasetDelimitedTextList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetHttpList. +func (l *FactoryDatasetHttpList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetJsonList. +func (l *FactoryDatasetJsonList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetMysqlList. +func (l *FactoryDatasetMysqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetParquetList. +func (l *FactoryDatasetParquetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetPostgresqlList. +func (l *FactoryDatasetPostgresqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetSnowflakeList. +func (l *FactoryDatasetSnowflakeList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryDatasetSqlServerTableList. +func (l *FactoryDatasetSqlServerTableList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryIntegrationRuntimeAzureList. +func (l *FactoryIntegrationRuntimeAzureList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryIntegrationRuntimeAzureSsisList. +func (l *FactoryIntegrationRuntimeAzureSsisList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryIntegrationRuntimeManagedList. +func (l *FactoryIntegrationRuntimeManagedList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryIntegrationRuntimeSelfHostedList. +func (l *FactoryIntegrationRuntimeSelfHostedList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedCustomServiceList. +func (l *FactoryLinkedCustomServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureBlobStorageList. +func (l *FactoryLinkedServiceAzureBlobStorageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureDatabricksList. +func (l *FactoryLinkedServiceAzureDatabricksList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureFileStorageList. +func (l *FactoryLinkedServiceAzureFileStorageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureFunctionList. +func (l *FactoryLinkedServiceAzureFunctionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureSearchList. +func (l *FactoryLinkedServiceAzureSearchList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureSqlDatabaseList. +func (l *FactoryLinkedServiceAzureSqlDatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceAzureTableStorageList. +func (l *FactoryLinkedServiceAzureTableStorageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceCosmosdbList. +func (l *FactoryLinkedServiceCosmosdbList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceDataLakeStorageGen2List. +func (l *FactoryLinkedServiceDataLakeStorageGen2List) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceKeyVaultList. +func (l *FactoryLinkedServiceKeyVaultList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceKustoList. +func (l *FactoryLinkedServiceKustoList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceMysqlList. +func (l *FactoryLinkedServiceMysqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceOdataList. +func (l *FactoryLinkedServiceOdataList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServicePostgresqlList. +func (l *FactoryLinkedServicePostgresqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceSftpList. +func (l *FactoryLinkedServiceSftpList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceSnowflakeList. +func (l *FactoryLinkedServiceSnowflakeList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceSqlServerList. +func (l *FactoryLinkedServiceSqlServerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceSynapseList. +func (l *FactoryLinkedServiceSynapseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryLinkedServiceWebList. +func (l *FactoryLinkedServiceWebList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryList. +func (l *FactoryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryManagedPrivateEndpointList. +func (l *FactoryManagedPrivateEndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryPipelineList. +func (l *FactoryPipelineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryTriggerBlobEventList. +func (l *FactoryTriggerBlobEventList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryTriggerCustomEventList. +func (l *FactoryTriggerCustomEventList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FactoryTriggerScheduleList. +func (l *FactoryTriggerScheduleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LakeAnalyticsFirewallRuleList. +func (l *LakeAnalyticsFirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LakeStoreFileList. +func (l *LakeStoreFileList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LakeStoreFirewallRuleList. +func (l *LakeStoreFirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LakeStoreList. +func (l *LakeStoreList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LakeStoreVirtualNetworkRuleList. +func (l *LakeStoreVirtualNetworkRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupInstanceBlobStorageList. +func (l *ProtectionBackupInstanceBlobStorageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupInstanceDiskList. +func (l *ProtectionBackupInstanceDiskList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupInstancePostgresqlList. +func (l *ProtectionBackupInstancePostgresqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupPolicyBlobStorageList. +func (l *ProtectionBackupPolicyBlobStorageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupPolicyDiskList. +func (l *ProtectionBackupPolicyDiskList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupPolicyPostgresqlList. +func (l *ProtectionBackupPolicyPostgresqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProtectionBackupVaultList. +func (l *ProtectionBackupVaultList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareAccountList. +func (l *ShareAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareDatasetBlobStorageList. +func (l *ShareDatasetBlobStorageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareDatasetDataLakeGen1List. +func (l *ShareDatasetDataLakeGen1List) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareDatasetDataLakeGen2List. +func (l *ShareDatasetDataLakeGen2List) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareDatasetKustoClusterList. +func (l *ShareDatasetKustoClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareDatasetKustoDatabaseList. +func (l *ShareDatasetKustoDatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareList. +func (l *ShareList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/data/v1alpha1/zz_groupversion_info.go b/apis/data/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..63a589e2b --- /dev/null +++ b/apis/data/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=data.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "data.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/data/v1alpha1/zz_lakeanalyticsfirewallrule_terraformed.go b/apis/data/v1alpha1/zz_lakeanalyticsfirewallrule_terraformed.go new file mode 100755 index 000000000..745b09259 --- /dev/null +++ b/apis/data/v1alpha1/zz_lakeanalyticsfirewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LakeAnalyticsFirewallRule +func (mg *LakeAnalyticsFirewallRule) GetTerraformResourceType() string { + return "azurerm_data_lake_analytics_firewall_rule" +} + +// GetConnectionDetailsMapping for this LakeAnalyticsFirewallRule +func (tr *LakeAnalyticsFirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LakeAnalyticsFirewallRule +func (tr *LakeAnalyticsFirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LakeAnalyticsFirewallRule +func (tr *LakeAnalyticsFirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LakeAnalyticsFirewallRule +func (tr *LakeAnalyticsFirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LakeAnalyticsFirewallRule +func (tr *LakeAnalyticsFirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LakeAnalyticsFirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LakeAnalyticsFirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &LakeAnalyticsFirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LakeAnalyticsFirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_lakeanalyticsfirewallrule_types.go b/apis/data/v1alpha1/zz_lakeanalyticsfirewallrule_types.go new file mode 100755 index 000000000..e33856012 --- /dev/null +++ b/apis/data/v1alpha1/zz_lakeanalyticsfirewallrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LakeAnalyticsFirewallRuleObservation struct { +} + +type LakeAnalyticsFirewallRuleParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` +} + +// LakeAnalyticsFirewallRuleSpec defines the desired state of LakeAnalyticsFirewallRule +type LakeAnalyticsFirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LakeAnalyticsFirewallRuleParameters `json:"forProvider"` +} + +// LakeAnalyticsFirewallRuleStatus defines the observed state of LakeAnalyticsFirewallRule. +type LakeAnalyticsFirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LakeAnalyticsFirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeAnalyticsFirewallRule is the Schema for the LakeAnalyticsFirewallRules API +// +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,azurejet} +type LakeAnalyticsFirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LakeAnalyticsFirewallRuleSpec `json:"spec"` + Status LakeAnalyticsFirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeAnalyticsFirewallRuleList contains a list of LakeAnalyticsFirewallRules +type LakeAnalyticsFirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LakeAnalyticsFirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + LakeAnalyticsFirewallRule_Kind = "LakeAnalyticsFirewallRule" + LakeAnalyticsFirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LakeAnalyticsFirewallRule_Kind}.String() + LakeAnalyticsFirewallRule_KindAPIVersion = LakeAnalyticsFirewallRule_Kind + "." + CRDGroupVersion.String() + LakeAnalyticsFirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(LakeAnalyticsFirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&LakeAnalyticsFirewallRule{}, &LakeAnalyticsFirewallRuleList{}) +} diff --git a/apis/data/v1alpha1/zz_lakestore_terraformed.go b/apis/data/v1alpha1/zz_lakestore_terraformed.go new file mode 100755 index 000000000..4b1bbd8b8 --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestore_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LakeStore +func (mg *LakeStore) GetTerraformResourceType() string { + return "azurerm_data_lake_store" +} + +// GetConnectionDetailsMapping for this LakeStore +func (tr *LakeStore) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LakeStore +func (tr *LakeStore) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LakeStore +func (tr *LakeStore) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LakeStore +func (tr *LakeStore) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LakeStore +func (tr *LakeStore) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LakeStore using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LakeStore) LateInitialize(attrs []byte) (bool, error) { + params := &LakeStoreParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LakeStore) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_lakestore_types.go b/apis/data/v1alpha1/zz_lakestore_types.go new file mode 100755 index 000000000..1e3aefd9a --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestore_types.go @@ -0,0 +1,124 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LakeStoreIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type LakeStoreIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type LakeStoreObservation struct { + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` +} + +type LakeStoreParameters struct { + + // +kubebuilder:validation:Optional + EncryptionState *string `json:"encryptionState,omitempty" tf:"encryption_state,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionType *string `json:"encryptionType,omitempty" tf:"encryption_type,omitempty"` + + // +kubebuilder:validation:Optional + FirewallAllowAzureIps *string `json:"firewallAllowAzureIps,omitempty" tf:"firewall_allow_azure_ips,omitempty"` + + // +kubebuilder:validation:Optional + FirewallState *string `json:"firewallState,omitempty" tf:"firewall_state,omitempty"` + + // +kubebuilder:validation:Optional + Identity []LakeStoreIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` +} + +// LakeStoreSpec defines the desired state of LakeStore +type LakeStoreSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LakeStoreParameters `json:"forProvider"` +} + +// LakeStoreStatus defines the observed state of LakeStore. +type LakeStoreStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LakeStoreObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStore is the Schema for the LakeStores API +// +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,azurejet} +type LakeStore struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LakeStoreSpec `json:"spec"` + Status LakeStoreStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreList contains a list of LakeStores +type LakeStoreList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LakeStore `json:"items"` +} + +// Repository type metadata. +var ( + LakeStore_Kind = "LakeStore" + LakeStore_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LakeStore_Kind}.String() + LakeStore_KindAPIVersion = LakeStore_Kind + "." + CRDGroupVersion.String() + LakeStore_GroupVersionKind = CRDGroupVersion.WithKind(LakeStore_Kind) +) + +func init() { + SchemeBuilder.Register(&LakeStore{}, &LakeStoreList{}) +} diff --git a/apis/data/v1alpha1/zz_lakestorefile_terraformed.go b/apis/data/v1alpha1/zz_lakestorefile_terraformed.go new file mode 100755 index 000000000..c52fcc0f0 --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestorefile_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LakeStoreFile +func (mg *LakeStoreFile) GetTerraformResourceType() string { + return "azurerm_data_lake_store_file" +} + +// GetConnectionDetailsMapping for this LakeStoreFile +func (tr *LakeStoreFile) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LakeStoreFile +func (tr *LakeStoreFile) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LakeStoreFile +func (tr *LakeStoreFile) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LakeStoreFile +func (tr *LakeStoreFile) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LakeStoreFile +func (tr *LakeStoreFile) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LakeStoreFile using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LakeStoreFile) LateInitialize(attrs []byte) (bool, error) { + params := &LakeStoreFileParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LakeStoreFile) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/data/v1alpha1/zz_lakestorefile_types.go b/apis/data/v1alpha1/zz_lakestorefile_types.go new file mode 100755 index 000000000..04e6c961b --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestorefile_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LakeStoreFileObservation struct { +} + +type LakeStoreFileParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + LocalFilePath *string `json:"localFilePath" tf:"local_file_path,omitempty"` + + // +kubebuilder:validation:Required + RemoteFilePath *string `json:"remoteFilePath" tf:"remote_file_path,omitempty"` +} + +// LakeStoreFileSpec defines the desired state of LakeStoreFile +type LakeStoreFileSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LakeStoreFileParameters `json:"forProvider"` +} + +// LakeStoreFileStatus defines the observed state of LakeStoreFile. +type LakeStoreFileStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LakeStoreFileObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreFile is the Schema for the LakeStoreFiles API +// +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,azurejet} +type LakeStoreFile struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LakeStoreFileSpec `json:"spec"` + Status LakeStoreFileStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreFileList contains a list of LakeStoreFiles +type LakeStoreFileList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LakeStoreFile `json:"items"` +} + +// Repository type metadata. +var ( + LakeStoreFile_Kind = "LakeStoreFile" + LakeStoreFile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LakeStoreFile_Kind}.String() + LakeStoreFile_KindAPIVersion = LakeStoreFile_Kind + "." + CRDGroupVersion.String() + LakeStoreFile_GroupVersionKind = CRDGroupVersion.WithKind(LakeStoreFile_Kind) +) + +func init() { + SchemeBuilder.Register(&LakeStoreFile{}, &LakeStoreFileList{}) +} diff --git a/apis/data/v1alpha1/zz_lakestorefirewallrule_terraformed.go b/apis/data/v1alpha1/zz_lakestorefirewallrule_terraformed.go new file mode 100755 index 000000000..e6fb6088c --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestorefirewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LakeStoreFirewallRule +func (mg *LakeStoreFirewallRule) GetTerraformResourceType() string { + return "azurerm_data_lake_store_firewall_rule" +} + +// GetConnectionDetailsMapping for this LakeStoreFirewallRule +func (tr *LakeStoreFirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LakeStoreFirewallRule +func (tr *LakeStoreFirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LakeStoreFirewallRule +func (tr *LakeStoreFirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LakeStoreFirewallRule +func (tr *LakeStoreFirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LakeStoreFirewallRule +func (tr *LakeStoreFirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LakeStoreFirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LakeStoreFirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &LakeStoreFirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LakeStoreFirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_lakestorefirewallrule_types.go b/apis/data/v1alpha1/zz_lakestorefirewallrule_types.go new file mode 100755 index 000000000..cb1a8df19 --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestorefirewallrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LakeStoreFirewallRuleObservation struct { +} + +type LakeStoreFirewallRuleParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` +} + +// LakeStoreFirewallRuleSpec defines the desired state of LakeStoreFirewallRule +type LakeStoreFirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LakeStoreFirewallRuleParameters `json:"forProvider"` +} + +// LakeStoreFirewallRuleStatus defines the observed state of LakeStoreFirewallRule. +type LakeStoreFirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LakeStoreFirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreFirewallRule is the Schema for the LakeStoreFirewallRules API +// +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,azurejet} +type LakeStoreFirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LakeStoreFirewallRuleSpec `json:"spec"` + Status LakeStoreFirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreFirewallRuleList contains a list of LakeStoreFirewallRules +type LakeStoreFirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LakeStoreFirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + LakeStoreFirewallRule_Kind = "LakeStoreFirewallRule" + LakeStoreFirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LakeStoreFirewallRule_Kind}.String() + LakeStoreFirewallRule_KindAPIVersion = LakeStoreFirewallRule_Kind + "." + CRDGroupVersion.String() + LakeStoreFirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(LakeStoreFirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&LakeStoreFirewallRule{}, &LakeStoreFirewallRuleList{}) +} diff --git a/apis/data/v1alpha1/zz_lakestorevirtualnetworkrule_terraformed.go b/apis/data/v1alpha1/zz_lakestorevirtualnetworkrule_terraformed.go new file mode 100755 index 000000000..af27bcd2f --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestorevirtualnetworkrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LakeStoreVirtualNetworkRule +func (mg *LakeStoreVirtualNetworkRule) GetTerraformResourceType() string { + return "azurerm_data_lake_store_virtual_network_rule" +} + +// GetConnectionDetailsMapping for this LakeStoreVirtualNetworkRule +func (tr *LakeStoreVirtualNetworkRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LakeStoreVirtualNetworkRule +func (tr *LakeStoreVirtualNetworkRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LakeStoreVirtualNetworkRule +func (tr *LakeStoreVirtualNetworkRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LakeStoreVirtualNetworkRule +func (tr *LakeStoreVirtualNetworkRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LakeStoreVirtualNetworkRule +func (tr *LakeStoreVirtualNetworkRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LakeStoreVirtualNetworkRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LakeStoreVirtualNetworkRule) LateInitialize(attrs []byte) (bool, error) { + params := &LakeStoreVirtualNetworkRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LakeStoreVirtualNetworkRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_lakestorevirtualnetworkrule_types.go b/apis/data/v1alpha1/zz_lakestorevirtualnetworkrule_types.go new file mode 100755 index 000000000..d3ce9ead1 --- /dev/null +++ b/apis/data/v1alpha1/zz_lakestorevirtualnetworkrule_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LakeStoreVirtualNetworkRuleObservation struct { +} + +type LakeStoreVirtualNetworkRuleParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// LakeStoreVirtualNetworkRuleSpec defines the desired state of LakeStoreVirtualNetworkRule +type LakeStoreVirtualNetworkRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LakeStoreVirtualNetworkRuleParameters `json:"forProvider"` +} + +// LakeStoreVirtualNetworkRuleStatus defines the observed state of LakeStoreVirtualNetworkRule. +type LakeStoreVirtualNetworkRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LakeStoreVirtualNetworkRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreVirtualNetworkRule is the Schema for the LakeStoreVirtualNetworkRules API +// +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,azurejet} +type LakeStoreVirtualNetworkRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LakeStoreVirtualNetworkRuleSpec `json:"spec"` + Status LakeStoreVirtualNetworkRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LakeStoreVirtualNetworkRuleList contains a list of LakeStoreVirtualNetworkRules +type LakeStoreVirtualNetworkRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LakeStoreVirtualNetworkRule `json:"items"` +} + +// Repository type metadata. +var ( + LakeStoreVirtualNetworkRule_Kind = "LakeStoreVirtualNetworkRule" + LakeStoreVirtualNetworkRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LakeStoreVirtualNetworkRule_Kind}.String() + LakeStoreVirtualNetworkRule_KindAPIVersion = LakeStoreVirtualNetworkRule_Kind + "." + CRDGroupVersion.String() + LakeStoreVirtualNetworkRule_GroupVersionKind = CRDGroupVersion.WithKind(LakeStoreVirtualNetworkRule_Kind) +) + +func init() { + SchemeBuilder.Register(&LakeStoreVirtualNetworkRule{}, &LakeStoreVirtualNetworkRuleList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackupinstanceblobstorage_terraformed.go b/apis/data/v1alpha1/zz_protectionbackupinstanceblobstorage_terraformed.go new file mode 100755 index 000000000..5f9e765e9 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupinstanceblobstorage_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupInstanceBlobStorage +func (mg *ProtectionBackupInstanceBlobStorage) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_instance_blob_storage" +} + +// GetConnectionDetailsMapping for this ProtectionBackupInstanceBlobStorage +func (tr *ProtectionBackupInstanceBlobStorage) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupInstanceBlobStorage +func (tr *ProtectionBackupInstanceBlobStorage) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupInstanceBlobStorage +func (tr *ProtectionBackupInstanceBlobStorage) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupInstanceBlobStorage +func (tr *ProtectionBackupInstanceBlobStorage) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupInstanceBlobStorage +func (tr *ProtectionBackupInstanceBlobStorage) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupInstanceBlobStorage using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupInstanceBlobStorage) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupInstanceBlobStorageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupInstanceBlobStorage) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackupinstanceblobstorage_types.go b/apis/data/v1alpha1/zz_protectionbackupinstanceblobstorage_types.go new file mode 100755 index 000000000..375a32edc --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupinstanceblobstorage_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectionBackupInstanceBlobStorageObservation struct { +} + +type ProtectionBackupInstanceBlobStorageParameters struct { + + // +kubebuilder:validation:Required + BackupPolicyID *string `json:"backupPolicyId" tf:"backup_policy_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + VaultID *string `json:"vaultId" tf:"vault_id,omitempty"` +} + +// ProtectionBackupInstanceBlobStorageSpec defines the desired state of ProtectionBackupInstanceBlobStorage +type ProtectionBackupInstanceBlobStorageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupInstanceBlobStorageParameters `json:"forProvider"` +} + +// ProtectionBackupInstanceBlobStorageStatus defines the observed state of ProtectionBackupInstanceBlobStorage. +type ProtectionBackupInstanceBlobStorageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupInstanceBlobStorageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupInstanceBlobStorage is the Schema for the ProtectionBackupInstanceBlobStorages API +// +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,azurejet} +type ProtectionBackupInstanceBlobStorage struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupInstanceBlobStorageSpec `json:"spec"` + Status ProtectionBackupInstanceBlobStorageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupInstanceBlobStorageList contains a list of ProtectionBackupInstanceBlobStorages +type ProtectionBackupInstanceBlobStorageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupInstanceBlobStorage `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupInstanceBlobStorage_Kind = "ProtectionBackupInstanceBlobStorage" + ProtectionBackupInstanceBlobStorage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupInstanceBlobStorage_Kind}.String() + ProtectionBackupInstanceBlobStorage_KindAPIVersion = ProtectionBackupInstanceBlobStorage_Kind + "." + CRDGroupVersion.String() + ProtectionBackupInstanceBlobStorage_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupInstanceBlobStorage_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupInstanceBlobStorage{}, &ProtectionBackupInstanceBlobStorageList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackupinstancedisk_terraformed.go b/apis/data/v1alpha1/zz_protectionbackupinstancedisk_terraformed.go new file mode 100755 index 000000000..6825b409c --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupinstancedisk_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupInstanceDisk +func (mg *ProtectionBackupInstanceDisk) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_instance_disk" +} + +// GetConnectionDetailsMapping for this ProtectionBackupInstanceDisk +func (tr *ProtectionBackupInstanceDisk) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupInstanceDisk +func (tr *ProtectionBackupInstanceDisk) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupInstanceDisk +func (tr *ProtectionBackupInstanceDisk) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupInstanceDisk +func (tr *ProtectionBackupInstanceDisk) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupInstanceDisk +func (tr *ProtectionBackupInstanceDisk) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupInstanceDisk using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupInstanceDisk) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupInstanceDiskParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupInstanceDisk) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackupinstancedisk_types.go b/apis/data/v1alpha1/zz_protectionbackupinstancedisk_types.go new file mode 100755 index 000000000..f6f76d040 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupinstancedisk_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectionBackupInstanceDiskObservation struct { +} + +type ProtectionBackupInstanceDiskParameters struct { + + // +kubebuilder:validation:Required + BackupPolicyID *string `json:"backupPolicyId" tf:"backup_policy_id,omitempty"` + + // +kubebuilder:validation:Required + DiskID *string `json:"diskId" tf:"disk_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SnapshotResourceGroupName *string `json:"snapshotResourceGroupName" tf:"snapshot_resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + VaultID *string `json:"vaultId" tf:"vault_id,omitempty"` +} + +// ProtectionBackupInstanceDiskSpec defines the desired state of ProtectionBackupInstanceDisk +type ProtectionBackupInstanceDiskSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupInstanceDiskParameters `json:"forProvider"` +} + +// ProtectionBackupInstanceDiskStatus defines the observed state of ProtectionBackupInstanceDisk. +type ProtectionBackupInstanceDiskStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupInstanceDiskObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupInstanceDisk is the Schema for the ProtectionBackupInstanceDisks API +// +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,azurejet} +type ProtectionBackupInstanceDisk struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupInstanceDiskSpec `json:"spec"` + Status ProtectionBackupInstanceDiskStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupInstanceDiskList contains a list of ProtectionBackupInstanceDisks +type ProtectionBackupInstanceDiskList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupInstanceDisk `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupInstanceDisk_Kind = "ProtectionBackupInstanceDisk" + ProtectionBackupInstanceDisk_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupInstanceDisk_Kind}.String() + ProtectionBackupInstanceDisk_KindAPIVersion = ProtectionBackupInstanceDisk_Kind + "." + CRDGroupVersion.String() + ProtectionBackupInstanceDisk_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupInstanceDisk_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupInstanceDisk{}, &ProtectionBackupInstanceDiskList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackupinstancepostgresql_terraformed.go b/apis/data/v1alpha1/zz_protectionbackupinstancepostgresql_terraformed.go new file mode 100755 index 000000000..5f6108747 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupinstancepostgresql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupInstancePostgresql +func (mg *ProtectionBackupInstancePostgresql) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_instance_postgresql" +} + +// GetConnectionDetailsMapping for this ProtectionBackupInstancePostgresql +func (tr *ProtectionBackupInstancePostgresql) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupInstancePostgresql +func (tr *ProtectionBackupInstancePostgresql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupInstancePostgresql +func (tr *ProtectionBackupInstancePostgresql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupInstancePostgresql +func (tr *ProtectionBackupInstancePostgresql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupInstancePostgresql +func (tr *ProtectionBackupInstancePostgresql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupInstancePostgresql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupInstancePostgresql) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupInstancePostgresqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupInstancePostgresql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackupinstancepostgresql_types.go b/apis/data/v1alpha1/zz_protectionbackupinstancepostgresql_types.go new file mode 100755 index 000000000..52445d00f --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupinstancepostgresql_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectionBackupInstancePostgresqlObservation struct { +} + +type ProtectionBackupInstancePostgresqlParameters struct { + + // +kubebuilder:validation:Required + BackupPolicyID *string `json:"backupPolicyId" tf:"backup_policy_id,omitempty"` + + // +kubebuilder:validation:Optional + DatabaseCredentialKeyVaultSecretID *string `json:"databaseCredentialKeyVaultSecretId,omitempty" tf:"database_credential_key_vault_secret_id,omitempty"` + + // +kubebuilder:validation:Required + DatabaseID *string `json:"databaseId" tf:"database_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + VaultID *string `json:"vaultId" tf:"vault_id,omitempty"` +} + +// ProtectionBackupInstancePostgresqlSpec defines the desired state of ProtectionBackupInstancePostgresql +type ProtectionBackupInstancePostgresqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupInstancePostgresqlParameters `json:"forProvider"` +} + +// ProtectionBackupInstancePostgresqlStatus defines the observed state of ProtectionBackupInstancePostgresql. +type ProtectionBackupInstancePostgresqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupInstancePostgresqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupInstancePostgresql is the Schema for the ProtectionBackupInstancePostgresqls API +// +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,azurejet} +type ProtectionBackupInstancePostgresql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupInstancePostgresqlSpec `json:"spec"` + Status ProtectionBackupInstancePostgresqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupInstancePostgresqlList contains a list of ProtectionBackupInstancePostgresqls +type ProtectionBackupInstancePostgresqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupInstancePostgresql `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupInstancePostgresql_Kind = "ProtectionBackupInstancePostgresql" + ProtectionBackupInstancePostgresql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupInstancePostgresql_Kind}.String() + ProtectionBackupInstancePostgresql_KindAPIVersion = ProtectionBackupInstancePostgresql_Kind + "." + CRDGroupVersion.String() + ProtectionBackupInstancePostgresql_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupInstancePostgresql_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupInstancePostgresql{}, &ProtectionBackupInstancePostgresqlList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackuppolicyblobstorage_terraformed.go b/apis/data/v1alpha1/zz_protectionbackuppolicyblobstorage_terraformed.go new file mode 100755 index 000000000..e8bd4753e --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackuppolicyblobstorage_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupPolicyBlobStorage +func (mg *ProtectionBackupPolicyBlobStorage) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_policy_blob_storage" +} + +// GetConnectionDetailsMapping for this ProtectionBackupPolicyBlobStorage +func (tr *ProtectionBackupPolicyBlobStorage) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupPolicyBlobStorage +func (tr *ProtectionBackupPolicyBlobStorage) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupPolicyBlobStorage +func (tr *ProtectionBackupPolicyBlobStorage) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupPolicyBlobStorage +func (tr *ProtectionBackupPolicyBlobStorage) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupPolicyBlobStorage +func (tr *ProtectionBackupPolicyBlobStorage) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupPolicyBlobStorage using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupPolicyBlobStorage) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupPolicyBlobStorageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupPolicyBlobStorage) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackuppolicyblobstorage_types.go b/apis/data/v1alpha1/zz_protectionbackuppolicyblobstorage_types.go new file mode 100755 index 000000000..493f3b936 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackuppolicyblobstorage_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectionBackupPolicyBlobStorageObservation struct { +} + +type ProtectionBackupPolicyBlobStorageParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RetentionDuration *string `json:"retentionDuration" tf:"retention_duration,omitempty"` + + // +kubebuilder:validation:Required + VaultID *string `json:"vaultId" tf:"vault_id,omitempty"` +} + +// ProtectionBackupPolicyBlobStorageSpec defines the desired state of ProtectionBackupPolicyBlobStorage +type ProtectionBackupPolicyBlobStorageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupPolicyBlobStorageParameters `json:"forProvider"` +} + +// ProtectionBackupPolicyBlobStorageStatus defines the observed state of ProtectionBackupPolicyBlobStorage. +type ProtectionBackupPolicyBlobStorageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupPolicyBlobStorageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupPolicyBlobStorage is the Schema for the ProtectionBackupPolicyBlobStorages API +// +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,azurejet} +type ProtectionBackupPolicyBlobStorage struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupPolicyBlobStorageSpec `json:"spec"` + Status ProtectionBackupPolicyBlobStorageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupPolicyBlobStorageList contains a list of ProtectionBackupPolicyBlobStorages +type ProtectionBackupPolicyBlobStorageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupPolicyBlobStorage `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupPolicyBlobStorage_Kind = "ProtectionBackupPolicyBlobStorage" + ProtectionBackupPolicyBlobStorage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupPolicyBlobStorage_Kind}.String() + ProtectionBackupPolicyBlobStorage_KindAPIVersion = ProtectionBackupPolicyBlobStorage_Kind + "." + CRDGroupVersion.String() + ProtectionBackupPolicyBlobStorage_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupPolicyBlobStorage_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupPolicyBlobStorage{}, &ProtectionBackupPolicyBlobStorageList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackuppolicydisk_terraformed.go b/apis/data/v1alpha1/zz_protectionbackuppolicydisk_terraformed.go new file mode 100755 index 000000000..cea072b8c --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackuppolicydisk_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupPolicyDisk +func (mg *ProtectionBackupPolicyDisk) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_policy_disk" +} + +// GetConnectionDetailsMapping for this ProtectionBackupPolicyDisk +func (tr *ProtectionBackupPolicyDisk) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupPolicyDisk +func (tr *ProtectionBackupPolicyDisk) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupPolicyDisk +func (tr *ProtectionBackupPolicyDisk) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupPolicyDisk +func (tr *ProtectionBackupPolicyDisk) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupPolicyDisk +func (tr *ProtectionBackupPolicyDisk) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupPolicyDisk using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupPolicyDisk) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupPolicyDiskParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupPolicyDisk) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackuppolicydisk_types.go b/apis/data/v1alpha1/zz_protectionbackuppolicydisk_types.go new file mode 100755 index 000000000..0b02bc1c1 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackuppolicydisk_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CriteriaObservation struct { +} + +type CriteriaParameters struct { + + // +kubebuilder:validation:Optional + AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"` +} + +type ProtectionBackupPolicyDiskObservation struct { +} + +type ProtectionBackupPolicyDiskParameters struct { + + // +kubebuilder:validation:Required + BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals" tf:"backup_repeating_time_intervals,omitempty"` + + // +kubebuilder:validation:Required + DefaultRetentionDuration *string `json:"defaultRetentionDuration" tf:"default_retention_duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RetentionRule []RetentionRuleParameters `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"` + + // +kubebuilder:validation:Required + VaultID *string `json:"vaultId" tf:"vault_id,omitempty"` +} + +type RetentionRuleObservation struct { +} + +type RetentionRuleParameters struct { + + // +kubebuilder:validation:Required + Criteria []CriteriaParameters `json:"criteria" tf:"criteria,omitempty"` + + // +kubebuilder:validation:Required + Duration *string `json:"duration" tf:"duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` +} + +// ProtectionBackupPolicyDiskSpec defines the desired state of ProtectionBackupPolicyDisk +type ProtectionBackupPolicyDiskSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupPolicyDiskParameters `json:"forProvider"` +} + +// ProtectionBackupPolicyDiskStatus defines the observed state of ProtectionBackupPolicyDisk. +type ProtectionBackupPolicyDiskStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupPolicyDiskObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupPolicyDisk is the Schema for the ProtectionBackupPolicyDisks API +// +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,azurejet} +type ProtectionBackupPolicyDisk struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupPolicyDiskSpec `json:"spec"` + Status ProtectionBackupPolicyDiskStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupPolicyDiskList contains a list of ProtectionBackupPolicyDisks +type ProtectionBackupPolicyDiskList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupPolicyDisk `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupPolicyDisk_Kind = "ProtectionBackupPolicyDisk" + ProtectionBackupPolicyDisk_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupPolicyDisk_Kind}.String() + ProtectionBackupPolicyDisk_KindAPIVersion = ProtectionBackupPolicyDisk_Kind + "." + CRDGroupVersion.String() + ProtectionBackupPolicyDisk_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupPolicyDisk_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupPolicyDisk{}, &ProtectionBackupPolicyDiskList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackuppolicypostgresql_terraformed.go b/apis/data/v1alpha1/zz_protectionbackuppolicypostgresql_terraformed.go new file mode 100755 index 000000000..955381d98 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackuppolicypostgresql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupPolicyPostgresql +func (mg *ProtectionBackupPolicyPostgresql) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_policy_postgresql" +} + +// GetConnectionDetailsMapping for this ProtectionBackupPolicyPostgresql +func (tr *ProtectionBackupPolicyPostgresql) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupPolicyPostgresql +func (tr *ProtectionBackupPolicyPostgresql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupPolicyPostgresql +func (tr *ProtectionBackupPolicyPostgresql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupPolicyPostgresql +func (tr *ProtectionBackupPolicyPostgresql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupPolicyPostgresql +func (tr *ProtectionBackupPolicyPostgresql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupPolicyPostgresql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupPolicyPostgresql) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupPolicyPostgresqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupPolicyPostgresql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackuppolicypostgresql_types.go b/apis/data/v1alpha1/zz_protectionbackuppolicypostgresql_types.go new file mode 100755 index 000000000..be6ef84fd --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackuppolicypostgresql_types.go @@ -0,0 +1,138 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectionBackupPolicyPostgresqlObservation struct { +} + +type ProtectionBackupPolicyPostgresqlParameters struct { + + // +kubebuilder:validation:Required + BackupRepeatingTimeIntervals []*string `json:"backupRepeatingTimeIntervals" tf:"backup_repeating_time_intervals,omitempty"` + + // +kubebuilder:validation:Required + DefaultRetentionDuration *string `json:"defaultRetentionDuration" tf:"default_retention_duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetentionRule []ProtectionBackupPolicyPostgresqlRetentionRuleParameters `json:"retentionRule,omitempty" tf:"retention_rule,omitempty"` + + // +kubebuilder:validation:Required + VaultName *string `json:"vaultName" tf:"vault_name,omitempty"` +} + +type ProtectionBackupPolicyPostgresqlRetentionRuleObservation struct { +} + +type ProtectionBackupPolicyPostgresqlRetentionRuleParameters struct { + + // +kubebuilder:validation:Required + Criteria []RetentionRuleCriteriaParameters `json:"criteria" tf:"criteria,omitempty"` + + // +kubebuilder:validation:Required + Duration *string `json:"duration" tf:"duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` +} + +type RetentionRuleCriteriaObservation struct { +} + +type RetentionRuleCriteriaParameters struct { + + // +kubebuilder:validation:Optional + AbsoluteCriteria *string `json:"absoluteCriteria,omitempty" tf:"absolute_criteria,omitempty"` + + // +kubebuilder:validation:Optional + DaysOfWeek []*string `json:"daysOfWeek,omitempty" tf:"days_of_week,omitempty"` + + // +kubebuilder:validation:Optional + MonthsOfYear []*string `json:"monthsOfYear,omitempty" tf:"months_of_year,omitempty"` + + // +kubebuilder:validation:Optional + ScheduledBackupTimes []*string `json:"scheduledBackupTimes,omitempty" tf:"scheduled_backup_times,omitempty"` + + // +kubebuilder:validation:Optional + WeeksOfMonth []*string `json:"weeksOfMonth,omitempty" tf:"weeks_of_month,omitempty"` +} + +// ProtectionBackupPolicyPostgresqlSpec defines the desired state of ProtectionBackupPolicyPostgresql +type ProtectionBackupPolicyPostgresqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupPolicyPostgresqlParameters `json:"forProvider"` +} + +// ProtectionBackupPolicyPostgresqlStatus defines the observed state of ProtectionBackupPolicyPostgresql. +type ProtectionBackupPolicyPostgresqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupPolicyPostgresqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupPolicyPostgresql is the Schema for the ProtectionBackupPolicyPostgresqls API +// +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,azurejet} +type ProtectionBackupPolicyPostgresql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupPolicyPostgresqlSpec `json:"spec"` + Status ProtectionBackupPolicyPostgresqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupPolicyPostgresqlList contains a list of ProtectionBackupPolicyPostgresqls +type ProtectionBackupPolicyPostgresqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupPolicyPostgresql `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupPolicyPostgresql_Kind = "ProtectionBackupPolicyPostgresql" + ProtectionBackupPolicyPostgresql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupPolicyPostgresql_Kind}.String() + ProtectionBackupPolicyPostgresql_KindAPIVersion = ProtectionBackupPolicyPostgresql_Kind + "." + CRDGroupVersion.String() + ProtectionBackupPolicyPostgresql_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupPolicyPostgresql_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupPolicyPostgresql{}, &ProtectionBackupPolicyPostgresqlList{}) +} diff --git a/apis/data/v1alpha1/zz_protectionbackupvault_terraformed.go b/apis/data/v1alpha1/zz_protectionbackupvault_terraformed.go new file mode 100755 index 000000000..d53e4a29b --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupvault_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProtectionBackupVault +func (mg *ProtectionBackupVault) GetTerraformResourceType() string { + return "azurerm_data_protection_backup_vault" +} + +// GetConnectionDetailsMapping for this ProtectionBackupVault +func (tr *ProtectionBackupVault) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProtectionBackupVault +func (tr *ProtectionBackupVault) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProtectionBackupVault +func (tr *ProtectionBackupVault) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProtectionBackupVault +func (tr *ProtectionBackupVault) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProtectionBackupVault +func (tr *ProtectionBackupVault) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProtectionBackupVault using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProtectionBackupVault) LateInitialize(attrs []byte) (bool, error) { + params := &ProtectionBackupVaultParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProtectionBackupVault) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_protectionbackupvault_types.go b/apis/data/v1alpha1/zz_protectionbackupvault_types.go new file mode 100755 index 000000000..ce90bdd17 --- /dev/null +++ b/apis/data/v1alpha1/zz_protectionbackupvault_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProtectionBackupVaultIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type ProtectionBackupVaultIdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type ProtectionBackupVaultObservation struct { +} + +type ProtectionBackupVaultParameters struct { + + // +kubebuilder:validation:Required + DatastoreType *string `json:"datastoreType" tf:"datastore_type,omitempty"` + + // +kubebuilder:validation:Optional + Identity []ProtectionBackupVaultIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Redundancy *string `json:"redundancy" tf:"redundancy,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ProtectionBackupVaultSpec defines the desired state of ProtectionBackupVault +type ProtectionBackupVaultSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProtectionBackupVaultParameters `json:"forProvider"` +} + +// ProtectionBackupVaultStatus defines the observed state of ProtectionBackupVault. +type ProtectionBackupVaultStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProtectionBackupVaultObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupVault is the Schema for the ProtectionBackupVaults API +// +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,azurejet} +type ProtectionBackupVault struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProtectionBackupVaultSpec `json:"spec"` + Status ProtectionBackupVaultStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProtectionBackupVaultList contains a list of ProtectionBackupVaults +type ProtectionBackupVaultList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProtectionBackupVault `json:"items"` +} + +// Repository type metadata. +var ( + ProtectionBackupVault_Kind = "ProtectionBackupVault" + ProtectionBackupVault_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProtectionBackupVault_Kind}.String() + ProtectionBackupVault_KindAPIVersion = ProtectionBackupVault_Kind + "." + CRDGroupVersion.String() + ProtectionBackupVault_GroupVersionKind = CRDGroupVersion.WithKind(ProtectionBackupVault_Kind) +) + +func init() { + SchemeBuilder.Register(&ProtectionBackupVault{}, &ProtectionBackupVaultList{}) +} diff --git a/apis/data/v1alpha1/zz_share_terraformed.go b/apis/data/v1alpha1/zz_share_terraformed.go new file mode 100755 index 000000000..fac189d5a --- /dev/null +++ b/apis/data/v1alpha1/zz_share_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Share +func (mg *Share) GetTerraformResourceType() string { + return "azurerm_data_share" +} + +// GetConnectionDetailsMapping for this Share +func (tr *Share) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Share +func (tr *Share) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Share +func (tr *Share) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Share +func (tr *Share) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Share +func (tr *Share) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Share using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Share) LateInitialize(attrs []byte) (bool, error) { + params := &ShareParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Share) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_share_types.go b/apis/data/v1alpha1/zz_share_types.go new file mode 100755 index 000000000..45d880944 --- /dev/null +++ b/apis/data/v1alpha1/zz_share_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareObservation struct { +} + +type ShareParameters struct { + + // +kubebuilder:validation:Required + AccountID *string `json:"accountId" tf:"account_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Kind *string `json:"kind" tf:"kind,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SnapshotSchedule []SnapshotScheduleParameters `json:"snapshotSchedule,omitempty" tf:"snapshot_schedule,omitempty"` + + // +kubebuilder:validation:Optional + Terms *string `json:"terms,omitempty" tf:"terms,omitempty"` +} + +type SnapshotScheduleObservation struct { +} + +type SnapshotScheduleParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Recurrence *string `json:"recurrence" tf:"recurrence,omitempty"` + + // +kubebuilder:validation:Required + StartTime *string `json:"startTime" tf:"start_time,omitempty"` +} + +// ShareSpec defines the desired state of Share +type ShareSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareParameters `json:"forProvider"` +} + +// ShareStatus defines the observed state of Share. +type ShareStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Share is the Schema for the Shares API +// +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,azurejet} +type Share struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareSpec `json:"spec"` + Status ShareStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareList contains a list of Shares +type ShareList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Share `json:"items"` +} + +// Repository type metadata. +var ( + Share_Kind = "Share" + Share_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Share_Kind}.String() + Share_KindAPIVersion = Share_Kind + "." + CRDGroupVersion.String() + Share_GroupVersionKind = CRDGroupVersion.WithKind(Share_Kind) +) + +func init() { + SchemeBuilder.Register(&Share{}, &ShareList{}) +} diff --git a/apis/data/v1alpha1/zz_shareaccount_terraformed.go b/apis/data/v1alpha1/zz_shareaccount_terraformed.go new file mode 100755 index 000000000..fe9004106 --- /dev/null +++ b/apis/data/v1alpha1/zz_shareaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareAccount +func (mg *ShareAccount) GetTerraformResourceType() string { + return "azurerm_data_share_account" +} + +// GetConnectionDetailsMapping for this ShareAccount +func (tr *ShareAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareAccount +func (tr *ShareAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareAccount +func (tr *ShareAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareAccount +func (tr *ShareAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareAccount +func (tr *ShareAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareAccount) LateInitialize(attrs []byte) (bool, error) { + params := &ShareAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_shareaccount_types.go b/apis/data/v1alpha1/zz_shareaccount_types.go new file mode 100755 index 000000000..197bc0510 --- /dev/null +++ b/apis/data/v1alpha1/zz_shareaccount_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareAccountIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type ShareAccountIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ShareAccountObservation struct { +} + +type ShareAccountParameters struct { + + // +kubebuilder:validation:Required + Identity []ShareAccountIdentityParameters `json:"identity" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ShareAccountSpec defines the desired state of ShareAccount +type ShareAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareAccountParameters `json:"forProvider"` +} + +// ShareAccountStatus defines the observed state of ShareAccount. +type ShareAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareAccount is the Schema for the ShareAccounts API +// +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,azurejet} +type ShareAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareAccountSpec `json:"spec"` + Status ShareAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareAccountList contains a list of ShareAccounts +type ShareAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareAccount `json:"items"` +} + +// Repository type metadata. +var ( + ShareAccount_Kind = "ShareAccount" + ShareAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareAccount_Kind}.String() + ShareAccount_KindAPIVersion = ShareAccount_Kind + "." + CRDGroupVersion.String() + ShareAccount_GroupVersionKind = CRDGroupVersion.WithKind(ShareAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareAccount{}, &ShareAccountList{}) +} diff --git a/apis/data/v1alpha1/zz_sharedatasetblobstorage_terraformed.go b/apis/data/v1alpha1/zz_sharedatasetblobstorage_terraformed.go new file mode 100755 index 000000000..26da31529 --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetblobstorage_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareDatasetBlobStorage +func (mg *ShareDatasetBlobStorage) GetTerraformResourceType() string { + return "azurerm_data_share_dataset_blob_storage" +} + +// GetConnectionDetailsMapping for this ShareDatasetBlobStorage +func (tr *ShareDatasetBlobStorage) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareDatasetBlobStorage +func (tr *ShareDatasetBlobStorage) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareDatasetBlobStorage +func (tr *ShareDatasetBlobStorage) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareDatasetBlobStorage +func (tr *ShareDatasetBlobStorage) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareDatasetBlobStorage +func (tr *ShareDatasetBlobStorage) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareDatasetBlobStorage using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareDatasetBlobStorage) LateInitialize(attrs []byte) (bool, error) { + params := &ShareDatasetBlobStorageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareDatasetBlobStorage) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_sharedatasetblobstorage_types.go b/apis/data/v1alpha1/zz_sharedatasetblobstorage_types.go new file mode 100755 index 000000000..7dfd737b0 --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetblobstorage_types.go @@ -0,0 +1,115 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareDatasetBlobStorageObservation struct { + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` +} + +type ShareDatasetBlobStorageParameters struct { + + // +kubebuilder:validation:Required + ContainerName *string `json:"containerName" tf:"container_name,omitempty"` + + // +kubebuilder:validation:Required + DataShareID *string `json:"dataShareId" tf:"data_share_id,omitempty"` + + // +kubebuilder:validation:Optional + FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` + + // +kubebuilder:validation:Optional + FolderPath *string `json:"folderPath,omitempty" tf:"folder_path,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccount []StorageAccountParameters `json:"storageAccount" tf:"storage_account,omitempty"` +} + +type StorageAccountObservation struct { +} + +type StorageAccountParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` +} + +// ShareDatasetBlobStorageSpec defines the desired state of ShareDatasetBlobStorage +type ShareDatasetBlobStorageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareDatasetBlobStorageParameters `json:"forProvider"` +} + +// ShareDatasetBlobStorageStatus defines the observed state of ShareDatasetBlobStorage. +type ShareDatasetBlobStorageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareDatasetBlobStorageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetBlobStorage is the Schema for the ShareDatasetBlobStorages API +// +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,azurejet} +type ShareDatasetBlobStorage struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareDatasetBlobStorageSpec `json:"spec"` + Status ShareDatasetBlobStorageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetBlobStorageList contains a list of ShareDatasetBlobStorages +type ShareDatasetBlobStorageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareDatasetBlobStorage `json:"items"` +} + +// Repository type metadata. +var ( + ShareDatasetBlobStorage_Kind = "ShareDatasetBlobStorage" + ShareDatasetBlobStorage_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareDatasetBlobStorage_Kind}.String() + ShareDatasetBlobStorage_KindAPIVersion = ShareDatasetBlobStorage_Kind + "." + CRDGroupVersion.String() + ShareDatasetBlobStorage_GroupVersionKind = CRDGroupVersion.WithKind(ShareDatasetBlobStorage_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareDatasetBlobStorage{}, &ShareDatasetBlobStorageList{}) +} diff --git a/apis/data/v1alpha1/zz_sharedatasetdatalakegen1_terraformed.go b/apis/data/v1alpha1/zz_sharedatasetdatalakegen1_terraformed.go new file mode 100755 index 000000000..89e67d273 --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetdatalakegen1_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareDatasetDataLakeGen1 +func (mg *ShareDatasetDataLakeGen1) GetTerraformResourceType() string { + return "azurerm_data_share_dataset_data_lake_gen1" +} + +// GetConnectionDetailsMapping for this ShareDatasetDataLakeGen1 +func (tr *ShareDatasetDataLakeGen1) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareDatasetDataLakeGen1 +func (tr *ShareDatasetDataLakeGen1) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareDatasetDataLakeGen1 +func (tr *ShareDatasetDataLakeGen1) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareDatasetDataLakeGen1 +func (tr *ShareDatasetDataLakeGen1) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareDatasetDataLakeGen1 +func (tr *ShareDatasetDataLakeGen1) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareDatasetDataLakeGen1 using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareDatasetDataLakeGen1) LateInitialize(attrs []byte) (bool, error) { + params := &ShareDatasetDataLakeGen1Parameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareDatasetDataLakeGen1) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_sharedatasetdatalakegen1_types.go b/apis/data/v1alpha1/zz_sharedatasetdatalakegen1_types.go new file mode 100755 index 000000000..21625934f --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetdatalakegen1_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareDatasetDataLakeGen1Observation struct { + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` +} + +type ShareDatasetDataLakeGen1Parameters struct { + + // +kubebuilder:validation:Required + DataLakeStoreID *string `json:"dataLakeStoreId" tf:"data_lake_store_id,omitempty"` + + // +kubebuilder:validation:Required + DataShareID *string `json:"dataShareId" tf:"data_share_id,omitempty"` + + // +kubebuilder:validation:Optional + FileName *string `json:"fileName,omitempty" tf:"file_name,omitempty"` + + // +kubebuilder:validation:Required + FolderPath *string `json:"folderPath" tf:"folder_path,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// ShareDatasetDataLakeGen1Spec defines the desired state of ShareDatasetDataLakeGen1 +type ShareDatasetDataLakeGen1Spec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareDatasetDataLakeGen1Parameters `json:"forProvider"` +} + +// ShareDatasetDataLakeGen1Status defines the observed state of ShareDatasetDataLakeGen1. +type ShareDatasetDataLakeGen1Status struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareDatasetDataLakeGen1Observation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetDataLakeGen1 is the Schema for the ShareDatasetDataLakeGen1s API +// +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,azurejet} +type ShareDatasetDataLakeGen1 struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareDatasetDataLakeGen1Spec `json:"spec"` + Status ShareDatasetDataLakeGen1Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetDataLakeGen1List contains a list of ShareDatasetDataLakeGen1s +type ShareDatasetDataLakeGen1List struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareDatasetDataLakeGen1 `json:"items"` +} + +// Repository type metadata. +var ( + ShareDatasetDataLakeGen1_Kind = "ShareDatasetDataLakeGen1" + ShareDatasetDataLakeGen1_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareDatasetDataLakeGen1_Kind}.String() + ShareDatasetDataLakeGen1_KindAPIVersion = ShareDatasetDataLakeGen1_Kind + "." + CRDGroupVersion.String() + ShareDatasetDataLakeGen1_GroupVersionKind = CRDGroupVersion.WithKind(ShareDatasetDataLakeGen1_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareDatasetDataLakeGen1{}, &ShareDatasetDataLakeGen1List{}) +} diff --git a/apis/data/v1alpha1/zz_sharedatasetdatalakegen2_terraformed.go b/apis/data/v1alpha1/zz_sharedatasetdatalakegen2_terraformed.go new file mode 100755 index 000000000..77072d51d --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetdatalakegen2_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareDatasetDataLakeGen2 +func (mg *ShareDatasetDataLakeGen2) GetTerraformResourceType() string { + return "azurerm_data_share_dataset_data_lake_gen2" +} + +// GetConnectionDetailsMapping for this ShareDatasetDataLakeGen2 +func (tr *ShareDatasetDataLakeGen2) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareDatasetDataLakeGen2 +func (tr *ShareDatasetDataLakeGen2) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareDatasetDataLakeGen2 +func (tr *ShareDatasetDataLakeGen2) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareDatasetDataLakeGen2 +func (tr *ShareDatasetDataLakeGen2) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareDatasetDataLakeGen2 +func (tr *ShareDatasetDataLakeGen2) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareDatasetDataLakeGen2 using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareDatasetDataLakeGen2) LateInitialize(attrs []byte) (bool, error) { + params := &ShareDatasetDataLakeGen2Parameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareDatasetDataLakeGen2) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_sharedatasetdatalakegen2_types.go b/apis/data/v1alpha1/zz_sharedatasetdatalakegen2_types.go new file mode 100755 index 000000000..a95c1193b --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetdatalakegen2_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareDatasetDataLakeGen2Observation struct { + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` +} + +type ShareDatasetDataLakeGen2Parameters struct { + + // +kubebuilder:validation:Optional + FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` + + // +kubebuilder:validation:Required + FileSystemName *string `json:"fileSystemName" tf:"file_system_name,omitempty"` + + // +kubebuilder:validation:Optional + FolderPath *string `json:"folderPath,omitempty" tf:"folder_path,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ShareID *string `json:"shareId" tf:"share_id,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +// ShareDatasetDataLakeGen2Spec defines the desired state of ShareDatasetDataLakeGen2 +type ShareDatasetDataLakeGen2Spec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareDatasetDataLakeGen2Parameters `json:"forProvider"` +} + +// ShareDatasetDataLakeGen2Status defines the observed state of ShareDatasetDataLakeGen2. +type ShareDatasetDataLakeGen2Status struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareDatasetDataLakeGen2Observation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetDataLakeGen2 is the Schema for the ShareDatasetDataLakeGen2s API +// +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,azurejet} +type ShareDatasetDataLakeGen2 struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareDatasetDataLakeGen2Spec `json:"spec"` + Status ShareDatasetDataLakeGen2Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetDataLakeGen2List contains a list of ShareDatasetDataLakeGen2s +type ShareDatasetDataLakeGen2List struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareDatasetDataLakeGen2 `json:"items"` +} + +// Repository type metadata. +var ( + ShareDatasetDataLakeGen2_Kind = "ShareDatasetDataLakeGen2" + ShareDatasetDataLakeGen2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareDatasetDataLakeGen2_Kind}.String() + ShareDatasetDataLakeGen2_KindAPIVersion = ShareDatasetDataLakeGen2_Kind + "." + CRDGroupVersion.String() + ShareDatasetDataLakeGen2_GroupVersionKind = CRDGroupVersion.WithKind(ShareDatasetDataLakeGen2_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareDatasetDataLakeGen2{}, &ShareDatasetDataLakeGen2List{}) +} diff --git a/apis/data/v1alpha1/zz_sharedatasetkustocluster_terraformed.go b/apis/data/v1alpha1/zz_sharedatasetkustocluster_terraformed.go new file mode 100755 index 000000000..f8d91a285 --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetkustocluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareDatasetKustoCluster +func (mg *ShareDatasetKustoCluster) GetTerraformResourceType() string { + return "azurerm_data_share_dataset_kusto_cluster" +} + +// GetConnectionDetailsMapping for this ShareDatasetKustoCluster +func (tr *ShareDatasetKustoCluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareDatasetKustoCluster +func (tr *ShareDatasetKustoCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareDatasetKustoCluster +func (tr *ShareDatasetKustoCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareDatasetKustoCluster +func (tr *ShareDatasetKustoCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareDatasetKustoCluster +func (tr *ShareDatasetKustoCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareDatasetKustoCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareDatasetKustoCluster) LateInitialize(attrs []byte) (bool, error) { + params := &ShareDatasetKustoClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareDatasetKustoCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_sharedatasetkustocluster_types.go b/apis/data/v1alpha1/zz_sharedatasetkustocluster_types.go new file mode 100755 index 000000000..170f78e78 --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetkustocluster_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareDatasetKustoClusterObservation struct { + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + KustoClusterLocation *string `json:"kustoClusterLocation,omitempty" tf:"kusto_cluster_location,omitempty"` +} + +type ShareDatasetKustoClusterParameters struct { + + // +kubebuilder:validation:Required + KustoClusterID *string `json:"kustoClusterId" tf:"kusto_cluster_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ShareID *string `json:"shareId" tf:"share_id,omitempty"` +} + +// ShareDatasetKustoClusterSpec defines the desired state of ShareDatasetKustoCluster +type ShareDatasetKustoClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareDatasetKustoClusterParameters `json:"forProvider"` +} + +// ShareDatasetKustoClusterStatus defines the observed state of ShareDatasetKustoCluster. +type ShareDatasetKustoClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareDatasetKustoClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetKustoCluster is the Schema for the ShareDatasetKustoClusters API +// +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,azurejet} +type ShareDatasetKustoCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareDatasetKustoClusterSpec `json:"spec"` + Status ShareDatasetKustoClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetKustoClusterList contains a list of ShareDatasetKustoClusters +type ShareDatasetKustoClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareDatasetKustoCluster `json:"items"` +} + +// Repository type metadata. +var ( + ShareDatasetKustoCluster_Kind = "ShareDatasetKustoCluster" + ShareDatasetKustoCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareDatasetKustoCluster_Kind}.String() + ShareDatasetKustoCluster_KindAPIVersion = ShareDatasetKustoCluster_Kind + "." + CRDGroupVersion.String() + ShareDatasetKustoCluster_GroupVersionKind = CRDGroupVersion.WithKind(ShareDatasetKustoCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareDatasetKustoCluster{}, &ShareDatasetKustoClusterList{}) +} diff --git a/apis/data/v1alpha1/zz_sharedatasetkustodatabase_terraformed.go b/apis/data/v1alpha1/zz_sharedatasetkustodatabase_terraformed.go new file mode 100755 index 000000000..9c872eed7 --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetkustodatabase_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareDatasetKustoDatabase +func (mg *ShareDatasetKustoDatabase) GetTerraformResourceType() string { + return "azurerm_data_share_dataset_kusto_database" +} + +// GetConnectionDetailsMapping for this ShareDatasetKustoDatabase +func (tr *ShareDatasetKustoDatabase) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareDatasetKustoDatabase +func (tr *ShareDatasetKustoDatabase) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareDatasetKustoDatabase +func (tr *ShareDatasetKustoDatabase) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareDatasetKustoDatabase +func (tr *ShareDatasetKustoDatabase) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareDatasetKustoDatabase +func (tr *ShareDatasetKustoDatabase) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareDatasetKustoDatabase using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareDatasetKustoDatabase) LateInitialize(attrs []byte) (bool, error) { + params := &ShareDatasetKustoDatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareDatasetKustoDatabase) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/data/v1alpha1/zz_sharedatasetkustodatabase_types.go b/apis/data/v1alpha1/zz_sharedatasetkustodatabase_types.go new file mode 100755 index 000000000..e9612903a --- /dev/null +++ b/apis/data/v1alpha1/zz_sharedatasetkustodatabase_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareDatasetKustoDatabaseObservation struct { + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + KustoClusterLocation *string `json:"kustoClusterLocation,omitempty" tf:"kusto_cluster_location,omitempty"` +} + +type ShareDatasetKustoDatabaseParameters struct { + + // +kubebuilder:validation:Required + KustoDatabaseID *string `json:"kustoDatabaseId" tf:"kusto_database_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ShareID *string `json:"shareId" tf:"share_id,omitempty"` +} + +// ShareDatasetKustoDatabaseSpec defines the desired state of ShareDatasetKustoDatabase +type ShareDatasetKustoDatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareDatasetKustoDatabaseParameters `json:"forProvider"` +} + +// ShareDatasetKustoDatabaseStatus defines the observed state of ShareDatasetKustoDatabase. +type ShareDatasetKustoDatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareDatasetKustoDatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetKustoDatabase is the Schema for the ShareDatasetKustoDatabases API +// +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,azurejet} +type ShareDatasetKustoDatabase struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareDatasetKustoDatabaseSpec `json:"spec"` + Status ShareDatasetKustoDatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDatasetKustoDatabaseList contains a list of ShareDatasetKustoDatabases +type ShareDatasetKustoDatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareDatasetKustoDatabase `json:"items"` +} + +// Repository type metadata. +var ( + ShareDatasetKustoDatabase_Kind = "ShareDatasetKustoDatabase" + ShareDatasetKustoDatabase_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareDatasetKustoDatabase_Kind}.String() + ShareDatasetKustoDatabase_KindAPIVersion = ShareDatasetKustoDatabase_Kind + "." + CRDGroupVersion.String() + ShareDatasetKustoDatabase_GroupVersionKind = CRDGroupVersion.WithKind(ShareDatasetKustoDatabase_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareDatasetKustoDatabase{}, &ShareDatasetKustoDatabaseList{}) +} diff --git a/apis/database/v1alpha1/zz_generated.deepcopy.go b/apis/database/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..46ef73b41 --- /dev/null +++ b/apis/database/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,356 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationProject) DeepCopyInto(out *MigrationProject) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationProject. +func (in *MigrationProject) DeepCopy() *MigrationProject { + if in == nil { + return nil + } + out := new(MigrationProject) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MigrationProject) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationProjectList) DeepCopyInto(out *MigrationProjectList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MigrationProject, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationProjectList. +func (in *MigrationProjectList) DeepCopy() *MigrationProjectList { + if in == nil { + return nil + } + out := new(MigrationProjectList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MigrationProjectList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationProjectObservation) DeepCopyInto(out *MigrationProjectObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationProjectObservation. +func (in *MigrationProjectObservation) DeepCopy() *MigrationProjectObservation { + if in == nil { + return nil + } + out := new(MigrationProjectObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationProjectParameters) DeepCopyInto(out *MigrationProjectParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName + *out = new(string) + **out = **in + } + if in.SourcePlatform != nil { + in, out := &in.SourcePlatform, &out.SourcePlatform + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetPlatform != nil { + in, out := &in.TargetPlatform, &out.TargetPlatform + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationProjectParameters. +func (in *MigrationProjectParameters) DeepCopy() *MigrationProjectParameters { + if in == nil { + return nil + } + out := new(MigrationProjectParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationProjectSpec) DeepCopyInto(out *MigrationProjectSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationProjectSpec. +func (in *MigrationProjectSpec) DeepCopy() *MigrationProjectSpec { + if in == nil { + return nil + } + out := new(MigrationProjectSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationProjectStatus) DeepCopyInto(out *MigrationProjectStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationProjectStatus. +func (in *MigrationProjectStatus) DeepCopy() *MigrationProjectStatus { + if in == nil { + return nil + } + out := new(MigrationProjectStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationService) DeepCopyInto(out *MigrationService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationService. +func (in *MigrationService) DeepCopy() *MigrationService { + if in == nil { + return nil + } + out := new(MigrationService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MigrationService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationServiceList) DeepCopyInto(out *MigrationServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MigrationService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationServiceList. +func (in *MigrationServiceList) DeepCopy() *MigrationServiceList { + if in == nil { + return nil + } + out := new(MigrationServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MigrationServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationServiceObservation) DeepCopyInto(out *MigrationServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationServiceObservation. +func (in *MigrationServiceObservation) DeepCopy() *MigrationServiceObservation { + if in == nil { + return nil + } + out := new(MigrationServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationServiceParameters) DeepCopyInto(out *MigrationServiceParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationServiceParameters. +func (in *MigrationServiceParameters) DeepCopy() *MigrationServiceParameters { + if in == nil { + return nil + } + out := new(MigrationServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationServiceSpec) DeepCopyInto(out *MigrationServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationServiceSpec. +func (in *MigrationServiceSpec) DeepCopy() *MigrationServiceSpec { + if in == nil { + return nil + } + out := new(MigrationServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MigrationServiceStatus) DeepCopyInto(out *MigrationServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationServiceStatus. +func (in *MigrationServiceStatus) DeepCopy() *MigrationServiceStatus { + if in == nil { + return nil + } + out := new(MigrationServiceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/database/v1alpha1/zz_generated.managed.go b/apis/database/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..825f39dcd --- /dev/null +++ b/apis/database/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this MigrationProject. +func (mg *MigrationProject) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this MigrationProject. +func (mg *MigrationProject) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this MigrationProject. +func (mg *MigrationProject) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this MigrationProject. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *MigrationProject) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this MigrationProject. +func (mg *MigrationProject) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this MigrationProject. +func (mg *MigrationProject) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this MigrationProject. +func (mg *MigrationProject) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this MigrationProject. +func (mg *MigrationProject) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this MigrationProject. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *MigrationProject) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this MigrationProject. +func (mg *MigrationProject) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this MigrationService. +func (mg *MigrationService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this MigrationService. +func (mg *MigrationService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this MigrationService. +func (mg *MigrationService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this MigrationService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *MigrationService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this MigrationService. +func (mg *MigrationService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this MigrationService. +func (mg *MigrationService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this MigrationService. +func (mg *MigrationService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this MigrationService. +func (mg *MigrationService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this MigrationService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *MigrationService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this MigrationService. +func (mg *MigrationService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/database/v1alpha1/zz_generated.managedlist.go b/apis/database/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..74ab56035 --- /dev/null +++ b/apis/database/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this MigrationProjectList. +func (l *MigrationProjectList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this MigrationServiceList. +func (l *MigrationServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/database/v1alpha1/zz_groupversion_info.go b/apis/database/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..127ecf614 --- /dev/null +++ b/apis/database/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=database.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "database.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/database/v1alpha1/zz_migrationproject_terraformed.go b/apis/database/v1alpha1/zz_migrationproject_terraformed.go new file mode 100755 index 000000000..abfabfc4c --- /dev/null +++ b/apis/database/v1alpha1/zz_migrationproject_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this MigrationProject +func (mg *MigrationProject) GetTerraformResourceType() string { + return "azurerm_database_migration_project" +} + +// GetConnectionDetailsMapping for this MigrationProject +func (tr *MigrationProject) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this MigrationProject +func (tr *MigrationProject) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this MigrationProject +func (tr *MigrationProject) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this MigrationProject +func (tr *MigrationProject) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this MigrationProject +func (tr *MigrationProject) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this MigrationProject using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *MigrationProject) LateInitialize(attrs []byte) (bool, error) { + params := &MigrationProjectParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *MigrationProject) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/database/v1alpha1/zz_migrationproject_types.go b/apis/database/v1alpha1/zz_migrationproject_types.go new file mode 100755 index 000000000..b1edfc20a --- /dev/null +++ b/apis/database/v1alpha1/zz_migrationproject_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type MigrationProjectObservation struct { +} + +type MigrationProjectParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServiceName *string `json:"serviceName" tf:"service_name,omitempty"` + + // +kubebuilder:validation:Required + SourcePlatform *string `json:"sourcePlatform" tf:"source_platform,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TargetPlatform *string `json:"targetPlatform" tf:"target_platform,omitempty"` +} + +// MigrationProjectSpec defines the desired state of MigrationProject +type MigrationProjectSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider MigrationProjectParameters `json:"forProvider"` +} + +// MigrationProjectStatus defines the observed state of MigrationProject. +type MigrationProjectStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider MigrationProjectObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// MigrationProject is the Schema for the MigrationProjects API +// +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,azurejet} +type MigrationProject struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec MigrationProjectSpec `json:"spec"` + Status MigrationProjectStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// MigrationProjectList contains a list of MigrationProjects +type MigrationProjectList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MigrationProject `json:"items"` +} + +// Repository type metadata. +var ( + MigrationProject_Kind = "MigrationProject" + MigrationProject_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MigrationProject_Kind}.String() + MigrationProject_KindAPIVersion = MigrationProject_Kind + "." + CRDGroupVersion.String() + MigrationProject_GroupVersionKind = CRDGroupVersion.WithKind(MigrationProject_Kind) +) + +func init() { + SchemeBuilder.Register(&MigrationProject{}, &MigrationProjectList{}) +} diff --git a/apis/database/v1alpha1/zz_migrationservice_terraformed.go b/apis/database/v1alpha1/zz_migrationservice_terraformed.go new file mode 100755 index 000000000..2d0fa9cad --- /dev/null +++ b/apis/database/v1alpha1/zz_migrationservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this MigrationService +func (mg *MigrationService) GetTerraformResourceType() string { + return "azurerm_database_migration_service" +} + +// GetConnectionDetailsMapping for this MigrationService +func (tr *MigrationService) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this MigrationService +func (tr *MigrationService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this MigrationService +func (tr *MigrationService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this MigrationService +func (tr *MigrationService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this MigrationService +func (tr *MigrationService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this MigrationService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *MigrationService) LateInitialize(attrs []byte) (bool, error) { + params := &MigrationServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *MigrationService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/database/v1alpha1/zz_migrationservice_types.go b/apis/database/v1alpha1/zz_migrationservice_types.go new file mode 100755 index 000000000..92c89cdfa --- /dev/null +++ b/apis/database/v1alpha1/zz_migrationservice_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type MigrationServiceObservation struct { +} + +type MigrationServiceParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// MigrationServiceSpec defines the desired state of MigrationService +type MigrationServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider MigrationServiceParameters `json:"forProvider"` +} + +// MigrationServiceStatus defines the observed state of MigrationService. +type MigrationServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider MigrationServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// MigrationService is the Schema for the MigrationServices API +// +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,azurejet} +type MigrationService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec MigrationServiceSpec `json:"spec"` + Status MigrationServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// MigrationServiceList contains a list of MigrationServices +type MigrationServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MigrationService `json:"items"` +} + +// Repository type metadata. +var ( + MigrationService_Kind = "MigrationService" + MigrationService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MigrationService_Kind}.String() + MigrationService_KindAPIVersion = MigrationService_Kind + "." + CRDGroupVersion.String() + MigrationService_GroupVersionKind = CRDGroupVersion.WithKind(MigrationService_Kind) +) + +func init() { + SchemeBuilder.Register(&MigrationService{}, &MigrationServiceList{}) +} diff --git a/apis/databox/v1alpha1/zz_edgedevice_terraformed.go b/apis/databox/v1alpha1/zz_edgedevice_terraformed.go new file mode 100755 index 000000000..af50082fb --- /dev/null +++ b/apis/databox/v1alpha1/zz_edgedevice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EdgeDevice +func (mg *EdgeDevice) GetTerraformResourceType() string { + return "azurerm_databox_edge_device" +} + +// GetConnectionDetailsMapping for this EdgeDevice +func (tr *EdgeDevice) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EdgeDevice +func (tr *EdgeDevice) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EdgeDevice +func (tr *EdgeDevice) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EdgeDevice +func (tr *EdgeDevice) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EdgeDevice +func (tr *EdgeDevice) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EdgeDevice using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EdgeDevice) LateInitialize(attrs []byte) (bool, error) { + params := &EdgeDeviceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EdgeDevice) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/databox/v1alpha1/zz_edgedevice_types.go b/apis/databox/v1alpha1/zz_edgedevice_types.go new file mode 100755 index 000000000..ddf1ab212 --- /dev/null +++ b/apis/databox/v1alpha1/zz_edgedevice_types.go @@ -0,0 +1,124 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DevicePropertiesObservation struct { + Capacity *int64 `json:"capacity,omitempty" tf:"capacity,omitempty"` + + ConfiguredRoleTypes []*string `json:"configuredRoleTypes,omitempty" tf:"configured_role_types,omitempty"` + + Culture *string `json:"culture,omitempty" tf:"culture,omitempty"` + + HcsVersion *string `json:"hcsVersion,omitempty" tf:"hcs_version,omitempty"` + + Model *string `json:"model,omitempty" tf:"model,omitempty"` + + NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"` + + SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` + + SoftwareVersion *string `json:"softwareVersion,omitempty" tf:"software_version,omitempty"` + + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` + + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type DevicePropertiesParameters struct { +} + +type EdgeDeviceObservation struct { + DeviceProperties []DevicePropertiesObservation `json:"deviceProperties,omitempty" tf:"device_properties,omitempty"` +} + +type EdgeDeviceParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// EdgeDeviceSpec defines the desired state of EdgeDevice +type EdgeDeviceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EdgeDeviceParameters `json:"forProvider"` +} + +// EdgeDeviceStatus defines the observed state of EdgeDevice. +type EdgeDeviceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EdgeDeviceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EdgeDevice is the Schema for the EdgeDevices API +// +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,azurejet} +type EdgeDevice struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EdgeDeviceSpec `json:"spec"` + Status EdgeDeviceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EdgeDeviceList contains a list of EdgeDevices +type EdgeDeviceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EdgeDevice `json:"items"` +} + +// Repository type metadata. +var ( + EdgeDevice_Kind = "EdgeDevice" + EdgeDevice_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EdgeDevice_Kind}.String() + EdgeDevice_KindAPIVersion = EdgeDevice_Kind + "." + CRDGroupVersion.String() + EdgeDevice_GroupVersionKind = CRDGroupVersion.WithKind(EdgeDevice_Kind) +) + +func init() { + SchemeBuilder.Register(&EdgeDevice{}, &EdgeDeviceList{}) +} diff --git a/apis/databox/v1alpha1/zz_edgeorder_terraformed.go b/apis/databox/v1alpha1/zz_edgeorder_terraformed.go new file mode 100755 index 000000000..1537fbc5b --- /dev/null +++ b/apis/databox/v1alpha1/zz_edgeorder_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EdgeOrder +func (mg *EdgeOrder) GetTerraformResourceType() string { + return "azurerm_databox_edge_order" +} + +// GetConnectionDetailsMapping for this EdgeOrder +func (tr *EdgeOrder) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EdgeOrder +func (tr *EdgeOrder) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EdgeOrder +func (tr *EdgeOrder) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EdgeOrder +func (tr *EdgeOrder) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EdgeOrder +func (tr *EdgeOrder) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EdgeOrder using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EdgeOrder) LateInitialize(attrs []byte) (bool, error) { + params := &EdgeOrderParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EdgeOrder) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/databox/v1alpha1/zz_edgeorder_types.go b/apis/databox/v1alpha1/zz_edgeorder_types.go new file mode 100755 index 000000000..51bdd54cf --- /dev/null +++ b/apis/databox/v1alpha1/zz_edgeorder_types.go @@ -0,0 +1,193 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ContactObservation struct { +} + +type ContactParameters struct { + + // +kubebuilder:validation:Required + CompanyName *string `json:"companyName" tf:"company_name,omitempty"` + + // +kubebuilder:validation:Required + Emails []*string `json:"emails" tf:"emails,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"` +} + +type EdgeOrderObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + ReturnTracking []ReturnTrackingObservation `json:"returnTracking,omitempty" tf:"return_tracking,omitempty"` + + SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` + + ShipmentHistory []ShipmentHistoryObservation `json:"shipmentHistory,omitempty" tf:"shipment_history,omitempty"` + + ShipmentTracking []ShipmentTrackingObservation `json:"shipmentTracking,omitempty" tf:"shipment_tracking,omitempty"` + + Status []StatusObservation `json:"status,omitempty" tf:"status,omitempty"` +} + +type EdgeOrderParameters struct { + + // +kubebuilder:validation:Required + Contact []ContactParameters `json:"contact" tf:"contact,omitempty"` + + // +kubebuilder:validation:Required + DeviceName *string `json:"deviceName" tf:"device_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ShipmentAddress []ShipmentAddressParameters `json:"shipmentAddress" tf:"shipment_address,omitempty"` +} + +type ReturnTrackingObservation struct { + CarrierName *string `json:"carrierName,omitempty" tf:"carrier_name,omitempty"` + + SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` + + TrackingID *string `json:"trackingId,omitempty" tf:"tracking_id,omitempty"` + + TrackingURL *string `json:"trackingUrl,omitempty" tf:"tracking_url,omitempty"` +} + +type ReturnTrackingParameters struct { +} + +type ShipmentAddressObservation struct { +} + +type ShipmentAddressParameters struct { + + // +kubebuilder:validation:Required + Address []*string `json:"address" tf:"address,omitempty"` + + // +kubebuilder:validation:Required + City *string `json:"city" tf:"city,omitempty"` + + // +kubebuilder:validation:Required + Country *string `json:"country" tf:"country,omitempty"` + + // +kubebuilder:validation:Required + PostalCode *string `json:"postalCode" tf:"postal_code,omitempty"` + + // +kubebuilder:validation:Required + State *string `json:"state" tf:"state,omitempty"` +} + +type ShipmentHistoryObservation struct { + AdditionalDetails map[string]*string `json:"additionalDetails,omitempty" tf:"additional_details,omitempty"` + + Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` + + LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update,omitempty"` +} + +type ShipmentHistoryParameters struct { +} + +type ShipmentTrackingObservation struct { + CarrierName *string `json:"carrierName,omitempty" tf:"carrier_name,omitempty"` + + SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` + + TrackingID *string `json:"trackingId,omitempty" tf:"tracking_id,omitempty"` + + TrackingURL *string `json:"trackingUrl,omitempty" tf:"tracking_url,omitempty"` +} + +type ShipmentTrackingParameters struct { +} + +type StatusObservation struct { + AdditionalDetails map[string]*string `json:"additionalDetails,omitempty" tf:"additional_details,omitempty"` + + Comments *string `json:"comments,omitempty" tf:"comments,omitempty"` + + Info *string `json:"info,omitempty" tf:"info,omitempty"` + + LastUpdate *string `json:"lastUpdate,omitempty" tf:"last_update,omitempty"` +} + +type StatusParameters struct { +} + +// EdgeOrderSpec defines the desired state of EdgeOrder +type EdgeOrderSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EdgeOrderParameters `json:"forProvider"` +} + +// EdgeOrderStatus defines the observed state of EdgeOrder. +type EdgeOrderStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EdgeOrderObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EdgeOrder is the Schema for the EdgeOrders API +// +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,azurejet} +type EdgeOrder struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EdgeOrderSpec `json:"spec"` + Status EdgeOrderStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EdgeOrderList contains a list of EdgeOrders +type EdgeOrderList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EdgeOrder `json:"items"` +} + +// Repository type metadata. +var ( + EdgeOrder_Kind = "EdgeOrder" + EdgeOrder_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EdgeOrder_Kind}.String() + EdgeOrder_KindAPIVersion = EdgeOrder_Kind + "." + CRDGroupVersion.String() + EdgeOrder_GroupVersionKind = CRDGroupVersion.WithKind(EdgeOrder_Kind) +) + +func init() { + SchemeBuilder.Register(&EdgeOrder{}, &EdgeOrderList{}) +} diff --git a/apis/databox/v1alpha1/zz_generated.deepcopy.go b/apis/databox/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..c34d098a3 --- /dev/null +++ b/apis/databox/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,798 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContactObservation) DeepCopyInto(out *ContactObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactObservation. +func (in *ContactObservation) DeepCopy() *ContactObservation { + if in == nil { + return nil + } + out := new(ContactObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContactParameters) DeepCopyInto(out *ContactParameters) { + *out = *in + if in.CompanyName != nil { + in, out := &in.CompanyName, &out.CompanyName + *out = new(string) + **out = **in + } + if in.Emails != nil { + in, out := &in.Emails, &out.Emails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PhoneNumber != nil { + in, out := &in.PhoneNumber, &out.PhoneNumber + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactParameters. +func (in *ContactParameters) DeepCopy() *ContactParameters { + if in == nil { + return nil + } + out := new(ContactParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DevicePropertiesObservation) DeepCopyInto(out *DevicePropertiesObservation) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.ConfiguredRoleTypes != nil { + in, out := &in.ConfiguredRoleTypes, &out.ConfiguredRoleTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Culture != nil { + in, out := &in.Culture, &out.Culture + *out = new(string) + **out = **in + } + if in.HcsVersion != nil { + in, out := &in.HcsVersion, &out.HcsVersion + *out = new(string) + **out = **in + } + if in.Model != nil { + in, out := &in.Model, &out.Model + *out = new(string) + **out = **in + } + if in.NodeCount != nil { + in, out := &in.NodeCount, &out.NodeCount + *out = new(int64) + **out = **in + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(string) + **out = **in + } + if in.SoftwareVersion != nil { + in, out := &in.SoftwareVersion, &out.SoftwareVersion + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.TimeZone != nil { + in, out := &in.TimeZone, &out.TimeZone + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePropertiesObservation. +func (in *DevicePropertiesObservation) DeepCopy() *DevicePropertiesObservation { + if in == nil { + return nil + } + out := new(DevicePropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DevicePropertiesParameters) DeepCopyInto(out *DevicePropertiesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevicePropertiesParameters. +func (in *DevicePropertiesParameters) DeepCopy() *DevicePropertiesParameters { + if in == nil { + return nil + } + out := new(DevicePropertiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeDevice) DeepCopyInto(out *EdgeDevice) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDevice. +func (in *EdgeDevice) DeepCopy() *EdgeDevice { + if in == nil { + return nil + } + out := new(EdgeDevice) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EdgeDevice) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeDeviceList) DeepCopyInto(out *EdgeDeviceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EdgeDevice, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceList. +func (in *EdgeDeviceList) DeepCopy() *EdgeDeviceList { + if in == nil { + return nil + } + out := new(EdgeDeviceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EdgeDeviceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeDeviceObservation) DeepCopyInto(out *EdgeDeviceObservation) { + *out = *in + if in.DeviceProperties != nil { + in, out := &in.DeviceProperties, &out.DeviceProperties + *out = make([]DevicePropertiesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceObservation. +func (in *EdgeDeviceObservation) DeepCopy() *EdgeDeviceObservation { + if in == nil { + return nil + } + out := new(EdgeDeviceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeDeviceParameters) DeepCopyInto(out *EdgeDeviceParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceParameters. +func (in *EdgeDeviceParameters) DeepCopy() *EdgeDeviceParameters { + if in == nil { + return nil + } + out := new(EdgeDeviceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeDeviceSpec) DeepCopyInto(out *EdgeDeviceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSpec. +func (in *EdgeDeviceSpec) DeepCopy() *EdgeDeviceSpec { + if in == nil { + return nil + } + out := new(EdgeDeviceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeDeviceStatus) DeepCopyInto(out *EdgeDeviceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceStatus. +func (in *EdgeDeviceStatus) DeepCopy() *EdgeDeviceStatus { + if in == nil { + return nil + } + out := new(EdgeDeviceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeOrder) DeepCopyInto(out *EdgeOrder) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeOrder. +func (in *EdgeOrder) DeepCopy() *EdgeOrder { + if in == nil { + return nil + } + out := new(EdgeOrder) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EdgeOrder) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeOrderList) DeepCopyInto(out *EdgeOrderList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EdgeOrder, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeOrderList. +func (in *EdgeOrderList) DeepCopy() *EdgeOrderList { + if in == nil { + return nil + } + out := new(EdgeOrderList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EdgeOrderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeOrderObservation) DeepCopyInto(out *EdgeOrderObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ReturnTracking != nil { + in, out := &in.ReturnTracking, &out.ReturnTracking + *out = make([]ReturnTrackingObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(string) + **out = **in + } + if in.ShipmentHistory != nil { + in, out := &in.ShipmentHistory, &out.ShipmentHistory + *out = make([]ShipmentHistoryObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ShipmentTracking != nil { + in, out := &in.ShipmentTracking, &out.ShipmentTracking + *out = make([]ShipmentTrackingObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make([]StatusObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeOrderObservation. +func (in *EdgeOrderObservation) DeepCopy() *EdgeOrderObservation { + if in == nil { + return nil + } + out := new(EdgeOrderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeOrderParameters) DeepCopyInto(out *EdgeOrderParameters) { + *out = *in + if in.Contact != nil { + in, out := &in.Contact, &out.Contact + *out = make([]ContactParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DeviceName != nil { + in, out := &in.DeviceName, &out.DeviceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ShipmentAddress != nil { + in, out := &in.ShipmentAddress, &out.ShipmentAddress + *out = make([]ShipmentAddressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeOrderParameters. +func (in *EdgeOrderParameters) DeepCopy() *EdgeOrderParameters { + if in == nil { + return nil + } + out := new(EdgeOrderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeOrderSpec) DeepCopyInto(out *EdgeOrderSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeOrderSpec. +func (in *EdgeOrderSpec) DeepCopy() *EdgeOrderSpec { + if in == nil { + return nil + } + out := new(EdgeOrderSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeOrderStatus) DeepCopyInto(out *EdgeOrderStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeOrderStatus. +func (in *EdgeOrderStatus) DeepCopy() *EdgeOrderStatus { + if in == nil { + return nil + } + out := new(EdgeOrderStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReturnTrackingObservation) DeepCopyInto(out *ReturnTrackingObservation) { + *out = *in + if in.CarrierName != nil { + in, out := &in.CarrierName, &out.CarrierName + *out = new(string) + **out = **in + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(string) + **out = **in + } + if in.TrackingID != nil { + in, out := &in.TrackingID, &out.TrackingID + *out = new(string) + **out = **in + } + if in.TrackingURL != nil { + in, out := &in.TrackingURL, &out.TrackingURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReturnTrackingObservation. +func (in *ReturnTrackingObservation) DeepCopy() *ReturnTrackingObservation { + if in == nil { + return nil + } + out := new(ReturnTrackingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReturnTrackingParameters) DeepCopyInto(out *ReturnTrackingParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReturnTrackingParameters. +func (in *ReturnTrackingParameters) DeepCopy() *ReturnTrackingParameters { + if in == nil { + return nil + } + out := new(ReturnTrackingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShipmentAddressObservation) DeepCopyInto(out *ShipmentAddressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentAddressObservation. +func (in *ShipmentAddressObservation) DeepCopy() *ShipmentAddressObservation { + if in == nil { + return nil + } + out := new(ShipmentAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShipmentAddressParameters) DeepCopyInto(out *ShipmentAddressParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.City != nil { + in, out := &in.City, &out.City + *out = new(string) + **out = **in + } + if in.Country != nil { + in, out := &in.Country, &out.Country + *out = new(string) + **out = **in + } + if in.PostalCode != nil { + in, out := &in.PostalCode, &out.PostalCode + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentAddressParameters. +func (in *ShipmentAddressParameters) DeepCopy() *ShipmentAddressParameters { + if in == nil { + return nil + } + out := new(ShipmentAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShipmentHistoryObservation) DeepCopyInto(out *ShipmentHistoryObservation) { + *out = *in + if in.AdditionalDetails != nil { + in, out := &in.AdditionalDetails, &out.AdditionalDetails + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Comments != nil { + in, out := &in.Comments, &out.Comments + *out = new(string) + **out = **in + } + if in.LastUpdate != nil { + in, out := &in.LastUpdate, &out.LastUpdate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentHistoryObservation. +func (in *ShipmentHistoryObservation) DeepCopy() *ShipmentHistoryObservation { + if in == nil { + return nil + } + out := new(ShipmentHistoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShipmentHistoryParameters) DeepCopyInto(out *ShipmentHistoryParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentHistoryParameters. +func (in *ShipmentHistoryParameters) DeepCopy() *ShipmentHistoryParameters { + if in == nil { + return nil + } + out := new(ShipmentHistoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShipmentTrackingObservation) DeepCopyInto(out *ShipmentTrackingObservation) { + *out = *in + if in.CarrierName != nil { + in, out := &in.CarrierName, &out.CarrierName + *out = new(string) + **out = **in + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(string) + **out = **in + } + if in.TrackingID != nil { + in, out := &in.TrackingID, &out.TrackingID + *out = new(string) + **out = **in + } + if in.TrackingURL != nil { + in, out := &in.TrackingURL, &out.TrackingURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentTrackingObservation. +func (in *ShipmentTrackingObservation) DeepCopy() *ShipmentTrackingObservation { + if in == nil { + return nil + } + out := new(ShipmentTrackingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShipmentTrackingParameters) DeepCopyInto(out *ShipmentTrackingParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentTrackingParameters. +func (in *ShipmentTrackingParameters) DeepCopy() *ShipmentTrackingParameters { + if in == nil { + return nil + } + out := new(ShipmentTrackingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StatusObservation) DeepCopyInto(out *StatusObservation) { + *out = *in + if in.AdditionalDetails != nil { + in, out := &in.AdditionalDetails, &out.AdditionalDetails + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Comments != nil { + in, out := &in.Comments, &out.Comments + *out = new(string) + **out = **in + } + if in.Info != nil { + in, out := &in.Info, &out.Info + *out = new(string) + **out = **in + } + if in.LastUpdate != nil { + in, out := &in.LastUpdate, &out.LastUpdate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusObservation. +func (in *StatusObservation) DeepCopy() *StatusObservation { + if in == nil { + return nil + } + out := new(StatusObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StatusParameters) DeepCopyInto(out *StatusParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusParameters. +func (in *StatusParameters) DeepCopy() *StatusParameters { + if in == nil { + return nil + } + out := new(StatusParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/databox/v1alpha1/zz_generated.managed.go b/apis/databox/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..f86bf753c --- /dev/null +++ b/apis/databox/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this EdgeDevice. +func (mg *EdgeDevice) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EdgeDevice. +func (mg *EdgeDevice) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EdgeDevice. +func (mg *EdgeDevice) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EdgeDevice. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EdgeDevice) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EdgeDevice. +func (mg *EdgeDevice) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EdgeDevice. +func (mg *EdgeDevice) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EdgeDevice. +func (mg *EdgeDevice) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EdgeDevice. +func (mg *EdgeDevice) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EdgeDevice. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EdgeDevice) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EdgeDevice. +func (mg *EdgeDevice) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EdgeOrder. +func (mg *EdgeOrder) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EdgeOrder. +func (mg *EdgeOrder) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EdgeOrder. +func (mg *EdgeOrder) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EdgeOrder. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EdgeOrder) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EdgeOrder. +func (mg *EdgeOrder) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EdgeOrder. +func (mg *EdgeOrder) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EdgeOrder. +func (mg *EdgeOrder) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EdgeOrder. +func (mg *EdgeOrder) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EdgeOrder. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EdgeOrder) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EdgeOrder. +func (mg *EdgeOrder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/databox/v1alpha1/zz_generated.managedlist.go b/apis/databox/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..ae9d25113 --- /dev/null +++ b/apis/databox/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this EdgeDeviceList. +func (l *EdgeDeviceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EdgeOrderList. +func (l *EdgeOrderList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/databox/v1alpha1/zz_groupversion_info.go b/apis/databox/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..6c607c702 --- /dev/null +++ b/apis/databox/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=databox.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "databox.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/databricks/v1alpha1/zz_generated.deepcopy.go b/apis/databricks/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..8d380d798 --- /dev/null +++ b/apis/databricks/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,505 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomParametersObservation) DeepCopyInto(out *CustomParametersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomParametersObservation. +func (in *CustomParametersObservation) DeepCopy() *CustomParametersObservation { + if in == nil { + return nil + } + out := new(CustomParametersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomParametersParameters) DeepCopyInto(out *CustomParametersParameters) { + *out = *in + if in.MachineLearningWorkspaceID != nil { + in, out := &in.MachineLearningWorkspaceID, &out.MachineLearningWorkspaceID + *out = new(string) + **out = **in + } + if in.NatGatewayName != nil { + in, out := &in.NatGatewayName, &out.NatGatewayName + *out = new(string) + **out = **in + } + if in.NoPublicIP != nil { + in, out := &in.NoPublicIP, &out.NoPublicIP + *out = new(bool) + **out = **in + } + if in.PrivateSubnetName != nil { + in, out := &in.PrivateSubnetName, &out.PrivateSubnetName + *out = new(string) + **out = **in + } + if in.PrivateSubnetNetworkSecurityGroupAssociationID != nil { + in, out := &in.PrivateSubnetNetworkSecurityGroupAssociationID, &out.PrivateSubnetNetworkSecurityGroupAssociationID + *out = new(string) + **out = **in + } + if in.PublicIPName != nil { + in, out := &in.PublicIPName, &out.PublicIPName + *out = new(string) + **out = **in + } + if in.PublicSubnetName != nil { + in, out := &in.PublicSubnetName, &out.PublicSubnetName + *out = new(string) + **out = **in + } + if in.PublicSubnetNetworkSecurityGroupAssociationID != nil { + in, out := &in.PublicSubnetNetworkSecurityGroupAssociationID, &out.PublicSubnetNetworkSecurityGroupAssociationID + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageAccountSkuName != nil { + in, out := &in.StorageAccountSkuName, &out.StorageAccountSkuName + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } + if in.VnetAddressPrefix != nil { + in, out := &in.VnetAddressPrefix, &out.VnetAddressPrefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomParametersParameters. +func (in *CustomParametersParameters) DeepCopy() *CustomParametersParameters { + if in == nil { + return nil + } + out := new(CustomParametersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountIdentityObservation) DeepCopyInto(out *StorageAccountIdentityObservation) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountIdentityObservation. +func (in *StorageAccountIdentityObservation) DeepCopy() *StorageAccountIdentityObservation { + if in == nil { + return nil + } + out := new(StorageAccountIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountIdentityParameters) DeepCopyInto(out *StorageAccountIdentityParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountIdentityParameters. +func (in *StorageAccountIdentityParameters) DeepCopy() *StorageAccountIdentityParameters { + if in == nil { + return nil + } + out := new(StorageAccountIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Workspace) DeepCopyInto(out *Workspace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace. +func (in *Workspace) DeepCopy() *Workspace { + if in == nil { + return nil + } + out := new(Workspace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Workspace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceCustomerManagedKey) DeepCopyInto(out *WorkspaceCustomerManagedKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCustomerManagedKey. +func (in *WorkspaceCustomerManagedKey) DeepCopy() *WorkspaceCustomerManagedKey { + if in == nil { + return nil + } + out := new(WorkspaceCustomerManagedKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceCustomerManagedKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceCustomerManagedKeyList) DeepCopyInto(out *WorkspaceCustomerManagedKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WorkspaceCustomerManagedKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCustomerManagedKeyList. +func (in *WorkspaceCustomerManagedKeyList) DeepCopy() *WorkspaceCustomerManagedKeyList { + if in == nil { + return nil + } + out := new(WorkspaceCustomerManagedKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceCustomerManagedKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceCustomerManagedKeyObservation) DeepCopyInto(out *WorkspaceCustomerManagedKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCustomerManagedKeyObservation. +func (in *WorkspaceCustomerManagedKeyObservation) DeepCopy() *WorkspaceCustomerManagedKeyObservation { + if in == nil { + return nil + } + out := new(WorkspaceCustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceCustomerManagedKeyParameters) DeepCopyInto(out *WorkspaceCustomerManagedKeyParameters) { + *out = *in + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCustomerManagedKeyParameters. +func (in *WorkspaceCustomerManagedKeyParameters) DeepCopy() *WorkspaceCustomerManagedKeyParameters { + if in == nil { + return nil + } + out := new(WorkspaceCustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceCustomerManagedKeySpec) DeepCopyInto(out *WorkspaceCustomerManagedKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCustomerManagedKeySpec. +func (in *WorkspaceCustomerManagedKeySpec) DeepCopy() *WorkspaceCustomerManagedKeySpec { + if in == nil { + return nil + } + out := new(WorkspaceCustomerManagedKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceCustomerManagedKeyStatus) DeepCopyInto(out *WorkspaceCustomerManagedKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCustomerManagedKeyStatus. +func (in *WorkspaceCustomerManagedKeyStatus) DeepCopy() *WorkspaceCustomerManagedKeyStatus { + if in == nil { + return nil + } + out := new(WorkspaceCustomerManagedKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Workspace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList. +func (in *WorkspaceList) DeepCopy() *WorkspaceList { + if in == nil { + return nil + } + out := new(WorkspaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { + *out = *in + if in.ManagedResourceGroupID != nil { + in, out := &in.ManagedResourceGroupID, &out.ManagedResourceGroupID + *out = new(string) + **out = **in + } + if in.StorageAccountIdentity != nil { + in, out := &in.StorageAccountIdentity, &out.StorageAccountIdentity + *out = make([]StorageAccountIdentityObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceURL != nil { + in, out := &in.WorkspaceURL, &out.WorkspaceURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation. +func (in *WorkspaceObservation) DeepCopy() *WorkspaceObservation { + if in == nil { + return nil + } + out := new(WorkspaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters) { + *out = *in + if in.CustomParameters != nil { + in, out := &in.CustomParameters, &out.CustomParameters + *out = make([]CustomParametersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomerManagedKeyEnabled != nil { + in, out := &in.CustomerManagedKeyEnabled, &out.CustomerManagedKeyEnabled + *out = new(bool) + **out = **in + } + if in.InfrastructureEncryptionEnabled != nil { + in, out := &in.InfrastructureEncryptionEnabled, &out.InfrastructureEncryptionEnabled + *out = new(bool) + **out = **in + } + if in.LoadBalancerBackendAddressPoolID != nil { + in, out := &in.LoadBalancerBackendAddressPoolID, &out.LoadBalancerBackendAddressPoolID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagedResourceGroupName != nil { + in, out := &in.ManagedResourceGroupName, &out.ManagedResourceGroupName + *out = new(string) + **out = **in + } + if in.ManagedServicesCmkKeyVaultKeyID != nil { + in, out := &in.ManagedServicesCmkKeyVaultKeyID, &out.ManagedServicesCmkKeyVaultKeyID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkSecurityGroupRulesRequired != nil { + in, out := &in.NetworkSecurityGroupRulesRequired, &out.NetworkSecurityGroupRulesRequired + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters. +func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters { + if in == nil { + return nil + } + out := new(WorkspaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec. +func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec { + if in == nil { + return nil + } + out := new(WorkspaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus. +func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus { + if in == nil { + return nil + } + out := new(WorkspaceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/databricks/v1alpha1/zz_generated.managed.go b/apis/databricks/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..b43f406ac --- /dev/null +++ b/apis/databricks/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Workspace. +func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Workspace. +func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Workspace. +func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Workspace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Workspace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Workspace. +func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Workspace. +func (mg *Workspace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Workspace. +func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Workspace. +func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Workspace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Workspace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Workspace. +func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WorkspaceCustomerManagedKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WorkspaceCustomerManagedKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WorkspaceCustomerManagedKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WorkspaceCustomerManagedKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WorkspaceCustomerManagedKey. +func (mg *WorkspaceCustomerManagedKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/databricks/v1alpha1/zz_generated.managedlist.go b/apis/databricks/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..08317711c --- /dev/null +++ b/apis/databricks/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this WorkspaceCustomerManagedKeyList. +func (l *WorkspaceCustomerManagedKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceList. +func (l *WorkspaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/databricks/v1alpha1/zz_groupversion_info.go b/apis/databricks/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..80531f12d --- /dev/null +++ b/apis/databricks/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=databricks.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "databricks.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/databricks/v1alpha1/zz_workspace_terraformed.go b/apis/databricks/v1alpha1/zz_workspace_terraformed.go new file mode 100755 index 000000000..8c0bb00c3 --- /dev/null +++ b/apis/databricks/v1alpha1/zz_workspace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Workspace +func (mg *Workspace) GetTerraformResourceType() string { + return "azurerm_databricks_workspace" +} + +// GetConnectionDetailsMapping for this Workspace +func (tr *Workspace) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_identity[*].principal_id": "status.atProvider.storageAccountIdentity[*].principalID", "storage_account_identity[*].tenant_id": "status.atProvider.storageAccountIdentity[*].tenantID"} +} + +// GetObservation of this Workspace +func (tr *Workspace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Workspace +func (tr *Workspace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Workspace +func (tr *Workspace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Workspace +func (tr *Workspace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Workspace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Workspace) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Workspace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/databricks/v1alpha1/zz_workspace_types.go b/apis/databricks/v1alpha1/zz_workspace_types.go new file mode 100755 index 000000000..f7bb0c7a7 --- /dev/null +++ b/apis/databricks/v1alpha1/zz_workspace_types.go @@ -0,0 +1,176 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CustomParametersObservation struct { +} + +type CustomParametersParameters struct { + + // +kubebuilder:validation:Optional + MachineLearningWorkspaceID *string `json:"machineLearningWorkspaceId,omitempty" tf:"machine_learning_workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + NatGatewayName *string `json:"natGatewayName,omitempty" tf:"nat_gateway_name,omitempty"` + + // +kubebuilder:validation:Optional + NoPublicIP *bool `json:"noPublicIp,omitempty" tf:"no_public_ip,omitempty"` + + // +kubebuilder:validation:Optional + PrivateSubnetName *string `json:"privateSubnetName,omitempty" tf:"private_subnet_name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateSubnetNetworkSecurityGroupAssociationID *string `json:"privateSubnetNetworkSecurityGroupAssociationId,omitempty" tf:"private_subnet_network_security_group_association_id,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPName *string `json:"publicIpName,omitempty" tf:"public_ip_name,omitempty"` + + // +kubebuilder:validation:Optional + PublicSubnetName *string `json:"publicSubnetName,omitempty" tf:"public_subnet_name,omitempty"` + + // +kubebuilder:validation:Optional + PublicSubnetNetworkSecurityGroupAssociationID *string `json:"publicSubnetNetworkSecurityGroupAssociationId,omitempty" tf:"public_subnet_network_security_group_association_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountName *string `json:"storageAccountName,omitempty" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountSkuName *string `json:"storageAccountSkuName,omitempty" tf:"storage_account_sku_name,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` + + // +kubebuilder:validation:Optional + VnetAddressPrefix *string `json:"vnetAddressPrefix,omitempty" tf:"vnet_address_prefix,omitempty"` +} + +type StorageAccountIdentityObservation struct { + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type StorageAccountIdentityParameters struct { +} + +type WorkspaceObservation struct { + ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty" tf:"managed_resource_group_id,omitempty"` + + StorageAccountIdentity []StorageAccountIdentityObservation `json:"storageAccountIdentity,omitempty" tf:"storage_account_identity,omitempty"` + + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + WorkspaceURL *string `json:"workspaceUrl,omitempty" tf:"workspace_url,omitempty"` +} + +type WorkspaceParameters struct { + + // +kubebuilder:validation:Optional + CustomParameters []CustomParametersParameters `json:"customParameters,omitempty" tf:"custom_parameters,omitempty"` + + // +kubebuilder:validation:Optional + CustomerManagedKeyEnabled *bool `json:"customerManagedKeyEnabled,omitempty" tf:"customer_managed_key_enabled,omitempty"` + + // +kubebuilder:validation:Optional + InfrastructureEncryptionEnabled *bool `json:"infrastructureEncryptionEnabled,omitempty" tf:"infrastructure_encryption_enabled,omitempty"` + + // +kubebuilder:validation:Optional + LoadBalancerBackendAddressPoolID *string `json:"loadBalancerBackendAddressPoolId,omitempty" tf:"load_balancer_backend_address_pool_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty" tf:"managed_resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ManagedServicesCmkKeyVaultKeyID *string `json:"managedServicesCmkKeyVaultKeyId,omitempty" tf:"managed_services_cmk_key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkSecurityGroupRulesRequired *string `json:"networkSecurityGroupRulesRequired,omitempty" tf:"network_security_group_rules_required,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// WorkspaceSpec defines the desired state of Workspace +type WorkspaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceParameters `json:"forProvider"` +} + +// WorkspaceStatus defines the observed state of Workspace. +type WorkspaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Workspace is the Schema for the Workspaces API +// +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,azurejet} +type Workspace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceSpec `json:"spec"` + Status WorkspaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceList contains a list of Workspaces +type WorkspaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Workspace `json:"items"` +} + +// Repository type metadata. +var ( + Workspace_Kind = "Workspace" + Workspace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Workspace_Kind}.String() + Workspace_KindAPIVersion = Workspace_Kind + "." + CRDGroupVersion.String() + Workspace_GroupVersionKind = CRDGroupVersion.WithKind(Workspace_Kind) +) + +func init() { + SchemeBuilder.Register(&Workspace{}, &WorkspaceList{}) +} diff --git a/apis/databricks/v1alpha1/zz_workspacecustomermanagedkey_terraformed.go b/apis/databricks/v1alpha1/zz_workspacecustomermanagedkey_terraformed.go new file mode 100755 index 000000000..de96ce33d --- /dev/null +++ b/apis/databricks/v1alpha1/zz_workspacecustomermanagedkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WorkspaceCustomerManagedKey +func (mg *WorkspaceCustomerManagedKey) GetTerraformResourceType() string { + return "azurerm_databricks_workspace_customer_managed_key" +} + +// GetConnectionDetailsMapping for this WorkspaceCustomerManagedKey +func (tr *WorkspaceCustomerManagedKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this WorkspaceCustomerManagedKey +func (tr *WorkspaceCustomerManagedKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WorkspaceCustomerManagedKey +func (tr *WorkspaceCustomerManagedKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WorkspaceCustomerManagedKey +func (tr *WorkspaceCustomerManagedKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WorkspaceCustomerManagedKey +func (tr *WorkspaceCustomerManagedKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WorkspaceCustomerManagedKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WorkspaceCustomerManagedKey) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceCustomerManagedKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WorkspaceCustomerManagedKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/databricks/v1alpha1/zz_workspacecustomermanagedkey_types.go b/apis/databricks/v1alpha1/zz_workspacecustomermanagedkey_types.go new file mode 100755 index 000000000..1f2c50efa --- /dev/null +++ b/apis/databricks/v1alpha1/zz_workspacecustomermanagedkey_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WorkspaceCustomerManagedKeyObservation struct { +} + +type WorkspaceCustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Required + KeyVaultKeyID *string `json:"keyVaultKeyId" tf:"key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceID *string `json:"workspaceId" tf:"workspace_id,omitempty"` +} + +// WorkspaceCustomerManagedKeySpec defines the desired state of WorkspaceCustomerManagedKey +type WorkspaceCustomerManagedKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceCustomerManagedKeyParameters `json:"forProvider"` +} + +// WorkspaceCustomerManagedKeyStatus defines the observed state of WorkspaceCustomerManagedKey. +type WorkspaceCustomerManagedKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceCustomerManagedKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceCustomerManagedKey is the Schema for the WorkspaceCustomerManagedKeys API +// +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,azurejet} +type WorkspaceCustomerManagedKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceCustomerManagedKeySpec `json:"spec"` + Status WorkspaceCustomerManagedKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceCustomerManagedKeyList contains a list of WorkspaceCustomerManagedKeys +type WorkspaceCustomerManagedKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WorkspaceCustomerManagedKey `json:"items"` +} + +// Repository type metadata. +var ( + WorkspaceCustomerManagedKey_Kind = "WorkspaceCustomerManagedKey" + WorkspaceCustomerManagedKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceCustomerManagedKey_Kind}.String() + WorkspaceCustomerManagedKey_KindAPIVersion = WorkspaceCustomerManagedKey_Kind + "." + CRDGroupVersion.String() + WorkspaceCustomerManagedKey_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceCustomerManagedKey_Kind) +) + +func init() { + SchemeBuilder.Register(&WorkspaceCustomerManagedKey{}, &WorkspaceCustomerManagedKeyList{}) +} diff --git a/apis/dedicated/v1alpha1/zz_generated.deepcopy.go b/apis/dedicated/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..4e7e3237f --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,425 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HardwareSecurityModule) DeepCopyInto(out *HardwareSecurityModule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSecurityModule. +func (in *HardwareSecurityModule) DeepCopy() *HardwareSecurityModule { + if in == nil { + return nil + } + out := new(HardwareSecurityModule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HardwareSecurityModule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HardwareSecurityModuleList) DeepCopyInto(out *HardwareSecurityModuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HardwareSecurityModule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSecurityModuleList. +func (in *HardwareSecurityModuleList) DeepCopy() *HardwareSecurityModuleList { + if in == nil { + return nil + } + out := new(HardwareSecurityModuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HardwareSecurityModuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HardwareSecurityModuleObservation) DeepCopyInto(out *HardwareSecurityModuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSecurityModuleObservation. +func (in *HardwareSecurityModuleObservation) DeepCopy() *HardwareSecurityModuleObservation { + if in == nil { + return nil + } + out := new(HardwareSecurityModuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HardwareSecurityModuleParameters) DeepCopyInto(out *HardwareSecurityModuleParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkProfile != nil { + in, out := &in.NetworkProfile, &out.NetworkProfile + *out = make([]NetworkProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.StampID != nil { + in, out := &in.StampID, &out.StampID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSecurityModuleParameters. +func (in *HardwareSecurityModuleParameters) DeepCopy() *HardwareSecurityModuleParameters { + if in == nil { + return nil + } + out := new(HardwareSecurityModuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HardwareSecurityModuleSpec) DeepCopyInto(out *HardwareSecurityModuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSecurityModuleSpec. +func (in *HardwareSecurityModuleSpec) DeepCopy() *HardwareSecurityModuleSpec { + if in == nil { + return nil + } + out := new(HardwareSecurityModuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HardwareSecurityModuleStatus) DeepCopyInto(out *HardwareSecurityModuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareSecurityModuleStatus. +func (in *HardwareSecurityModuleStatus) DeepCopy() *HardwareSecurityModuleStatus { + if in == nil { + return nil + } + out := new(HardwareSecurityModuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Host) DeepCopyInto(out *Host) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host. +func (in *Host) DeepCopy() *Host { + if in == nil { + return nil + } + out := new(Host) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Host) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostList) DeepCopyInto(out *HostList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Host, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostList. +func (in *HostList) DeepCopy() *HostList { + if in == nil { + return nil + } + out := new(HostList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HostList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostObservation) DeepCopyInto(out *HostObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostObservation. +func (in *HostObservation) DeepCopy() *HostObservation { + if in == nil { + return nil + } + out := new(HostObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostParameters) DeepCopyInto(out *HostParameters) { + *out = *in + if in.AutoReplaceOnFailure != nil { + in, out := &in.AutoReplaceOnFailure, &out.AutoReplaceOnFailure + *out = new(bool) + **out = **in + } + if in.DedicatedHostGroupID != nil { + in, out := &in.DedicatedHostGroupID, &out.DedicatedHostGroupID + *out = new(string) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PlatformFaultDomain != nil { + in, out := &in.PlatformFaultDomain, &out.PlatformFaultDomain + *out = new(int64) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostParameters. +func (in *HostParameters) DeepCopy() *HostParameters { + if in == nil { + return nil + } + out := new(HostParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostSpec) DeepCopyInto(out *HostSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSpec. +func (in *HostSpec) DeepCopy() *HostSpec { + if in == nil { + return nil + } + out := new(HostSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostStatus) DeepCopyInto(out *HostStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostStatus. +func (in *HostStatus) DeepCopy() *HostStatus { + if in == nil { + return nil + } + out := new(HostStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkProfileObservation) DeepCopyInto(out *NetworkProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkProfileObservation. +func (in *NetworkProfileObservation) DeepCopy() *NetworkProfileObservation { + if in == nil { + return nil + } + out := new(NetworkProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkProfileParameters) DeepCopyInto(out *NetworkProfileParameters) { + *out = *in + if in.NetworkInterfacePrivateIPAddresses != nil { + in, out := &in.NetworkInterfacePrivateIPAddresses, &out.NetworkInterfacePrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkProfileParameters. +func (in *NetworkProfileParameters) DeepCopy() *NetworkProfileParameters { + if in == nil { + return nil + } + out := new(NetworkProfileParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/dedicated/v1alpha1/zz_generated.managed.go b/apis/dedicated/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..1f7301769 --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HardwareSecurityModule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HardwareSecurityModule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HardwareSecurityModule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HardwareSecurityModule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HardwareSecurityModule. +func (mg *HardwareSecurityModule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Host. +func (mg *Host) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Host. +func (mg *Host) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Host. +func (mg *Host) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Host. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Host) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Host. +func (mg *Host) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Host. +func (mg *Host) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Host. +func (mg *Host) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Host. +func (mg *Host) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Host. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Host) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Host. +func (mg *Host) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/dedicated/v1alpha1/zz_generated.managedlist.go b/apis/dedicated/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..5b2865fdd --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this HardwareSecurityModuleList. +func (l *HardwareSecurityModuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this HostList. +func (l *HostList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/dedicated/v1alpha1/zz_groupversion_info.go b/apis/dedicated/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..72506ee50 --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=dedicated.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "dedicated.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/dedicated/v1alpha1/zz_hardwaresecuritymodule_terraformed.go b/apis/dedicated/v1alpha1/zz_hardwaresecuritymodule_terraformed.go new file mode 100755 index 000000000..e1a493432 --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_hardwaresecuritymodule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HardwareSecurityModule +func (mg *HardwareSecurityModule) GetTerraformResourceType() string { + return "azurerm_dedicated_hardware_security_module" +} + +// GetConnectionDetailsMapping for this HardwareSecurityModule +func (tr *HardwareSecurityModule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this HardwareSecurityModule +func (tr *HardwareSecurityModule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HardwareSecurityModule +func (tr *HardwareSecurityModule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HardwareSecurityModule +func (tr *HardwareSecurityModule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HardwareSecurityModule +func (tr *HardwareSecurityModule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HardwareSecurityModule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HardwareSecurityModule) LateInitialize(attrs []byte) (bool, error) { + params := &HardwareSecurityModuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HardwareSecurityModule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dedicated/v1alpha1/zz_hardwaresecuritymodule_types.go b/apis/dedicated/v1alpha1/zz_hardwaresecuritymodule_types.go new file mode 100755 index 000000000..44313587e --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_hardwaresecuritymodule_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HardwareSecurityModuleObservation struct { +} + +type HardwareSecurityModuleParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkProfile []NetworkProfileParameters `json:"networkProfile" tf:"network_profile,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + StampID *string `json:"stampId,omitempty" tf:"stamp_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type NetworkProfileObservation struct { +} + +type NetworkProfileParameters struct { + + // +kubebuilder:validation:Required + NetworkInterfacePrivateIPAddresses []*string `json:"networkInterfacePrivateIpAddresses" tf:"network_interface_private_ip_addresses,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// HardwareSecurityModuleSpec defines the desired state of HardwareSecurityModule +type HardwareSecurityModuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HardwareSecurityModuleParameters `json:"forProvider"` +} + +// HardwareSecurityModuleStatus defines the observed state of HardwareSecurityModule. +type HardwareSecurityModuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HardwareSecurityModuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HardwareSecurityModule is the Schema for the HardwareSecurityModules API +// +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,azurejet} +type HardwareSecurityModule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HardwareSecurityModuleSpec `json:"spec"` + Status HardwareSecurityModuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HardwareSecurityModuleList contains a list of HardwareSecurityModules +type HardwareSecurityModuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HardwareSecurityModule `json:"items"` +} + +// Repository type metadata. +var ( + HardwareSecurityModule_Kind = "HardwareSecurityModule" + HardwareSecurityModule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HardwareSecurityModule_Kind}.String() + HardwareSecurityModule_KindAPIVersion = HardwareSecurityModule_Kind + "." + CRDGroupVersion.String() + HardwareSecurityModule_GroupVersionKind = CRDGroupVersion.WithKind(HardwareSecurityModule_Kind) +) + +func init() { + SchemeBuilder.Register(&HardwareSecurityModule{}, &HardwareSecurityModuleList{}) +} diff --git a/apis/dedicated/v1alpha1/zz_host_terraformed.go b/apis/dedicated/v1alpha1/zz_host_terraformed.go new file mode 100755 index 000000000..d0e445f64 --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_host_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Host +func (mg *Host) GetTerraformResourceType() string { + return "azurerm_dedicated_host" +} + +// GetConnectionDetailsMapping for this Host +func (tr *Host) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Host +func (tr *Host) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Host +func (tr *Host) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Host +func (tr *Host) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Host +func (tr *Host) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Host using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Host) LateInitialize(attrs []byte) (bool, error) { + params := &HostParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Host) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dedicated/v1alpha1/zz_host_types.go b/apis/dedicated/v1alpha1/zz_host_types.go new file mode 100755 index 000000000..1e3deefa9 --- /dev/null +++ b/apis/dedicated/v1alpha1/zz_host_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HostObservation struct { +} + +type HostParameters struct { + + // +kubebuilder:validation:Optional + AutoReplaceOnFailure *bool `json:"autoReplaceOnFailure,omitempty" tf:"auto_replace_on_failure,omitempty"` + + // +kubebuilder:validation:Required + DedicatedHostGroupID *string `json:"dedicatedHostGroupId" tf:"dedicated_host_group_id,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PlatformFaultDomain *int64 `json:"platformFaultDomain" tf:"platform_fault_domain,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// HostSpec defines the desired state of Host +type HostSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HostParameters `json:"forProvider"` +} + +// HostStatus defines the observed state of Host. +type HostStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HostObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Host is the Schema for the Hosts API +// +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,azurejet} +type Host struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HostSpec `json:"spec"` + Status HostStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HostList contains a list of Hosts +type HostList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Host `json:"items"` +} + +// Repository type metadata. +var ( + Host_Kind = "Host" + Host_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Host_Kind}.String() + Host_KindAPIVersion = Host_Kind + "." + CRDGroupVersion.String() + Host_GroupVersionKind = CRDGroupVersion.WithKind(Host_Kind) +) + +func init() { + SchemeBuilder.Register(&Host{}, &HostList{}) +} diff --git a/apis/dev/v1alpha1/zz_generated.deepcopy.go b/apis/dev/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..5938bb832 --- /dev/null +++ b/apis/dev/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1838 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DailyRecurrenceObservation) DeepCopyInto(out *DailyRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DailyRecurrenceObservation. +func (in *DailyRecurrenceObservation) DeepCopy() *DailyRecurrenceObservation { + if in == nil { + return nil + } + out := new(DailyRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DailyRecurrenceParameters) DeepCopyInto(out *DailyRecurrenceParameters) { + *out = *in + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DailyRecurrenceParameters. +func (in *DailyRecurrenceParameters) DeepCopy() *DailyRecurrenceParameters { + if in == nil { + return nil + } + out := new(DailyRecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GalleryImageReferenceObservation) DeepCopyInto(out *GalleryImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GalleryImageReferenceObservation. +func (in *GalleryImageReferenceObservation) DeepCopy() *GalleryImageReferenceObservation { + if in == nil { + return nil + } + out := new(GalleryImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GalleryImageReferenceParameters) DeepCopyInto(out *GalleryImageReferenceParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GalleryImageReferenceParameters. +func (in *GalleryImageReferenceParameters) DeepCopy() *GalleryImageReferenceParameters { + if in == nil { + return nil + } + out := new(GalleryImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HourlyRecurrenceObservation) DeepCopyInto(out *HourlyRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HourlyRecurrenceObservation. +func (in *HourlyRecurrenceObservation) DeepCopy() *HourlyRecurrenceObservation { + if in == nil { + return nil + } + out := new(HourlyRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HourlyRecurrenceParameters) DeepCopyInto(out *HourlyRecurrenceParameters) { + *out = *in + if in.Minute != nil { + in, out := &in.Minute, &out.Minute + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HourlyRecurrenceParameters. +func (in *HourlyRecurrenceParameters) DeepCopy() *HourlyRecurrenceParameters { + if in == nil { + return nil + } + out := new(HourlyRecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundNatRuleObservation) DeepCopyInto(out *InboundNatRuleObservation) { + *out = *in + if in.FrontendPort != nil { + in, out := &in.FrontendPort, &out.FrontendPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundNatRuleObservation. +func (in *InboundNatRuleObservation) DeepCopy() *InboundNatRuleObservation { + if in == nil { + return nil + } + out := new(InboundNatRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundNatRuleParameters) DeepCopyInto(out *InboundNatRuleParameters) { + *out = *in + if in.BackendPort != nil { + in, out := &in.BackendPort, &out.BackendPort + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundNatRuleParameters. +func (in *InboundNatRuleParameters) DeepCopy() *InboundNatRuleParameters { + if in == nil { + return nil + } + out := new(InboundNatRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationSettingsObservation) DeepCopyInto(out *NotificationSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSettingsObservation. +func (in *NotificationSettingsObservation) DeepCopy() *NotificationSettingsObservation { + if in == nil { + return nil + } + out := new(NotificationSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationSettingsParameters) DeepCopyInto(out *NotificationSettingsParameters) { + *out = *in + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.TimeInMinutes != nil { + in, out := &in.TimeInMinutes, &out.TimeInMinutes + *out = new(int64) + **out = **in + } + if in.WebhookURL != nil { + in, out := &in.WebhookURL, &out.WebhookURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSettingsParameters. +func (in *NotificationSettingsParameters) DeepCopy() *NotificationSettingsParameters { + if in == nil { + return nil + } + out := new(NotificationSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetObservation. +func (in *SubnetObservation) DeepCopy() *SubnetObservation { + if in == nil { + return nil + } + out := new(SubnetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters) { + *out = *in + if in.UseInVirtualMachineCreation != nil { + in, out := &in.UseInVirtualMachineCreation, &out.UseInVirtualMachineCreation + *out = new(string) + **out = **in + } + if in.UsePublicIPAddress != nil { + in, out := &in.UsePublicIPAddress, &out.UsePublicIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParameters. +func (in *SubnetParameters) DeepCopy() *SubnetParameters { + if in == nil { + return nil + } + out := new(SubnetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGlobalVmShutdownSchedule) DeepCopyInto(out *TestGlobalVmShutdownSchedule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGlobalVmShutdownSchedule. +func (in *TestGlobalVmShutdownSchedule) DeepCopy() *TestGlobalVmShutdownSchedule { + if in == nil { + return nil + } + out := new(TestGlobalVmShutdownSchedule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestGlobalVmShutdownSchedule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGlobalVmShutdownScheduleList) DeepCopyInto(out *TestGlobalVmShutdownScheduleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestGlobalVmShutdownSchedule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGlobalVmShutdownScheduleList. +func (in *TestGlobalVmShutdownScheduleList) DeepCopy() *TestGlobalVmShutdownScheduleList { + if in == nil { + return nil + } + out := new(TestGlobalVmShutdownScheduleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestGlobalVmShutdownScheduleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGlobalVmShutdownScheduleObservation) DeepCopyInto(out *TestGlobalVmShutdownScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGlobalVmShutdownScheduleObservation. +func (in *TestGlobalVmShutdownScheduleObservation) DeepCopy() *TestGlobalVmShutdownScheduleObservation { + if in == nil { + return nil + } + out := new(TestGlobalVmShutdownScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGlobalVmShutdownScheduleParameters) DeepCopyInto(out *TestGlobalVmShutdownScheduleParameters) { + *out = *in + if in.DailyRecurrenceTime != nil { + in, out := &in.DailyRecurrenceTime, &out.DailyRecurrenceTime + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.NotificationSettings != nil { + in, out := &in.NotificationSettings, &out.NotificationSettings + *out = make([]NotificationSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGlobalVmShutdownScheduleParameters. +func (in *TestGlobalVmShutdownScheduleParameters) DeepCopy() *TestGlobalVmShutdownScheduleParameters { + if in == nil { + return nil + } + out := new(TestGlobalVmShutdownScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGlobalVmShutdownScheduleSpec) DeepCopyInto(out *TestGlobalVmShutdownScheduleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGlobalVmShutdownScheduleSpec. +func (in *TestGlobalVmShutdownScheduleSpec) DeepCopy() *TestGlobalVmShutdownScheduleSpec { + if in == nil { + return nil + } + out := new(TestGlobalVmShutdownScheduleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGlobalVmShutdownScheduleStatus) DeepCopyInto(out *TestGlobalVmShutdownScheduleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGlobalVmShutdownScheduleStatus. +func (in *TestGlobalVmShutdownScheduleStatus) DeepCopy() *TestGlobalVmShutdownScheduleStatus { + if in == nil { + return nil + } + out := new(TestGlobalVmShutdownScheduleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLab) DeepCopyInto(out *TestLab) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLab. +func (in *TestLab) DeepCopy() *TestLab { + if in == nil { + return nil + } + out := new(TestLab) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestLab) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLabList) DeepCopyInto(out *TestLabList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestLab, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLabList. +func (in *TestLabList) DeepCopy() *TestLabList { + if in == nil { + return nil + } + out := new(TestLabList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestLabList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLabObservation) DeepCopyInto(out *TestLabObservation) { + *out = *in + if in.ArtifactsStorageAccountID != nil { + in, out := &in.ArtifactsStorageAccountID, &out.ArtifactsStorageAccountID + *out = new(string) + **out = **in + } + if in.DefaultPremiumStorageAccountID != nil { + in, out := &in.DefaultPremiumStorageAccountID, &out.DefaultPremiumStorageAccountID + *out = new(string) + **out = **in + } + if in.DefaultStorageAccountID != nil { + in, out := &in.DefaultStorageAccountID, &out.DefaultStorageAccountID + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.PremiumDataDiskStorageAccountID != nil { + in, out := &in.PremiumDataDiskStorageAccountID, &out.PremiumDataDiskStorageAccountID + *out = new(string) + **out = **in + } + if in.UniqueIdentifier != nil { + in, out := &in.UniqueIdentifier, &out.UniqueIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLabObservation. +func (in *TestLabObservation) DeepCopy() *TestLabObservation { + if in == nil { + return nil + } + out := new(TestLabObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLabParameters) DeepCopyInto(out *TestLabParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageType != nil { + in, out := &in.StorageType, &out.StorageType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLabParameters. +func (in *TestLabParameters) DeepCopy() *TestLabParameters { + if in == nil { + return nil + } + out := new(TestLabParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLabSpec) DeepCopyInto(out *TestLabSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLabSpec. +func (in *TestLabSpec) DeepCopy() *TestLabSpec { + if in == nil { + return nil + } + out := new(TestLabSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLabStatus) DeepCopyInto(out *TestLabStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLabStatus. +func (in *TestLabStatus) DeepCopy() *TestLabStatus { + if in == nil { + return nil + } + out := new(TestLabStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLinuxVirtualMachine) DeepCopyInto(out *TestLinuxVirtualMachine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLinuxVirtualMachine. +func (in *TestLinuxVirtualMachine) DeepCopy() *TestLinuxVirtualMachine { + if in == nil { + return nil + } + out := new(TestLinuxVirtualMachine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestLinuxVirtualMachine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLinuxVirtualMachineList) DeepCopyInto(out *TestLinuxVirtualMachineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestLinuxVirtualMachine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLinuxVirtualMachineList. +func (in *TestLinuxVirtualMachineList) DeepCopy() *TestLinuxVirtualMachineList { + if in == nil { + return nil + } + out := new(TestLinuxVirtualMachineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestLinuxVirtualMachineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLinuxVirtualMachineObservation) DeepCopyInto(out *TestLinuxVirtualMachineObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.UniqueIdentifier != nil { + in, out := &in.UniqueIdentifier, &out.UniqueIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLinuxVirtualMachineObservation. +func (in *TestLinuxVirtualMachineObservation) DeepCopy() *TestLinuxVirtualMachineObservation { + if in == nil { + return nil + } + out := new(TestLinuxVirtualMachineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLinuxVirtualMachineParameters) DeepCopyInto(out *TestLinuxVirtualMachineParameters) { + *out = *in + if in.AllowClaim != nil { + in, out := &in.AllowClaim, &out.AllowClaim + *out = new(bool) + **out = **in + } + if in.DisallowPublicIPAddress != nil { + in, out := &in.DisallowPublicIPAddress, &out.DisallowPublicIPAddress + *out = new(bool) + **out = **in + } + if in.GalleryImageReference != nil { + in, out := &in.GalleryImageReference, &out.GalleryImageReference + *out = make([]GalleryImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InboundNatRule != nil { + in, out := &in.InboundNatRule, &out.InboundNatRule + *out = make([]InboundNatRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LabName != nil { + in, out := &in.LabName, &out.LabName + *out = new(string) + **out = **in + } + if in.LabSubnetName != nil { + in, out := &in.LabSubnetName, &out.LabSubnetName + *out = new(string) + **out = **in + } + if in.LabVirtualNetworkID != nil { + in, out := &in.LabVirtualNetworkID, &out.LabVirtualNetworkID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notes != nil { + in, out := &in.Notes, &out.Notes + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SSHKey != nil { + in, out := &in.SSHKey, &out.SSHKey + *out = new(string) + **out = **in + } + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(string) + **out = **in + } + if in.StorageType != nil { + in, out := &in.StorageType, &out.StorageType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLinuxVirtualMachineParameters. +func (in *TestLinuxVirtualMachineParameters) DeepCopy() *TestLinuxVirtualMachineParameters { + if in == nil { + return nil + } + out := new(TestLinuxVirtualMachineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLinuxVirtualMachineSpec) DeepCopyInto(out *TestLinuxVirtualMachineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLinuxVirtualMachineSpec. +func (in *TestLinuxVirtualMachineSpec) DeepCopy() *TestLinuxVirtualMachineSpec { + if in == nil { + return nil + } + out := new(TestLinuxVirtualMachineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestLinuxVirtualMachineStatus) DeepCopyInto(out *TestLinuxVirtualMachineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestLinuxVirtualMachineStatus. +func (in *TestLinuxVirtualMachineStatus) DeepCopy() *TestLinuxVirtualMachineStatus { + if in == nil { + return nil + } + out := new(TestLinuxVirtualMachineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestPolicy) DeepCopyInto(out *TestPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestPolicy. +func (in *TestPolicy) DeepCopy() *TestPolicy { + if in == nil { + return nil + } + out := new(TestPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestPolicyList) DeepCopyInto(out *TestPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestPolicyList. +func (in *TestPolicyList) DeepCopy() *TestPolicyList { + if in == nil { + return nil + } + out := new(TestPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestPolicyObservation) DeepCopyInto(out *TestPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestPolicyObservation. +func (in *TestPolicyObservation) DeepCopy() *TestPolicyObservation { + if in == nil { + return nil + } + out := new(TestPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestPolicyParameters) DeepCopyInto(out *TestPolicyParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.EvaluatorType != nil { + in, out := &in.EvaluatorType, &out.EvaluatorType + *out = new(string) + **out = **in + } + if in.FactData != nil { + in, out := &in.FactData, &out.FactData + *out = new(string) + **out = **in + } + if in.LabName != nil { + in, out := &in.LabName, &out.LabName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicySetName != nil { + in, out := &in.PolicySetName, &out.PolicySetName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestPolicyParameters. +func (in *TestPolicyParameters) DeepCopy() *TestPolicyParameters { + if in == nil { + return nil + } + out := new(TestPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestPolicySpec) DeepCopyInto(out *TestPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestPolicySpec. +func (in *TestPolicySpec) DeepCopy() *TestPolicySpec { + if in == nil { + return nil + } + out := new(TestPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestPolicyStatus) DeepCopyInto(out *TestPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestPolicyStatus. +func (in *TestPolicyStatus) DeepCopy() *TestPolicyStatus { + if in == nil { + return nil + } + out := new(TestPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestSchedule) DeepCopyInto(out *TestSchedule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSchedule. +func (in *TestSchedule) DeepCopy() *TestSchedule { + if in == nil { + return nil + } + out := new(TestSchedule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestSchedule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleList) DeepCopyInto(out *TestScheduleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestSchedule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleList. +func (in *TestScheduleList) DeepCopy() *TestScheduleList { + if in == nil { + return nil + } + out := new(TestScheduleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestScheduleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleNotificationSettingsObservation) DeepCopyInto(out *TestScheduleNotificationSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleNotificationSettingsObservation. +func (in *TestScheduleNotificationSettingsObservation) DeepCopy() *TestScheduleNotificationSettingsObservation { + if in == nil { + return nil + } + out := new(TestScheduleNotificationSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleNotificationSettingsParameters) DeepCopyInto(out *TestScheduleNotificationSettingsParameters) { + *out = *in + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.TimeInMinutes != nil { + in, out := &in.TimeInMinutes, &out.TimeInMinutes + *out = new(int64) + **out = **in + } + if in.WebhookURL != nil { + in, out := &in.WebhookURL, &out.WebhookURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleNotificationSettingsParameters. +func (in *TestScheduleNotificationSettingsParameters) DeepCopy() *TestScheduleNotificationSettingsParameters { + if in == nil { + return nil + } + out := new(TestScheduleNotificationSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleObservation) DeepCopyInto(out *TestScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleObservation. +func (in *TestScheduleObservation) DeepCopy() *TestScheduleObservation { + if in == nil { + return nil + } + out := new(TestScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleParameters) DeepCopyInto(out *TestScheduleParameters) { + *out = *in + if in.DailyRecurrence != nil { + in, out := &in.DailyRecurrence, &out.DailyRecurrence + *out = make([]DailyRecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HourlyRecurrence != nil { + in, out := &in.HourlyRecurrence, &out.HourlyRecurrence + *out = make([]HourlyRecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LabName != nil { + in, out := &in.LabName, &out.LabName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotificationSettings != nil { + in, out := &in.NotificationSettings, &out.NotificationSettings + *out = make([]TestScheduleNotificationSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TaskType != nil { + in, out := &in.TaskType, &out.TaskType + *out = new(string) + **out = **in + } + if in.TimeZoneID != nil { + in, out := &in.TimeZoneID, &out.TimeZoneID + *out = new(string) + **out = **in + } + if in.WeeklyRecurrence != nil { + in, out := &in.WeeklyRecurrence, &out.WeeklyRecurrence + *out = make([]WeeklyRecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleParameters. +func (in *TestScheduleParameters) DeepCopy() *TestScheduleParameters { + if in == nil { + return nil + } + out := new(TestScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleSpec) DeepCopyInto(out *TestScheduleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleSpec. +func (in *TestScheduleSpec) DeepCopy() *TestScheduleSpec { + if in == nil { + return nil + } + out := new(TestScheduleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestScheduleStatus) DeepCopyInto(out *TestScheduleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestScheduleStatus. +func (in *TestScheduleStatus) DeepCopy() *TestScheduleStatus { + if in == nil { + return nil + } + out := new(TestScheduleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestVirtualNetwork) DeepCopyInto(out *TestVirtualNetwork) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestVirtualNetwork. +func (in *TestVirtualNetwork) DeepCopy() *TestVirtualNetwork { + if in == nil { + return nil + } + out := new(TestVirtualNetwork) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestVirtualNetwork) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestVirtualNetworkList) DeepCopyInto(out *TestVirtualNetworkList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestVirtualNetwork, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestVirtualNetworkList. +func (in *TestVirtualNetworkList) DeepCopy() *TestVirtualNetworkList { + if in == nil { + return nil + } + out := new(TestVirtualNetworkList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestVirtualNetworkList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestVirtualNetworkObservation) DeepCopyInto(out *TestVirtualNetworkObservation) { + *out = *in + if in.UniqueIdentifier != nil { + in, out := &in.UniqueIdentifier, &out.UniqueIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestVirtualNetworkObservation. +func (in *TestVirtualNetworkObservation) DeepCopy() *TestVirtualNetworkObservation { + if in == nil { + return nil + } + out := new(TestVirtualNetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestVirtualNetworkParameters) DeepCopyInto(out *TestVirtualNetworkParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.LabName != nil { + in, out := &in.LabName, &out.LabName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = make([]SubnetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestVirtualNetworkParameters. +func (in *TestVirtualNetworkParameters) DeepCopy() *TestVirtualNetworkParameters { + if in == nil { + return nil + } + out := new(TestVirtualNetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestVirtualNetworkSpec) DeepCopyInto(out *TestVirtualNetworkSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestVirtualNetworkSpec. +func (in *TestVirtualNetworkSpec) DeepCopy() *TestVirtualNetworkSpec { + if in == nil { + return nil + } + out := new(TestVirtualNetworkSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestVirtualNetworkStatus) DeepCopyInto(out *TestVirtualNetworkStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestVirtualNetworkStatus. +func (in *TestVirtualNetworkStatus) DeepCopy() *TestVirtualNetworkStatus { + if in == nil { + return nil + } + out := new(TestVirtualNetworkStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachine) DeepCopyInto(out *TestWindowsVirtualMachine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachine. +func (in *TestWindowsVirtualMachine) DeepCopy() *TestWindowsVirtualMachine { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestWindowsVirtualMachine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineGalleryImageReferenceObservation) DeepCopyInto(out *TestWindowsVirtualMachineGalleryImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineGalleryImageReferenceObservation. +func (in *TestWindowsVirtualMachineGalleryImageReferenceObservation) DeepCopy() *TestWindowsVirtualMachineGalleryImageReferenceObservation { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineGalleryImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineGalleryImageReferenceParameters) DeepCopyInto(out *TestWindowsVirtualMachineGalleryImageReferenceParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineGalleryImageReferenceParameters. +func (in *TestWindowsVirtualMachineGalleryImageReferenceParameters) DeepCopy() *TestWindowsVirtualMachineGalleryImageReferenceParameters { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineGalleryImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineInboundNatRuleObservation) DeepCopyInto(out *TestWindowsVirtualMachineInboundNatRuleObservation) { + *out = *in + if in.FrontendPort != nil { + in, out := &in.FrontendPort, &out.FrontendPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineInboundNatRuleObservation. +func (in *TestWindowsVirtualMachineInboundNatRuleObservation) DeepCopy() *TestWindowsVirtualMachineInboundNatRuleObservation { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineInboundNatRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineInboundNatRuleParameters) DeepCopyInto(out *TestWindowsVirtualMachineInboundNatRuleParameters) { + *out = *in + if in.BackendPort != nil { + in, out := &in.BackendPort, &out.BackendPort + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineInboundNatRuleParameters. +func (in *TestWindowsVirtualMachineInboundNatRuleParameters) DeepCopy() *TestWindowsVirtualMachineInboundNatRuleParameters { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineInboundNatRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineList) DeepCopyInto(out *TestWindowsVirtualMachineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TestWindowsVirtualMachine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineList. +func (in *TestWindowsVirtualMachineList) DeepCopy() *TestWindowsVirtualMachineList { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TestWindowsVirtualMachineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineObservation) DeepCopyInto(out *TestWindowsVirtualMachineObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.UniqueIdentifier != nil { + in, out := &in.UniqueIdentifier, &out.UniqueIdentifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineObservation. +func (in *TestWindowsVirtualMachineObservation) DeepCopy() *TestWindowsVirtualMachineObservation { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineParameters) DeepCopyInto(out *TestWindowsVirtualMachineParameters) { + *out = *in + if in.AllowClaim != nil { + in, out := &in.AllowClaim, &out.AllowClaim + *out = new(bool) + **out = **in + } + if in.DisallowPublicIPAddress != nil { + in, out := &in.DisallowPublicIPAddress, &out.DisallowPublicIPAddress + *out = new(bool) + **out = **in + } + if in.GalleryImageReference != nil { + in, out := &in.GalleryImageReference, &out.GalleryImageReference + *out = make([]TestWindowsVirtualMachineGalleryImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InboundNatRule != nil { + in, out := &in.InboundNatRule, &out.InboundNatRule + *out = make([]TestWindowsVirtualMachineInboundNatRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LabName != nil { + in, out := &in.LabName, &out.LabName + *out = new(string) + **out = **in + } + if in.LabSubnetName != nil { + in, out := &in.LabSubnetName, &out.LabSubnetName + *out = new(string) + **out = **in + } + if in.LabVirtualNetworkID != nil { + in, out := &in.LabVirtualNetworkID, &out.LabVirtualNetworkID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notes != nil { + in, out := &in.Notes, &out.Notes + *out = new(string) + **out = **in + } + if in.Password != nil { + in, out := &in.Password, &out.Password + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(string) + **out = **in + } + if in.StorageType != nil { + in, out := &in.StorageType, &out.StorageType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineParameters. +func (in *TestWindowsVirtualMachineParameters) DeepCopy() *TestWindowsVirtualMachineParameters { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineSpec) DeepCopyInto(out *TestWindowsVirtualMachineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineSpec. +func (in *TestWindowsVirtualMachineSpec) DeepCopy() *TestWindowsVirtualMachineSpec { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestWindowsVirtualMachineStatus) DeepCopyInto(out *TestWindowsVirtualMachineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestWindowsVirtualMachineStatus. +func (in *TestWindowsVirtualMachineStatus) DeepCopy() *TestWindowsVirtualMachineStatus { + if in == nil { + return nil + } + out := new(TestWindowsVirtualMachineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WeeklyRecurrenceObservation) DeepCopyInto(out *WeeklyRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyRecurrenceObservation. +func (in *WeeklyRecurrenceObservation) DeepCopy() *WeeklyRecurrenceObservation { + if in == nil { + return nil + } + out := new(WeeklyRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WeeklyRecurrenceParameters) DeepCopyInto(out *WeeklyRecurrenceParameters) { + *out = *in + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } + if in.WeekDays != nil { + in, out := &in.WeekDays, &out.WeekDays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyRecurrenceParameters. +func (in *WeeklyRecurrenceParameters) DeepCopy() *WeeklyRecurrenceParameters { + if in == nil { + return nil + } + out := new(WeeklyRecurrenceParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/dev/v1alpha1/zz_generated.managed.go b/apis/dev/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..f4d8c4c60 --- /dev/null +++ b/apis/dev/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestGlobalVmShutdownSchedule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestGlobalVmShutdownSchedule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestGlobalVmShutdownSchedule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestGlobalVmShutdownSchedule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestGlobalVmShutdownSchedule. +func (mg *TestGlobalVmShutdownSchedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TestLab. +func (mg *TestLab) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestLab. +func (mg *TestLab) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestLab. +func (mg *TestLab) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestLab. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestLab) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestLab. +func (mg *TestLab) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestLab. +func (mg *TestLab) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestLab. +func (mg *TestLab) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestLab. +func (mg *TestLab) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestLab. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestLab) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestLab. +func (mg *TestLab) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestLinuxVirtualMachine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestLinuxVirtualMachine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestLinuxVirtualMachine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestLinuxVirtualMachine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestLinuxVirtualMachine. +func (mg *TestLinuxVirtualMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TestPolicy. +func (mg *TestPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestPolicy. +func (mg *TestPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestPolicy. +func (mg *TestPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestPolicy. +func (mg *TestPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestPolicy. +func (mg *TestPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestPolicy. +func (mg *TestPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestPolicy. +func (mg *TestPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestPolicy. +func (mg *TestPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TestSchedule. +func (mg *TestSchedule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestSchedule. +func (mg *TestSchedule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestSchedule. +func (mg *TestSchedule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestSchedule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestSchedule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestSchedule. +func (mg *TestSchedule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestSchedule. +func (mg *TestSchedule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestSchedule. +func (mg *TestSchedule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestSchedule. +func (mg *TestSchedule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestSchedule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestSchedule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestSchedule. +func (mg *TestSchedule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestVirtualNetwork. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestVirtualNetwork) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestVirtualNetwork. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestVirtualNetwork) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestVirtualNetwork. +func (mg *TestVirtualNetwork) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TestWindowsVirtualMachine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TestWindowsVirtualMachine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TestWindowsVirtualMachine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TestWindowsVirtualMachine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TestWindowsVirtualMachine. +func (mg *TestWindowsVirtualMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/dev/v1alpha1/zz_generated.managedlist.go b/apis/dev/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..363557803 --- /dev/null +++ b/apis/dev/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this TestGlobalVmShutdownScheduleList. +func (l *TestGlobalVmShutdownScheduleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TestLabList. +func (l *TestLabList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TestLinuxVirtualMachineList. +func (l *TestLinuxVirtualMachineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TestPolicyList. +func (l *TestPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TestScheduleList. +func (l *TestScheduleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TestVirtualNetworkList. +func (l *TestVirtualNetworkList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TestWindowsVirtualMachineList. +func (l *TestWindowsVirtualMachineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/dev/v1alpha1/zz_groupversion_info.go b/apis/dev/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..52bb71ac8 --- /dev/null +++ b/apis/dev/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=dev.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "dev.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/dev/v1alpha1/zz_testglobalvmshutdownschedule_terraformed.go b/apis/dev/v1alpha1/zz_testglobalvmshutdownschedule_terraformed.go new file mode 100755 index 000000000..2d7519f39 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testglobalvmshutdownschedule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestGlobalVmShutdownSchedule +func (mg *TestGlobalVmShutdownSchedule) GetTerraformResourceType() string { + return "azurerm_dev_test_global_vm_shutdown_schedule" +} + +// GetConnectionDetailsMapping for this TestGlobalVmShutdownSchedule +func (tr *TestGlobalVmShutdownSchedule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TestGlobalVmShutdownSchedule +func (tr *TestGlobalVmShutdownSchedule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestGlobalVmShutdownSchedule +func (tr *TestGlobalVmShutdownSchedule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestGlobalVmShutdownSchedule +func (tr *TestGlobalVmShutdownSchedule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestGlobalVmShutdownSchedule +func (tr *TestGlobalVmShutdownSchedule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestGlobalVmShutdownSchedule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestGlobalVmShutdownSchedule) LateInitialize(attrs []byte) (bool, error) { + params := &TestGlobalVmShutdownScheduleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestGlobalVmShutdownSchedule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testglobalvmshutdownschedule_types.go b/apis/dev/v1alpha1/zz_testglobalvmshutdownschedule_types.go new file mode 100755 index 000000000..6689f7dde --- /dev/null +++ b/apis/dev/v1alpha1/zz_testglobalvmshutdownschedule_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NotificationSettingsObservation struct { +} + +type NotificationSettingsParameters struct { + + // +kubebuilder:validation:Optional + Email *string `json:"email,omitempty" tf:"email,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + TimeInMinutes *int64 `json:"timeInMinutes,omitempty" tf:"time_in_minutes,omitempty"` + + // +kubebuilder:validation:Optional + WebhookURL *string `json:"webhookUrl,omitempty" tf:"webhook_url,omitempty"` +} + +type TestGlobalVmShutdownScheduleObservation struct { +} + +type TestGlobalVmShutdownScheduleParameters struct { + + // +kubebuilder:validation:Required + DailyRecurrenceTime *string `json:"dailyRecurrenceTime" tf:"daily_recurrence_time,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + NotificationSettings []NotificationSettingsParameters `json:"notificationSettings" tf:"notification_settings,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Timezone *string `json:"timezone" tf:"timezone,omitempty"` + + // +kubebuilder:validation:Required + VirtualMachineID *string `json:"virtualMachineId" tf:"virtual_machine_id,omitempty"` +} + +// TestGlobalVmShutdownScheduleSpec defines the desired state of TestGlobalVmShutdownSchedule +type TestGlobalVmShutdownScheduleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestGlobalVmShutdownScheduleParameters `json:"forProvider"` +} + +// TestGlobalVmShutdownScheduleStatus defines the observed state of TestGlobalVmShutdownSchedule. +type TestGlobalVmShutdownScheduleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestGlobalVmShutdownScheduleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestGlobalVmShutdownSchedule is the Schema for the TestGlobalVmShutdownSchedules API +// +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,azurejet} +type TestGlobalVmShutdownSchedule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestGlobalVmShutdownScheduleSpec `json:"spec"` + Status TestGlobalVmShutdownScheduleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestGlobalVmShutdownScheduleList contains a list of TestGlobalVmShutdownSchedules +type TestGlobalVmShutdownScheduleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestGlobalVmShutdownSchedule `json:"items"` +} + +// Repository type metadata. +var ( + TestGlobalVmShutdownSchedule_Kind = "TestGlobalVmShutdownSchedule" + TestGlobalVmShutdownSchedule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestGlobalVmShutdownSchedule_Kind}.String() + TestGlobalVmShutdownSchedule_KindAPIVersion = TestGlobalVmShutdownSchedule_Kind + "." + CRDGroupVersion.String() + TestGlobalVmShutdownSchedule_GroupVersionKind = CRDGroupVersion.WithKind(TestGlobalVmShutdownSchedule_Kind) +) + +func init() { + SchemeBuilder.Register(&TestGlobalVmShutdownSchedule{}, &TestGlobalVmShutdownScheduleList{}) +} diff --git a/apis/dev/v1alpha1/zz_testlab_terraformed.go b/apis/dev/v1alpha1/zz_testlab_terraformed.go new file mode 100755 index 000000000..9c183fbb4 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testlab_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestLab +func (mg *TestLab) GetTerraformResourceType() string { + return "azurerm_dev_test_lab" +} + +// GetConnectionDetailsMapping for this TestLab +func (tr *TestLab) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TestLab +func (tr *TestLab) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestLab +func (tr *TestLab) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestLab +func (tr *TestLab) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestLab +func (tr *TestLab) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestLab using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestLab) LateInitialize(attrs []byte) (bool, error) { + params := &TestLabParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestLab) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testlab_types.go b/apis/dev/v1alpha1/zz_testlab_types.go new file mode 100755 index 000000000..92a6d9025 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testlab_types.go @@ -0,0 +1,107 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TestLabObservation struct { + ArtifactsStorageAccountID *string `json:"artifactsStorageAccountId,omitempty" tf:"artifacts_storage_account_id,omitempty"` + + DefaultPremiumStorageAccountID *string `json:"defaultPremiumStorageAccountId,omitempty" tf:"default_premium_storage_account_id,omitempty"` + + DefaultStorageAccountID *string `json:"defaultStorageAccountId,omitempty" tf:"default_storage_account_id,omitempty"` + + KeyVaultID *string `json:"keyVaultId,omitempty" tf:"key_vault_id,omitempty"` + + PremiumDataDiskStorageAccountID *string `json:"premiumDataDiskStorageAccountId,omitempty" tf:"premium_data_disk_storage_account_id,omitempty"` + + UniqueIdentifier *string `json:"uniqueIdentifier,omitempty" tf:"unique_identifier,omitempty"` +} + +type TestLabParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// TestLabSpec defines the desired state of TestLab +type TestLabSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestLabParameters `json:"forProvider"` +} + +// TestLabStatus defines the observed state of TestLab. +type TestLabStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestLabObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestLab is the Schema for the TestLabs API +// +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,azurejet} +type TestLab struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestLabSpec `json:"spec"` + Status TestLabStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestLabList contains a list of TestLabs +type TestLabList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestLab `json:"items"` +} + +// Repository type metadata. +var ( + TestLab_Kind = "TestLab" + TestLab_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestLab_Kind}.String() + TestLab_KindAPIVersion = TestLab_Kind + "." + CRDGroupVersion.String() + TestLab_GroupVersionKind = CRDGroupVersion.WithKind(TestLab_Kind) +) + +func init() { + SchemeBuilder.Register(&TestLab{}, &TestLabList{}) +} diff --git a/apis/dev/v1alpha1/zz_testlinuxvirtualmachine_terraformed.go b/apis/dev/v1alpha1/zz_testlinuxvirtualmachine_terraformed.go new file mode 100755 index 000000000..0a80c6b9f --- /dev/null +++ b/apis/dev/v1alpha1/zz_testlinuxvirtualmachine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestLinuxVirtualMachine +func (mg *TestLinuxVirtualMachine) GetTerraformResourceType() string { + return "azurerm_dev_test_linux_virtual_machine" +} + +// GetConnectionDetailsMapping for this TestLinuxVirtualMachine +func (tr *TestLinuxVirtualMachine) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this TestLinuxVirtualMachine +func (tr *TestLinuxVirtualMachine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestLinuxVirtualMachine +func (tr *TestLinuxVirtualMachine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestLinuxVirtualMachine +func (tr *TestLinuxVirtualMachine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestLinuxVirtualMachine +func (tr *TestLinuxVirtualMachine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestLinuxVirtualMachine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestLinuxVirtualMachine) LateInitialize(attrs []byte) (bool, error) { + params := &TestLinuxVirtualMachineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestLinuxVirtualMachine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testlinuxvirtualmachine_types.go b/apis/dev/v1alpha1/zz_testlinuxvirtualmachine_types.go new file mode 100755 index 000000000..c28cfb48c --- /dev/null +++ b/apis/dev/v1alpha1/zz_testlinuxvirtualmachine_types.go @@ -0,0 +1,166 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GalleryImageReferenceObservation struct { +} + +type GalleryImageReferenceParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type InboundNatRuleObservation struct { + FrontendPort *int64 `json:"frontendPort,omitempty" tf:"frontend_port,omitempty"` +} + +type InboundNatRuleParameters struct { + + // +kubebuilder:validation:Required + BackendPort *int64 `json:"backendPort" tf:"backend_port,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` +} + +type TestLinuxVirtualMachineObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + UniqueIdentifier *string `json:"uniqueIdentifier,omitempty" tf:"unique_identifier,omitempty"` +} + +type TestLinuxVirtualMachineParameters struct { + + // +kubebuilder:validation:Optional + AllowClaim *bool `json:"allowClaim,omitempty" tf:"allow_claim,omitempty"` + + // +kubebuilder:validation:Optional + DisallowPublicIPAddress *bool `json:"disallowPublicIpAddress,omitempty" tf:"disallow_public_ip_address,omitempty"` + + // +kubebuilder:validation:Required + GalleryImageReference []GalleryImageReferenceParameters `json:"galleryImageReference" tf:"gallery_image_reference,omitempty"` + + // +kubebuilder:validation:Optional + InboundNatRule []InboundNatRuleParameters `json:"inboundNatRule,omitempty" tf:"inbound_nat_rule,omitempty"` + + // +kubebuilder:validation:Required + LabName *string `json:"labName" tf:"lab_name,omitempty"` + + // +kubebuilder:validation:Required + LabSubnetName *string `json:"labSubnetName" tf:"lab_subnet_name,omitempty"` + + // +kubebuilder:validation:Required + LabVirtualNetworkID *string `json:"labVirtualNetworkId" tf:"lab_virtual_network_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Notes *string `json:"notes,omitempty" tf:"notes,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SSHKey *string `json:"sshKey,omitempty" tf:"ssh_key,omitempty"` + + // +kubebuilder:validation:Required + Size *string `json:"size" tf:"size,omitempty"` + + // +kubebuilder:validation:Required + StorageType *string `json:"storageType" tf:"storage_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// TestLinuxVirtualMachineSpec defines the desired state of TestLinuxVirtualMachine +type TestLinuxVirtualMachineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestLinuxVirtualMachineParameters `json:"forProvider"` +} + +// TestLinuxVirtualMachineStatus defines the observed state of TestLinuxVirtualMachine. +type TestLinuxVirtualMachineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestLinuxVirtualMachineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestLinuxVirtualMachine is the Schema for the TestLinuxVirtualMachines API +// +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,azurejet} +type TestLinuxVirtualMachine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestLinuxVirtualMachineSpec `json:"spec"` + Status TestLinuxVirtualMachineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestLinuxVirtualMachineList contains a list of TestLinuxVirtualMachines +type TestLinuxVirtualMachineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestLinuxVirtualMachine `json:"items"` +} + +// Repository type metadata. +var ( + TestLinuxVirtualMachine_Kind = "TestLinuxVirtualMachine" + TestLinuxVirtualMachine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestLinuxVirtualMachine_Kind}.String() + TestLinuxVirtualMachine_KindAPIVersion = TestLinuxVirtualMachine_Kind + "." + CRDGroupVersion.String() + TestLinuxVirtualMachine_GroupVersionKind = CRDGroupVersion.WithKind(TestLinuxVirtualMachine_Kind) +) + +func init() { + SchemeBuilder.Register(&TestLinuxVirtualMachine{}, &TestLinuxVirtualMachineList{}) +} diff --git a/apis/dev/v1alpha1/zz_testpolicy_terraformed.go b/apis/dev/v1alpha1/zz_testpolicy_terraformed.go new file mode 100755 index 000000000..f7262d76b --- /dev/null +++ b/apis/dev/v1alpha1/zz_testpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestPolicy +func (mg *TestPolicy) GetTerraformResourceType() string { + return "azurerm_dev_test_policy" +} + +// GetConnectionDetailsMapping for this TestPolicy +func (tr *TestPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TestPolicy +func (tr *TestPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestPolicy +func (tr *TestPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestPolicy +func (tr *TestPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestPolicy +func (tr *TestPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &TestPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testpolicy_types.go b/apis/dev/v1alpha1/zz_testpolicy_types.go new file mode 100755 index 000000000..83ec98a25 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testpolicy_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TestPolicyObservation struct { +} + +type TestPolicyParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + EvaluatorType *string `json:"evaluatorType" tf:"evaluator_type,omitempty"` + + // +kubebuilder:validation:Optional + FactData *string `json:"factData,omitempty" tf:"fact_data,omitempty"` + + // +kubebuilder:validation:Required + LabName *string `json:"labName" tf:"lab_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PolicySetName *string `json:"policySetName" tf:"policy_set_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Threshold *string `json:"threshold" tf:"threshold,omitempty"` +} + +// TestPolicySpec defines the desired state of TestPolicy +type TestPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestPolicyParameters `json:"forProvider"` +} + +// TestPolicyStatus defines the observed state of TestPolicy. +type TestPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestPolicy is the Schema for the TestPolicys API +// +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,azurejet} +type TestPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestPolicySpec `json:"spec"` + Status TestPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestPolicyList contains a list of TestPolicys +type TestPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestPolicy `json:"items"` +} + +// Repository type metadata. +var ( + TestPolicy_Kind = "TestPolicy" + TestPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestPolicy_Kind}.String() + TestPolicy_KindAPIVersion = TestPolicy_Kind + "." + CRDGroupVersion.String() + TestPolicy_GroupVersionKind = CRDGroupVersion.WithKind(TestPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&TestPolicy{}, &TestPolicyList{}) +} diff --git a/apis/dev/v1alpha1/zz_testschedule_terraformed.go b/apis/dev/v1alpha1/zz_testschedule_terraformed.go new file mode 100755 index 000000000..2ba0a8526 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testschedule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestSchedule +func (mg *TestSchedule) GetTerraformResourceType() string { + return "azurerm_dev_test_schedule" +} + +// GetConnectionDetailsMapping for this TestSchedule +func (tr *TestSchedule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TestSchedule +func (tr *TestSchedule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestSchedule +func (tr *TestSchedule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestSchedule +func (tr *TestSchedule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestSchedule +func (tr *TestSchedule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestSchedule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestSchedule) LateInitialize(attrs []byte) (bool, error) { + params := &TestScheduleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestSchedule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testschedule_types.go b/apis/dev/v1alpha1/zz_testschedule_types.go new file mode 100755 index 000000000..1235f436a --- /dev/null +++ b/apis/dev/v1alpha1/zz_testschedule_types.go @@ -0,0 +1,162 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DailyRecurrenceObservation struct { +} + +type DailyRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` +} + +type HourlyRecurrenceObservation struct { +} + +type HourlyRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Minute *int64 `json:"minute" tf:"minute,omitempty"` +} + +type TestScheduleNotificationSettingsObservation struct { +} + +type TestScheduleNotificationSettingsParameters struct { + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // +kubebuilder:validation:Optional + TimeInMinutes *int64 `json:"timeInMinutes,omitempty" tf:"time_in_minutes,omitempty"` + + // +kubebuilder:validation:Optional + WebhookURL *string `json:"webhookUrl,omitempty" tf:"webhook_url,omitempty"` +} + +type TestScheduleObservation struct { +} + +type TestScheduleParameters struct { + + // +kubebuilder:validation:Optional + DailyRecurrence []DailyRecurrenceParameters `json:"dailyRecurrence,omitempty" tf:"daily_recurrence,omitempty"` + + // +kubebuilder:validation:Optional + HourlyRecurrence []HourlyRecurrenceParameters `json:"hourlyRecurrence,omitempty" tf:"hourly_recurrence,omitempty"` + + // +kubebuilder:validation:Required + LabName *string `json:"labName" tf:"lab_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NotificationSettings []TestScheduleNotificationSettingsParameters `json:"notificationSettings" tf:"notification_settings,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TaskType *string `json:"taskType" tf:"task_type,omitempty"` + + // +kubebuilder:validation:Required + TimeZoneID *string `json:"timeZoneId" tf:"time_zone_id,omitempty"` + + // +kubebuilder:validation:Optional + WeeklyRecurrence []WeeklyRecurrenceParameters `json:"weeklyRecurrence,omitempty" tf:"weekly_recurrence,omitempty"` +} + +type WeeklyRecurrenceObservation struct { +} + +type WeeklyRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` + + // +kubebuilder:validation:Optional + WeekDays []*string `json:"weekDays,omitempty" tf:"week_days,omitempty"` +} + +// TestScheduleSpec defines the desired state of TestSchedule +type TestScheduleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestScheduleParameters `json:"forProvider"` +} + +// TestScheduleStatus defines the observed state of TestSchedule. +type TestScheduleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestScheduleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestSchedule is the Schema for the TestSchedules API +// +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,azurejet} +type TestSchedule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestScheduleSpec `json:"spec"` + Status TestScheduleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestScheduleList contains a list of TestSchedules +type TestScheduleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestSchedule `json:"items"` +} + +// Repository type metadata. +var ( + TestSchedule_Kind = "TestSchedule" + TestSchedule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestSchedule_Kind}.String() + TestSchedule_KindAPIVersion = TestSchedule_Kind + "." + CRDGroupVersion.String() + TestSchedule_GroupVersionKind = CRDGroupVersion.WithKind(TestSchedule_Kind) +) + +func init() { + SchemeBuilder.Register(&TestSchedule{}, &TestScheduleList{}) +} diff --git a/apis/dev/v1alpha1/zz_testvirtualnetwork_terraformed.go b/apis/dev/v1alpha1/zz_testvirtualnetwork_terraformed.go new file mode 100755 index 000000000..717399508 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testvirtualnetwork_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestVirtualNetwork +func (mg *TestVirtualNetwork) GetTerraformResourceType() string { + return "azurerm_dev_test_virtual_network" +} + +// GetConnectionDetailsMapping for this TestVirtualNetwork +func (tr *TestVirtualNetwork) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TestVirtualNetwork +func (tr *TestVirtualNetwork) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestVirtualNetwork +func (tr *TestVirtualNetwork) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestVirtualNetwork +func (tr *TestVirtualNetwork) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestVirtualNetwork +func (tr *TestVirtualNetwork) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestVirtualNetwork using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestVirtualNetwork) LateInitialize(attrs []byte) (bool, error) { + params := &TestVirtualNetworkParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestVirtualNetwork) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testvirtualnetwork_types.go b/apis/dev/v1alpha1/zz_testvirtualnetwork_types.go new file mode 100755 index 000000000..6c4af10a3 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testvirtualnetwork_types.go @@ -0,0 +1,113 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SubnetObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type SubnetParameters struct { + + // +kubebuilder:validation:Optional + UseInVirtualMachineCreation *string `json:"useInVirtualMachineCreation,omitempty" tf:"use_in_virtual_machine_creation,omitempty"` + + // +kubebuilder:validation:Optional + UsePublicIPAddress *string `json:"usePublicIpAddress,omitempty" tf:"use_public_ip_address,omitempty"` +} + +type TestVirtualNetworkObservation struct { + UniqueIdentifier *string `json:"uniqueIdentifier,omitempty" tf:"unique_identifier,omitempty"` +} + +type TestVirtualNetworkParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + LabName *string `json:"labName" tf:"lab_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Subnet []SubnetParameters `json:"subnet,omitempty" tf:"subnet,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// TestVirtualNetworkSpec defines the desired state of TestVirtualNetwork +type TestVirtualNetworkSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestVirtualNetworkParameters `json:"forProvider"` +} + +// TestVirtualNetworkStatus defines the observed state of TestVirtualNetwork. +type TestVirtualNetworkStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestVirtualNetworkObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestVirtualNetwork is the Schema for the TestVirtualNetworks API +// +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,azurejet} +type TestVirtualNetwork struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestVirtualNetworkSpec `json:"spec"` + Status TestVirtualNetworkStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestVirtualNetworkList contains a list of TestVirtualNetworks +type TestVirtualNetworkList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestVirtualNetwork `json:"items"` +} + +// Repository type metadata. +var ( + TestVirtualNetwork_Kind = "TestVirtualNetwork" + TestVirtualNetwork_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestVirtualNetwork_Kind}.String() + TestVirtualNetwork_KindAPIVersion = TestVirtualNetwork_Kind + "." + CRDGroupVersion.String() + TestVirtualNetwork_GroupVersionKind = CRDGroupVersion.WithKind(TestVirtualNetwork_Kind) +) + +func init() { + SchemeBuilder.Register(&TestVirtualNetwork{}, &TestVirtualNetworkList{}) +} diff --git a/apis/dev/v1alpha1/zz_testwindowsvirtualmachine_terraformed.go b/apis/dev/v1alpha1/zz_testwindowsvirtualmachine_terraformed.go new file mode 100755 index 000000000..e0bd15364 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testwindowsvirtualmachine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TestWindowsVirtualMachine +func (mg *TestWindowsVirtualMachine) GetTerraformResourceType() string { + return "azurerm_dev_test_windows_virtual_machine" +} + +// GetConnectionDetailsMapping for this TestWindowsVirtualMachine +func (tr *TestWindowsVirtualMachine) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TestWindowsVirtualMachine +func (tr *TestWindowsVirtualMachine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TestWindowsVirtualMachine +func (tr *TestWindowsVirtualMachine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TestWindowsVirtualMachine +func (tr *TestWindowsVirtualMachine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TestWindowsVirtualMachine +func (tr *TestWindowsVirtualMachine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TestWindowsVirtualMachine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TestWindowsVirtualMachine) LateInitialize(attrs []byte) (bool, error) { + params := &TestWindowsVirtualMachineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TestWindowsVirtualMachine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dev/v1alpha1/zz_testwindowsvirtualmachine_types.go b/apis/dev/v1alpha1/zz_testwindowsvirtualmachine_types.go new file mode 100755 index 000000000..bca190ec7 --- /dev/null +++ b/apis/dev/v1alpha1/zz_testwindowsvirtualmachine_types.go @@ -0,0 +1,163 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TestWindowsVirtualMachineGalleryImageReferenceObservation struct { +} + +type TestWindowsVirtualMachineGalleryImageReferenceParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type TestWindowsVirtualMachineInboundNatRuleObservation struct { + FrontendPort *int64 `json:"frontendPort,omitempty" tf:"frontend_port,omitempty"` +} + +type TestWindowsVirtualMachineInboundNatRuleParameters struct { + + // +kubebuilder:validation:Required + BackendPort *int64 `json:"backendPort" tf:"backend_port,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` +} + +type TestWindowsVirtualMachineObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + UniqueIdentifier *string `json:"uniqueIdentifier,omitempty" tf:"unique_identifier,omitempty"` +} + +type TestWindowsVirtualMachineParameters struct { + + // +kubebuilder:validation:Optional + AllowClaim *bool `json:"allowClaim,omitempty" tf:"allow_claim,omitempty"` + + // +kubebuilder:validation:Optional + DisallowPublicIPAddress *bool `json:"disallowPublicIpAddress,omitempty" tf:"disallow_public_ip_address,omitempty"` + + // +kubebuilder:validation:Required + GalleryImageReference []TestWindowsVirtualMachineGalleryImageReferenceParameters `json:"galleryImageReference" tf:"gallery_image_reference,omitempty"` + + // +kubebuilder:validation:Optional + InboundNatRule []TestWindowsVirtualMachineInboundNatRuleParameters `json:"inboundNatRule,omitempty" tf:"inbound_nat_rule,omitempty"` + + // +kubebuilder:validation:Required + LabName *string `json:"labName" tf:"lab_name,omitempty"` + + // +kubebuilder:validation:Required + LabSubnetName *string `json:"labSubnetName" tf:"lab_subnet_name,omitempty"` + + // +kubebuilder:validation:Required + LabVirtualNetworkID *string `json:"labVirtualNetworkId" tf:"lab_virtual_network_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Notes *string `json:"notes,omitempty" tf:"notes,omitempty"` + + // +kubebuilder:validation:Required + Password *string `json:"password" tf:"password,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Size *string `json:"size" tf:"size,omitempty"` + + // +kubebuilder:validation:Required + StorageType *string `json:"storageType" tf:"storage_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// TestWindowsVirtualMachineSpec defines the desired state of TestWindowsVirtualMachine +type TestWindowsVirtualMachineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TestWindowsVirtualMachineParameters `json:"forProvider"` +} + +// TestWindowsVirtualMachineStatus defines the observed state of TestWindowsVirtualMachine. +type TestWindowsVirtualMachineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TestWindowsVirtualMachineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestWindowsVirtualMachine is the Schema for the TestWindowsVirtualMachines API +// +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,azurejet} +type TestWindowsVirtualMachine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TestWindowsVirtualMachineSpec `json:"spec"` + Status TestWindowsVirtualMachineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TestWindowsVirtualMachineList contains a list of TestWindowsVirtualMachines +type TestWindowsVirtualMachineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TestWindowsVirtualMachine `json:"items"` +} + +// Repository type metadata. +var ( + TestWindowsVirtualMachine_Kind = "TestWindowsVirtualMachine" + TestWindowsVirtualMachine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TestWindowsVirtualMachine_Kind}.String() + TestWindowsVirtualMachine_KindAPIVersion = TestWindowsVirtualMachine_Kind + "." + CRDGroupVersion.String() + TestWindowsVirtualMachine_GroupVersionKind = CRDGroupVersion.WithKind(TestWindowsVirtualMachine_Kind) +) + +func init() { + SchemeBuilder.Register(&TestWindowsVirtualMachine{}, &TestWindowsVirtualMachineList{}) +} diff --git a/apis/devspace/v1alpha1/zz_controller_terraformed.go b/apis/devspace/v1alpha1/zz_controller_terraformed.go new file mode 100755 index 000000000..c09593dad --- /dev/null +++ b/apis/devspace/v1alpha1/zz_controller_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Controller +func (mg *Controller) GetTerraformResourceType() string { + return "azurerm_devspace_controller" +} + +// GetConnectionDetailsMapping for this Controller +func (tr *Controller) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"target_container_host_credentials_base64": "spec.forProvider.targetContainerHostCredentialsBase64SecretRef"} +} + +// GetObservation of this Controller +func (tr *Controller) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Controller +func (tr *Controller) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Controller +func (tr *Controller) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Controller +func (tr *Controller) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Controller using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Controller) LateInitialize(attrs []byte) (bool, error) { + params := &ControllerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Controller) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/devspace/v1alpha1/zz_controller_types.go b/apis/devspace/v1alpha1/zz_controller_types.go new file mode 100755 index 000000000..349179012 --- /dev/null +++ b/apis/devspace/v1alpha1/zz_controller_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ControllerObservation struct { + DataPlaneFqdn *string `json:"dataPlaneFqdn,omitempty" tf:"data_plane_fqdn,omitempty"` + + HostSuffix *string `json:"hostSuffix,omitempty" tf:"host_suffix,omitempty"` +} + +type ControllerParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TargetContainerHostCredentialsBase64SecretRef v1.SecretKeySelector `json:"targetContainerHostCredentialsBase64SecretRef" tf:"-"` + + // +kubebuilder:validation:Required + TargetContainerHostResourceID *string `json:"targetContainerHostResourceId" tf:"target_container_host_resource_id,omitempty"` +} + +// ControllerSpec defines the desired state of Controller +type ControllerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ControllerParameters `json:"forProvider"` +} + +// ControllerStatus defines the observed state of Controller. +type ControllerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ControllerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Controller is the Schema for the Controllers API +// +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,azurejet} +type Controller struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ControllerSpec `json:"spec"` + Status ControllerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ControllerList contains a list of Controllers +type ControllerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Controller `json:"items"` +} + +// Repository type metadata. +var ( + Controller_Kind = "Controller" + Controller_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Controller_Kind}.String() + Controller_KindAPIVersion = Controller_Kind + "." + CRDGroupVersion.String() + Controller_GroupVersionKind = CRDGroupVersion.WithKind(Controller_Kind) +) + +func init() { + SchemeBuilder.Register(&Controller{}, &ControllerList{}) +} diff --git a/apis/devspace/v1alpha1/zz_generated.deepcopy.go b/apis/devspace/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..b82c031b4 --- /dev/null +++ b/apis/devspace/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,199 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Controller) DeepCopyInto(out *Controller) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller. +func (in *Controller) DeepCopy() *Controller { + if in == nil { + return nil + } + out := new(Controller) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Controller) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ControllerList) DeepCopyInto(out *ControllerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Controller, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerList. +func (in *ControllerList) DeepCopy() *ControllerList { + if in == nil { + return nil + } + out := new(ControllerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ControllerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ControllerObservation) DeepCopyInto(out *ControllerObservation) { + *out = *in + if in.DataPlaneFqdn != nil { + in, out := &in.DataPlaneFqdn, &out.DataPlaneFqdn + *out = new(string) + **out = **in + } + if in.HostSuffix != nil { + in, out := &in.HostSuffix, &out.HostSuffix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerObservation. +func (in *ControllerObservation) DeepCopy() *ControllerObservation { + if in == nil { + return nil + } + out := new(ControllerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ControllerParameters) DeepCopyInto(out *ControllerParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + out.TargetContainerHostCredentialsBase64SecretRef = in.TargetContainerHostCredentialsBase64SecretRef + if in.TargetContainerHostResourceID != nil { + in, out := &in.TargetContainerHostResourceID, &out.TargetContainerHostResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerParameters. +func (in *ControllerParameters) DeepCopy() *ControllerParameters { + if in == nil { + return nil + } + out := new(ControllerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ControllerSpec) DeepCopyInto(out *ControllerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerSpec. +func (in *ControllerSpec) DeepCopy() *ControllerSpec { + if in == nil { + return nil + } + out := new(ControllerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus. +func (in *ControllerStatus) DeepCopy() *ControllerStatus { + if in == nil { + return nil + } + out := new(ControllerStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/devspace/v1alpha1/zz_generated.managed.go b/apis/devspace/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..d1e066258 --- /dev/null +++ b/apis/devspace/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Controller. +func (mg *Controller) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Controller. +func (mg *Controller) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Controller. +func (mg *Controller) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Controller. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Controller) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Controller. +func (mg *Controller) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Controller. +func (mg *Controller) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Controller. +func (mg *Controller) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Controller. +func (mg *Controller) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Controller. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Controller) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Controller. +func (mg *Controller) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/devspace/v1alpha1/zz_generated.managedlist.go b/apis/devspace/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..95a042eb4 --- /dev/null +++ b/apis/devspace/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ControllerList. +func (l *ControllerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/devspace/v1alpha1/zz_groupversion_info.go b/apis/devspace/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..99085ff87 --- /dev/null +++ b/apis/devspace/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=devspace.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "devspace.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/digital/v1alpha1/zz_generated.deepcopy.go b/apis/digital/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..bddc38fe7 --- /dev/null +++ b/apis/digital/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,617 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventgrid) DeepCopyInto(out *TwinsEndpointEventgrid) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventgrid. +func (in *TwinsEndpointEventgrid) DeepCopy() *TwinsEndpointEventgrid { + if in == nil { + return nil + } + out := new(TwinsEndpointEventgrid) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsEndpointEventgrid) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventgridList) DeepCopyInto(out *TwinsEndpointEventgridList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TwinsEndpointEventgrid, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventgridList. +func (in *TwinsEndpointEventgridList) DeepCopy() *TwinsEndpointEventgridList { + if in == nil { + return nil + } + out := new(TwinsEndpointEventgridList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsEndpointEventgridList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventgridObservation) DeepCopyInto(out *TwinsEndpointEventgridObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventgridObservation. +func (in *TwinsEndpointEventgridObservation) DeepCopy() *TwinsEndpointEventgridObservation { + if in == nil { + return nil + } + out := new(TwinsEndpointEventgridObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventgridParameters) DeepCopyInto(out *TwinsEndpointEventgridParameters) { + *out = *in + if in.DeadLetterStorageSecret != nil { + in, out := &in.DeadLetterStorageSecret, &out.DeadLetterStorageSecret + *out = new(string) + **out = **in + } + if in.DigitalTwinsID != nil { + in, out := &in.DigitalTwinsID, &out.DigitalTwinsID + *out = new(string) + **out = **in + } + if in.EventgridTopicEndpoint != nil { + in, out := &in.EventgridTopicEndpoint, &out.EventgridTopicEndpoint + *out = new(string) + **out = **in + } + if in.EventgridTopicPrimaryAccessKey != nil { + in, out := &in.EventgridTopicPrimaryAccessKey, &out.EventgridTopicPrimaryAccessKey + *out = new(string) + **out = **in + } + if in.EventgridTopicSecondaryAccessKey != nil { + in, out := &in.EventgridTopicSecondaryAccessKey, &out.EventgridTopicSecondaryAccessKey + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventgridParameters. +func (in *TwinsEndpointEventgridParameters) DeepCopy() *TwinsEndpointEventgridParameters { + if in == nil { + return nil + } + out := new(TwinsEndpointEventgridParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventgridSpec) DeepCopyInto(out *TwinsEndpointEventgridSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventgridSpec. +func (in *TwinsEndpointEventgridSpec) DeepCopy() *TwinsEndpointEventgridSpec { + if in == nil { + return nil + } + out := new(TwinsEndpointEventgridSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventgridStatus) DeepCopyInto(out *TwinsEndpointEventgridStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventgridStatus. +func (in *TwinsEndpointEventgridStatus) DeepCopy() *TwinsEndpointEventgridStatus { + if in == nil { + return nil + } + out := new(TwinsEndpointEventgridStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventhub) DeepCopyInto(out *TwinsEndpointEventhub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventhub. +func (in *TwinsEndpointEventhub) DeepCopy() *TwinsEndpointEventhub { + if in == nil { + return nil + } + out := new(TwinsEndpointEventhub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsEndpointEventhub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventhubList) DeepCopyInto(out *TwinsEndpointEventhubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TwinsEndpointEventhub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventhubList. +func (in *TwinsEndpointEventhubList) DeepCopy() *TwinsEndpointEventhubList { + if in == nil { + return nil + } + out := new(TwinsEndpointEventhubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsEndpointEventhubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventhubObservation) DeepCopyInto(out *TwinsEndpointEventhubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventhubObservation. +func (in *TwinsEndpointEventhubObservation) DeepCopy() *TwinsEndpointEventhubObservation { + if in == nil { + return nil + } + out := new(TwinsEndpointEventhubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventhubParameters) DeepCopyInto(out *TwinsEndpointEventhubParameters) { + *out = *in + if in.DeadLetterStorageSecretSecretRef != nil { + in, out := &in.DeadLetterStorageSecretSecretRef, &out.DeadLetterStorageSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DigitalTwinsID != nil { + in, out := &in.DigitalTwinsID, &out.DigitalTwinsID + *out = new(string) + **out = **in + } + out.EventhubPrimaryConnectionStringSecretRef = in.EventhubPrimaryConnectionStringSecretRef + out.EventhubSecondaryConnectionStringSecretRef = in.EventhubSecondaryConnectionStringSecretRef + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventhubParameters. +func (in *TwinsEndpointEventhubParameters) DeepCopy() *TwinsEndpointEventhubParameters { + if in == nil { + return nil + } + out := new(TwinsEndpointEventhubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventhubSpec) DeepCopyInto(out *TwinsEndpointEventhubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventhubSpec. +func (in *TwinsEndpointEventhubSpec) DeepCopy() *TwinsEndpointEventhubSpec { + if in == nil { + return nil + } + out := new(TwinsEndpointEventhubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointEventhubStatus) DeepCopyInto(out *TwinsEndpointEventhubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointEventhubStatus. +func (in *TwinsEndpointEventhubStatus) DeepCopy() *TwinsEndpointEventhubStatus { + if in == nil { + return nil + } + out := new(TwinsEndpointEventhubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointServicebus) DeepCopyInto(out *TwinsEndpointServicebus) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointServicebus. +func (in *TwinsEndpointServicebus) DeepCopy() *TwinsEndpointServicebus { + if in == nil { + return nil + } + out := new(TwinsEndpointServicebus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsEndpointServicebus) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointServicebusList) DeepCopyInto(out *TwinsEndpointServicebusList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TwinsEndpointServicebus, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointServicebusList. +func (in *TwinsEndpointServicebusList) DeepCopy() *TwinsEndpointServicebusList { + if in == nil { + return nil + } + out := new(TwinsEndpointServicebusList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsEndpointServicebusList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointServicebusObservation) DeepCopyInto(out *TwinsEndpointServicebusObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointServicebusObservation. +func (in *TwinsEndpointServicebusObservation) DeepCopy() *TwinsEndpointServicebusObservation { + if in == nil { + return nil + } + out := new(TwinsEndpointServicebusObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointServicebusParameters) DeepCopyInto(out *TwinsEndpointServicebusParameters) { + *out = *in + if in.DeadLetterStorageSecretSecretRef != nil { + in, out := &in.DeadLetterStorageSecretSecretRef, &out.DeadLetterStorageSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DigitalTwinsID != nil { + in, out := &in.DigitalTwinsID, &out.DigitalTwinsID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + out.ServicebusPrimaryConnectionStringSecretRef = in.ServicebusPrimaryConnectionStringSecretRef + out.ServicebusSecondaryConnectionStringSecretRef = in.ServicebusSecondaryConnectionStringSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointServicebusParameters. +func (in *TwinsEndpointServicebusParameters) DeepCopy() *TwinsEndpointServicebusParameters { + if in == nil { + return nil + } + out := new(TwinsEndpointServicebusParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointServicebusSpec) DeepCopyInto(out *TwinsEndpointServicebusSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointServicebusSpec. +func (in *TwinsEndpointServicebusSpec) DeepCopy() *TwinsEndpointServicebusSpec { + if in == nil { + return nil + } + out := new(TwinsEndpointServicebusSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsEndpointServicebusStatus) DeepCopyInto(out *TwinsEndpointServicebusStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsEndpointServicebusStatus. +func (in *TwinsEndpointServicebusStatus) DeepCopy() *TwinsEndpointServicebusStatus { + if in == nil { + return nil + } + out := new(TwinsEndpointServicebusStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsInstance) DeepCopyInto(out *TwinsInstance) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsInstance. +func (in *TwinsInstance) DeepCopy() *TwinsInstance { + if in == nil { + return nil + } + out := new(TwinsInstance) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsInstance) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsInstanceList) DeepCopyInto(out *TwinsInstanceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TwinsInstance, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsInstanceList. +func (in *TwinsInstanceList) DeepCopy() *TwinsInstanceList { + if in == nil { + return nil + } + out := new(TwinsInstanceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TwinsInstanceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsInstanceObservation) DeepCopyInto(out *TwinsInstanceObservation) { + *out = *in + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsInstanceObservation. +func (in *TwinsInstanceObservation) DeepCopy() *TwinsInstanceObservation { + if in == nil { + return nil + } + out := new(TwinsInstanceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsInstanceParameters) DeepCopyInto(out *TwinsInstanceParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsInstanceParameters. +func (in *TwinsInstanceParameters) DeepCopy() *TwinsInstanceParameters { + if in == nil { + return nil + } + out := new(TwinsInstanceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsInstanceSpec) DeepCopyInto(out *TwinsInstanceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsInstanceSpec. +func (in *TwinsInstanceSpec) DeepCopy() *TwinsInstanceSpec { + if in == nil { + return nil + } + out := new(TwinsInstanceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwinsInstanceStatus) DeepCopyInto(out *TwinsInstanceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwinsInstanceStatus. +func (in *TwinsInstanceStatus) DeepCopy() *TwinsInstanceStatus { + if in == nil { + return nil + } + out := new(TwinsInstanceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/digital/v1alpha1/zz_generated.managed.go b/apis/digital/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..25cc1894d --- /dev/null +++ b/apis/digital/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TwinsEndpointEventgrid. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TwinsEndpointEventgrid) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TwinsEndpointEventgrid. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TwinsEndpointEventgrid) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TwinsEndpointEventgrid. +func (mg *TwinsEndpointEventgrid) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TwinsEndpointEventhub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TwinsEndpointEventhub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TwinsEndpointEventhub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TwinsEndpointEventhub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TwinsEndpointEventhub. +func (mg *TwinsEndpointEventhub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TwinsEndpointServicebus. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TwinsEndpointServicebus) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TwinsEndpointServicebus. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TwinsEndpointServicebus) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TwinsEndpointServicebus. +func (mg *TwinsEndpointServicebus) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TwinsInstance. +func (mg *TwinsInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TwinsInstance. +func (mg *TwinsInstance) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TwinsInstance. +func (mg *TwinsInstance) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TwinsInstance. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TwinsInstance) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TwinsInstance. +func (mg *TwinsInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TwinsInstance. +func (mg *TwinsInstance) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TwinsInstance. +func (mg *TwinsInstance) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TwinsInstance. +func (mg *TwinsInstance) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TwinsInstance. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TwinsInstance) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TwinsInstance. +func (mg *TwinsInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/digital/v1alpha1/zz_generated.managedlist.go b/apis/digital/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..bb12cfe5e --- /dev/null +++ b/apis/digital/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this TwinsEndpointEventgridList. +func (l *TwinsEndpointEventgridList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TwinsEndpointEventhubList. +func (l *TwinsEndpointEventhubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TwinsEndpointServicebusList. +func (l *TwinsEndpointServicebusList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TwinsInstanceList. +func (l *TwinsInstanceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/digital/v1alpha1/zz_groupversion_info.go b/apis/digital/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..2ceff5949 --- /dev/null +++ b/apis/digital/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=digital.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "digital.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/digital/v1alpha1/zz_twinsendpointeventgrid_terraformed.go b/apis/digital/v1alpha1/zz_twinsendpointeventgrid_terraformed.go new file mode 100755 index 000000000..440cf5591 --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsendpointeventgrid_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TwinsEndpointEventgrid +func (mg *TwinsEndpointEventgrid) GetTerraformResourceType() string { + return "azurerm_digital_twins_endpoint_eventgrid" +} + +// GetConnectionDetailsMapping for this TwinsEndpointEventgrid +func (tr *TwinsEndpointEventgrid) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TwinsEndpointEventgrid +func (tr *TwinsEndpointEventgrid) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TwinsEndpointEventgrid +func (tr *TwinsEndpointEventgrid) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TwinsEndpointEventgrid +func (tr *TwinsEndpointEventgrid) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TwinsEndpointEventgrid +func (tr *TwinsEndpointEventgrid) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TwinsEndpointEventgrid using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TwinsEndpointEventgrid) LateInitialize(attrs []byte) (bool, error) { + params := &TwinsEndpointEventgridParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TwinsEndpointEventgrid) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/digital/v1alpha1/zz_twinsendpointeventgrid_types.go b/apis/digital/v1alpha1/zz_twinsendpointeventgrid_types.go new file mode 100755 index 000000000..5dc75d0ff --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsendpointeventgrid_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TwinsEndpointEventgridObservation struct { +} + +type TwinsEndpointEventgridParameters struct { + + // +kubebuilder:validation:Optional + DeadLetterStorageSecret *string `json:"deadLetterStorageSecret,omitempty" tf:"dead_letter_storage_secret,omitempty"` + + // +kubebuilder:validation:Required + DigitalTwinsID *string `json:"digitalTwinsId" tf:"digital_twins_id,omitempty"` + + // +kubebuilder:validation:Required + EventgridTopicEndpoint *string `json:"eventgridTopicEndpoint" tf:"eventgrid_topic_endpoint,omitempty"` + + // +kubebuilder:validation:Required + EventgridTopicPrimaryAccessKey *string `json:"eventgridTopicPrimaryAccessKey" tf:"eventgrid_topic_primary_access_key,omitempty"` + + // +kubebuilder:validation:Required + EventgridTopicSecondaryAccessKey *string `json:"eventgridTopicSecondaryAccessKey" tf:"eventgrid_topic_secondary_access_key,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// TwinsEndpointEventgridSpec defines the desired state of TwinsEndpointEventgrid +type TwinsEndpointEventgridSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TwinsEndpointEventgridParameters `json:"forProvider"` +} + +// TwinsEndpointEventgridStatus defines the observed state of TwinsEndpointEventgrid. +type TwinsEndpointEventgridStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TwinsEndpointEventgridObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsEndpointEventgrid is the Schema for the TwinsEndpointEventgrids API +// +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,azurejet} +type TwinsEndpointEventgrid struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TwinsEndpointEventgridSpec `json:"spec"` + Status TwinsEndpointEventgridStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsEndpointEventgridList contains a list of TwinsEndpointEventgrids +type TwinsEndpointEventgridList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TwinsEndpointEventgrid `json:"items"` +} + +// Repository type metadata. +var ( + TwinsEndpointEventgrid_Kind = "TwinsEndpointEventgrid" + TwinsEndpointEventgrid_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TwinsEndpointEventgrid_Kind}.String() + TwinsEndpointEventgrid_KindAPIVersion = TwinsEndpointEventgrid_Kind + "." + CRDGroupVersion.String() + TwinsEndpointEventgrid_GroupVersionKind = CRDGroupVersion.WithKind(TwinsEndpointEventgrid_Kind) +) + +func init() { + SchemeBuilder.Register(&TwinsEndpointEventgrid{}, &TwinsEndpointEventgridList{}) +} diff --git a/apis/digital/v1alpha1/zz_twinsendpointeventhub_terraformed.go b/apis/digital/v1alpha1/zz_twinsendpointeventhub_terraformed.go new file mode 100755 index 000000000..1c25d62ed --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsendpointeventhub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TwinsEndpointEventhub +func (mg *TwinsEndpointEventhub) GetTerraformResourceType() string { + return "azurerm_digital_twins_endpoint_eventhub" +} + +// GetConnectionDetailsMapping for this TwinsEndpointEventhub +func (tr *TwinsEndpointEventhub) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"dead_letter_storage_secret": "spec.forProvider.deadLetterStorageSecretSecretRef", "eventhub_primary_connection_string": "spec.forProvider.eventhubPrimaryConnectionStringSecretRef", "eventhub_secondary_connection_string": "spec.forProvider.eventhubSecondaryConnectionStringSecretRef"} +} + +// GetObservation of this TwinsEndpointEventhub +func (tr *TwinsEndpointEventhub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TwinsEndpointEventhub +func (tr *TwinsEndpointEventhub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TwinsEndpointEventhub +func (tr *TwinsEndpointEventhub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TwinsEndpointEventhub +func (tr *TwinsEndpointEventhub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TwinsEndpointEventhub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TwinsEndpointEventhub) LateInitialize(attrs []byte) (bool, error) { + params := &TwinsEndpointEventhubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TwinsEndpointEventhub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/digital/v1alpha1/zz_twinsendpointeventhub_types.go b/apis/digital/v1alpha1/zz_twinsendpointeventhub_types.go new file mode 100755 index 000000000..afd78d29e --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsendpointeventhub_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TwinsEndpointEventhubObservation struct { +} + +type TwinsEndpointEventhubParameters struct { + + // +kubebuilder:validation:Optional + DeadLetterStorageSecretSecretRef *v1.SecretKeySelector `json:"deadLetterStorageSecretSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + DigitalTwinsID *string `json:"digitalTwinsId" tf:"digital_twins_id,omitempty"` + + // +kubebuilder:validation:Required + EventhubPrimaryConnectionStringSecretRef v1.SecretKeySelector `json:"eventhubPrimaryConnectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + EventhubSecondaryConnectionStringSecretRef v1.SecretKeySelector `json:"eventhubSecondaryConnectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// TwinsEndpointEventhubSpec defines the desired state of TwinsEndpointEventhub +type TwinsEndpointEventhubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TwinsEndpointEventhubParameters `json:"forProvider"` +} + +// TwinsEndpointEventhubStatus defines the observed state of TwinsEndpointEventhub. +type TwinsEndpointEventhubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TwinsEndpointEventhubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsEndpointEventhub is the Schema for the TwinsEndpointEventhubs API +// +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,azurejet} +type TwinsEndpointEventhub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TwinsEndpointEventhubSpec `json:"spec"` + Status TwinsEndpointEventhubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsEndpointEventhubList contains a list of TwinsEndpointEventhubs +type TwinsEndpointEventhubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TwinsEndpointEventhub `json:"items"` +} + +// Repository type metadata. +var ( + TwinsEndpointEventhub_Kind = "TwinsEndpointEventhub" + TwinsEndpointEventhub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TwinsEndpointEventhub_Kind}.String() + TwinsEndpointEventhub_KindAPIVersion = TwinsEndpointEventhub_Kind + "." + CRDGroupVersion.String() + TwinsEndpointEventhub_GroupVersionKind = CRDGroupVersion.WithKind(TwinsEndpointEventhub_Kind) +) + +func init() { + SchemeBuilder.Register(&TwinsEndpointEventhub{}, &TwinsEndpointEventhubList{}) +} diff --git a/apis/digital/v1alpha1/zz_twinsendpointservicebus_terraformed.go b/apis/digital/v1alpha1/zz_twinsendpointservicebus_terraformed.go new file mode 100755 index 000000000..c2f57630a --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsendpointservicebus_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TwinsEndpointServicebus +func (mg *TwinsEndpointServicebus) GetTerraformResourceType() string { + return "azurerm_digital_twins_endpoint_servicebus" +} + +// GetConnectionDetailsMapping for this TwinsEndpointServicebus +func (tr *TwinsEndpointServicebus) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"dead_letter_storage_secret": "spec.forProvider.deadLetterStorageSecretSecretRef", "servicebus_primary_connection_string": "spec.forProvider.servicebusPrimaryConnectionStringSecretRef", "servicebus_secondary_connection_string": "spec.forProvider.servicebusSecondaryConnectionStringSecretRef"} +} + +// GetObservation of this TwinsEndpointServicebus +func (tr *TwinsEndpointServicebus) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TwinsEndpointServicebus +func (tr *TwinsEndpointServicebus) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TwinsEndpointServicebus +func (tr *TwinsEndpointServicebus) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TwinsEndpointServicebus +func (tr *TwinsEndpointServicebus) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TwinsEndpointServicebus using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TwinsEndpointServicebus) LateInitialize(attrs []byte) (bool, error) { + params := &TwinsEndpointServicebusParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TwinsEndpointServicebus) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/digital/v1alpha1/zz_twinsendpointservicebus_types.go b/apis/digital/v1alpha1/zz_twinsendpointservicebus_types.go new file mode 100755 index 000000000..8136d19f6 --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsendpointservicebus_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TwinsEndpointServicebusObservation struct { +} + +type TwinsEndpointServicebusParameters struct { + + // +kubebuilder:validation:Optional + DeadLetterStorageSecretSecretRef *v1.SecretKeySelector `json:"deadLetterStorageSecretSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + DigitalTwinsID *string `json:"digitalTwinsId" tf:"digital_twins_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ServicebusPrimaryConnectionStringSecretRef v1.SecretKeySelector `json:"servicebusPrimaryConnectionStringSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ServicebusSecondaryConnectionStringSecretRef v1.SecretKeySelector `json:"servicebusSecondaryConnectionStringSecretRef" tf:"-"` +} + +// TwinsEndpointServicebusSpec defines the desired state of TwinsEndpointServicebus +type TwinsEndpointServicebusSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TwinsEndpointServicebusParameters `json:"forProvider"` +} + +// TwinsEndpointServicebusStatus defines the observed state of TwinsEndpointServicebus. +type TwinsEndpointServicebusStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TwinsEndpointServicebusObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsEndpointServicebus is the Schema for the TwinsEndpointServicebuss API +// +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,azurejet} +type TwinsEndpointServicebus struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TwinsEndpointServicebusSpec `json:"spec"` + Status TwinsEndpointServicebusStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsEndpointServicebusList contains a list of TwinsEndpointServicebuss +type TwinsEndpointServicebusList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TwinsEndpointServicebus `json:"items"` +} + +// Repository type metadata. +var ( + TwinsEndpointServicebus_Kind = "TwinsEndpointServicebus" + TwinsEndpointServicebus_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TwinsEndpointServicebus_Kind}.String() + TwinsEndpointServicebus_KindAPIVersion = TwinsEndpointServicebus_Kind + "." + CRDGroupVersion.String() + TwinsEndpointServicebus_GroupVersionKind = CRDGroupVersion.WithKind(TwinsEndpointServicebus_Kind) +) + +func init() { + SchemeBuilder.Register(&TwinsEndpointServicebus{}, &TwinsEndpointServicebusList{}) +} diff --git a/apis/digital/v1alpha1/zz_twinsinstance_terraformed.go b/apis/digital/v1alpha1/zz_twinsinstance_terraformed.go new file mode 100755 index 000000000..d9308f3e7 --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsinstance_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TwinsInstance +func (mg *TwinsInstance) GetTerraformResourceType() string { + return "azurerm_digital_twins_instance" +} + +// GetConnectionDetailsMapping for this TwinsInstance +func (tr *TwinsInstance) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TwinsInstance +func (tr *TwinsInstance) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TwinsInstance +func (tr *TwinsInstance) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TwinsInstance +func (tr *TwinsInstance) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TwinsInstance +func (tr *TwinsInstance) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TwinsInstance using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TwinsInstance) LateInitialize(attrs []byte) (bool, error) { + params := &TwinsInstanceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TwinsInstance) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/digital/v1alpha1/zz_twinsinstance_types.go b/apis/digital/v1alpha1/zz_twinsinstance_types.go new file mode 100755 index 000000000..f37105d7c --- /dev/null +++ b/apis/digital/v1alpha1/zz_twinsinstance_types.go @@ -0,0 +1,94 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TwinsInstanceObservation struct { + HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"` +} + +type TwinsInstanceParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// TwinsInstanceSpec defines the desired state of TwinsInstance +type TwinsInstanceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TwinsInstanceParameters `json:"forProvider"` +} + +// TwinsInstanceStatus defines the observed state of TwinsInstance. +type TwinsInstanceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TwinsInstanceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsInstance is the Schema for the TwinsInstances API +// +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,azurejet} +type TwinsInstance struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TwinsInstanceSpec `json:"spec"` + Status TwinsInstanceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TwinsInstanceList contains a list of TwinsInstances +type TwinsInstanceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TwinsInstance `json:"items"` +} + +// Repository type metadata. +var ( + TwinsInstance_Kind = "TwinsInstance" + TwinsInstance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TwinsInstance_Kind}.String() + TwinsInstance_KindAPIVersion = TwinsInstance_Kind + "." + CRDGroupVersion.String() + TwinsInstance_GroupVersionKind = CRDGroupVersion.WithKind(TwinsInstance_Kind) +) + +func init() { + SchemeBuilder.Register(&TwinsInstance{}, &TwinsInstanceList{}) +} diff --git a/apis/disk/v1alpha1/zz_access_terraformed.go b/apis/disk/v1alpha1/zz_access_terraformed.go new file mode 100755 index 000000000..f54f7d009 --- /dev/null +++ b/apis/disk/v1alpha1/zz_access_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Access +func (mg *Access) GetTerraformResourceType() string { + return "azurerm_disk_access" +} + +// GetConnectionDetailsMapping for this Access +func (tr *Access) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Access +func (tr *Access) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Access +func (tr *Access) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Access +func (tr *Access) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Access +func (tr *Access) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Access using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Access) LateInitialize(attrs []byte) (bool, error) { + params := &AccessParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Access) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/disk/v1alpha1/zz_access_types.go b/apis/disk/v1alpha1/zz_access_types.go new file mode 100755 index 000000000..521d5f658 --- /dev/null +++ b/apis/disk/v1alpha1/zz_access_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccessObservation struct { +} + +type AccessParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AccessSpec defines the desired state of Access +type AccessSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccessParameters `json:"forProvider"` +} + +// AccessStatus defines the observed state of Access. +type AccessStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccessObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Access is the Schema for the Accesss API +// +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,azurejet} +type Access struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccessSpec `json:"spec"` + Status AccessStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccessList contains a list of Accesss +type AccessList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Access `json:"items"` +} + +// Repository type metadata. +var ( + Access_Kind = "Access" + Access_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Access_Kind}.String() + Access_KindAPIVersion = Access_Kind + "." + CRDGroupVersion.String() + Access_GroupVersionKind = CRDGroupVersion.WithKind(Access_Kind) +) + +func init() { + SchemeBuilder.Register(&Access{}, &AccessList{}) +} diff --git a/apis/disk/v1alpha1/zz_encryptionset_terraformed.go b/apis/disk/v1alpha1/zz_encryptionset_terraformed.go new file mode 100755 index 000000000..52f4b441b --- /dev/null +++ b/apis/disk/v1alpha1/zz_encryptionset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EncryptionSet +func (mg *EncryptionSet) GetTerraformResourceType() string { + return "azurerm_disk_encryption_set" +} + +// GetConnectionDetailsMapping for this EncryptionSet +func (tr *EncryptionSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EncryptionSet +func (tr *EncryptionSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EncryptionSet +func (tr *EncryptionSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EncryptionSet +func (tr *EncryptionSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EncryptionSet +func (tr *EncryptionSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EncryptionSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EncryptionSet) LateInitialize(attrs []byte) (bool, error) { + params := &EncryptionSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EncryptionSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/disk/v1alpha1/zz_encryptionset_types.go b/apis/disk/v1alpha1/zz_encryptionset_types.go new file mode 100755 index 000000000..988a0a9d4 --- /dev/null +++ b/apis/disk/v1alpha1/zz_encryptionset_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EncryptionSetObservation struct { +} + +type EncryptionSetParameters struct { + + // +kubebuilder:validation:Required + Identity []IdentityParameters `json:"identity" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultKeyID *string `json:"keyVaultKeyId" tf:"key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// EncryptionSetSpec defines the desired state of EncryptionSet +type EncryptionSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EncryptionSetParameters `json:"forProvider"` +} + +// EncryptionSetStatus defines the observed state of EncryptionSet. +type EncryptionSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EncryptionSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EncryptionSet is the Schema for the EncryptionSets API +// +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,azurejet} +type EncryptionSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EncryptionSetSpec `json:"spec"` + Status EncryptionSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EncryptionSetList contains a list of EncryptionSets +type EncryptionSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EncryptionSet `json:"items"` +} + +// Repository type metadata. +var ( + EncryptionSet_Kind = "EncryptionSet" + EncryptionSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EncryptionSet_Kind}.String() + EncryptionSet_KindAPIVersion = EncryptionSet_Kind + "." + CRDGroupVersion.String() + EncryptionSet_GroupVersionKind = CRDGroupVersion.WithKind(EncryptionSet_Kind) +) + +func init() { + SchemeBuilder.Register(&EncryptionSet{}, &EncryptionSetList{}) +} diff --git a/apis/disk/v1alpha1/zz_generated.deepcopy.go b/apis/disk/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..766d5ad78 --- /dev/null +++ b/apis/disk/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,388 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Access) DeepCopyInto(out *Access) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Access. +func (in *Access) DeepCopy() *Access { + if in == nil { + return nil + } + out := new(Access) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Access) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessList) DeepCopyInto(out *AccessList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Access, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessList. +func (in *AccessList) DeepCopy() *AccessList { + if in == nil { + return nil + } + out := new(AccessList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccessList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessObservation) DeepCopyInto(out *AccessObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessObservation. +func (in *AccessObservation) DeepCopy() *AccessObservation { + if in == nil { + return nil + } + out := new(AccessObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessParameters) DeepCopyInto(out *AccessParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessParameters. +func (in *AccessParameters) DeepCopy() *AccessParameters { + if in == nil { + return nil + } + out := new(AccessParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessSpec) DeepCopyInto(out *AccessSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessSpec. +func (in *AccessSpec) DeepCopy() *AccessSpec { + if in == nil { + return nil + } + out := new(AccessSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessStatus) DeepCopyInto(out *AccessStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessStatus. +func (in *AccessStatus) DeepCopy() *AccessStatus { + if in == nil { + return nil + } + out := new(AccessStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSet) DeepCopyInto(out *EncryptionSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSet. +func (in *EncryptionSet) DeepCopy() *EncryptionSet { + if in == nil { + return nil + } + out := new(EncryptionSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EncryptionSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSetList) DeepCopyInto(out *EncryptionSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EncryptionSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSetList. +func (in *EncryptionSetList) DeepCopy() *EncryptionSetList { + if in == nil { + return nil + } + out := new(EncryptionSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EncryptionSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSetObservation) DeepCopyInto(out *EncryptionSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSetObservation. +func (in *EncryptionSetObservation) DeepCopy() *EncryptionSetObservation { + if in == nil { + return nil + } + out := new(EncryptionSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSetParameters) DeepCopyInto(out *EncryptionSetParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSetParameters. +func (in *EncryptionSetParameters) DeepCopy() *EncryptionSetParameters { + if in == nil { + return nil + } + out := new(EncryptionSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSetSpec) DeepCopyInto(out *EncryptionSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSetSpec. +func (in *EncryptionSetSpec) DeepCopy() *EncryptionSetSpec { + if in == nil { + return nil + } + out := new(EncryptionSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSetStatus) DeepCopyInto(out *EncryptionSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSetStatus. +func (in *EncryptionSetStatus) DeepCopy() *EncryptionSetStatus { + if in == nil { + return nil + } + out := new(EncryptionSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/disk/v1alpha1/zz_generated.managed.go b/apis/disk/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..53ddcf659 --- /dev/null +++ b/apis/disk/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Access. +func (mg *Access) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Access. +func (mg *Access) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Access. +func (mg *Access) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Access. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Access) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Access. +func (mg *Access) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Access. +func (mg *Access) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Access. +func (mg *Access) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Access. +func (mg *Access) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Access. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Access) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Access. +func (mg *Access) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EncryptionSet. +func (mg *EncryptionSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EncryptionSet. +func (mg *EncryptionSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EncryptionSet. +func (mg *EncryptionSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EncryptionSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EncryptionSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EncryptionSet. +func (mg *EncryptionSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EncryptionSet. +func (mg *EncryptionSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EncryptionSet. +func (mg *EncryptionSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EncryptionSet. +func (mg *EncryptionSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EncryptionSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EncryptionSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EncryptionSet. +func (mg *EncryptionSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/disk/v1alpha1/zz_generated.managedlist.go b/apis/disk/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..cc10c656e --- /dev/null +++ b/apis/disk/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccessList. +func (l *AccessList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EncryptionSetList. +func (l *EncryptionSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/disk/v1alpha1/zz_groupversion_info.go b/apis/disk/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..a6ed379cd --- /dev/null +++ b/apis/disk/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=disk.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "disk.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/dns/v1alpha1/zz_aaaarecord_terraformed.go b/apis/dns/v1alpha1/zz_aaaarecord_terraformed.go new file mode 100755 index 000000000..c17d586c5 --- /dev/null +++ b/apis/dns/v1alpha1/zz_aaaarecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AaaaRecord +func (mg *AaaaRecord) GetTerraformResourceType() string { + return "azurerm_dns_aaaa_record" +} + +// GetConnectionDetailsMapping for this AaaaRecord +func (tr *AaaaRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AaaaRecord +func (tr *AaaaRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AaaaRecord +func (tr *AaaaRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AaaaRecord +func (tr *AaaaRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AaaaRecord +func (tr *AaaaRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AaaaRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AaaaRecord) LateInitialize(attrs []byte) (bool, error) { + params := &AaaaRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AaaaRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_aaaarecord_types.go b/apis/dns/v1alpha1/zz_aaaarecord_types.go new file mode 100755 index 000000000..b78af67b2 --- /dev/null +++ b/apis/dns/v1alpha1/zz_aaaarecord_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AaaaRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type AaaaRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Records []*string `json:"records,omitempty" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// AaaaRecordSpec defines the desired state of AaaaRecord +type AaaaRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AaaaRecordParameters `json:"forProvider"` +} + +// AaaaRecordStatus defines the observed state of AaaaRecord. +type AaaaRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AaaaRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AaaaRecord is the Schema for the AaaaRecords API +// +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,azurejet} +type AaaaRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AaaaRecordSpec `json:"spec"` + Status AaaaRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AaaaRecordList contains a list of AaaaRecords +type AaaaRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AaaaRecord `json:"items"` +} + +// Repository type metadata. +var ( + AaaaRecord_Kind = "AaaaRecord" + AaaaRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AaaaRecord_Kind}.String() + AaaaRecord_KindAPIVersion = AaaaRecord_Kind + "." + CRDGroupVersion.String() + AaaaRecord_GroupVersionKind = CRDGroupVersion.WithKind(AaaaRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&AaaaRecord{}, &AaaaRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_arecord_terraformed.go b/apis/dns/v1alpha1/zz_arecord_terraformed.go new file mode 100755 index 000000000..41b761d4f --- /dev/null +++ b/apis/dns/v1alpha1/zz_arecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ARecord +func (mg *ARecord) GetTerraformResourceType() string { + return "azurerm_dns_a_record" +} + +// GetConnectionDetailsMapping for this ARecord +func (tr *ARecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ARecord +func (tr *ARecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ARecord +func (tr *ARecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ARecord +func (tr *ARecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ARecord +func (tr *ARecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ARecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ARecord) LateInitialize(attrs []byte) (bool, error) { + params := &ARecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ARecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_arecord_types.go b/apis/dns/v1alpha1/zz_arecord_types.go new file mode 100755 index 000000000..0e60094a3 --- /dev/null +++ b/apis/dns/v1alpha1/zz_arecord_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ARecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type ARecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Records []*string `json:"records,omitempty" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// ARecordSpec defines the desired state of ARecord +type ARecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ARecordParameters `json:"forProvider"` +} + +// ARecordStatus defines the observed state of ARecord. +type ARecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ARecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ARecord is the Schema for the ARecords API +// +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,azurejet} +type ARecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ARecordSpec `json:"spec"` + Status ARecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ARecordList contains a list of ARecords +type ARecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ARecord `json:"items"` +} + +// Repository type metadata. +var ( + ARecord_Kind = "ARecord" + ARecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ARecord_Kind}.String() + ARecord_KindAPIVersion = ARecord_Kind + "." + CRDGroupVersion.String() + ARecord_GroupVersionKind = CRDGroupVersion.WithKind(ARecord_Kind) +) + +func init() { + SchemeBuilder.Register(&ARecord{}, &ARecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_caarecord_terraformed.go b/apis/dns/v1alpha1/zz_caarecord_terraformed.go new file mode 100755 index 000000000..2a2292b84 --- /dev/null +++ b/apis/dns/v1alpha1/zz_caarecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CaaRecord +func (mg *CaaRecord) GetTerraformResourceType() string { + return "azurerm_dns_caa_record" +} + +// GetConnectionDetailsMapping for this CaaRecord +func (tr *CaaRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CaaRecord +func (tr *CaaRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CaaRecord +func (tr *CaaRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CaaRecord +func (tr *CaaRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CaaRecord +func (tr *CaaRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CaaRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CaaRecord) LateInitialize(attrs []byte) (bool, error) { + params := &CaaRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CaaRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_caarecord_types.go b/apis/dns/v1alpha1/zz_caarecord_types.go new file mode 100755 index 000000000..ab93d1bb9 --- /dev/null +++ b/apis/dns/v1alpha1/zz_caarecord_types.go @@ -0,0 +1,115 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CaaRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type CaaRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []RecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type RecordObservation struct { +} + +type RecordParameters struct { + + // +kubebuilder:validation:Required + Flags *int64 `json:"flags" tf:"flags,omitempty"` + + // +kubebuilder:validation:Required + Tag *string `json:"tag" tf:"tag,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// CaaRecordSpec defines the desired state of CaaRecord +type CaaRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CaaRecordParameters `json:"forProvider"` +} + +// CaaRecordStatus defines the observed state of CaaRecord. +type CaaRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CaaRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CaaRecord is the Schema for the CaaRecords API +// +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,azurejet} +type CaaRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CaaRecordSpec `json:"spec"` + Status CaaRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CaaRecordList contains a list of CaaRecords +type CaaRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CaaRecord `json:"items"` +} + +// Repository type metadata. +var ( + CaaRecord_Kind = "CaaRecord" + CaaRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CaaRecord_Kind}.String() + CaaRecord_KindAPIVersion = CaaRecord_Kind + "." + CRDGroupVersion.String() + CaaRecord_GroupVersionKind = CRDGroupVersion.WithKind(CaaRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&CaaRecord{}, &CaaRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_cnamerecord_terraformed.go b/apis/dns/v1alpha1/zz_cnamerecord_terraformed.go new file mode 100755 index 000000000..f4a505317 --- /dev/null +++ b/apis/dns/v1alpha1/zz_cnamerecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CnameRecord +func (mg *CnameRecord) GetTerraformResourceType() string { + return "azurerm_dns_cname_record" +} + +// GetConnectionDetailsMapping for this CnameRecord +func (tr *CnameRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CnameRecord +func (tr *CnameRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CnameRecord +func (tr *CnameRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CnameRecord +func (tr *CnameRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CnameRecord +func (tr *CnameRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CnameRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CnameRecord) LateInitialize(attrs []byte) (bool, error) { + params := &CnameRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CnameRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_cnamerecord_types.go b/apis/dns/v1alpha1/zz_cnamerecord_types.go new file mode 100755 index 000000000..fd5017ace --- /dev/null +++ b/apis/dns/v1alpha1/zz_cnamerecord_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CnameRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type CnameRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Record *string `json:"record,omitempty" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// CnameRecordSpec defines the desired state of CnameRecord +type CnameRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CnameRecordParameters `json:"forProvider"` +} + +// CnameRecordStatus defines the observed state of CnameRecord. +type CnameRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CnameRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CnameRecord is the Schema for the CnameRecords API +// +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,azurejet} +type CnameRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CnameRecordSpec `json:"spec"` + Status CnameRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CnameRecordList contains a list of CnameRecords +type CnameRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CnameRecord `json:"items"` +} + +// Repository type metadata. +var ( + CnameRecord_Kind = "CnameRecord" + CnameRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CnameRecord_Kind}.String() + CnameRecord_KindAPIVersion = CnameRecord_Kind + "." + CRDGroupVersion.String() + CnameRecord_GroupVersionKind = CRDGroupVersion.WithKind(CnameRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&CnameRecord{}, &CnameRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_generated.deepcopy.go b/apis/dns/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..a78615fc5 --- /dev/null +++ b/apis/dns/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2020 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ARecord) DeepCopyInto(out *ARecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecord. +func (in *ARecord) DeepCopy() *ARecord { + if in == nil { + return nil + } + out := new(ARecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ARecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ARecordList) DeepCopyInto(out *ARecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ARecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecordList. +func (in *ARecordList) DeepCopy() *ARecordList { + if in == nil { + return nil + } + out := new(ARecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ARecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ARecordObservation) DeepCopyInto(out *ARecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecordObservation. +func (in *ARecordObservation) DeepCopy() *ARecordObservation { + if in == nil { + return nil + } + out := new(ARecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ARecordParameters) DeepCopyInto(out *ARecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecordParameters. +func (in *ARecordParameters) DeepCopy() *ARecordParameters { + if in == nil { + return nil + } + out := new(ARecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ARecordSpec) DeepCopyInto(out *ARecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecordSpec. +func (in *ARecordSpec) DeepCopy() *ARecordSpec { + if in == nil { + return nil + } + out := new(ARecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ARecordStatus) DeepCopyInto(out *ARecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ARecordStatus. +func (in *ARecordStatus) DeepCopy() *ARecordStatus { + if in == nil { + return nil + } + out := new(ARecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AaaaRecord) DeepCopyInto(out *AaaaRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AaaaRecord. +func (in *AaaaRecord) DeepCopy() *AaaaRecord { + if in == nil { + return nil + } + out := new(AaaaRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AaaaRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AaaaRecordList) DeepCopyInto(out *AaaaRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AaaaRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AaaaRecordList. +func (in *AaaaRecordList) DeepCopy() *AaaaRecordList { + if in == nil { + return nil + } + out := new(AaaaRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AaaaRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AaaaRecordObservation) DeepCopyInto(out *AaaaRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AaaaRecordObservation. +func (in *AaaaRecordObservation) DeepCopy() *AaaaRecordObservation { + if in == nil { + return nil + } + out := new(AaaaRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AaaaRecordParameters) DeepCopyInto(out *AaaaRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AaaaRecordParameters. +func (in *AaaaRecordParameters) DeepCopy() *AaaaRecordParameters { + if in == nil { + return nil + } + out := new(AaaaRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AaaaRecordSpec) DeepCopyInto(out *AaaaRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AaaaRecordSpec. +func (in *AaaaRecordSpec) DeepCopy() *AaaaRecordSpec { + if in == nil { + return nil + } + out := new(AaaaRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AaaaRecordStatus) DeepCopyInto(out *AaaaRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AaaaRecordStatus. +func (in *AaaaRecordStatus) DeepCopy() *AaaaRecordStatus { + if in == nil { + return nil + } + out := new(AaaaRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaaRecord) DeepCopyInto(out *CaaRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaaRecord. +func (in *CaaRecord) DeepCopy() *CaaRecord { + if in == nil { + return nil + } + out := new(CaaRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CaaRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaaRecordList) DeepCopyInto(out *CaaRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CaaRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaaRecordList. +func (in *CaaRecordList) DeepCopy() *CaaRecordList { + if in == nil { + return nil + } + out := new(CaaRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CaaRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaaRecordObservation) DeepCopyInto(out *CaaRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaaRecordObservation. +func (in *CaaRecordObservation) DeepCopy() *CaaRecordObservation { + if in == nil { + return nil + } + out := new(CaaRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaaRecordParameters) DeepCopyInto(out *CaaRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]RecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaaRecordParameters. +func (in *CaaRecordParameters) DeepCopy() *CaaRecordParameters { + if in == nil { + return nil + } + out := new(CaaRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaaRecordSpec) DeepCopyInto(out *CaaRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaaRecordSpec. +func (in *CaaRecordSpec) DeepCopy() *CaaRecordSpec { + if in == nil { + return nil + } + out := new(CaaRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaaRecordStatus) DeepCopyInto(out *CaaRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaaRecordStatus. +func (in *CaaRecordStatus) DeepCopy() *CaaRecordStatus { + if in == nil { + return nil + } + out := new(CaaRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CnameRecord) DeepCopyInto(out *CnameRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnameRecord. +func (in *CnameRecord) DeepCopy() *CnameRecord { + if in == nil { + return nil + } + out := new(CnameRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CnameRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CnameRecordList) DeepCopyInto(out *CnameRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CnameRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnameRecordList. +func (in *CnameRecordList) DeepCopy() *CnameRecordList { + if in == nil { + return nil + } + out := new(CnameRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CnameRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CnameRecordObservation) DeepCopyInto(out *CnameRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnameRecordObservation. +func (in *CnameRecordObservation) DeepCopy() *CnameRecordObservation { + if in == nil { + return nil + } + out := new(CnameRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CnameRecordParameters) DeepCopyInto(out *CnameRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnameRecordParameters. +func (in *CnameRecordParameters) DeepCopy() *CnameRecordParameters { + if in == nil { + return nil + } + out := new(CnameRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CnameRecordSpec) DeepCopyInto(out *CnameRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnameRecordSpec. +func (in *CnameRecordSpec) DeepCopy() *CnameRecordSpec { + if in == nil { + return nil + } + out := new(CnameRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CnameRecordStatus) DeepCopyInto(out *CnameRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CnameRecordStatus. +func (in *CnameRecordStatus) DeepCopy() *CnameRecordStatus { + if in == nil { + return nil + } + out := new(CnameRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecord) DeepCopyInto(out *MxRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecord. +func (in *MxRecord) DeepCopy() *MxRecord { + if in == nil { + return nil + } + out := new(MxRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MxRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordList) DeepCopyInto(out *MxRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MxRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordList. +func (in *MxRecordList) DeepCopy() *MxRecordList { + if in == nil { + return nil + } + out := new(MxRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MxRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordObservation) DeepCopyInto(out *MxRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordObservation. +func (in *MxRecordObservation) DeepCopy() *MxRecordObservation { + if in == nil { + return nil + } + out := new(MxRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordParameters) DeepCopyInto(out *MxRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]MxRecordRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordParameters. +func (in *MxRecordParameters) DeepCopy() *MxRecordParameters { + if in == nil { + return nil + } + out := new(MxRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordRecordObservation) DeepCopyInto(out *MxRecordRecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordRecordObservation. +func (in *MxRecordRecordObservation) DeepCopy() *MxRecordRecordObservation { + if in == nil { + return nil + } + out := new(MxRecordRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordRecordParameters) DeepCopyInto(out *MxRecordRecordParameters) { + *out = *in + if in.Exchange != nil { + in, out := &in.Exchange, &out.Exchange + *out = new(string) + **out = **in + } + if in.Preference != nil { + in, out := &in.Preference, &out.Preference + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordRecordParameters. +func (in *MxRecordRecordParameters) DeepCopy() *MxRecordRecordParameters { + if in == nil { + return nil + } + out := new(MxRecordRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordSpec) DeepCopyInto(out *MxRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordSpec. +func (in *MxRecordSpec) DeepCopy() *MxRecordSpec { + if in == nil { + return nil + } + out := new(MxRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MxRecordStatus) DeepCopyInto(out *MxRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MxRecordStatus. +func (in *MxRecordStatus) DeepCopy() *MxRecordStatus { + if in == nil { + return nil + } + out := new(MxRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NsRecord) DeepCopyInto(out *NsRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsRecord. +func (in *NsRecord) DeepCopy() *NsRecord { + if in == nil { + return nil + } + out := new(NsRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NsRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NsRecordList) DeepCopyInto(out *NsRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NsRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsRecordList. +func (in *NsRecordList) DeepCopy() *NsRecordList { + if in == nil { + return nil + } + out := new(NsRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NsRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NsRecordObservation) DeepCopyInto(out *NsRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsRecordObservation. +func (in *NsRecordObservation) DeepCopy() *NsRecordObservation { + if in == nil { + return nil + } + out := new(NsRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NsRecordParameters) DeepCopyInto(out *NsRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsRecordParameters. +func (in *NsRecordParameters) DeepCopy() *NsRecordParameters { + if in == nil { + return nil + } + out := new(NsRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NsRecordSpec) DeepCopyInto(out *NsRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsRecordSpec. +func (in *NsRecordSpec) DeepCopy() *NsRecordSpec { + if in == nil { + return nil + } + out := new(NsRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NsRecordStatus) DeepCopyInto(out *NsRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NsRecordStatus. +func (in *NsRecordStatus) DeepCopy() *NsRecordStatus { + if in == nil { + return nil + } + out := new(NsRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PtrRecord) DeepCopyInto(out *PtrRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PtrRecord. +func (in *PtrRecord) DeepCopy() *PtrRecord { + if in == nil { + return nil + } + out := new(PtrRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PtrRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PtrRecordList) DeepCopyInto(out *PtrRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PtrRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PtrRecordList. +func (in *PtrRecordList) DeepCopy() *PtrRecordList { + if in == nil { + return nil + } + out := new(PtrRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PtrRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PtrRecordObservation) DeepCopyInto(out *PtrRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PtrRecordObservation. +func (in *PtrRecordObservation) DeepCopy() *PtrRecordObservation { + if in == nil { + return nil + } + out := new(PtrRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PtrRecordParameters) DeepCopyInto(out *PtrRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PtrRecordParameters. +func (in *PtrRecordParameters) DeepCopy() *PtrRecordParameters { + if in == nil { + return nil + } + out := new(PtrRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PtrRecordSpec) DeepCopyInto(out *PtrRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PtrRecordSpec. +func (in *PtrRecordSpec) DeepCopy() *PtrRecordSpec { + if in == nil { + return nil + } + out := new(PtrRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PtrRecordStatus) DeepCopyInto(out *PtrRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PtrRecordStatus. +func (in *PtrRecordStatus) DeepCopy() *PtrRecordStatus { + if in == nil { + return nil + } + out := new(PtrRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordObservation) DeepCopyInto(out *RecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordObservation. +func (in *RecordObservation) DeepCopy() *RecordObservation { + if in == nil { + return nil + } + out := new(RecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordParameters) DeepCopyInto(out *RecordParameters) { + *out = *in + if in.Flags != nil { + in, out := &in.Flags, &out.Flags + *out = new(int64) + **out = **in + } + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordParameters. +func (in *RecordParameters) DeepCopy() *RecordParameters { + if in == nil { + return nil + } + out := new(RecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SoaRecordObservation) DeepCopyInto(out *SoaRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoaRecordObservation. +func (in *SoaRecordObservation) DeepCopy() *SoaRecordObservation { + if in == nil { + return nil + } + out := new(SoaRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SoaRecordParameters) DeepCopyInto(out *SoaRecordParameters) { + *out = *in + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.ExpireTime != nil { + in, out := &in.ExpireTime, &out.ExpireTime + *out = new(int64) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.MinimumTTL != nil { + in, out := &in.MinimumTTL, &out.MinimumTTL + *out = new(int64) + **out = **in + } + if in.RefreshTime != nil { + in, out := &in.RefreshTime, &out.RefreshTime + *out = new(int64) + **out = **in + } + if in.RetryTime != nil { + in, out := &in.RetryTime, &out.RetryTime + *out = new(int64) + **out = **in + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(int64) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoaRecordParameters. +func (in *SoaRecordParameters) DeepCopy() *SoaRecordParameters { + if in == nil { + return nil + } + out := new(SoaRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecord) DeepCopyInto(out *SrvRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecord. +func (in *SrvRecord) DeepCopy() *SrvRecord { + if in == nil { + return nil + } + out := new(SrvRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SrvRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordList) DeepCopyInto(out *SrvRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SrvRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordList. +func (in *SrvRecordList) DeepCopy() *SrvRecordList { + if in == nil { + return nil + } + out := new(SrvRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SrvRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordObservation) DeepCopyInto(out *SrvRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordObservation. +func (in *SrvRecordObservation) DeepCopy() *SrvRecordObservation { + if in == nil { + return nil + } + out := new(SrvRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordParameters) DeepCopyInto(out *SrvRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]SrvRecordRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordParameters. +func (in *SrvRecordParameters) DeepCopy() *SrvRecordParameters { + if in == nil { + return nil + } + out := new(SrvRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordRecordObservation) DeepCopyInto(out *SrvRecordRecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordRecordObservation. +func (in *SrvRecordRecordObservation) DeepCopy() *SrvRecordRecordObservation { + if in == nil { + return nil + } + out := new(SrvRecordRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordRecordParameters) DeepCopyInto(out *SrvRecordRecordParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Target != nil { + in, out := &in.Target, &out.Target + *out = new(string) + **out = **in + } + if in.Weight != nil { + in, out := &in.Weight, &out.Weight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordRecordParameters. +func (in *SrvRecordRecordParameters) DeepCopy() *SrvRecordRecordParameters { + if in == nil { + return nil + } + out := new(SrvRecordRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordSpec) DeepCopyInto(out *SrvRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordSpec. +func (in *SrvRecordSpec) DeepCopy() *SrvRecordSpec { + if in == nil { + return nil + } + out := new(SrvRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SrvRecordStatus) DeepCopyInto(out *SrvRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SrvRecordStatus. +func (in *SrvRecordStatus) DeepCopy() *SrvRecordStatus { + if in == nil { + return nil + } + out := new(SrvRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecord) DeepCopyInto(out *TxtRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecord. +func (in *TxtRecord) DeepCopy() *TxtRecord { + if in == nil { + return nil + } + out := new(TxtRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TxtRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordList) DeepCopyInto(out *TxtRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TxtRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordList. +func (in *TxtRecordList) DeepCopy() *TxtRecordList { + if in == nil { + return nil + } + out := new(TxtRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TxtRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordObservation) DeepCopyInto(out *TxtRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordObservation. +func (in *TxtRecordObservation) DeepCopy() *TxtRecordObservation { + if in == nil { + return nil + } + out := new(TxtRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordParameters) DeepCopyInto(out *TxtRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]TxtRecordRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordParameters. +func (in *TxtRecordParameters) DeepCopy() *TxtRecordParameters { + if in == nil { + return nil + } + out := new(TxtRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordRecordObservation) DeepCopyInto(out *TxtRecordRecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordRecordObservation. +func (in *TxtRecordRecordObservation) DeepCopy() *TxtRecordRecordObservation { + if in == nil { + return nil + } + out := new(TxtRecordRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordRecordParameters) DeepCopyInto(out *TxtRecordRecordParameters) { + *out = *in + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordRecordParameters. +func (in *TxtRecordRecordParameters) DeepCopy() *TxtRecordRecordParameters { + if in == nil { + return nil + } + out := new(TxtRecordRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordSpec) DeepCopyInto(out *TxtRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordSpec. +func (in *TxtRecordSpec) DeepCopy() *TxtRecordSpec { + if in == nil { + return nil + } + out := new(TxtRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TxtRecordStatus) DeepCopyInto(out *TxtRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TxtRecordStatus. +func (in *TxtRecordStatus) DeepCopy() *TxtRecordStatus { + if in == nil { + return nil + } + out := new(TxtRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Zone) DeepCopyInto(out *Zone) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zone. +func (in *Zone) DeepCopy() *Zone { + if in == nil { + return nil + } + out := new(Zone) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Zone) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZoneList) DeepCopyInto(out *ZoneList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Zone, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneList. +func (in *ZoneList) DeepCopy() *ZoneList { + if in == nil { + return nil + } + out := new(ZoneList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ZoneList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation) { + *out = *in + if in.MaxNumberOfRecordSets != nil { + in, out := &in.MaxNumberOfRecordSets, &out.MaxNumberOfRecordSets + *out = new(int64) + **out = **in + } + if in.NameServers != nil { + in, out := &in.NameServers, &out.NameServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NumberOfRecordSets != nil { + in, out := &in.NumberOfRecordSets, &out.NumberOfRecordSets + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneObservation. +func (in *ZoneObservation) DeepCopy() *ZoneObservation { + if in == nil { + return nil + } + out := new(ZoneObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZoneParameters) DeepCopyInto(out *ZoneParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SoaRecord != nil { + in, out := &in.SoaRecord, &out.SoaRecord + *out = make([]SoaRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneParameters. +func (in *ZoneParameters) DeepCopy() *ZoneParameters { + if in == nil { + return nil + } + out := new(ZoneParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZoneSpec) DeepCopyInto(out *ZoneSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneSpec. +func (in *ZoneSpec) DeepCopy() *ZoneSpec { + if in == nil { + return nil + } + out := new(ZoneSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZoneStatus) DeepCopyInto(out *ZoneStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneStatus. +func (in *ZoneStatus) DeepCopy() *ZoneStatus { + if in == nil { + return nil + } + out := new(ZoneStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/dns/v1alpha1/zz_generated.managed.go b/apis/dns/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..22ec64a52 --- /dev/null +++ b/apis/dns/v1alpha1/zz_generated.managed.go @@ -0,0 +1,580 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ARecord. +func (mg *ARecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ARecord. +func (mg *ARecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ARecord. +func (mg *ARecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ARecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ARecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ARecord. +func (mg *ARecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ARecord. +func (mg *ARecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ARecord. +func (mg *ARecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ARecord. +func (mg *ARecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ARecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ARecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ARecord. +func (mg *ARecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AaaaRecord. +func (mg *AaaaRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AaaaRecord. +func (mg *AaaaRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AaaaRecord. +func (mg *AaaaRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AaaaRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AaaaRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AaaaRecord. +func (mg *AaaaRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AaaaRecord. +func (mg *AaaaRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AaaaRecord. +func (mg *AaaaRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AaaaRecord. +func (mg *AaaaRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AaaaRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AaaaRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AaaaRecord. +func (mg *AaaaRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CaaRecord. +func (mg *CaaRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CaaRecord. +func (mg *CaaRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CaaRecord. +func (mg *CaaRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CaaRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CaaRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CaaRecord. +func (mg *CaaRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CaaRecord. +func (mg *CaaRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CaaRecord. +func (mg *CaaRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CaaRecord. +func (mg *CaaRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CaaRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CaaRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CaaRecord. +func (mg *CaaRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CnameRecord. +func (mg *CnameRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CnameRecord. +func (mg *CnameRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CnameRecord. +func (mg *CnameRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CnameRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CnameRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CnameRecord. +func (mg *CnameRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CnameRecord. +func (mg *CnameRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CnameRecord. +func (mg *CnameRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CnameRecord. +func (mg *CnameRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CnameRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CnameRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CnameRecord. +func (mg *CnameRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this MxRecord. +func (mg *MxRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this MxRecord. +func (mg *MxRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this MxRecord. +func (mg *MxRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this MxRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *MxRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this MxRecord. +func (mg *MxRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this MxRecord. +func (mg *MxRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this MxRecord. +func (mg *MxRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this MxRecord. +func (mg *MxRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this MxRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *MxRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this MxRecord. +func (mg *MxRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NsRecord. +func (mg *NsRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NsRecord. +func (mg *NsRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NsRecord. +func (mg *NsRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NsRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NsRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NsRecord. +func (mg *NsRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NsRecord. +func (mg *NsRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NsRecord. +func (mg *NsRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NsRecord. +func (mg *NsRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NsRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NsRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NsRecord. +func (mg *NsRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PtrRecord. +func (mg *PtrRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PtrRecord. +func (mg *PtrRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PtrRecord. +func (mg *PtrRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PtrRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PtrRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PtrRecord. +func (mg *PtrRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PtrRecord. +func (mg *PtrRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PtrRecord. +func (mg *PtrRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PtrRecord. +func (mg *PtrRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PtrRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PtrRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PtrRecord. +func (mg *PtrRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SrvRecord. +func (mg *SrvRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SrvRecord. +func (mg *SrvRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SrvRecord. +func (mg *SrvRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SrvRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SrvRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SrvRecord. +func (mg *SrvRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SrvRecord. +func (mg *SrvRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SrvRecord. +func (mg *SrvRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SrvRecord. +func (mg *SrvRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SrvRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SrvRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SrvRecord. +func (mg *SrvRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TxtRecord. +func (mg *TxtRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TxtRecord. +func (mg *TxtRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TxtRecord. +func (mg *TxtRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TxtRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TxtRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TxtRecord. +func (mg *TxtRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TxtRecord. +func (mg *TxtRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TxtRecord. +func (mg *TxtRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TxtRecord. +func (mg *TxtRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TxtRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TxtRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TxtRecord. +func (mg *TxtRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Zone. +func (mg *Zone) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Zone. +func (mg *Zone) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Zone. +func (mg *Zone) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Zone. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Zone) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Zone. +func (mg *Zone) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Zone. +func (mg *Zone) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Zone. +func (mg *Zone) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Zone. +func (mg *Zone) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Zone. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Zone) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Zone. +func (mg *Zone) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/dns/v1alpha1/zz_generated.managedlist.go b/apis/dns/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..47e3d4170 --- /dev/null +++ b/apis/dns/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,110 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ARecordList. +func (l *ARecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AaaaRecordList. +func (l *AaaaRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CaaRecordList. +func (l *CaaRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CnameRecordList. +func (l *CnameRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this MxRecordList. +func (l *MxRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NsRecordList. +func (l *NsRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PtrRecordList. +func (l *PtrRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SrvRecordList. +func (l *SrvRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TxtRecordList. +func (l *TxtRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ZoneList. +func (l *ZoneList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/dns/v1alpha1/zz_groupversion_info.go b/apis/dns/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..5f850d07f --- /dev/null +++ b/apis/dns/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=dns.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "dns.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/dns/v1alpha1/zz_mxrecord_terraformed.go b/apis/dns/v1alpha1/zz_mxrecord_terraformed.go new file mode 100755 index 000000000..10ebfce85 --- /dev/null +++ b/apis/dns/v1alpha1/zz_mxrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this MxRecord +func (mg *MxRecord) GetTerraformResourceType() string { + return "azurerm_dns_mx_record" +} + +// GetConnectionDetailsMapping for this MxRecord +func (tr *MxRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this MxRecord +func (tr *MxRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this MxRecord +func (tr *MxRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this MxRecord +func (tr *MxRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this MxRecord +func (tr *MxRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this MxRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *MxRecord) LateInitialize(attrs []byte) (bool, error) { + params := &MxRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *MxRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_mxrecord_types.go b/apis/dns/v1alpha1/zz_mxrecord_types.go new file mode 100755 index 000000000..d50fc0790 --- /dev/null +++ b/apis/dns/v1alpha1/zz_mxrecord_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type MxRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type MxRecordParameters struct { + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []MxRecordRecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type MxRecordRecordObservation struct { +} + +type MxRecordRecordParameters struct { + + // +kubebuilder:validation:Required + Exchange *string `json:"exchange" tf:"exchange,omitempty"` + + // +kubebuilder:validation:Required + Preference *string `json:"preference" tf:"preference,omitempty"` +} + +// MxRecordSpec defines the desired state of MxRecord +type MxRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider MxRecordParameters `json:"forProvider"` +} + +// MxRecordStatus defines the observed state of MxRecord. +type MxRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider MxRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// MxRecord is the Schema for the MxRecords API +// +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,azurejet} +type MxRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec MxRecordSpec `json:"spec"` + Status MxRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// MxRecordList contains a list of MxRecords +type MxRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MxRecord `json:"items"` +} + +// Repository type metadata. +var ( + MxRecord_Kind = "MxRecord" + MxRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MxRecord_Kind}.String() + MxRecord_KindAPIVersion = MxRecord_Kind + "." + CRDGroupVersion.String() + MxRecord_GroupVersionKind = CRDGroupVersion.WithKind(MxRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&MxRecord{}, &MxRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_nsrecord_terraformed.go b/apis/dns/v1alpha1/zz_nsrecord_terraformed.go new file mode 100755 index 000000000..7fa8ccbf7 --- /dev/null +++ b/apis/dns/v1alpha1/zz_nsrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NsRecord +func (mg *NsRecord) GetTerraformResourceType() string { + return "azurerm_dns_ns_record" +} + +// GetConnectionDetailsMapping for this NsRecord +func (tr *NsRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NsRecord +func (tr *NsRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NsRecord +func (tr *NsRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NsRecord +func (tr *NsRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NsRecord +func (tr *NsRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NsRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NsRecord) LateInitialize(attrs []byte) (bool, error) { + params := &NsRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NsRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_nsrecord_types.go b/apis/dns/v1alpha1/zz_nsrecord_types.go new file mode 100755 index 000000000..26389163a --- /dev/null +++ b/apis/dns/v1alpha1/zz_nsrecord_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NsRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type NsRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Records []*string `json:"records" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// NsRecordSpec defines the desired state of NsRecord +type NsRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NsRecordParameters `json:"forProvider"` +} + +// NsRecordStatus defines the observed state of NsRecord. +type NsRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NsRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NsRecord is the Schema for the NsRecords API +// +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,azurejet} +type NsRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NsRecordSpec `json:"spec"` + Status NsRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NsRecordList contains a list of NsRecords +type NsRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NsRecord `json:"items"` +} + +// Repository type metadata. +var ( + NsRecord_Kind = "NsRecord" + NsRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NsRecord_Kind}.String() + NsRecord_KindAPIVersion = NsRecord_Kind + "." + CRDGroupVersion.String() + NsRecord_GroupVersionKind = CRDGroupVersion.WithKind(NsRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&NsRecord{}, &NsRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_ptrrecord_terraformed.go b/apis/dns/v1alpha1/zz_ptrrecord_terraformed.go new file mode 100755 index 000000000..ac811f3b9 --- /dev/null +++ b/apis/dns/v1alpha1/zz_ptrrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PtrRecord +func (mg *PtrRecord) GetTerraformResourceType() string { + return "azurerm_dns_ptr_record" +} + +// GetConnectionDetailsMapping for this PtrRecord +func (tr *PtrRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PtrRecord +func (tr *PtrRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PtrRecord +func (tr *PtrRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PtrRecord +func (tr *PtrRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PtrRecord +func (tr *PtrRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PtrRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PtrRecord) LateInitialize(attrs []byte) (bool, error) { + params := &PtrRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PtrRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_ptrrecord_types.go b/apis/dns/v1alpha1/zz_ptrrecord_types.go new file mode 100755 index 000000000..e78aba7ef --- /dev/null +++ b/apis/dns/v1alpha1/zz_ptrrecord_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PtrRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type PtrRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Records []*string `json:"records" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// PtrRecordSpec defines the desired state of PtrRecord +type PtrRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PtrRecordParameters `json:"forProvider"` +} + +// PtrRecordStatus defines the observed state of PtrRecord. +type PtrRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PtrRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PtrRecord is the Schema for the PtrRecords API +// +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,azurejet} +type PtrRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PtrRecordSpec `json:"spec"` + Status PtrRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PtrRecordList contains a list of PtrRecords +type PtrRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PtrRecord `json:"items"` +} + +// Repository type metadata. +var ( + PtrRecord_Kind = "PtrRecord" + PtrRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PtrRecord_Kind}.String() + PtrRecord_KindAPIVersion = PtrRecord_Kind + "." + CRDGroupVersion.String() + PtrRecord_GroupVersionKind = CRDGroupVersion.WithKind(PtrRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&PtrRecord{}, &PtrRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_srvrecord_terraformed.go b/apis/dns/v1alpha1/zz_srvrecord_terraformed.go new file mode 100755 index 000000000..adc0e7e37 --- /dev/null +++ b/apis/dns/v1alpha1/zz_srvrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SrvRecord +func (mg *SrvRecord) GetTerraformResourceType() string { + return "azurerm_dns_srv_record" +} + +// GetConnectionDetailsMapping for this SrvRecord +func (tr *SrvRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SrvRecord +func (tr *SrvRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SrvRecord +func (tr *SrvRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SrvRecord +func (tr *SrvRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SrvRecord +func (tr *SrvRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SrvRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SrvRecord) LateInitialize(attrs []byte) (bool, error) { + params := &SrvRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SrvRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_srvrecord_types.go b/apis/dns/v1alpha1/zz_srvrecord_types.go new file mode 100755 index 000000000..b8b6860b2 --- /dev/null +++ b/apis/dns/v1alpha1/zz_srvrecord_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SrvRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type SrvRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []SrvRecordRecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type SrvRecordRecordObservation struct { +} + +type SrvRecordRecordParameters struct { + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + Target *string `json:"target" tf:"target,omitempty"` + + // +kubebuilder:validation:Required + Weight *int64 `json:"weight" tf:"weight,omitempty"` +} + +// SrvRecordSpec defines the desired state of SrvRecord +type SrvRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SrvRecordParameters `json:"forProvider"` +} + +// SrvRecordStatus defines the observed state of SrvRecord. +type SrvRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SrvRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SrvRecord is the Schema for the SrvRecords API +// +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,azurejet} +type SrvRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SrvRecordSpec `json:"spec"` + Status SrvRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SrvRecordList contains a list of SrvRecords +type SrvRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SrvRecord `json:"items"` +} + +// Repository type metadata. +var ( + SrvRecord_Kind = "SrvRecord" + SrvRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SrvRecord_Kind}.String() + SrvRecord_KindAPIVersion = SrvRecord_Kind + "." + CRDGroupVersion.String() + SrvRecord_GroupVersionKind = CRDGroupVersion.WithKind(SrvRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&SrvRecord{}, &SrvRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_txtrecord_terraformed.go b/apis/dns/v1alpha1/zz_txtrecord_terraformed.go new file mode 100755 index 000000000..bbc6c90b2 --- /dev/null +++ b/apis/dns/v1alpha1/zz_txtrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TxtRecord +func (mg *TxtRecord) GetTerraformResourceType() string { + return "azurerm_dns_txt_record" +} + +// GetConnectionDetailsMapping for this TxtRecord +func (tr *TxtRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TxtRecord +func (tr *TxtRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TxtRecord +func (tr *TxtRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TxtRecord +func (tr *TxtRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TxtRecord +func (tr *TxtRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TxtRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TxtRecord) LateInitialize(attrs []byte) (bool, error) { + params := &TxtRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TxtRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/dns/v1alpha1/zz_txtrecord_types.go b/apis/dns/v1alpha1/zz_txtrecord_types.go new file mode 100755 index 000000000..dccb3a81d --- /dev/null +++ b/apis/dns/v1alpha1/zz_txtrecord_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TxtRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type TxtRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []TxtRecordRecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type TxtRecordRecordObservation struct { +} + +type TxtRecordRecordParameters struct { + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// TxtRecordSpec defines the desired state of TxtRecord +type TxtRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TxtRecordParameters `json:"forProvider"` +} + +// TxtRecordStatus defines the observed state of TxtRecord. +type TxtRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TxtRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TxtRecord is the Schema for the TxtRecords API +// +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,azurejet} +type TxtRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TxtRecordSpec `json:"spec"` + Status TxtRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TxtRecordList contains a list of TxtRecords +type TxtRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TxtRecord `json:"items"` +} + +// Repository type metadata. +var ( + TxtRecord_Kind = "TxtRecord" + TxtRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TxtRecord_Kind}.String() + TxtRecord_KindAPIVersion = TxtRecord_Kind + "." + CRDGroupVersion.String() + TxtRecord_GroupVersionKind = CRDGroupVersion.WithKind(TxtRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&TxtRecord{}, &TxtRecordList{}) +} diff --git a/apis/dns/v1alpha1/zz_zone_terraformed.go b/apis/dns/v1alpha1/zz_zone_terraformed.go new file mode 100755 index 000000000..7678d0ba0 --- /dev/null +++ b/apis/dns/v1alpha1/zz_zone_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Zone +func (mg *Zone) GetTerraformResourceType() string { + return "azurerm_dns_zone" +} + +// GetConnectionDetailsMapping for this Zone +func (tr *Zone) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Zone +func (tr *Zone) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Zone +func (tr *Zone) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Zone +func (tr *Zone) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Zone +func (tr *Zone) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Zone using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Zone) LateInitialize(attrs []byte) (bool, error) { + params := &ZoneParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Zone) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/dns/v1alpha1/zz_zone_types.go b/apis/dns/v1alpha1/zz_zone_types.go new file mode 100755 index 000000000..8664ffe8e --- /dev/null +++ b/apis/dns/v1alpha1/zz_zone_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SoaRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type SoaRecordParameters struct { + + // +kubebuilder:validation:Required + Email *string `json:"email" tf:"email,omitempty"` + + // +kubebuilder:validation:Optional + ExpireTime *int64 `json:"expireTime,omitempty" tf:"expire_time,omitempty"` + + // +kubebuilder:validation:Required + HostName *string `json:"hostName" tf:"host_name,omitempty"` + + // +kubebuilder:validation:Optional + MinimumTTL *int64 `json:"minimumTtl,omitempty" tf:"minimum_ttl,omitempty"` + + // +kubebuilder:validation:Optional + RefreshTime *int64 `json:"refreshTime,omitempty" tf:"refresh_time,omitempty"` + + // +kubebuilder:validation:Optional + RetryTime *int64 `json:"retryTime,omitempty" tf:"retry_time,omitempty"` + + // +kubebuilder:validation:Optional + SerialNumber *int64 `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` + + // +kubebuilder:validation:Optional + TTL *int64 `json:"ttl,omitempty" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type ZoneObservation struct { + MaxNumberOfRecordSets *int64 `json:"maxNumberOfRecordSets,omitempty" tf:"max_number_of_record_sets,omitempty"` + + NameServers []*string `json:"nameServers,omitempty" tf:"name_servers,omitempty"` + + NumberOfRecordSets *int64 `json:"numberOfRecordSets,omitempty" tf:"number_of_record_sets,omitempty"` +} + +type ZoneParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SoaRecord []SoaRecordParameters `json:"soaRecord,omitempty" tf:"soa_record,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ZoneSpec defines the desired state of Zone +type ZoneSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ZoneParameters `json:"forProvider"` +} + +// ZoneStatus defines the observed state of Zone. +type ZoneStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ZoneObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Zone is the Schema for the Zones API +// +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,azurejet} +type Zone struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ZoneSpec `json:"spec"` + Status ZoneStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ZoneList contains a list of Zones +type ZoneList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Zone `json:"items"` +} + +// Repository type metadata. +var ( + Zone_Kind = "Zone" + Zone_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Zone_Kind}.String() + Zone_KindAPIVersion = Zone_Kind + "." + CRDGroupVersion.String() + Zone_GroupVersionKind = CRDGroupVersion.WithKind(Zone_Kind) +) + +func init() { + SchemeBuilder.Register(&Zone{}, &ZoneList{}) +} diff --git a/apis/eventgrid/v1alpha1/zz_domain_terraformed.go b/apis/eventgrid/v1alpha1/zz_domain_terraformed.go new file mode 100755 index 000000000..62f660969 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_domain_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Domain +func (mg *Domain) GetTerraformResourceType() string { + return "azurerm_eventgrid_domain" +} + +// GetConnectionDetailsMapping for this Domain +func (tr *Domain) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "secondary_access_key": "status.atProvider.secondaryAccessKey"} +} + +// GetObservation of this Domain +func (tr *Domain) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Domain +func (tr *Domain) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Domain +func (tr *Domain) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Domain +func (tr *Domain) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Domain using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Domain) LateInitialize(attrs []byte) (bool, error) { + params := &DomainParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Domain) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventgrid/v1alpha1/zz_domain_types.go b/apis/eventgrid/v1alpha1/zz_domain_types.go new file mode 100755 index 000000000..71024cb26 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_domain_types.go @@ -0,0 +1,178 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DomainObservation struct { + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` +} + +type DomainParameters struct { + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + InboundIPRule []InboundIPRuleParameters `json:"inboundIpRule,omitempty" tf:"inbound_ip_rule,omitempty"` + + // +kubebuilder:validation:Optional + InputMappingDefaultValues []InputMappingDefaultValuesParameters `json:"inputMappingDefaultValues,omitempty" tf:"input_mapping_default_values,omitempty"` + + // +kubebuilder:validation:Optional + InputMappingFields []InputMappingFieldsParameters `json:"inputMappingFields,omitempty" tf:"input_mapping_fields,omitempty"` + + // +kubebuilder:validation:Optional + InputSchema *string `json:"inputSchema,omitempty" tf:"input_schema,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type InboundIPRuleObservation struct { +} + +type InboundIPRuleParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + IPMask *string `json:"ipMask" tf:"ip_mask,omitempty"` +} + +type InputMappingDefaultValuesObservation struct { +} + +type InputMappingDefaultValuesParameters struct { + + // +kubebuilder:validation:Optional + DataVersion *string `json:"dataVersion,omitempty" tf:"data_version,omitempty"` + + // +kubebuilder:validation:Optional + EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` + + // +kubebuilder:validation:Optional + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` +} + +type InputMappingFieldsObservation struct { +} + +type InputMappingFieldsParameters struct { + + // +kubebuilder:validation:Optional + DataVersion *string `json:"dataVersion,omitempty" tf:"data_version,omitempty"` + + // +kubebuilder:validation:Optional + EventTime *string `json:"eventTime,omitempty" tf:"event_time,omitempty"` + + // +kubebuilder:validation:Optional + EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` + + // +kubebuilder:validation:Optional + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // +kubebuilder:validation:Optional + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + // +kubebuilder:validation:Optional + Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` +} + +// DomainSpec defines the desired state of Domain +type DomainSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DomainParameters `json:"forProvider"` +} + +// DomainStatus defines the observed state of Domain. +type DomainStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DomainObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Domain is the Schema for the Domains API +// +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,azurejet} +type Domain struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DomainSpec `json:"spec"` + Status DomainStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DomainList contains a list of Domains +type DomainList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Domain `json:"items"` +} + +// Repository type metadata. +var ( + Domain_Kind = "Domain" + Domain_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Domain_Kind}.String() + Domain_KindAPIVersion = Domain_Kind + "." + CRDGroupVersion.String() + Domain_GroupVersionKind = CRDGroupVersion.WithKind(Domain_Kind) +) + +func init() { + SchemeBuilder.Register(&Domain{}, &DomainList{}) +} diff --git a/apis/eventgrid/v1alpha1/zz_domaintopic_terraformed.go b/apis/eventgrid/v1alpha1/zz_domaintopic_terraformed.go new file mode 100755 index 000000000..2f3167eb6 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_domaintopic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DomainTopic +func (mg *DomainTopic) GetTerraformResourceType() string { + return "azurerm_eventgrid_domain_topic" +} + +// GetConnectionDetailsMapping for this DomainTopic +func (tr *DomainTopic) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DomainTopic +func (tr *DomainTopic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DomainTopic +func (tr *DomainTopic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DomainTopic +func (tr *DomainTopic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DomainTopic +func (tr *DomainTopic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DomainTopic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DomainTopic) LateInitialize(attrs []byte) (bool, error) { + params := &DomainTopicParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DomainTopic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventgrid/v1alpha1/zz_domaintopic_types.go b/apis/eventgrid/v1alpha1/zz_domaintopic_types.go new file mode 100755 index 000000000..e956c62d5 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_domaintopic_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DomainTopicObservation struct { +} + +type DomainTopicParameters struct { + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// DomainTopicSpec defines the desired state of DomainTopic +type DomainTopicSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DomainTopicParameters `json:"forProvider"` +} + +// DomainTopicStatus defines the observed state of DomainTopic. +type DomainTopicStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DomainTopicObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DomainTopic is the Schema for the DomainTopics API +// +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,azurejet} +type DomainTopic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DomainTopicSpec `json:"spec"` + Status DomainTopicStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DomainTopicList contains a list of DomainTopics +type DomainTopicList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DomainTopic `json:"items"` +} + +// Repository type metadata. +var ( + DomainTopic_Kind = "DomainTopic" + DomainTopic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DomainTopic_Kind}.String() + DomainTopic_KindAPIVersion = DomainTopic_Kind + "." + CRDGroupVersion.String() + DomainTopic_GroupVersionKind = CRDGroupVersion.WithKind(DomainTopic_Kind) +) + +func init() { + SchemeBuilder.Register(&DomainTopic{}, &DomainTopicList{}) +} diff --git a/apis/eventgrid/v1alpha1/zz_eventsubscription_terraformed.go b/apis/eventgrid/v1alpha1/zz_eventsubscription_terraformed.go new file mode 100755 index 000000000..0e356f786 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_eventsubscription_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EventSubscription +func (mg *EventSubscription) GetTerraformResourceType() string { + return "azurerm_eventgrid_event_subscription" +} + +// GetConnectionDetailsMapping for this EventSubscription +func (tr *EventSubscription) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EventSubscription +func (tr *EventSubscription) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EventSubscription +func (tr *EventSubscription) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EventSubscription +func (tr *EventSubscription) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EventSubscription +func (tr *EventSubscription) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EventSubscription using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EventSubscription) LateInitialize(attrs []byte) (bool, error) { + params := &EventSubscriptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EventSubscription) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventgrid/v1alpha1/zz_eventsubscription_types.go b/apis/eventgrid/v1alpha1/zz_eventsubscription_types.go new file mode 100755 index 000000000..0e3621f43 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_eventsubscription_types.go @@ -0,0 +1,559 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AdvancedFilterObservation struct { +} + +type AdvancedFilterParameters struct { + + // +kubebuilder:validation:Optional + BoolEquals []BoolEqualsParameters `json:"boolEquals,omitempty" tf:"bool_equals,omitempty"` + + // +kubebuilder:validation:Optional + IsNotNull []IsNotNullParameters `json:"isNotNull,omitempty" tf:"is_not_null,omitempty"` + + // +kubebuilder:validation:Optional + IsNullOrUndefined []IsNullOrUndefinedParameters `json:"isNullOrUndefined,omitempty" tf:"is_null_or_undefined,omitempty"` + + // +kubebuilder:validation:Optional + NumberGreaterThan []NumberGreaterThanParameters `json:"numberGreaterThan,omitempty" tf:"number_greater_than,omitempty"` + + // +kubebuilder:validation:Optional + NumberGreaterThanOrEquals []NumberGreaterThanOrEqualsParameters `json:"numberGreaterThanOrEquals,omitempty" tf:"number_greater_than_or_equals,omitempty"` + + // +kubebuilder:validation:Optional + NumberIn []NumberInParameters `json:"numberIn,omitempty" tf:"number_in,omitempty"` + + // +kubebuilder:validation:Optional + NumberInRange []NumberInRangeParameters `json:"numberInRange,omitempty" tf:"number_in_range,omitempty"` + + // +kubebuilder:validation:Optional + NumberLessThan []NumberLessThanParameters `json:"numberLessThan,omitempty" tf:"number_less_than,omitempty"` + + // +kubebuilder:validation:Optional + NumberLessThanOrEquals []NumberLessThanOrEqualsParameters `json:"numberLessThanOrEquals,omitempty" tf:"number_less_than_or_equals,omitempty"` + + // +kubebuilder:validation:Optional + NumberNotIn []NumberNotInParameters `json:"numberNotIn,omitempty" tf:"number_not_in,omitempty"` + + // +kubebuilder:validation:Optional + NumberNotInRange []NumberNotInRangeParameters `json:"numberNotInRange,omitempty" tf:"number_not_in_range,omitempty"` + + // +kubebuilder:validation:Optional + StringBeginsWith []StringBeginsWithParameters `json:"stringBeginsWith,omitempty" tf:"string_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + StringContains []StringContainsParameters `json:"stringContains,omitempty" tf:"string_contains,omitempty"` + + // +kubebuilder:validation:Optional + StringEndsWith []StringEndsWithParameters `json:"stringEndsWith,omitempty" tf:"string_ends_with,omitempty"` + + // +kubebuilder:validation:Optional + StringIn []StringInParameters `json:"stringIn,omitempty" tf:"string_in,omitempty"` + + // +kubebuilder:validation:Optional + StringNotBeginsWith []StringNotBeginsWithParameters `json:"stringNotBeginsWith,omitempty" tf:"string_not_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + StringNotContains []StringNotContainsParameters `json:"stringNotContains,omitempty" tf:"string_not_contains,omitempty"` + + // +kubebuilder:validation:Optional + StringNotEndsWith []StringNotEndsWithParameters `json:"stringNotEndsWith,omitempty" tf:"string_not_ends_with,omitempty"` + + // +kubebuilder:validation:Optional + StringNotIn []StringNotInParameters `json:"stringNotIn,omitempty" tf:"string_not_in,omitempty"` +} + +type AzureFunctionEndpointObservation struct { +} + +type AzureFunctionEndpointParameters struct { + + // +kubebuilder:validation:Required + FunctionID *string `json:"functionId" tf:"function_id,omitempty"` + + // +kubebuilder:validation:Optional + MaxEventsPerBatch *int64 `json:"maxEventsPerBatch,omitempty" tf:"max_events_per_batch,omitempty"` + + // +kubebuilder:validation:Optional + PreferredBatchSizeInKilobytes *int64 `json:"preferredBatchSizeInKilobytes,omitempty" tf:"preferred_batch_size_in_kilobytes,omitempty"` +} + +type BoolEqualsObservation struct { +} + +type BoolEqualsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *bool `json:"value" tf:"value,omitempty"` +} + +type DeadLetterIdentityObservation struct { +} + +type DeadLetterIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type DeliveryIdentityObservation struct { +} + +type DeliveryIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type EventSubscriptionObservation struct { +} + +type EventSubscriptionParameters struct { + + // +kubebuilder:validation:Optional + AdvancedFilter []AdvancedFilterParameters `json:"advancedFilter,omitempty" tf:"advanced_filter,omitempty"` + + // +kubebuilder:validation:Optional + AdvancedFilteringOnArraysEnabled *bool `json:"advancedFilteringOnArraysEnabled,omitempty" tf:"advanced_filtering_on_arrays_enabled,omitempty"` + + // +kubebuilder:validation:Optional + AzureFunctionEndpoint []AzureFunctionEndpointParameters `json:"azureFunctionEndpoint,omitempty" tf:"azure_function_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + DeadLetterIdentity []DeadLetterIdentityParameters `json:"deadLetterIdentity,omitempty" tf:"dead_letter_identity,omitempty"` + + // +kubebuilder:validation:Optional + DeliveryIdentity []DeliveryIdentityParameters `json:"deliveryIdentity,omitempty" tf:"delivery_identity,omitempty"` + + // +kubebuilder:validation:Optional + EventDeliverySchema *string `json:"eventDeliverySchema,omitempty" tf:"event_delivery_schema,omitempty"` + + // +kubebuilder:validation:Optional + EventhubEndpoint []EventhubEndpointParameters `json:"eventhubEndpoint,omitempty" tf:"eventhub_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + EventhubEndpointID *string `json:"eventhubEndpointId,omitempty" tf:"eventhub_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + ExpirationTimeUtc *string `json:"expirationTimeUtc,omitempty" tf:"expiration_time_utc,omitempty"` + + // +kubebuilder:validation:Optional + HybridConnectionEndpoint []HybridConnectionEndpointParameters `json:"hybridConnectionEndpoint,omitempty" tf:"hybrid_connection_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + HybridConnectionEndpointID *string `json:"hybridConnectionEndpointId,omitempty" tf:"hybrid_connection_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + IncludedEventTypes []*string `json:"includedEventTypes,omitempty" tf:"included_event_types,omitempty"` + + // +kubebuilder:validation:Optional + Labels []*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RetryPolicy []RetryPolicyParameters `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` + + // +kubebuilder:validation:Optional + ServiceBusQueueEndpointID *string `json:"serviceBusQueueEndpointId,omitempty" tf:"service_bus_queue_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + ServiceBusTopicEndpointID *string `json:"serviceBusTopicEndpointId,omitempty" tf:"service_bus_topic_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageBlobDeadLetterDestination []StorageBlobDeadLetterDestinationParameters `json:"storageBlobDeadLetterDestination,omitempty" tf:"storage_blob_dead_letter_destination,omitempty"` + + // +kubebuilder:validation:Optional + StorageQueueEndpoint []StorageQueueEndpointParameters `json:"storageQueueEndpoint,omitempty" tf:"storage_queue_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + SubjectFilter []SubjectFilterParameters `json:"subjectFilter,omitempty" tf:"subject_filter,omitempty"` + + // +kubebuilder:validation:Optional + TopicName *string `json:"topicName,omitempty" tf:"topic_name,omitempty"` + + // +kubebuilder:validation:Optional + WebhookEndpoint []WebhookEndpointParameters `json:"webhookEndpoint,omitempty" tf:"webhook_endpoint,omitempty"` +} + +type EventhubEndpointObservation struct { +} + +type EventhubEndpointParameters struct { + + // +kubebuilder:validation:Optional + EventhubID *string `json:"eventhubId,omitempty" tf:"eventhub_id,omitempty"` +} + +type HybridConnectionEndpointObservation struct { +} + +type HybridConnectionEndpointParameters struct { + + // +kubebuilder:validation:Optional + HybridConnectionID *string `json:"hybridConnectionId,omitempty" tf:"hybrid_connection_id,omitempty"` +} + +type IsNotNullObservation struct { +} + +type IsNotNullParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` +} + +type IsNullOrUndefinedObservation struct { +} + +type IsNullOrUndefinedParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` +} + +type NumberGreaterThanObservation struct { +} + +type NumberGreaterThanOrEqualsObservation struct { +} + +type NumberGreaterThanOrEqualsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type NumberGreaterThanParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type NumberInObservation struct { +} + +type NumberInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*float64 `json:"values" tf:"values,omitempty"` +} + +type NumberInRangeObservation struct { +} + +type NumberInRangeParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values [][]*float64 `json:"values" tf:"values,omitempty"` +} + +type NumberLessThanObservation struct { +} + +type NumberLessThanOrEqualsObservation struct { +} + +type NumberLessThanOrEqualsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type NumberLessThanParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type NumberNotInObservation struct { +} + +type NumberNotInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*float64 `json:"values" tf:"values,omitempty"` +} + +type NumberNotInRangeObservation struct { +} + +type NumberNotInRangeParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values [][]*float64 `json:"values" tf:"values,omitempty"` +} + +type RetryPolicyObservation struct { +} + +type RetryPolicyParameters struct { + + // +kubebuilder:validation:Required + EventTimeToLive *int64 `json:"eventTimeToLive" tf:"event_time_to_live,omitempty"` + + // +kubebuilder:validation:Required + MaxDeliveryAttempts *int64 `json:"maxDeliveryAttempts" tf:"max_delivery_attempts,omitempty"` +} + +type StorageBlobDeadLetterDestinationObservation struct { +} + +type StorageBlobDeadLetterDestinationParameters struct { + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + StorageBlobContainerName *string `json:"storageBlobContainerName" tf:"storage_blob_container_name,omitempty"` +} + +type StorageQueueEndpointObservation struct { +} + +type StorageQueueEndpointParameters struct { + + // +kubebuilder:validation:Required + QueueName *string `json:"queueName" tf:"queue_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type StringBeginsWithObservation struct { +} + +type StringBeginsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringContainsObservation struct { +} + +type StringContainsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringEndsWithObservation struct { +} + +type StringEndsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringInObservation struct { +} + +type StringInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringNotBeginsWithObservation struct { +} + +type StringNotBeginsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringNotContainsObservation struct { +} + +type StringNotContainsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringNotEndsWithObservation struct { +} + +type StringNotEndsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type StringNotInObservation struct { +} + +type StringNotInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type SubjectFilterObservation struct { +} + +type SubjectFilterParameters struct { + + // +kubebuilder:validation:Optional + CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` + + // +kubebuilder:validation:Optional + SubjectBeginsWith *string `json:"subjectBeginsWith,omitempty" tf:"subject_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + SubjectEndsWith *string `json:"subjectEndsWith,omitempty" tf:"subject_ends_with,omitempty"` +} + +type WebhookEndpointObservation struct { + BaseURL *string `json:"baseUrl,omitempty" tf:"base_url,omitempty"` +} + +type WebhookEndpointParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectoryAppIDOrURI *string `json:"activeDirectoryAppIdOrUri,omitempty" tf:"active_directory_app_id_or_uri,omitempty"` + + // +kubebuilder:validation:Optional + ActiveDirectoryTenantID *string `json:"activeDirectoryTenantId,omitempty" tf:"active_directory_tenant_id,omitempty"` + + // +kubebuilder:validation:Optional + MaxEventsPerBatch *int64 `json:"maxEventsPerBatch,omitempty" tf:"max_events_per_batch,omitempty"` + + // +kubebuilder:validation:Optional + PreferredBatchSizeInKilobytes *int64 `json:"preferredBatchSizeInKilobytes,omitempty" tf:"preferred_batch_size_in_kilobytes,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +// EventSubscriptionSpec defines the desired state of EventSubscription +type EventSubscriptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EventSubscriptionParameters `json:"forProvider"` +} + +// EventSubscriptionStatus defines the observed state of EventSubscription. +type EventSubscriptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EventSubscriptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventSubscription is the Schema for the EventSubscriptions API +// +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,azurejet} +type EventSubscription struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EventSubscriptionSpec `json:"spec"` + Status EventSubscriptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventSubscriptionList contains a list of EventSubscriptions +type EventSubscriptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EventSubscription `json:"items"` +} + +// Repository type metadata. +var ( + EventSubscription_Kind = "EventSubscription" + EventSubscription_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EventSubscription_Kind}.String() + EventSubscription_KindAPIVersion = EventSubscription_Kind + "." + CRDGroupVersion.String() + EventSubscription_GroupVersionKind = CRDGroupVersion.WithKind(EventSubscription_Kind) +) + +func init() { + SchemeBuilder.Register(&EventSubscription{}, &EventSubscriptionList{}) +} diff --git a/apis/eventgrid/v1alpha1/zz_generated.deepcopy.go b/apis/eventgrid/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..d2cb25acc --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,4462 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterBoolEqualsObservation) DeepCopyInto(out *AdvancedFilterBoolEqualsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterBoolEqualsObservation. +func (in *AdvancedFilterBoolEqualsObservation) DeepCopy() *AdvancedFilterBoolEqualsObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterBoolEqualsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterBoolEqualsParameters) DeepCopyInto(out *AdvancedFilterBoolEqualsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterBoolEqualsParameters. +func (in *AdvancedFilterBoolEqualsParameters) DeepCopy() *AdvancedFilterBoolEqualsParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterBoolEqualsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterIsNotNullObservation) DeepCopyInto(out *AdvancedFilterIsNotNullObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterIsNotNullObservation. +func (in *AdvancedFilterIsNotNullObservation) DeepCopy() *AdvancedFilterIsNotNullObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterIsNotNullObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterIsNotNullParameters) DeepCopyInto(out *AdvancedFilterIsNotNullParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterIsNotNullParameters. +func (in *AdvancedFilterIsNotNullParameters) DeepCopy() *AdvancedFilterIsNotNullParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterIsNotNullParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterIsNullOrUndefinedObservation) DeepCopyInto(out *AdvancedFilterIsNullOrUndefinedObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterIsNullOrUndefinedObservation. +func (in *AdvancedFilterIsNullOrUndefinedObservation) DeepCopy() *AdvancedFilterIsNullOrUndefinedObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterIsNullOrUndefinedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterIsNullOrUndefinedParameters) DeepCopyInto(out *AdvancedFilterIsNullOrUndefinedParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterIsNullOrUndefinedParameters. +func (in *AdvancedFilterIsNullOrUndefinedParameters) DeepCopy() *AdvancedFilterIsNullOrUndefinedParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterIsNullOrUndefinedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberGreaterThanObservation) DeepCopyInto(out *AdvancedFilterNumberGreaterThanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberGreaterThanObservation. +func (in *AdvancedFilterNumberGreaterThanObservation) DeepCopy() *AdvancedFilterNumberGreaterThanObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberGreaterThanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberGreaterThanOrEqualsObservation) DeepCopyInto(out *AdvancedFilterNumberGreaterThanOrEqualsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberGreaterThanOrEqualsObservation. +func (in *AdvancedFilterNumberGreaterThanOrEqualsObservation) DeepCopy() *AdvancedFilterNumberGreaterThanOrEqualsObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberGreaterThanOrEqualsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberGreaterThanOrEqualsParameters) DeepCopyInto(out *AdvancedFilterNumberGreaterThanOrEqualsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberGreaterThanOrEqualsParameters. +func (in *AdvancedFilterNumberGreaterThanOrEqualsParameters) DeepCopy() *AdvancedFilterNumberGreaterThanOrEqualsParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberGreaterThanOrEqualsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberGreaterThanParameters) DeepCopyInto(out *AdvancedFilterNumberGreaterThanParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberGreaterThanParameters. +func (in *AdvancedFilterNumberGreaterThanParameters) DeepCopy() *AdvancedFilterNumberGreaterThanParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberGreaterThanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberInObservation) DeepCopyInto(out *AdvancedFilterNumberInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberInObservation. +func (in *AdvancedFilterNumberInObservation) DeepCopy() *AdvancedFilterNumberInObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberInParameters) DeepCopyInto(out *AdvancedFilterNumberInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberInParameters. +func (in *AdvancedFilterNumberInParameters) DeepCopy() *AdvancedFilterNumberInParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberInRangeObservation) DeepCopyInto(out *AdvancedFilterNumberInRangeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberInRangeObservation. +func (in *AdvancedFilterNumberInRangeObservation) DeepCopy() *AdvancedFilterNumberInRangeObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberInRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberInRangeParameters) DeepCopyInto(out *AdvancedFilterNumberInRangeParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([][]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberInRangeParameters. +func (in *AdvancedFilterNumberInRangeParameters) DeepCopy() *AdvancedFilterNumberInRangeParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberInRangeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberLessThanObservation) DeepCopyInto(out *AdvancedFilterNumberLessThanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberLessThanObservation. +func (in *AdvancedFilterNumberLessThanObservation) DeepCopy() *AdvancedFilterNumberLessThanObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberLessThanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberLessThanOrEqualsObservation) DeepCopyInto(out *AdvancedFilterNumberLessThanOrEqualsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberLessThanOrEqualsObservation. +func (in *AdvancedFilterNumberLessThanOrEqualsObservation) DeepCopy() *AdvancedFilterNumberLessThanOrEqualsObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberLessThanOrEqualsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberLessThanOrEqualsParameters) DeepCopyInto(out *AdvancedFilterNumberLessThanOrEqualsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberLessThanOrEqualsParameters. +func (in *AdvancedFilterNumberLessThanOrEqualsParameters) DeepCopy() *AdvancedFilterNumberLessThanOrEqualsParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberLessThanOrEqualsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberLessThanParameters) DeepCopyInto(out *AdvancedFilterNumberLessThanParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberLessThanParameters. +func (in *AdvancedFilterNumberLessThanParameters) DeepCopy() *AdvancedFilterNumberLessThanParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberLessThanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberNotInObservation) DeepCopyInto(out *AdvancedFilterNumberNotInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberNotInObservation. +func (in *AdvancedFilterNumberNotInObservation) DeepCopy() *AdvancedFilterNumberNotInObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberNotInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberNotInParameters) DeepCopyInto(out *AdvancedFilterNumberNotInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberNotInParameters. +func (in *AdvancedFilterNumberNotInParameters) DeepCopy() *AdvancedFilterNumberNotInParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberNotInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberNotInRangeObservation) DeepCopyInto(out *AdvancedFilterNumberNotInRangeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberNotInRangeObservation. +func (in *AdvancedFilterNumberNotInRangeObservation) DeepCopy() *AdvancedFilterNumberNotInRangeObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberNotInRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterNumberNotInRangeParameters) DeepCopyInto(out *AdvancedFilterNumberNotInRangeParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([][]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterNumberNotInRangeParameters. +func (in *AdvancedFilterNumberNotInRangeParameters) DeepCopy() *AdvancedFilterNumberNotInRangeParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterNumberNotInRangeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterObservation) DeepCopyInto(out *AdvancedFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterObservation. +func (in *AdvancedFilterObservation) DeepCopy() *AdvancedFilterObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterParameters) DeepCopyInto(out *AdvancedFilterParameters) { + *out = *in + if in.BoolEquals != nil { + in, out := &in.BoolEquals, &out.BoolEquals + *out = make([]BoolEqualsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsNotNull != nil { + in, out := &in.IsNotNull, &out.IsNotNull + *out = make([]IsNotNullParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsNullOrUndefined != nil { + in, out := &in.IsNullOrUndefined, &out.IsNullOrUndefined + *out = make([]IsNullOrUndefinedParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberGreaterThan != nil { + in, out := &in.NumberGreaterThan, &out.NumberGreaterThan + *out = make([]NumberGreaterThanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberGreaterThanOrEquals != nil { + in, out := &in.NumberGreaterThanOrEquals, &out.NumberGreaterThanOrEquals + *out = make([]NumberGreaterThanOrEqualsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberIn != nil { + in, out := &in.NumberIn, &out.NumberIn + *out = make([]NumberInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberInRange != nil { + in, out := &in.NumberInRange, &out.NumberInRange + *out = make([]NumberInRangeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberLessThan != nil { + in, out := &in.NumberLessThan, &out.NumberLessThan + *out = make([]NumberLessThanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberLessThanOrEquals != nil { + in, out := &in.NumberLessThanOrEquals, &out.NumberLessThanOrEquals + *out = make([]NumberLessThanOrEqualsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberNotIn != nil { + in, out := &in.NumberNotIn, &out.NumberNotIn + *out = make([]NumberNotInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberNotInRange != nil { + in, out := &in.NumberNotInRange, &out.NumberNotInRange + *out = make([]NumberNotInRangeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringBeginsWith != nil { + in, out := &in.StringBeginsWith, &out.StringBeginsWith + *out = make([]StringBeginsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringContains != nil { + in, out := &in.StringContains, &out.StringContains + *out = make([]StringContainsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringEndsWith != nil { + in, out := &in.StringEndsWith, &out.StringEndsWith + *out = make([]StringEndsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringIn != nil { + in, out := &in.StringIn, &out.StringIn + *out = make([]StringInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotBeginsWith != nil { + in, out := &in.StringNotBeginsWith, &out.StringNotBeginsWith + *out = make([]StringNotBeginsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotContains != nil { + in, out := &in.StringNotContains, &out.StringNotContains + *out = make([]StringNotContainsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotEndsWith != nil { + in, out := &in.StringNotEndsWith, &out.StringNotEndsWith + *out = make([]StringNotEndsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotIn != nil { + in, out := &in.StringNotIn, &out.StringNotIn + *out = make([]StringNotInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterParameters. +func (in *AdvancedFilterParameters) DeepCopy() *AdvancedFilterParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringBeginsWithObservation) DeepCopyInto(out *AdvancedFilterStringBeginsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringBeginsWithObservation. +func (in *AdvancedFilterStringBeginsWithObservation) DeepCopy() *AdvancedFilterStringBeginsWithObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringBeginsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringBeginsWithParameters) DeepCopyInto(out *AdvancedFilterStringBeginsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringBeginsWithParameters. +func (in *AdvancedFilterStringBeginsWithParameters) DeepCopy() *AdvancedFilterStringBeginsWithParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringBeginsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringContainsObservation) DeepCopyInto(out *AdvancedFilterStringContainsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringContainsObservation. +func (in *AdvancedFilterStringContainsObservation) DeepCopy() *AdvancedFilterStringContainsObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringContainsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringContainsParameters) DeepCopyInto(out *AdvancedFilterStringContainsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringContainsParameters. +func (in *AdvancedFilterStringContainsParameters) DeepCopy() *AdvancedFilterStringContainsParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringContainsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringEndsWithObservation) DeepCopyInto(out *AdvancedFilterStringEndsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringEndsWithObservation. +func (in *AdvancedFilterStringEndsWithObservation) DeepCopy() *AdvancedFilterStringEndsWithObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringEndsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringEndsWithParameters) DeepCopyInto(out *AdvancedFilterStringEndsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringEndsWithParameters. +func (in *AdvancedFilterStringEndsWithParameters) DeepCopy() *AdvancedFilterStringEndsWithParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringEndsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringInObservation) DeepCopyInto(out *AdvancedFilterStringInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringInObservation. +func (in *AdvancedFilterStringInObservation) DeepCopy() *AdvancedFilterStringInObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringInParameters) DeepCopyInto(out *AdvancedFilterStringInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringInParameters. +func (in *AdvancedFilterStringInParameters) DeepCopy() *AdvancedFilterStringInParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotBeginsWithObservation) DeepCopyInto(out *AdvancedFilterStringNotBeginsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotBeginsWithObservation. +func (in *AdvancedFilterStringNotBeginsWithObservation) DeepCopy() *AdvancedFilterStringNotBeginsWithObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotBeginsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotBeginsWithParameters) DeepCopyInto(out *AdvancedFilterStringNotBeginsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotBeginsWithParameters. +func (in *AdvancedFilterStringNotBeginsWithParameters) DeepCopy() *AdvancedFilterStringNotBeginsWithParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotBeginsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotContainsObservation) DeepCopyInto(out *AdvancedFilterStringNotContainsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotContainsObservation. +func (in *AdvancedFilterStringNotContainsObservation) DeepCopy() *AdvancedFilterStringNotContainsObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotContainsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotContainsParameters) DeepCopyInto(out *AdvancedFilterStringNotContainsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotContainsParameters. +func (in *AdvancedFilterStringNotContainsParameters) DeepCopy() *AdvancedFilterStringNotContainsParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotContainsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotEndsWithObservation) DeepCopyInto(out *AdvancedFilterStringNotEndsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotEndsWithObservation. +func (in *AdvancedFilterStringNotEndsWithObservation) DeepCopy() *AdvancedFilterStringNotEndsWithObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotEndsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotEndsWithParameters) DeepCopyInto(out *AdvancedFilterStringNotEndsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotEndsWithParameters. +func (in *AdvancedFilterStringNotEndsWithParameters) DeepCopy() *AdvancedFilterStringNotEndsWithParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotEndsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotInObservation) DeepCopyInto(out *AdvancedFilterStringNotInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotInObservation. +func (in *AdvancedFilterStringNotInObservation) DeepCopy() *AdvancedFilterStringNotInObservation { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdvancedFilterStringNotInParameters) DeepCopyInto(out *AdvancedFilterStringNotInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedFilterStringNotInParameters. +func (in *AdvancedFilterStringNotInParameters) DeepCopy() *AdvancedFilterStringNotInParameters { + if in == nil { + return nil + } + out := new(AdvancedFilterStringNotInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureFunctionEndpointObservation) DeepCopyInto(out *AzureFunctionEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFunctionEndpointObservation. +func (in *AzureFunctionEndpointObservation) DeepCopy() *AzureFunctionEndpointObservation { + if in == nil { + return nil + } + out := new(AzureFunctionEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureFunctionEndpointParameters) DeepCopyInto(out *AzureFunctionEndpointParameters) { + *out = *in + if in.FunctionID != nil { + in, out := &in.FunctionID, &out.FunctionID + *out = new(string) + **out = **in + } + if in.MaxEventsPerBatch != nil { + in, out := &in.MaxEventsPerBatch, &out.MaxEventsPerBatch + *out = new(int64) + **out = **in + } + if in.PreferredBatchSizeInKilobytes != nil { + in, out := &in.PreferredBatchSizeInKilobytes, &out.PreferredBatchSizeInKilobytes + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFunctionEndpointParameters. +func (in *AzureFunctionEndpointParameters) DeepCopy() *AzureFunctionEndpointParameters { + if in == nil { + return nil + } + out := new(AzureFunctionEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BoolEqualsObservation) DeepCopyInto(out *BoolEqualsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoolEqualsObservation. +func (in *BoolEqualsObservation) DeepCopy() *BoolEqualsObservation { + if in == nil { + return nil + } + out := new(BoolEqualsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BoolEqualsParameters) DeepCopyInto(out *BoolEqualsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoolEqualsParameters. +func (in *BoolEqualsParameters) DeepCopy() *BoolEqualsParameters { + if in == nil { + return nil + } + out := new(BoolEqualsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeadLetterIdentityObservation) DeepCopyInto(out *DeadLetterIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadLetterIdentityObservation. +func (in *DeadLetterIdentityObservation) DeepCopy() *DeadLetterIdentityObservation { + if in == nil { + return nil + } + out := new(DeadLetterIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeadLetterIdentityParameters) DeepCopyInto(out *DeadLetterIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeadLetterIdentityParameters. +func (in *DeadLetterIdentityParameters) DeepCopy() *DeadLetterIdentityParameters { + if in == nil { + return nil + } + out := new(DeadLetterIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryIdentityObservation) DeepCopyInto(out *DeliveryIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryIdentityObservation. +func (in *DeliveryIdentityObservation) DeepCopy() *DeliveryIdentityObservation { + if in == nil { + return nil + } + out := new(DeliveryIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeliveryIdentityParameters) DeepCopyInto(out *DeliveryIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeliveryIdentityParameters. +func (in *DeliveryIdentityParameters) DeepCopy() *DeliveryIdentityParameters { + if in == nil { + return nil + } + out := new(DeliveryIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Domain) DeepCopyInto(out *Domain) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Domain. +func (in *Domain) DeepCopy() *Domain { + if in == nil { + return nil + } + out := new(Domain) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Domain) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainList) DeepCopyInto(out *DomainList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Domain, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainList. +func (in *DomainList) DeepCopy() *DomainList { + if in == nil { + return nil + } + out := new(DomainList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DomainList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainObservation. +func (in *DomainObservation) DeepCopy() *DomainObservation { + if in == nil { + return nil + } + out := new(DomainObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InboundIPRule != nil { + in, out := &in.InboundIPRule, &out.InboundIPRule + *out = make([]InboundIPRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InputMappingDefaultValues != nil { + in, out := &in.InputMappingDefaultValues, &out.InputMappingDefaultValues + *out = make([]InputMappingDefaultValuesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InputMappingFields != nil { + in, out := &in.InputMappingFields, &out.InputMappingFields + *out = make([]InputMappingFieldsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainParameters. +func (in *DomainParameters) DeepCopy() *DomainParameters { + if in == nil { + return nil + } + out := new(DomainParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainSpec) DeepCopyInto(out *DomainSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainSpec. +func (in *DomainSpec) DeepCopy() *DomainSpec { + if in == nil { + return nil + } + out := new(DomainSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainStatus) DeepCopyInto(out *DomainStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainStatus. +func (in *DomainStatus) DeepCopy() *DomainStatus { + if in == nil { + return nil + } + out := new(DomainStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainTopic) DeepCopyInto(out *DomainTopic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainTopic. +func (in *DomainTopic) DeepCopy() *DomainTopic { + if in == nil { + return nil + } + out := new(DomainTopic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DomainTopic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainTopicList) DeepCopyInto(out *DomainTopicList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DomainTopic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainTopicList. +func (in *DomainTopicList) DeepCopy() *DomainTopicList { + if in == nil { + return nil + } + out := new(DomainTopicList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DomainTopicList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainTopicObservation) DeepCopyInto(out *DomainTopicObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainTopicObservation. +func (in *DomainTopicObservation) DeepCopy() *DomainTopicObservation { + if in == nil { + return nil + } + out := new(DomainTopicObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainTopicParameters) DeepCopyInto(out *DomainTopicParameters) { + *out = *in + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainTopicParameters. +func (in *DomainTopicParameters) DeepCopy() *DomainTopicParameters { + if in == nil { + return nil + } + out := new(DomainTopicParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainTopicSpec) DeepCopyInto(out *DomainTopicSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainTopicSpec. +func (in *DomainTopicSpec) DeepCopy() *DomainTopicSpec { + if in == nil { + return nil + } + out := new(DomainTopicSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DomainTopicStatus) DeepCopyInto(out *DomainTopicStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainTopicStatus. +func (in *DomainTopicStatus) DeepCopy() *DomainTopicStatus { + if in == nil { + return nil + } + out := new(DomainTopicStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventSubscription) DeepCopyInto(out *EventSubscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscription. +func (in *EventSubscription) DeepCopy() *EventSubscription { + if in == nil { + return nil + } + out := new(EventSubscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventSubscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventSubscriptionList) DeepCopyInto(out *EventSubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EventSubscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscriptionList. +func (in *EventSubscriptionList) DeepCopy() *EventSubscriptionList { + if in == nil { + return nil + } + out := new(EventSubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventSubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscriptionObservation. +func (in *EventSubscriptionObservation) DeepCopy() *EventSubscriptionObservation { + if in == nil { + return nil + } + out := new(EventSubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventSubscriptionParameters) DeepCopyInto(out *EventSubscriptionParameters) { + *out = *in + if in.AdvancedFilter != nil { + in, out := &in.AdvancedFilter, &out.AdvancedFilter + *out = make([]AdvancedFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdvancedFilteringOnArraysEnabled != nil { + in, out := &in.AdvancedFilteringOnArraysEnabled, &out.AdvancedFilteringOnArraysEnabled + *out = new(bool) + **out = **in + } + if in.AzureFunctionEndpoint != nil { + in, out := &in.AzureFunctionEndpoint, &out.AzureFunctionEndpoint + *out = make([]AzureFunctionEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DeadLetterIdentity != nil { + in, out := &in.DeadLetterIdentity, &out.DeadLetterIdentity + *out = make([]DeadLetterIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DeliveryIdentity != nil { + in, out := &in.DeliveryIdentity, &out.DeliveryIdentity + *out = make([]DeliveryIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EventDeliverySchema != nil { + in, out := &in.EventDeliverySchema, &out.EventDeliverySchema + *out = new(string) + **out = **in + } + if in.EventhubEndpoint != nil { + in, out := &in.EventhubEndpoint, &out.EventhubEndpoint + *out = make([]EventhubEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EventhubEndpointID != nil { + in, out := &in.EventhubEndpointID, &out.EventhubEndpointID + *out = new(string) + **out = **in + } + if in.ExpirationTimeUtc != nil { + in, out := &in.ExpirationTimeUtc, &out.ExpirationTimeUtc + *out = new(string) + **out = **in + } + if in.HybridConnectionEndpoint != nil { + in, out := &in.HybridConnectionEndpoint, &out.HybridConnectionEndpoint + *out = make([]HybridConnectionEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HybridConnectionEndpointID != nil { + in, out := &in.HybridConnectionEndpointID, &out.HybridConnectionEndpointID + *out = new(string) + **out = **in + } + if in.IncludedEventTypes != nil { + in, out := &in.IncludedEventTypes, &out.IncludedEventTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RetryPolicy != nil { + in, out := &in.RetryPolicy, &out.RetryPolicy + *out = make([]RetryPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.ServiceBusQueueEndpointID != nil { + in, out := &in.ServiceBusQueueEndpointID, &out.ServiceBusQueueEndpointID + *out = new(string) + **out = **in + } + if in.ServiceBusTopicEndpointID != nil { + in, out := &in.ServiceBusTopicEndpointID, &out.ServiceBusTopicEndpointID + *out = new(string) + **out = **in + } + if in.StorageBlobDeadLetterDestination != nil { + in, out := &in.StorageBlobDeadLetterDestination, &out.StorageBlobDeadLetterDestination + *out = make([]StorageBlobDeadLetterDestinationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageQueueEndpoint != nil { + in, out := &in.StorageQueueEndpoint, &out.StorageQueueEndpoint + *out = make([]StorageQueueEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubjectFilter != nil { + in, out := &in.SubjectFilter, &out.SubjectFilter + *out = make([]SubjectFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } + if in.WebhookEndpoint != nil { + in, out := &in.WebhookEndpoint, &out.WebhookEndpoint + *out = make([]WebhookEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscriptionParameters. +func (in *EventSubscriptionParameters) DeepCopy() *EventSubscriptionParameters { + if in == nil { + return nil + } + out := new(EventSubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventSubscriptionSpec) DeepCopyInto(out *EventSubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscriptionSpec. +func (in *EventSubscriptionSpec) DeepCopy() *EventSubscriptionSpec { + if in == nil { + return nil + } + out := new(EventSubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventSubscriptionStatus) DeepCopyInto(out *EventSubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSubscriptionStatus. +func (in *EventSubscriptionStatus) DeepCopy() *EventSubscriptionStatus { + if in == nil { + return nil + } + out := new(EventSubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubEndpointObservation) DeepCopyInto(out *EventhubEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubEndpointObservation. +func (in *EventhubEndpointObservation) DeepCopy() *EventhubEndpointObservation { + if in == nil { + return nil + } + out := new(EventhubEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubEndpointParameters) DeepCopyInto(out *EventhubEndpointParameters) { + *out = *in + if in.EventhubID != nil { + in, out := &in.EventhubID, &out.EventhubID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubEndpointParameters. +func (in *EventhubEndpointParameters) DeepCopy() *EventhubEndpointParameters { + if in == nil { + return nil + } + out := new(EventhubEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionEndpointObservation) DeepCopyInto(out *HybridConnectionEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionEndpointObservation. +func (in *HybridConnectionEndpointObservation) DeepCopy() *HybridConnectionEndpointObservation { + if in == nil { + return nil + } + out := new(HybridConnectionEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionEndpointParameters) DeepCopyInto(out *HybridConnectionEndpointParameters) { + *out = *in + if in.HybridConnectionID != nil { + in, out := &in.HybridConnectionID, &out.HybridConnectionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionEndpointParameters. +func (in *HybridConnectionEndpointParameters) DeepCopy() *HybridConnectionEndpointParameters { + if in == nil { + return nil + } + out := new(HybridConnectionEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundIPRuleObservation) DeepCopyInto(out *InboundIPRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundIPRuleObservation. +func (in *InboundIPRuleObservation) DeepCopy() *InboundIPRuleObservation { + if in == nil { + return nil + } + out := new(InboundIPRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InboundIPRuleParameters) DeepCopyInto(out *InboundIPRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.IPMask != nil { + in, out := &in.IPMask, &out.IPMask + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InboundIPRuleParameters. +func (in *InboundIPRuleParameters) DeepCopy() *InboundIPRuleParameters { + if in == nil { + return nil + } + out := new(InboundIPRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputMappingDefaultValuesObservation) DeepCopyInto(out *InputMappingDefaultValuesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputMappingDefaultValuesObservation. +func (in *InputMappingDefaultValuesObservation) DeepCopy() *InputMappingDefaultValuesObservation { + if in == nil { + return nil + } + out := new(InputMappingDefaultValuesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputMappingDefaultValuesParameters) DeepCopyInto(out *InputMappingDefaultValuesParameters) { + *out = *in + if in.DataVersion != nil { + in, out := &in.DataVersion, &out.DataVersion + *out = new(string) + **out = **in + } + if in.EventType != nil { + in, out := &in.EventType, &out.EventType + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputMappingDefaultValuesParameters. +func (in *InputMappingDefaultValuesParameters) DeepCopy() *InputMappingDefaultValuesParameters { + if in == nil { + return nil + } + out := new(InputMappingDefaultValuesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputMappingFieldsObservation) DeepCopyInto(out *InputMappingFieldsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputMappingFieldsObservation. +func (in *InputMappingFieldsObservation) DeepCopy() *InputMappingFieldsObservation { + if in == nil { + return nil + } + out := new(InputMappingFieldsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputMappingFieldsParameters) DeepCopyInto(out *InputMappingFieldsParameters) { + *out = *in + if in.DataVersion != nil { + in, out := &in.DataVersion, &out.DataVersion + *out = new(string) + **out = **in + } + if in.EventTime != nil { + in, out := &in.EventTime, &out.EventTime + *out = new(string) + **out = **in + } + if in.EventType != nil { + in, out := &in.EventType, &out.EventType + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Topic != nil { + in, out := &in.Topic, &out.Topic + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputMappingFieldsParameters. +func (in *InputMappingFieldsParameters) DeepCopy() *InputMappingFieldsParameters { + if in == nil { + return nil + } + out := new(InputMappingFieldsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IsNotNullObservation) DeepCopyInto(out *IsNotNullObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsNotNullObservation. +func (in *IsNotNullObservation) DeepCopy() *IsNotNullObservation { + if in == nil { + return nil + } + out := new(IsNotNullObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IsNotNullParameters) DeepCopyInto(out *IsNotNullParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsNotNullParameters. +func (in *IsNotNullParameters) DeepCopy() *IsNotNullParameters { + if in == nil { + return nil + } + out := new(IsNotNullParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IsNullOrUndefinedObservation) DeepCopyInto(out *IsNullOrUndefinedObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsNullOrUndefinedObservation. +func (in *IsNullOrUndefinedObservation) DeepCopy() *IsNullOrUndefinedObservation { + if in == nil { + return nil + } + out := new(IsNullOrUndefinedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IsNullOrUndefinedParameters) DeepCopyInto(out *IsNullOrUndefinedParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsNullOrUndefinedParameters. +func (in *IsNullOrUndefinedParameters) DeepCopy() *IsNullOrUndefinedParameters { + if in == nil { + return nil + } + out := new(IsNullOrUndefinedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberGreaterThanObservation) DeepCopyInto(out *NumberGreaterThanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberGreaterThanObservation. +func (in *NumberGreaterThanObservation) DeepCopy() *NumberGreaterThanObservation { + if in == nil { + return nil + } + out := new(NumberGreaterThanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberGreaterThanOrEqualsObservation) DeepCopyInto(out *NumberGreaterThanOrEqualsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberGreaterThanOrEqualsObservation. +func (in *NumberGreaterThanOrEqualsObservation) DeepCopy() *NumberGreaterThanOrEqualsObservation { + if in == nil { + return nil + } + out := new(NumberGreaterThanOrEqualsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberGreaterThanOrEqualsParameters) DeepCopyInto(out *NumberGreaterThanOrEqualsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberGreaterThanOrEqualsParameters. +func (in *NumberGreaterThanOrEqualsParameters) DeepCopy() *NumberGreaterThanOrEqualsParameters { + if in == nil { + return nil + } + out := new(NumberGreaterThanOrEqualsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberGreaterThanParameters) DeepCopyInto(out *NumberGreaterThanParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberGreaterThanParameters. +func (in *NumberGreaterThanParameters) DeepCopy() *NumberGreaterThanParameters { + if in == nil { + return nil + } + out := new(NumberGreaterThanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberInObservation) DeepCopyInto(out *NumberInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberInObservation. +func (in *NumberInObservation) DeepCopy() *NumberInObservation { + if in == nil { + return nil + } + out := new(NumberInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberInParameters) DeepCopyInto(out *NumberInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberInParameters. +func (in *NumberInParameters) DeepCopy() *NumberInParameters { + if in == nil { + return nil + } + out := new(NumberInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberInRangeObservation) DeepCopyInto(out *NumberInRangeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberInRangeObservation. +func (in *NumberInRangeObservation) DeepCopy() *NumberInRangeObservation { + if in == nil { + return nil + } + out := new(NumberInRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberInRangeParameters) DeepCopyInto(out *NumberInRangeParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([][]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberInRangeParameters. +func (in *NumberInRangeParameters) DeepCopy() *NumberInRangeParameters { + if in == nil { + return nil + } + out := new(NumberInRangeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberLessThanObservation) DeepCopyInto(out *NumberLessThanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberLessThanObservation. +func (in *NumberLessThanObservation) DeepCopy() *NumberLessThanObservation { + if in == nil { + return nil + } + out := new(NumberLessThanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberLessThanOrEqualsObservation) DeepCopyInto(out *NumberLessThanOrEqualsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberLessThanOrEqualsObservation. +func (in *NumberLessThanOrEqualsObservation) DeepCopy() *NumberLessThanOrEqualsObservation { + if in == nil { + return nil + } + out := new(NumberLessThanOrEqualsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberLessThanOrEqualsParameters) DeepCopyInto(out *NumberLessThanOrEqualsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberLessThanOrEqualsParameters. +func (in *NumberLessThanOrEqualsParameters) DeepCopy() *NumberLessThanOrEqualsParameters { + if in == nil { + return nil + } + out := new(NumberLessThanOrEqualsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberLessThanParameters) DeepCopyInto(out *NumberLessThanParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberLessThanParameters. +func (in *NumberLessThanParameters) DeepCopy() *NumberLessThanParameters { + if in == nil { + return nil + } + out := new(NumberLessThanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberNotInObservation) DeepCopyInto(out *NumberNotInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberNotInObservation. +func (in *NumberNotInObservation) DeepCopy() *NumberNotInObservation { + if in == nil { + return nil + } + out := new(NumberNotInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberNotInParameters) DeepCopyInto(out *NumberNotInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberNotInParameters. +func (in *NumberNotInParameters) DeepCopy() *NumberNotInParameters { + if in == nil { + return nil + } + out := new(NumberNotInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberNotInRangeObservation) DeepCopyInto(out *NumberNotInRangeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberNotInRangeObservation. +func (in *NumberNotInRangeObservation) DeepCopy() *NumberNotInRangeObservation { + if in == nil { + return nil + } + out := new(NumberNotInRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NumberNotInRangeParameters) DeepCopyInto(out *NumberNotInRangeParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([][]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = make([]*float64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(float64) + **out = **in + } + } + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumberNotInRangeParameters. +func (in *NumberNotInRangeParameters) DeepCopy() *NumberNotInRangeParameters { + if in == nil { + return nil + } + out := new(NumberNotInRangeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetryPolicyObservation) DeepCopyInto(out *RetryPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryPolicyObservation. +func (in *RetryPolicyObservation) DeepCopy() *RetryPolicyObservation { + if in == nil { + return nil + } + out := new(RetryPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetryPolicyParameters) DeepCopyInto(out *RetryPolicyParameters) { + *out = *in + if in.EventTimeToLive != nil { + in, out := &in.EventTimeToLive, &out.EventTimeToLive + *out = new(int64) + **out = **in + } + if in.MaxDeliveryAttempts != nil { + in, out := &in.MaxDeliveryAttempts, &out.MaxDeliveryAttempts + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryPolicyParameters. +func (in *RetryPolicyParameters) DeepCopy() *RetryPolicyParameters { + if in == nil { + return nil + } + out := new(RetryPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageBlobDeadLetterDestinationObservation) DeepCopyInto(out *StorageBlobDeadLetterDestinationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBlobDeadLetterDestinationObservation. +func (in *StorageBlobDeadLetterDestinationObservation) DeepCopy() *StorageBlobDeadLetterDestinationObservation { + if in == nil { + return nil + } + out := new(StorageBlobDeadLetterDestinationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageBlobDeadLetterDestinationParameters) DeepCopyInto(out *StorageBlobDeadLetterDestinationParameters) { + *out = *in + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.StorageBlobContainerName != nil { + in, out := &in.StorageBlobContainerName, &out.StorageBlobContainerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageBlobDeadLetterDestinationParameters. +func (in *StorageBlobDeadLetterDestinationParameters) DeepCopy() *StorageBlobDeadLetterDestinationParameters { + if in == nil { + return nil + } + out := new(StorageBlobDeadLetterDestinationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageQueueEndpointObservation) DeepCopyInto(out *StorageQueueEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageQueueEndpointObservation. +func (in *StorageQueueEndpointObservation) DeepCopy() *StorageQueueEndpointObservation { + if in == nil { + return nil + } + out := new(StorageQueueEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageQueueEndpointParameters) DeepCopyInto(out *StorageQueueEndpointParameters) { + *out = *in + if in.QueueName != nil { + in, out := &in.QueueName, &out.QueueName + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageQueueEndpointParameters. +func (in *StorageQueueEndpointParameters) DeepCopy() *StorageQueueEndpointParameters { + if in == nil { + return nil + } + out := new(StorageQueueEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringBeginsWithObservation) DeepCopyInto(out *StringBeginsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringBeginsWithObservation. +func (in *StringBeginsWithObservation) DeepCopy() *StringBeginsWithObservation { + if in == nil { + return nil + } + out := new(StringBeginsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringBeginsWithParameters) DeepCopyInto(out *StringBeginsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringBeginsWithParameters. +func (in *StringBeginsWithParameters) DeepCopy() *StringBeginsWithParameters { + if in == nil { + return nil + } + out := new(StringBeginsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringContainsObservation) DeepCopyInto(out *StringContainsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringContainsObservation. +func (in *StringContainsObservation) DeepCopy() *StringContainsObservation { + if in == nil { + return nil + } + out := new(StringContainsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringContainsParameters) DeepCopyInto(out *StringContainsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringContainsParameters. +func (in *StringContainsParameters) DeepCopy() *StringContainsParameters { + if in == nil { + return nil + } + out := new(StringContainsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringEndsWithObservation) DeepCopyInto(out *StringEndsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringEndsWithObservation. +func (in *StringEndsWithObservation) DeepCopy() *StringEndsWithObservation { + if in == nil { + return nil + } + out := new(StringEndsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringEndsWithParameters) DeepCopyInto(out *StringEndsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringEndsWithParameters. +func (in *StringEndsWithParameters) DeepCopy() *StringEndsWithParameters { + if in == nil { + return nil + } + out := new(StringEndsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringInObservation) DeepCopyInto(out *StringInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringInObservation. +func (in *StringInObservation) DeepCopy() *StringInObservation { + if in == nil { + return nil + } + out := new(StringInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringInParameters) DeepCopyInto(out *StringInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringInParameters. +func (in *StringInParameters) DeepCopy() *StringInParameters { + if in == nil { + return nil + } + out := new(StringInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotBeginsWithObservation) DeepCopyInto(out *StringNotBeginsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotBeginsWithObservation. +func (in *StringNotBeginsWithObservation) DeepCopy() *StringNotBeginsWithObservation { + if in == nil { + return nil + } + out := new(StringNotBeginsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotBeginsWithParameters) DeepCopyInto(out *StringNotBeginsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotBeginsWithParameters. +func (in *StringNotBeginsWithParameters) DeepCopy() *StringNotBeginsWithParameters { + if in == nil { + return nil + } + out := new(StringNotBeginsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotContainsObservation) DeepCopyInto(out *StringNotContainsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotContainsObservation. +func (in *StringNotContainsObservation) DeepCopy() *StringNotContainsObservation { + if in == nil { + return nil + } + out := new(StringNotContainsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotContainsParameters) DeepCopyInto(out *StringNotContainsParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotContainsParameters. +func (in *StringNotContainsParameters) DeepCopy() *StringNotContainsParameters { + if in == nil { + return nil + } + out := new(StringNotContainsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotEndsWithObservation) DeepCopyInto(out *StringNotEndsWithObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotEndsWithObservation. +func (in *StringNotEndsWithObservation) DeepCopy() *StringNotEndsWithObservation { + if in == nil { + return nil + } + out := new(StringNotEndsWithObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotEndsWithParameters) DeepCopyInto(out *StringNotEndsWithParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotEndsWithParameters. +func (in *StringNotEndsWithParameters) DeepCopy() *StringNotEndsWithParameters { + if in == nil { + return nil + } + out := new(StringNotEndsWithParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotInObservation) DeepCopyInto(out *StringNotInObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotInObservation. +func (in *StringNotInObservation) DeepCopy() *StringNotInObservation { + if in == nil { + return nil + } + out := new(StringNotInObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StringNotInParameters) DeepCopyInto(out *StringNotInParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringNotInParameters. +func (in *StringNotInParameters) DeepCopy() *StringNotInParameters { + if in == nil { + return nil + } + out := new(StringNotInParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubjectFilterObservation) DeepCopyInto(out *SubjectFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectFilterObservation. +func (in *SubjectFilterObservation) DeepCopy() *SubjectFilterObservation { + if in == nil { + return nil + } + out := new(SubjectFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubjectFilterParameters) DeepCopyInto(out *SubjectFilterParameters) { + *out = *in + if in.CaseSensitive != nil { + in, out := &in.CaseSensitive, &out.CaseSensitive + *out = new(bool) + **out = **in + } + if in.SubjectBeginsWith != nil { + in, out := &in.SubjectBeginsWith, &out.SubjectBeginsWith + *out = new(string) + **out = **in + } + if in.SubjectEndsWith != nil { + in, out := &in.SubjectEndsWith, &out.SubjectEndsWith + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectFilterParameters. +func (in *SubjectFilterParameters) DeepCopy() *SubjectFilterParameters { + if in == nil { + return nil + } + out := new(SubjectFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopic) DeepCopyInto(out *SystemTopic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopic. +func (in *SystemTopic) DeepCopy() *SystemTopic { + if in == nil { + return nil + } + out := new(SystemTopic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SystemTopic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscription) DeepCopyInto(out *SystemTopicEventSubscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscription. +func (in *SystemTopicEventSubscription) DeepCopy() *SystemTopicEventSubscription { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SystemTopicEventSubscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionAdvancedFilterObservation) DeepCopyInto(out *SystemTopicEventSubscriptionAdvancedFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionAdvancedFilterObservation. +func (in *SystemTopicEventSubscriptionAdvancedFilterObservation) DeepCopy() *SystemTopicEventSubscriptionAdvancedFilterObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionAdvancedFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionAdvancedFilterParameters) DeepCopyInto(out *SystemTopicEventSubscriptionAdvancedFilterParameters) { + *out = *in + if in.BoolEquals != nil { + in, out := &in.BoolEquals, &out.BoolEquals + *out = make([]AdvancedFilterBoolEqualsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsNotNull != nil { + in, out := &in.IsNotNull, &out.IsNotNull + *out = make([]AdvancedFilterIsNotNullParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsNullOrUndefined != nil { + in, out := &in.IsNullOrUndefined, &out.IsNullOrUndefined + *out = make([]AdvancedFilterIsNullOrUndefinedParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberGreaterThan != nil { + in, out := &in.NumberGreaterThan, &out.NumberGreaterThan + *out = make([]AdvancedFilterNumberGreaterThanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberGreaterThanOrEquals != nil { + in, out := &in.NumberGreaterThanOrEquals, &out.NumberGreaterThanOrEquals + *out = make([]AdvancedFilterNumberGreaterThanOrEqualsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberIn != nil { + in, out := &in.NumberIn, &out.NumberIn + *out = make([]AdvancedFilterNumberInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberInRange != nil { + in, out := &in.NumberInRange, &out.NumberInRange + *out = make([]AdvancedFilterNumberInRangeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberLessThan != nil { + in, out := &in.NumberLessThan, &out.NumberLessThan + *out = make([]AdvancedFilterNumberLessThanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberLessThanOrEquals != nil { + in, out := &in.NumberLessThanOrEquals, &out.NumberLessThanOrEquals + *out = make([]AdvancedFilterNumberLessThanOrEqualsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberNotIn != nil { + in, out := &in.NumberNotIn, &out.NumberNotIn + *out = make([]AdvancedFilterNumberNotInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NumberNotInRange != nil { + in, out := &in.NumberNotInRange, &out.NumberNotInRange + *out = make([]AdvancedFilterNumberNotInRangeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringBeginsWith != nil { + in, out := &in.StringBeginsWith, &out.StringBeginsWith + *out = make([]AdvancedFilterStringBeginsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringContains != nil { + in, out := &in.StringContains, &out.StringContains + *out = make([]AdvancedFilterStringContainsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringEndsWith != nil { + in, out := &in.StringEndsWith, &out.StringEndsWith + *out = make([]AdvancedFilterStringEndsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringIn != nil { + in, out := &in.StringIn, &out.StringIn + *out = make([]AdvancedFilterStringInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotBeginsWith != nil { + in, out := &in.StringNotBeginsWith, &out.StringNotBeginsWith + *out = make([]AdvancedFilterStringNotBeginsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotContains != nil { + in, out := &in.StringNotContains, &out.StringNotContains + *out = make([]AdvancedFilterStringNotContainsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotEndsWith != nil { + in, out := &in.StringNotEndsWith, &out.StringNotEndsWith + *out = make([]AdvancedFilterStringNotEndsWithParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StringNotIn != nil { + in, out := &in.StringNotIn, &out.StringNotIn + *out = make([]AdvancedFilterStringNotInParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionAdvancedFilterParameters. +func (in *SystemTopicEventSubscriptionAdvancedFilterParameters) DeepCopy() *SystemTopicEventSubscriptionAdvancedFilterParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionAdvancedFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionAzureFunctionEndpointObservation) DeepCopyInto(out *SystemTopicEventSubscriptionAzureFunctionEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionAzureFunctionEndpointObservation. +func (in *SystemTopicEventSubscriptionAzureFunctionEndpointObservation) DeepCopy() *SystemTopicEventSubscriptionAzureFunctionEndpointObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionAzureFunctionEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionAzureFunctionEndpointParameters) DeepCopyInto(out *SystemTopicEventSubscriptionAzureFunctionEndpointParameters) { + *out = *in + if in.FunctionID != nil { + in, out := &in.FunctionID, &out.FunctionID + *out = new(string) + **out = **in + } + if in.MaxEventsPerBatch != nil { + in, out := &in.MaxEventsPerBatch, &out.MaxEventsPerBatch + *out = new(int64) + **out = **in + } + if in.PreferredBatchSizeInKilobytes != nil { + in, out := &in.PreferredBatchSizeInKilobytes, &out.PreferredBatchSizeInKilobytes + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionAzureFunctionEndpointParameters. +func (in *SystemTopicEventSubscriptionAzureFunctionEndpointParameters) DeepCopy() *SystemTopicEventSubscriptionAzureFunctionEndpointParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionAzureFunctionEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionDeadLetterIdentityObservation) DeepCopyInto(out *SystemTopicEventSubscriptionDeadLetterIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionDeadLetterIdentityObservation. +func (in *SystemTopicEventSubscriptionDeadLetterIdentityObservation) DeepCopy() *SystemTopicEventSubscriptionDeadLetterIdentityObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionDeadLetterIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionDeadLetterIdentityParameters) DeepCopyInto(out *SystemTopicEventSubscriptionDeadLetterIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionDeadLetterIdentityParameters. +func (in *SystemTopicEventSubscriptionDeadLetterIdentityParameters) DeepCopy() *SystemTopicEventSubscriptionDeadLetterIdentityParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionDeadLetterIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionDeliveryIdentityObservation) DeepCopyInto(out *SystemTopicEventSubscriptionDeliveryIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionDeliveryIdentityObservation. +func (in *SystemTopicEventSubscriptionDeliveryIdentityObservation) DeepCopy() *SystemTopicEventSubscriptionDeliveryIdentityObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionDeliveryIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionDeliveryIdentityParameters) DeepCopyInto(out *SystemTopicEventSubscriptionDeliveryIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionDeliveryIdentityParameters. +func (in *SystemTopicEventSubscriptionDeliveryIdentityParameters) DeepCopy() *SystemTopicEventSubscriptionDeliveryIdentityParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionDeliveryIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionList) DeepCopyInto(out *SystemTopicEventSubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SystemTopicEventSubscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionList. +func (in *SystemTopicEventSubscriptionList) DeepCopy() *SystemTopicEventSubscriptionList { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SystemTopicEventSubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionObservation) DeepCopyInto(out *SystemTopicEventSubscriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionObservation. +func (in *SystemTopicEventSubscriptionObservation) DeepCopy() *SystemTopicEventSubscriptionObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionParameters) DeepCopyInto(out *SystemTopicEventSubscriptionParameters) { + *out = *in + if in.AdvancedFilter != nil { + in, out := &in.AdvancedFilter, &out.AdvancedFilter + *out = make([]SystemTopicEventSubscriptionAdvancedFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdvancedFilteringOnArraysEnabled != nil { + in, out := &in.AdvancedFilteringOnArraysEnabled, &out.AdvancedFilteringOnArraysEnabled + *out = new(bool) + **out = **in + } + if in.AzureFunctionEndpoint != nil { + in, out := &in.AzureFunctionEndpoint, &out.AzureFunctionEndpoint + *out = make([]SystemTopicEventSubscriptionAzureFunctionEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DeadLetterIdentity != nil { + in, out := &in.DeadLetterIdentity, &out.DeadLetterIdentity + *out = make([]SystemTopicEventSubscriptionDeadLetterIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DeliveryIdentity != nil { + in, out := &in.DeliveryIdentity, &out.DeliveryIdentity + *out = make([]SystemTopicEventSubscriptionDeliveryIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EventDeliverySchema != nil { + in, out := &in.EventDeliverySchema, &out.EventDeliverySchema + *out = new(string) + **out = **in + } + if in.EventhubEndpointID != nil { + in, out := &in.EventhubEndpointID, &out.EventhubEndpointID + *out = new(string) + **out = **in + } + if in.ExpirationTimeUtc != nil { + in, out := &in.ExpirationTimeUtc, &out.ExpirationTimeUtc + *out = new(string) + **out = **in + } + if in.HybridConnectionEndpointID != nil { + in, out := &in.HybridConnectionEndpointID, &out.HybridConnectionEndpointID + *out = new(string) + **out = **in + } + if in.IncludedEventTypes != nil { + in, out := &in.IncludedEventTypes, &out.IncludedEventTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetryPolicy != nil { + in, out := &in.RetryPolicy, &out.RetryPolicy + *out = make([]SystemTopicEventSubscriptionRetryPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServiceBusQueueEndpointID != nil { + in, out := &in.ServiceBusQueueEndpointID, &out.ServiceBusQueueEndpointID + *out = new(string) + **out = **in + } + if in.ServiceBusTopicEndpointID != nil { + in, out := &in.ServiceBusTopicEndpointID, &out.ServiceBusTopicEndpointID + *out = new(string) + **out = **in + } + if in.StorageBlobDeadLetterDestination != nil { + in, out := &in.StorageBlobDeadLetterDestination, &out.StorageBlobDeadLetterDestination + *out = make([]SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageQueueEndpoint != nil { + in, out := &in.StorageQueueEndpoint, &out.StorageQueueEndpoint + *out = make([]SystemTopicEventSubscriptionStorageQueueEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubjectFilter != nil { + in, out := &in.SubjectFilter, &out.SubjectFilter + *out = make([]SystemTopicEventSubscriptionSubjectFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SystemTopic != nil { + in, out := &in.SystemTopic, &out.SystemTopic + *out = new(string) + **out = **in + } + if in.WebhookEndpoint != nil { + in, out := &in.WebhookEndpoint, &out.WebhookEndpoint + *out = make([]SystemTopicEventSubscriptionWebhookEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionParameters. +func (in *SystemTopicEventSubscriptionParameters) DeepCopy() *SystemTopicEventSubscriptionParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionRetryPolicyObservation) DeepCopyInto(out *SystemTopicEventSubscriptionRetryPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionRetryPolicyObservation. +func (in *SystemTopicEventSubscriptionRetryPolicyObservation) DeepCopy() *SystemTopicEventSubscriptionRetryPolicyObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionRetryPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionRetryPolicyParameters) DeepCopyInto(out *SystemTopicEventSubscriptionRetryPolicyParameters) { + *out = *in + if in.EventTimeToLive != nil { + in, out := &in.EventTimeToLive, &out.EventTimeToLive + *out = new(int64) + **out = **in + } + if in.MaxDeliveryAttempts != nil { + in, out := &in.MaxDeliveryAttempts, &out.MaxDeliveryAttempts + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionRetryPolicyParameters. +func (in *SystemTopicEventSubscriptionRetryPolicyParameters) DeepCopy() *SystemTopicEventSubscriptionRetryPolicyParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionRetryPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionSpec) DeepCopyInto(out *SystemTopicEventSubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionSpec. +func (in *SystemTopicEventSubscriptionSpec) DeepCopy() *SystemTopicEventSubscriptionSpec { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionStatus) DeepCopyInto(out *SystemTopicEventSubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionStatus. +func (in *SystemTopicEventSubscriptionStatus) DeepCopy() *SystemTopicEventSubscriptionStatus { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation) DeepCopyInto(out *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation. +func (in *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation) DeepCopy() *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters) DeepCopyInto(out *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters) { + *out = *in + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.StorageBlobContainerName != nil { + in, out := &in.StorageBlobContainerName, &out.StorageBlobContainerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters. +func (in *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters) DeepCopy() *SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionStorageQueueEndpointObservation) DeepCopyInto(out *SystemTopicEventSubscriptionStorageQueueEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionStorageQueueEndpointObservation. +func (in *SystemTopicEventSubscriptionStorageQueueEndpointObservation) DeepCopy() *SystemTopicEventSubscriptionStorageQueueEndpointObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionStorageQueueEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionStorageQueueEndpointParameters) DeepCopyInto(out *SystemTopicEventSubscriptionStorageQueueEndpointParameters) { + *out = *in + if in.QueueName != nil { + in, out := &in.QueueName, &out.QueueName + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionStorageQueueEndpointParameters. +func (in *SystemTopicEventSubscriptionStorageQueueEndpointParameters) DeepCopy() *SystemTopicEventSubscriptionStorageQueueEndpointParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionStorageQueueEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionSubjectFilterObservation) DeepCopyInto(out *SystemTopicEventSubscriptionSubjectFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionSubjectFilterObservation. +func (in *SystemTopicEventSubscriptionSubjectFilterObservation) DeepCopy() *SystemTopicEventSubscriptionSubjectFilterObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionSubjectFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionSubjectFilterParameters) DeepCopyInto(out *SystemTopicEventSubscriptionSubjectFilterParameters) { + *out = *in + if in.CaseSensitive != nil { + in, out := &in.CaseSensitive, &out.CaseSensitive + *out = new(bool) + **out = **in + } + if in.SubjectBeginsWith != nil { + in, out := &in.SubjectBeginsWith, &out.SubjectBeginsWith + *out = new(string) + **out = **in + } + if in.SubjectEndsWith != nil { + in, out := &in.SubjectEndsWith, &out.SubjectEndsWith + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionSubjectFilterParameters. +func (in *SystemTopicEventSubscriptionSubjectFilterParameters) DeepCopy() *SystemTopicEventSubscriptionSubjectFilterParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionSubjectFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionWebhookEndpointObservation) DeepCopyInto(out *SystemTopicEventSubscriptionWebhookEndpointObservation) { + *out = *in + if in.BaseURL != nil { + in, out := &in.BaseURL, &out.BaseURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionWebhookEndpointObservation. +func (in *SystemTopicEventSubscriptionWebhookEndpointObservation) DeepCopy() *SystemTopicEventSubscriptionWebhookEndpointObservation { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionWebhookEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicEventSubscriptionWebhookEndpointParameters) DeepCopyInto(out *SystemTopicEventSubscriptionWebhookEndpointParameters) { + *out = *in + if in.ActiveDirectoryAppIDOrURI != nil { + in, out := &in.ActiveDirectoryAppIDOrURI, &out.ActiveDirectoryAppIDOrURI + *out = new(string) + **out = **in + } + if in.ActiveDirectoryTenantID != nil { + in, out := &in.ActiveDirectoryTenantID, &out.ActiveDirectoryTenantID + *out = new(string) + **out = **in + } + if in.MaxEventsPerBatch != nil { + in, out := &in.MaxEventsPerBatch, &out.MaxEventsPerBatch + *out = new(int64) + **out = **in + } + if in.PreferredBatchSizeInKilobytes != nil { + in, out := &in.PreferredBatchSizeInKilobytes, &out.PreferredBatchSizeInKilobytes + *out = new(int64) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicEventSubscriptionWebhookEndpointParameters. +func (in *SystemTopicEventSubscriptionWebhookEndpointParameters) DeepCopy() *SystemTopicEventSubscriptionWebhookEndpointParameters { + if in == nil { + return nil + } + out := new(SystemTopicEventSubscriptionWebhookEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicIdentityObservation) DeepCopyInto(out *SystemTopicIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicIdentityObservation. +func (in *SystemTopicIdentityObservation) DeepCopy() *SystemTopicIdentityObservation { + if in == nil { + return nil + } + out := new(SystemTopicIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicIdentityParameters) DeepCopyInto(out *SystemTopicIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicIdentityParameters. +func (in *SystemTopicIdentityParameters) DeepCopy() *SystemTopicIdentityParameters { + if in == nil { + return nil + } + out := new(SystemTopicIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicList) DeepCopyInto(out *SystemTopicList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SystemTopic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicList. +func (in *SystemTopicList) DeepCopy() *SystemTopicList { + if in == nil { + return nil + } + out := new(SystemTopicList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SystemTopicList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicObservation) DeepCopyInto(out *SystemTopicObservation) { + *out = *in + if in.MetricArmResourceID != nil { + in, out := &in.MetricArmResourceID, &out.MetricArmResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicObservation. +func (in *SystemTopicObservation) DeepCopy() *SystemTopicObservation { + if in == nil { + return nil + } + out := new(SystemTopicObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicParameters) DeepCopyInto(out *SystemTopicParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]SystemTopicIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceArmResourceID != nil { + in, out := &in.SourceArmResourceID, &out.SourceArmResourceID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TopicType != nil { + in, out := &in.TopicType, &out.TopicType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicParameters. +func (in *SystemTopicParameters) DeepCopy() *SystemTopicParameters { + if in == nil { + return nil + } + out := new(SystemTopicParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicSpec) DeepCopyInto(out *SystemTopicSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicSpec. +func (in *SystemTopicSpec) DeepCopy() *SystemTopicSpec { + if in == nil { + return nil + } + out := new(SystemTopicSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SystemTopicStatus) DeepCopyInto(out *SystemTopicStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemTopicStatus. +func (in *SystemTopicStatus) DeepCopy() *SystemTopicStatus { + if in == nil { + return nil + } + out := new(SystemTopicStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Topic) DeepCopyInto(out *Topic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topic. +func (in *Topic) DeepCopy() *Topic { + if in == nil { + return nil + } + out := new(Topic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Topic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicIdentityObservation) DeepCopyInto(out *TopicIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicIdentityObservation. +func (in *TopicIdentityObservation) DeepCopy() *TopicIdentityObservation { + if in == nil { + return nil + } + out := new(TopicIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicIdentityParameters) DeepCopyInto(out *TopicIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicIdentityParameters. +func (in *TopicIdentityParameters) DeepCopy() *TopicIdentityParameters { + if in == nil { + return nil + } + out := new(TopicIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicInboundIPRuleObservation) DeepCopyInto(out *TopicInboundIPRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInboundIPRuleObservation. +func (in *TopicInboundIPRuleObservation) DeepCopy() *TopicInboundIPRuleObservation { + if in == nil { + return nil + } + out := new(TopicInboundIPRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicInboundIPRuleParameters) DeepCopyInto(out *TopicInboundIPRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.IPMask != nil { + in, out := &in.IPMask, &out.IPMask + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInboundIPRuleParameters. +func (in *TopicInboundIPRuleParameters) DeepCopy() *TopicInboundIPRuleParameters { + if in == nil { + return nil + } + out := new(TopicInboundIPRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicInputMappingDefaultValuesObservation) DeepCopyInto(out *TopicInputMappingDefaultValuesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInputMappingDefaultValuesObservation. +func (in *TopicInputMappingDefaultValuesObservation) DeepCopy() *TopicInputMappingDefaultValuesObservation { + if in == nil { + return nil + } + out := new(TopicInputMappingDefaultValuesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicInputMappingDefaultValuesParameters) DeepCopyInto(out *TopicInputMappingDefaultValuesParameters) { + *out = *in + if in.DataVersion != nil { + in, out := &in.DataVersion, &out.DataVersion + *out = new(string) + **out = **in + } + if in.EventType != nil { + in, out := &in.EventType, &out.EventType + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInputMappingDefaultValuesParameters. +func (in *TopicInputMappingDefaultValuesParameters) DeepCopy() *TopicInputMappingDefaultValuesParameters { + if in == nil { + return nil + } + out := new(TopicInputMappingDefaultValuesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicInputMappingFieldsObservation) DeepCopyInto(out *TopicInputMappingFieldsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInputMappingFieldsObservation. +func (in *TopicInputMappingFieldsObservation) DeepCopy() *TopicInputMappingFieldsObservation { + if in == nil { + return nil + } + out := new(TopicInputMappingFieldsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicInputMappingFieldsParameters) DeepCopyInto(out *TopicInputMappingFieldsParameters) { + *out = *in + if in.DataVersion != nil { + in, out := &in.DataVersion, &out.DataVersion + *out = new(string) + **out = **in + } + if in.EventTime != nil { + in, out := &in.EventTime, &out.EventTime + *out = new(string) + **out = **in + } + if in.EventType != nil { + in, out := &in.EventType, &out.EventType + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.Topic != nil { + in, out := &in.Topic, &out.Topic + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicInputMappingFieldsParameters. +func (in *TopicInputMappingFieldsParameters) DeepCopy() *TopicInputMappingFieldsParameters { + if in == nil { + return nil + } + out := new(TopicInputMappingFieldsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicList) DeepCopyInto(out *TopicList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Topic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicList. +func (in *TopicList) DeepCopy() *TopicList { + if in == nil { + return nil + } + out := new(TopicList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TopicList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicObservation) DeepCopyInto(out *TopicObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicObservation. +func (in *TopicObservation) DeepCopy() *TopicObservation { + if in == nil { + return nil + } + out := new(TopicObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicParameters) DeepCopyInto(out *TopicParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]TopicIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InboundIPRule != nil { + in, out := &in.InboundIPRule, &out.InboundIPRule + *out = make([]TopicInboundIPRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InputMappingDefaultValues != nil { + in, out := &in.InputMappingDefaultValues, &out.InputMappingDefaultValues + *out = make([]TopicInputMappingDefaultValuesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InputMappingFields != nil { + in, out := &in.InputMappingFields, &out.InputMappingFields + *out = make([]TopicInputMappingFieldsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InputSchema != nil { + in, out := &in.InputSchema, &out.InputSchema + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicParameters. +func (in *TopicParameters) DeepCopy() *TopicParameters { + if in == nil { + return nil + } + out := new(TopicParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicSpec) DeepCopyInto(out *TopicSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicSpec. +func (in *TopicSpec) DeepCopy() *TopicSpec { + if in == nil { + return nil + } + out := new(TopicSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicStatus) DeepCopyInto(out *TopicStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicStatus. +func (in *TopicStatus) DeepCopy() *TopicStatus { + if in == nil { + return nil + } + out := new(TopicStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebhookEndpointObservation) DeepCopyInto(out *WebhookEndpointObservation) { + *out = *in + if in.BaseURL != nil { + in, out := &in.BaseURL, &out.BaseURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookEndpointObservation. +func (in *WebhookEndpointObservation) DeepCopy() *WebhookEndpointObservation { + if in == nil { + return nil + } + out := new(WebhookEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebhookEndpointParameters) DeepCopyInto(out *WebhookEndpointParameters) { + *out = *in + if in.ActiveDirectoryAppIDOrURI != nil { + in, out := &in.ActiveDirectoryAppIDOrURI, &out.ActiveDirectoryAppIDOrURI + *out = new(string) + **out = **in + } + if in.ActiveDirectoryTenantID != nil { + in, out := &in.ActiveDirectoryTenantID, &out.ActiveDirectoryTenantID + *out = new(string) + **out = **in + } + if in.MaxEventsPerBatch != nil { + in, out := &in.MaxEventsPerBatch, &out.MaxEventsPerBatch + *out = new(int64) + **out = **in + } + if in.PreferredBatchSizeInKilobytes != nil { + in, out := &in.PreferredBatchSizeInKilobytes, &out.PreferredBatchSizeInKilobytes + *out = new(int64) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookEndpointParameters. +func (in *WebhookEndpointParameters) DeepCopy() *WebhookEndpointParameters { + if in == nil { + return nil + } + out := new(WebhookEndpointParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/eventgrid/v1alpha1/zz_generated.managed.go b/apis/eventgrid/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..43fb37712 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_generated.managed.go @@ -0,0 +1,356 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Domain. +func (mg *Domain) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Domain. +func (mg *Domain) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Domain. +func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Domain. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Domain) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Domain. +func (mg *Domain) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Domain. +func (mg *Domain) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Domain. +func (mg *Domain) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Domain. +func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Domain. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Domain) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Domain. +func (mg *Domain) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DomainTopic. +func (mg *DomainTopic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DomainTopic. +func (mg *DomainTopic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DomainTopic. +func (mg *DomainTopic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DomainTopic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DomainTopic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DomainTopic. +func (mg *DomainTopic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DomainTopic. +func (mg *DomainTopic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DomainTopic. +func (mg *DomainTopic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DomainTopic. +func (mg *DomainTopic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DomainTopic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DomainTopic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DomainTopic. +func (mg *DomainTopic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EventSubscription. +func (mg *EventSubscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EventSubscription. +func (mg *EventSubscription) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EventSubscription. +func (mg *EventSubscription) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EventSubscription. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EventSubscription) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EventSubscription. +func (mg *EventSubscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EventSubscription. +func (mg *EventSubscription) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EventSubscription. +func (mg *EventSubscription) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EventSubscription. +func (mg *EventSubscription) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EventSubscription. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EventSubscription) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EventSubscription. +func (mg *EventSubscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SystemTopic. +func (mg *SystemTopic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SystemTopic. +func (mg *SystemTopic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SystemTopic. +func (mg *SystemTopic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SystemTopic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SystemTopic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SystemTopic. +func (mg *SystemTopic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SystemTopic. +func (mg *SystemTopic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SystemTopic. +func (mg *SystemTopic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SystemTopic. +func (mg *SystemTopic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SystemTopic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SystemTopic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SystemTopic. +func (mg *SystemTopic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SystemTopicEventSubscription. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SystemTopicEventSubscription) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SystemTopicEventSubscription. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SystemTopicEventSubscription) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SystemTopicEventSubscription. +func (mg *SystemTopicEventSubscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Topic. +func (mg *Topic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Topic. +func (mg *Topic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Topic. +func (mg *Topic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Topic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Topic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Topic. +func (mg *Topic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Topic. +func (mg *Topic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Topic. +func (mg *Topic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Topic. +func (mg *Topic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Topic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Topic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Topic. +func (mg *Topic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/eventgrid/v1alpha1/zz_generated.managedlist.go b/apis/eventgrid/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..daabc883c --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,74 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this DomainList. +func (l *DomainList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DomainTopicList. +func (l *DomainTopicList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EventSubscriptionList. +func (l *EventSubscriptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SystemTopicEventSubscriptionList. +func (l *SystemTopicEventSubscriptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SystemTopicList. +func (l *SystemTopicList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TopicList. +func (l *TopicList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/eventgrid/v1alpha1/zz_groupversion_info.go b/apis/eventgrid/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f59fe20a5 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=eventgrid.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "eventgrid.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/eventgrid/v1alpha1/zz_systemtopic_terraformed.go b/apis/eventgrid/v1alpha1/zz_systemtopic_terraformed.go new file mode 100755 index 000000000..7bc9d41e7 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_systemtopic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SystemTopic +func (mg *SystemTopic) GetTerraformResourceType() string { + return "azurerm_eventgrid_system_topic" +} + +// GetConnectionDetailsMapping for this SystemTopic +func (tr *SystemTopic) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SystemTopic +func (tr *SystemTopic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SystemTopic +func (tr *SystemTopic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SystemTopic +func (tr *SystemTopic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SystemTopic +func (tr *SystemTopic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SystemTopic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SystemTopic) LateInitialize(attrs []byte) (bool, error) { + params := &SystemTopicParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SystemTopic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventgrid/v1alpha1/zz_systemtopic_types.go b/apis/eventgrid/v1alpha1/zz_systemtopic_types.go new file mode 100755 index 000000000..18b95ab19 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_systemtopic_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SystemTopicIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type SystemTopicIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type SystemTopicObservation struct { + MetricArmResourceID *string `json:"metricArmResourceId,omitempty" tf:"metric_arm_resource_id,omitempty"` +} + +type SystemTopicParameters struct { + + // +kubebuilder:validation:Optional + Identity []SystemTopicIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SourceArmResourceID *string `json:"sourceArmResourceId" tf:"source_arm_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TopicType *string `json:"topicType" tf:"topic_type,omitempty"` +} + +// SystemTopicSpec defines the desired state of SystemTopic +type SystemTopicSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SystemTopicParameters `json:"forProvider"` +} + +// SystemTopicStatus defines the observed state of SystemTopic. +type SystemTopicStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SystemTopicObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SystemTopic is the Schema for the SystemTopics API +// +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,azurejet} +type SystemTopic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SystemTopicSpec `json:"spec"` + Status SystemTopicStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SystemTopicList contains a list of SystemTopics +type SystemTopicList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SystemTopic `json:"items"` +} + +// Repository type metadata. +var ( + SystemTopic_Kind = "SystemTopic" + SystemTopic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SystemTopic_Kind}.String() + SystemTopic_KindAPIVersion = SystemTopic_Kind + "." + CRDGroupVersion.String() + SystemTopic_GroupVersionKind = CRDGroupVersion.WithKind(SystemTopic_Kind) +) + +func init() { + SchemeBuilder.Register(&SystemTopic{}, &SystemTopicList{}) +} diff --git a/apis/eventgrid/v1alpha1/zz_systemtopiceventsubscription_terraformed.go b/apis/eventgrid/v1alpha1/zz_systemtopiceventsubscription_terraformed.go new file mode 100755 index 000000000..3e1bef4c0 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_systemtopiceventsubscription_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SystemTopicEventSubscription +func (mg *SystemTopicEventSubscription) GetTerraformResourceType() string { + return "azurerm_eventgrid_system_topic_event_subscription" +} + +// GetConnectionDetailsMapping for this SystemTopicEventSubscription +func (tr *SystemTopicEventSubscription) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SystemTopicEventSubscription +func (tr *SystemTopicEventSubscription) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SystemTopicEventSubscription +func (tr *SystemTopicEventSubscription) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SystemTopicEventSubscription +func (tr *SystemTopicEventSubscription) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SystemTopicEventSubscription +func (tr *SystemTopicEventSubscription) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SystemTopicEventSubscription using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SystemTopicEventSubscription) LateInitialize(attrs []byte) (bool, error) { + params := &SystemTopicEventSubscriptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SystemTopicEventSubscription) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventgrid/v1alpha1/zz_systemtopiceventsubscription_types.go b/apis/eventgrid/v1alpha1/zz_systemtopiceventsubscription_types.go new file mode 100755 index 000000000..6d275193a --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_systemtopiceventsubscription_types.go @@ -0,0 +1,535 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AdvancedFilterBoolEqualsObservation struct { +} + +type AdvancedFilterBoolEqualsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *bool `json:"value" tf:"value,omitempty"` +} + +type AdvancedFilterIsNotNullObservation struct { +} + +type AdvancedFilterIsNotNullParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` +} + +type AdvancedFilterIsNullOrUndefinedObservation struct { +} + +type AdvancedFilterIsNullOrUndefinedParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` +} + +type AdvancedFilterNumberGreaterThanObservation struct { +} + +type AdvancedFilterNumberGreaterThanOrEqualsObservation struct { +} + +type AdvancedFilterNumberGreaterThanOrEqualsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type AdvancedFilterNumberGreaterThanParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type AdvancedFilterNumberInObservation struct { +} + +type AdvancedFilterNumberInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*float64 `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterNumberInRangeObservation struct { +} + +type AdvancedFilterNumberInRangeParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values [][]*float64 `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterNumberLessThanObservation struct { +} + +type AdvancedFilterNumberLessThanOrEqualsObservation struct { +} + +type AdvancedFilterNumberLessThanOrEqualsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type AdvancedFilterNumberLessThanParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Value *float64 `json:"value" tf:"value,omitempty"` +} + +type AdvancedFilterNumberNotInObservation struct { +} + +type AdvancedFilterNumberNotInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*float64 `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterNumberNotInRangeObservation struct { +} + +type AdvancedFilterNumberNotInRangeParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values [][]*float64 `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringBeginsWithObservation struct { +} + +type AdvancedFilterStringBeginsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringContainsObservation struct { +} + +type AdvancedFilterStringContainsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringEndsWithObservation struct { +} + +type AdvancedFilterStringEndsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringInObservation struct { +} + +type AdvancedFilterStringInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringNotBeginsWithObservation struct { +} + +type AdvancedFilterStringNotBeginsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringNotContainsObservation struct { +} + +type AdvancedFilterStringNotContainsParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringNotEndsWithObservation struct { +} + +type AdvancedFilterStringNotEndsWithParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AdvancedFilterStringNotInObservation struct { +} + +type AdvancedFilterStringNotInParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type SystemTopicEventSubscriptionAdvancedFilterObservation struct { +} + +type SystemTopicEventSubscriptionAdvancedFilterParameters struct { + + // +kubebuilder:validation:Optional + BoolEquals []AdvancedFilterBoolEqualsParameters `json:"boolEquals,omitempty" tf:"bool_equals,omitempty"` + + // +kubebuilder:validation:Optional + IsNotNull []AdvancedFilterIsNotNullParameters `json:"isNotNull,omitempty" tf:"is_not_null,omitempty"` + + // +kubebuilder:validation:Optional + IsNullOrUndefined []AdvancedFilterIsNullOrUndefinedParameters `json:"isNullOrUndefined,omitempty" tf:"is_null_or_undefined,omitempty"` + + // +kubebuilder:validation:Optional + NumberGreaterThan []AdvancedFilterNumberGreaterThanParameters `json:"numberGreaterThan,omitempty" tf:"number_greater_than,omitempty"` + + // +kubebuilder:validation:Optional + NumberGreaterThanOrEquals []AdvancedFilterNumberGreaterThanOrEqualsParameters `json:"numberGreaterThanOrEquals,omitempty" tf:"number_greater_than_or_equals,omitempty"` + + // +kubebuilder:validation:Optional + NumberIn []AdvancedFilterNumberInParameters `json:"numberIn,omitempty" tf:"number_in,omitempty"` + + // +kubebuilder:validation:Optional + NumberInRange []AdvancedFilterNumberInRangeParameters `json:"numberInRange,omitempty" tf:"number_in_range,omitempty"` + + // +kubebuilder:validation:Optional + NumberLessThan []AdvancedFilterNumberLessThanParameters `json:"numberLessThan,omitempty" tf:"number_less_than,omitempty"` + + // +kubebuilder:validation:Optional + NumberLessThanOrEquals []AdvancedFilterNumberLessThanOrEqualsParameters `json:"numberLessThanOrEquals,omitempty" tf:"number_less_than_or_equals,omitempty"` + + // +kubebuilder:validation:Optional + NumberNotIn []AdvancedFilterNumberNotInParameters `json:"numberNotIn,omitempty" tf:"number_not_in,omitempty"` + + // +kubebuilder:validation:Optional + NumberNotInRange []AdvancedFilterNumberNotInRangeParameters `json:"numberNotInRange,omitempty" tf:"number_not_in_range,omitempty"` + + // +kubebuilder:validation:Optional + StringBeginsWith []AdvancedFilterStringBeginsWithParameters `json:"stringBeginsWith,omitempty" tf:"string_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + StringContains []AdvancedFilterStringContainsParameters `json:"stringContains,omitempty" tf:"string_contains,omitempty"` + + // +kubebuilder:validation:Optional + StringEndsWith []AdvancedFilterStringEndsWithParameters `json:"stringEndsWith,omitempty" tf:"string_ends_with,omitempty"` + + // +kubebuilder:validation:Optional + StringIn []AdvancedFilterStringInParameters `json:"stringIn,omitempty" tf:"string_in,omitempty"` + + // +kubebuilder:validation:Optional + StringNotBeginsWith []AdvancedFilterStringNotBeginsWithParameters `json:"stringNotBeginsWith,omitempty" tf:"string_not_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + StringNotContains []AdvancedFilterStringNotContainsParameters `json:"stringNotContains,omitempty" tf:"string_not_contains,omitempty"` + + // +kubebuilder:validation:Optional + StringNotEndsWith []AdvancedFilterStringNotEndsWithParameters `json:"stringNotEndsWith,omitempty" tf:"string_not_ends_with,omitempty"` + + // +kubebuilder:validation:Optional + StringNotIn []AdvancedFilterStringNotInParameters `json:"stringNotIn,omitempty" tf:"string_not_in,omitempty"` +} + +type SystemTopicEventSubscriptionAzureFunctionEndpointObservation struct { +} + +type SystemTopicEventSubscriptionAzureFunctionEndpointParameters struct { + + // +kubebuilder:validation:Required + FunctionID *string `json:"functionId" tf:"function_id,omitempty"` + + // +kubebuilder:validation:Optional + MaxEventsPerBatch *int64 `json:"maxEventsPerBatch,omitempty" tf:"max_events_per_batch,omitempty"` + + // +kubebuilder:validation:Optional + PreferredBatchSizeInKilobytes *int64 `json:"preferredBatchSizeInKilobytes,omitempty" tf:"preferred_batch_size_in_kilobytes,omitempty"` +} + +type SystemTopicEventSubscriptionDeadLetterIdentityObservation struct { +} + +type SystemTopicEventSubscriptionDeadLetterIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type SystemTopicEventSubscriptionDeliveryIdentityObservation struct { +} + +type SystemTopicEventSubscriptionDeliveryIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type SystemTopicEventSubscriptionObservation struct { +} + +type SystemTopicEventSubscriptionParameters struct { + + // +kubebuilder:validation:Optional + AdvancedFilter []SystemTopicEventSubscriptionAdvancedFilterParameters `json:"advancedFilter,omitempty" tf:"advanced_filter,omitempty"` + + // +kubebuilder:validation:Optional + AdvancedFilteringOnArraysEnabled *bool `json:"advancedFilteringOnArraysEnabled,omitempty" tf:"advanced_filtering_on_arrays_enabled,omitempty"` + + // +kubebuilder:validation:Optional + AzureFunctionEndpoint []SystemTopicEventSubscriptionAzureFunctionEndpointParameters `json:"azureFunctionEndpoint,omitempty" tf:"azure_function_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + DeadLetterIdentity []SystemTopicEventSubscriptionDeadLetterIdentityParameters `json:"deadLetterIdentity,omitempty" tf:"dead_letter_identity,omitempty"` + + // +kubebuilder:validation:Optional + DeliveryIdentity []SystemTopicEventSubscriptionDeliveryIdentityParameters `json:"deliveryIdentity,omitempty" tf:"delivery_identity,omitempty"` + + // +kubebuilder:validation:Optional + EventDeliverySchema *string `json:"eventDeliverySchema,omitempty" tf:"event_delivery_schema,omitempty"` + + // +kubebuilder:validation:Optional + EventhubEndpointID *string `json:"eventhubEndpointId,omitempty" tf:"eventhub_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + ExpirationTimeUtc *string `json:"expirationTimeUtc,omitempty" tf:"expiration_time_utc,omitempty"` + + // +kubebuilder:validation:Optional + HybridConnectionEndpointID *string `json:"hybridConnectionEndpointId,omitempty" tf:"hybrid_connection_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + IncludedEventTypes []*string `json:"includedEventTypes,omitempty" tf:"included_event_types,omitempty"` + + // +kubebuilder:validation:Optional + Labels []*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetryPolicy []SystemTopicEventSubscriptionRetryPolicyParameters `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"` + + // +kubebuilder:validation:Optional + ServiceBusQueueEndpointID *string `json:"serviceBusQueueEndpointId,omitempty" tf:"service_bus_queue_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + ServiceBusTopicEndpointID *string `json:"serviceBusTopicEndpointId,omitempty" tf:"service_bus_topic_endpoint_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageBlobDeadLetterDestination []SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters `json:"storageBlobDeadLetterDestination,omitempty" tf:"storage_blob_dead_letter_destination,omitempty"` + + // +kubebuilder:validation:Optional + StorageQueueEndpoint []SystemTopicEventSubscriptionStorageQueueEndpointParameters `json:"storageQueueEndpoint,omitempty" tf:"storage_queue_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + SubjectFilter []SystemTopicEventSubscriptionSubjectFilterParameters `json:"subjectFilter,omitempty" tf:"subject_filter,omitempty"` + + // +kubebuilder:validation:Required + SystemTopic *string `json:"systemTopic" tf:"system_topic,omitempty"` + + // +kubebuilder:validation:Optional + WebhookEndpoint []SystemTopicEventSubscriptionWebhookEndpointParameters `json:"webhookEndpoint,omitempty" tf:"webhook_endpoint,omitempty"` +} + +type SystemTopicEventSubscriptionRetryPolicyObservation struct { +} + +type SystemTopicEventSubscriptionRetryPolicyParameters struct { + + // +kubebuilder:validation:Required + EventTimeToLive *int64 `json:"eventTimeToLive" tf:"event_time_to_live,omitempty"` + + // +kubebuilder:validation:Required + MaxDeliveryAttempts *int64 `json:"maxDeliveryAttempts" tf:"max_delivery_attempts,omitempty"` +} + +type SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationObservation struct { +} + +type SystemTopicEventSubscriptionStorageBlobDeadLetterDestinationParameters struct { + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + StorageBlobContainerName *string `json:"storageBlobContainerName" tf:"storage_blob_container_name,omitempty"` +} + +type SystemTopicEventSubscriptionStorageQueueEndpointObservation struct { +} + +type SystemTopicEventSubscriptionStorageQueueEndpointParameters struct { + + // +kubebuilder:validation:Required + QueueName *string `json:"queueName" tf:"queue_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type SystemTopicEventSubscriptionSubjectFilterObservation struct { +} + +type SystemTopicEventSubscriptionSubjectFilterParameters struct { + + // +kubebuilder:validation:Optional + CaseSensitive *bool `json:"caseSensitive,omitempty" tf:"case_sensitive,omitempty"` + + // +kubebuilder:validation:Optional + SubjectBeginsWith *string `json:"subjectBeginsWith,omitempty" tf:"subject_begins_with,omitempty"` + + // +kubebuilder:validation:Optional + SubjectEndsWith *string `json:"subjectEndsWith,omitempty" tf:"subject_ends_with,omitempty"` +} + +type SystemTopicEventSubscriptionWebhookEndpointObservation struct { + BaseURL *string `json:"baseUrl,omitempty" tf:"base_url,omitempty"` +} + +type SystemTopicEventSubscriptionWebhookEndpointParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectoryAppIDOrURI *string `json:"activeDirectoryAppIdOrUri,omitempty" tf:"active_directory_app_id_or_uri,omitempty"` + + // +kubebuilder:validation:Optional + ActiveDirectoryTenantID *string `json:"activeDirectoryTenantId,omitempty" tf:"active_directory_tenant_id,omitempty"` + + // +kubebuilder:validation:Optional + MaxEventsPerBatch *int64 `json:"maxEventsPerBatch,omitempty" tf:"max_events_per_batch,omitempty"` + + // +kubebuilder:validation:Optional + PreferredBatchSizeInKilobytes *int64 `json:"preferredBatchSizeInKilobytes,omitempty" tf:"preferred_batch_size_in_kilobytes,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +// SystemTopicEventSubscriptionSpec defines the desired state of SystemTopicEventSubscription +type SystemTopicEventSubscriptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SystemTopicEventSubscriptionParameters `json:"forProvider"` +} + +// SystemTopicEventSubscriptionStatus defines the observed state of SystemTopicEventSubscription. +type SystemTopicEventSubscriptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SystemTopicEventSubscriptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SystemTopicEventSubscription is the Schema for the SystemTopicEventSubscriptions API +// +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,azurejet} +type SystemTopicEventSubscription struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SystemTopicEventSubscriptionSpec `json:"spec"` + Status SystemTopicEventSubscriptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SystemTopicEventSubscriptionList contains a list of SystemTopicEventSubscriptions +type SystemTopicEventSubscriptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SystemTopicEventSubscription `json:"items"` +} + +// Repository type metadata. +var ( + SystemTopicEventSubscription_Kind = "SystemTopicEventSubscription" + SystemTopicEventSubscription_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SystemTopicEventSubscription_Kind}.String() + SystemTopicEventSubscription_KindAPIVersion = SystemTopicEventSubscription_Kind + "." + CRDGroupVersion.String() + SystemTopicEventSubscription_GroupVersionKind = CRDGroupVersion.WithKind(SystemTopicEventSubscription_Kind) +) + +func init() { + SchemeBuilder.Register(&SystemTopicEventSubscription{}, &SystemTopicEventSubscriptionList{}) +} diff --git a/apis/eventgrid/v1alpha1/zz_topic_terraformed.go b/apis/eventgrid/v1alpha1/zz_topic_terraformed.go new file mode 100755 index 000000000..2ac919e42 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_topic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Topic +func (mg *Topic) GetTerraformResourceType() string { + return "azurerm_eventgrid_topic" +} + +// GetConnectionDetailsMapping for this Topic +func (tr *Topic) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "secondary_access_key": "status.atProvider.secondaryAccessKey"} +} + +// GetObservation of this Topic +func (tr *Topic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Topic +func (tr *Topic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Topic +func (tr *Topic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Topic +func (tr *Topic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Topic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Topic) LateInitialize(attrs []byte) (bool, error) { + params := &TopicParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Topic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventgrid/v1alpha1/zz_topic_types.go b/apis/eventgrid/v1alpha1/zz_topic_types.go new file mode 100755 index 000000000..c8fcc21f6 --- /dev/null +++ b/apis/eventgrid/v1alpha1/zz_topic_types.go @@ -0,0 +1,178 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TopicIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type TopicIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type TopicInboundIPRuleObservation struct { +} + +type TopicInboundIPRuleParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + IPMask *string `json:"ipMask" tf:"ip_mask,omitempty"` +} + +type TopicInputMappingDefaultValuesObservation struct { +} + +type TopicInputMappingDefaultValuesParameters struct { + + // +kubebuilder:validation:Optional + DataVersion *string `json:"dataVersion,omitempty" tf:"data_version,omitempty"` + + // +kubebuilder:validation:Optional + EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` + + // +kubebuilder:validation:Optional + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` +} + +type TopicInputMappingFieldsObservation struct { +} + +type TopicInputMappingFieldsParameters struct { + + // +kubebuilder:validation:Optional + DataVersion *string `json:"dataVersion,omitempty" tf:"data_version,omitempty"` + + // +kubebuilder:validation:Optional + EventTime *string `json:"eventTime,omitempty" tf:"event_time,omitempty"` + + // +kubebuilder:validation:Optional + EventType *string `json:"eventType,omitempty" tf:"event_type,omitempty"` + + // +kubebuilder:validation:Optional + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // +kubebuilder:validation:Optional + Subject *string `json:"subject,omitempty" tf:"subject,omitempty"` + + // +kubebuilder:validation:Optional + Topic *string `json:"topic,omitempty" tf:"topic,omitempty"` +} + +type TopicObservation struct { + Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"` +} + +type TopicParameters struct { + + // +kubebuilder:validation:Optional + Identity []TopicIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + InboundIPRule []TopicInboundIPRuleParameters `json:"inboundIpRule,omitempty" tf:"inbound_ip_rule,omitempty"` + + // +kubebuilder:validation:Optional + InputMappingDefaultValues []TopicInputMappingDefaultValuesParameters `json:"inputMappingDefaultValues,omitempty" tf:"input_mapping_default_values,omitempty"` + + // +kubebuilder:validation:Optional + InputMappingFields []TopicInputMappingFieldsParameters `json:"inputMappingFields,omitempty" tf:"input_mapping_fields,omitempty"` + + // +kubebuilder:validation:Optional + InputSchema *string `json:"inputSchema,omitempty" tf:"input_schema,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// TopicSpec defines the desired state of Topic +type TopicSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TopicParameters `json:"forProvider"` +} + +// TopicStatus defines the observed state of Topic. +type TopicStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TopicObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Topic is the Schema for the Topics API +// +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,azurejet} +type Topic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TopicSpec `json:"spec"` + Status TopicStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TopicList contains a list of Topics +type TopicList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Topic `json:"items"` +} + +// Repository type metadata. +var ( + Topic_Kind = "Topic" + Topic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Topic_Kind}.String() + Topic_KindAPIVersion = Topic_Kind + "." + CRDGroupVersion.String() + Topic_GroupVersionKind = CRDGroupVersion.WithKind(Topic_Kind) +) + +func init() { + SchemeBuilder.Register(&Topic{}, &TopicList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_authorizationrule_terraformed.go b/apis/eventhub/v1alpha1/zz_authorizationrule_terraformed.go new file mode 100755 index 000000000..6f999acea --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_authorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AuthorizationRule +func (mg *AuthorizationRule) GetTerraformResourceType() string { + return "azurerm_eventhub_authorization_rule" +} + +// GetConnectionDetailsMapping for this AuthorizationRule +func (tr *AuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_connection_string_alias": "status.atProvider.primaryConnectionStringAlias", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_connection_string_alias": "status.atProvider.secondaryConnectionStringAlias", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this AuthorizationRule +func (tr *AuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AuthorizationRule +func (tr *AuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AuthorizationRule +func (tr *AuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AuthorizationRule +func (tr *AuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &AuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AuthorizationRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventhub/v1alpha1/zz_authorizationrule_types.go b/apis/eventhub/v1alpha1/zz_authorizationrule_types.go new file mode 100755 index 000000000..b9b0797aa --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_authorizationrule_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AuthorizationRuleObservation struct { +} + +type AuthorizationRuleParameters struct { + + // +kubebuilder:validation:Required + EventhubName *string `json:"eventhubName" tf:"eventhub_name,omitempty"` + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// AuthorizationRuleSpec defines the desired state of AuthorizationRule +type AuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AuthorizationRuleParameters `json:"forProvider"` +} + +// AuthorizationRuleStatus defines the observed state of AuthorizationRule. +type AuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AuthorizationRule is the Schema for the AuthorizationRules API +// +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,azurejet} +type AuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AuthorizationRuleSpec `json:"spec"` + Status AuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AuthorizationRuleList contains a list of AuthorizationRules +type AuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + AuthorizationRule_Kind = "AuthorizationRule" + AuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AuthorizationRule_Kind}.String() + AuthorizationRule_KindAPIVersion = AuthorizationRule_Kind + "." + CRDGroupVersion.String() + AuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(AuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&AuthorizationRule{}, &AuthorizationRuleList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_cluster_terraformed.go b/apis/eventhub/v1alpha1/zz_cluster_terraformed.go new file mode 100755 index 000000000..89922d84a --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_cluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Cluster +func (mg *Cluster) GetTerraformResourceType() string { + return "azurerm_eventhub_cluster" +} + +// GetConnectionDetailsMapping for this Cluster +func (tr *Cluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Cluster +func (tr *Cluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Cluster +func (tr *Cluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Cluster +func (tr *Cluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Cluster +func (tr *Cluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Cluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Cluster) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Cluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventhub/v1alpha1/zz_cluster_types.go b/apis/eventhub/v1alpha1/zz_cluster_types.go new file mode 100755 index 000000000..9011ef463 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_cluster_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ClusterObservation struct { +} + +type ClusterParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ClusterSpec defines the desired state of Cluster +type ClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ClusterParameters `json:"forProvider"` +} + +// ClusterStatus defines the observed state of Cluster. +type ClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Cluster is the Schema for the Clusters API +// +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,azurejet} +type Cluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ClusterSpec `json:"spec"` + Status ClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterList contains a list of Clusters +type ClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Cluster `json:"items"` +} + +// Repository type metadata. +var ( + Cluster_Kind = "Cluster" + Cluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String() + Cluster_KindAPIVersion = Cluster_Kind + "." + CRDGroupVersion.String() + Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind) +) + +func init() { + SchemeBuilder.Register(&Cluster{}, &ClusterList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_consumergroup_terraformed.go b/apis/eventhub/v1alpha1/zz_consumergroup_terraformed.go new file mode 100755 index 000000000..4f6b704e1 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_consumergroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ConsumerGroup +func (mg *ConsumerGroup) GetTerraformResourceType() string { + return "azurerm_eventhub_consumer_group" +} + +// GetConnectionDetailsMapping for this ConsumerGroup +func (tr *ConsumerGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ConsumerGroup +func (tr *ConsumerGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ConsumerGroup +func (tr *ConsumerGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ConsumerGroup +func (tr *ConsumerGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ConsumerGroup +func (tr *ConsumerGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ConsumerGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ConsumerGroup) LateInitialize(attrs []byte) (bool, error) { + params := &ConsumerGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ConsumerGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventhub/v1alpha1/zz_consumergroup_types.go b/apis/eventhub/v1alpha1/zz_consumergroup_types.go new file mode 100755 index 000000000..276464466 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_consumergroup_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConsumerGroupObservation struct { +} + +type ConsumerGroupParameters struct { + + // +kubebuilder:validation:Required + EventhubName *string `json:"eventhubName" tf:"eventhub_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + UserMetadata *string `json:"userMetadata,omitempty" tf:"user_metadata,omitempty"` +} + +// ConsumerGroupSpec defines the desired state of ConsumerGroup +type ConsumerGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConsumerGroupParameters `json:"forProvider"` +} + +// ConsumerGroupStatus defines the observed state of ConsumerGroup. +type ConsumerGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConsumerGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConsumerGroup is the Schema for the ConsumerGroups API +// +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,azurejet} +type ConsumerGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConsumerGroupSpec `json:"spec"` + Status ConsumerGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConsumerGroupList contains a list of ConsumerGroups +type ConsumerGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ConsumerGroup `json:"items"` +} + +// Repository type metadata. +var ( + ConsumerGroup_Kind = "ConsumerGroup" + ConsumerGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConsumerGroup_Kind}.String() + ConsumerGroup_KindAPIVersion = ConsumerGroup_Kind + "." + CRDGroupVersion.String() + ConsumerGroup_GroupVersionKind = CRDGroupVersion.WithKind(ConsumerGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&ConsumerGroup{}, &ConsumerGroupList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_generated.deepcopy.go b/apis/eventhub/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2838ebcc2 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1305 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationRule) DeepCopyInto(out *AuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRule. +func (in *AuthorizationRule) DeepCopy() *AuthorizationRule { + if in == nil { + return nil + } + out := new(AuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationRuleList) DeepCopyInto(out *AuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleList. +func (in *AuthorizationRuleList) DeepCopy() *AuthorizationRuleList { + if in == nil { + return nil + } + out := new(AuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationRuleObservation) DeepCopyInto(out *AuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleObservation. +func (in *AuthorizationRuleObservation) DeepCopy() *AuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(AuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationRuleParameters) DeepCopyInto(out *AuthorizationRuleParameters) { + *out = *in + if in.EventhubName != nil { + in, out := &in.EventhubName, &out.EventhubName + *out = new(string) + **out = **in + } + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleParameters. +func (in *AuthorizationRuleParameters) DeepCopy() *AuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(AuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationRuleSpec) DeepCopyInto(out *AuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleSpec. +func (in *AuthorizationRuleSpec) DeepCopy() *AuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(AuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationRuleStatus) DeepCopyInto(out *AuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleStatus. +func (in *AuthorizationRuleStatus) DeepCopy() *AuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(AuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Cluster) DeepCopyInto(out *Cluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { + return nil + } + out := new(Cluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Cluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterList) DeepCopyInto(out *ClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Cluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. +func (in *ClusterList) DeepCopy() *ClusterList { + if in == nil { + return nil + } + out := new(ClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservation. +func (in *ClusterObservation) DeepCopy() *ClusterObservation { + if in == nil { + return nil + } + out := new(ClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters. +func (in *ClusterParameters) DeepCopy() *ClusterParameters { + if in == nil { + return nil + } + out := new(ClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. +func (in *ClusterSpec) DeepCopy() *ClusterSpec { + if in == nil { + return nil + } + out := new(ClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. +func (in *ClusterStatus) DeepCopy() *ClusterStatus { + if in == nil { + return nil + } + out := new(ClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroup) DeepCopyInto(out *ConsumerGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroup. +func (in *ConsumerGroup) DeepCopy() *ConsumerGroup { + if in == nil { + return nil + } + out := new(ConsumerGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConsumerGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupList) DeepCopyInto(out *ConsumerGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ConsumerGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupList. +func (in *ConsumerGroupList) DeepCopy() *ConsumerGroupList { + if in == nil { + return nil + } + out := new(ConsumerGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConsumerGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupObservation) DeepCopyInto(out *ConsumerGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupObservation. +func (in *ConsumerGroupObservation) DeepCopy() *ConsumerGroupObservation { + if in == nil { + return nil + } + out := new(ConsumerGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupParameters) DeepCopyInto(out *ConsumerGroupParameters) { + *out = *in + if in.EventhubName != nil { + in, out := &in.EventhubName, &out.EventhubName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.UserMetadata != nil { + in, out := &in.UserMetadata, &out.UserMetadata + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupParameters. +func (in *ConsumerGroupParameters) DeepCopy() *ConsumerGroupParameters { + if in == nil { + return nil + } + out := new(ConsumerGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupSpec) DeepCopyInto(out *ConsumerGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupSpec. +func (in *ConsumerGroupSpec) DeepCopy() *ConsumerGroupSpec { + if in == nil { + return nil + } + out := new(ConsumerGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConsumerGroupStatus) DeepCopyInto(out *ConsumerGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerGroupStatus. +func (in *ConsumerGroupStatus) DeepCopy() *ConsumerGroupStatus { + if in == nil { + return nil + } + out := new(ConsumerGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRuleObservation) DeepCopyInto(out *IPRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRuleObservation. +func (in *IPRuleObservation) DeepCopy() *IPRuleObservation { + if in == nil { + return nil + } + out := new(IPRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRuleParameters) DeepCopyInto(out *IPRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.IPMask != nil { + in, out := &in.IPMask, &out.IPMask + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRuleParameters. +func (in *IPRuleParameters) DeepCopy() *IPRuleParameters { + if in == nil { + return nil + } + out := new(IPRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace) DeepCopyInto(out *Namespace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. +func (in *Namespace) DeepCopy() *Namespace { + if in == nil { + return nil + } + out := new(Namespace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Namespace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRule) DeepCopyInto(out *NamespaceAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRule. +func (in *NamespaceAuthorizationRule) DeepCopy() *NamespaceAuthorizationRule { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleList) DeepCopyInto(out *NamespaceAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleList. +func (in *NamespaceAuthorizationRuleList) DeepCopy() *NamespaceAuthorizationRuleList { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleObservation) DeepCopyInto(out *NamespaceAuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleObservation. +func (in *NamespaceAuthorizationRuleObservation) DeepCopy() *NamespaceAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleParameters) DeepCopyInto(out *NamespaceAuthorizationRuleParameters) { + *out = *in + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleParameters. +func (in *NamespaceAuthorizationRuleParameters) DeepCopy() *NamespaceAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleSpec) DeepCopyInto(out *NamespaceAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleSpec. +func (in *NamespaceAuthorizationRuleSpec) DeepCopy() *NamespaceAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleStatus) DeepCopyInto(out *NamespaceAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleStatus. +func (in *NamespaceAuthorizationRuleStatus) DeepCopy() *NamespaceAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceCustomerManagedKey) DeepCopyInto(out *NamespaceCustomerManagedKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCustomerManagedKey. +func (in *NamespaceCustomerManagedKey) DeepCopy() *NamespaceCustomerManagedKey { + if in == nil { + return nil + } + out := new(NamespaceCustomerManagedKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceCustomerManagedKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceCustomerManagedKeyList) DeepCopyInto(out *NamespaceCustomerManagedKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceCustomerManagedKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCustomerManagedKeyList. +func (in *NamespaceCustomerManagedKeyList) DeepCopy() *NamespaceCustomerManagedKeyList { + if in == nil { + return nil + } + out := new(NamespaceCustomerManagedKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceCustomerManagedKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceCustomerManagedKeyObservation) DeepCopyInto(out *NamespaceCustomerManagedKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCustomerManagedKeyObservation. +func (in *NamespaceCustomerManagedKeyObservation) DeepCopy() *NamespaceCustomerManagedKeyObservation { + if in == nil { + return nil + } + out := new(NamespaceCustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceCustomerManagedKeyParameters) DeepCopyInto(out *NamespaceCustomerManagedKeyParameters) { + *out = *in + if in.EventhubNamespaceID != nil { + in, out := &in.EventhubNamespaceID, &out.EventhubNamespaceID + *out = new(string) + **out = **in + } + if in.KeyVaultKeyIds != nil { + in, out := &in.KeyVaultKeyIds, &out.KeyVaultKeyIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCustomerManagedKeyParameters. +func (in *NamespaceCustomerManagedKeyParameters) DeepCopy() *NamespaceCustomerManagedKeyParameters { + if in == nil { + return nil + } + out := new(NamespaceCustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceCustomerManagedKeySpec) DeepCopyInto(out *NamespaceCustomerManagedKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCustomerManagedKeySpec. +func (in *NamespaceCustomerManagedKeySpec) DeepCopy() *NamespaceCustomerManagedKeySpec { + if in == nil { + return nil + } + out := new(NamespaceCustomerManagedKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceCustomerManagedKeyStatus) DeepCopyInto(out *NamespaceCustomerManagedKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCustomerManagedKeyStatus. +func (in *NamespaceCustomerManagedKeyStatus) DeepCopy() *NamespaceCustomerManagedKeyStatus { + if in == nil { + return nil + } + out := new(NamespaceCustomerManagedKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfig) DeepCopyInto(out *NamespaceDisasterRecoveryConfig) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfig. +func (in *NamespaceDisasterRecoveryConfig) DeepCopy() *NamespaceDisasterRecoveryConfig { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceDisasterRecoveryConfig) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigList) DeepCopyInto(out *NamespaceDisasterRecoveryConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceDisasterRecoveryConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigList. +func (in *NamespaceDisasterRecoveryConfigList) DeepCopy() *NamespaceDisasterRecoveryConfigList { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceDisasterRecoveryConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigObservation) DeepCopyInto(out *NamespaceDisasterRecoveryConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigObservation. +func (in *NamespaceDisasterRecoveryConfigObservation) DeepCopy() *NamespaceDisasterRecoveryConfigObservation { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigParameters) DeepCopyInto(out *NamespaceDisasterRecoveryConfigParameters) { + *out = *in + if in.AlternateName != nil { + in, out := &in.AlternateName, &out.AlternateName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.PartnerNamespaceID != nil { + in, out := &in.PartnerNamespaceID, &out.PartnerNamespaceID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigParameters. +func (in *NamespaceDisasterRecoveryConfigParameters) DeepCopy() *NamespaceDisasterRecoveryConfigParameters { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigSpec) DeepCopyInto(out *NamespaceDisasterRecoveryConfigSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigSpec. +func (in *NamespaceDisasterRecoveryConfigSpec) DeepCopy() *NamespaceDisasterRecoveryConfigSpec { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigStatus) DeepCopyInto(out *NamespaceDisasterRecoveryConfigStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigStatus. +func (in *NamespaceDisasterRecoveryConfigStatus) DeepCopy() *NamespaceDisasterRecoveryConfigStatus { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Namespace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. +func (in *NamespaceList) DeepCopy() *NamespaceList { + if in == nil { + return nil + } + out := new(NamespaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceObservation) DeepCopyInto(out *NamespaceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation. +func (in *NamespaceObservation) DeepCopy() *NamespaceObservation { + if in == nil { + return nil + } + out := new(NamespaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters) { + *out = *in + if in.AutoInflateEnabled != nil { + in, out := &in.AutoInflateEnabled, &out.AutoInflateEnabled + *out = new(bool) + **out = **in + } + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.DedicatedClusterID != nil { + in, out := &in.DedicatedClusterID, &out.DedicatedClusterID + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaximumThroughputUnits != nil { + in, out := &in.MaximumThroughputUnits, &out.MaximumThroughputUnits + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkRulesets != nil { + in, out := &in.NetworkRulesets, &out.NetworkRulesets + *out = make([]NetworkRulesetsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters. +func (in *NamespaceParameters) DeepCopy() *NamespaceParameters { + if in == nil { + return nil + } + out := new(NamespaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. +func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { + if in == nil { + return nil + } + out := new(NamespaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. +func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { + if in == nil { + return nil + } + out := new(NamespaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRulesetsObservation) DeepCopyInto(out *NetworkRulesetsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesetsObservation. +func (in *NetworkRulesetsObservation) DeepCopy() *NetworkRulesetsObservation { + if in == nil { + return nil + } + out := new(NetworkRulesetsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRulesetsParameters) DeepCopyInto(out *NetworkRulesetsParameters) { + *out = *in + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRule != nil { + in, out := &in.IPRule, &out.IPRule + *out = make([]IPRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrustedServiceAccessEnabled != nil { + in, out := &in.TrustedServiceAccessEnabled, &out.TrustedServiceAccessEnabled + *out = new(bool) + **out = **in + } + if in.VirtualNetworkRule != nil { + in, out := &in.VirtualNetworkRule, &out.VirtualNetworkRule + *out = make([]VirtualNetworkRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesetsParameters. +func (in *NetworkRulesetsParameters) DeepCopy() *NetworkRulesetsParameters { + if in == nil { + return nil + } + out := new(NetworkRulesetsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleObservation) DeepCopyInto(out *VirtualNetworkRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleObservation. +func (in *VirtualNetworkRuleObservation) DeepCopy() *VirtualNetworkRuleObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleParameters) DeepCopyInto(out *VirtualNetworkRuleParameters) { + *out = *in + if in.IgnoreMissingVirtualNetworkServiceEndpoint != nil { + in, out := &in.IgnoreMissingVirtualNetworkServiceEndpoint, &out.IgnoreMissingVirtualNetworkServiceEndpoint + *out = new(bool) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleParameters. +func (in *VirtualNetworkRuleParameters) DeepCopy() *VirtualNetworkRuleParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/eventhub/v1alpha1/zz_generated.managed.go b/apis/eventhub/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..9172f5142 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AuthorizationRule. +func (mg *AuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AuthorizationRule. +func (mg *AuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AuthorizationRule. +func (mg *AuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AuthorizationRule. +func (mg *AuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AuthorizationRule. +func (mg *AuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AuthorizationRule. +func (mg *AuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AuthorizationRule. +func (mg *AuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AuthorizationRule. +func (mg *AuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Cluster. +func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Cluster. +func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Cluster. +func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Cluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Cluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Cluster. +func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Cluster. +func (mg *Cluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Cluster. +func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Cluster. +func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Cluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Cluster. +func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ConsumerGroup. +func (mg *ConsumerGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ConsumerGroup. +func (mg *ConsumerGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ConsumerGroup. +func (mg *ConsumerGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ConsumerGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ConsumerGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ConsumerGroup. +func (mg *ConsumerGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ConsumerGroup. +func (mg *ConsumerGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ConsumerGroup. +func (mg *ConsumerGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ConsumerGroup. +func (mg *ConsumerGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ConsumerGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ConsumerGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ConsumerGroup. +func (mg *ConsumerGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Namespace. +func (mg *Namespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Namespace. +func (mg *Namespace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Namespace. +func (mg *Namespace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Namespace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Namespace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Namespace. +func (mg *Namespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Namespace. +func (mg *Namespace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Namespace. +func (mg *Namespace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Namespace. +func (mg *Namespace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Namespace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Namespace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Namespace. +func (mg *Namespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceCustomerManagedKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceCustomerManagedKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceCustomerManagedKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceCustomerManagedKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceCustomerManagedKey. +func (mg *NamespaceCustomerManagedKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceDisasterRecoveryConfig. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceDisasterRecoveryConfig) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceDisasterRecoveryConfig. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceDisasterRecoveryConfig) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/eventhub/v1alpha1/zz_generated.managedlist.go b/apis/eventhub/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b146e1093 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AuthorizationRuleList. +func (l *AuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ClusterList. +func (l *ClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConsumerGroupList. +func (l *ConsumerGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceAuthorizationRuleList. +func (l *NamespaceAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceCustomerManagedKeyList. +func (l *NamespaceCustomerManagedKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceDisasterRecoveryConfigList. +func (l *NamespaceDisasterRecoveryConfigList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceList. +func (l *NamespaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/eventhub/v1alpha1/zz_groupversion_info.go b/apis/eventhub/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..c62835b9d --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=eventhub.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "eventhub.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/eventhub/v1alpha1/zz_namespace_terraformed.go b/apis/eventhub/v1alpha1/zz_namespace_terraformed.go new file mode 100755 index 000000000..f0d95b08c --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Namespace +func (mg *Namespace) GetTerraformResourceType() string { + return "azurerm_eventhub_namespace" +} + +// GetConnectionDetailsMapping for this Namespace +func (tr *Namespace) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"default_primary_connection_string": "status.atProvider.defaultPrimaryConnectionString", "default_primary_connection_string_alias": "status.atProvider.defaultPrimaryConnectionStringAlias", "default_primary_key": "status.atProvider.defaultPrimaryKey", "default_secondary_connection_string": "status.atProvider.defaultSecondaryConnectionString", "default_secondary_connection_string_alias": "status.atProvider.defaultSecondaryConnectionStringAlias", "default_secondary_key": "status.atProvider.defaultSecondaryKey"} +} + +// GetObservation of this Namespace +func (tr *Namespace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Namespace +func (tr *Namespace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Namespace +func (tr *Namespace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Namespace +func (tr *Namespace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Namespace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Namespace) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Namespace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventhub/v1alpha1/zz_namespace_types.go b/apis/eventhub/v1alpha1/zz_namespace_types.go new file mode 100755 index 000000000..655faf52d --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespace_types.go @@ -0,0 +1,171 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IPRuleObservation struct { +} + +type IPRuleParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + IPMask *string `json:"ipMask" tf:"ip_mask,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type NamespaceObservation struct { +} + +type NamespaceParameters struct { + + // +kubebuilder:validation:Optional + AutoInflateEnabled *bool `json:"autoInflateEnabled,omitempty" tf:"auto_inflate_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Capacity *int64 `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + DedicatedClusterID *string `json:"dedicatedClusterId,omitempty" tf:"dedicated_cluster_id,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaximumThroughputUnits *int64 `json:"maximumThroughputUnits,omitempty" tf:"maximum_throughput_units,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkRulesets []NetworkRulesetsParameters `json:"networkRulesets,omitempty" tf:"network_rulesets,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +type NetworkRulesetsObservation struct { +} + +type NetworkRulesetsParameters struct { + + // +kubebuilder:validation:Required + DefaultAction *string `json:"defaultAction" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPRule []IPRuleParameters `json:"ipRule,omitempty" tf:"ip_rule,omitempty"` + + // +kubebuilder:validation:Optional + TrustedServiceAccessEnabled *bool `json:"trustedServiceAccessEnabled,omitempty" tf:"trusted_service_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkRule []VirtualNetworkRuleParameters `json:"virtualNetworkRule,omitempty" tf:"virtual_network_rule,omitempty"` +} + +type VirtualNetworkRuleObservation struct { +} + +type VirtualNetworkRuleParameters struct { + + // +kubebuilder:validation:Optional + IgnoreMissingVirtualNetworkServiceEndpoint *bool `json:"ignoreMissingVirtualNetworkServiceEndpoint,omitempty" tf:"ignore_missing_virtual_network_service_endpoint,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// NamespaceSpec defines the desired state of Namespace +type NamespaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceParameters `json:"forProvider"` +} + +// NamespaceStatus defines the observed state of Namespace. +type NamespaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Namespace is the Schema for the Namespaces API +// +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,azurejet} +type Namespace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceSpec `json:"spec"` + Status NamespaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceList contains a list of Namespaces +type NamespaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Namespace `json:"items"` +} + +// Repository type metadata. +var ( + Namespace_Kind = "Namespace" + Namespace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Namespace_Kind}.String() + Namespace_KindAPIVersion = Namespace_Kind + "." + CRDGroupVersion.String() + Namespace_GroupVersionKind = CRDGroupVersion.WithKind(Namespace_Kind) +) + +func init() { + SchemeBuilder.Register(&Namespace{}, &NamespaceList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_namespaceauthorizationrule_terraformed.go b/apis/eventhub/v1alpha1/zz_namespaceauthorizationrule_terraformed.go new file mode 100755 index 000000000..db026b8bf --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespaceauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceAuthorizationRule +func (mg *NamespaceAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_eventhub_namespace_authorization_rule" +} + +// GetConnectionDetailsMapping for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_connection_string_alias": "status.atProvider.primaryConnectionStringAlias", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_connection_string_alias": "status.atProvider.secondaryConnectionStringAlias", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceAuthorizationRule) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/eventhub/v1alpha1/zz_namespaceauthorizationrule_types.go b/apis/eventhub/v1alpha1/zz_namespaceauthorizationrule_types.go new file mode 100755 index 000000000..57a18f7b3 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespaceauthorizationrule_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceAuthorizationRuleObservation struct { +} + +type NamespaceAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// NamespaceAuthorizationRuleSpec defines the desired state of NamespaceAuthorizationRule +type NamespaceAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceAuthorizationRuleParameters `json:"forProvider"` +} + +// NamespaceAuthorizationRuleStatus defines the observed state of NamespaceAuthorizationRule. +type NamespaceAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceAuthorizationRule is the Schema for the NamespaceAuthorizationRules API +// +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,azurejet} +type NamespaceAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceAuthorizationRuleSpec `json:"spec"` + Status NamespaceAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceAuthorizationRuleList contains a list of NamespaceAuthorizationRules +type NamespaceAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceAuthorizationRule_Kind = "NamespaceAuthorizationRule" + NamespaceAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceAuthorizationRule_Kind}.String() + NamespaceAuthorizationRule_KindAPIVersion = NamespaceAuthorizationRule_Kind + "." + CRDGroupVersion.String() + NamespaceAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceAuthorizationRule{}, &NamespaceAuthorizationRuleList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_namespacecustomermanagedkey_terraformed.go b/apis/eventhub/v1alpha1/zz_namespacecustomermanagedkey_terraformed.go new file mode 100755 index 000000000..d4488b8e4 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespacecustomermanagedkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceCustomerManagedKey +func (mg *NamespaceCustomerManagedKey) GetTerraformResourceType() string { + return "azurerm_eventhub_namespace_customer_managed_key" +} + +// GetConnectionDetailsMapping for this NamespaceCustomerManagedKey +func (tr *NamespaceCustomerManagedKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NamespaceCustomerManagedKey +func (tr *NamespaceCustomerManagedKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceCustomerManagedKey +func (tr *NamespaceCustomerManagedKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceCustomerManagedKey +func (tr *NamespaceCustomerManagedKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceCustomerManagedKey +func (tr *NamespaceCustomerManagedKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceCustomerManagedKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceCustomerManagedKey) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceCustomerManagedKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceCustomerManagedKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventhub/v1alpha1/zz_namespacecustomermanagedkey_types.go b/apis/eventhub/v1alpha1/zz_namespacecustomermanagedkey_types.go new file mode 100755 index 000000000..3267d3b54 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespacecustomermanagedkey_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceCustomerManagedKeyObservation struct { +} + +type NamespaceCustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Required + EventhubNamespaceID *string `json:"eventhubNamespaceId" tf:"eventhub_namespace_id,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultKeyIds []*string `json:"keyVaultKeyIds" tf:"key_vault_key_ids,omitempty"` +} + +// NamespaceCustomerManagedKeySpec defines the desired state of NamespaceCustomerManagedKey +type NamespaceCustomerManagedKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceCustomerManagedKeyParameters `json:"forProvider"` +} + +// NamespaceCustomerManagedKeyStatus defines the observed state of NamespaceCustomerManagedKey. +type NamespaceCustomerManagedKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceCustomerManagedKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceCustomerManagedKey is the Schema for the NamespaceCustomerManagedKeys API +// +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,azurejet} +type NamespaceCustomerManagedKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceCustomerManagedKeySpec `json:"spec"` + Status NamespaceCustomerManagedKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceCustomerManagedKeyList contains a list of NamespaceCustomerManagedKeys +type NamespaceCustomerManagedKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceCustomerManagedKey `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceCustomerManagedKey_Kind = "NamespaceCustomerManagedKey" + NamespaceCustomerManagedKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceCustomerManagedKey_Kind}.String() + NamespaceCustomerManagedKey_KindAPIVersion = NamespaceCustomerManagedKey_Kind + "." + CRDGroupVersion.String() + NamespaceCustomerManagedKey_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceCustomerManagedKey_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceCustomerManagedKey{}, &NamespaceCustomerManagedKeyList{}) +} diff --git a/apis/eventhub/v1alpha1/zz_namespacedisasterrecoveryconfig_terraformed.go b/apis/eventhub/v1alpha1/zz_namespacedisasterrecoveryconfig_terraformed.go new file mode 100755 index 000000000..fd1e6709b --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespacedisasterrecoveryconfig_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceDisasterRecoveryConfig +func (mg *NamespaceDisasterRecoveryConfig) GetTerraformResourceType() string { + return "azurerm_eventhub_namespace_disaster_recovery_config" +} + +// GetConnectionDetailsMapping for this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceDisasterRecoveryConfig using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceDisasterRecoveryConfig) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceDisasterRecoveryConfigParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceDisasterRecoveryConfig) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/eventhub/v1alpha1/zz_namespacedisasterrecoveryconfig_types.go b/apis/eventhub/v1alpha1/zz_namespacedisasterrecoveryconfig_types.go new file mode 100755 index 000000000..47514f246 --- /dev/null +++ b/apis/eventhub/v1alpha1/zz_namespacedisasterrecoveryconfig_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceDisasterRecoveryConfigObservation struct { +} + +type NamespaceDisasterRecoveryConfigParameters struct { + + // +kubebuilder:validation:Optional + AlternateName *string `json:"alternateName,omitempty" tf:"alternate_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + PartnerNamespaceID *string `json:"partnerNamespaceId" tf:"partner_namespace_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// NamespaceDisasterRecoveryConfigSpec defines the desired state of NamespaceDisasterRecoveryConfig +type NamespaceDisasterRecoveryConfigSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceDisasterRecoveryConfigParameters `json:"forProvider"` +} + +// NamespaceDisasterRecoveryConfigStatus defines the observed state of NamespaceDisasterRecoveryConfig. +type NamespaceDisasterRecoveryConfigStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceDisasterRecoveryConfigObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceDisasterRecoveryConfig is the Schema for the NamespaceDisasterRecoveryConfigs API +// +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,azurejet} +type NamespaceDisasterRecoveryConfig struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceDisasterRecoveryConfigSpec `json:"spec"` + Status NamespaceDisasterRecoveryConfigStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceDisasterRecoveryConfigList contains a list of NamespaceDisasterRecoveryConfigs +type NamespaceDisasterRecoveryConfigList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceDisasterRecoveryConfig `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceDisasterRecoveryConfig_Kind = "NamespaceDisasterRecoveryConfig" + NamespaceDisasterRecoveryConfig_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceDisasterRecoveryConfig_Kind}.String() + NamespaceDisasterRecoveryConfig_KindAPIVersion = NamespaceDisasterRecoveryConfig_Kind + "." + CRDGroupVersion.String() + NamespaceDisasterRecoveryConfig_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceDisasterRecoveryConfig_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceDisasterRecoveryConfig{}, &NamespaceDisasterRecoveryConfigList{}) +} diff --git a/apis/express/v1alpha1/zz_generated.deepcopy.go b/apis/express/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..dff1f61e5 --- /dev/null +++ b/apis/express/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1735 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPv6Observation) DeepCopyInto(out *IPv6Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6Observation. +func (in *IPv6Observation) DeepCopy() *IPv6Observation { + if in == nil { + return nil + } + out := new(IPv6Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPv6Parameters) DeepCopyInto(out *IPv6Parameters) { + *out = *in + if in.MicrosoftPeering != nil { + in, out := &in.MicrosoftPeering, &out.MicrosoftPeering + *out = make([]MicrosoftPeeringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrimaryPeerAddressPrefix != nil { + in, out := &in.PrimaryPeerAddressPrefix, &out.PrimaryPeerAddressPrefix + *out = new(string) + **out = **in + } + if in.RouteFilterID != nil { + in, out := &in.RouteFilterID, &out.RouteFilterID + *out = new(string) + **out = **in + } + if in.SecondaryPeerAddressPrefix != nil { + in, out := &in.SecondaryPeerAddressPrefix, &out.SecondaryPeerAddressPrefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPv6Parameters. +func (in *IPv6Parameters) DeepCopy() *IPv6Parameters { + if in == nil { + return nil + } + out := new(IPv6Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Link1Observation) DeepCopyInto(out *Link1Observation) { + *out = *in + if in.ConnectorType != nil { + in, out := &in.ConnectorType, &out.ConnectorType + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InterfaceName != nil { + in, out := &in.InterfaceName, &out.InterfaceName + *out = new(string) + **out = **in + } + if in.PatchPanelID != nil { + in, out := &in.PatchPanelID, &out.PatchPanelID + *out = new(string) + **out = **in + } + if in.RackID != nil { + in, out := &in.RackID, &out.RackID + *out = new(string) + **out = **in + } + if in.RouterName != nil { + in, out := &in.RouterName, &out.RouterName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link1Observation. +func (in *Link1Observation) DeepCopy() *Link1Observation { + if in == nil { + return nil + } + out := new(Link1Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Link1Parameters) DeepCopyInto(out *Link1Parameters) { + *out = *in + if in.AdminEnabled != nil { + in, out := &in.AdminEnabled, &out.AdminEnabled + *out = new(bool) + **out = **in + } + if in.MacsecCakKeyvaultSecretID != nil { + in, out := &in.MacsecCakKeyvaultSecretID, &out.MacsecCakKeyvaultSecretID + *out = new(string) + **out = **in + } + if in.MacsecCipher != nil { + in, out := &in.MacsecCipher, &out.MacsecCipher + *out = new(string) + **out = **in + } + if in.MacsecCknKeyvaultSecretID != nil { + in, out := &in.MacsecCknKeyvaultSecretID, &out.MacsecCknKeyvaultSecretID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link1Parameters. +func (in *Link1Parameters) DeepCopy() *Link1Parameters { + if in == nil { + return nil + } + out := new(Link1Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Link2Observation) DeepCopyInto(out *Link2Observation) { + *out = *in + if in.ConnectorType != nil { + in, out := &in.ConnectorType, &out.ConnectorType + *out = new(string) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InterfaceName != nil { + in, out := &in.InterfaceName, &out.InterfaceName + *out = new(string) + **out = **in + } + if in.PatchPanelID != nil { + in, out := &in.PatchPanelID, &out.PatchPanelID + *out = new(string) + **out = **in + } + if in.RackID != nil { + in, out := &in.RackID, &out.RackID + *out = new(string) + **out = **in + } + if in.RouterName != nil { + in, out := &in.RouterName, &out.RouterName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link2Observation. +func (in *Link2Observation) DeepCopy() *Link2Observation { + if in == nil { + return nil + } + out := new(Link2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Link2Parameters) DeepCopyInto(out *Link2Parameters) { + *out = *in + if in.AdminEnabled != nil { + in, out := &in.AdminEnabled, &out.AdminEnabled + *out = new(bool) + **out = **in + } + if in.MacsecCakKeyvaultSecretID != nil { + in, out := &in.MacsecCakKeyvaultSecretID, &out.MacsecCakKeyvaultSecretID + *out = new(string) + **out = **in + } + if in.MacsecCipher != nil { + in, out := &in.MacsecCipher, &out.MacsecCipher + *out = new(string) + **out = **in + } + if in.MacsecCknKeyvaultSecretID != nil { + in, out := &in.MacsecCknKeyvaultSecretID, &out.MacsecCknKeyvaultSecretID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link2Parameters. +func (in *Link2Parameters) DeepCopy() *Link2Parameters { + if in == nil { + return nil + } + out := new(Link2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftPeeringConfigObservation) DeepCopyInto(out *MicrosoftPeeringConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftPeeringConfigObservation. +func (in *MicrosoftPeeringConfigObservation) DeepCopy() *MicrosoftPeeringConfigObservation { + if in == nil { + return nil + } + out := new(MicrosoftPeeringConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftPeeringConfigParameters) DeepCopyInto(out *MicrosoftPeeringConfigParameters) { + *out = *in + if in.AdvertisedPublicPrefixes != nil { + in, out := &in.AdvertisedPublicPrefixes, &out.AdvertisedPublicPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CustomerAsn != nil { + in, out := &in.CustomerAsn, &out.CustomerAsn + *out = new(int64) + **out = **in + } + if in.RoutingRegistryName != nil { + in, out := &in.RoutingRegistryName, &out.RoutingRegistryName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftPeeringConfigParameters. +func (in *MicrosoftPeeringConfigParameters) DeepCopy() *MicrosoftPeeringConfigParameters { + if in == nil { + return nil + } + out := new(MicrosoftPeeringConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftPeeringObservation) DeepCopyInto(out *MicrosoftPeeringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftPeeringObservation. +func (in *MicrosoftPeeringObservation) DeepCopy() *MicrosoftPeeringObservation { + if in == nil { + return nil + } + out := new(MicrosoftPeeringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftPeeringParameters) DeepCopyInto(out *MicrosoftPeeringParameters) { + *out = *in + if in.AdvertisedPublicPrefixes != nil { + in, out := &in.AdvertisedPublicPrefixes, &out.AdvertisedPublicPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CustomerAsn != nil { + in, out := &in.CustomerAsn, &out.CustomerAsn + *out = new(int64) + **out = **in + } + if in.RoutingRegistryName != nil { + in, out := &in.RoutingRegistryName, &out.RoutingRegistryName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftPeeringParameters. +func (in *MicrosoftPeeringParameters) DeepCopy() *MicrosoftPeeringParameters { + if in == nil { + return nil + } + out := new(MicrosoftPeeringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PropagatedRouteTableObservation) DeepCopyInto(out *PropagatedRouteTableObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedRouteTableObservation. +func (in *PropagatedRouteTableObservation) DeepCopy() *PropagatedRouteTableObservation { + if in == nil { + return nil + } + out := new(PropagatedRouteTableObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PropagatedRouteTableParameters) DeepCopyInto(out *PropagatedRouteTableParameters) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RouteTableIds != nil { + in, out := &in.RouteTableIds, &out.RouteTableIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedRouteTableParameters. +func (in *PropagatedRouteTableParameters) DeepCopy() *PropagatedRouteTableParameters { + if in == nil { + return nil + } + out := new(PropagatedRouteTableParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuit) DeepCopyInto(out *RouteCircuit) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuit. +func (in *RouteCircuit) DeepCopy() *RouteCircuit { + if in == nil { + return nil + } + out := new(RouteCircuit) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuit) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitAuthorization) DeepCopyInto(out *RouteCircuitAuthorization) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitAuthorization. +func (in *RouteCircuitAuthorization) DeepCopy() *RouteCircuitAuthorization { + if in == nil { + return nil + } + out := new(RouteCircuitAuthorization) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitAuthorization) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitAuthorizationList) DeepCopyInto(out *RouteCircuitAuthorizationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RouteCircuitAuthorization, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitAuthorizationList. +func (in *RouteCircuitAuthorizationList) DeepCopy() *RouteCircuitAuthorizationList { + if in == nil { + return nil + } + out := new(RouteCircuitAuthorizationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitAuthorizationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitAuthorizationObservation) DeepCopyInto(out *RouteCircuitAuthorizationObservation) { + *out = *in + if in.AuthorizationUseStatus != nil { + in, out := &in.AuthorizationUseStatus, &out.AuthorizationUseStatus + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitAuthorizationObservation. +func (in *RouteCircuitAuthorizationObservation) DeepCopy() *RouteCircuitAuthorizationObservation { + if in == nil { + return nil + } + out := new(RouteCircuitAuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitAuthorizationParameters) DeepCopyInto(out *RouteCircuitAuthorizationParameters) { + *out = *in + if in.ExpressRouteCircuitName != nil { + in, out := &in.ExpressRouteCircuitName, &out.ExpressRouteCircuitName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitAuthorizationParameters. +func (in *RouteCircuitAuthorizationParameters) DeepCopy() *RouteCircuitAuthorizationParameters { + if in == nil { + return nil + } + out := new(RouteCircuitAuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitAuthorizationSpec) DeepCopyInto(out *RouteCircuitAuthorizationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitAuthorizationSpec. +func (in *RouteCircuitAuthorizationSpec) DeepCopy() *RouteCircuitAuthorizationSpec { + if in == nil { + return nil + } + out := new(RouteCircuitAuthorizationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitAuthorizationStatus) DeepCopyInto(out *RouteCircuitAuthorizationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitAuthorizationStatus. +func (in *RouteCircuitAuthorizationStatus) DeepCopy() *RouteCircuitAuthorizationStatus { + if in == nil { + return nil + } + out := new(RouteCircuitAuthorizationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitConnection) DeepCopyInto(out *RouteCircuitConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitConnection. +func (in *RouteCircuitConnection) DeepCopy() *RouteCircuitConnection { + if in == nil { + return nil + } + out := new(RouteCircuitConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitConnectionList) DeepCopyInto(out *RouteCircuitConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RouteCircuitConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitConnectionList. +func (in *RouteCircuitConnectionList) DeepCopy() *RouteCircuitConnectionList { + if in == nil { + return nil + } + out := new(RouteCircuitConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitConnectionObservation) DeepCopyInto(out *RouteCircuitConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitConnectionObservation. +func (in *RouteCircuitConnectionObservation) DeepCopy() *RouteCircuitConnectionObservation { + if in == nil { + return nil + } + out := new(RouteCircuitConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitConnectionParameters) DeepCopyInto(out *RouteCircuitConnectionParameters) { + *out = *in + if in.AddressPrefixIPv4 != nil { + in, out := &in.AddressPrefixIPv4, &out.AddressPrefixIPv4 + *out = new(string) + **out = **in + } + if in.AddressPrefixIPv6 != nil { + in, out := &in.AddressPrefixIPv6, &out.AddressPrefixIPv6 + *out = new(string) + **out = **in + } + if in.AuthorizationKeySecretRef != nil { + in, out := &in.AuthorizationKeySecretRef, &out.AuthorizationKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PeerPeeringID != nil { + in, out := &in.PeerPeeringID, &out.PeerPeeringID + *out = new(string) + **out = **in + } + if in.PeeringID != nil { + in, out := &in.PeeringID, &out.PeeringID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitConnectionParameters. +func (in *RouteCircuitConnectionParameters) DeepCopy() *RouteCircuitConnectionParameters { + if in == nil { + return nil + } + out := new(RouteCircuitConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitConnectionSpec) DeepCopyInto(out *RouteCircuitConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitConnectionSpec. +func (in *RouteCircuitConnectionSpec) DeepCopy() *RouteCircuitConnectionSpec { + if in == nil { + return nil + } + out := new(RouteCircuitConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitConnectionStatus) DeepCopyInto(out *RouteCircuitConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitConnectionStatus. +func (in *RouteCircuitConnectionStatus) DeepCopy() *RouteCircuitConnectionStatus { + if in == nil { + return nil + } + out := new(RouteCircuitConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitList) DeepCopyInto(out *RouteCircuitList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RouteCircuit, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitList. +func (in *RouteCircuitList) DeepCopy() *RouteCircuitList { + if in == nil { + return nil + } + out := new(RouteCircuitList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitObservation) DeepCopyInto(out *RouteCircuitObservation) { + *out = *in + if in.ServiceProviderProvisioningState != nil { + in, out := &in.ServiceProviderProvisioningState, &out.ServiceProviderProvisioningState + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitObservation. +func (in *RouteCircuitObservation) DeepCopy() *RouteCircuitObservation { + if in == nil { + return nil + } + out := new(RouteCircuitObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitParameters) DeepCopyInto(out *RouteCircuitParameters) { + *out = *in + if in.AllowClassicOperations != nil { + in, out := &in.AllowClassicOperations, &out.AllowClassicOperations + *out = new(bool) + **out = **in + } + if in.BandwidthInGbps != nil { + in, out := &in.BandwidthInGbps, &out.BandwidthInGbps + *out = new(float64) + **out = **in + } + if in.BandwidthInMbps != nil { + in, out := &in.BandwidthInMbps, &out.BandwidthInMbps + *out = new(int64) + **out = **in + } + if in.ExpressRoutePortID != nil { + in, out := &in.ExpressRoutePortID, &out.ExpressRoutePortID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PeeringLocation != nil { + in, out := &in.PeeringLocation, &out.PeeringLocation + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServiceProviderName != nil { + in, out := &in.ServiceProviderName, &out.ServiceProviderName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = make([]SkuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitParameters. +func (in *RouteCircuitParameters) DeepCopy() *RouteCircuitParameters { + if in == nil { + return nil + } + out := new(RouteCircuitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitPeering) DeepCopyInto(out *RouteCircuitPeering) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitPeering. +func (in *RouteCircuitPeering) DeepCopy() *RouteCircuitPeering { + if in == nil { + return nil + } + out := new(RouteCircuitPeering) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitPeering) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitPeeringList) DeepCopyInto(out *RouteCircuitPeeringList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RouteCircuitPeering, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitPeeringList. +func (in *RouteCircuitPeeringList) DeepCopy() *RouteCircuitPeeringList { + if in == nil { + return nil + } + out := new(RouteCircuitPeeringList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteCircuitPeeringList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitPeeringObservation) DeepCopyInto(out *RouteCircuitPeeringObservation) { + *out = *in + if in.AzureAsn != nil { + in, out := &in.AzureAsn, &out.AzureAsn + *out = new(int64) + **out = **in + } + if in.PrimaryAzurePort != nil { + in, out := &in.PrimaryAzurePort, &out.PrimaryAzurePort + *out = new(string) + **out = **in + } + if in.SecondaryAzurePort != nil { + in, out := &in.SecondaryAzurePort, &out.SecondaryAzurePort + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitPeeringObservation. +func (in *RouteCircuitPeeringObservation) DeepCopy() *RouteCircuitPeeringObservation { + if in == nil { + return nil + } + out := new(RouteCircuitPeeringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitPeeringParameters) DeepCopyInto(out *RouteCircuitPeeringParameters) { + *out = *in + if in.ExpressRouteCircuitName != nil { + in, out := &in.ExpressRouteCircuitName, &out.ExpressRouteCircuitName + *out = new(string) + **out = **in + } + if in.IPv6 != nil { + in, out := &in.IPv6, &out.IPv6 + *out = make([]IPv6Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MicrosoftPeeringConfig != nil { + in, out := &in.MicrosoftPeeringConfig, &out.MicrosoftPeeringConfig + *out = make([]MicrosoftPeeringConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PeerAsn != nil { + in, out := &in.PeerAsn, &out.PeerAsn + *out = new(int64) + **out = **in + } + if in.PeeringType != nil { + in, out := &in.PeeringType, &out.PeeringType + *out = new(string) + **out = **in + } + if in.PrimaryPeerAddressPrefix != nil { + in, out := &in.PrimaryPeerAddressPrefix, &out.PrimaryPeerAddressPrefix + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RouteFilterID != nil { + in, out := &in.RouteFilterID, &out.RouteFilterID + *out = new(string) + **out = **in + } + if in.SecondaryPeerAddressPrefix != nil { + in, out := &in.SecondaryPeerAddressPrefix, &out.SecondaryPeerAddressPrefix + *out = new(string) + **out = **in + } + if in.SharedKeySecretRef != nil { + in, out := &in.SharedKeySecretRef, &out.SharedKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.VlanID != nil { + in, out := &in.VlanID, &out.VlanID + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitPeeringParameters. +func (in *RouteCircuitPeeringParameters) DeepCopy() *RouteCircuitPeeringParameters { + if in == nil { + return nil + } + out := new(RouteCircuitPeeringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitPeeringSpec) DeepCopyInto(out *RouteCircuitPeeringSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitPeeringSpec. +func (in *RouteCircuitPeeringSpec) DeepCopy() *RouteCircuitPeeringSpec { + if in == nil { + return nil + } + out := new(RouteCircuitPeeringSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitPeeringStatus) DeepCopyInto(out *RouteCircuitPeeringStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitPeeringStatus. +func (in *RouteCircuitPeeringStatus) DeepCopy() *RouteCircuitPeeringStatus { + if in == nil { + return nil + } + out := new(RouteCircuitPeeringStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitSpec) DeepCopyInto(out *RouteCircuitSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitSpec. +func (in *RouteCircuitSpec) DeepCopy() *RouteCircuitSpec { + if in == nil { + return nil + } + out := new(RouteCircuitSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteCircuitStatus) DeepCopyInto(out *RouteCircuitStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteCircuitStatus. +func (in *RouteCircuitStatus) DeepCopy() *RouteCircuitStatus { + if in == nil { + return nil + } + out := new(RouteCircuitStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteConnection) DeepCopyInto(out *RouteConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConnection. +func (in *RouteConnection) DeepCopy() *RouteConnection { + if in == nil { + return nil + } + out := new(RouteConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteConnectionList) DeepCopyInto(out *RouteConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RouteConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConnectionList. +func (in *RouteConnectionList) DeepCopy() *RouteConnectionList { + if in == nil { + return nil + } + out := new(RouteConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteConnectionObservation) DeepCopyInto(out *RouteConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConnectionObservation. +func (in *RouteConnectionObservation) DeepCopy() *RouteConnectionObservation { + if in == nil { + return nil + } + out := new(RouteConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteConnectionParameters) DeepCopyInto(out *RouteConnectionParameters) { + *out = *in + if in.AuthorizationKey != nil { + in, out := &in.AuthorizationKey, &out.AuthorizationKey + *out = new(string) + **out = **in + } + if in.EnableInternetSecurity != nil { + in, out := &in.EnableInternetSecurity, &out.EnableInternetSecurity + *out = new(bool) + **out = **in + } + if in.ExpressRouteCircuitPeeringID != nil { + in, out := &in.ExpressRouteCircuitPeeringID, &out.ExpressRouteCircuitPeeringID + *out = new(string) + **out = **in + } + if in.ExpressRouteGatewayID != nil { + in, out := &in.ExpressRouteGatewayID, &out.ExpressRouteGatewayID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Routing != nil { + in, out := &in.Routing, &out.Routing + *out = make([]RoutingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RoutingWeight != nil { + in, out := &in.RoutingWeight, &out.RoutingWeight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConnectionParameters. +func (in *RouteConnectionParameters) DeepCopy() *RouteConnectionParameters { + if in == nil { + return nil + } + out := new(RouteConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteConnectionSpec) DeepCopyInto(out *RouteConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConnectionSpec. +func (in *RouteConnectionSpec) DeepCopy() *RouteConnectionSpec { + if in == nil { + return nil + } + out := new(RouteConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteConnectionStatus) DeepCopyInto(out *RouteConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteConnectionStatus. +func (in *RouteConnectionStatus) DeepCopy() *RouteConnectionStatus { + if in == nil { + return nil + } + out := new(RouteConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteGateway) DeepCopyInto(out *RouteGateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteGateway. +func (in *RouteGateway) DeepCopy() *RouteGateway { + if in == nil { + return nil + } + out := new(RouteGateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteGateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteGatewayList) DeepCopyInto(out *RouteGatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RouteGateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteGatewayList. +func (in *RouteGatewayList) DeepCopy() *RouteGatewayList { + if in == nil { + return nil + } + out := new(RouteGatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RouteGatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteGatewayObservation) DeepCopyInto(out *RouteGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteGatewayObservation. +func (in *RouteGatewayObservation) DeepCopy() *RouteGatewayObservation { + if in == nil { + return nil + } + out := new(RouteGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteGatewayParameters) DeepCopyInto(out *RouteGatewayParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualHubID != nil { + in, out := &in.VirtualHubID, &out.VirtualHubID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteGatewayParameters. +func (in *RouteGatewayParameters) DeepCopy() *RouteGatewayParameters { + if in == nil { + return nil + } + out := new(RouteGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteGatewaySpec) DeepCopyInto(out *RouteGatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteGatewaySpec. +func (in *RouteGatewaySpec) DeepCopy() *RouteGatewaySpec { + if in == nil { + return nil + } + out := new(RouteGatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteGatewayStatus) DeepCopyInto(out *RouteGatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteGatewayStatus. +func (in *RouteGatewayStatus) DeepCopy() *RouteGatewayStatus { + if in == nil { + return nil + } + out := new(RouteGatewayStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutePort) DeepCopyInto(out *RoutePort) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePort. +func (in *RoutePort) DeepCopy() *RoutePort { + if in == nil { + return nil + } + out := new(RoutePort) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RoutePort) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutePortList) DeepCopyInto(out *RoutePortList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RoutePort, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePortList. +func (in *RoutePortList) DeepCopy() *RoutePortList { + if in == nil { + return nil + } + out := new(RoutePortList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RoutePortList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutePortObservation) DeepCopyInto(out *RoutePortObservation) { + *out = *in + if in.Ethertype != nil { + in, out := &in.Ethertype, &out.Ethertype + *out = new(string) + **out = **in + } + if in.GUID != nil { + in, out := &in.GUID, &out.GUID + *out = new(string) + **out = **in + } + if in.Mtu != nil { + in, out := &in.Mtu, &out.Mtu + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePortObservation. +func (in *RoutePortObservation) DeepCopy() *RoutePortObservation { + if in == nil { + return nil + } + out := new(RoutePortObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutePortParameters) DeepCopyInto(out *RoutePortParameters) { + *out = *in + if in.BandwidthInGbps != nil { + in, out := &in.BandwidthInGbps, &out.BandwidthInGbps + *out = new(int64) + **out = **in + } + if in.Encapsulation != nil { + in, out := &in.Encapsulation, &out.Encapsulation + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Link1 != nil { + in, out := &in.Link1, &out.Link1 + *out = make([]Link1Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Link2 != nil { + in, out := &in.Link2, &out.Link2 + *out = make([]Link2Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PeeringLocation != nil { + in, out := &in.PeeringLocation, &out.PeeringLocation + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePortParameters. +func (in *RoutePortParameters) DeepCopy() *RoutePortParameters { + if in == nil { + return nil + } + out := new(RoutePortParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutePortSpec) DeepCopyInto(out *RoutePortSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePortSpec. +func (in *RoutePortSpec) DeepCopy() *RoutePortSpec { + if in == nil { + return nil + } + out := new(RoutePortSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutePortStatus) DeepCopyInto(out *RoutePortStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutePortStatus. +func (in *RoutePortStatus) DeepCopy() *RoutePortStatus { + if in == nil { + return nil + } + out := new(RoutePortStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutingObservation) DeepCopyInto(out *RoutingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingObservation. +func (in *RoutingObservation) DeepCopy() *RoutingObservation { + if in == nil { + return nil + } + out := new(RoutingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutingParameters) DeepCopyInto(out *RoutingParameters) { + *out = *in + if in.AssociatedRouteTableID != nil { + in, out := &in.AssociatedRouteTableID, &out.AssociatedRouteTableID + *out = new(string) + **out = **in + } + if in.PropagatedRouteTable != nil { + in, out := &in.PropagatedRouteTable, &out.PropagatedRouteTable + *out = make([]PropagatedRouteTableParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingParameters. +func (in *RoutingParameters) DeepCopy() *RoutingParameters { + if in == nil { + return nil + } + out := new(RoutingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuObservation) DeepCopyInto(out *SkuObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuObservation. +func (in *SkuObservation) DeepCopy() *SkuObservation { + if in == nil { + return nil + } + out := new(SkuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { + *out = *in + if in.Family != nil { + in, out := &in.Family, &out.Family + *out = new(string) + **out = **in + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/express/v1alpha1/zz_generated.managed.go b/apis/express/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..75ca767ee --- /dev/null +++ b/apis/express/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this RouteCircuit. +func (mg *RouteCircuit) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RouteCircuit. +func (mg *RouteCircuit) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RouteCircuit. +func (mg *RouteCircuit) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RouteCircuit. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RouteCircuit) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RouteCircuit. +func (mg *RouteCircuit) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RouteCircuit. +func (mg *RouteCircuit) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RouteCircuit. +func (mg *RouteCircuit) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RouteCircuit. +func (mg *RouteCircuit) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RouteCircuit. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RouteCircuit) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RouteCircuit. +func (mg *RouteCircuit) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RouteCircuitAuthorization. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RouteCircuitAuthorization) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RouteCircuitAuthorization. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RouteCircuitAuthorization) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RouteCircuitAuthorization. +func (mg *RouteCircuitAuthorization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RouteCircuitConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RouteCircuitConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RouteCircuitConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RouteCircuitConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RouteCircuitConnection. +func (mg *RouteCircuitConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RouteCircuitPeering. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RouteCircuitPeering) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RouteCircuitPeering. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RouteCircuitPeering) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RouteCircuitPeering. +func (mg *RouteCircuitPeering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RouteConnection. +func (mg *RouteConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RouteConnection. +func (mg *RouteConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RouteConnection. +func (mg *RouteConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RouteConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RouteConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RouteConnection. +func (mg *RouteConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RouteConnection. +func (mg *RouteConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RouteConnection. +func (mg *RouteConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RouteConnection. +func (mg *RouteConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RouteConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RouteConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RouteConnection. +func (mg *RouteConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RouteGateway. +func (mg *RouteGateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RouteGateway. +func (mg *RouteGateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RouteGateway. +func (mg *RouteGateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RouteGateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RouteGateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RouteGateway. +func (mg *RouteGateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RouteGateway. +func (mg *RouteGateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RouteGateway. +func (mg *RouteGateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RouteGateway. +func (mg *RouteGateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RouteGateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RouteGateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RouteGateway. +func (mg *RouteGateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RoutePort. +func (mg *RoutePort) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RoutePort. +func (mg *RoutePort) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RoutePort. +func (mg *RoutePort) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RoutePort. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RoutePort) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RoutePort. +func (mg *RoutePort) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RoutePort. +func (mg *RoutePort) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RoutePort. +func (mg *RoutePort) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RoutePort. +func (mg *RoutePort) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RoutePort. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RoutePort) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RoutePort. +func (mg *RoutePort) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/express/v1alpha1/zz_generated.managedlist.go b/apis/express/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..0f5f0e47d --- /dev/null +++ b/apis/express/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this RouteCircuitAuthorizationList. +func (l *RouteCircuitAuthorizationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RouteCircuitConnectionList. +func (l *RouteCircuitConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RouteCircuitList. +func (l *RouteCircuitList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RouteCircuitPeeringList. +func (l *RouteCircuitPeeringList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RouteConnectionList. +func (l *RouteConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RouteGatewayList. +func (l *RouteGatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RoutePortList. +func (l *RoutePortList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/express/v1alpha1/zz_groupversion_info.go b/apis/express/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..3ef3a88fb --- /dev/null +++ b/apis/express/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=express.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "express.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/express/v1alpha1/zz_routecircuit_terraformed.go b/apis/express/v1alpha1/zz_routecircuit_terraformed.go new file mode 100755 index 000000000..53d0901b9 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuit_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RouteCircuit +func (mg *RouteCircuit) GetTerraformResourceType() string { + return "azurerm_express_route_circuit" +} + +// GetConnectionDetailsMapping for this RouteCircuit +func (tr *RouteCircuit) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"service_key": "status.atProvider.serviceKey"} +} + +// GetObservation of this RouteCircuit +func (tr *RouteCircuit) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RouteCircuit +func (tr *RouteCircuit) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RouteCircuit +func (tr *RouteCircuit) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RouteCircuit +func (tr *RouteCircuit) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RouteCircuit using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RouteCircuit) LateInitialize(attrs []byte) (bool, error) { + params := &RouteCircuitParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RouteCircuit) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routecircuit_types.go b/apis/express/v1alpha1/zz_routecircuit_types.go new file mode 100755 index 000000000..1992234f3 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuit_types.go @@ -0,0 +1,127 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RouteCircuitObservation struct { + ServiceProviderProvisioningState *string `json:"serviceProviderProvisioningState,omitempty" tf:"service_provider_provisioning_state,omitempty"` +} + +type RouteCircuitParameters struct { + + // +kubebuilder:validation:Optional + AllowClassicOperations *bool `json:"allowClassicOperations,omitempty" tf:"allow_classic_operations,omitempty"` + + // +kubebuilder:validation:Optional + BandwidthInGbps *float64 `json:"bandwidthInGbps,omitempty" tf:"bandwidth_in_gbps,omitempty"` + + // +kubebuilder:validation:Optional + BandwidthInMbps *int64 `json:"bandwidthInMbps,omitempty" tf:"bandwidth_in_mbps,omitempty"` + + // +kubebuilder:validation:Optional + ExpressRoutePortID *string `json:"expressRoutePortId,omitempty" tf:"express_route_port_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PeeringLocation *string `json:"peeringLocation,omitempty" tf:"peering_location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ServiceProviderName *string `json:"serviceProviderName,omitempty" tf:"service_provider_name,omitempty"` + + // +kubebuilder:validation:Required + Sku []SkuParameters `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type SkuObservation struct { +} + +type SkuParameters struct { + + // +kubebuilder:validation:Required + Family *string `json:"family" tf:"family,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +// RouteCircuitSpec defines the desired state of RouteCircuit +type RouteCircuitSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RouteCircuitParameters `json:"forProvider"` +} + +// RouteCircuitStatus defines the observed state of RouteCircuit. +type RouteCircuitStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RouteCircuitObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuit is the Schema for the RouteCircuits API +// +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,azurejet} +type RouteCircuit struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RouteCircuitSpec `json:"spec"` + Status RouteCircuitStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitList contains a list of RouteCircuits +type RouteCircuitList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RouteCircuit `json:"items"` +} + +// Repository type metadata. +var ( + RouteCircuit_Kind = "RouteCircuit" + RouteCircuit_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RouteCircuit_Kind}.String() + RouteCircuit_KindAPIVersion = RouteCircuit_Kind + "." + CRDGroupVersion.String() + RouteCircuit_GroupVersionKind = CRDGroupVersion.WithKind(RouteCircuit_Kind) +) + +func init() { + SchemeBuilder.Register(&RouteCircuit{}, &RouteCircuitList{}) +} diff --git a/apis/express/v1alpha1/zz_routecircuitauthorization_terraformed.go b/apis/express/v1alpha1/zz_routecircuitauthorization_terraformed.go new file mode 100755 index 000000000..cf5048d86 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuitauthorization_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RouteCircuitAuthorization +func (mg *RouteCircuitAuthorization) GetTerraformResourceType() string { + return "azurerm_express_route_circuit_authorization" +} + +// GetConnectionDetailsMapping for this RouteCircuitAuthorization +func (tr *RouteCircuitAuthorization) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"authorization_key": "status.atProvider.authorizationKey"} +} + +// GetObservation of this RouteCircuitAuthorization +func (tr *RouteCircuitAuthorization) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RouteCircuitAuthorization +func (tr *RouteCircuitAuthorization) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RouteCircuitAuthorization +func (tr *RouteCircuitAuthorization) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RouteCircuitAuthorization +func (tr *RouteCircuitAuthorization) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RouteCircuitAuthorization using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RouteCircuitAuthorization) LateInitialize(attrs []byte) (bool, error) { + params := &RouteCircuitAuthorizationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RouteCircuitAuthorization) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routecircuitauthorization_types.go b/apis/express/v1alpha1/zz_routecircuitauthorization_types.go new file mode 100755 index 000000000..3b2a5a923 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuitauthorization_types.go @@ -0,0 +1,91 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RouteCircuitAuthorizationObservation struct { + AuthorizationUseStatus *string `json:"authorizationUseStatus,omitempty" tf:"authorization_use_status,omitempty"` +} + +type RouteCircuitAuthorizationParameters struct { + + // +kubebuilder:validation:Required + ExpressRouteCircuitName *string `json:"expressRouteCircuitName" tf:"express_route_circuit_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RouteCircuitAuthorizationSpec defines the desired state of RouteCircuitAuthorization +type RouteCircuitAuthorizationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RouteCircuitAuthorizationParameters `json:"forProvider"` +} + +// RouteCircuitAuthorizationStatus defines the observed state of RouteCircuitAuthorization. +type RouteCircuitAuthorizationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RouteCircuitAuthorizationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitAuthorization is the Schema for the RouteCircuitAuthorizations API +// +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,azurejet} +type RouteCircuitAuthorization struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RouteCircuitAuthorizationSpec `json:"spec"` + Status RouteCircuitAuthorizationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitAuthorizationList contains a list of RouteCircuitAuthorizations +type RouteCircuitAuthorizationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RouteCircuitAuthorization `json:"items"` +} + +// Repository type metadata. +var ( + RouteCircuitAuthorization_Kind = "RouteCircuitAuthorization" + RouteCircuitAuthorization_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RouteCircuitAuthorization_Kind}.String() + RouteCircuitAuthorization_KindAPIVersion = RouteCircuitAuthorization_Kind + "." + CRDGroupVersion.String() + RouteCircuitAuthorization_GroupVersionKind = CRDGroupVersion.WithKind(RouteCircuitAuthorization_Kind) +) + +func init() { + SchemeBuilder.Register(&RouteCircuitAuthorization{}, &RouteCircuitAuthorizationList{}) +} diff --git a/apis/express/v1alpha1/zz_routecircuitconnection_terraformed.go b/apis/express/v1alpha1/zz_routecircuitconnection_terraformed.go new file mode 100755 index 000000000..03eb42fb4 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuitconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RouteCircuitConnection +func (mg *RouteCircuitConnection) GetTerraformResourceType() string { + return "azurerm_express_route_circuit_connection" +} + +// GetConnectionDetailsMapping for this RouteCircuitConnection +func (tr *RouteCircuitConnection) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"authorization_key": "spec.forProvider.authorizationKeySecretRef"} +} + +// GetObservation of this RouteCircuitConnection +func (tr *RouteCircuitConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RouteCircuitConnection +func (tr *RouteCircuitConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RouteCircuitConnection +func (tr *RouteCircuitConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RouteCircuitConnection +func (tr *RouteCircuitConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RouteCircuitConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RouteCircuitConnection) LateInitialize(attrs []byte) (bool, error) { + params := &RouteCircuitConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RouteCircuitConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routecircuitconnection_types.go b/apis/express/v1alpha1/zz_routecircuitconnection_types.go new file mode 100755 index 000000000..8f6757a85 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuitconnection_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RouteCircuitConnectionObservation struct { +} + +type RouteCircuitConnectionParameters struct { + + // +kubebuilder:validation:Required + AddressPrefixIPv4 *string `json:"addressPrefixIpv4" tf:"address_prefix_ipv4,omitempty"` + + // +kubebuilder:validation:Optional + AddressPrefixIPv6 *string `json:"addressPrefixIpv6,omitempty" tf:"address_prefix_ipv6,omitempty"` + + // +kubebuilder:validation:Optional + AuthorizationKeySecretRef *v1.SecretKeySelector `json:"authorizationKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PeerPeeringID *string `json:"peerPeeringId" tf:"peer_peering_id,omitempty"` + + // +kubebuilder:validation:Required + PeeringID *string `json:"peeringId" tf:"peering_id,omitempty"` +} + +// RouteCircuitConnectionSpec defines the desired state of RouteCircuitConnection +type RouteCircuitConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RouteCircuitConnectionParameters `json:"forProvider"` +} + +// RouteCircuitConnectionStatus defines the observed state of RouteCircuitConnection. +type RouteCircuitConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RouteCircuitConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitConnection is the Schema for the RouteCircuitConnections API +// +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,azurejet} +type RouteCircuitConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RouteCircuitConnectionSpec `json:"spec"` + Status RouteCircuitConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitConnectionList contains a list of RouteCircuitConnections +type RouteCircuitConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RouteCircuitConnection `json:"items"` +} + +// Repository type metadata. +var ( + RouteCircuitConnection_Kind = "RouteCircuitConnection" + RouteCircuitConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RouteCircuitConnection_Kind}.String() + RouteCircuitConnection_KindAPIVersion = RouteCircuitConnection_Kind + "." + CRDGroupVersion.String() + RouteCircuitConnection_GroupVersionKind = CRDGroupVersion.WithKind(RouteCircuitConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&RouteCircuitConnection{}, &RouteCircuitConnectionList{}) +} diff --git a/apis/express/v1alpha1/zz_routecircuitpeering_terraformed.go b/apis/express/v1alpha1/zz_routecircuitpeering_terraformed.go new file mode 100755 index 000000000..979e8a6b6 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuitpeering_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RouteCircuitPeering +func (mg *RouteCircuitPeering) GetTerraformResourceType() string { + return "azurerm_express_route_circuit_peering" +} + +// GetConnectionDetailsMapping for this RouteCircuitPeering +func (tr *RouteCircuitPeering) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"shared_key": "spec.forProvider.sharedKeySecretRef"} +} + +// GetObservation of this RouteCircuitPeering +func (tr *RouteCircuitPeering) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RouteCircuitPeering +func (tr *RouteCircuitPeering) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RouteCircuitPeering +func (tr *RouteCircuitPeering) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RouteCircuitPeering +func (tr *RouteCircuitPeering) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RouteCircuitPeering using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RouteCircuitPeering) LateInitialize(attrs []byte) (bool, error) { + params := &RouteCircuitPeeringParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RouteCircuitPeering) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routecircuitpeering_types.go b/apis/express/v1alpha1/zz_routecircuitpeering_types.go new file mode 100755 index 000000000..cb6693c52 --- /dev/null +++ b/apis/express/v1alpha1/zz_routecircuitpeering_types.go @@ -0,0 +1,167 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IPv6Observation struct { +} + +type IPv6Parameters struct { + + // +kubebuilder:validation:Required + MicrosoftPeering []MicrosoftPeeringParameters `json:"microsoftPeering" tf:"microsoft_peering,omitempty"` + + // +kubebuilder:validation:Required + PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix" tf:"primary_peer_address_prefix,omitempty"` + + // +kubebuilder:validation:Optional + RouteFilterID *string `json:"routeFilterId,omitempty" tf:"route_filter_id,omitempty"` + + // +kubebuilder:validation:Required + SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix" tf:"secondary_peer_address_prefix,omitempty"` +} + +type MicrosoftPeeringConfigObservation struct { +} + +type MicrosoftPeeringConfigParameters struct { + + // +kubebuilder:validation:Required + AdvertisedPublicPrefixes []*string `json:"advertisedPublicPrefixes" tf:"advertised_public_prefixes,omitempty"` + + // +kubebuilder:validation:Optional + CustomerAsn *int64 `json:"customerAsn,omitempty" tf:"customer_asn,omitempty"` + + // +kubebuilder:validation:Optional + RoutingRegistryName *string `json:"routingRegistryName,omitempty" tf:"routing_registry_name,omitempty"` +} + +type MicrosoftPeeringObservation struct { +} + +type MicrosoftPeeringParameters struct { + + // +kubebuilder:validation:Optional + AdvertisedPublicPrefixes []*string `json:"advertisedPublicPrefixes,omitempty" tf:"advertised_public_prefixes,omitempty"` + + // +kubebuilder:validation:Optional + CustomerAsn *int64 `json:"customerAsn,omitempty" tf:"customer_asn,omitempty"` + + // +kubebuilder:validation:Optional + RoutingRegistryName *string `json:"routingRegistryName,omitempty" tf:"routing_registry_name,omitempty"` +} + +type RouteCircuitPeeringObservation struct { + AzureAsn *int64 `json:"azureAsn,omitempty" tf:"azure_asn,omitempty"` + + PrimaryAzurePort *string `json:"primaryAzurePort,omitempty" tf:"primary_azure_port,omitempty"` + + SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty" tf:"secondary_azure_port,omitempty"` +} + +type RouteCircuitPeeringParameters struct { + + // +kubebuilder:validation:Required + ExpressRouteCircuitName *string `json:"expressRouteCircuitName" tf:"express_route_circuit_name,omitempty"` + + // +kubebuilder:validation:Optional + IPv6 []IPv6Parameters `json:"ipv6,omitempty" tf:"ipv6,omitempty"` + + // +kubebuilder:validation:Optional + MicrosoftPeeringConfig []MicrosoftPeeringConfigParameters `json:"microsoftPeeringConfig,omitempty" tf:"microsoft_peering_config,omitempty"` + + // +kubebuilder:validation:Optional + PeerAsn *int64 `json:"peerAsn,omitempty" tf:"peer_asn,omitempty"` + + // +kubebuilder:validation:Required + PeeringType *string `json:"peeringType" tf:"peering_type,omitempty"` + + // +kubebuilder:validation:Required + PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix" tf:"primary_peer_address_prefix,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RouteFilterID *string `json:"routeFilterId,omitempty" tf:"route_filter_id,omitempty"` + + // +kubebuilder:validation:Required + SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix" tf:"secondary_peer_address_prefix,omitempty"` + + // +kubebuilder:validation:Optional + SharedKeySecretRef *v1.SecretKeySelector `json:"sharedKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + VlanID *int64 `json:"vlanId" tf:"vlan_id,omitempty"` +} + +// RouteCircuitPeeringSpec defines the desired state of RouteCircuitPeering +type RouteCircuitPeeringSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RouteCircuitPeeringParameters `json:"forProvider"` +} + +// RouteCircuitPeeringStatus defines the observed state of RouteCircuitPeering. +type RouteCircuitPeeringStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RouteCircuitPeeringObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitPeering is the Schema for the RouteCircuitPeerings API +// +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,azurejet} +type RouteCircuitPeering struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RouteCircuitPeeringSpec `json:"spec"` + Status RouteCircuitPeeringStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteCircuitPeeringList contains a list of RouteCircuitPeerings +type RouteCircuitPeeringList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RouteCircuitPeering `json:"items"` +} + +// Repository type metadata. +var ( + RouteCircuitPeering_Kind = "RouteCircuitPeering" + RouteCircuitPeering_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RouteCircuitPeering_Kind}.String() + RouteCircuitPeering_KindAPIVersion = RouteCircuitPeering_Kind + "." + CRDGroupVersion.String() + RouteCircuitPeering_GroupVersionKind = CRDGroupVersion.WithKind(RouteCircuitPeering_Kind) +) + +func init() { + SchemeBuilder.Register(&RouteCircuitPeering{}, &RouteCircuitPeeringList{}) +} diff --git a/apis/express/v1alpha1/zz_routeconnection_terraformed.go b/apis/express/v1alpha1/zz_routeconnection_terraformed.go new file mode 100755 index 000000000..83e28702c --- /dev/null +++ b/apis/express/v1alpha1/zz_routeconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RouteConnection +func (mg *RouteConnection) GetTerraformResourceType() string { + return "azurerm_express_route_connection" +} + +// GetConnectionDetailsMapping for this RouteConnection +func (tr *RouteConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RouteConnection +func (tr *RouteConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RouteConnection +func (tr *RouteConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RouteConnection +func (tr *RouteConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RouteConnection +func (tr *RouteConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RouteConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RouteConnection) LateInitialize(attrs []byte) (bool, error) { + params := &RouteConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RouteConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routeconnection_types.go b/apis/express/v1alpha1/zz_routeconnection_types.go new file mode 100755 index 000000000..840a94242 --- /dev/null +++ b/apis/express/v1alpha1/zz_routeconnection_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PropagatedRouteTableObservation struct { +} + +type PropagatedRouteTableParameters struct { + + // +kubebuilder:validation:Optional + Labels []*string `json:"labels,omitempty" tf:"labels,omitempty"` + + // +kubebuilder:validation:Optional + RouteTableIds []*string `json:"routeTableIds,omitempty" tf:"route_table_ids,omitempty"` +} + +type RouteConnectionObservation struct { +} + +type RouteConnectionParameters struct { + + // +kubebuilder:validation:Optional + AuthorizationKey *string `json:"authorizationKey,omitempty" tf:"authorization_key,omitempty"` + + // +kubebuilder:validation:Optional + EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty" tf:"enable_internet_security,omitempty"` + + // +kubebuilder:validation:Required + ExpressRouteCircuitPeeringID *string `json:"expressRouteCircuitPeeringId" tf:"express_route_circuit_peering_id,omitempty"` + + // +kubebuilder:validation:Required + ExpressRouteGatewayID *string `json:"expressRouteGatewayId" tf:"express_route_gateway_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Routing []RoutingParameters `json:"routing,omitempty" tf:"routing,omitempty"` + + // +kubebuilder:validation:Optional + RoutingWeight *int64 `json:"routingWeight,omitempty" tf:"routing_weight,omitempty"` +} + +type RoutingObservation struct { +} + +type RoutingParameters struct { + + // +kubebuilder:validation:Optional + AssociatedRouteTableID *string `json:"associatedRouteTableId,omitempty" tf:"associated_route_table_id,omitempty"` + + // +kubebuilder:validation:Optional + PropagatedRouteTable []PropagatedRouteTableParameters `json:"propagatedRouteTable,omitempty" tf:"propagated_route_table,omitempty"` +} + +// RouteConnectionSpec defines the desired state of RouteConnection +type RouteConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RouteConnectionParameters `json:"forProvider"` +} + +// RouteConnectionStatus defines the observed state of RouteConnection. +type RouteConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RouteConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteConnection is the Schema for the RouteConnections API +// +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,azurejet} +type RouteConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RouteConnectionSpec `json:"spec"` + Status RouteConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteConnectionList contains a list of RouteConnections +type RouteConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RouteConnection `json:"items"` +} + +// Repository type metadata. +var ( + RouteConnection_Kind = "RouteConnection" + RouteConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RouteConnection_Kind}.String() + RouteConnection_KindAPIVersion = RouteConnection_Kind + "." + CRDGroupVersion.String() + RouteConnection_GroupVersionKind = CRDGroupVersion.WithKind(RouteConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&RouteConnection{}, &RouteConnectionList{}) +} diff --git a/apis/express/v1alpha1/zz_routegateway_terraformed.go b/apis/express/v1alpha1/zz_routegateway_terraformed.go new file mode 100755 index 000000000..9f4eee90f --- /dev/null +++ b/apis/express/v1alpha1/zz_routegateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RouteGateway +func (mg *RouteGateway) GetTerraformResourceType() string { + return "azurerm_express_route_gateway" +} + +// GetConnectionDetailsMapping for this RouteGateway +func (tr *RouteGateway) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RouteGateway +func (tr *RouteGateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RouteGateway +func (tr *RouteGateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RouteGateway +func (tr *RouteGateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RouteGateway +func (tr *RouteGateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RouteGateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RouteGateway) LateInitialize(attrs []byte) (bool, error) { + params := &RouteGatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RouteGateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routegateway_types.go b/apis/express/v1alpha1/zz_routegateway_types.go new file mode 100755 index 000000000..d1caebe06 --- /dev/null +++ b/apis/express/v1alpha1/zz_routegateway_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RouteGatewayObservation struct { +} + +type RouteGatewayParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ScaleUnits *int64 `json:"scaleUnits" tf:"scale_units,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualHubID *string `json:"virtualHubId" tf:"virtual_hub_id,omitempty"` +} + +// RouteGatewaySpec defines the desired state of RouteGateway +type RouteGatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RouteGatewayParameters `json:"forProvider"` +} + +// RouteGatewayStatus defines the observed state of RouteGateway. +type RouteGatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RouteGatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteGateway is the Schema for the RouteGateways API +// +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,azurejet} +type RouteGateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RouteGatewaySpec `json:"spec"` + Status RouteGatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RouteGatewayList contains a list of RouteGateways +type RouteGatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RouteGateway `json:"items"` +} + +// Repository type metadata. +var ( + RouteGateway_Kind = "RouteGateway" + RouteGateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RouteGateway_Kind}.String() + RouteGateway_KindAPIVersion = RouteGateway_Kind + "." + CRDGroupVersion.String() + RouteGateway_GroupVersionKind = CRDGroupVersion.WithKind(RouteGateway_Kind) +) + +func init() { + SchemeBuilder.Register(&RouteGateway{}, &RouteGatewayList{}) +} diff --git a/apis/express/v1alpha1/zz_routeport_terraformed.go b/apis/express/v1alpha1/zz_routeport_terraformed.go new file mode 100755 index 000000000..025727693 --- /dev/null +++ b/apis/express/v1alpha1/zz_routeport_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RoutePort +func (mg *RoutePort) GetTerraformResourceType() string { + return "azurerm_express_route_port" +} + +// GetConnectionDetailsMapping for this RoutePort +func (tr *RoutePort) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RoutePort +func (tr *RoutePort) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RoutePort +func (tr *RoutePort) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RoutePort +func (tr *RoutePort) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RoutePort +func (tr *RoutePort) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RoutePort using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RoutePort) LateInitialize(attrs []byte) (bool, error) { + params := &RoutePortParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RoutePort) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/express/v1alpha1/zz_routeport_types.go b/apis/express/v1alpha1/zz_routeport_types.go new file mode 100755 index 000000000..2ce174e38 --- /dev/null +++ b/apis/express/v1alpha1/zz_routeport_types.go @@ -0,0 +1,186 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type Link1Observation struct { + ConnectorType *string `json:"connectorType,omitempty" tf:"connector_type,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + InterfaceName *string `json:"interfaceName,omitempty" tf:"interface_name,omitempty"` + + PatchPanelID *string `json:"patchPanelId,omitempty" tf:"patch_panel_id,omitempty"` + + RackID *string `json:"rackId,omitempty" tf:"rack_id,omitempty"` + + RouterName *string `json:"routerName,omitempty" tf:"router_name,omitempty"` +} + +type Link1Parameters struct { + + // +kubebuilder:validation:Optional + AdminEnabled *bool `json:"adminEnabled,omitempty" tf:"admin_enabled,omitempty"` + + // +kubebuilder:validation:Optional + MacsecCakKeyvaultSecretID *string `json:"macsecCakKeyvaultSecretId,omitempty" tf:"macsec_cak_keyvault_secret_id,omitempty"` + + // +kubebuilder:validation:Optional + MacsecCipher *string `json:"macsecCipher,omitempty" tf:"macsec_cipher,omitempty"` + + // +kubebuilder:validation:Optional + MacsecCknKeyvaultSecretID *string `json:"macsecCknKeyvaultSecretId,omitempty" tf:"macsec_ckn_keyvault_secret_id,omitempty"` +} + +type Link2Observation struct { + ConnectorType *string `json:"connectorType,omitempty" tf:"connector_type,omitempty"` + + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + InterfaceName *string `json:"interfaceName,omitempty" tf:"interface_name,omitempty"` + + PatchPanelID *string `json:"patchPanelId,omitempty" tf:"patch_panel_id,omitempty"` + + RackID *string `json:"rackId,omitempty" tf:"rack_id,omitempty"` + + RouterName *string `json:"routerName,omitempty" tf:"router_name,omitempty"` +} + +type Link2Parameters struct { + + // +kubebuilder:validation:Optional + AdminEnabled *bool `json:"adminEnabled,omitempty" tf:"admin_enabled,omitempty"` + + // +kubebuilder:validation:Optional + MacsecCakKeyvaultSecretID *string `json:"macsecCakKeyvaultSecretId,omitempty" tf:"macsec_cak_keyvault_secret_id,omitempty"` + + // +kubebuilder:validation:Optional + MacsecCipher *string `json:"macsecCipher,omitempty" tf:"macsec_cipher,omitempty"` + + // +kubebuilder:validation:Optional + MacsecCknKeyvaultSecretID *string `json:"macsecCknKeyvaultSecretId,omitempty" tf:"macsec_ckn_keyvault_secret_id,omitempty"` +} + +type RoutePortObservation struct { + Ethertype *string `json:"ethertype,omitempty" tf:"ethertype,omitempty"` + + GUID *string `json:"guid,omitempty" tf:"guid,omitempty"` + + Mtu *string `json:"mtu,omitempty" tf:"mtu,omitempty"` +} + +type RoutePortParameters struct { + + // +kubebuilder:validation:Required + BandwidthInGbps *int64 `json:"bandwidthInGbps" tf:"bandwidth_in_gbps,omitempty"` + + // +kubebuilder:validation:Required + Encapsulation *string `json:"encapsulation" tf:"encapsulation,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + Link1 []Link1Parameters `json:"link1,omitempty" tf:"link1,omitempty"` + + // +kubebuilder:validation:Optional + Link2 []Link2Parameters `json:"link2,omitempty" tf:"link2,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PeeringLocation *string `json:"peeringLocation" tf:"peering_location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// RoutePortSpec defines the desired state of RoutePort +type RoutePortSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RoutePortParameters `json:"forProvider"` +} + +// RoutePortStatus defines the observed state of RoutePort. +type RoutePortStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RoutePortObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RoutePort is the Schema for the RoutePorts API +// +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,azurejet} +type RoutePort struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RoutePortSpec `json:"spec"` + Status RoutePortStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RoutePortList contains a list of RoutePorts +type RoutePortList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RoutePort `json:"items"` +} + +// Repository type metadata. +var ( + RoutePort_Kind = "RoutePort" + RoutePort_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RoutePort_Kind}.String() + RoutePort_KindAPIVersion = RoutePort_Kind + "." + CRDGroupVersion.String() + RoutePort_GroupVersionKind = CRDGroupVersion.WithKind(RoutePort_Kind) +) + +func init() { + SchemeBuilder.Register(&RoutePort{}, &RoutePortList{}) +} diff --git a/apis/firewall/v1alpha1/zz_applicationrulecollection_terraformed.go b/apis/firewall/v1alpha1/zz_applicationrulecollection_terraformed.go new file mode 100755 index 000000000..c7a7beffa --- /dev/null +++ b/apis/firewall/v1alpha1/zz_applicationrulecollection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ApplicationRuleCollection +func (mg *ApplicationRuleCollection) GetTerraformResourceType() string { + return "azurerm_firewall_application_rule_collection" +} + +// GetConnectionDetailsMapping for this ApplicationRuleCollection +func (tr *ApplicationRuleCollection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ApplicationRuleCollection +func (tr *ApplicationRuleCollection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ApplicationRuleCollection +func (tr *ApplicationRuleCollection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ApplicationRuleCollection +func (tr *ApplicationRuleCollection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ApplicationRuleCollection +func (tr *ApplicationRuleCollection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ApplicationRuleCollection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ApplicationRuleCollection) LateInitialize(attrs []byte) (bool, error) { + params := &ApplicationRuleCollectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ApplicationRuleCollection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/firewall/v1alpha1/zz_applicationrulecollection_types.go b/apis/firewall/v1alpha1/zz_applicationrulecollection_types.go new file mode 100755 index 000000000..dffbd18f8 --- /dev/null +++ b/apis/firewall/v1alpha1/zz_applicationrulecollection_types.go @@ -0,0 +1,138 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationRuleCollectionObservation struct { +} + +type ApplicationRuleCollectionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + AzureFirewallName *string `json:"azureFirewallName" tf:"azure_firewall_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Rule []RuleParameters `json:"rule" tf:"rule,omitempty"` +} + +type ProtocolObservation struct { +} + +type ProtocolParameters struct { + + // +kubebuilder:validation:Optional + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type RuleObservation struct { +} + +type RuleParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + FqdnTags []*string `json:"fqdnTags,omitempty" tf:"fqdn_tags,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Protocol []ProtocolParameters `json:"protocol,omitempty" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` + + // +kubebuilder:validation:Optional + TargetFqdns []*string `json:"targetFqdns,omitempty" tf:"target_fqdns,omitempty"` +} + +// ApplicationRuleCollectionSpec defines the desired state of ApplicationRuleCollection +type ApplicationRuleCollectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ApplicationRuleCollectionParameters `json:"forProvider"` +} + +// ApplicationRuleCollectionStatus defines the observed state of ApplicationRuleCollection. +type ApplicationRuleCollectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ApplicationRuleCollectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationRuleCollection is the Schema for the ApplicationRuleCollections API +// +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,azurejet} +type ApplicationRuleCollection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ApplicationRuleCollectionSpec `json:"spec"` + Status ApplicationRuleCollectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationRuleCollectionList contains a list of ApplicationRuleCollections +type ApplicationRuleCollectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ApplicationRuleCollection `json:"items"` +} + +// Repository type metadata. +var ( + ApplicationRuleCollection_Kind = "ApplicationRuleCollection" + ApplicationRuleCollection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ApplicationRuleCollection_Kind}.String() + ApplicationRuleCollection_KindAPIVersion = ApplicationRuleCollection_Kind + "." + CRDGroupVersion.String() + ApplicationRuleCollection_GroupVersionKind = CRDGroupVersion.WithKind(ApplicationRuleCollection_Kind) +) + +func init() { + SchemeBuilder.Register(&ApplicationRuleCollection{}, &ApplicationRuleCollectionList{}) +} diff --git a/apis/firewall/v1alpha1/zz_generated.deepcopy.go b/apis/firewall/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..21d638aff --- /dev/null +++ b/apis/firewall/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2168 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollection) DeepCopyInto(out *ApplicationRuleCollection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollection. +func (in *ApplicationRuleCollection) DeepCopy() *ApplicationRuleCollection { + if in == nil { + return nil + } + out := new(ApplicationRuleCollection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationRuleCollection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionList) DeepCopyInto(out *ApplicationRuleCollectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ApplicationRuleCollection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionList. +func (in *ApplicationRuleCollectionList) DeepCopy() *ApplicationRuleCollectionList { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationRuleCollectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionObservation) DeepCopyInto(out *ApplicationRuleCollectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionObservation. +func (in *ApplicationRuleCollectionObservation) DeepCopy() *ApplicationRuleCollectionObservation { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionParameters) DeepCopyInto(out *ApplicationRuleCollectionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.AzureFirewallName != nil { + in, out := &in.AzureFirewallName, &out.AzureFirewallName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]RuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionParameters. +func (in *ApplicationRuleCollectionParameters) DeepCopy() *ApplicationRuleCollectionParameters { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionRuleObservation) DeepCopyInto(out *ApplicationRuleCollectionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionRuleObservation. +func (in *ApplicationRuleCollectionRuleObservation) DeepCopy() *ApplicationRuleCollectionRuleObservation { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionRuleParameters) DeepCopyInto(out *ApplicationRuleCollectionRuleParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationFqdnTags != nil { + in, out := &in.DestinationFqdnTags, &out.DestinationFqdnTags + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationFqdns != nil { + in, out := &in.DestinationFqdns, &out.DestinationFqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationUrls != nil { + in, out := &in.DestinationUrls, &out.DestinationUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]ProtocolsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TerminateTLS != nil { + in, out := &in.TerminateTLS, &out.TerminateTLS + *out = new(bool) + **out = **in + } + if in.WebCategories != nil { + in, out := &in.WebCategories, &out.WebCategories + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionRuleParameters. +func (in *ApplicationRuleCollectionRuleParameters) DeepCopy() *ApplicationRuleCollectionRuleParameters { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionSpec) DeepCopyInto(out *ApplicationRuleCollectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionSpec. +func (in *ApplicationRuleCollectionSpec) DeepCopy() *ApplicationRuleCollectionSpec { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationRuleCollectionStatus) DeepCopyInto(out *ApplicationRuleCollectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRuleCollectionStatus. +func (in *ApplicationRuleCollectionStatus) DeepCopy() *ApplicationRuleCollectionStatus { + if in == nil { + return nil + } + out := new(ApplicationRuleCollectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSObservation) DeepCopyInto(out *DNSObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSObservation. +func (in *DNSObservation) DeepCopy() *DNSObservation { + if in == nil { + return nil + } + out := new(DNSObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSParameters) DeepCopyInto(out *DNSParameters) { + *out = *in + if in.NetworkRuleFqdnEnabled != nil { + in, out := &in.NetworkRuleFqdnEnabled, &out.NetworkRuleFqdnEnabled + *out = new(bool) + **out = **in + } + if in.ProxyEnabled != nil { + in, out := &in.ProxyEnabled, &out.ProxyEnabled + *out = new(bool) + **out = **in + } + if in.Servers != nil { + in, out := &in.Servers, &out.Servers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSParameters. +func (in *DNSParameters) DeepCopy() *DNSParameters { + if in == nil { + return nil + } + out := new(DNSParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.UserAssignedIdentityIds != nil { + in, out := &in.UserAssignedIdentityIds, &out.UserAssignedIdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntrusionDetectionObservation) DeepCopyInto(out *IntrusionDetectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntrusionDetectionObservation. +func (in *IntrusionDetectionObservation) DeepCopy() *IntrusionDetectionObservation { + if in == nil { + return nil + } + out := new(IntrusionDetectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntrusionDetectionParameters) DeepCopyInto(out *IntrusionDetectionParameters) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.SignatureOverrides != nil { + in, out := &in.SignatureOverrides, &out.SignatureOverrides + *out = make([]SignatureOverridesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrafficBypass != nil { + in, out := &in.TrafficBypass, &out.TrafficBypass + *out = make([]TrafficBypassParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntrusionDetectionParameters. +func (in *IntrusionDetectionParameters) DeepCopy() *IntrusionDetectionParameters { + if in == nil { + return nil + } + out := new(IntrusionDetectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollection) DeepCopyInto(out *NatRuleCollection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollection. +func (in *NatRuleCollection) DeepCopy() *NatRuleCollection { + if in == nil { + return nil + } + out := new(NatRuleCollection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NatRuleCollection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionList) DeepCopyInto(out *NatRuleCollectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NatRuleCollection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionList. +func (in *NatRuleCollectionList) DeepCopy() *NatRuleCollectionList { + if in == nil { + return nil + } + out := new(NatRuleCollectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NatRuleCollectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionObservation) DeepCopyInto(out *NatRuleCollectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionObservation. +func (in *NatRuleCollectionObservation) DeepCopy() *NatRuleCollectionObservation { + if in == nil { + return nil + } + out := new(NatRuleCollectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionParameters) DeepCopyInto(out *NatRuleCollectionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.AzureFirewallName != nil { + in, out := &in.AzureFirewallName, &out.AzureFirewallName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]NatRuleCollectionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionParameters. +func (in *NatRuleCollectionParameters) DeepCopy() *NatRuleCollectionParameters { + if in == nil { + return nil + } + out := new(NatRuleCollectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionRuleObservation) DeepCopyInto(out *NatRuleCollectionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionRuleObservation. +func (in *NatRuleCollectionRuleObservation) DeepCopy() *NatRuleCollectionRuleObservation { + if in == nil { + return nil + } + out := new(NatRuleCollectionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionRuleParameters) DeepCopyInto(out *NatRuleCollectionRuleParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationPorts != nil { + in, out := &in.DestinationPorts, &out.DestinationPorts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TranslatedAddress != nil { + in, out := &in.TranslatedAddress, &out.TranslatedAddress + *out = new(string) + **out = **in + } + if in.TranslatedPort != nil { + in, out := &in.TranslatedPort, &out.TranslatedPort + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionRuleParameters. +func (in *NatRuleCollectionRuleParameters) DeepCopy() *NatRuleCollectionRuleParameters { + if in == nil { + return nil + } + out := new(NatRuleCollectionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionSpec) DeepCopyInto(out *NatRuleCollectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionSpec. +func (in *NatRuleCollectionSpec) DeepCopy() *NatRuleCollectionSpec { + if in == nil { + return nil + } + out := new(NatRuleCollectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleCollectionStatus) DeepCopyInto(out *NatRuleCollectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleCollectionStatus. +func (in *NatRuleCollectionStatus) DeepCopy() *NatRuleCollectionStatus { + if in == nil { + return nil + } + out := new(NatRuleCollectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollection) DeepCopyInto(out *NetworkRuleCollection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollection. +func (in *NetworkRuleCollection) DeepCopy() *NetworkRuleCollection { + if in == nil { + return nil + } + out := new(NetworkRuleCollection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkRuleCollection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionList) DeepCopyInto(out *NetworkRuleCollectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkRuleCollection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionList. +func (in *NetworkRuleCollectionList) DeepCopy() *NetworkRuleCollectionList { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkRuleCollectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionObservation) DeepCopyInto(out *NetworkRuleCollectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionObservation. +func (in *NetworkRuleCollectionObservation) DeepCopy() *NetworkRuleCollectionObservation { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionParameters) DeepCopyInto(out *NetworkRuleCollectionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.AzureFirewallName != nil { + in, out := &in.AzureFirewallName, &out.AzureFirewallName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]NetworkRuleCollectionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionParameters. +func (in *NetworkRuleCollectionParameters) DeepCopy() *NetworkRuleCollectionParameters { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionRuleObservation) DeepCopyInto(out *NetworkRuleCollectionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionRuleObservation. +func (in *NetworkRuleCollectionRuleObservation) DeepCopy() *NetworkRuleCollectionRuleObservation { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionRuleParameters) DeepCopyInto(out *NetworkRuleCollectionRuleParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationFqdns != nil { + in, out := &in.DestinationFqdns, &out.DestinationFqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationIPGroups != nil { + in, out := &in.DestinationIPGroups, &out.DestinationIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationPorts != nil { + in, out := &in.DestinationPorts, &out.DestinationPorts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionRuleParameters. +func (in *NetworkRuleCollectionRuleParameters) DeepCopy() *NetworkRuleCollectionRuleParameters { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionSpec) DeepCopyInto(out *NetworkRuleCollectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionSpec. +func (in *NetworkRuleCollectionSpec) DeepCopy() *NetworkRuleCollectionSpec { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRuleCollectionStatus) DeepCopyInto(out *NetworkRuleCollectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRuleCollectionStatus. +func (in *NetworkRuleCollectionStatus) DeepCopy() *NetworkRuleCollectionStatus { + if in == nil { + return nil + } + out := new(NetworkRuleCollectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Policy) DeepCopyInto(out *Policy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { + return nil + } + out := new(Policy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyList) DeepCopyInto(out *PolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Policy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. +func (in *PolicyList) DeepCopy() *PolicyList { + if in == nil { + return nil + } + out := new(PolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation) { + *out = *in + if in.ChildPolicies != nil { + in, out := &in.ChildPolicies, &out.ChildPolicies + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Firewalls != nil { + in, out := &in.Firewalls, &out.Firewalls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RuleCollectionGroups != nil { + in, out := &in.RuleCollectionGroups, &out.RuleCollectionGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation. +func (in *PolicyObservation) DeepCopy() *PolicyObservation { + if in == nil { + return nil + } + out := new(PolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters) { + *out = *in + if in.BasePolicyID != nil { + in, out := &in.BasePolicyID, &out.BasePolicyID + *out = new(string) + **out = **in + } + if in.DNS != nil { + in, out := &in.DNS, &out.DNS + *out = make([]DNSParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IntrusionDetection != nil { + in, out := &in.IntrusionDetection, &out.IntrusionDetection + *out = make([]IntrusionDetectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateIPRanges != nil { + in, out := &in.PrivateIPRanges, &out.PrivateIPRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.TLSCertificate != nil { + in, out := &in.TLSCertificate, &out.TLSCertificate + *out = make([]TLSCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ThreatIntelligenceAllowlist != nil { + in, out := &in.ThreatIntelligenceAllowlist, &out.ThreatIntelligenceAllowlist + *out = make([]ThreatIntelligenceAllowlistParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ThreatIntelligenceMode != nil { + in, out := &in.ThreatIntelligenceMode, &out.ThreatIntelligenceMode + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters. +func (in *PolicyParameters) DeepCopy() *PolicyParameters { + if in == nil { + return nil + } + out := new(PolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroup) DeepCopyInto(out *PolicyRuleCollectionGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroup. +func (in *PolicyRuleCollectionGroup) DeepCopy() *PolicyRuleCollectionGroup { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyRuleCollectionGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupApplicationRuleCollectionObservation) DeepCopyInto(out *PolicyRuleCollectionGroupApplicationRuleCollectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupApplicationRuleCollectionObservation. +func (in *PolicyRuleCollectionGroupApplicationRuleCollectionObservation) DeepCopy() *PolicyRuleCollectionGroupApplicationRuleCollectionObservation { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupApplicationRuleCollectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupApplicationRuleCollectionParameters) DeepCopyInto(out *PolicyRuleCollectionGroupApplicationRuleCollectionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]ApplicationRuleCollectionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupApplicationRuleCollectionParameters. +func (in *PolicyRuleCollectionGroupApplicationRuleCollectionParameters) DeepCopy() *PolicyRuleCollectionGroupApplicationRuleCollectionParameters { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupApplicationRuleCollectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupList) DeepCopyInto(out *PolicyRuleCollectionGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PolicyRuleCollectionGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupList. +func (in *PolicyRuleCollectionGroupList) DeepCopy() *PolicyRuleCollectionGroupList { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyRuleCollectionGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNatRuleCollectionObservation) DeepCopyInto(out *PolicyRuleCollectionGroupNatRuleCollectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNatRuleCollectionObservation. +func (in *PolicyRuleCollectionGroupNatRuleCollectionObservation) DeepCopy() *PolicyRuleCollectionGroupNatRuleCollectionObservation { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNatRuleCollectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNatRuleCollectionParameters) DeepCopyInto(out *PolicyRuleCollectionGroupNatRuleCollectionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]PolicyRuleCollectionGroupNatRuleCollectionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNatRuleCollectionParameters. +func (in *PolicyRuleCollectionGroupNatRuleCollectionParameters) DeepCopy() *PolicyRuleCollectionGroupNatRuleCollectionParameters { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNatRuleCollectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNatRuleCollectionRuleObservation) DeepCopyInto(out *PolicyRuleCollectionGroupNatRuleCollectionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNatRuleCollectionRuleObservation. +func (in *PolicyRuleCollectionGroupNatRuleCollectionRuleObservation) DeepCopy() *PolicyRuleCollectionGroupNatRuleCollectionRuleObservation { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNatRuleCollectionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNatRuleCollectionRuleParameters) DeepCopyInto(out *PolicyRuleCollectionGroupNatRuleCollectionRuleParameters) { + *out = *in + if in.DestinationAddress != nil { + in, out := &in.DestinationAddress, &out.DestinationAddress + *out = new(string) + **out = **in + } + if in.DestinationPorts != nil { + in, out := &in.DestinationPorts, &out.DestinationPorts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TranslatedAddress != nil { + in, out := &in.TranslatedAddress, &out.TranslatedAddress + *out = new(string) + **out = **in + } + if in.TranslatedPort != nil { + in, out := &in.TranslatedPort, &out.TranslatedPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNatRuleCollectionRuleParameters. +func (in *PolicyRuleCollectionGroupNatRuleCollectionRuleParameters) DeepCopy() *PolicyRuleCollectionGroupNatRuleCollectionRuleParameters { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNatRuleCollectionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionObservation) DeepCopyInto(out *PolicyRuleCollectionGroupNetworkRuleCollectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNetworkRuleCollectionObservation. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionObservation) DeepCopy() *PolicyRuleCollectionGroupNetworkRuleCollectionObservation { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNetworkRuleCollectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionParameters) DeepCopyInto(out *PolicyRuleCollectionGroupNetworkRuleCollectionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNetworkRuleCollectionParameters. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionParameters) DeepCopy() *PolicyRuleCollectionGroupNetworkRuleCollectionParameters { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNetworkRuleCollectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation) DeepCopyInto(out *PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation) DeepCopy() *PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters) DeepCopyInto(out *PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters) { + *out = *in + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationFqdns != nil { + in, out := &in.DestinationFqdns, &out.DestinationFqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationIPGroups != nil { + in, out := &in.DestinationIPGroups, &out.DestinationIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationPorts != nil { + in, out := &in.DestinationPorts, &out.DestinationPorts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters. +func (in *PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters) DeepCopy() *PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupObservation) DeepCopyInto(out *PolicyRuleCollectionGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupObservation. +func (in *PolicyRuleCollectionGroupObservation) DeepCopy() *PolicyRuleCollectionGroupObservation { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupParameters) DeepCopyInto(out *PolicyRuleCollectionGroupParameters) { + *out = *in + if in.ApplicationRuleCollection != nil { + in, out := &in.ApplicationRuleCollection, &out.ApplicationRuleCollection + *out = make([]PolicyRuleCollectionGroupApplicationRuleCollectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FirewallPolicyID != nil { + in, out := &in.FirewallPolicyID, &out.FirewallPolicyID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NatRuleCollection != nil { + in, out := &in.NatRuleCollection, &out.NatRuleCollection + *out = make([]PolicyRuleCollectionGroupNatRuleCollectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkRuleCollection != nil { + in, out := &in.NetworkRuleCollection, &out.NetworkRuleCollection + *out = make([]PolicyRuleCollectionGroupNetworkRuleCollectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupParameters. +func (in *PolicyRuleCollectionGroupParameters) DeepCopy() *PolicyRuleCollectionGroupParameters { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupSpec) DeepCopyInto(out *PolicyRuleCollectionGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupSpec. +func (in *PolicyRuleCollectionGroupSpec) DeepCopy() *PolicyRuleCollectionGroupSpec { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyRuleCollectionGroupStatus) DeepCopyInto(out *PolicyRuleCollectionGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRuleCollectionGroupStatus. +func (in *PolicyRuleCollectionGroupStatus) DeepCopy() *PolicyRuleCollectionGroupStatus { + if in == nil { + return nil + } + out := new(PolicyRuleCollectionGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. +func (in *PolicySpec) DeepCopy() *PolicySpec { + if in == nil { + return nil + } + out := new(PolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. +func (in *PolicyStatus) DeepCopy() *PolicyStatus { + if in == nil { + return nil + } + out := new(PolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtocolObservation) DeepCopyInto(out *ProtocolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolObservation. +func (in *ProtocolObservation) DeepCopy() *ProtocolObservation { + if in == nil { + return nil + } + out := new(ProtocolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtocolParameters) DeepCopyInto(out *ProtocolParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolParameters. +func (in *ProtocolParameters) DeepCopy() *ProtocolParameters { + if in == nil { + return nil + } + out := new(ProtocolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtocolsObservation) DeepCopyInto(out *ProtocolsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolsObservation. +func (in *ProtocolsObservation) DeepCopy() *ProtocolsObservation { + if in == nil { + return nil + } + out := new(ProtocolsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProtocolsParameters) DeepCopyInto(out *ProtocolsParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolsParameters. +func (in *ProtocolsParameters) DeepCopy() *ProtocolsParameters { + if in == nil { + return nil + } + out := new(ProtocolsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { + if in == nil { + return nil + } + out := new(RuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FqdnTags != nil { + in, out := &in.FqdnTags, &out.FqdnTags + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = make([]ProtocolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TargetFqdns != nil { + in, out := &in.TargetFqdns, &out.TargetFqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { + if in == nil { + return nil + } + out := new(RuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SignatureOverridesObservation) DeepCopyInto(out *SignatureOverridesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignatureOverridesObservation. +func (in *SignatureOverridesObservation) DeepCopy() *SignatureOverridesObservation { + if in == nil { + return nil + } + out := new(SignatureOverridesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SignatureOverridesParameters) DeepCopyInto(out *SignatureOverridesParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignatureOverridesParameters. +func (in *SignatureOverridesParameters) DeepCopy() *SignatureOverridesParameters { + if in == nil { + return nil + } + out := new(SignatureOverridesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TLSCertificateObservation) DeepCopyInto(out *TLSCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSCertificateObservation. +func (in *TLSCertificateObservation) DeepCopy() *TLSCertificateObservation { + if in == nil { + return nil + } + out := new(TLSCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TLSCertificateParameters) DeepCopyInto(out *TLSCertificateParameters) { + *out = *in + if in.KeyVaultSecretID != nil { + in, out := &in.KeyVaultSecretID, &out.KeyVaultSecretID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSCertificateParameters. +func (in *TLSCertificateParameters) DeepCopy() *TLSCertificateParameters { + if in == nil { + return nil + } + out := new(TLSCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatIntelligenceAllowlistObservation) DeepCopyInto(out *ThreatIntelligenceAllowlistObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatIntelligenceAllowlistObservation. +func (in *ThreatIntelligenceAllowlistObservation) DeepCopy() *ThreatIntelligenceAllowlistObservation { + if in == nil { + return nil + } + out := new(ThreatIntelligenceAllowlistObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatIntelligenceAllowlistParameters) DeepCopyInto(out *ThreatIntelligenceAllowlistParameters) { + *out = *in + if in.Fqdns != nil { + in, out := &in.Fqdns, &out.Fqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPAddresses != nil { + in, out := &in.IPAddresses, &out.IPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatIntelligenceAllowlistParameters. +func (in *ThreatIntelligenceAllowlistParameters) DeepCopy() *ThreatIntelligenceAllowlistParameters { + if in == nil { + return nil + } + out := new(ThreatIntelligenceAllowlistParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficBypassObservation) DeepCopyInto(out *TrafficBypassObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficBypassObservation. +func (in *TrafficBypassObservation) DeepCopy() *TrafficBypassObservation { + if in == nil { + return nil + } + out := new(TrafficBypassObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficBypassParameters) DeepCopyInto(out *TrafficBypassParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DestinationAddresses != nil { + in, out := &in.DestinationAddresses, &out.DestinationAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationIPGroups != nil { + in, out := &in.DestinationIPGroups, &out.DestinationIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationPorts != nil { + in, out := &in.DestinationPorts, &out.DestinationPorts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.SourceAddresses != nil { + in, out := &in.SourceAddresses, &out.SourceAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceIPGroups != nil { + in, out := &in.SourceIPGroups, &out.SourceIPGroups + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficBypassParameters. +func (in *TrafficBypassParameters) DeepCopy() *TrafficBypassParameters { + if in == nil { + return nil + } + out := new(TrafficBypassParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/firewall/v1alpha1/zz_generated.managed.go b/apis/firewall/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..d185bc0ba --- /dev/null +++ b/apis/firewall/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ApplicationRuleCollection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ApplicationRuleCollection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ApplicationRuleCollection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ApplicationRuleCollection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ApplicationRuleCollection. +func (mg *ApplicationRuleCollection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NatRuleCollection. +func (mg *NatRuleCollection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NatRuleCollection. +func (mg *NatRuleCollection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NatRuleCollection. +func (mg *NatRuleCollection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NatRuleCollection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NatRuleCollection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NatRuleCollection. +func (mg *NatRuleCollection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NatRuleCollection. +func (mg *NatRuleCollection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NatRuleCollection. +func (mg *NatRuleCollection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NatRuleCollection. +func (mg *NatRuleCollection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NatRuleCollection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NatRuleCollection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NatRuleCollection. +func (mg *NatRuleCollection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NetworkRuleCollection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NetworkRuleCollection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NetworkRuleCollection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NetworkRuleCollection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NetworkRuleCollection. +func (mg *NetworkRuleCollection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Policy. +func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Policy. +func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Policy. +func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Policy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Policy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Policy. +func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Policy. +func (mg *Policy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Policy. +func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Policy. +func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Policy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Policy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Policy. +func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PolicyRuleCollectionGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PolicyRuleCollectionGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PolicyRuleCollectionGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PolicyRuleCollectionGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyRuleCollectionGroup. +func (mg *PolicyRuleCollectionGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/firewall/v1alpha1/zz_generated.managedlist.go b/apis/firewall/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..ce0848b26 --- /dev/null +++ b/apis/firewall/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ApplicationRuleCollectionList. +func (l *ApplicationRuleCollectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NatRuleCollectionList. +func (l *NatRuleCollectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NetworkRuleCollectionList. +func (l *NetworkRuleCollectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyList. +func (l *PolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PolicyRuleCollectionGroupList. +func (l *PolicyRuleCollectionGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/firewall/v1alpha1/zz_groupversion_info.go b/apis/firewall/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..05625a69d --- /dev/null +++ b/apis/firewall/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=firewall.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "firewall.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/firewall/v1alpha1/zz_natrulecollection_terraformed.go b/apis/firewall/v1alpha1/zz_natrulecollection_terraformed.go new file mode 100755 index 000000000..fe9f8a4c1 --- /dev/null +++ b/apis/firewall/v1alpha1/zz_natrulecollection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NatRuleCollection +func (mg *NatRuleCollection) GetTerraformResourceType() string { + return "azurerm_firewall_nat_rule_collection" +} + +// GetConnectionDetailsMapping for this NatRuleCollection +func (tr *NatRuleCollection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NatRuleCollection +func (tr *NatRuleCollection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NatRuleCollection +func (tr *NatRuleCollection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NatRuleCollection +func (tr *NatRuleCollection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NatRuleCollection +func (tr *NatRuleCollection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NatRuleCollection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NatRuleCollection) LateInitialize(attrs []byte) (bool, error) { + params := &NatRuleCollectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NatRuleCollection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/firewall/v1alpha1/zz_natrulecollection_types.go b/apis/firewall/v1alpha1/zz_natrulecollection_types.go new file mode 100755 index 000000000..79d83040d --- /dev/null +++ b/apis/firewall/v1alpha1/zz_natrulecollection_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NatRuleCollectionObservation struct { +} + +type NatRuleCollectionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + AzureFirewallName *string `json:"azureFirewallName" tf:"azure_firewall_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Rule []NatRuleCollectionRuleParameters `json:"rule" tf:"rule,omitempty"` +} + +type NatRuleCollectionRuleObservation struct { +} + +type NatRuleCollectionRuleParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DestinationAddresses []*string `json:"destinationAddresses" tf:"destination_addresses,omitempty"` + + // +kubebuilder:validation:Required + DestinationPorts []*string `json:"destinationPorts" tf:"destination_ports,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocols []*string `json:"protocols" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` + + // +kubebuilder:validation:Required + TranslatedAddress *string `json:"translatedAddress" tf:"translated_address,omitempty"` + + // +kubebuilder:validation:Required + TranslatedPort *string `json:"translatedPort" tf:"translated_port,omitempty"` +} + +// NatRuleCollectionSpec defines the desired state of NatRuleCollection +type NatRuleCollectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NatRuleCollectionParameters `json:"forProvider"` +} + +// NatRuleCollectionStatus defines the observed state of NatRuleCollection. +type NatRuleCollectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NatRuleCollectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NatRuleCollection is the Schema for the NatRuleCollections API +// +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,azurejet} +type NatRuleCollection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NatRuleCollectionSpec `json:"spec"` + Status NatRuleCollectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NatRuleCollectionList contains a list of NatRuleCollections +type NatRuleCollectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NatRuleCollection `json:"items"` +} + +// Repository type metadata. +var ( + NatRuleCollection_Kind = "NatRuleCollection" + NatRuleCollection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NatRuleCollection_Kind}.String() + NatRuleCollection_KindAPIVersion = NatRuleCollection_Kind + "." + CRDGroupVersion.String() + NatRuleCollection_GroupVersionKind = CRDGroupVersion.WithKind(NatRuleCollection_Kind) +) + +func init() { + SchemeBuilder.Register(&NatRuleCollection{}, &NatRuleCollectionList{}) +} diff --git a/apis/firewall/v1alpha1/zz_networkrulecollection_terraformed.go b/apis/firewall/v1alpha1/zz_networkrulecollection_terraformed.go new file mode 100755 index 000000000..792fac656 --- /dev/null +++ b/apis/firewall/v1alpha1/zz_networkrulecollection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NetworkRuleCollection +func (mg *NetworkRuleCollection) GetTerraformResourceType() string { + return "azurerm_firewall_network_rule_collection" +} + +// GetConnectionDetailsMapping for this NetworkRuleCollection +func (tr *NetworkRuleCollection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NetworkRuleCollection +func (tr *NetworkRuleCollection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NetworkRuleCollection +func (tr *NetworkRuleCollection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NetworkRuleCollection +func (tr *NetworkRuleCollection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NetworkRuleCollection +func (tr *NetworkRuleCollection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NetworkRuleCollection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NetworkRuleCollection) LateInitialize(attrs []byte) (bool, error) { + params := &NetworkRuleCollectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NetworkRuleCollection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/firewall/v1alpha1/zz_networkrulecollection_types.go b/apis/firewall/v1alpha1/zz_networkrulecollection_types.go new file mode 100755 index 000000000..9e560cc60 --- /dev/null +++ b/apis/firewall/v1alpha1/zz_networkrulecollection_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NetworkRuleCollectionObservation struct { +} + +type NetworkRuleCollectionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + AzureFirewallName *string `json:"azureFirewallName" tf:"azure_firewall_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Rule []NetworkRuleCollectionRuleParameters `json:"rule" tf:"rule,omitempty"` +} + +type NetworkRuleCollectionRuleObservation struct { +} + +type NetworkRuleCollectionRuleParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DestinationAddresses []*string `json:"destinationAddresses,omitempty" tf:"destination_addresses,omitempty"` + + // +kubebuilder:validation:Optional + DestinationFqdns []*string `json:"destinationFqdns,omitempty" tf:"destination_fqdns,omitempty"` + + // +kubebuilder:validation:Optional + DestinationIPGroups []*string `json:"destinationIpGroups,omitempty" tf:"destination_ip_groups,omitempty"` + + // +kubebuilder:validation:Required + DestinationPorts []*string `json:"destinationPorts" tf:"destination_ports,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocols []*string `json:"protocols" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` +} + +// NetworkRuleCollectionSpec defines the desired state of NetworkRuleCollection +type NetworkRuleCollectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NetworkRuleCollectionParameters `json:"forProvider"` +} + +// NetworkRuleCollectionStatus defines the observed state of NetworkRuleCollection. +type NetworkRuleCollectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NetworkRuleCollectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NetworkRuleCollection is the Schema for the NetworkRuleCollections API +// +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,azurejet} +type NetworkRuleCollection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NetworkRuleCollectionSpec `json:"spec"` + Status NetworkRuleCollectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NetworkRuleCollectionList contains a list of NetworkRuleCollections +type NetworkRuleCollectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NetworkRuleCollection `json:"items"` +} + +// Repository type metadata. +var ( + NetworkRuleCollection_Kind = "NetworkRuleCollection" + NetworkRuleCollection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NetworkRuleCollection_Kind}.String() + NetworkRuleCollection_KindAPIVersion = NetworkRuleCollection_Kind + "." + CRDGroupVersion.String() + NetworkRuleCollection_GroupVersionKind = CRDGroupVersion.WithKind(NetworkRuleCollection_Kind) +) + +func init() { + SchemeBuilder.Register(&NetworkRuleCollection{}, &NetworkRuleCollectionList{}) +} diff --git a/apis/firewall/v1alpha1/zz_policy_terraformed.go b/apis/firewall/v1alpha1/zz_policy_terraformed.go new file mode 100755 index 000000000..1a744c94d --- /dev/null +++ b/apis/firewall/v1alpha1/zz_policy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Policy +func (mg *Policy) GetTerraformResourceType() string { + return "azurerm_firewall_policy" +} + +// GetConnectionDetailsMapping for this Policy +func (tr *Policy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Policy +func (tr *Policy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Policy +func (tr *Policy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Policy +func (tr *Policy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Policy +func (tr *Policy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Policy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Policy) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Policy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/firewall/v1alpha1/zz_policy_types.go b/apis/firewall/v1alpha1/zz_policy_types.go new file mode 100755 index 000000000..dd6798212 --- /dev/null +++ b/apis/firewall/v1alpha1/zz_policy_types.go @@ -0,0 +1,236 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DNSObservation struct { +} + +type DNSParameters struct { + + // +kubebuilder:validation:Optional + NetworkRuleFqdnEnabled *bool `json:"networkRuleFqdnEnabled,omitempty" tf:"network_rule_fqdn_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ProxyEnabled *bool `json:"proxyEnabled,omitempty" tf:"proxy_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Servers []*string `json:"servers,omitempty" tf:"servers,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + UserAssignedIdentityIds []*string `json:"userAssignedIdentityIds,omitempty" tf:"user_assigned_identity_ids,omitempty"` +} + +type IntrusionDetectionObservation struct { +} + +type IntrusionDetectionParameters struct { + + // +kubebuilder:validation:Optional + Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` + + // +kubebuilder:validation:Optional + SignatureOverrides []SignatureOverridesParameters `json:"signatureOverrides,omitempty" tf:"signature_overrides,omitempty"` + + // +kubebuilder:validation:Optional + TrafficBypass []TrafficBypassParameters `json:"trafficBypass,omitempty" tf:"traffic_bypass,omitempty"` +} + +type PolicyObservation struct { + ChildPolicies []*string `json:"childPolicies,omitempty" tf:"child_policies,omitempty"` + + Firewalls []*string `json:"firewalls,omitempty" tf:"firewalls,omitempty"` + + RuleCollectionGroups []*string `json:"ruleCollectionGroups,omitempty" tf:"rule_collection_groups,omitempty"` +} + +type PolicyParameters struct { + + // +kubebuilder:validation:Optional + BasePolicyID *string `json:"basePolicyId,omitempty" tf:"base_policy_id,omitempty"` + + // +kubebuilder:validation:Optional + DNS []DNSParameters `json:"dns,omitempty" tf:"dns,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + IntrusionDetection []IntrusionDetectionParameters `json:"intrusionDetection,omitempty" tf:"intrusion_detection,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPRanges []*string `json:"privateIpRanges,omitempty" tf:"private_ip_ranges,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + TLSCertificate []TLSCertificateParameters `json:"tlsCertificate,omitempty" tf:"tls_certificate,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ThreatIntelligenceAllowlist []ThreatIntelligenceAllowlistParameters `json:"threatIntelligenceAllowlist,omitempty" tf:"threat_intelligence_allowlist,omitempty"` + + // +kubebuilder:validation:Optional + ThreatIntelligenceMode *string `json:"threatIntelligenceMode,omitempty" tf:"threat_intelligence_mode,omitempty"` +} + +type SignatureOverridesObservation struct { +} + +type SignatureOverridesParameters struct { + + // +kubebuilder:validation:Optional + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // +kubebuilder:validation:Optional + State *string `json:"state,omitempty" tf:"state,omitempty"` +} + +type TLSCertificateObservation struct { +} + +type TLSCertificateParameters struct { + + // +kubebuilder:validation:Required + KeyVaultSecretID *string `json:"keyVaultSecretId" tf:"key_vault_secret_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ThreatIntelligenceAllowlistObservation struct { +} + +type ThreatIntelligenceAllowlistParameters struct { + + // +kubebuilder:validation:Optional + Fqdns []*string `json:"fqdns,omitempty" tf:"fqdns,omitempty"` + + // +kubebuilder:validation:Optional + IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` +} + +type TrafficBypassObservation struct { +} + +type TrafficBypassParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DestinationAddresses []*string `json:"destinationAddresses,omitempty" tf:"destination_addresses,omitempty"` + + // +kubebuilder:validation:Optional + DestinationIPGroups []*string `json:"destinationIpGroups,omitempty" tf:"destination_ip_groups,omitempty"` + + // +kubebuilder:validation:Optional + DestinationPorts []*string `json:"destinationPorts,omitempty" tf:"destination_ports,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` +} + +// PolicySpec defines the desired state of Policy +type PolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyParameters `json:"forProvider"` +} + +// PolicyStatus defines the observed state of Policy. +type PolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Policy is the Schema for the Policys API +// +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,azurejet} +type Policy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PolicySpec `json:"spec"` + Status PolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyList contains a list of Policys +type PolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Policy `json:"items"` +} + +// Repository type metadata. +var ( + Policy_Kind = "Policy" + Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String() + Policy_KindAPIVersion = Policy_Kind + "." + CRDGroupVersion.String() + Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind) +) + +func init() { + SchemeBuilder.Register(&Policy{}, &PolicyList{}) +} diff --git a/apis/firewall/v1alpha1/zz_policyrulecollectiongroup_terraformed.go b/apis/firewall/v1alpha1/zz_policyrulecollectiongroup_terraformed.go new file mode 100755 index 000000000..f8df2c57c --- /dev/null +++ b/apis/firewall/v1alpha1/zz_policyrulecollectiongroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyRuleCollectionGroup +func (mg *PolicyRuleCollectionGroup) GetTerraformResourceType() string { + return "azurerm_firewall_policy_rule_collection_group" +} + +// GetConnectionDetailsMapping for this PolicyRuleCollectionGroup +func (tr *PolicyRuleCollectionGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyRuleCollectionGroup +func (tr *PolicyRuleCollectionGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyRuleCollectionGroup +func (tr *PolicyRuleCollectionGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PolicyRuleCollectionGroup +func (tr *PolicyRuleCollectionGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyRuleCollectionGroup +func (tr *PolicyRuleCollectionGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PolicyRuleCollectionGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyRuleCollectionGroup) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyRuleCollectionGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyRuleCollectionGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/firewall/v1alpha1/zz_policyrulecollectiongroup_types.go b/apis/firewall/v1alpha1/zz_policyrulecollectiongroup_types.go new file mode 100755 index 000000000..82211ed8a --- /dev/null +++ b/apis/firewall/v1alpha1/zz_policyrulecollectiongroup_types.go @@ -0,0 +1,264 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationRuleCollectionRuleObservation struct { +} + +type ApplicationRuleCollectionRuleParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DestinationAddresses []*string `json:"destinationAddresses,omitempty" tf:"destination_addresses,omitempty"` + + // +kubebuilder:validation:Optional + DestinationFqdnTags []*string `json:"destinationFqdnTags,omitempty" tf:"destination_fqdn_tags,omitempty"` + + // +kubebuilder:validation:Optional + DestinationFqdns []*string `json:"destinationFqdns,omitempty" tf:"destination_fqdns,omitempty"` + + // +kubebuilder:validation:Optional + DestinationUrls []*string `json:"destinationUrls,omitempty" tf:"destination_urls,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Protocols []ProtocolsParameters `json:"protocols,omitempty" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` + + // +kubebuilder:validation:Optional + TerminateTLS *bool `json:"terminateTls,omitempty" tf:"terminate_tls,omitempty"` + + // +kubebuilder:validation:Optional + WebCategories []*string `json:"webCategories,omitempty" tf:"web_categories,omitempty"` +} + +type PolicyRuleCollectionGroupApplicationRuleCollectionObservation struct { +} + +type PolicyRuleCollectionGroupApplicationRuleCollectionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + Rule []ApplicationRuleCollectionRuleParameters `json:"rule" tf:"rule,omitempty"` +} + +type PolicyRuleCollectionGroupNatRuleCollectionObservation struct { +} + +type PolicyRuleCollectionGroupNatRuleCollectionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + Rule []PolicyRuleCollectionGroupNatRuleCollectionRuleParameters `json:"rule" tf:"rule,omitempty"` +} + +type PolicyRuleCollectionGroupNatRuleCollectionRuleObservation struct { +} + +type PolicyRuleCollectionGroupNatRuleCollectionRuleParameters struct { + + // +kubebuilder:validation:Optional + DestinationAddress *string `json:"destinationAddress,omitempty" tf:"destination_address,omitempty"` + + // +kubebuilder:validation:Optional + DestinationPorts []*string `json:"destinationPorts,omitempty" tf:"destination_ports,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocols []*string `json:"protocols" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` + + // +kubebuilder:validation:Required + TranslatedAddress *string `json:"translatedAddress" tf:"translated_address,omitempty"` + + // +kubebuilder:validation:Required + TranslatedPort *int64 `json:"translatedPort" tf:"translated_port,omitempty"` +} + +type PolicyRuleCollectionGroupNetworkRuleCollectionObservation struct { +} + +type PolicyRuleCollectionGroupNetworkRuleCollectionParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + Rule []PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters `json:"rule" tf:"rule,omitempty"` +} + +type PolicyRuleCollectionGroupNetworkRuleCollectionRuleObservation struct { +} + +type PolicyRuleCollectionGroupNetworkRuleCollectionRuleParameters struct { + + // +kubebuilder:validation:Optional + DestinationAddresses []*string `json:"destinationAddresses,omitempty" tf:"destination_addresses,omitempty"` + + // +kubebuilder:validation:Optional + DestinationFqdns []*string `json:"destinationFqdns,omitempty" tf:"destination_fqdns,omitempty"` + + // +kubebuilder:validation:Optional + DestinationIPGroups []*string `json:"destinationIpGroups,omitempty" tf:"destination_ip_groups,omitempty"` + + // +kubebuilder:validation:Required + DestinationPorts []*string `json:"destinationPorts" tf:"destination_ports,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocols []*string `json:"protocols" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddresses []*string `json:"sourceAddresses,omitempty" tf:"source_addresses,omitempty"` + + // +kubebuilder:validation:Optional + SourceIPGroups []*string `json:"sourceIpGroups,omitempty" tf:"source_ip_groups,omitempty"` +} + +type PolicyRuleCollectionGroupObservation struct { +} + +type PolicyRuleCollectionGroupParameters struct { + + // +kubebuilder:validation:Optional + ApplicationRuleCollection []PolicyRuleCollectionGroupApplicationRuleCollectionParameters `json:"applicationRuleCollection,omitempty" tf:"application_rule_collection,omitempty"` + + // +kubebuilder:validation:Required + FirewallPolicyID *string `json:"firewallPolicyId" tf:"firewall_policy_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NatRuleCollection []PolicyRuleCollectionGroupNatRuleCollectionParameters `json:"natRuleCollection,omitempty" tf:"nat_rule_collection,omitempty"` + + // +kubebuilder:validation:Optional + NetworkRuleCollection []PolicyRuleCollectionGroupNetworkRuleCollectionParameters `json:"networkRuleCollection,omitempty" tf:"network_rule_collection,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` +} + +type ProtocolsObservation struct { +} + +type ProtocolsParameters struct { + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// PolicyRuleCollectionGroupSpec defines the desired state of PolicyRuleCollectionGroup +type PolicyRuleCollectionGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyRuleCollectionGroupParameters `json:"forProvider"` +} + +// PolicyRuleCollectionGroupStatus defines the observed state of PolicyRuleCollectionGroup. +type PolicyRuleCollectionGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyRuleCollectionGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyRuleCollectionGroup is the Schema for the PolicyRuleCollectionGroups API +// +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,azurejet} +type PolicyRuleCollectionGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PolicyRuleCollectionGroupSpec `json:"spec"` + Status PolicyRuleCollectionGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyRuleCollectionGroupList contains a list of PolicyRuleCollectionGroups +type PolicyRuleCollectionGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyRuleCollectionGroup `json:"items"` +} + +// Repository type metadata. +var ( + PolicyRuleCollectionGroup_Kind = "PolicyRuleCollectionGroup" + PolicyRuleCollectionGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyRuleCollectionGroup_Kind}.String() + PolicyRuleCollectionGroup_KindAPIVersion = PolicyRuleCollectionGroup_Kind + "." + CRDGroupVersion.String() + PolicyRuleCollectionGroup_GroupVersionKind = CRDGroupVersion.WithKind(PolicyRuleCollectionGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyRuleCollectionGroup{}, &PolicyRuleCollectionGroupList{}) +} diff --git a/apis/frontdoor/v1alpha1/zz_customhttpsconfiguration_terraformed.go b/apis/frontdoor/v1alpha1/zz_customhttpsconfiguration_terraformed.go new file mode 100755 index 000000000..3efabbb52 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_customhttpsconfiguration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CustomHttpsConfiguration +func (mg *CustomHttpsConfiguration) GetTerraformResourceType() string { + return "azurerm_frontdoor_custom_https_configuration" +} + +// GetConnectionDetailsMapping for this CustomHttpsConfiguration +func (tr *CustomHttpsConfiguration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CustomHttpsConfiguration +func (tr *CustomHttpsConfiguration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CustomHttpsConfiguration +func (tr *CustomHttpsConfiguration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CustomHttpsConfiguration +func (tr *CustomHttpsConfiguration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CustomHttpsConfiguration +func (tr *CustomHttpsConfiguration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CustomHttpsConfiguration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CustomHttpsConfiguration) LateInitialize(attrs []byte) (bool, error) { + params := &CustomHttpsConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CustomHttpsConfiguration) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/frontdoor/v1alpha1/zz_customhttpsconfiguration_types.go b/apis/frontdoor/v1alpha1/zz_customhttpsconfiguration_types.go new file mode 100755 index 000000000..918f73d32 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_customhttpsconfiguration_types.go @@ -0,0 +1,113 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CustomHTTPSConfigurationObservation struct { + MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"` + + ProvisioningState *string `json:"provisioningState,omitempty" tf:"provisioning_state,omitempty"` + + ProvisioningSubstate *string `json:"provisioningSubstate,omitempty" tf:"provisioning_substate,omitempty"` +} + +type CustomHTTPSConfigurationParameters struct { + + // +kubebuilder:validation:Optional + AzureKeyVaultCertificateSecretName *string `json:"azureKeyVaultCertificateSecretName,omitempty" tf:"azure_key_vault_certificate_secret_name,omitempty"` + + // +kubebuilder:validation:Optional + AzureKeyVaultCertificateSecretVersion *string `json:"azureKeyVaultCertificateSecretVersion,omitempty" tf:"azure_key_vault_certificate_secret_version,omitempty"` + + // +kubebuilder:validation:Optional + AzureKeyVaultCertificateVaultID *string `json:"azureKeyVaultCertificateVaultId,omitempty" tf:"azure_key_vault_certificate_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + CertificateSource *string `json:"certificateSource,omitempty" tf:"certificate_source,omitempty"` +} + +type CustomHttpsConfigurationObservation struct { +} + +type CustomHttpsConfigurationParameters struct { + + // +kubebuilder:validation:Optional + CustomHTTPSConfiguration []CustomHTTPSConfigurationParameters `json:"customHttpsConfiguration,omitempty" tf:"custom_https_configuration,omitempty"` + + // +kubebuilder:validation:Required + CustomHTTPSProvisioningEnabled *bool `json:"customHttpsProvisioningEnabled" tf:"custom_https_provisioning_enabled,omitempty"` + + // +kubebuilder:validation:Required + FrontendEndpointID *string `json:"frontendEndpointId" tf:"frontend_endpoint_id,omitempty"` +} + +// CustomHttpsConfigurationSpec defines the desired state of CustomHttpsConfiguration +type CustomHttpsConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CustomHttpsConfigurationParameters `json:"forProvider"` +} + +// CustomHttpsConfigurationStatus defines the observed state of CustomHttpsConfiguration. +type CustomHttpsConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CustomHttpsConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CustomHttpsConfiguration is the Schema for the CustomHttpsConfigurations API +// +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,azurejet} +type CustomHttpsConfiguration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CustomHttpsConfigurationSpec `json:"spec"` + Status CustomHttpsConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CustomHttpsConfigurationList contains a list of CustomHttpsConfigurations +type CustomHttpsConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CustomHttpsConfiguration `json:"items"` +} + +// Repository type metadata. +var ( + CustomHttpsConfiguration_Kind = "CustomHttpsConfiguration" + CustomHttpsConfiguration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CustomHttpsConfiguration_Kind}.String() + CustomHttpsConfiguration_KindAPIVersion = CustomHttpsConfiguration_Kind + "." + CRDGroupVersion.String() + CustomHttpsConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(CustomHttpsConfiguration_Kind) +) + +func init() { + SchemeBuilder.Register(&CustomHttpsConfiguration{}, &CustomHttpsConfigurationList{}) +} diff --git a/apis/frontdoor/v1alpha1/zz_firewallpolicy_terraformed.go b/apis/frontdoor/v1alpha1/zz_firewallpolicy_terraformed.go new file mode 100755 index 000000000..c0f2c6731 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_firewallpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallPolicy +func (mg *FirewallPolicy) GetTerraformResourceType() string { + return "azurerm_frontdoor_firewall_policy" +} + +// GetConnectionDetailsMapping for this FirewallPolicy +func (tr *FirewallPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallPolicy +func (tr *FirewallPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallPolicy +func (tr *FirewallPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallPolicy +func (tr *FirewallPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallPolicy +func (tr *FirewallPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallPolicy) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/frontdoor/v1alpha1/zz_firewallpolicy_types.go b/apis/frontdoor/v1alpha1/zz_firewallpolicy_types.go new file mode 100755 index 000000000..f5e34dcfe --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_firewallpolicy_types.go @@ -0,0 +1,264 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CustomRuleObservation struct { +} + +type CustomRuleParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + MatchCondition []MatchConditionParameters `json:"matchCondition,omitempty" tf:"match_condition,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + RateLimitDurationInMinutes *int64 `json:"rateLimitDurationInMinutes,omitempty" tf:"rate_limit_duration_in_minutes,omitempty"` + + // +kubebuilder:validation:Optional + RateLimitThreshold *int64 `json:"rateLimitThreshold,omitempty" tf:"rate_limit_threshold,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ExclusionObservation struct { +} + +type ExclusionParameters struct { + + // +kubebuilder:validation:Required + MatchVariable *string `json:"matchVariable" tf:"match_variable,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` +} + +type FirewallPolicyObservation struct { + FrontendEndpointIds []*string `json:"frontendEndpointIds,omitempty" tf:"frontend_endpoint_ids,omitempty"` + + Location *string `json:"location,omitempty" tf:"location,omitempty"` +} + +type FirewallPolicyParameters struct { + + // +kubebuilder:validation:Optional + CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty" tf:"custom_block_response_body,omitempty"` + + // +kubebuilder:validation:Optional + CustomBlockResponseStatusCode *int64 `json:"customBlockResponseStatusCode,omitempty" tf:"custom_block_response_status_code,omitempty"` + + // +kubebuilder:validation:Optional + CustomRule []CustomRuleParameters `json:"customRule,omitempty" tf:"custom_rule,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + ManagedRule []ManagedRuleParameters `json:"managedRule,omitempty" tf:"managed_rule,omitempty"` + + // +kubebuilder:validation:Optional + Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RedirectURL *string `json:"redirectUrl,omitempty" tf:"redirect_url,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type ManagedRuleObservation struct { +} + +type ManagedRuleParameters struct { + + // +kubebuilder:validation:Optional + Exclusion []ExclusionParameters `json:"exclusion,omitempty" tf:"exclusion,omitempty"` + + // +kubebuilder:validation:Optional + Override []OverrideParameters `json:"override,omitempty" tf:"override,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type MatchConditionObservation struct { +} + +type MatchConditionParameters struct { + + // +kubebuilder:validation:Required + MatchValues []*string `json:"matchValues" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Required + MatchVariable *string `json:"matchVariable" tf:"match_variable,omitempty"` + + // +kubebuilder:validation:Optional + NegationCondition *bool `json:"negationCondition,omitempty" tf:"negation_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Selector *string `json:"selector,omitempty" tf:"selector,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type OverrideExclusionObservation struct { +} + +type OverrideExclusionParameters struct { + + // +kubebuilder:validation:Required + MatchVariable *string `json:"matchVariable" tf:"match_variable,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` +} + +type OverrideObservation struct { +} + +type OverrideParameters struct { + + // +kubebuilder:validation:Optional + Exclusion []OverrideExclusionParameters `json:"exclusion,omitempty" tf:"exclusion,omitempty"` + + // +kubebuilder:validation:Optional + Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` + + // +kubebuilder:validation:Required + RuleGroupName *string `json:"ruleGroupName" tf:"rule_group_name,omitempty"` +} + +type RuleExclusionObservation struct { +} + +type RuleExclusionParameters struct { + + // +kubebuilder:validation:Required + MatchVariable *string `json:"matchVariable" tf:"match_variable,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` +} + +type RuleObservation struct { +} + +type RuleParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Exclusion []RuleExclusionParameters `json:"exclusion,omitempty" tf:"exclusion,omitempty"` + + // +kubebuilder:validation:Required + RuleID *string `json:"ruleId" tf:"rule_id,omitempty"` +} + +// FirewallPolicySpec defines the desired state of FirewallPolicy +type FirewallPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallPolicyParameters `json:"forProvider"` +} + +// FirewallPolicyStatus defines the observed state of FirewallPolicy. +type FirewallPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallPolicy is the Schema for the FirewallPolicys API +// +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,azurejet} +type FirewallPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallPolicySpec `json:"spec"` + Status FirewallPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallPolicyList contains a list of FirewallPolicys +type FirewallPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallPolicy `json:"items"` +} + +// Repository type metadata. +var ( + FirewallPolicy_Kind = "FirewallPolicy" + FirewallPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallPolicy_Kind}.String() + FirewallPolicy_KindAPIVersion = FirewallPolicy_Kind + "." + CRDGroupVersion.String() + FirewallPolicy_GroupVersionKind = CRDGroupVersion.WithKind(FirewallPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallPolicy{}, &FirewallPolicyList{}) +} diff --git a/apis/frontdoor/v1alpha1/zz_generated.deepcopy.go b/apis/frontdoor/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..38acb9654 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1282 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionObservation) DeepCopyInto(out *ActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionObservation. +func (in *ActionObservation) DeepCopy() *ActionObservation { + if in == nil { + return nil + } + out := new(ActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { + *out = *in + if in.RequestHeader != nil { + in, out := &in.RequestHeader, &out.RequestHeader + *out = make([]RequestHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResponseHeader != nil { + in, out := &in.ResponseHeader, &out.ResponseHeader + *out = make([]ResponseHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionParameters. +func (in *ActionParameters) DeepCopy() *ActionParameters { + if in == nil { + return nil + } + out := new(ActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHTTPSConfigurationObservation) DeepCopyInto(out *CustomHTTPSConfigurationObservation) { + *out = *in + if in.MinimumTLSVersion != nil { + in, out := &in.MinimumTLSVersion, &out.MinimumTLSVersion + *out = new(string) + **out = **in + } + if in.ProvisioningState != nil { + in, out := &in.ProvisioningState, &out.ProvisioningState + *out = new(string) + **out = **in + } + if in.ProvisioningSubstate != nil { + in, out := &in.ProvisioningSubstate, &out.ProvisioningSubstate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHTTPSConfigurationObservation. +func (in *CustomHTTPSConfigurationObservation) DeepCopy() *CustomHTTPSConfigurationObservation { + if in == nil { + return nil + } + out := new(CustomHTTPSConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHTTPSConfigurationParameters) DeepCopyInto(out *CustomHTTPSConfigurationParameters) { + *out = *in + if in.AzureKeyVaultCertificateSecretName != nil { + in, out := &in.AzureKeyVaultCertificateSecretName, &out.AzureKeyVaultCertificateSecretName + *out = new(string) + **out = **in + } + if in.AzureKeyVaultCertificateSecretVersion != nil { + in, out := &in.AzureKeyVaultCertificateSecretVersion, &out.AzureKeyVaultCertificateSecretVersion + *out = new(string) + **out = **in + } + if in.AzureKeyVaultCertificateVaultID != nil { + in, out := &in.AzureKeyVaultCertificateVaultID, &out.AzureKeyVaultCertificateVaultID + *out = new(string) + **out = **in + } + if in.CertificateSource != nil { + in, out := &in.CertificateSource, &out.CertificateSource + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHTTPSConfigurationParameters. +func (in *CustomHTTPSConfigurationParameters) DeepCopy() *CustomHTTPSConfigurationParameters { + if in == nil { + return nil + } + out := new(CustomHTTPSConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHttpsConfiguration) DeepCopyInto(out *CustomHttpsConfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHttpsConfiguration. +func (in *CustomHttpsConfiguration) DeepCopy() *CustomHttpsConfiguration { + if in == nil { + return nil + } + out := new(CustomHttpsConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CustomHttpsConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHttpsConfigurationList) DeepCopyInto(out *CustomHttpsConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CustomHttpsConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHttpsConfigurationList. +func (in *CustomHttpsConfigurationList) DeepCopy() *CustomHttpsConfigurationList { + if in == nil { + return nil + } + out := new(CustomHttpsConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CustomHttpsConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHttpsConfigurationObservation) DeepCopyInto(out *CustomHttpsConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHttpsConfigurationObservation. +func (in *CustomHttpsConfigurationObservation) DeepCopy() *CustomHttpsConfigurationObservation { + if in == nil { + return nil + } + out := new(CustomHttpsConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHttpsConfigurationParameters) DeepCopyInto(out *CustomHttpsConfigurationParameters) { + *out = *in + if in.CustomHTTPSConfiguration != nil { + in, out := &in.CustomHTTPSConfiguration, &out.CustomHTTPSConfiguration + *out = make([]CustomHTTPSConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomHTTPSProvisioningEnabled != nil { + in, out := &in.CustomHTTPSProvisioningEnabled, &out.CustomHTTPSProvisioningEnabled + *out = new(bool) + **out = **in + } + if in.FrontendEndpointID != nil { + in, out := &in.FrontendEndpointID, &out.FrontendEndpointID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHttpsConfigurationParameters. +func (in *CustomHttpsConfigurationParameters) DeepCopy() *CustomHttpsConfigurationParameters { + if in == nil { + return nil + } + out := new(CustomHttpsConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHttpsConfigurationSpec) DeepCopyInto(out *CustomHttpsConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHttpsConfigurationSpec. +func (in *CustomHttpsConfigurationSpec) DeepCopy() *CustomHttpsConfigurationSpec { + if in == nil { + return nil + } + out := new(CustomHttpsConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHttpsConfigurationStatus) DeepCopyInto(out *CustomHttpsConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHttpsConfigurationStatus. +func (in *CustomHttpsConfigurationStatus) DeepCopy() *CustomHttpsConfigurationStatus { + if in == nil { + return nil + } + out := new(CustomHttpsConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomRuleObservation) DeepCopyInto(out *CustomRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleObservation. +func (in *CustomRuleObservation) DeepCopy() *CustomRuleObservation { + if in == nil { + return nil + } + out := new(CustomRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomRuleParameters) DeepCopyInto(out *CustomRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.MatchCondition != nil { + in, out := &in.MatchCondition, &out.MatchCondition + *out = make([]MatchConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.RateLimitDurationInMinutes != nil { + in, out := &in.RateLimitDurationInMinutes, &out.RateLimitDurationInMinutes + *out = new(int64) + **out = **in + } + if in.RateLimitThreshold != nil { + in, out := &in.RateLimitThreshold, &out.RateLimitThreshold + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRuleParameters. +func (in *CustomRuleParameters) DeepCopy() *CustomRuleParameters { + if in == nil { + return nil + } + out := new(CustomRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExclusionObservation) DeepCopyInto(out *ExclusionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionObservation. +func (in *ExclusionObservation) DeepCopy() *ExclusionObservation { + if in == nil { + return nil + } + out := new(ExclusionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExclusionParameters) DeepCopyInto(out *ExclusionParameters) { + *out = *in + if in.MatchVariable != nil { + in, out := &in.MatchVariable, &out.MatchVariable + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionParameters. +func (in *ExclusionParameters) DeepCopy() *ExclusionParameters { + if in == nil { + return nil + } + out := new(ExclusionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallPolicy) DeepCopyInto(out *FirewallPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicy. +func (in *FirewallPolicy) DeepCopy() *FirewallPolicy { + if in == nil { + return nil + } + out := new(FirewallPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallPolicyList) DeepCopyInto(out *FirewallPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyList. +func (in *FirewallPolicyList) DeepCopy() *FirewallPolicyList { + if in == nil { + return nil + } + out := new(FirewallPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallPolicyObservation) DeepCopyInto(out *FirewallPolicyObservation) { + *out = *in + if in.FrontendEndpointIds != nil { + in, out := &in.FrontendEndpointIds, &out.FrontendEndpointIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyObservation. +func (in *FirewallPolicyObservation) DeepCopy() *FirewallPolicyObservation { + if in == nil { + return nil + } + out := new(FirewallPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallPolicyParameters) DeepCopyInto(out *FirewallPolicyParameters) { + *out = *in + if in.CustomBlockResponseBody != nil { + in, out := &in.CustomBlockResponseBody, &out.CustomBlockResponseBody + *out = new(string) + **out = **in + } + if in.CustomBlockResponseStatusCode != nil { + in, out := &in.CustomBlockResponseStatusCode, &out.CustomBlockResponseStatusCode + *out = new(int64) + **out = **in + } + if in.CustomRule != nil { + in, out := &in.CustomRule, &out.CustomRule + *out = make([]CustomRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.ManagedRule != nil { + in, out := &in.ManagedRule, &out.ManagedRule + *out = make([]ManagedRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RedirectURL != nil { + in, out := &in.RedirectURL, &out.RedirectURL + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyParameters. +func (in *FirewallPolicyParameters) DeepCopy() *FirewallPolicyParameters { + if in == nil { + return nil + } + out := new(FirewallPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallPolicySpec) DeepCopyInto(out *FirewallPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicySpec. +func (in *FirewallPolicySpec) DeepCopy() *FirewallPolicySpec { + if in == nil { + return nil + } + out := new(FirewallPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallPolicyStatus) DeepCopyInto(out *FirewallPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyStatus. +func (in *FirewallPolicyStatus) DeepCopy() *FirewallPolicyStatus { + if in == nil { + return nil + } + out := new(FirewallPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedRuleObservation) DeepCopyInto(out *ManagedRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleObservation. +func (in *ManagedRuleObservation) DeepCopy() *ManagedRuleObservation { + if in == nil { + return nil + } + out := new(ManagedRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedRuleParameters) DeepCopyInto(out *ManagedRuleParameters) { + *out = *in + if in.Exclusion != nil { + in, out := &in.Exclusion, &out.Exclusion + *out = make([]ExclusionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Override != nil { + in, out := &in.Override, &out.Override + *out = make([]OverrideParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleParameters. +func (in *ManagedRuleParameters) DeepCopy() *ManagedRuleParameters { + if in == nil { + return nil + } + out := new(ManagedRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchConditionObservation) DeepCopyInto(out *MatchConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchConditionObservation. +func (in *MatchConditionObservation) DeepCopy() *MatchConditionObservation { + if in == nil { + return nil + } + out := new(MatchConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchConditionParameters) DeepCopyInto(out *MatchConditionParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MatchVariable != nil { + in, out := &in.MatchVariable, &out.MatchVariable + *out = new(string) + **out = **in + } + if in.NegationCondition != nil { + in, out := &in.NegationCondition, &out.NegationCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchConditionParameters. +func (in *MatchConditionParameters) DeepCopy() *MatchConditionParameters { + if in == nil { + return nil + } + out := new(MatchConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideExclusionObservation) DeepCopyInto(out *OverrideExclusionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideExclusionObservation. +func (in *OverrideExclusionObservation) DeepCopy() *OverrideExclusionObservation { + if in == nil { + return nil + } + out := new(OverrideExclusionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideExclusionParameters) DeepCopyInto(out *OverrideExclusionParameters) { + *out = *in + if in.MatchVariable != nil { + in, out := &in.MatchVariable, &out.MatchVariable + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideExclusionParameters. +func (in *OverrideExclusionParameters) DeepCopy() *OverrideExclusionParameters { + if in == nil { + return nil + } + out := new(OverrideExclusionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideObservation) DeepCopyInto(out *OverrideObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideObservation. +func (in *OverrideObservation) DeepCopy() *OverrideObservation { + if in == nil { + return nil + } + out := new(OverrideObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OverrideParameters) DeepCopyInto(out *OverrideParameters) { + *out = *in + if in.Exclusion != nil { + in, out := &in.Exclusion, &out.Exclusion + *out = make([]OverrideExclusionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]RuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuleGroupName != nil { + in, out := &in.RuleGroupName, &out.RuleGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideParameters. +func (in *OverrideParameters) DeepCopy() *OverrideParameters { + if in == nil { + return nil + } + out := new(OverrideParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderObservation) DeepCopyInto(out *RequestHeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderObservation. +func (in *RequestHeaderObservation) DeepCopy() *RequestHeaderObservation { + if in == nil { + return nil + } + out := new(RequestHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderParameters) DeepCopyInto(out *RequestHeaderParameters) { + *out = *in + if in.HeaderActionType != nil { + in, out := &in.HeaderActionType, &out.HeaderActionType + *out = new(string) + **out = **in + } + if in.HeaderName != nil { + in, out := &in.HeaderName, &out.HeaderName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderParameters. +func (in *RequestHeaderParameters) DeepCopy() *RequestHeaderParameters { + if in == nil { + return nil + } + out := new(RequestHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseHeaderObservation) DeepCopyInto(out *ResponseHeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseHeaderObservation. +func (in *ResponseHeaderObservation) DeepCopy() *ResponseHeaderObservation { + if in == nil { + return nil + } + out := new(ResponseHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResponseHeaderParameters) DeepCopyInto(out *ResponseHeaderParameters) { + *out = *in + if in.HeaderActionType != nil { + in, out := &in.HeaderActionType, &out.HeaderActionType + *out = new(string) + **out = **in + } + if in.HeaderName != nil { + in, out := &in.HeaderName, &out.HeaderName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseHeaderParameters. +func (in *ResponseHeaderParameters) DeepCopy() *ResponseHeaderParameters { + if in == nil { + return nil + } + out := new(ResponseHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleExclusionObservation) DeepCopyInto(out *RuleExclusionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleExclusionObservation. +func (in *RuleExclusionObservation) DeepCopy() *RuleExclusionObservation { + if in == nil { + return nil + } + out := new(RuleExclusionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleExclusionParameters) DeepCopyInto(out *RuleExclusionParameters) { + *out = *in + if in.MatchVariable != nil { + in, out := &in.MatchVariable, &out.MatchVariable + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleExclusionParameters. +func (in *RuleExclusionParameters) DeepCopy() *RuleExclusionParameters { + if in == nil { + return nil + } + out := new(RuleExclusionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleMatchConditionObservation) DeepCopyInto(out *RuleMatchConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMatchConditionObservation. +func (in *RuleMatchConditionObservation) DeepCopy() *RuleMatchConditionObservation { + if in == nil { + return nil + } + out := new(RuleMatchConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleMatchConditionParameters) DeepCopyInto(out *RuleMatchConditionParameters) { + *out = *in + if in.NegateCondition != nil { + in, out := &in.NegateCondition, &out.NegateCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.Transform != nil { + in, out := &in.Transform, &out.Transform + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Variable != nil { + in, out := &in.Variable, &out.Variable + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleMatchConditionParameters. +func (in *RuleMatchConditionParameters) DeepCopy() *RuleMatchConditionParameters { + if in == nil { + return nil + } + out := new(RuleMatchConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { + if in == nil { + return nil + } + out := new(RuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Exclusion != nil { + in, out := &in.Exclusion, &out.Exclusion + *out = make([]RuleExclusionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuleID != nil { + in, out := &in.RuleID, &out.RuleID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { + if in == nil { + return nil + } + out := new(RuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngine) DeepCopyInto(out *RulesEngine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngine. +func (in *RulesEngine) DeepCopy() *RulesEngine { + if in == nil { + return nil + } + out := new(RulesEngine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RulesEngine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineList) DeepCopyInto(out *RulesEngineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RulesEngine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineList. +func (in *RulesEngineList) DeepCopy() *RulesEngineList { + if in == nil { + return nil + } + out := new(RulesEngineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RulesEngineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineObservation) DeepCopyInto(out *RulesEngineObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineObservation. +func (in *RulesEngineObservation) DeepCopy() *RulesEngineObservation { + if in == nil { + return nil + } + out := new(RulesEngineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineParameters) DeepCopyInto(out *RulesEngineParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.FrontdoorName != nil { + in, out := &in.FrontdoorName, &out.FrontdoorName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]RulesEngineRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineParameters. +func (in *RulesEngineParameters) DeepCopy() *RulesEngineParameters { + if in == nil { + return nil + } + out := new(RulesEngineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineRuleObservation) DeepCopyInto(out *RulesEngineRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineRuleObservation. +func (in *RulesEngineRuleObservation) DeepCopy() *RulesEngineRuleObservation { + if in == nil { + return nil + } + out := new(RulesEngineRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineRuleParameters) DeepCopyInto(out *RulesEngineRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]ActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MatchCondition != nil { + in, out := &in.MatchCondition, &out.MatchCondition + *out = make([]RuleMatchConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineRuleParameters. +func (in *RulesEngineRuleParameters) DeepCopy() *RulesEngineRuleParameters { + if in == nil { + return nil + } + out := new(RulesEngineRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineSpec) DeepCopyInto(out *RulesEngineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineSpec. +func (in *RulesEngineSpec) DeepCopy() *RulesEngineSpec { + if in == nil { + return nil + } + out := new(RulesEngineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RulesEngineStatus) DeepCopyInto(out *RulesEngineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesEngineStatus. +func (in *RulesEngineStatus) DeepCopy() *RulesEngineStatus { + if in == nil { + return nil + } + out := new(RulesEngineStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/frontdoor/v1alpha1/zz_generated.managed.go b/apis/frontdoor/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..0e288301b --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CustomHttpsConfiguration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CustomHttpsConfiguration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CustomHttpsConfiguration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CustomHttpsConfiguration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CustomHttpsConfiguration. +func (mg *CustomHttpsConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FirewallPolicy. +func (mg *FirewallPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallPolicy. +func (mg *FirewallPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallPolicy. +func (mg *FirewallPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallPolicy. +func (mg *FirewallPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallPolicy. +func (mg *FirewallPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallPolicy. +func (mg *FirewallPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallPolicy. +func (mg *FirewallPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallPolicy. +func (mg *FirewallPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RulesEngine. +func (mg *RulesEngine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RulesEngine. +func (mg *RulesEngine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RulesEngine. +func (mg *RulesEngine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RulesEngine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RulesEngine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RulesEngine. +func (mg *RulesEngine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RulesEngine. +func (mg *RulesEngine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RulesEngine. +func (mg *RulesEngine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RulesEngine. +func (mg *RulesEngine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RulesEngine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RulesEngine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RulesEngine. +func (mg *RulesEngine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/frontdoor/v1alpha1/zz_generated.managedlist.go b/apis/frontdoor/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..48af7a615 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this CustomHttpsConfigurationList. +func (l *CustomHttpsConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallPolicyList. +func (l *FirewallPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RulesEngineList. +func (l *RulesEngineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/frontdoor/v1alpha1/zz_groupversion_info.go b/apis/frontdoor/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..b31f9f113 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=frontdoor.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "frontdoor.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/frontdoor/v1alpha1/zz_rulesengine_terraformed.go b/apis/frontdoor/v1alpha1/zz_rulesengine_terraformed.go new file mode 100755 index 000000000..a32137c38 --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_rulesengine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RulesEngine +func (mg *RulesEngine) GetTerraformResourceType() string { + return "azurerm_frontdoor_rules_engine" +} + +// GetConnectionDetailsMapping for this RulesEngine +func (tr *RulesEngine) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RulesEngine +func (tr *RulesEngine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RulesEngine +func (tr *RulesEngine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RulesEngine +func (tr *RulesEngine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RulesEngine +func (tr *RulesEngine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RulesEngine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RulesEngine) LateInitialize(attrs []byte) (bool, error) { + params := &RulesEngineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RulesEngine) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/frontdoor/v1alpha1/zz_rulesengine_types.go b/apis/frontdoor/v1alpha1/zz_rulesengine_types.go new file mode 100755 index 000000000..074fed0cb --- /dev/null +++ b/apis/frontdoor/v1alpha1/zz_rulesengine_types.go @@ -0,0 +1,181 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionObservation struct { +} + +type ActionParameters struct { + + // +kubebuilder:validation:Optional + RequestHeader []RequestHeaderParameters `json:"requestHeader,omitempty" tf:"request_header,omitempty"` + + // +kubebuilder:validation:Optional + ResponseHeader []ResponseHeaderParameters `json:"responseHeader,omitempty" tf:"response_header,omitempty"` +} + +type RequestHeaderObservation struct { +} + +type RequestHeaderParameters struct { + + // +kubebuilder:validation:Optional + HeaderActionType *string `json:"headerActionType,omitempty" tf:"header_action_type,omitempty"` + + // +kubebuilder:validation:Optional + HeaderName *string `json:"headerName,omitempty" tf:"header_name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type ResponseHeaderObservation struct { +} + +type ResponseHeaderParameters struct { + + // +kubebuilder:validation:Optional + HeaderActionType *string `json:"headerActionType,omitempty" tf:"header_action_type,omitempty"` + + // +kubebuilder:validation:Optional + HeaderName *string `json:"headerName,omitempty" tf:"header_name,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type RuleMatchConditionObservation struct { +} + +type RuleMatchConditionParameters struct { + + // +kubebuilder:validation:Optional + NegateCondition *bool `json:"negateCondition,omitempty" tf:"negate_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Selector *string `json:"selector,omitempty" tf:"selector,omitempty"` + + // +kubebuilder:validation:Optional + Transform []*string `json:"transform,omitempty" tf:"transform,omitempty"` + + // +kubebuilder:validation:Optional + Value []*string `json:"value,omitempty" tf:"value,omitempty"` + + // +kubebuilder:validation:Optional + Variable *string `json:"variable,omitempty" tf:"variable,omitempty"` +} + +type RulesEngineObservation struct { + Location *string `json:"location,omitempty" tf:"location,omitempty"` +} + +type RulesEngineParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + FrontdoorName *string `json:"frontdoorName" tf:"frontdoor_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Rule []RulesEngineRuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type RulesEngineRuleObservation struct { +} + +type RulesEngineRuleParameters struct { + + // +kubebuilder:validation:Optional + Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + MatchCondition []RuleMatchConditionParameters `json:"matchCondition,omitempty" tf:"match_condition,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` +} + +// RulesEngineSpec defines the desired state of RulesEngine +type RulesEngineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RulesEngineParameters `json:"forProvider"` +} + +// RulesEngineStatus defines the observed state of RulesEngine. +type RulesEngineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RulesEngineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RulesEngine is the Schema for the RulesEngines API +// +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,azurejet} +type RulesEngine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RulesEngineSpec `json:"spec"` + Status RulesEngineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RulesEngineList contains a list of RulesEngines +type RulesEngineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RulesEngine `json:"items"` +} + +// Repository type metadata. +var ( + RulesEngine_Kind = "RulesEngine" + RulesEngine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RulesEngine_Kind}.String() + RulesEngine_KindAPIVersion = RulesEngine_Kind + "." + CRDGroupVersion.String() + RulesEngine_GroupVersionKind = CRDGroupVersion.WithKind(RulesEngine_Kind) +) + +func init() { + SchemeBuilder.Register(&RulesEngine{}, &RulesEngineList{}) +} diff --git a/apis/function/v1alpha1/zz_app_terraformed.go b/apis/function/v1alpha1/zz_app_terraformed.go new file mode 100755 index 000000000..352961308 --- /dev/null +++ b/apis/function/v1alpha1/zz_app_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this App +func (mg *App) GetTerraformResourceType() string { + return "azurerm_function_app" +} + +// GetConnectionDetailsMapping for this App +func (tr *App) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"auth_settings[*].active_directory[*].client_secret": "spec.forProvider.authSettings[*].activeDirectory[*].clientSecretSecretRef", "auth_settings[*].facebook[*].app_secret": "spec.forProvider.authSettings[*].facebook[*].appSecretSecretRef", "auth_settings[*].google[*].client_secret": "spec.forProvider.authSettings[*].google[*].clientSecretSecretRef", "auth_settings[*].microsoft[*].client_secret": "spec.forProvider.authSettings[*].microsoft[*].clientSecretSecretRef", "auth_settings[*].twitter[*].consumer_secret": "spec.forProvider.authSettings[*].twitter[*].consumerSecretSecretRef", "connection_string[*].value": "spec.forProvider.connectionString[*].valueSecretRef", "site_credential[*].password": "status.atProvider.siteCredential[*].password", "storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef", "storage_connection_string": "spec.forProvider.storageConnectionStringSecretRef"} +} + +// GetObservation of this App +func (tr *App) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this App +func (tr *App) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this App +func (tr *App) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this App +func (tr *App) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this App using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *App) LateInitialize(attrs []byte) (bool, error) { + params := &AppParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *App) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/function/v1alpha1/zz_app_types.go b/apis/function/v1alpha1/zz_app_types.go new file mode 100755 index 000000000..2e640fe99 --- /dev/null +++ b/apis/function/v1alpha1/zz_app_types.go @@ -0,0 +1,507 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActiveDirectoryObservation struct { +} + +type ActiveDirectoryParameters struct { + + // +kubebuilder:validation:Optional + AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Optional + ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` +} + +type AppObservation struct { + CustomDomainVerificationID *string `json:"customDomainVerificationId,omitempty" tf:"custom_domain_verification_id,omitempty"` + + DefaultHostname *string `json:"defaultHostname,omitempty" tf:"default_hostname,omitempty"` + + Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` + + OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty" tf:"outbound_ip_addresses,omitempty"` + + PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty" tf:"possible_outbound_ip_addresses,omitempty"` + + SiteCredential []SiteCredentialObservation `json:"siteCredential,omitempty" tf:"site_credential,omitempty"` +} + +type AppParameters struct { + + // +kubebuilder:validation:Required + AppServicePlanID *string `json:"appServicePlanId" tf:"app_service_plan_id,omitempty"` + + // +kubebuilder:validation:Optional + AppSettings map[string]*string `json:"appSettings,omitempty" tf:"app_settings,omitempty"` + + // +kubebuilder:validation:Optional + AuthSettings []AuthSettingsParameters `json:"authSettings,omitempty" tf:"auth_settings,omitempty"` + + // +kubebuilder:validation:Optional + ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty" tf:"client_affinity_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ClientCertMode *string `json:"clientCertMode,omitempty" tf:"client_cert_mode,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionString []ConnectionStringParameters `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Optional + DailyMemoryTimeQuota *int64 `json:"dailyMemoryTimeQuota,omitempty" tf:"daily_memory_time_quota,omitempty"` + + // +kubebuilder:validation:Optional + EnableBuiltinLogging *bool `json:"enableBuiltinLogging,omitempty" tf:"enable_builtin_logging,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + HTTPSOnly *bool `json:"httpsOnly,omitempty" tf:"https_only,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SiteConfig []SiteConfigParameters `json:"siteConfig,omitempty" tf:"site_config,omitempty"` + + // +kubebuilder:validation:Optional + SourceControl []SourceControlParameters `json:"sourceControl,omitempty" tf:"source_control,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageAccountName *string `json:"storageAccountName,omitempty" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageConnectionStringSecretRef *v1.SecretKeySelector `json:"storageConnectionStringSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type AuthSettingsObservation struct { +} + +type AuthSettingsParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectory []ActiveDirectoryParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalLoginParams map[string]*string `json:"additionalLoginParams,omitempty" tf:"additional_login_params,omitempty"` + + // +kubebuilder:validation:Optional + AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"` + + // +kubebuilder:validation:Optional + DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Facebook []FacebookParameters `json:"facebook,omitempty" tf:"facebook,omitempty"` + + // +kubebuilder:validation:Optional + Google []GoogleParameters `json:"google,omitempty" tf:"google,omitempty"` + + // +kubebuilder:validation:Optional + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + // +kubebuilder:validation:Optional + Microsoft []MicrosoftParameters `json:"microsoft,omitempty" tf:"microsoft,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"` + + // +kubebuilder:validation:Optional + TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"` + + // +kubebuilder:validation:Optional + TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Twitter []TwitterParameters `json:"twitter,omitempty" tf:"twitter,omitempty"` + + // +kubebuilder:validation:Optional + UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"` +} + +type ConnectionStringObservation struct { +} + +type ConnectionStringParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` +} + +type CorsObservation struct { +} + +type CorsParameters struct { + + // +kubebuilder:validation:Required + AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"` + + // +kubebuilder:validation:Optional + SupportCredentials *bool `json:"supportCredentials,omitempty" tf:"support_credentials,omitempty"` +} + +type FacebookObservation struct { +} + +type FacebookParameters struct { + + // +kubebuilder:validation:Required + AppID *string `json:"appId" tf:"app_id,omitempty"` + + // +kubebuilder:validation:Required + AppSecretSecretRef v1.SecretKeySelector `json:"appSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type GoogleObservation struct { +} + +type GoogleParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type HeadersObservation struct { +} + +type HeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type IPRestrictionObservation struct { +} + +type IPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []HeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type MicrosoftObservation struct { +} + +type MicrosoftParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type ScmIPRestrictionHeadersObservation struct { +} + +type ScmIPRestrictionHeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type ScmIPRestrictionObservation struct { +} + +type ScmIPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []ScmIPRestrictionHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +type SiteConfigObservation struct { +} + +type SiteConfigParameters struct { + + // +kubebuilder:validation:Optional + AlwaysOn *bool `json:"alwaysOn,omitempty" tf:"always_on,omitempty"` + + // +kubebuilder:validation:Optional + AppScaleLimit *int64 `json:"appScaleLimit,omitempty" tf:"app_scale_limit,omitempty"` + + // +kubebuilder:validation:Optional + AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty" tf:"auto_swap_slot_name,omitempty"` + + // +kubebuilder:validation:Optional + Cors []CorsParameters `json:"cors,omitempty" tf:"cors,omitempty"` + + // +kubebuilder:validation:Optional + DotnetFrameworkVersion *string `json:"dotnetFrameworkVersion,omitempty" tf:"dotnet_framework_version,omitempty"` + + // +kubebuilder:validation:Optional + ElasticInstanceMinimum *int64 `json:"elasticInstanceMinimum,omitempty" tf:"elastic_instance_minimum,omitempty"` + + // +kubebuilder:validation:Optional + FtpsState *string `json:"ftpsState,omitempty" tf:"ftps_state,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"` + + // +kubebuilder:validation:Optional + Http2Enabled *bool `json:"http2Enabled,omitempty" tf:"http2_enabled,omitempty"` + + // +kubebuilder:validation:Optional + IPRestriction []IPRestrictionParameters `json:"ipRestriction,omitempty" tf:"ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + JavaVersion *string `json:"javaVersion,omitempty" tf:"java_version,omitempty"` + + // +kubebuilder:validation:Optional + LinuxFxVersion *string `json:"linuxFxVersion,omitempty" tf:"linux_fx_version,omitempty"` + + // +kubebuilder:validation:Optional + MinTLSVersion *string `json:"minTlsVersion,omitempty" tf:"min_tls_version,omitempty"` + + // +kubebuilder:validation:Optional + PreWarmedInstanceCount *int64 `json:"preWarmedInstanceCount,omitempty" tf:"pre_warmed_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeScaleMonitoringEnabled *bool `json:"runtimeScaleMonitoringEnabled,omitempty" tf:"runtime_scale_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ScmIPRestriction []ScmIPRestrictionParameters `json:"scmIpRestriction,omitempty" tf:"scm_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + ScmType *string `json:"scmType,omitempty" tf:"scm_type,omitempty"` + + // +kubebuilder:validation:Optional + ScmUseMainIPRestriction *bool `json:"scmUseMainIpRestriction,omitempty" tf:"scm_use_main_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty" tf:"use_32_bit_worker_process,omitempty"` + + // +kubebuilder:validation:Optional + VnetRouteAllEnabled *bool `json:"vnetRouteAllEnabled,omitempty" tf:"vnet_route_all_enabled,omitempty"` + + // +kubebuilder:validation:Optional + WebsocketsEnabled *bool `json:"websocketsEnabled,omitempty" tf:"websockets_enabled,omitempty"` +} + +type SiteCredentialObservation struct { + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +type SiteCredentialParameters struct { +} + +type SourceControlObservation struct { +} + +type SourceControlParameters struct { + + // +kubebuilder:validation:Optional + Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` + + // +kubebuilder:validation:Optional + ManualIntegration *bool `json:"manualIntegration,omitempty" tf:"manual_integration,omitempty"` + + // +kubebuilder:validation:Optional + RepoURL *string `json:"repoUrl,omitempty" tf:"repo_url,omitempty"` + + // +kubebuilder:validation:Optional + RollbackEnabled *bool `json:"rollbackEnabled,omitempty" tf:"rollback_enabled,omitempty"` + + // +kubebuilder:validation:Optional + UseMercurial *bool `json:"useMercurial,omitempty" tf:"use_mercurial,omitempty"` +} + +type TwitterObservation struct { +} + +type TwitterParameters struct { + + // +kubebuilder:validation:Required + ConsumerKey *string `json:"consumerKey" tf:"consumer_key,omitempty"` + + // +kubebuilder:validation:Required + ConsumerSecretSecretRef v1.SecretKeySelector `json:"consumerSecretSecretRef" tf:"-"` +} + +// AppSpec defines the desired state of App +type AppSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppParameters `json:"forProvider"` +} + +// AppStatus defines the observed state of App. +type AppStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// App is the Schema for the Apps API +// +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,azurejet} +type App struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppSpec `json:"spec"` + Status AppStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppList contains a list of Apps +type AppList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []App `json:"items"` +} + +// Repository type metadata. +var ( + App_Kind = "App" + App_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: App_Kind}.String() + App_KindAPIVersion = App_Kind + "." + CRDGroupVersion.String() + App_GroupVersionKind = CRDGroupVersion.WithKind(App_Kind) +) + +func init() { + SchemeBuilder.Register(&App{}, &AppList{}) +} diff --git a/apis/function/v1alpha1/zz_appslot_terraformed.go b/apis/function/v1alpha1/zz_appslot_terraformed.go new file mode 100755 index 000000000..2819494cc --- /dev/null +++ b/apis/function/v1alpha1/zz_appslot_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppSlot +func (mg *AppSlot) GetTerraformResourceType() string { + return "azurerm_function_app_slot" +} + +// GetConnectionDetailsMapping for this AppSlot +func (tr *AppSlot) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"auth_settings[*].active_directory[*].client_secret": "spec.forProvider.authSettings[*].activeDirectory[*].clientSecretSecretRef", "auth_settings[*].facebook[*].app_secret": "spec.forProvider.authSettings[*].facebook[*].appSecretSecretRef", "auth_settings[*].google[*].client_secret": "spec.forProvider.authSettings[*].google[*].clientSecretSecretRef", "auth_settings[*].microsoft[*].client_secret": "spec.forProvider.authSettings[*].microsoft[*].clientSecretSecretRef", "auth_settings[*].twitter[*].consumer_secret": "spec.forProvider.authSettings[*].twitter[*].consumerSecretSecretRef", "connection_string[*].value": "spec.forProvider.connectionString[*].valueSecretRef", "site_credential[*].password": "status.atProvider.siteCredential[*].password", "storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this AppSlot +func (tr *AppSlot) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppSlot +func (tr *AppSlot) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppSlot +func (tr *AppSlot) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppSlot +func (tr *AppSlot) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppSlot using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppSlot) LateInitialize(attrs []byte) (bool, error) { + params := &AppSlotParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppSlot) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/function/v1alpha1/zz_appslot_types.go b/apis/function/v1alpha1/zz_appslot_types.go new file mode 100755 index 000000000..168593bc5 --- /dev/null +++ b/apis/function/v1alpha1/zz_appslot_types.go @@ -0,0 +1,478 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppSlotAuthSettingsObservation struct { +} + +type AppSlotAuthSettingsParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectory []AuthSettingsActiveDirectoryParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalLoginParams map[string]*string `json:"additionalLoginParams,omitempty" tf:"additional_login_params,omitempty"` + + // +kubebuilder:validation:Optional + AllowedExternalRedirectUrls []*string `json:"allowedExternalRedirectUrls,omitempty" tf:"allowed_external_redirect_urls,omitempty"` + + // +kubebuilder:validation:Optional + DefaultProvider *string `json:"defaultProvider,omitempty" tf:"default_provider,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Facebook []AuthSettingsFacebookParameters `json:"facebook,omitempty" tf:"facebook,omitempty"` + + // +kubebuilder:validation:Optional + Google []AuthSettingsGoogleParameters `json:"google,omitempty" tf:"google,omitempty"` + + // +kubebuilder:validation:Optional + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + // +kubebuilder:validation:Optional + Microsoft []AuthSettingsMicrosoftParameters `json:"microsoft,omitempty" tf:"microsoft,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"` + + // +kubebuilder:validation:Optional + TokenRefreshExtensionHours *float64 `json:"tokenRefreshExtensionHours,omitempty" tf:"token_refresh_extension_hours,omitempty"` + + // +kubebuilder:validation:Optional + TokenStoreEnabled *bool `json:"tokenStoreEnabled,omitempty" tf:"token_store_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Twitter []AuthSettingsTwitterParameters `json:"twitter,omitempty" tf:"twitter,omitempty"` + + // +kubebuilder:validation:Optional + UnauthenticatedClientAction *string `json:"unauthenticatedClientAction,omitempty" tf:"unauthenticated_client_action,omitempty"` +} + +type AppSlotConnectionStringObservation struct { +} + +type AppSlotConnectionStringParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` +} + +type AppSlotIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type AppSlotIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type AppSlotObservation struct { + DefaultHostname *string `json:"defaultHostname,omitempty" tf:"default_hostname,omitempty"` + + Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` + + OutboundIPAddresses *string `json:"outboundIpAddresses,omitempty" tf:"outbound_ip_addresses,omitempty"` + + PossibleOutboundIPAddresses *string `json:"possibleOutboundIpAddresses,omitempty" tf:"possible_outbound_ip_addresses,omitempty"` + + SiteCredential []AppSlotSiteCredentialObservation `json:"siteCredential,omitempty" tf:"site_credential,omitempty"` +} + +type AppSlotParameters struct { + + // +kubebuilder:validation:Required + AppServicePlanID *string `json:"appServicePlanId" tf:"app_service_plan_id,omitempty"` + + // +kubebuilder:validation:Optional + AppSettings map[string]*string `json:"appSettings,omitempty" tf:"app_settings,omitempty"` + + // +kubebuilder:validation:Optional + AuthSettings []AppSlotAuthSettingsParameters `json:"authSettings,omitempty" tf:"auth_settings,omitempty"` + + // +kubebuilder:validation:Optional + ClientAffinityEnabled *bool `json:"clientAffinityEnabled,omitempty" tf:"client_affinity_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ConnectionString []AppSlotConnectionStringParameters `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Optional + DailyMemoryTimeQuota *int64 `json:"dailyMemoryTimeQuota,omitempty" tf:"daily_memory_time_quota,omitempty"` + + // +kubebuilder:validation:Optional + EnableBuiltinLogging *bool `json:"enableBuiltinLogging,omitempty" tf:"enable_builtin_logging,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + FunctionAppName *string `json:"functionAppName" tf:"function_app_name,omitempty"` + + // +kubebuilder:validation:Optional + HTTPSOnly *bool `json:"httpsOnly,omitempty" tf:"https_only,omitempty"` + + // +kubebuilder:validation:Optional + Identity []AppSlotIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SiteConfig []AppSlotSiteConfigParameters `json:"siteConfig,omitempty" tf:"site_config,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountAccessKeySecretRef v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type AppSlotSiteConfigObservation struct { +} + +type AppSlotSiteConfigParameters struct { + + // +kubebuilder:validation:Optional + AlwaysOn *bool `json:"alwaysOn,omitempty" tf:"always_on,omitempty"` + + // +kubebuilder:validation:Optional + AppScaleLimit *int64 `json:"appScaleLimit,omitempty" tf:"app_scale_limit,omitempty"` + + // +kubebuilder:validation:Optional + AutoSwapSlotName *string `json:"autoSwapSlotName,omitempty" tf:"auto_swap_slot_name,omitempty"` + + // +kubebuilder:validation:Optional + Cors []SiteConfigCorsParameters `json:"cors,omitempty" tf:"cors,omitempty"` + + // +kubebuilder:validation:Optional + DotnetFrameworkVersion *string `json:"dotnetFrameworkVersion,omitempty" tf:"dotnet_framework_version,omitempty"` + + // +kubebuilder:validation:Optional + ElasticInstanceMinimum *int64 `json:"elasticInstanceMinimum,omitempty" tf:"elastic_instance_minimum,omitempty"` + + // +kubebuilder:validation:Optional + FtpsState *string `json:"ftpsState,omitempty" tf:"ftps_state,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckPath *string `json:"healthCheckPath,omitempty" tf:"health_check_path,omitempty"` + + // +kubebuilder:validation:Optional + Http2Enabled *bool `json:"http2Enabled,omitempty" tf:"http2_enabled,omitempty"` + + // +kubebuilder:validation:Optional + IPRestriction []SiteConfigIPRestrictionParameters `json:"ipRestriction,omitempty" tf:"ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + JavaVersion *string `json:"javaVersion,omitempty" tf:"java_version,omitempty"` + + // +kubebuilder:validation:Optional + LinuxFxVersion *string `json:"linuxFxVersion,omitempty" tf:"linux_fx_version,omitempty"` + + // +kubebuilder:validation:Optional + MinTLSVersion *string `json:"minTlsVersion,omitempty" tf:"min_tls_version,omitempty"` + + // +kubebuilder:validation:Optional + PreWarmedInstanceCount *int64 `json:"preWarmedInstanceCount,omitempty" tf:"pre_warmed_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeScaleMonitoringEnabled *bool `json:"runtimeScaleMonitoringEnabled,omitempty" tf:"runtime_scale_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ScmIPRestriction []SiteConfigScmIPRestrictionParameters `json:"scmIpRestriction,omitempty" tf:"scm_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + ScmType *string `json:"scmType,omitempty" tf:"scm_type,omitempty"` + + // +kubebuilder:validation:Optional + ScmUseMainIPRestriction *bool `json:"scmUseMainIpRestriction,omitempty" tf:"scm_use_main_ip_restriction,omitempty"` + + // +kubebuilder:validation:Optional + Use32BitWorkerProcess *bool `json:"use32BitWorkerProcess,omitempty" tf:"use_32_bit_worker_process,omitempty"` + + // +kubebuilder:validation:Optional + VnetRouteAllEnabled *bool `json:"vnetRouteAllEnabled,omitempty" tf:"vnet_route_all_enabled,omitempty"` + + // +kubebuilder:validation:Optional + WebsocketsEnabled *bool `json:"websocketsEnabled,omitempty" tf:"websockets_enabled,omitempty"` +} + +type AppSlotSiteCredentialObservation struct { + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +type AppSlotSiteCredentialParameters struct { +} + +type AuthSettingsActiveDirectoryObservation struct { +} + +type AuthSettingsActiveDirectoryParameters struct { + + // +kubebuilder:validation:Optional + AllowedAudiences []*string `json:"allowedAudiences,omitempty" tf:"allowed_audiences,omitempty"` + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Optional + ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` +} + +type AuthSettingsFacebookObservation struct { +} + +type AuthSettingsFacebookParameters struct { + + // +kubebuilder:validation:Required + AppID *string `json:"appId" tf:"app_id,omitempty"` + + // +kubebuilder:validation:Required + AppSecretSecretRef v1.SecretKeySelector `json:"appSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type AuthSettingsGoogleObservation struct { +} + +type AuthSettingsGoogleParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type AuthSettingsMicrosoftObservation struct { +} + +type AuthSettingsMicrosoftParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClientSecretSecretRef v1.SecretKeySelector `json:"clientSecretSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + OauthScopes []*string `json:"oauthScopes,omitempty" tf:"oauth_scopes,omitempty"` +} + +type AuthSettingsTwitterObservation struct { +} + +type AuthSettingsTwitterParameters struct { + + // +kubebuilder:validation:Required + ConsumerKey *string `json:"consumerKey" tf:"consumer_key,omitempty"` + + // +kubebuilder:validation:Required + ConsumerSecretSecretRef v1.SecretKeySelector `json:"consumerSecretSecretRef" tf:"-"` +} + +type IPRestrictionHeadersObservation struct { +} + +type IPRestrictionHeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type SiteConfigCorsObservation struct { +} + +type SiteConfigCorsParameters struct { + + // +kubebuilder:validation:Required + AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"` + + // +kubebuilder:validation:Optional + SupportCredentials *bool `json:"supportCredentials,omitempty" tf:"support_credentials,omitempty"` +} + +type SiteConfigIPRestrictionObservation struct { +} + +type SiteConfigIPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []IPRestrictionHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +type SiteConfigScmIPRestrictionHeadersObservation struct { +} + +type SiteConfigScmIPRestrictionHeadersParameters struct { + + // +kubebuilder:validation:Optional + XAzureFdid []*string `json:"xAzureFdid,omitempty" tf:"x_azure_fdid,omitempty"` + + // +kubebuilder:validation:Optional + XFdHealthProbe []*string `json:"xFdHealthProbe,omitempty" tf:"x_fd_health_probe,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedFor []*string `json:"xForwardedFor,omitempty" tf:"x_forwarded_for,omitempty"` + + // +kubebuilder:validation:Optional + XForwardedHost []*string `json:"xForwardedHost,omitempty" tf:"x_forwarded_host,omitempty"` +} + +type SiteConfigScmIPRestrictionObservation struct { +} + +type SiteConfigScmIPRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Headers []SiteConfigScmIPRestrictionHeadersParameters `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ServiceTag *string `json:"serviceTag,omitempty" tf:"service_tag,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetID *string `json:"virtualNetworkSubnetId,omitempty" tf:"virtual_network_subnet_id,omitempty"` +} + +// AppSlotSpec defines the desired state of AppSlot +type AppSlotSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppSlotParameters `json:"forProvider"` +} + +// AppSlotStatus defines the observed state of AppSlot. +type AppSlotStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppSlotObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppSlot is the Schema for the AppSlots API +// +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,azurejet} +type AppSlot struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppSlotSpec `json:"spec"` + Status AppSlotStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppSlotList contains a list of AppSlots +type AppSlotList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppSlot `json:"items"` +} + +// Repository type metadata. +var ( + AppSlot_Kind = "AppSlot" + AppSlot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppSlot_Kind}.String() + AppSlot_KindAPIVersion = AppSlot_Kind + "." + CRDGroupVersion.String() + AppSlot_GroupVersionKind = CRDGroupVersion.WithKind(AppSlot_Kind) +) + +func init() { + SchemeBuilder.Register(&AppSlot{}, &AppSlotList{}) +} diff --git a/apis/function/v1alpha1/zz_generated.deepcopy.go b/apis/function/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..fd51328d8 --- /dev/null +++ b/apis/function/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2560 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryObservation) DeepCopyInto(out *ActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryObservation. +func (in *ActiveDirectoryObservation) DeepCopy() *ActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(ActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryParameters) DeepCopyInto(out *ActiveDirectoryParameters) { + *out = *in + if in.AllowedAudiences != nil { + in, out := &in.AllowedAudiences, &out.AllowedAudiences + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryParameters. +func (in *ActiveDirectoryParameters) DeepCopy() *ActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(ActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *App) DeepCopyInto(out *App) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App. +func (in *App) DeepCopy() *App { + if in == nil { + return nil + } + out := new(App) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *App) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppList) DeepCopyInto(out *AppList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]App, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList. +func (in *AppList) DeepCopy() *AppList { + if in == nil { + return nil + } + out := new(AppList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppObservation) DeepCopyInto(out *AppObservation) { + *out = *in + if in.CustomDomainVerificationID != nil { + in, out := &in.CustomDomainVerificationID, &out.CustomDomainVerificationID + *out = new(string) + **out = **in + } + if in.DefaultHostname != nil { + in, out := &in.DefaultHostname, &out.DefaultHostname + *out = new(string) + **out = **in + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.OutboundIPAddresses != nil { + in, out := &in.OutboundIPAddresses, &out.OutboundIPAddresses + *out = new(string) + **out = **in + } + if in.PossibleOutboundIPAddresses != nil { + in, out := &in.PossibleOutboundIPAddresses, &out.PossibleOutboundIPAddresses + *out = new(string) + **out = **in + } + if in.SiteCredential != nil { + in, out := &in.SiteCredential, &out.SiteCredential + *out = make([]SiteCredentialObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppObservation. +func (in *AppObservation) DeepCopy() *AppObservation { + if in == nil { + return nil + } + out := new(AppObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppParameters) DeepCopyInto(out *AppParameters) { + *out = *in + if in.AppServicePlanID != nil { + in, out := &in.AppServicePlanID, &out.AppServicePlanID + *out = new(string) + **out = **in + } + if in.AppSettings != nil { + in, out := &in.AppSettings, &out.AppSettings + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AuthSettings != nil { + in, out := &in.AuthSettings, &out.AuthSettings + *out = make([]AuthSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientAffinityEnabled != nil { + in, out := &in.ClientAffinityEnabled, &out.ClientAffinityEnabled + *out = new(bool) + **out = **in + } + if in.ClientCertMode != nil { + in, out := &in.ClientCertMode, &out.ClientCertMode + *out = new(string) + **out = **in + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = make([]ConnectionStringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DailyMemoryTimeQuota != nil { + in, out := &in.DailyMemoryTimeQuota, &out.DailyMemoryTimeQuota + *out = new(int64) + **out = **in + } + if in.EnableBuiltinLogging != nil { + in, out := &in.EnableBuiltinLogging, &out.EnableBuiltinLogging + *out = new(bool) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.HTTPSOnly != nil { + in, out := &in.HTTPSOnly, &out.HTTPSOnly + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SiteConfig != nil { + in, out := &in.SiteConfig, &out.SiteConfig + *out = make([]SiteConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SourceControl != nil { + in, out := &in.SourceControl, &out.SourceControl + *out = make([]SourceControlParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageConnectionStringSecretRef != nil { + in, out := &in.StorageConnectionStringSecretRef, &out.StorageConnectionStringSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppParameters. +func (in *AppParameters) DeepCopy() *AppParameters { + if in == nil { + return nil + } + out := new(AppParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlot) DeepCopyInto(out *AppSlot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlot. +func (in *AppSlot) DeepCopy() *AppSlot { + if in == nil { + return nil + } + out := new(AppSlot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppSlot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotAuthSettingsObservation) DeepCopyInto(out *AppSlotAuthSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotAuthSettingsObservation. +func (in *AppSlotAuthSettingsObservation) DeepCopy() *AppSlotAuthSettingsObservation { + if in == nil { + return nil + } + out := new(AppSlotAuthSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotAuthSettingsParameters) DeepCopyInto(out *AppSlotAuthSettingsParameters) { + *out = *in + if in.ActiveDirectory != nil { + in, out := &in.ActiveDirectory, &out.ActiveDirectory + *out = make([]AuthSettingsActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalLoginParams != nil { + in, out := &in.AdditionalLoginParams, &out.AdditionalLoginParams + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AllowedExternalRedirectUrls != nil { + in, out := &in.AllowedExternalRedirectUrls, &out.AllowedExternalRedirectUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultProvider != nil { + in, out := &in.DefaultProvider, &out.DefaultProvider + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Facebook != nil { + in, out := &in.Facebook, &out.Facebook + *out = make([]AuthSettingsFacebookParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Google != nil { + in, out := &in.Google, &out.Google + *out = make([]AuthSettingsGoogleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.Microsoft != nil { + in, out := &in.Microsoft, &out.Microsoft + *out = make([]AuthSettingsMicrosoftParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuntimeVersion != nil { + in, out := &in.RuntimeVersion, &out.RuntimeVersion + *out = new(string) + **out = **in + } + if in.TokenRefreshExtensionHours != nil { + in, out := &in.TokenRefreshExtensionHours, &out.TokenRefreshExtensionHours + *out = new(float64) + **out = **in + } + if in.TokenStoreEnabled != nil { + in, out := &in.TokenStoreEnabled, &out.TokenStoreEnabled + *out = new(bool) + **out = **in + } + if in.Twitter != nil { + in, out := &in.Twitter, &out.Twitter + *out = make([]AuthSettingsTwitterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UnauthenticatedClientAction != nil { + in, out := &in.UnauthenticatedClientAction, &out.UnauthenticatedClientAction + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotAuthSettingsParameters. +func (in *AppSlotAuthSettingsParameters) DeepCopy() *AppSlotAuthSettingsParameters { + if in == nil { + return nil + } + out := new(AppSlotAuthSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotConnectionStringObservation) DeepCopyInto(out *AppSlotConnectionStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotConnectionStringObservation. +func (in *AppSlotConnectionStringObservation) DeepCopy() *AppSlotConnectionStringObservation { + if in == nil { + return nil + } + out := new(AppSlotConnectionStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotConnectionStringParameters) DeepCopyInto(out *AppSlotConnectionStringParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + out.ValueSecretRef = in.ValueSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotConnectionStringParameters. +func (in *AppSlotConnectionStringParameters) DeepCopy() *AppSlotConnectionStringParameters { + if in == nil { + return nil + } + out := new(AppSlotConnectionStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotIdentityObservation) DeepCopyInto(out *AppSlotIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotIdentityObservation. +func (in *AppSlotIdentityObservation) DeepCopy() *AppSlotIdentityObservation { + if in == nil { + return nil + } + out := new(AppSlotIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotIdentityParameters) DeepCopyInto(out *AppSlotIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotIdentityParameters. +func (in *AppSlotIdentityParameters) DeepCopy() *AppSlotIdentityParameters { + if in == nil { + return nil + } + out := new(AppSlotIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotList) DeepCopyInto(out *AppSlotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppSlot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotList. +func (in *AppSlotList) DeepCopy() *AppSlotList { + if in == nil { + return nil + } + out := new(AppSlotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppSlotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotObservation) DeepCopyInto(out *AppSlotObservation) { + *out = *in + if in.DefaultHostname != nil { + in, out := &in.DefaultHostname, &out.DefaultHostname + *out = new(string) + **out = **in + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.OutboundIPAddresses != nil { + in, out := &in.OutboundIPAddresses, &out.OutboundIPAddresses + *out = new(string) + **out = **in + } + if in.PossibleOutboundIPAddresses != nil { + in, out := &in.PossibleOutboundIPAddresses, &out.PossibleOutboundIPAddresses + *out = new(string) + **out = **in + } + if in.SiteCredential != nil { + in, out := &in.SiteCredential, &out.SiteCredential + *out = make([]AppSlotSiteCredentialObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotObservation. +func (in *AppSlotObservation) DeepCopy() *AppSlotObservation { + if in == nil { + return nil + } + out := new(AppSlotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotParameters) DeepCopyInto(out *AppSlotParameters) { + *out = *in + if in.AppServicePlanID != nil { + in, out := &in.AppServicePlanID, &out.AppServicePlanID + *out = new(string) + **out = **in + } + if in.AppSettings != nil { + in, out := &in.AppSettings, &out.AppSettings + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AuthSettings != nil { + in, out := &in.AuthSettings, &out.AuthSettings + *out = make([]AppSlotAuthSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientAffinityEnabled != nil { + in, out := &in.ClientAffinityEnabled, &out.ClientAffinityEnabled + *out = new(bool) + **out = **in + } + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = make([]AppSlotConnectionStringParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DailyMemoryTimeQuota != nil { + in, out := &in.DailyMemoryTimeQuota, &out.DailyMemoryTimeQuota + *out = new(int64) + **out = **in + } + if in.EnableBuiltinLogging != nil { + in, out := &in.EnableBuiltinLogging, &out.EnableBuiltinLogging + *out = new(bool) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.FunctionAppName != nil { + in, out := &in.FunctionAppName, &out.FunctionAppName + *out = new(string) + **out = **in + } + if in.HTTPSOnly != nil { + in, out := &in.HTTPSOnly, &out.HTTPSOnly + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]AppSlotIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SiteConfig != nil { + in, out := &in.SiteConfig, &out.SiteConfig + *out = make([]AppSlotSiteConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.StorageAccountAccessKeySecretRef = in.StorageAccountAccessKeySecretRef + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotParameters. +func (in *AppSlotParameters) DeepCopy() *AppSlotParameters { + if in == nil { + return nil + } + out := new(AppSlotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotSiteConfigObservation) DeepCopyInto(out *AppSlotSiteConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotSiteConfigObservation. +func (in *AppSlotSiteConfigObservation) DeepCopy() *AppSlotSiteConfigObservation { + if in == nil { + return nil + } + out := new(AppSlotSiteConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotSiteConfigParameters) DeepCopyInto(out *AppSlotSiteConfigParameters) { + *out = *in + if in.AlwaysOn != nil { + in, out := &in.AlwaysOn, &out.AlwaysOn + *out = new(bool) + **out = **in + } + if in.AppScaleLimit != nil { + in, out := &in.AppScaleLimit, &out.AppScaleLimit + *out = new(int64) + **out = **in + } + if in.AutoSwapSlotName != nil { + in, out := &in.AutoSwapSlotName, &out.AutoSwapSlotName + *out = new(string) + **out = **in + } + if in.Cors != nil { + in, out := &in.Cors, &out.Cors + *out = make([]SiteConfigCorsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DotnetFrameworkVersion != nil { + in, out := &in.DotnetFrameworkVersion, &out.DotnetFrameworkVersion + *out = new(string) + **out = **in + } + if in.ElasticInstanceMinimum != nil { + in, out := &in.ElasticInstanceMinimum, &out.ElasticInstanceMinimum + *out = new(int64) + **out = **in + } + if in.FtpsState != nil { + in, out := &in.FtpsState, &out.FtpsState + *out = new(string) + **out = **in + } + if in.HealthCheckPath != nil { + in, out := &in.HealthCheckPath, &out.HealthCheckPath + *out = new(string) + **out = **in + } + if in.Http2Enabled != nil { + in, out := &in.Http2Enabled, &out.Http2Enabled + *out = new(bool) + **out = **in + } + if in.IPRestriction != nil { + in, out := &in.IPRestriction, &out.IPRestriction + *out = make([]SiteConfigIPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.JavaVersion != nil { + in, out := &in.JavaVersion, &out.JavaVersion + *out = new(string) + **out = **in + } + if in.LinuxFxVersion != nil { + in, out := &in.LinuxFxVersion, &out.LinuxFxVersion + *out = new(string) + **out = **in + } + if in.MinTLSVersion != nil { + in, out := &in.MinTLSVersion, &out.MinTLSVersion + *out = new(string) + **out = **in + } + if in.PreWarmedInstanceCount != nil { + in, out := &in.PreWarmedInstanceCount, &out.PreWarmedInstanceCount + *out = new(int64) + **out = **in + } + if in.RuntimeScaleMonitoringEnabled != nil { + in, out := &in.RuntimeScaleMonitoringEnabled, &out.RuntimeScaleMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.ScmIPRestriction != nil { + in, out := &in.ScmIPRestriction, &out.ScmIPRestriction + *out = make([]SiteConfigScmIPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScmType != nil { + in, out := &in.ScmType, &out.ScmType + *out = new(string) + **out = **in + } + if in.ScmUseMainIPRestriction != nil { + in, out := &in.ScmUseMainIPRestriction, &out.ScmUseMainIPRestriction + *out = new(bool) + **out = **in + } + if in.Use32BitWorkerProcess != nil { + in, out := &in.Use32BitWorkerProcess, &out.Use32BitWorkerProcess + *out = new(bool) + **out = **in + } + if in.VnetRouteAllEnabled != nil { + in, out := &in.VnetRouteAllEnabled, &out.VnetRouteAllEnabled + *out = new(bool) + **out = **in + } + if in.WebsocketsEnabled != nil { + in, out := &in.WebsocketsEnabled, &out.WebsocketsEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotSiteConfigParameters. +func (in *AppSlotSiteConfigParameters) DeepCopy() *AppSlotSiteConfigParameters { + if in == nil { + return nil + } + out := new(AppSlotSiteConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotSiteCredentialObservation) DeepCopyInto(out *AppSlotSiteCredentialObservation) { + *out = *in + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotSiteCredentialObservation. +func (in *AppSlotSiteCredentialObservation) DeepCopy() *AppSlotSiteCredentialObservation { + if in == nil { + return nil + } + out := new(AppSlotSiteCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotSiteCredentialParameters) DeepCopyInto(out *AppSlotSiteCredentialParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotSiteCredentialParameters. +func (in *AppSlotSiteCredentialParameters) DeepCopy() *AppSlotSiteCredentialParameters { + if in == nil { + return nil + } + out := new(AppSlotSiteCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotSpec) DeepCopyInto(out *AppSlotSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotSpec. +func (in *AppSlotSpec) DeepCopy() *AppSlotSpec { + if in == nil { + return nil + } + out := new(AppSlotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSlotStatus) DeepCopyInto(out *AppSlotStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSlotStatus. +func (in *AppSlotStatus) DeepCopy() *AppSlotStatus { + if in == nil { + return nil + } + out := new(AppSlotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppSpec) DeepCopyInto(out *AppSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec. +func (in *AppSpec) DeepCopy() *AppSpec { + if in == nil { + return nil + } + out := new(AppSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppStatus) DeepCopyInto(out *AppStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus. +func (in *AppStatus) DeepCopy() *AppStatus { + if in == nil { + return nil + } + out := new(AppStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsActiveDirectoryObservation) DeepCopyInto(out *AuthSettingsActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsActiveDirectoryObservation. +func (in *AuthSettingsActiveDirectoryObservation) DeepCopy() *AuthSettingsActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(AuthSettingsActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsActiveDirectoryParameters) DeepCopyInto(out *AuthSettingsActiveDirectoryParameters) { + *out = *in + if in.AllowedAudiences != nil { + in, out := &in.AllowedAudiences, &out.AllowedAudiences + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClientSecretSecretRef != nil { + in, out := &in.ClientSecretSecretRef, &out.ClientSecretSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsActiveDirectoryParameters. +func (in *AuthSettingsActiveDirectoryParameters) DeepCopy() *AuthSettingsActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(AuthSettingsActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsFacebookObservation) DeepCopyInto(out *AuthSettingsFacebookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsFacebookObservation. +func (in *AuthSettingsFacebookObservation) DeepCopy() *AuthSettingsFacebookObservation { + if in == nil { + return nil + } + out := new(AuthSettingsFacebookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsFacebookParameters) DeepCopyInto(out *AuthSettingsFacebookParameters) { + *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + out.AppSecretSecretRef = in.AppSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsFacebookParameters. +func (in *AuthSettingsFacebookParameters) DeepCopy() *AuthSettingsFacebookParameters { + if in == nil { + return nil + } + out := new(AuthSettingsFacebookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsGoogleObservation) DeepCopyInto(out *AuthSettingsGoogleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsGoogleObservation. +func (in *AuthSettingsGoogleObservation) DeepCopy() *AuthSettingsGoogleObservation { + if in == nil { + return nil + } + out := new(AuthSettingsGoogleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsGoogleParameters) DeepCopyInto(out *AuthSettingsGoogleParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsGoogleParameters. +func (in *AuthSettingsGoogleParameters) DeepCopy() *AuthSettingsGoogleParameters { + if in == nil { + return nil + } + out := new(AuthSettingsGoogleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsMicrosoftObservation) DeepCopyInto(out *AuthSettingsMicrosoftObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsMicrosoftObservation. +func (in *AuthSettingsMicrosoftObservation) DeepCopy() *AuthSettingsMicrosoftObservation { + if in == nil { + return nil + } + out := new(AuthSettingsMicrosoftObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsMicrosoftParameters) DeepCopyInto(out *AuthSettingsMicrosoftParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsMicrosoftParameters. +func (in *AuthSettingsMicrosoftParameters) DeepCopy() *AuthSettingsMicrosoftParameters { + if in == nil { + return nil + } + out := new(AuthSettingsMicrosoftParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsObservation) DeepCopyInto(out *AuthSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsObservation. +func (in *AuthSettingsObservation) DeepCopy() *AuthSettingsObservation { + if in == nil { + return nil + } + out := new(AuthSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsParameters) DeepCopyInto(out *AuthSettingsParameters) { + *out = *in + if in.ActiveDirectory != nil { + in, out := &in.ActiveDirectory, &out.ActiveDirectory + *out = make([]ActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalLoginParams != nil { + in, out := &in.AdditionalLoginParams, &out.AdditionalLoginParams + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AllowedExternalRedirectUrls != nil { + in, out := &in.AllowedExternalRedirectUrls, &out.AllowedExternalRedirectUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultProvider != nil { + in, out := &in.DefaultProvider, &out.DefaultProvider + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Facebook != nil { + in, out := &in.Facebook, &out.Facebook + *out = make([]FacebookParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Google != nil { + in, out := &in.Google, &out.Google + *out = make([]GoogleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.Microsoft != nil { + in, out := &in.Microsoft, &out.Microsoft + *out = make([]MicrosoftParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RuntimeVersion != nil { + in, out := &in.RuntimeVersion, &out.RuntimeVersion + *out = new(string) + **out = **in + } + if in.TokenRefreshExtensionHours != nil { + in, out := &in.TokenRefreshExtensionHours, &out.TokenRefreshExtensionHours + *out = new(float64) + **out = **in + } + if in.TokenStoreEnabled != nil { + in, out := &in.TokenStoreEnabled, &out.TokenStoreEnabled + *out = new(bool) + **out = **in + } + if in.Twitter != nil { + in, out := &in.Twitter, &out.Twitter + *out = make([]TwitterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UnauthenticatedClientAction != nil { + in, out := &in.UnauthenticatedClientAction, &out.UnauthenticatedClientAction + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsParameters. +func (in *AuthSettingsParameters) DeepCopy() *AuthSettingsParameters { + if in == nil { + return nil + } + out := new(AuthSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsTwitterObservation) DeepCopyInto(out *AuthSettingsTwitterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsTwitterObservation. +func (in *AuthSettingsTwitterObservation) DeepCopy() *AuthSettingsTwitterObservation { + if in == nil { + return nil + } + out := new(AuthSettingsTwitterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthSettingsTwitterParameters) DeepCopyInto(out *AuthSettingsTwitterParameters) { + *out = *in + if in.ConsumerKey != nil { + in, out := &in.ConsumerKey, &out.ConsumerKey + *out = new(string) + **out = **in + } + out.ConsumerSecretSecretRef = in.ConsumerSecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSettingsTwitterParameters. +func (in *AuthSettingsTwitterParameters) DeepCopy() *AuthSettingsTwitterParameters { + if in == nil { + return nil + } + out := new(AuthSettingsTwitterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionStringObservation) DeepCopyInto(out *ConnectionStringObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStringObservation. +func (in *ConnectionStringObservation) DeepCopy() *ConnectionStringObservation { + if in == nil { + return nil + } + out := new(ConnectionStringObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionStringParameters) DeepCopyInto(out *ConnectionStringParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + out.ValueSecretRef = in.ValueSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStringParameters. +func (in *ConnectionStringParameters) DeepCopy() *ConnectionStringParameters { + if in == nil { + return nil + } + out := new(ConnectionStringParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsObservation) DeepCopyInto(out *CorsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsObservation. +func (in *CorsObservation) DeepCopy() *CorsObservation { + if in == nil { + return nil + } + out := new(CorsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsParameters) DeepCopyInto(out *CorsParameters) { + *out = *in + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SupportCredentials != nil { + in, out := &in.SupportCredentials, &out.SupportCredentials + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsParameters. +func (in *CorsParameters) DeepCopy() *CorsParameters { + if in == nil { + return nil + } + out := new(CorsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FacebookObservation) DeepCopyInto(out *FacebookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FacebookObservation. +func (in *FacebookObservation) DeepCopy() *FacebookObservation { + if in == nil { + return nil + } + out := new(FacebookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FacebookParameters) DeepCopyInto(out *FacebookParameters) { + *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + out.AppSecretSecretRef = in.AppSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FacebookParameters. +func (in *FacebookParameters) DeepCopy() *FacebookParameters { + if in == nil { + return nil + } + out := new(FacebookParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GoogleObservation) DeepCopyInto(out *GoogleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleObservation. +func (in *GoogleObservation) DeepCopy() *GoogleObservation { + if in == nil { + return nil + } + out := new(GoogleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GoogleParameters) DeepCopyInto(out *GoogleParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleParameters. +func (in *GoogleParameters) DeepCopy() *GoogleParameters { + if in == nil { + return nil + } + out := new(GoogleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadersObservation) DeepCopyInto(out *HeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersObservation. +func (in *HeadersObservation) DeepCopy() *HeadersObservation { + if in == nil { + return nil + } + out := new(HeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadersParameters) DeepCopyInto(out *HeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadersParameters. +func (in *HeadersParameters) DeepCopy() *HeadersParameters { + if in == nil { + return nil + } + out := new(HeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionHeadersObservation) DeepCopyInto(out *IPRestrictionHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionHeadersObservation. +func (in *IPRestrictionHeadersObservation) DeepCopy() *IPRestrictionHeadersObservation { + if in == nil { + return nil + } + out := new(IPRestrictionHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionHeadersParameters) DeepCopyInto(out *IPRestrictionHeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionHeadersParameters. +func (in *IPRestrictionHeadersParameters) DeepCopy() *IPRestrictionHeadersParameters { + if in == nil { + return nil + } + out := new(IPRestrictionHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionObservation) DeepCopyInto(out *IPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionObservation. +func (in *IPRestrictionObservation) DeepCopy() *IPRestrictionObservation { + if in == nil { + return nil + } + out := new(IPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPRestrictionParameters) DeepCopyInto(out *IPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]HeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPRestrictionParameters. +func (in *IPRestrictionParameters) DeepCopy() *IPRestrictionParameters { + if in == nil { + return nil + } + out := new(IPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftObservation) DeepCopyInto(out *MicrosoftObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftObservation. +func (in *MicrosoftObservation) DeepCopy() *MicrosoftObservation { + if in == nil { + return nil + } + out := new(MicrosoftObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MicrosoftParameters) DeepCopyInto(out *MicrosoftParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + out.ClientSecretSecretRef = in.ClientSecretSecretRef + if in.OauthScopes != nil { + in, out := &in.OauthScopes, &out.OauthScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicrosoftParameters. +func (in *MicrosoftParameters) DeepCopy() *MicrosoftParameters { + if in == nil { + return nil + } + out := new(MicrosoftParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionHeadersObservation) DeepCopyInto(out *ScmIPRestrictionHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionHeadersObservation. +func (in *ScmIPRestrictionHeadersObservation) DeepCopy() *ScmIPRestrictionHeadersObservation { + if in == nil { + return nil + } + out := new(ScmIPRestrictionHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionHeadersParameters) DeepCopyInto(out *ScmIPRestrictionHeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionHeadersParameters. +func (in *ScmIPRestrictionHeadersParameters) DeepCopy() *ScmIPRestrictionHeadersParameters { + if in == nil { + return nil + } + out := new(ScmIPRestrictionHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionObservation) DeepCopyInto(out *ScmIPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionObservation. +func (in *ScmIPRestrictionObservation) DeepCopy() *ScmIPRestrictionObservation { + if in == nil { + return nil + } + out := new(ScmIPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScmIPRestrictionParameters) DeepCopyInto(out *ScmIPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]ScmIPRestrictionHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScmIPRestrictionParameters. +func (in *ScmIPRestrictionParameters) DeepCopy() *ScmIPRestrictionParameters { + if in == nil { + return nil + } + out := new(ScmIPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigCorsObservation) DeepCopyInto(out *SiteConfigCorsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigCorsObservation. +func (in *SiteConfigCorsObservation) DeepCopy() *SiteConfigCorsObservation { + if in == nil { + return nil + } + out := new(SiteConfigCorsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigCorsParameters) DeepCopyInto(out *SiteConfigCorsParameters) { + *out = *in + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SupportCredentials != nil { + in, out := &in.SupportCredentials, &out.SupportCredentials + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigCorsParameters. +func (in *SiteConfigCorsParameters) DeepCopy() *SiteConfigCorsParameters { + if in == nil { + return nil + } + out := new(SiteConfigCorsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigIPRestrictionObservation) DeepCopyInto(out *SiteConfigIPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigIPRestrictionObservation. +func (in *SiteConfigIPRestrictionObservation) DeepCopy() *SiteConfigIPRestrictionObservation { + if in == nil { + return nil + } + out := new(SiteConfigIPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigIPRestrictionParameters) DeepCopyInto(out *SiteConfigIPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]IPRestrictionHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigIPRestrictionParameters. +func (in *SiteConfigIPRestrictionParameters) DeepCopy() *SiteConfigIPRestrictionParameters { + if in == nil { + return nil + } + out := new(SiteConfigIPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigObservation) DeepCopyInto(out *SiteConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigObservation. +func (in *SiteConfigObservation) DeepCopy() *SiteConfigObservation { + if in == nil { + return nil + } + out := new(SiteConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigParameters) DeepCopyInto(out *SiteConfigParameters) { + *out = *in + if in.AlwaysOn != nil { + in, out := &in.AlwaysOn, &out.AlwaysOn + *out = new(bool) + **out = **in + } + if in.AppScaleLimit != nil { + in, out := &in.AppScaleLimit, &out.AppScaleLimit + *out = new(int64) + **out = **in + } + if in.AutoSwapSlotName != nil { + in, out := &in.AutoSwapSlotName, &out.AutoSwapSlotName + *out = new(string) + **out = **in + } + if in.Cors != nil { + in, out := &in.Cors, &out.Cors + *out = make([]CorsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DotnetFrameworkVersion != nil { + in, out := &in.DotnetFrameworkVersion, &out.DotnetFrameworkVersion + *out = new(string) + **out = **in + } + if in.ElasticInstanceMinimum != nil { + in, out := &in.ElasticInstanceMinimum, &out.ElasticInstanceMinimum + *out = new(int64) + **out = **in + } + if in.FtpsState != nil { + in, out := &in.FtpsState, &out.FtpsState + *out = new(string) + **out = **in + } + if in.HealthCheckPath != nil { + in, out := &in.HealthCheckPath, &out.HealthCheckPath + *out = new(string) + **out = **in + } + if in.Http2Enabled != nil { + in, out := &in.Http2Enabled, &out.Http2Enabled + *out = new(bool) + **out = **in + } + if in.IPRestriction != nil { + in, out := &in.IPRestriction, &out.IPRestriction + *out = make([]IPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.JavaVersion != nil { + in, out := &in.JavaVersion, &out.JavaVersion + *out = new(string) + **out = **in + } + if in.LinuxFxVersion != nil { + in, out := &in.LinuxFxVersion, &out.LinuxFxVersion + *out = new(string) + **out = **in + } + if in.MinTLSVersion != nil { + in, out := &in.MinTLSVersion, &out.MinTLSVersion + *out = new(string) + **out = **in + } + if in.PreWarmedInstanceCount != nil { + in, out := &in.PreWarmedInstanceCount, &out.PreWarmedInstanceCount + *out = new(int64) + **out = **in + } + if in.RuntimeScaleMonitoringEnabled != nil { + in, out := &in.RuntimeScaleMonitoringEnabled, &out.RuntimeScaleMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.ScmIPRestriction != nil { + in, out := &in.ScmIPRestriction, &out.ScmIPRestriction + *out = make([]ScmIPRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScmType != nil { + in, out := &in.ScmType, &out.ScmType + *out = new(string) + **out = **in + } + if in.ScmUseMainIPRestriction != nil { + in, out := &in.ScmUseMainIPRestriction, &out.ScmUseMainIPRestriction + *out = new(bool) + **out = **in + } + if in.Use32BitWorkerProcess != nil { + in, out := &in.Use32BitWorkerProcess, &out.Use32BitWorkerProcess + *out = new(bool) + **out = **in + } + if in.VnetRouteAllEnabled != nil { + in, out := &in.VnetRouteAllEnabled, &out.VnetRouteAllEnabled + *out = new(bool) + **out = **in + } + if in.WebsocketsEnabled != nil { + in, out := &in.WebsocketsEnabled, &out.WebsocketsEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigParameters. +func (in *SiteConfigParameters) DeepCopy() *SiteConfigParameters { + if in == nil { + return nil + } + out := new(SiteConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionHeadersObservation) DeepCopyInto(out *SiteConfigScmIPRestrictionHeadersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionHeadersObservation. +func (in *SiteConfigScmIPRestrictionHeadersObservation) DeepCopy() *SiteConfigScmIPRestrictionHeadersObservation { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionHeadersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionHeadersParameters) DeepCopyInto(out *SiteConfigScmIPRestrictionHeadersParameters) { + *out = *in + if in.XAzureFdid != nil { + in, out := &in.XAzureFdid, &out.XAzureFdid + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XFdHealthProbe != nil { + in, out := &in.XFdHealthProbe, &out.XFdHealthProbe + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedFor != nil { + in, out := &in.XForwardedFor, &out.XForwardedFor + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.XForwardedHost != nil { + in, out := &in.XForwardedHost, &out.XForwardedHost + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionHeadersParameters. +func (in *SiteConfigScmIPRestrictionHeadersParameters) DeepCopy() *SiteConfigScmIPRestrictionHeadersParameters { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionHeadersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionObservation) DeepCopyInto(out *SiteConfigScmIPRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionObservation. +func (in *SiteConfigScmIPRestrictionObservation) DeepCopy() *SiteConfigScmIPRestrictionObservation { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteConfigScmIPRestrictionParameters) DeepCopyInto(out *SiteConfigScmIPRestrictionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make([]SiteConfigScmIPRestrictionHeadersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ServiceTag != nil { + in, out := &in.ServiceTag, &out.ServiceTag + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetID != nil { + in, out := &in.VirtualNetworkSubnetID, &out.VirtualNetworkSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteConfigScmIPRestrictionParameters. +func (in *SiteConfigScmIPRestrictionParameters) DeepCopy() *SiteConfigScmIPRestrictionParameters { + if in == nil { + return nil + } + out := new(SiteConfigScmIPRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteCredentialObservation) DeepCopyInto(out *SiteCredentialObservation) { + *out = *in + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteCredentialObservation. +func (in *SiteCredentialObservation) DeepCopy() *SiteCredentialObservation { + if in == nil { + return nil + } + out := new(SiteCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteCredentialParameters) DeepCopyInto(out *SiteCredentialParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteCredentialParameters. +func (in *SiteCredentialParameters) DeepCopy() *SiteCredentialParameters { + if in == nil { + return nil + } + out := new(SiteCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceControlObservation) DeepCopyInto(out *SourceControlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceControlObservation. +func (in *SourceControlObservation) DeepCopy() *SourceControlObservation { + if in == nil { + return nil + } + out := new(SourceControlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceControlParameters) DeepCopyInto(out *SourceControlParameters) { + *out = *in + if in.Branch != nil { + in, out := &in.Branch, &out.Branch + *out = new(string) + **out = **in + } + if in.ManualIntegration != nil { + in, out := &in.ManualIntegration, &out.ManualIntegration + *out = new(bool) + **out = **in + } + if in.RepoURL != nil { + in, out := &in.RepoURL, &out.RepoURL + *out = new(string) + **out = **in + } + if in.RollbackEnabled != nil { + in, out := &in.RollbackEnabled, &out.RollbackEnabled + *out = new(bool) + **out = **in + } + if in.UseMercurial != nil { + in, out := &in.UseMercurial, &out.UseMercurial + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceControlParameters. +func (in *SourceControlParameters) DeepCopy() *SourceControlParameters { + if in == nil { + return nil + } + out := new(SourceControlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwitterObservation) DeepCopyInto(out *TwitterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwitterObservation. +func (in *TwitterObservation) DeepCopy() *TwitterObservation { + if in == nil { + return nil + } + out := new(TwitterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TwitterParameters) DeepCopyInto(out *TwitterParameters) { + *out = *in + if in.ConsumerKey != nil { + in, out := &in.ConsumerKey, &out.ConsumerKey + *out = new(string) + **out = **in + } + out.ConsumerSecretSecretRef = in.ConsumerSecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TwitterParameters. +func (in *TwitterParameters) DeepCopy() *TwitterParameters { + if in == nil { + return nil + } + out := new(TwitterParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/function/v1alpha1/zz_generated.managed.go b/apis/function/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..44785c540 --- /dev/null +++ b/apis/function/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this App. +func (mg *App) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this App. +func (mg *App) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this App. +func (mg *App) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this App. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *App) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this App. +func (mg *App) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this App. +func (mg *App) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this App. +func (mg *App) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this App. +func (mg *App) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this App. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *App) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this App. +func (mg *App) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppSlot. +func (mg *AppSlot) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppSlot. +func (mg *AppSlot) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppSlot. +func (mg *AppSlot) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppSlot. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppSlot) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppSlot. +func (mg *AppSlot) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppSlot. +func (mg *AppSlot) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppSlot. +func (mg *AppSlot) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppSlot. +func (mg *AppSlot) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppSlot. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppSlot) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppSlot. +func (mg *AppSlot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/function/v1alpha1/zz_generated.managedlist.go b/apis/function/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..6ba63a2c5 --- /dev/null +++ b/apis/function/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AppList. +func (l *AppList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppSlotList. +func (l *AppSlotList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/function/v1alpha1/zz_groupversion_info.go b/apis/function/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..d3321ce12 --- /dev/null +++ b/apis/function/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=function.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "function.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/hdinsight/v1alpha1/zz_generated.deepcopy.go b/apis/hdinsight/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..cf8405313 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,7947 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AmbariObservation) DeepCopyInto(out *AmbariObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmbariObservation. +func (in *AmbariObservation) DeepCopy() *AmbariObservation { + if in == nil { + return nil + } + out := new(AmbariObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AmbariParameters) DeepCopyInto(out *AmbariParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmbariParameters. +func (in *AmbariParameters) DeepCopy() *AmbariParameters { + if in == nil { + return nil + } + out := new(AmbariParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleCapacityObservation) DeepCopyInto(out *AutoscaleCapacityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleCapacityObservation. +func (in *AutoscaleCapacityObservation) DeepCopy() *AutoscaleCapacityObservation { + if in == nil { + return nil + } + out := new(AutoscaleCapacityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleCapacityParameters) DeepCopyInto(out *AutoscaleCapacityParameters) { + *out = *in + if in.MaxInstanceCount != nil { + in, out := &in.MaxInstanceCount, &out.MaxInstanceCount + *out = new(int64) + **out = **in + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleCapacityParameters. +func (in *AutoscaleCapacityParameters) DeepCopy() *AutoscaleCapacityParameters { + if in == nil { + return nil + } + out := new(AutoscaleCapacityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleObservation) DeepCopyInto(out *AutoscaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleObservation. +func (in *AutoscaleObservation) DeepCopy() *AutoscaleObservation { + if in == nil { + return nil + } + out := new(AutoscaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleParameters) DeepCopyInto(out *AutoscaleParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = make([]CapacityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = make([]RecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleParameters. +func (in *AutoscaleParameters) DeepCopy() *AutoscaleParameters { + if in == nil { + return nil + } + out := new(AutoscaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleRecurrenceObservation) DeepCopyInto(out *AutoscaleRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleRecurrenceObservation. +func (in *AutoscaleRecurrenceObservation) DeepCopy() *AutoscaleRecurrenceObservation { + if in == nil { + return nil + } + out := new(AutoscaleRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleRecurrenceParameters) DeepCopyInto(out *AutoscaleRecurrenceParameters) { + *out = *in + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]RecurrenceScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleRecurrenceParameters. +func (in *AutoscaleRecurrenceParameters) DeepCopy() *AutoscaleRecurrenceParameters { + if in == nil { + return nil + } + out := new(AutoscaleRecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleRecurrenceScheduleObservation) DeepCopyInto(out *AutoscaleRecurrenceScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleRecurrenceScheduleObservation. +func (in *AutoscaleRecurrenceScheduleObservation) DeepCopy() *AutoscaleRecurrenceScheduleObservation { + if in == nil { + return nil + } + out := new(AutoscaleRecurrenceScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleRecurrenceScheduleParameters) DeepCopyInto(out *AutoscaleRecurrenceScheduleParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleRecurrenceScheduleParameters. +func (in *AutoscaleRecurrenceScheduleParameters) DeepCopy() *AutoscaleRecurrenceScheduleParameters { + if in == nil { + return nil + } + out := new(AutoscaleRecurrenceScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityObservation) DeepCopyInto(out *CapacityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityObservation. +func (in *CapacityObservation) DeepCopy() *CapacityObservation { + if in == nil { + return nil + } + out := new(CapacityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityParameters) DeepCopyInto(out *CapacityParameters) { + *out = *in + if in.MaxInstanceCount != nil { + in, out := &in.MaxInstanceCount, &out.MaxInstanceCount + *out = new(int64) + **out = **in + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityParameters. +func (in *CapacityParameters) DeepCopy() *CapacityParameters { + if in == nil { + return nil + } + out := new(CapacityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ComponentVersionObservation) DeepCopyInto(out *ComponentVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentVersionObservation. +func (in *ComponentVersionObservation) DeepCopy() *ComponentVersionObservation { + if in == nil { + return nil + } + out := new(ComponentVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ComponentVersionParameters) DeepCopyInto(out *ComponentVersionParameters) { + *out = *in + if in.Hadoop != nil { + in, out := &in.Hadoop, &out.Hadoop + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentVersionParameters. +func (in *ComponentVersionParameters) DeepCopy() *ComponentVersionParameters { + if in == nil { + return nil + } + out := new(ComponentVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeNodeObservation) DeepCopyInto(out *EdgeNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeNodeObservation. +func (in *EdgeNodeObservation) DeepCopy() *EdgeNodeObservation { + if in == nil { + return nil + } + out := new(EdgeNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EdgeNodeParameters) DeepCopyInto(out *EdgeNodeParameters) { + *out = *in + if in.InstallScriptAction != nil { + in, out := &in.InstallScriptAction, &out.InstallScriptAction + *out = make([]InstallScriptActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeNodeParameters. +func (in *EdgeNodeParameters) DeepCopy() *EdgeNodeParameters { + if in == nil { + return nil + } + out := new(EdgeNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. +func (in *GatewayObservation) DeepCopy() *GatewayObservation { + if in == nil { + return nil + } + out := new(GatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. +func (in *GatewayParameters) DeepCopy() *GatewayParameters { + if in == nil { + return nil + } + out := new(GatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HadoopCluster) DeepCopyInto(out *HadoopCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HadoopCluster. +func (in *HadoopCluster) DeepCopy() *HadoopCluster { + if in == nil { + return nil + } + out := new(HadoopCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HadoopCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HadoopClusterList) DeepCopyInto(out *HadoopClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HadoopCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HadoopClusterList. +func (in *HadoopClusterList) DeepCopy() *HadoopClusterList { + if in == nil { + return nil + } + out := new(HadoopClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HadoopClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HadoopClusterObservation) DeepCopyInto(out *HadoopClusterObservation) { + *out = *in + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HadoopClusterObservation. +func (in *HadoopClusterObservation) DeepCopy() *HadoopClusterObservation { + if in == nil { + return nil + } + out := new(HadoopClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HadoopClusterParameters) DeepCopyInto(out *HadoopClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.ComponentVersion != nil { + in, out := &in.ComponentVersion, &out.ComponentVersion + *out = make([]ComponentVersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]GatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metastores != nil { + in, out := &in.Metastores, &out.Metastores + *out = make([]MetastoresParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]MonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Network != nil { + in, out := &in.Network, &out.Network + *out = make([]NetworkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]RolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityProfile != nil { + in, out := &in.SecurityProfile, &out.SecurityProfile + *out = make([]SecurityProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]StorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountGen2 != nil { + in, out := &in.StorageAccountGen2, &out.StorageAccountGen2 + *out = make([]StorageAccountGen2Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HadoopClusterParameters. +func (in *HadoopClusterParameters) DeepCopy() *HadoopClusterParameters { + if in == nil { + return nil + } + out := new(HadoopClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HadoopClusterSpec) DeepCopyInto(out *HadoopClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HadoopClusterSpec. +func (in *HadoopClusterSpec) DeepCopy() *HadoopClusterSpec { + if in == nil { + return nil + } + out := new(HadoopClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HadoopClusterStatus) DeepCopyInto(out *HadoopClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HadoopClusterStatus. +func (in *HadoopClusterStatus) DeepCopy() *HadoopClusterStatus { + if in == nil { + return nil + } + out := new(HadoopClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseCluster) DeepCopyInto(out *HbaseCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseCluster. +func (in *HbaseCluster) DeepCopy() *HbaseCluster { + if in == nil { + return nil + } + out := new(HbaseCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HbaseCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterComponentVersionObservation) DeepCopyInto(out *HbaseClusterComponentVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterComponentVersionObservation. +func (in *HbaseClusterComponentVersionObservation) DeepCopy() *HbaseClusterComponentVersionObservation { + if in == nil { + return nil + } + out := new(HbaseClusterComponentVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterComponentVersionParameters) DeepCopyInto(out *HbaseClusterComponentVersionParameters) { + *out = *in + if in.Hbase != nil { + in, out := &in.Hbase, &out.Hbase + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterComponentVersionParameters. +func (in *HbaseClusterComponentVersionParameters) DeepCopy() *HbaseClusterComponentVersionParameters { + if in == nil { + return nil + } + out := new(HbaseClusterComponentVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterGatewayObservation) DeepCopyInto(out *HbaseClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterGatewayObservation. +func (in *HbaseClusterGatewayObservation) DeepCopy() *HbaseClusterGatewayObservation { + if in == nil { + return nil + } + out := new(HbaseClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterGatewayParameters) DeepCopyInto(out *HbaseClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterGatewayParameters. +func (in *HbaseClusterGatewayParameters) DeepCopy() *HbaseClusterGatewayParameters { + if in == nil { + return nil + } + out := new(HbaseClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterList) DeepCopyInto(out *HbaseClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HbaseCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterList. +func (in *HbaseClusterList) DeepCopy() *HbaseClusterList { + if in == nil { + return nil + } + out := new(HbaseClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HbaseClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterMetastoresObservation) DeepCopyInto(out *HbaseClusterMetastoresObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterMetastoresObservation. +func (in *HbaseClusterMetastoresObservation) DeepCopy() *HbaseClusterMetastoresObservation { + if in == nil { + return nil + } + out := new(HbaseClusterMetastoresObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterMetastoresParameters) DeepCopyInto(out *HbaseClusterMetastoresParameters) { + *out = *in + if in.Ambari != nil { + in, out := &in.Ambari, &out.Ambari + *out = make([]MetastoresAmbariParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Hive != nil { + in, out := &in.Hive, &out.Hive + *out = make([]MetastoresHiveParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Oozie != nil { + in, out := &in.Oozie, &out.Oozie + *out = make([]MetastoresOozieParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterMetastoresParameters. +func (in *HbaseClusterMetastoresParameters) DeepCopy() *HbaseClusterMetastoresParameters { + if in == nil { + return nil + } + out := new(HbaseClusterMetastoresParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterMonitorObservation) DeepCopyInto(out *HbaseClusterMonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterMonitorObservation. +func (in *HbaseClusterMonitorObservation) DeepCopy() *HbaseClusterMonitorObservation { + if in == nil { + return nil + } + out := new(HbaseClusterMonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterMonitorParameters) DeepCopyInto(out *HbaseClusterMonitorParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + out.PrimaryKeySecretRef = in.PrimaryKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterMonitorParameters. +func (in *HbaseClusterMonitorParameters) DeepCopy() *HbaseClusterMonitorParameters { + if in == nil { + return nil + } + out := new(HbaseClusterMonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterObservation) DeepCopyInto(out *HbaseClusterObservation) { + *out = *in + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterObservation. +func (in *HbaseClusterObservation) DeepCopy() *HbaseClusterObservation { + if in == nil { + return nil + } + out := new(HbaseClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterParameters) DeepCopyInto(out *HbaseClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.ComponentVersion != nil { + in, out := &in.ComponentVersion, &out.ComponentVersion + *out = make([]HbaseClusterComponentVersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]HbaseClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metastores != nil { + in, out := &in.Metastores, &out.Metastores + *out = make([]HbaseClusterMetastoresParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]HbaseClusterMonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]HbaseClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityProfile != nil { + in, out := &in.SecurityProfile, &out.SecurityProfile + *out = make([]HbaseClusterSecurityProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]HbaseClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountGen2 != nil { + in, out := &in.StorageAccountGen2, &out.StorageAccountGen2 + *out = make([]HbaseClusterStorageAccountGen2Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterParameters. +func (in *HbaseClusterParameters) DeepCopy() *HbaseClusterParameters { + if in == nil { + return nil + } + out := new(HbaseClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterRolesObservation) DeepCopyInto(out *HbaseClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterRolesObservation. +func (in *HbaseClusterRolesObservation) DeepCopy() *HbaseClusterRolesObservation { + if in == nil { + return nil + } + out := new(HbaseClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterRolesParameters) DeepCopyInto(out *HbaseClusterRolesParameters) { + *out = *in + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]RolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]RolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]RolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterRolesParameters. +func (in *HbaseClusterRolesParameters) DeepCopy() *HbaseClusterRolesParameters { + if in == nil { + return nil + } + out := new(HbaseClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterSecurityProfileObservation) DeepCopyInto(out *HbaseClusterSecurityProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterSecurityProfileObservation. +func (in *HbaseClusterSecurityProfileObservation) DeepCopy() *HbaseClusterSecurityProfileObservation { + if in == nil { + return nil + } + out := new(HbaseClusterSecurityProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterSecurityProfileParameters) DeepCopyInto(out *HbaseClusterSecurityProfileParameters) { + *out = *in + if in.AaddsResourceID != nil { + in, out := &in.AaddsResourceID, &out.AaddsResourceID + *out = new(string) + **out = **in + } + if in.ClusterUsersGroupDNS != nil { + in, out := &in.ClusterUsersGroupDNS, &out.ClusterUsersGroupDNS + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + out.DomainUserPasswordSecretRef = in.DomainUserPasswordSecretRef + if in.DomainUsername != nil { + in, out := &in.DomainUsername, &out.DomainUsername + *out = new(string) + **out = **in + } + if in.LdapsUrls != nil { + in, out := &in.LdapsUrls, &out.LdapsUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MsiResourceID != nil { + in, out := &in.MsiResourceID, &out.MsiResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterSecurityProfileParameters. +func (in *HbaseClusterSecurityProfileParameters) DeepCopy() *HbaseClusterSecurityProfileParameters { + if in == nil { + return nil + } + out := new(HbaseClusterSecurityProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterSpec) DeepCopyInto(out *HbaseClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterSpec. +func (in *HbaseClusterSpec) DeepCopy() *HbaseClusterSpec { + if in == nil { + return nil + } + out := new(HbaseClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterStatus) DeepCopyInto(out *HbaseClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterStatus. +func (in *HbaseClusterStatus) DeepCopy() *HbaseClusterStatus { + if in == nil { + return nil + } + out := new(HbaseClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterStorageAccountGen2Observation) DeepCopyInto(out *HbaseClusterStorageAccountGen2Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterStorageAccountGen2Observation. +func (in *HbaseClusterStorageAccountGen2Observation) DeepCopy() *HbaseClusterStorageAccountGen2Observation { + if in == nil { + return nil + } + out := new(HbaseClusterStorageAccountGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterStorageAccountGen2Parameters) DeepCopyInto(out *HbaseClusterStorageAccountGen2Parameters) { + *out = *in + if in.FilesystemID != nil { + in, out := &in.FilesystemID, &out.FilesystemID + *out = new(string) + **out = **in + } + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + if in.ManagedIdentityResourceID != nil { + in, out := &in.ManagedIdentityResourceID, &out.ManagedIdentityResourceID + *out = new(string) + **out = **in + } + if in.StorageResourceID != nil { + in, out := &in.StorageResourceID, &out.StorageResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterStorageAccountGen2Parameters. +func (in *HbaseClusterStorageAccountGen2Parameters) DeepCopy() *HbaseClusterStorageAccountGen2Parameters { + if in == nil { + return nil + } + out := new(HbaseClusterStorageAccountGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterStorageAccountObservation) DeepCopyInto(out *HbaseClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterStorageAccountObservation. +func (in *HbaseClusterStorageAccountObservation) DeepCopy() *HbaseClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(HbaseClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HbaseClusterStorageAccountParameters) DeepCopyInto(out *HbaseClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HbaseClusterStorageAccountParameters. +func (in *HbaseClusterStorageAccountParameters) DeepCopy() *HbaseClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(HbaseClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadNodeObservation) DeepCopyInto(out *HeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadNodeObservation. +func (in *HeadNodeObservation) DeepCopy() *HeadNodeObservation { + if in == nil { + return nil + } + out := new(HeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HeadNodeParameters) DeepCopyInto(out *HeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeadNodeParameters. +func (in *HeadNodeParameters) DeepCopy() *HeadNodeParameters { + if in == nil { + return nil + } + out := new(HeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HiveObservation) DeepCopyInto(out *HiveObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveObservation. +func (in *HiveObservation) DeepCopy() *HiveObservation { + if in == nil { + return nil + } + out := new(HiveObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HiveParameters) DeepCopyInto(out *HiveParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveParameters. +func (in *HiveParameters) DeepCopy() *HiveParameters { + if in == nil { + return nil + } + out := new(HiveParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstallScriptActionObservation) DeepCopyInto(out *InstallScriptActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallScriptActionObservation. +func (in *InstallScriptActionObservation) DeepCopy() *InstallScriptActionObservation { + if in == nil { + return nil + } + out := new(InstallScriptActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InstallScriptActionParameters) DeepCopyInto(out *InstallScriptActionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallScriptActionParameters. +func (in *InstallScriptActionParameters) DeepCopy() *InstallScriptActionParameters { + if in == nil { + return nil + } + out := new(InstallScriptActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryCluster) DeepCopyInto(out *InteractiveQueryCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryCluster. +func (in *InteractiveQueryCluster) DeepCopy() *InteractiveQueryCluster { + if in == nil { + return nil + } + out := new(InteractiveQueryCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InteractiveQueryCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterComponentVersionObservation) DeepCopyInto(out *InteractiveQueryClusterComponentVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterComponentVersionObservation. +func (in *InteractiveQueryClusterComponentVersionObservation) DeepCopy() *InteractiveQueryClusterComponentVersionObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterComponentVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterComponentVersionParameters) DeepCopyInto(out *InteractiveQueryClusterComponentVersionParameters) { + *out = *in + if in.InteractiveHive != nil { + in, out := &in.InteractiveHive, &out.InteractiveHive + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterComponentVersionParameters. +func (in *InteractiveQueryClusterComponentVersionParameters) DeepCopy() *InteractiveQueryClusterComponentVersionParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterComponentVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterGatewayObservation) DeepCopyInto(out *InteractiveQueryClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterGatewayObservation. +func (in *InteractiveQueryClusterGatewayObservation) DeepCopy() *InteractiveQueryClusterGatewayObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterGatewayParameters) DeepCopyInto(out *InteractiveQueryClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterGatewayParameters. +func (in *InteractiveQueryClusterGatewayParameters) DeepCopy() *InteractiveQueryClusterGatewayParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterList) DeepCopyInto(out *InteractiveQueryClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InteractiveQueryCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterList. +func (in *InteractiveQueryClusterList) DeepCopy() *InteractiveQueryClusterList { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InteractiveQueryClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresAmbariObservation) DeepCopyInto(out *InteractiveQueryClusterMetastoresAmbariObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresAmbariObservation. +func (in *InteractiveQueryClusterMetastoresAmbariObservation) DeepCopy() *InteractiveQueryClusterMetastoresAmbariObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresAmbariObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresAmbariParameters) DeepCopyInto(out *InteractiveQueryClusterMetastoresAmbariParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresAmbariParameters. +func (in *InteractiveQueryClusterMetastoresAmbariParameters) DeepCopy() *InteractiveQueryClusterMetastoresAmbariParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresAmbariParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresHiveObservation) DeepCopyInto(out *InteractiveQueryClusterMetastoresHiveObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresHiveObservation. +func (in *InteractiveQueryClusterMetastoresHiveObservation) DeepCopy() *InteractiveQueryClusterMetastoresHiveObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresHiveObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresHiveParameters) DeepCopyInto(out *InteractiveQueryClusterMetastoresHiveParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresHiveParameters. +func (in *InteractiveQueryClusterMetastoresHiveParameters) DeepCopy() *InteractiveQueryClusterMetastoresHiveParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresHiveParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresObservation) DeepCopyInto(out *InteractiveQueryClusterMetastoresObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresObservation. +func (in *InteractiveQueryClusterMetastoresObservation) DeepCopy() *InteractiveQueryClusterMetastoresObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresOozieObservation) DeepCopyInto(out *InteractiveQueryClusterMetastoresOozieObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresOozieObservation. +func (in *InteractiveQueryClusterMetastoresOozieObservation) DeepCopy() *InteractiveQueryClusterMetastoresOozieObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresOozieObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresOozieParameters) DeepCopyInto(out *InteractiveQueryClusterMetastoresOozieParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresOozieParameters. +func (in *InteractiveQueryClusterMetastoresOozieParameters) DeepCopy() *InteractiveQueryClusterMetastoresOozieParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresOozieParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMetastoresParameters) DeepCopyInto(out *InteractiveQueryClusterMetastoresParameters) { + *out = *in + if in.Ambari != nil { + in, out := &in.Ambari, &out.Ambari + *out = make([]InteractiveQueryClusterMetastoresAmbariParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Hive != nil { + in, out := &in.Hive, &out.Hive + *out = make([]InteractiveQueryClusterMetastoresHiveParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Oozie != nil { + in, out := &in.Oozie, &out.Oozie + *out = make([]InteractiveQueryClusterMetastoresOozieParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMetastoresParameters. +func (in *InteractiveQueryClusterMetastoresParameters) DeepCopy() *InteractiveQueryClusterMetastoresParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMetastoresParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMonitorObservation) DeepCopyInto(out *InteractiveQueryClusterMonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMonitorObservation. +func (in *InteractiveQueryClusterMonitorObservation) DeepCopy() *InteractiveQueryClusterMonitorObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterMonitorParameters) DeepCopyInto(out *InteractiveQueryClusterMonitorParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + out.PrimaryKeySecretRef = in.PrimaryKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterMonitorParameters. +func (in *InteractiveQueryClusterMonitorParameters) DeepCopy() *InteractiveQueryClusterMonitorParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterMonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterNetworkObservation) DeepCopyInto(out *InteractiveQueryClusterNetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterNetworkObservation. +func (in *InteractiveQueryClusterNetworkObservation) DeepCopy() *InteractiveQueryClusterNetworkObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterNetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterNetworkParameters) DeepCopyInto(out *InteractiveQueryClusterNetworkParameters) { + *out = *in + if in.ConnectionDirection != nil { + in, out := &in.ConnectionDirection, &out.ConnectionDirection + *out = new(string) + **out = **in + } + if in.PrivateLinkEnabled != nil { + in, out := &in.PrivateLinkEnabled, &out.PrivateLinkEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterNetworkParameters. +func (in *InteractiveQueryClusterNetworkParameters) DeepCopy() *InteractiveQueryClusterNetworkParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterNetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterObservation) DeepCopyInto(out *InteractiveQueryClusterObservation) { + *out = *in + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterObservation. +func (in *InteractiveQueryClusterObservation) DeepCopy() *InteractiveQueryClusterObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterParameters) DeepCopyInto(out *InteractiveQueryClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.ComponentVersion != nil { + in, out := &in.ComponentVersion, &out.ComponentVersion + *out = make([]InteractiveQueryClusterComponentVersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EncryptionInTransitEnabled != nil { + in, out := &in.EncryptionInTransitEnabled, &out.EncryptionInTransitEnabled + *out = new(bool) + **out = **in + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]InteractiveQueryClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metastores != nil { + in, out := &in.Metastores, &out.Metastores + *out = make([]InteractiveQueryClusterMetastoresParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]InteractiveQueryClusterMonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Network != nil { + in, out := &in.Network, &out.Network + *out = make([]InteractiveQueryClusterNetworkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]InteractiveQueryClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityProfile != nil { + in, out := &in.SecurityProfile, &out.SecurityProfile + *out = make([]InteractiveQueryClusterSecurityProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]InteractiveQueryClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountGen2 != nil { + in, out := &in.StorageAccountGen2, &out.StorageAccountGen2 + *out = make([]InteractiveQueryClusterStorageAccountGen2Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterParameters. +func (in *InteractiveQueryClusterParameters) DeepCopy() *InteractiveQueryClusterParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesHeadNodeObservation) DeepCopyInto(out *InteractiveQueryClusterRolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesHeadNodeObservation. +func (in *InteractiveQueryClusterRolesHeadNodeObservation) DeepCopy() *InteractiveQueryClusterRolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesHeadNodeParameters) DeepCopyInto(out *InteractiveQueryClusterRolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesHeadNodeParameters. +func (in *InteractiveQueryClusterRolesHeadNodeParameters) DeepCopy() *InteractiveQueryClusterRolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesObservation) DeepCopyInto(out *InteractiveQueryClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesObservation. +func (in *InteractiveQueryClusterRolesObservation) DeepCopy() *InteractiveQueryClusterRolesObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesParameters) DeepCopyInto(out *InteractiveQueryClusterRolesParameters) { + *out = *in + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]InteractiveQueryClusterRolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]InteractiveQueryClusterRolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]InteractiveQueryClusterRolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesParameters. +func (in *InteractiveQueryClusterRolesParameters) DeepCopy() *InteractiveQueryClusterRolesParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesWorkerNodeObservation) DeepCopyInto(out *InteractiveQueryClusterRolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesWorkerNodeObservation. +func (in *InteractiveQueryClusterRolesWorkerNodeObservation) DeepCopy() *InteractiveQueryClusterRolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesWorkerNodeParameters) DeepCopyInto(out *InteractiveQueryClusterRolesWorkerNodeParameters) { + *out = *in + if in.Autoscale != nil { + in, out := &in.Autoscale, &out.Autoscale + *out = make([]RolesWorkerNodeAutoscaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesWorkerNodeParameters. +func (in *InteractiveQueryClusterRolesWorkerNodeParameters) DeepCopy() *InteractiveQueryClusterRolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesZookeeperNodeObservation) DeepCopyInto(out *InteractiveQueryClusterRolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesZookeeperNodeObservation. +func (in *InteractiveQueryClusterRolesZookeeperNodeObservation) DeepCopy() *InteractiveQueryClusterRolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterRolesZookeeperNodeParameters) DeepCopyInto(out *InteractiveQueryClusterRolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterRolesZookeeperNodeParameters. +func (in *InteractiveQueryClusterRolesZookeeperNodeParameters) DeepCopy() *InteractiveQueryClusterRolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterRolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterSecurityProfileObservation) DeepCopyInto(out *InteractiveQueryClusterSecurityProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterSecurityProfileObservation. +func (in *InteractiveQueryClusterSecurityProfileObservation) DeepCopy() *InteractiveQueryClusterSecurityProfileObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterSecurityProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterSecurityProfileParameters) DeepCopyInto(out *InteractiveQueryClusterSecurityProfileParameters) { + *out = *in + if in.AaddsResourceID != nil { + in, out := &in.AaddsResourceID, &out.AaddsResourceID + *out = new(string) + **out = **in + } + if in.ClusterUsersGroupDNS != nil { + in, out := &in.ClusterUsersGroupDNS, &out.ClusterUsersGroupDNS + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + out.DomainUserPasswordSecretRef = in.DomainUserPasswordSecretRef + if in.DomainUsername != nil { + in, out := &in.DomainUsername, &out.DomainUsername + *out = new(string) + **out = **in + } + if in.LdapsUrls != nil { + in, out := &in.LdapsUrls, &out.LdapsUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MsiResourceID != nil { + in, out := &in.MsiResourceID, &out.MsiResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterSecurityProfileParameters. +func (in *InteractiveQueryClusterSecurityProfileParameters) DeepCopy() *InteractiveQueryClusterSecurityProfileParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterSecurityProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterSpec) DeepCopyInto(out *InteractiveQueryClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterSpec. +func (in *InteractiveQueryClusterSpec) DeepCopy() *InteractiveQueryClusterSpec { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterStatus) DeepCopyInto(out *InteractiveQueryClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterStatus. +func (in *InteractiveQueryClusterStatus) DeepCopy() *InteractiveQueryClusterStatus { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterStorageAccountGen2Observation) DeepCopyInto(out *InteractiveQueryClusterStorageAccountGen2Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterStorageAccountGen2Observation. +func (in *InteractiveQueryClusterStorageAccountGen2Observation) DeepCopy() *InteractiveQueryClusterStorageAccountGen2Observation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterStorageAccountGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterStorageAccountGen2Parameters) DeepCopyInto(out *InteractiveQueryClusterStorageAccountGen2Parameters) { + *out = *in + if in.FilesystemID != nil { + in, out := &in.FilesystemID, &out.FilesystemID + *out = new(string) + **out = **in + } + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + if in.ManagedIdentityResourceID != nil { + in, out := &in.ManagedIdentityResourceID, &out.ManagedIdentityResourceID + *out = new(string) + **out = **in + } + if in.StorageResourceID != nil { + in, out := &in.StorageResourceID, &out.StorageResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterStorageAccountGen2Parameters. +func (in *InteractiveQueryClusterStorageAccountGen2Parameters) DeepCopy() *InteractiveQueryClusterStorageAccountGen2Parameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterStorageAccountGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterStorageAccountObservation) DeepCopyInto(out *InteractiveQueryClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterStorageAccountObservation. +func (in *InteractiveQueryClusterStorageAccountObservation) DeepCopy() *InteractiveQueryClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InteractiveQueryClusterStorageAccountParameters) DeepCopyInto(out *InteractiveQueryClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InteractiveQueryClusterStorageAccountParameters. +func (in *InteractiveQueryClusterStorageAccountParameters) DeepCopy() *InteractiveQueryClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(InteractiveQueryClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaCluster) DeepCopyInto(out *KafkaCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaCluster. +func (in *KafkaCluster) DeepCopy() *KafkaCluster { + if in == nil { + return nil + } + out := new(KafkaCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KafkaCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterComponentVersionObservation) DeepCopyInto(out *KafkaClusterComponentVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterComponentVersionObservation. +func (in *KafkaClusterComponentVersionObservation) DeepCopy() *KafkaClusterComponentVersionObservation { + if in == nil { + return nil + } + out := new(KafkaClusterComponentVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterComponentVersionParameters) DeepCopyInto(out *KafkaClusterComponentVersionParameters) { + *out = *in + if in.Kafka != nil { + in, out := &in.Kafka, &out.Kafka + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterComponentVersionParameters. +func (in *KafkaClusterComponentVersionParameters) DeepCopy() *KafkaClusterComponentVersionParameters { + if in == nil { + return nil + } + out := new(KafkaClusterComponentVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterGatewayObservation) DeepCopyInto(out *KafkaClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterGatewayObservation. +func (in *KafkaClusterGatewayObservation) DeepCopy() *KafkaClusterGatewayObservation { + if in == nil { + return nil + } + out := new(KafkaClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterGatewayParameters) DeepCopyInto(out *KafkaClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterGatewayParameters. +func (in *KafkaClusterGatewayParameters) DeepCopy() *KafkaClusterGatewayParameters { + if in == nil { + return nil + } + out := new(KafkaClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterList) DeepCopyInto(out *KafkaClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]KafkaCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterList. +func (in *KafkaClusterList) DeepCopy() *KafkaClusterList { + if in == nil { + return nil + } + out := new(KafkaClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KafkaClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresAmbariObservation) DeepCopyInto(out *KafkaClusterMetastoresAmbariObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresAmbariObservation. +func (in *KafkaClusterMetastoresAmbariObservation) DeepCopy() *KafkaClusterMetastoresAmbariObservation { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresAmbariObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresAmbariParameters) DeepCopyInto(out *KafkaClusterMetastoresAmbariParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresAmbariParameters. +func (in *KafkaClusterMetastoresAmbariParameters) DeepCopy() *KafkaClusterMetastoresAmbariParameters { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresAmbariParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresHiveObservation) DeepCopyInto(out *KafkaClusterMetastoresHiveObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresHiveObservation. +func (in *KafkaClusterMetastoresHiveObservation) DeepCopy() *KafkaClusterMetastoresHiveObservation { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresHiveObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresHiveParameters) DeepCopyInto(out *KafkaClusterMetastoresHiveParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresHiveParameters. +func (in *KafkaClusterMetastoresHiveParameters) DeepCopy() *KafkaClusterMetastoresHiveParameters { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresHiveParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresObservation) DeepCopyInto(out *KafkaClusterMetastoresObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresObservation. +func (in *KafkaClusterMetastoresObservation) DeepCopy() *KafkaClusterMetastoresObservation { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresOozieObservation) DeepCopyInto(out *KafkaClusterMetastoresOozieObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresOozieObservation. +func (in *KafkaClusterMetastoresOozieObservation) DeepCopy() *KafkaClusterMetastoresOozieObservation { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresOozieObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresOozieParameters) DeepCopyInto(out *KafkaClusterMetastoresOozieParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresOozieParameters. +func (in *KafkaClusterMetastoresOozieParameters) DeepCopy() *KafkaClusterMetastoresOozieParameters { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresOozieParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMetastoresParameters) DeepCopyInto(out *KafkaClusterMetastoresParameters) { + *out = *in + if in.Ambari != nil { + in, out := &in.Ambari, &out.Ambari + *out = make([]KafkaClusterMetastoresAmbariParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Hive != nil { + in, out := &in.Hive, &out.Hive + *out = make([]KafkaClusterMetastoresHiveParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Oozie != nil { + in, out := &in.Oozie, &out.Oozie + *out = make([]KafkaClusterMetastoresOozieParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMetastoresParameters. +func (in *KafkaClusterMetastoresParameters) DeepCopy() *KafkaClusterMetastoresParameters { + if in == nil { + return nil + } + out := new(KafkaClusterMetastoresParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMonitorObservation) DeepCopyInto(out *KafkaClusterMonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMonitorObservation. +func (in *KafkaClusterMonitorObservation) DeepCopy() *KafkaClusterMonitorObservation { + if in == nil { + return nil + } + out := new(KafkaClusterMonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterMonitorParameters) DeepCopyInto(out *KafkaClusterMonitorParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + out.PrimaryKeySecretRef = in.PrimaryKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterMonitorParameters. +func (in *KafkaClusterMonitorParameters) DeepCopy() *KafkaClusterMonitorParameters { + if in == nil { + return nil + } + out := new(KafkaClusterMonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterObservation) DeepCopyInto(out *KafkaClusterObservation) { + *out = *in + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.KafkaRestProxyEndpoint != nil { + in, out := &in.KafkaRestProxyEndpoint, &out.KafkaRestProxyEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterObservation. +func (in *KafkaClusterObservation) DeepCopy() *KafkaClusterObservation { + if in == nil { + return nil + } + out := new(KafkaClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterParameters) DeepCopyInto(out *KafkaClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.ComponentVersion != nil { + in, out := &in.ComponentVersion, &out.ComponentVersion + *out = make([]KafkaClusterComponentVersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EncryptionInTransitEnabled != nil { + in, out := &in.EncryptionInTransitEnabled, &out.EncryptionInTransitEnabled + *out = new(bool) + **out = **in + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]KafkaClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metastores != nil { + in, out := &in.Metastores, &out.Metastores + *out = make([]KafkaClusterMetastoresParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]KafkaClusterMonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RestProxy != nil { + in, out := &in.RestProxy, &out.RestProxy + *out = make([]RestProxyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]KafkaClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityProfile != nil { + in, out := &in.SecurityProfile, &out.SecurityProfile + *out = make([]KafkaClusterSecurityProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]KafkaClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountGen2 != nil { + in, out := &in.StorageAccountGen2, &out.StorageAccountGen2 + *out = make([]KafkaClusterStorageAccountGen2Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterParameters. +func (in *KafkaClusterParameters) DeepCopy() *KafkaClusterParameters { + if in == nil { + return nil + } + out := new(KafkaClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesHeadNodeObservation) DeepCopyInto(out *KafkaClusterRolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesHeadNodeObservation. +func (in *KafkaClusterRolesHeadNodeObservation) DeepCopy() *KafkaClusterRolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(KafkaClusterRolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesHeadNodeParameters) DeepCopyInto(out *KafkaClusterRolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesHeadNodeParameters. +func (in *KafkaClusterRolesHeadNodeParameters) DeepCopy() *KafkaClusterRolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(KafkaClusterRolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesObservation) DeepCopyInto(out *KafkaClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesObservation. +func (in *KafkaClusterRolesObservation) DeepCopy() *KafkaClusterRolesObservation { + if in == nil { + return nil + } + out := new(KafkaClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesParameters) DeepCopyInto(out *KafkaClusterRolesParameters) { + *out = *in + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]KafkaClusterRolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KafkaManagementNode != nil { + in, out := &in.KafkaManagementNode, &out.KafkaManagementNode + *out = make([]KafkaManagementNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]KafkaClusterRolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]KafkaClusterRolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesParameters. +func (in *KafkaClusterRolesParameters) DeepCopy() *KafkaClusterRolesParameters { + if in == nil { + return nil + } + out := new(KafkaClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesWorkerNodeObservation) DeepCopyInto(out *KafkaClusterRolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesWorkerNodeObservation. +func (in *KafkaClusterRolesWorkerNodeObservation) DeepCopy() *KafkaClusterRolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(KafkaClusterRolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesWorkerNodeParameters) DeepCopyInto(out *KafkaClusterRolesWorkerNodeParameters) { + *out = *in + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.NumberOfDisksPerNode != nil { + in, out := &in.NumberOfDisksPerNode, &out.NumberOfDisksPerNode + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesWorkerNodeParameters. +func (in *KafkaClusterRolesWorkerNodeParameters) DeepCopy() *KafkaClusterRolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(KafkaClusterRolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesZookeeperNodeObservation) DeepCopyInto(out *KafkaClusterRolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesZookeeperNodeObservation. +func (in *KafkaClusterRolesZookeeperNodeObservation) DeepCopy() *KafkaClusterRolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(KafkaClusterRolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterRolesZookeeperNodeParameters) DeepCopyInto(out *KafkaClusterRolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterRolesZookeeperNodeParameters. +func (in *KafkaClusterRolesZookeeperNodeParameters) DeepCopy() *KafkaClusterRolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(KafkaClusterRolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterSecurityProfileObservation) DeepCopyInto(out *KafkaClusterSecurityProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterSecurityProfileObservation. +func (in *KafkaClusterSecurityProfileObservation) DeepCopy() *KafkaClusterSecurityProfileObservation { + if in == nil { + return nil + } + out := new(KafkaClusterSecurityProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterSecurityProfileParameters) DeepCopyInto(out *KafkaClusterSecurityProfileParameters) { + *out = *in + if in.AaddsResourceID != nil { + in, out := &in.AaddsResourceID, &out.AaddsResourceID + *out = new(string) + **out = **in + } + if in.ClusterUsersGroupDNS != nil { + in, out := &in.ClusterUsersGroupDNS, &out.ClusterUsersGroupDNS + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + out.DomainUserPasswordSecretRef = in.DomainUserPasswordSecretRef + if in.DomainUsername != nil { + in, out := &in.DomainUsername, &out.DomainUsername + *out = new(string) + **out = **in + } + if in.LdapsUrls != nil { + in, out := &in.LdapsUrls, &out.LdapsUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MsiResourceID != nil { + in, out := &in.MsiResourceID, &out.MsiResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterSecurityProfileParameters. +func (in *KafkaClusterSecurityProfileParameters) DeepCopy() *KafkaClusterSecurityProfileParameters { + if in == nil { + return nil + } + out := new(KafkaClusterSecurityProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterSpec) DeepCopyInto(out *KafkaClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterSpec. +func (in *KafkaClusterSpec) DeepCopy() *KafkaClusterSpec { + if in == nil { + return nil + } + out := new(KafkaClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterStatus) DeepCopyInto(out *KafkaClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterStatus. +func (in *KafkaClusterStatus) DeepCopy() *KafkaClusterStatus { + if in == nil { + return nil + } + out := new(KafkaClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterStorageAccountGen2Observation) DeepCopyInto(out *KafkaClusterStorageAccountGen2Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterStorageAccountGen2Observation. +func (in *KafkaClusterStorageAccountGen2Observation) DeepCopy() *KafkaClusterStorageAccountGen2Observation { + if in == nil { + return nil + } + out := new(KafkaClusterStorageAccountGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterStorageAccountGen2Parameters) DeepCopyInto(out *KafkaClusterStorageAccountGen2Parameters) { + *out = *in + if in.FilesystemID != nil { + in, out := &in.FilesystemID, &out.FilesystemID + *out = new(string) + **out = **in + } + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + if in.ManagedIdentityResourceID != nil { + in, out := &in.ManagedIdentityResourceID, &out.ManagedIdentityResourceID + *out = new(string) + **out = **in + } + if in.StorageResourceID != nil { + in, out := &in.StorageResourceID, &out.StorageResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterStorageAccountGen2Parameters. +func (in *KafkaClusterStorageAccountGen2Parameters) DeepCopy() *KafkaClusterStorageAccountGen2Parameters { + if in == nil { + return nil + } + out := new(KafkaClusterStorageAccountGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterStorageAccountObservation) DeepCopyInto(out *KafkaClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterStorageAccountObservation. +func (in *KafkaClusterStorageAccountObservation) DeepCopy() *KafkaClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(KafkaClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaClusterStorageAccountParameters) DeepCopyInto(out *KafkaClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaClusterStorageAccountParameters. +func (in *KafkaClusterStorageAccountParameters) DeepCopy() *KafkaClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(KafkaClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaManagementNodeObservation) DeepCopyInto(out *KafkaManagementNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaManagementNodeObservation. +func (in *KafkaManagementNodeObservation) DeepCopy() *KafkaManagementNodeObservation { + if in == nil { + return nil + } + out := new(KafkaManagementNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaManagementNodeParameters) DeepCopyInto(out *KafkaManagementNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaManagementNodeParameters. +func (in *KafkaManagementNodeParameters) DeepCopy() *KafkaManagementNodeParameters { + if in == nil { + return nil + } + out := new(KafkaManagementNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresAmbariObservation) DeepCopyInto(out *MetastoresAmbariObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresAmbariObservation. +func (in *MetastoresAmbariObservation) DeepCopy() *MetastoresAmbariObservation { + if in == nil { + return nil + } + out := new(MetastoresAmbariObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresAmbariParameters) DeepCopyInto(out *MetastoresAmbariParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresAmbariParameters. +func (in *MetastoresAmbariParameters) DeepCopy() *MetastoresAmbariParameters { + if in == nil { + return nil + } + out := new(MetastoresAmbariParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresHiveObservation) DeepCopyInto(out *MetastoresHiveObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresHiveObservation. +func (in *MetastoresHiveObservation) DeepCopy() *MetastoresHiveObservation { + if in == nil { + return nil + } + out := new(MetastoresHiveObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresHiveParameters) DeepCopyInto(out *MetastoresHiveParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresHiveParameters. +func (in *MetastoresHiveParameters) DeepCopy() *MetastoresHiveParameters { + if in == nil { + return nil + } + out := new(MetastoresHiveParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresObservation) DeepCopyInto(out *MetastoresObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresObservation. +func (in *MetastoresObservation) DeepCopy() *MetastoresObservation { + if in == nil { + return nil + } + out := new(MetastoresObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresOozieObservation) DeepCopyInto(out *MetastoresOozieObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresOozieObservation. +func (in *MetastoresOozieObservation) DeepCopy() *MetastoresOozieObservation { + if in == nil { + return nil + } + out := new(MetastoresOozieObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresOozieParameters) DeepCopyInto(out *MetastoresOozieParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresOozieParameters. +func (in *MetastoresOozieParameters) DeepCopy() *MetastoresOozieParameters { + if in == nil { + return nil + } + out := new(MetastoresOozieParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetastoresParameters) DeepCopyInto(out *MetastoresParameters) { + *out = *in + if in.Ambari != nil { + in, out := &in.Ambari, &out.Ambari + *out = make([]AmbariParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Hive != nil { + in, out := &in.Hive, &out.Hive + *out = make([]HiveParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Oozie != nil { + in, out := &in.Oozie, &out.Oozie + *out = make([]OozieParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetastoresParameters. +func (in *MetastoresParameters) DeepCopy() *MetastoresParameters { + if in == nil { + return nil + } + out := new(MetastoresParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesCluster) DeepCopyInto(out *MlServicesCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesCluster. +func (in *MlServicesCluster) DeepCopy() *MlServicesCluster { + if in == nil { + return nil + } + out := new(MlServicesCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MlServicesCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterGatewayObservation) DeepCopyInto(out *MlServicesClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterGatewayObservation. +func (in *MlServicesClusterGatewayObservation) DeepCopy() *MlServicesClusterGatewayObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterGatewayParameters) DeepCopyInto(out *MlServicesClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterGatewayParameters. +func (in *MlServicesClusterGatewayParameters) DeepCopy() *MlServicesClusterGatewayParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterList) DeepCopyInto(out *MlServicesClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MlServicesCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterList. +func (in *MlServicesClusterList) DeepCopy() *MlServicesClusterList { + if in == nil { + return nil + } + out := new(MlServicesClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MlServicesClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterObservation) DeepCopyInto(out *MlServicesClusterObservation) { + *out = *in + if in.EdgeSSHEndpoint != nil { + in, out := &in.EdgeSSHEndpoint, &out.EdgeSSHEndpoint + *out = new(string) + **out = **in + } + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterObservation. +func (in *MlServicesClusterObservation) DeepCopy() *MlServicesClusterObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterParameters) DeepCopyInto(out *MlServicesClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]MlServicesClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]MlServicesClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rstudio != nil { + in, out := &in.Rstudio, &out.Rstudio + *out = new(bool) + **out = **in + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]MlServicesClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterParameters. +func (in *MlServicesClusterParameters) DeepCopy() *MlServicesClusterParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesHeadNodeObservation) DeepCopyInto(out *MlServicesClusterRolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesHeadNodeObservation. +func (in *MlServicesClusterRolesHeadNodeObservation) DeepCopy() *MlServicesClusterRolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesHeadNodeParameters) DeepCopyInto(out *MlServicesClusterRolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesHeadNodeParameters. +func (in *MlServicesClusterRolesHeadNodeParameters) DeepCopy() *MlServicesClusterRolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesObservation) DeepCopyInto(out *MlServicesClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesObservation. +func (in *MlServicesClusterRolesObservation) DeepCopy() *MlServicesClusterRolesObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesParameters) DeepCopyInto(out *MlServicesClusterRolesParameters) { + *out = *in + if in.EdgeNode != nil { + in, out := &in.EdgeNode, &out.EdgeNode + *out = make([]RolesEdgeNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]MlServicesClusterRolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]MlServicesClusterRolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]MlServicesClusterRolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesParameters. +func (in *MlServicesClusterRolesParameters) DeepCopy() *MlServicesClusterRolesParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesWorkerNodeObservation) DeepCopyInto(out *MlServicesClusterRolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesWorkerNodeObservation. +func (in *MlServicesClusterRolesWorkerNodeObservation) DeepCopy() *MlServicesClusterRolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesWorkerNodeParameters) DeepCopyInto(out *MlServicesClusterRolesWorkerNodeParameters) { + *out = *in + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesWorkerNodeParameters. +func (in *MlServicesClusterRolesWorkerNodeParameters) DeepCopy() *MlServicesClusterRolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesZookeeperNodeObservation) DeepCopyInto(out *MlServicesClusterRolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesZookeeperNodeObservation. +func (in *MlServicesClusterRolesZookeeperNodeObservation) DeepCopy() *MlServicesClusterRolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterRolesZookeeperNodeParameters) DeepCopyInto(out *MlServicesClusterRolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterRolesZookeeperNodeParameters. +func (in *MlServicesClusterRolesZookeeperNodeParameters) DeepCopy() *MlServicesClusterRolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterRolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterSpec) DeepCopyInto(out *MlServicesClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterSpec. +func (in *MlServicesClusterSpec) DeepCopy() *MlServicesClusterSpec { + if in == nil { + return nil + } + out := new(MlServicesClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterStatus) DeepCopyInto(out *MlServicesClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterStatus. +func (in *MlServicesClusterStatus) DeepCopy() *MlServicesClusterStatus { + if in == nil { + return nil + } + out := new(MlServicesClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterStorageAccountObservation) DeepCopyInto(out *MlServicesClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterStorageAccountObservation. +func (in *MlServicesClusterStorageAccountObservation) DeepCopy() *MlServicesClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(MlServicesClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MlServicesClusterStorageAccountParameters) DeepCopyInto(out *MlServicesClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MlServicesClusterStorageAccountParameters. +func (in *MlServicesClusterStorageAccountParameters) DeepCopy() *MlServicesClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(MlServicesClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorObservation) DeepCopyInto(out *MonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorObservation. +func (in *MonitorObservation) DeepCopy() *MonitorObservation { + if in == nil { + return nil + } + out := new(MonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorParameters) DeepCopyInto(out *MonitorParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + out.PrimaryKeySecretRef = in.PrimaryKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorParameters. +func (in *MonitorParameters) DeepCopy() *MonitorParameters { + if in == nil { + return nil + } + out := new(MonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkObservation) DeepCopyInto(out *NetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkObservation. +func (in *NetworkObservation) DeepCopy() *NetworkObservation { + if in == nil { + return nil + } + out := new(NetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkParameters) DeepCopyInto(out *NetworkParameters) { + *out = *in + if in.ConnectionDirection != nil { + in, out := &in.ConnectionDirection, &out.ConnectionDirection + *out = new(string) + **out = **in + } + if in.PrivateLinkEnabled != nil { + in, out := &in.PrivateLinkEnabled, &out.PrivateLinkEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkParameters. +func (in *NetworkParameters) DeepCopy() *NetworkParameters { + if in == nil { + return nil + } + out := new(NetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OozieObservation) DeepCopyInto(out *OozieObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OozieObservation. +func (in *OozieObservation) DeepCopy() *OozieObservation { + if in == nil { + return nil + } + out := new(OozieObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OozieParameters) DeepCopyInto(out *OozieParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OozieParameters. +func (in *OozieParameters) DeepCopy() *OozieParameters { + if in == nil { + return nil + } + out := new(OozieParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceObservation) DeepCopyInto(out *RecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceObservation. +func (in *RecurrenceObservation) DeepCopy() *RecurrenceObservation { + if in == nil { + return nil + } + out := new(RecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceParameters) DeepCopyInto(out *RecurrenceParameters) { + *out = *in + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]ScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceParameters. +func (in *RecurrenceParameters) DeepCopy() *RecurrenceParameters { + if in == nil { + return nil + } + out := new(RecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceScheduleObservation) DeepCopyInto(out *RecurrenceScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceScheduleObservation. +func (in *RecurrenceScheduleObservation) DeepCopy() *RecurrenceScheduleObservation { + if in == nil { + return nil + } + out := new(RecurrenceScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceScheduleParameters) DeepCopyInto(out *RecurrenceScheduleParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceScheduleParameters. +func (in *RecurrenceScheduleParameters) DeepCopy() *RecurrenceScheduleParameters { + if in == nil { + return nil + } + out := new(RecurrenceScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RestProxyObservation) DeepCopyInto(out *RestProxyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestProxyObservation. +func (in *RestProxyObservation) DeepCopy() *RestProxyObservation { + if in == nil { + return nil + } + out := new(RestProxyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RestProxyParameters) DeepCopyInto(out *RestProxyParameters) { + *out = *in + if in.SecurityGroupID != nil { + in, out := &in.SecurityGroupID, &out.SecurityGroupID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestProxyParameters. +func (in *RestProxyParameters) DeepCopy() *RestProxyParameters { + if in == nil { + return nil + } + out := new(RestProxyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesEdgeNodeObservation) DeepCopyInto(out *RolesEdgeNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesEdgeNodeObservation. +func (in *RolesEdgeNodeObservation) DeepCopy() *RolesEdgeNodeObservation { + if in == nil { + return nil + } + out := new(RolesEdgeNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesEdgeNodeParameters) DeepCopyInto(out *RolesEdgeNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesEdgeNodeParameters. +func (in *RolesEdgeNodeParameters) DeepCopy() *RolesEdgeNodeParameters { + if in == nil { + return nil + } + out := new(RolesEdgeNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesHeadNodeObservation) DeepCopyInto(out *RolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesHeadNodeObservation. +func (in *RolesHeadNodeObservation) DeepCopy() *RolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(RolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesHeadNodeParameters) DeepCopyInto(out *RolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesHeadNodeParameters. +func (in *RolesHeadNodeParameters) DeepCopy() *RolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(RolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesObservation) DeepCopyInto(out *RolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesObservation. +func (in *RolesObservation) DeepCopy() *RolesObservation { + if in == nil { + return nil + } + out := new(RolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesParameters) DeepCopyInto(out *RolesParameters) { + *out = *in + if in.EdgeNode != nil { + in, out := &in.EdgeNode, &out.EdgeNode + *out = make([]EdgeNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]HeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]WorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]ZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesParameters. +func (in *RolesParameters) DeepCopy() *RolesParameters { + if in == nil { + return nil + } + out := new(RolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesWorkerNodeAutoscaleObservation) DeepCopyInto(out *RolesWorkerNodeAutoscaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesWorkerNodeAutoscaleObservation. +func (in *RolesWorkerNodeAutoscaleObservation) DeepCopy() *RolesWorkerNodeAutoscaleObservation { + if in == nil { + return nil + } + out := new(RolesWorkerNodeAutoscaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesWorkerNodeAutoscaleParameters) DeepCopyInto(out *RolesWorkerNodeAutoscaleParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = make([]AutoscaleCapacityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = make([]WorkerNodeAutoscaleRecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesWorkerNodeAutoscaleParameters. +func (in *RolesWorkerNodeAutoscaleParameters) DeepCopy() *RolesWorkerNodeAutoscaleParameters { + if in == nil { + return nil + } + out := new(RolesWorkerNodeAutoscaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesWorkerNodeAutoscaleRecurrenceObservation) DeepCopyInto(out *RolesWorkerNodeAutoscaleRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesWorkerNodeAutoscaleRecurrenceObservation. +func (in *RolesWorkerNodeAutoscaleRecurrenceObservation) DeepCopy() *RolesWorkerNodeAutoscaleRecurrenceObservation { + if in == nil { + return nil + } + out := new(RolesWorkerNodeAutoscaleRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesWorkerNodeAutoscaleRecurrenceParameters) DeepCopyInto(out *RolesWorkerNodeAutoscaleRecurrenceParameters) { + *out = *in + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]WorkerNodeAutoscaleRecurrenceScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesWorkerNodeAutoscaleRecurrenceParameters. +func (in *RolesWorkerNodeAutoscaleRecurrenceParameters) DeepCopy() *RolesWorkerNodeAutoscaleRecurrenceParameters { + if in == nil { + return nil + } + out := new(RolesWorkerNodeAutoscaleRecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesWorkerNodeObservation) DeepCopyInto(out *RolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesWorkerNodeObservation. +func (in *RolesWorkerNodeObservation) DeepCopy() *RolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(RolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesWorkerNodeParameters) DeepCopyInto(out *RolesWorkerNodeParameters) { + *out = *in + if in.Autoscale != nil { + in, out := &in.Autoscale, &out.Autoscale + *out = make([]WorkerNodeAutoscaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesWorkerNodeParameters. +func (in *RolesWorkerNodeParameters) DeepCopy() *RolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(RolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesZookeeperNodeObservation) DeepCopyInto(out *RolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesZookeeperNodeObservation. +func (in *RolesZookeeperNodeObservation) DeepCopy() *RolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(RolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RolesZookeeperNodeParameters) DeepCopyInto(out *RolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolesZookeeperNodeParameters. +func (in *RolesZookeeperNodeParameters) DeepCopy() *RolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(RolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverCluster) DeepCopyInto(out *RserverCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverCluster. +func (in *RserverCluster) DeepCopy() *RserverCluster { + if in == nil { + return nil + } + out := new(RserverCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RserverCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterGatewayObservation) DeepCopyInto(out *RserverClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterGatewayObservation. +func (in *RserverClusterGatewayObservation) DeepCopy() *RserverClusterGatewayObservation { + if in == nil { + return nil + } + out := new(RserverClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterGatewayParameters) DeepCopyInto(out *RserverClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterGatewayParameters. +func (in *RserverClusterGatewayParameters) DeepCopy() *RserverClusterGatewayParameters { + if in == nil { + return nil + } + out := new(RserverClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterList) DeepCopyInto(out *RserverClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RserverCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterList. +func (in *RserverClusterList) DeepCopy() *RserverClusterList { + if in == nil { + return nil + } + out := new(RserverClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RserverClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterObservation) DeepCopyInto(out *RserverClusterObservation) { + *out = *in + if in.EdgeSSHEndpoint != nil { + in, out := &in.EdgeSSHEndpoint, &out.EdgeSSHEndpoint + *out = new(string) + **out = **in + } + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterObservation. +func (in *RserverClusterObservation) DeepCopy() *RserverClusterObservation { + if in == nil { + return nil + } + out := new(RserverClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterParameters) DeepCopyInto(out *RserverClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]RserverClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]RserverClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rstudio != nil { + in, out := &in.Rstudio, &out.Rstudio + *out = new(bool) + **out = **in + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]RserverClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterParameters. +func (in *RserverClusterParameters) DeepCopy() *RserverClusterParameters { + if in == nil { + return nil + } + out := new(RserverClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesEdgeNodeObservation) DeepCopyInto(out *RserverClusterRolesEdgeNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesEdgeNodeObservation. +func (in *RserverClusterRolesEdgeNodeObservation) DeepCopy() *RserverClusterRolesEdgeNodeObservation { + if in == nil { + return nil + } + out := new(RserverClusterRolesEdgeNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesEdgeNodeParameters) DeepCopyInto(out *RserverClusterRolesEdgeNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesEdgeNodeParameters. +func (in *RserverClusterRolesEdgeNodeParameters) DeepCopy() *RserverClusterRolesEdgeNodeParameters { + if in == nil { + return nil + } + out := new(RserverClusterRolesEdgeNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesHeadNodeObservation) DeepCopyInto(out *RserverClusterRolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesHeadNodeObservation. +func (in *RserverClusterRolesHeadNodeObservation) DeepCopy() *RserverClusterRolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(RserverClusterRolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesHeadNodeParameters) DeepCopyInto(out *RserverClusterRolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesHeadNodeParameters. +func (in *RserverClusterRolesHeadNodeParameters) DeepCopy() *RserverClusterRolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(RserverClusterRolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesObservation) DeepCopyInto(out *RserverClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesObservation. +func (in *RserverClusterRolesObservation) DeepCopy() *RserverClusterRolesObservation { + if in == nil { + return nil + } + out := new(RserverClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesParameters) DeepCopyInto(out *RserverClusterRolesParameters) { + *out = *in + if in.EdgeNode != nil { + in, out := &in.EdgeNode, &out.EdgeNode + *out = make([]RserverClusterRolesEdgeNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]RserverClusterRolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]RserverClusterRolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]RserverClusterRolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesParameters. +func (in *RserverClusterRolesParameters) DeepCopy() *RserverClusterRolesParameters { + if in == nil { + return nil + } + out := new(RserverClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesWorkerNodeObservation) DeepCopyInto(out *RserverClusterRolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesWorkerNodeObservation. +func (in *RserverClusterRolesWorkerNodeObservation) DeepCopy() *RserverClusterRolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(RserverClusterRolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesWorkerNodeParameters) DeepCopyInto(out *RserverClusterRolesWorkerNodeParameters) { + *out = *in + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesWorkerNodeParameters. +func (in *RserverClusterRolesWorkerNodeParameters) DeepCopy() *RserverClusterRolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(RserverClusterRolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesZookeeperNodeObservation) DeepCopyInto(out *RserverClusterRolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesZookeeperNodeObservation. +func (in *RserverClusterRolesZookeeperNodeObservation) DeepCopy() *RserverClusterRolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(RserverClusterRolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterRolesZookeeperNodeParameters) DeepCopyInto(out *RserverClusterRolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterRolesZookeeperNodeParameters. +func (in *RserverClusterRolesZookeeperNodeParameters) DeepCopy() *RserverClusterRolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(RserverClusterRolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterSpec) DeepCopyInto(out *RserverClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterSpec. +func (in *RserverClusterSpec) DeepCopy() *RserverClusterSpec { + if in == nil { + return nil + } + out := new(RserverClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterStatus) DeepCopyInto(out *RserverClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterStatus. +func (in *RserverClusterStatus) DeepCopy() *RserverClusterStatus { + if in == nil { + return nil + } + out := new(RserverClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterStorageAccountObservation) DeepCopyInto(out *RserverClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterStorageAccountObservation. +func (in *RserverClusterStorageAccountObservation) DeepCopy() *RserverClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(RserverClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RserverClusterStorageAccountParameters) DeepCopyInto(out *RserverClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RserverClusterStorageAccountParameters. +func (in *RserverClusterStorageAccountParameters) DeepCopy() *RserverClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(RserverClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation. +func (in *ScheduleObservation) DeepCopy() *ScheduleObservation { + if in == nil { + return nil + } + out := new(ScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters. +func (in *ScheduleParameters) DeepCopy() *ScheduleParameters { + if in == nil { + return nil + } + out := new(ScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityProfileObservation) DeepCopyInto(out *SecurityProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityProfileObservation. +func (in *SecurityProfileObservation) DeepCopy() *SecurityProfileObservation { + if in == nil { + return nil + } + out := new(SecurityProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityProfileParameters) DeepCopyInto(out *SecurityProfileParameters) { + *out = *in + if in.AaddsResourceID != nil { + in, out := &in.AaddsResourceID, &out.AaddsResourceID + *out = new(string) + **out = **in + } + if in.ClusterUsersGroupDNS != nil { + in, out := &in.ClusterUsersGroupDNS, &out.ClusterUsersGroupDNS + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + out.DomainUserPasswordSecretRef = in.DomainUserPasswordSecretRef + if in.DomainUsername != nil { + in, out := &in.DomainUsername, &out.DomainUsername + *out = new(string) + **out = **in + } + if in.LdapsUrls != nil { + in, out := &in.LdapsUrls, &out.LdapsUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MsiResourceID != nil { + in, out := &in.MsiResourceID, &out.MsiResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityProfileParameters. +func (in *SecurityProfileParameters) DeepCopy() *SecurityProfileParameters { + if in == nil { + return nil + } + out := new(SecurityProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkCluster) DeepCopyInto(out *SparkCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkCluster. +func (in *SparkCluster) DeepCopy() *SparkCluster { + if in == nil { + return nil + } + out := new(SparkCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SparkCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterComponentVersionObservation) DeepCopyInto(out *SparkClusterComponentVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterComponentVersionObservation. +func (in *SparkClusterComponentVersionObservation) DeepCopy() *SparkClusterComponentVersionObservation { + if in == nil { + return nil + } + out := new(SparkClusterComponentVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterComponentVersionParameters) DeepCopyInto(out *SparkClusterComponentVersionParameters) { + *out = *in + if in.Spark != nil { + in, out := &in.Spark, &out.Spark + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterComponentVersionParameters. +func (in *SparkClusterComponentVersionParameters) DeepCopy() *SparkClusterComponentVersionParameters { + if in == nil { + return nil + } + out := new(SparkClusterComponentVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterGatewayObservation) DeepCopyInto(out *SparkClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterGatewayObservation. +func (in *SparkClusterGatewayObservation) DeepCopy() *SparkClusterGatewayObservation { + if in == nil { + return nil + } + out := new(SparkClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterGatewayParameters) DeepCopyInto(out *SparkClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterGatewayParameters. +func (in *SparkClusterGatewayParameters) DeepCopy() *SparkClusterGatewayParameters { + if in == nil { + return nil + } + out := new(SparkClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterList) DeepCopyInto(out *SparkClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SparkCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterList. +func (in *SparkClusterList) DeepCopy() *SparkClusterList { + if in == nil { + return nil + } + out := new(SparkClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SparkClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresAmbariObservation) DeepCopyInto(out *SparkClusterMetastoresAmbariObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresAmbariObservation. +func (in *SparkClusterMetastoresAmbariObservation) DeepCopy() *SparkClusterMetastoresAmbariObservation { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresAmbariObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresAmbariParameters) DeepCopyInto(out *SparkClusterMetastoresAmbariParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresAmbariParameters. +func (in *SparkClusterMetastoresAmbariParameters) DeepCopy() *SparkClusterMetastoresAmbariParameters { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresAmbariParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresHiveObservation) DeepCopyInto(out *SparkClusterMetastoresHiveObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresHiveObservation. +func (in *SparkClusterMetastoresHiveObservation) DeepCopy() *SparkClusterMetastoresHiveObservation { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresHiveObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresHiveParameters) DeepCopyInto(out *SparkClusterMetastoresHiveParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresHiveParameters. +func (in *SparkClusterMetastoresHiveParameters) DeepCopy() *SparkClusterMetastoresHiveParameters { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresHiveParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresObservation) DeepCopyInto(out *SparkClusterMetastoresObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresObservation. +func (in *SparkClusterMetastoresObservation) DeepCopy() *SparkClusterMetastoresObservation { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresOozieObservation) DeepCopyInto(out *SparkClusterMetastoresOozieObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresOozieObservation. +func (in *SparkClusterMetastoresOozieObservation) DeepCopy() *SparkClusterMetastoresOozieObservation { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresOozieObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresOozieParameters) DeepCopyInto(out *SparkClusterMetastoresOozieParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresOozieParameters. +func (in *SparkClusterMetastoresOozieParameters) DeepCopy() *SparkClusterMetastoresOozieParameters { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresOozieParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMetastoresParameters) DeepCopyInto(out *SparkClusterMetastoresParameters) { + *out = *in + if in.Ambari != nil { + in, out := &in.Ambari, &out.Ambari + *out = make([]SparkClusterMetastoresAmbariParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Hive != nil { + in, out := &in.Hive, &out.Hive + *out = make([]SparkClusterMetastoresHiveParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Oozie != nil { + in, out := &in.Oozie, &out.Oozie + *out = make([]SparkClusterMetastoresOozieParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMetastoresParameters. +func (in *SparkClusterMetastoresParameters) DeepCopy() *SparkClusterMetastoresParameters { + if in == nil { + return nil + } + out := new(SparkClusterMetastoresParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMonitorObservation) DeepCopyInto(out *SparkClusterMonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMonitorObservation. +func (in *SparkClusterMonitorObservation) DeepCopy() *SparkClusterMonitorObservation { + if in == nil { + return nil + } + out := new(SparkClusterMonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterMonitorParameters) DeepCopyInto(out *SparkClusterMonitorParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + out.PrimaryKeySecretRef = in.PrimaryKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterMonitorParameters. +func (in *SparkClusterMonitorParameters) DeepCopy() *SparkClusterMonitorParameters { + if in == nil { + return nil + } + out := new(SparkClusterMonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterNetworkObservation) DeepCopyInto(out *SparkClusterNetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterNetworkObservation. +func (in *SparkClusterNetworkObservation) DeepCopy() *SparkClusterNetworkObservation { + if in == nil { + return nil + } + out := new(SparkClusterNetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterNetworkParameters) DeepCopyInto(out *SparkClusterNetworkParameters) { + *out = *in + if in.ConnectionDirection != nil { + in, out := &in.ConnectionDirection, &out.ConnectionDirection + *out = new(string) + **out = **in + } + if in.PrivateLinkEnabled != nil { + in, out := &in.PrivateLinkEnabled, &out.PrivateLinkEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterNetworkParameters. +func (in *SparkClusterNetworkParameters) DeepCopy() *SparkClusterNetworkParameters { + if in == nil { + return nil + } + out := new(SparkClusterNetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterObservation) DeepCopyInto(out *SparkClusterObservation) { + *out = *in + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterObservation. +func (in *SparkClusterObservation) DeepCopy() *SparkClusterObservation { + if in == nil { + return nil + } + out := new(SparkClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterParameters) DeepCopyInto(out *SparkClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.ComponentVersion != nil { + in, out := &in.ComponentVersion, &out.ComponentVersion + *out = make([]SparkClusterComponentVersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EncryptionInTransitEnabled != nil { + in, out := &in.EncryptionInTransitEnabled, &out.EncryptionInTransitEnabled + *out = new(bool) + **out = **in + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]SparkClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metastores != nil { + in, out := &in.Metastores, &out.Metastores + *out = make([]SparkClusterMetastoresParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]SparkClusterMonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Network != nil { + in, out := &in.Network, &out.Network + *out = make([]SparkClusterNetworkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]SparkClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecurityProfile != nil { + in, out := &in.SecurityProfile, &out.SecurityProfile + *out = make([]SparkClusterSecurityProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]SparkClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountGen2 != nil { + in, out := &in.StorageAccountGen2, &out.StorageAccountGen2 + *out = make([]SparkClusterStorageAccountGen2Parameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterParameters. +func (in *SparkClusterParameters) DeepCopy() *SparkClusterParameters { + if in == nil { + return nil + } + out := new(SparkClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesHeadNodeObservation) DeepCopyInto(out *SparkClusterRolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesHeadNodeObservation. +func (in *SparkClusterRolesHeadNodeObservation) DeepCopy() *SparkClusterRolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(SparkClusterRolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesHeadNodeParameters) DeepCopyInto(out *SparkClusterRolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesHeadNodeParameters. +func (in *SparkClusterRolesHeadNodeParameters) DeepCopy() *SparkClusterRolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(SparkClusterRolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesObservation) DeepCopyInto(out *SparkClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesObservation. +func (in *SparkClusterRolesObservation) DeepCopy() *SparkClusterRolesObservation { + if in == nil { + return nil + } + out := new(SparkClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesParameters) DeepCopyInto(out *SparkClusterRolesParameters) { + *out = *in + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]SparkClusterRolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]SparkClusterRolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]SparkClusterRolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesParameters. +func (in *SparkClusterRolesParameters) DeepCopy() *SparkClusterRolesParameters { + if in == nil { + return nil + } + out := new(SparkClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesWorkerNodeAutoscaleObservation) DeepCopyInto(out *SparkClusterRolesWorkerNodeAutoscaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesWorkerNodeAutoscaleObservation. +func (in *SparkClusterRolesWorkerNodeAutoscaleObservation) DeepCopy() *SparkClusterRolesWorkerNodeAutoscaleObservation { + if in == nil { + return nil + } + out := new(SparkClusterRolesWorkerNodeAutoscaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesWorkerNodeAutoscaleParameters) DeepCopyInto(out *SparkClusterRolesWorkerNodeAutoscaleParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = make([]WorkerNodeAutoscaleCapacityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = make([]RolesWorkerNodeAutoscaleRecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesWorkerNodeAutoscaleParameters. +func (in *SparkClusterRolesWorkerNodeAutoscaleParameters) DeepCopy() *SparkClusterRolesWorkerNodeAutoscaleParameters { + if in == nil { + return nil + } + out := new(SparkClusterRolesWorkerNodeAutoscaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesWorkerNodeObservation) DeepCopyInto(out *SparkClusterRolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesWorkerNodeObservation. +func (in *SparkClusterRolesWorkerNodeObservation) DeepCopy() *SparkClusterRolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(SparkClusterRolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesWorkerNodeParameters) DeepCopyInto(out *SparkClusterRolesWorkerNodeParameters) { + *out = *in + if in.Autoscale != nil { + in, out := &in.Autoscale, &out.Autoscale + *out = make([]SparkClusterRolesWorkerNodeAutoscaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesWorkerNodeParameters. +func (in *SparkClusterRolesWorkerNodeParameters) DeepCopy() *SparkClusterRolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(SparkClusterRolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesZookeeperNodeObservation) DeepCopyInto(out *SparkClusterRolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesZookeeperNodeObservation. +func (in *SparkClusterRolesZookeeperNodeObservation) DeepCopy() *SparkClusterRolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(SparkClusterRolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterRolesZookeeperNodeParameters) DeepCopyInto(out *SparkClusterRolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterRolesZookeeperNodeParameters. +func (in *SparkClusterRolesZookeeperNodeParameters) DeepCopy() *SparkClusterRolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(SparkClusterRolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterSecurityProfileObservation) DeepCopyInto(out *SparkClusterSecurityProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterSecurityProfileObservation. +func (in *SparkClusterSecurityProfileObservation) DeepCopy() *SparkClusterSecurityProfileObservation { + if in == nil { + return nil + } + out := new(SparkClusterSecurityProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterSecurityProfileParameters) DeepCopyInto(out *SparkClusterSecurityProfileParameters) { + *out = *in + if in.AaddsResourceID != nil { + in, out := &in.AaddsResourceID, &out.AaddsResourceID + *out = new(string) + **out = **in + } + if in.ClusterUsersGroupDNS != nil { + in, out := &in.ClusterUsersGroupDNS, &out.ClusterUsersGroupDNS + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + out.DomainUserPasswordSecretRef = in.DomainUserPasswordSecretRef + if in.DomainUsername != nil { + in, out := &in.DomainUsername, &out.DomainUsername + *out = new(string) + **out = **in + } + if in.LdapsUrls != nil { + in, out := &in.LdapsUrls, &out.LdapsUrls + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MsiResourceID != nil { + in, out := &in.MsiResourceID, &out.MsiResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterSecurityProfileParameters. +func (in *SparkClusterSecurityProfileParameters) DeepCopy() *SparkClusterSecurityProfileParameters { + if in == nil { + return nil + } + out := new(SparkClusterSecurityProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterSpec) DeepCopyInto(out *SparkClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterSpec. +func (in *SparkClusterSpec) DeepCopy() *SparkClusterSpec { + if in == nil { + return nil + } + out := new(SparkClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterStatus) DeepCopyInto(out *SparkClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterStatus. +func (in *SparkClusterStatus) DeepCopy() *SparkClusterStatus { + if in == nil { + return nil + } + out := new(SparkClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterStorageAccountGen2Observation) DeepCopyInto(out *SparkClusterStorageAccountGen2Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterStorageAccountGen2Observation. +func (in *SparkClusterStorageAccountGen2Observation) DeepCopy() *SparkClusterStorageAccountGen2Observation { + if in == nil { + return nil + } + out := new(SparkClusterStorageAccountGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterStorageAccountGen2Parameters) DeepCopyInto(out *SparkClusterStorageAccountGen2Parameters) { + *out = *in + if in.FilesystemID != nil { + in, out := &in.FilesystemID, &out.FilesystemID + *out = new(string) + **out = **in + } + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + if in.ManagedIdentityResourceID != nil { + in, out := &in.ManagedIdentityResourceID, &out.ManagedIdentityResourceID + *out = new(string) + **out = **in + } + if in.StorageResourceID != nil { + in, out := &in.StorageResourceID, &out.StorageResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterStorageAccountGen2Parameters. +func (in *SparkClusterStorageAccountGen2Parameters) DeepCopy() *SparkClusterStorageAccountGen2Parameters { + if in == nil { + return nil + } + out := new(SparkClusterStorageAccountGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterStorageAccountObservation) DeepCopyInto(out *SparkClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterStorageAccountObservation. +func (in *SparkClusterStorageAccountObservation) DeepCopy() *SparkClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(SparkClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkClusterStorageAccountParameters) DeepCopyInto(out *SparkClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkClusterStorageAccountParameters. +func (in *SparkClusterStorageAccountParameters) DeepCopy() *SparkClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(SparkClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountGen2Observation) DeepCopyInto(out *StorageAccountGen2Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountGen2Observation. +func (in *StorageAccountGen2Observation) DeepCopy() *StorageAccountGen2Observation { + if in == nil { + return nil + } + out := new(StorageAccountGen2Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountGen2Parameters) DeepCopyInto(out *StorageAccountGen2Parameters) { + *out = *in + if in.FilesystemID != nil { + in, out := &in.FilesystemID, &out.FilesystemID + *out = new(string) + **out = **in + } + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + if in.ManagedIdentityResourceID != nil { + in, out := &in.ManagedIdentityResourceID, &out.ManagedIdentityResourceID + *out = new(string) + **out = **in + } + if in.StorageResourceID != nil { + in, out := &in.StorageResourceID, &out.StorageResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountGen2Parameters. +func (in *StorageAccountGen2Parameters) DeepCopy() *StorageAccountGen2Parameters { + if in == nil { + return nil + } + out := new(StorageAccountGen2Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountObservation) DeepCopyInto(out *StorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountObservation. +func (in *StorageAccountObservation) DeepCopy() *StorageAccountObservation { + if in == nil { + return nil + } + out := new(StorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountParameters) DeepCopyInto(out *StorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountParameters. +func (in *StorageAccountParameters) DeepCopy() *StorageAccountParameters { + if in == nil { + return nil + } + out := new(StorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormCluster) DeepCopyInto(out *StormCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormCluster. +func (in *StormCluster) DeepCopy() *StormCluster { + if in == nil { + return nil + } + out := new(StormCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StormCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterComponentVersionObservation) DeepCopyInto(out *StormClusterComponentVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterComponentVersionObservation. +func (in *StormClusterComponentVersionObservation) DeepCopy() *StormClusterComponentVersionObservation { + if in == nil { + return nil + } + out := new(StormClusterComponentVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterComponentVersionParameters) DeepCopyInto(out *StormClusterComponentVersionParameters) { + *out = *in + if in.Storm != nil { + in, out := &in.Storm, &out.Storm + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterComponentVersionParameters. +func (in *StormClusterComponentVersionParameters) DeepCopy() *StormClusterComponentVersionParameters { + if in == nil { + return nil + } + out := new(StormClusterComponentVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterGatewayObservation) DeepCopyInto(out *StormClusterGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterGatewayObservation. +func (in *StormClusterGatewayObservation) DeepCopy() *StormClusterGatewayObservation { + if in == nil { + return nil + } + out := new(StormClusterGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterGatewayParameters) DeepCopyInto(out *StormClusterGatewayParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterGatewayParameters. +func (in *StormClusterGatewayParameters) DeepCopy() *StormClusterGatewayParameters { + if in == nil { + return nil + } + out := new(StormClusterGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterList) DeepCopyInto(out *StormClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StormCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterList. +func (in *StormClusterList) DeepCopy() *StormClusterList { + if in == nil { + return nil + } + out := new(StormClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StormClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresAmbariObservation) DeepCopyInto(out *StormClusterMetastoresAmbariObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresAmbariObservation. +func (in *StormClusterMetastoresAmbariObservation) DeepCopy() *StormClusterMetastoresAmbariObservation { + if in == nil { + return nil + } + out := new(StormClusterMetastoresAmbariObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresAmbariParameters) DeepCopyInto(out *StormClusterMetastoresAmbariParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresAmbariParameters. +func (in *StormClusterMetastoresAmbariParameters) DeepCopy() *StormClusterMetastoresAmbariParameters { + if in == nil { + return nil + } + out := new(StormClusterMetastoresAmbariParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresHiveObservation) DeepCopyInto(out *StormClusterMetastoresHiveObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresHiveObservation. +func (in *StormClusterMetastoresHiveObservation) DeepCopy() *StormClusterMetastoresHiveObservation { + if in == nil { + return nil + } + out := new(StormClusterMetastoresHiveObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresHiveParameters) DeepCopyInto(out *StormClusterMetastoresHiveParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresHiveParameters. +func (in *StormClusterMetastoresHiveParameters) DeepCopy() *StormClusterMetastoresHiveParameters { + if in == nil { + return nil + } + out := new(StormClusterMetastoresHiveParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresObservation) DeepCopyInto(out *StormClusterMetastoresObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresObservation. +func (in *StormClusterMetastoresObservation) DeepCopy() *StormClusterMetastoresObservation { + if in == nil { + return nil + } + out := new(StormClusterMetastoresObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresOozieObservation) DeepCopyInto(out *StormClusterMetastoresOozieObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresOozieObservation. +func (in *StormClusterMetastoresOozieObservation) DeepCopy() *StormClusterMetastoresOozieObservation { + if in == nil { + return nil + } + out := new(StormClusterMetastoresOozieObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresOozieParameters) DeepCopyInto(out *StormClusterMetastoresOozieParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresOozieParameters. +func (in *StormClusterMetastoresOozieParameters) DeepCopy() *StormClusterMetastoresOozieParameters { + if in == nil { + return nil + } + out := new(StormClusterMetastoresOozieParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMetastoresParameters) DeepCopyInto(out *StormClusterMetastoresParameters) { + *out = *in + if in.Ambari != nil { + in, out := &in.Ambari, &out.Ambari + *out = make([]StormClusterMetastoresAmbariParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Hive != nil { + in, out := &in.Hive, &out.Hive + *out = make([]StormClusterMetastoresHiveParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Oozie != nil { + in, out := &in.Oozie, &out.Oozie + *out = make([]StormClusterMetastoresOozieParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMetastoresParameters. +func (in *StormClusterMetastoresParameters) DeepCopy() *StormClusterMetastoresParameters { + if in == nil { + return nil + } + out := new(StormClusterMetastoresParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMonitorObservation) DeepCopyInto(out *StormClusterMonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMonitorObservation. +func (in *StormClusterMonitorObservation) DeepCopy() *StormClusterMonitorObservation { + if in == nil { + return nil + } + out := new(StormClusterMonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterMonitorParameters) DeepCopyInto(out *StormClusterMonitorParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + out.PrimaryKeySecretRef = in.PrimaryKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterMonitorParameters. +func (in *StormClusterMonitorParameters) DeepCopy() *StormClusterMonitorParameters { + if in == nil { + return nil + } + out := new(StormClusterMonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterObservation) DeepCopyInto(out *StormClusterObservation) { + *out = *in + if in.HTTPSEndpoint != nil { + in, out := &in.HTTPSEndpoint, &out.HTTPSEndpoint + *out = new(string) + **out = **in + } + if in.SSHEndpoint != nil { + in, out := &in.SSHEndpoint, &out.SSHEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterObservation. +func (in *StormClusterObservation) DeepCopy() *StormClusterObservation { + if in == nil { + return nil + } + out := new(StormClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterParameters) DeepCopyInto(out *StormClusterParameters) { + *out = *in + if in.ClusterVersion != nil { + in, out := &in.ClusterVersion, &out.ClusterVersion + *out = new(string) + **out = **in + } + if in.ComponentVersion != nil { + in, out := &in.ComponentVersion, &out.ComponentVersion + *out = make([]StormClusterComponentVersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Gateway != nil { + in, out := &in.Gateway, &out.Gateway + *out = make([]StormClusterGatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metastores != nil { + in, out := &in.Metastores, &out.Metastores + *out = make([]StormClusterMetastoresParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]StormClusterMonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]StormClusterRolesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]StormClusterStorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TLSMinVersion != nil { + in, out := &in.TLSMinVersion, &out.TLSMinVersion + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterParameters. +func (in *StormClusterParameters) DeepCopy() *StormClusterParameters { + if in == nil { + return nil + } + out := new(StormClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesHeadNodeObservation) DeepCopyInto(out *StormClusterRolesHeadNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesHeadNodeObservation. +func (in *StormClusterRolesHeadNodeObservation) DeepCopy() *StormClusterRolesHeadNodeObservation { + if in == nil { + return nil + } + out := new(StormClusterRolesHeadNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesHeadNodeParameters) DeepCopyInto(out *StormClusterRolesHeadNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesHeadNodeParameters. +func (in *StormClusterRolesHeadNodeParameters) DeepCopy() *StormClusterRolesHeadNodeParameters { + if in == nil { + return nil + } + out := new(StormClusterRolesHeadNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesObservation) DeepCopyInto(out *StormClusterRolesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesObservation. +func (in *StormClusterRolesObservation) DeepCopy() *StormClusterRolesObservation { + if in == nil { + return nil + } + out := new(StormClusterRolesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesParameters) DeepCopyInto(out *StormClusterRolesParameters) { + *out = *in + if in.HeadNode != nil { + in, out := &in.HeadNode, &out.HeadNode + *out = make([]StormClusterRolesHeadNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkerNode != nil { + in, out := &in.WorkerNode, &out.WorkerNode + *out = make([]StormClusterRolesWorkerNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZookeeperNode != nil { + in, out := &in.ZookeeperNode, &out.ZookeeperNode + *out = make([]StormClusterRolesZookeeperNodeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesParameters. +func (in *StormClusterRolesParameters) DeepCopy() *StormClusterRolesParameters { + if in == nil { + return nil + } + out := new(StormClusterRolesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesWorkerNodeObservation) DeepCopyInto(out *StormClusterRolesWorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesWorkerNodeObservation. +func (in *StormClusterRolesWorkerNodeObservation) DeepCopy() *StormClusterRolesWorkerNodeObservation { + if in == nil { + return nil + } + out := new(StormClusterRolesWorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesWorkerNodeParameters) DeepCopyInto(out *StormClusterRolesWorkerNodeParameters) { + *out = *in + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesWorkerNodeParameters. +func (in *StormClusterRolesWorkerNodeParameters) DeepCopy() *StormClusterRolesWorkerNodeParameters { + if in == nil { + return nil + } + out := new(StormClusterRolesWorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesZookeeperNodeObservation) DeepCopyInto(out *StormClusterRolesZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesZookeeperNodeObservation. +func (in *StormClusterRolesZookeeperNodeObservation) DeepCopy() *StormClusterRolesZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(StormClusterRolesZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterRolesZookeeperNodeParameters) DeepCopyInto(out *StormClusterRolesZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterRolesZookeeperNodeParameters. +func (in *StormClusterRolesZookeeperNodeParameters) DeepCopy() *StormClusterRolesZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(StormClusterRolesZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterSpec) DeepCopyInto(out *StormClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterSpec. +func (in *StormClusterSpec) DeepCopy() *StormClusterSpec { + if in == nil { + return nil + } + out := new(StormClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterStatus) DeepCopyInto(out *StormClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterStatus. +func (in *StormClusterStatus) DeepCopy() *StormClusterStatus { + if in == nil { + return nil + } + out := new(StormClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterStorageAccountObservation) DeepCopyInto(out *StormClusterStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterStorageAccountObservation. +func (in *StormClusterStorageAccountObservation) DeepCopy() *StormClusterStorageAccountObservation { + if in == nil { + return nil + } + out := new(StormClusterStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StormClusterStorageAccountParameters) DeepCopyInto(out *StormClusterStorageAccountParameters) { + *out = *in + if in.IsDefault != nil { + in, out := &in.IsDefault, &out.IsDefault + *out = new(bool) + **out = **in + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StormClusterStorageAccountParameters. +func (in *StormClusterStorageAccountParameters) DeepCopy() *StormClusterStorageAccountParameters { + if in == nil { + return nil + } + out := new(StormClusterStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleCapacityObservation) DeepCopyInto(out *WorkerNodeAutoscaleCapacityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleCapacityObservation. +func (in *WorkerNodeAutoscaleCapacityObservation) DeepCopy() *WorkerNodeAutoscaleCapacityObservation { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleCapacityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleCapacityParameters) DeepCopyInto(out *WorkerNodeAutoscaleCapacityParameters) { + *out = *in + if in.MaxInstanceCount != nil { + in, out := &in.MaxInstanceCount, &out.MaxInstanceCount + *out = new(int64) + **out = **in + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleCapacityParameters. +func (in *WorkerNodeAutoscaleCapacityParameters) DeepCopy() *WorkerNodeAutoscaleCapacityParameters { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleCapacityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleObservation) DeepCopyInto(out *WorkerNodeAutoscaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleObservation. +func (in *WorkerNodeAutoscaleObservation) DeepCopy() *WorkerNodeAutoscaleObservation { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleParameters) DeepCopyInto(out *WorkerNodeAutoscaleParameters) { + *out = *in + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = make([]AutoscaleRecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleParameters. +func (in *WorkerNodeAutoscaleParameters) DeepCopy() *WorkerNodeAutoscaleParameters { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleRecurrenceObservation) DeepCopyInto(out *WorkerNodeAutoscaleRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleRecurrenceObservation. +func (in *WorkerNodeAutoscaleRecurrenceObservation) DeepCopy() *WorkerNodeAutoscaleRecurrenceObservation { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleRecurrenceParameters) DeepCopyInto(out *WorkerNodeAutoscaleRecurrenceParameters) { + *out = *in + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]AutoscaleRecurrenceScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleRecurrenceParameters. +func (in *WorkerNodeAutoscaleRecurrenceParameters) DeepCopy() *WorkerNodeAutoscaleRecurrenceParameters { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleRecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleRecurrenceScheduleObservation) DeepCopyInto(out *WorkerNodeAutoscaleRecurrenceScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleRecurrenceScheduleObservation. +func (in *WorkerNodeAutoscaleRecurrenceScheduleObservation) DeepCopy() *WorkerNodeAutoscaleRecurrenceScheduleObservation { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleRecurrenceScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeAutoscaleRecurrenceScheduleParameters) DeepCopyInto(out *WorkerNodeAutoscaleRecurrenceScheduleParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeAutoscaleRecurrenceScheduleParameters. +func (in *WorkerNodeAutoscaleRecurrenceScheduleParameters) DeepCopy() *WorkerNodeAutoscaleRecurrenceScheduleParameters { + if in == nil { + return nil + } + out := new(WorkerNodeAutoscaleRecurrenceScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeObservation) DeepCopyInto(out *WorkerNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeObservation. +func (in *WorkerNodeObservation) DeepCopy() *WorkerNodeObservation { + if in == nil { + return nil + } + out := new(WorkerNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkerNodeParameters) DeepCopyInto(out *WorkerNodeParameters) { + *out = *in + if in.Autoscale != nil { + in, out := &in.Autoscale, &out.Autoscale + *out = make([]AutoscaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MinInstanceCount != nil { + in, out := &in.MinInstanceCount, &out.MinInstanceCount + *out = new(int64) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.TargetInstanceCount != nil { + in, out := &in.TargetInstanceCount, &out.TargetInstanceCount + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerNodeParameters. +func (in *WorkerNodeParameters) DeepCopy() *WorkerNodeParameters { + if in == nil { + return nil + } + out := new(WorkerNodeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZookeeperNodeObservation) DeepCopyInto(out *ZookeeperNodeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperNodeObservation. +func (in *ZookeeperNodeObservation) DeepCopy() *ZookeeperNodeObservation { + if in == nil { + return nil + } + out := new(ZookeeperNodeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZookeeperNodeParameters) DeepCopyInto(out *ZookeeperNodeParameters) { + *out = *in + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SSHKeys != nil { + in, out := &in.SSHKeys, &out.SSHKeys + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperNodeParameters. +func (in *ZookeeperNodeParameters) DeepCopy() *ZookeeperNodeParameters { + if in == nil { + return nil + } + out := new(ZookeeperNodeParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/hdinsight/v1alpha1/zz_generated.managed.go b/apis/hdinsight/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..62afd2c5a --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_generated.managed.go @@ -0,0 +1,468 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this HadoopCluster. +func (mg *HadoopCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HadoopCluster. +func (mg *HadoopCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HadoopCluster. +func (mg *HadoopCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HadoopCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HadoopCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HadoopCluster. +func (mg *HadoopCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HadoopCluster. +func (mg *HadoopCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HadoopCluster. +func (mg *HadoopCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HadoopCluster. +func (mg *HadoopCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HadoopCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HadoopCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HadoopCluster. +func (mg *HadoopCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this HbaseCluster. +func (mg *HbaseCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HbaseCluster. +func (mg *HbaseCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HbaseCluster. +func (mg *HbaseCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HbaseCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HbaseCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HbaseCluster. +func (mg *HbaseCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HbaseCluster. +func (mg *HbaseCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HbaseCluster. +func (mg *HbaseCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HbaseCluster. +func (mg *HbaseCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HbaseCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HbaseCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HbaseCluster. +func (mg *HbaseCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InteractiveQueryCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InteractiveQueryCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InteractiveQueryCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InteractiveQueryCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InteractiveQueryCluster. +func (mg *InteractiveQueryCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this KafkaCluster. +func (mg *KafkaCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this KafkaCluster. +func (mg *KafkaCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this KafkaCluster. +func (mg *KafkaCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this KafkaCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *KafkaCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this KafkaCluster. +func (mg *KafkaCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this KafkaCluster. +func (mg *KafkaCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this KafkaCluster. +func (mg *KafkaCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this KafkaCluster. +func (mg *KafkaCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this KafkaCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *KafkaCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this KafkaCluster. +func (mg *KafkaCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this MlServicesCluster. +func (mg *MlServicesCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this MlServicesCluster. +func (mg *MlServicesCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this MlServicesCluster. +func (mg *MlServicesCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this MlServicesCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *MlServicesCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this MlServicesCluster. +func (mg *MlServicesCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this MlServicesCluster. +func (mg *MlServicesCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this MlServicesCluster. +func (mg *MlServicesCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this MlServicesCluster. +func (mg *MlServicesCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this MlServicesCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *MlServicesCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this MlServicesCluster. +func (mg *MlServicesCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RserverCluster. +func (mg *RserverCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RserverCluster. +func (mg *RserverCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RserverCluster. +func (mg *RserverCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RserverCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RserverCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RserverCluster. +func (mg *RserverCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RserverCluster. +func (mg *RserverCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RserverCluster. +func (mg *RserverCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RserverCluster. +func (mg *RserverCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RserverCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RserverCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RserverCluster. +func (mg *RserverCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SparkCluster. +func (mg *SparkCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SparkCluster. +func (mg *SparkCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SparkCluster. +func (mg *SparkCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SparkCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SparkCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SparkCluster. +func (mg *SparkCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SparkCluster. +func (mg *SparkCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SparkCluster. +func (mg *SparkCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SparkCluster. +func (mg *SparkCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SparkCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SparkCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SparkCluster. +func (mg *SparkCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this StormCluster. +func (mg *StormCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this StormCluster. +func (mg *StormCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this StormCluster. +func (mg *StormCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this StormCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *StormCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this StormCluster. +func (mg *StormCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this StormCluster. +func (mg *StormCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this StormCluster. +func (mg *StormCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this StormCluster. +func (mg *StormCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this StormCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *StormCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this StormCluster. +func (mg *StormCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/hdinsight/v1alpha1/zz_generated.managedlist.go b/apis/hdinsight/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..d6456eff8 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this HadoopClusterList. +func (l *HadoopClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this HbaseClusterList. +func (l *HbaseClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InteractiveQueryClusterList. +func (l *InteractiveQueryClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this KafkaClusterList. +func (l *KafkaClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this MlServicesClusterList. +func (l *MlServicesClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RserverClusterList. +func (l *RserverClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SparkClusterList. +func (l *SparkClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this StormClusterList. +func (l *StormClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/hdinsight/v1alpha1/zz_groupversion_info.go b/apis/hdinsight/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..c732d8a13 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=hdinsight.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "hdinsight.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/hdinsight/v1alpha1/zz_hadoopcluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_hadoopcluster_terraformed.go new file mode 100755 index 000000000..032f43e16 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_hadoopcluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HadoopCluster +func (mg *HadoopCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_hadoop_cluster" +} + +// GetConnectionDetailsMapping for this HadoopCluster +func (tr *HadoopCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "metastores[*].ambari[*].password": "spec.forProvider.metastores[*].ambari[*].passwordSecretRef", "metastores[*].hive[*].password": "spec.forProvider.metastores[*].hive[*].passwordSecretRef", "metastores[*].oozie[*].password": "spec.forProvider.metastores[*].oozie[*].passwordSecretRef", "monitor[*].primary_key": "spec.forProvider.monitor[*].primaryKeySecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "security_profile[*].domain_user_password": "spec.forProvider.securityProfile[*].domainUserPasswordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this HadoopCluster +func (tr *HadoopCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HadoopCluster +func (tr *HadoopCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HadoopCluster +func (tr *HadoopCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HadoopCluster +func (tr *HadoopCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HadoopCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HadoopCluster) LateInitialize(attrs []byte) (bool, error) { + params := &HadoopClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HadoopCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_hadoopcluster_types.go b/apis/hdinsight/v1alpha1/zz_hadoopcluster_types.go new file mode 100755 index 000000000..6fe6344a7 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_hadoopcluster_types.go @@ -0,0 +1,486 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AmbariObservation struct { +} + +type AmbariParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type AutoscaleObservation struct { +} + +type AutoscaleParameters struct { + + // +kubebuilder:validation:Optional + Capacity []CapacityParameters `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + Recurrence []RecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` +} + +type CapacityObservation struct { +} + +type CapacityParameters struct { + + // +kubebuilder:validation:Required + MaxInstanceCount *int64 `json:"maxInstanceCount" tf:"max_instance_count,omitempty"` + + // +kubebuilder:validation:Required + MinInstanceCount *int64 `json:"minInstanceCount" tf:"min_instance_count,omitempty"` +} + +type ComponentVersionObservation struct { +} + +type ComponentVersionParameters struct { + + // +kubebuilder:validation:Required + Hadoop *string `json:"hadoop" tf:"hadoop,omitempty"` +} + +type EdgeNodeObservation struct { +} + +type EdgeNodeParameters struct { + + // +kubebuilder:validation:Required + InstallScriptAction []InstallScriptActionParameters `json:"installScriptAction" tf:"install_script_action,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` +} + +type GatewayObservation struct { +} + +type GatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type HadoopClusterObservation struct { + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type HadoopClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + ComponentVersion []ComponentVersionParameters `json:"componentVersion" tf:"component_version,omitempty"` + + // +kubebuilder:validation:Required + Gateway []GatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metastores []MetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []MonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Network []NetworkParameters `json:"network,omitempty" tf:"network,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []RolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Optional + SecurityProfile []SecurityProfileParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []StorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountGen2 []StorageAccountGen2Parameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type HeadNodeObservation struct { +} + +type HeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type HiveObservation struct { +} + +type HiveParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type InstallScriptActionObservation struct { +} + +type InstallScriptActionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + URI *string `json:"uri" tf:"uri,omitempty"` +} + +type MetastoresObservation struct { +} + +type MetastoresParameters struct { + + // +kubebuilder:validation:Optional + Ambari []AmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"` + + // +kubebuilder:validation:Optional + Hive []HiveParameters `json:"hive,omitempty" tf:"hive,omitempty"` + + // +kubebuilder:validation:Optional + Oozie []OozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"` +} + +type MonitorObservation struct { +} + +type MonitorParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"` +} + +type NetworkObservation struct { +} + +type NetworkParameters struct { + + // +kubebuilder:validation:Optional + ConnectionDirection *string `json:"connectionDirection,omitempty" tf:"connection_direction,omitempty"` + + // +kubebuilder:validation:Optional + PrivateLinkEnabled *bool `json:"privateLinkEnabled,omitempty" tf:"private_link_enabled,omitempty"` +} + +type OozieObservation struct { +} + +type OozieParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type RecurrenceObservation struct { +} + +type RecurrenceParameters struct { + + // +kubebuilder:validation:Required + Schedule []ScheduleParameters `json:"schedule" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Required + Timezone *string `json:"timezone" tf:"timezone,omitempty"` +} + +type RolesObservation struct { +} + +type RolesParameters struct { + + // +kubebuilder:validation:Optional + EdgeNode []EdgeNodeParameters `json:"edgeNode,omitempty" tf:"edge_node,omitempty"` + + // +kubebuilder:validation:Required + HeadNode []HeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []WorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []ZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type ScheduleObservation struct { +} + +type ScheduleParameters struct { + + // +kubebuilder:validation:Required + Days []*string `json:"days" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` +} + +type SecurityProfileObservation struct { +} + +type SecurityProfileParameters struct { + + // +kubebuilder:validation:Required + AaddsResourceID *string `json:"aaddsResourceId" tf:"aadds_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ClusterUsersGroupDNS []*string `json:"clusterUsersGroupDns,omitempty" tf:"cluster_users_group_dns,omitempty"` + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + DomainUserPasswordSecretRef v1.SecretKeySelector `json:"domainUserPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DomainUsername *string `json:"domainUsername" tf:"domain_username,omitempty"` + + // +kubebuilder:validation:Required + LdapsUrls []*string `json:"ldapsUrls" tf:"ldaps_urls,omitempty"` + + // +kubebuilder:validation:Required + MsiResourceID *string `json:"msiResourceId" tf:"msi_resource_id,omitempty"` +} + +type StorageAccountGen2Observation struct { +} + +type StorageAccountGen2Parameters struct { + + // +kubebuilder:validation:Required + FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"` + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + ManagedIdentityResourceID *string `json:"managedIdentityResourceId" tf:"managed_identity_resource_id,omitempty"` + + // +kubebuilder:validation:Required + StorageResourceID *string `json:"storageResourceId" tf:"storage_resource_id,omitempty"` +} + +type StorageAccountObservation struct { +} + +type StorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +type WorkerNodeObservation struct { +} + +type WorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + Autoscale []AutoscaleParameters `json:"autoscale,omitempty" tf:"autoscale,omitempty"` + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type ZookeeperNodeObservation struct { +} + +type ZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +// HadoopClusterSpec defines the desired state of HadoopCluster +type HadoopClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HadoopClusterParameters `json:"forProvider"` +} + +// HadoopClusterStatus defines the observed state of HadoopCluster. +type HadoopClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HadoopClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HadoopCluster is the Schema for the HadoopClusters API +// +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,azurejet} +type HadoopCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HadoopClusterSpec `json:"spec"` + Status HadoopClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HadoopClusterList contains a list of HadoopClusters +type HadoopClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HadoopCluster `json:"items"` +} + +// Repository type metadata. +var ( + HadoopCluster_Kind = "HadoopCluster" + HadoopCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HadoopCluster_Kind}.String() + HadoopCluster_KindAPIVersion = HadoopCluster_Kind + "." + CRDGroupVersion.String() + HadoopCluster_GroupVersionKind = CRDGroupVersion.WithKind(HadoopCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&HadoopCluster{}, &HadoopClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_hbasecluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_hbasecluster_terraformed.go new file mode 100755 index 000000000..9f6f10625 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_hbasecluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HbaseCluster +func (mg *HbaseCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_hbase_cluster" +} + +// GetConnectionDetailsMapping for this HbaseCluster +func (tr *HbaseCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "metastores[*].ambari[*].password": "spec.forProvider.metastores[*].ambari[*].passwordSecretRef", "metastores[*].hive[*].password": "spec.forProvider.metastores[*].hive[*].passwordSecretRef", "metastores[*].oozie[*].password": "spec.forProvider.metastores[*].oozie[*].passwordSecretRef", "monitor[*].primary_key": "spec.forProvider.monitor[*].primaryKeySecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "security_profile[*].domain_user_password": "spec.forProvider.securityProfile[*].domainUserPasswordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this HbaseCluster +func (tr *HbaseCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HbaseCluster +func (tr *HbaseCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HbaseCluster +func (tr *HbaseCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HbaseCluster +func (tr *HbaseCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HbaseCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HbaseCluster) LateInitialize(attrs []byte) (bool, error) { + params := &HbaseClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HbaseCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_hbasecluster_types.go b/apis/hdinsight/v1alpha1/zz_hbasecluster_types.go new file mode 100755 index 000000000..9dad17641 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_hbasecluster_types.go @@ -0,0 +1,426 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutoscaleRecurrenceObservation struct { +} + +type AutoscaleRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Schedule []RecurrenceScheduleParameters `json:"schedule" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Required + Timezone *string `json:"timezone" tf:"timezone,omitempty"` +} + +type HbaseClusterComponentVersionObservation struct { +} + +type HbaseClusterComponentVersionParameters struct { + + // +kubebuilder:validation:Required + Hbase *string `json:"hbase" tf:"hbase,omitempty"` +} + +type HbaseClusterGatewayObservation struct { +} + +type HbaseClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type HbaseClusterMetastoresObservation struct { +} + +type HbaseClusterMetastoresParameters struct { + + // +kubebuilder:validation:Optional + Ambari []MetastoresAmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"` + + // +kubebuilder:validation:Optional + Hive []MetastoresHiveParameters `json:"hive,omitempty" tf:"hive,omitempty"` + + // +kubebuilder:validation:Optional + Oozie []MetastoresOozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"` +} + +type HbaseClusterMonitorObservation struct { +} + +type HbaseClusterMonitorParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"` +} + +type HbaseClusterObservation struct { + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type HbaseClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + ComponentVersion []HbaseClusterComponentVersionParameters `json:"componentVersion" tf:"component_version,omitempty"` + + // +kubebuilder:validation:Required + Gateway []HbaseClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metastores []HbaseClusterMetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []HbaseClusterMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []HbaseClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Optional + SecurityProfile []HbaseClusterSecurityProfileParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []HbaseClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountGen2 []HbaseClusterStorageAccountGen2Parameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type HbaseClusterRolesObservation struct { +} + +type HbaseClusterRolesParameters struct { + + // +kubebuilder:validation:Required + HeadNode []RolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []RolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []RolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type HbaseClusterSecurityProfileObservation struct { +} + +type HbaseClusterSecurityProfileParameters struct { + + // +kubebuilder:validation:Required + AaddsResourceID *string `json:"aaddsResourceId" tf:"aadds_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ClusterUsersGroupDNS []*string `json:"clusterUsersGroupDns,omitempty" tf:"cluster_users_group_dns,omitempty"` + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + DomainUserPasswordSecretRef v1.SecretKeySelector `json:"domainUserPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DomainUsername *string `json:"domainUsername" tf:"domain_username,omitempty"` + + // +kubebuilder:validation:Required + LdapsUrls []*string `json:"ldapsUrls" tf:"ldaps_urls,omitempty"` + + // +kubebuilder:validation:Required + MsiResourceID *string `json:"msiResourceId" tf:"msi_resource_id,omitempty"` +} + +type HbaseClusterStorageAccountGen2Observation struct { +} + +type HbaseClusterStorageAccountGen2Parameters struct { + + // +kubebuilder:validation:Required + FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"` + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + ManagedIdentityResourceID *string `json:"managedIdentityResourceId" tf:"managed_identity_resource_id,omitempty"` + + // +kubebuilder:validation:Required + StorageResourceID *string `json:"storageResourceId" tf:"storage_resource_id,omitempty"` +} + +type HbaseClusterStorageAccountObservation struct { +} + +type HbaseClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +type MetastoresAmbariObservation struct { +} + +type MetastoresAmbariParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type MetastoresHiveObservation struct { +} + +type MetastoresHiveParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type MetastoresOozieObservation struct { +} + +type MetastoresOozieParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type RecurrenceScheduleObservation struct { +} + +type RecurrenceScheduleParameters struct { + + // +kubebuilder:validation:Required + Days []*string `json:"days" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` +} + +type RolesHeadNodeObservation struct { +} + +type RolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RolesWorkerNodeObservation struct { +} + +type RolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + Autoscale []WorkerNodeAutoscaleParameters `json:"autoscale,omitempty" tf:"autoscale,omitempty"` + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RolesZookeeperNodeObservation struct { +} + +type RolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type WorkerNodeAutoscaleObservation struct { +} + +type WorkerNodeAutoscaleParameters struct { + + // +kubebuilder:validation:Optional + Recurrence []AutoscaleRecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` +} + +// HbaseClusterSpec defines the desired state of HbaseCluster +type HbaseClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HbaseClusterParameters `json:"forProvider"` +} + +// HbaseClusterStatus defines the observed state of HbaseCluster. +type HbaseClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HbaseClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HbaseCluster is the Schema for the HbaseClusters API +// +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,azurejet} +type HbaseCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HbaseClusterSpec `json:"spec"` + Status HbaseClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HbaseClusterList contains a list of HbaseClusters +type HbaseClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HbaseCluster `json:"items"` +} + +// Repository type metadata. +var ( + HbaseCluster_Kind = "HbaseCluster" + HbaseCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HbaseCluster_Kind}.String() + HbaseCluster_KindAPIVersion = HbaseCluster_Kind + "." + CRDGroupVersion.String() + HbaseCluster_GroupVersionKind = CRDGroupVersion.WithKind(HbaseCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&HbaseCluster{}, &HbaseClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_interactivequerycluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_interactivequerycluster_terraformed.go new file mode 100755 index 000000000..753497da0 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_interactivequerycluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InteractiveQueryCluster +func (mg *InteractiveQueryCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_interactive_query_cluster" +} + +// GetConnectionDetailsMapping for this InteractiveQueryCluster +func (tr *InteractiveQueryCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "metastores[*].ambari[*].password": "spec.forProvider.metastores[*].ambari[*].passwordSecretRef", "metastores[*].hive[*].password": "spec.forProvider.metastores[*].hive[*].passwordSecretRef", "metastores[*].oozie[*].password": "spec.forProvider.metastores[*].oozie[*].passwordSecretRef", "monitor[*].primary_key": "spec.forProvider.monitor[*].primaryKeySecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "security_profile[*].domain_user_password": "spec.forProvider.securityProfile[*].domainUserPasswordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this InteractiveQueryCluster +func (tr *InteractiveQueryCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InteractiveQueryCluster +func (tr *InteractiveQueryCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InteractiveQueryCluster +func (tr *InteractiveQueryCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InteractiveQueryCluster +func (tr *InteractiveQueryCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InteractiveQueryCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InteractiveQueryCluster) LateInitialize(attrs []byte) (bool, error) { + params := &InteractiveQueryClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InteractiveQueryCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_interactivequerycluster_types.go b/apis/hdinsight/v1alpha1/zz_interactivequerycluster_types.go new file mode 100755 index 000000000..e94b12a5a --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_interactivequerycluster_types.go @@ -0,0 +1,459 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutoscaleCapacityObservation struct { +} + +type AutoscaleCapacityParameters struct { + + // +kubebuilder:validation:Required + MaxInstanceCount *int64 `json:"maxInstanceCount" tf:"max_instance_count,omitempty"` + + // +kubebuilder:validation:Required + MinInstanceCount *int64 `json:"minInstanceCount" tf:"min_instance_count,omitempty"` +} + +type AutoscaleRecurrenceScheduleObservation struct { +} + +type AutoscaleRecurrenceScheduleParameters struct { + + // +kubebuilder:validation:Required + Days []*string `json:"days" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` +} + +type InteractiveQueryClusterComponentVersionObservation struct { +} + +type InteractiveQueryClusterComponentVersionParameters struct { + + // +kubebuilder:validation:Required + InteractiveHive *string `json:"interactiveHive" tf:"interactive_hive,omitempty"` +} + +type InteractiveQueryClusterGatewayObservation struct { +} + +type InteractiveQueryClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type InteractiveQueryClusterMetastoresAmbariObservation struct { +} + +type InteractiveQueryClusterMetastoresAmbariParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type InteractiveQueryClusterMetastoresHiveObservation struct { +} + +type InteractiveQueryClusterMetastoresHiveParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type InteractiveQueryClusterMetastoresObservation struct { +} + +type InteractiveQueryClusterMetastoresOozieObservation struct { +} + +type InteractiveQueryClusterMetastoresOozieParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type InteractiveQueryClusterMetastoresParameters struct { + + // +kubebuilder:validation:Optional + Ambari []InteractiveQueryClusterMetastoresAmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"` + + // +kubebuilder:validation:Optional + Hive []InteractiveQueryClusterMetastoresHiveParameters `json:"hive,omitempty" tf:"hive,omitempty"` + + // +kubebuilder:validation:Optional + Oozie []InteractiveQueryClusterMetastoresOozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"` +} + +type InteractiveQueryClusterMonitorObservation struct { +} + +type InteractiveQueryClusterMonitorParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"` +} + +type InteractiveQueryClusterNetworkObservation struct { +} + +type InteractiveQueryClusterNetworkParameters struct { + + // +kubebuilder:validation:Optional + ConnectionDirection *string `json:"connectionDirection,omitempty" tf:"connection_direction,omitempty"` + + // +kubebuilder:validation:Optional + PrivateLinkEnabled *bool `json:"privateLinkEnabled,omitempty" tf:"private_link_enabled,omitempty"` +} + +type InteractiveQueryClusterObservation struct { + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type InteractiveQueryClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + ComponentVersion []InteractiveQueryClusterComponentVersionParameters `json:"componentVersion" tf:"component_version,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionInTransitEnabled *bool `json:"encryptionInTransitEnabled,omitempty" tf:"encryption_in_transit_enabled,omitempty"` + + // +kubebuilder:validation:Required + Gateway []InteractiveQueryClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metastores []InteractiveQueryClusterMetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []InteractiveQueryClusterMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Network []InteractiveQueryClusterNetworkParameters `json:"network,omitempty" tf:"network,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []InteractiveQueryClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Optional + SecurityProfile []InteractiveQueryClusterSecurityProfileParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []InteractiveQueryClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountGen2 []InteractiveQueryClusterStorageAccountGen2Parameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type InteractiveQueryClusterRolesHeadNodeObservation struct { +} + +type InteractiveQueryClusterRolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type InteractiveQueryClusterRolesObservation struct { +} + +type InteractiveQueryClusterRolesParameters struct { + + // +kubebuilder:validation:Required + HeadNode []InteractiveQueryClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []InteractiveQueryClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []InteractiveQueryClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type InteractiveQueryClusterRolesWorkerNodeObservation struct { +} + +type InteractiveQueryClusterRolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + Autoscale []RolesWorkerNodeAutoscaleParameters `json:"autoscale,omitempty" tf:"autoscale,omitempty"` + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type InteractiveQueryClusterRolesZookeeperNodeObservation struct { +} + +type InteractiveQueryClusterRolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type InteractiveQueryClusterSecurityProfileObservation struct { +} + +type InteractiveQueryClusterSecurityProfileParameters struct { + + // +kubebuilder:validation:Required + AaddsResourceID *string `json:"aaddsResourceId" tf:"aadds_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ClusterUsersGroupDNS []*string `json:"clusterUsersGroupDns,omitempty" tf:"cluster_users_group_dns,omitempty"` + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + DomainUserPasswordSecretRef v1.SecretKeySelector `json:"domainUserPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DomainUsername *string `json:"domainUsername" tf:"domain_username,omitempty"` + + // +kubebuilder:validation:Required + LdapsUrls []*string `json:"ldapsUrls" tf:"ldaps_urls,omitempty"` + + // +kubebuilder:validation:Required + MsiResourceID *string `json:"msiResourceId" tf:"msi_resource_id,omitempty"` +} + +type InteractiveQueryClusterStorageAccountGen2Observation struct { +} + +type InteractiveQueryClusterStorageAccountGen2Parameters struct { + + // +kubebuilder:validation:Required + FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"` + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + ManagedIdentityResourceID *string `json:"managedIdentityResourceId" tf:"managed_identity_resource_id,omitempty"` + + // +kubebuilder:validation:Required + StorageResourceID *string `json:"storageResourceId" tf:"storage_resource_id,omitempty"` +} + +type InteractiveQueryClusterStorageAccountObservation struct { +} + +type InteractiveQueryClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +type RolesWorkerNodeAutoscaleObservation struct { +} + +type RolesWorkerNodeAutoscaleParameters struct { + + // +kubebuilder:validation:Optional + Capacity []AutoscaleCapacityParameters `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + Recurrence []WorkerNodeAutoscaleRecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` +} + +type WorkerNodeAutoscaleRecurrenceObservation struct { +} + +type WorkerNodeAutoscaleRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Schedule []AutoscaleRecurrenceScheduleParameters `json:"schedule" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Required + Timezone *string `json:"timezone" tf:"timezone,omitempty"` +} + +// InteractiveQueryClusterSpec defines the desired state of InteractiveQueryCluster +type InteractiveQueryClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InteractiveQueryClusterParameters `json:"forProvider"` +} + +// InteractiveQueryClusterStatus defines the observed state of InteractiveQueryCluster. +type InteractiveQueryClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InteractiveQueryClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InteractiveQueryCluster is the Schema for the InteractiveQueryClusters API +// +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,azurejet} +type InteractiveQueryCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InteractiveQueryClusterSpec `json:"spec"` + Status InteractiveQueryClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InteractiveQueryClusterList contains a list of InteractiveQueryClusters +type InteractiveQueryClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InteractiveQueryCluster `json:"items"` +} + +// Repository type metadata. +var ( + InteractiveQueryCluster_Kind = "InteractiveQueryCluster" + InteractiveQueryCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InteractiveQueryCluster_Kind}.String() + InteractiveQueryCluster_KindAPIVersion = InteractiveQueryCluster_Kind + "." + CRDGroupVersion.String() + InteractiveQueryCluster_GroupVersionKind = CRDGroupVersion.WithKind(InteractiveQueryCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&InteractiveQueryCluster{}, &InteractiveQueryClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_kafkacluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_kafkacluster_terraformed.go new file mode 100755 index 000000000..d4985bed0 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_kafkacluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this KafkaCluster +func (mg *KafkaCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_kafka_cluster" +} + +// GetConnectionDetailsMapping for this KafkaCluster +func (tr *KafkaCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "metastores[*].ambari[*].password": "spec.forProvider.metastores[*].ambari[*].passwordSecretRef", "metastores[*].hive[*].password": "spec.forProvider.metastores[*].hive[*].passwordSecretRef", "metastores[*].oozie[*].password": "spec.forProvider.metastores[*].oozie[*].passwordSecretRef", "monitor[*].primary_key": "spec.forProvider.monitor[*].primaryKeySecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].kafka_management_node[*].password": "spec.forProvider.roles[*].kafkaManagementNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "security_profile[*].domain_user_password": "spec.forProvider.securityProfile[*].domainUserPasswordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this KafkaCluster +func (tr *KafkaCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this KafkaCluster +func (tr *KafkaCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this KafkaCluster +func (tr *KafkaCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this KafkaCluster +func (tr *KafkaCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this KafkaCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *KafkaCluster) LateInitialize(attrs []byte) (bool, error) { + params := &KafkaClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *KafkaCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_kafkacluster_types.go b/apis/hdinsight/v1alpha1/zz_kafkacluster_types.go new file mode 100755 index 000000000..df18e22c7 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_kafkacluster_types.go @@ -0,0 +1,434 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type KafkaClusterComponentVersionObservation struct { +} + +type KafkaClusterComponentVersionParameters struct { + + // +kubebuilder:validation:Required + Kafka *string `json:"kafka" tf:"kafka,omitempty"` +} + +type KafkaClusterGatewayObservation struct { +} + +type KafkaClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type KafkaClusterMetastoresAmbariObservation struct { +} + +type KafkaClusterMetastoresAmbariParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type KafkaClusterMetastoresHiveObservation struct { +} + +type KafkaClusterMetastoresHiveParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type KafkaClusterMetastoresObservation struct { +} + +type KafkaClusterMetastoresOozieObservation struct { +} + +type KafkaClusterMetastoresOozieParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type KafkaClusterMetastoresParameters struct { + + // +kubebuilder:validation:Optional + Ambari []KafkaClusterMetastoresAmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"` + + // +kubebuilder:validation:Optional + Hive []KafkaClusterMetastoresHiveParameters `json:"hive,omitempty" tf:"hive,omitempty"` + + // +kubebuilder:validation:Optional + Oozie []KafkaClusterMetastoresOozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"` +} + +type KafkaClusterMonitorObservation struct { +} + +type KafkaClusterMonitorParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"` +} + +type KafkaClusterObservation struct { + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + KafkaRestProxyEndpoint *string `json:"kafkaRestProxyEndpoint,omitempty" tf:"kafka_rest_proxy_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type KafkaClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + ComponentVersion []KafkaClusterComponentVersionParameters `json:"componentVersion" tf:"component_version,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionInTransitEnabled *bool `json:"encryptionInTransitEnabled,omitempty" tf:"encryption_in_transit_enabled,omitempty"` + + // +kubebuilder:validation:Required + Gateway []KafkaClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metastores []KafkaClusterMetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []KafkaClusterMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RestProxy []RestProxyParameters `json:"restProxy,omitempty" tf:"rest_proxy,omitempty"` + + // +kubebuilder:validation:Required + Roles []KafkaClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Optional + SecurityProfile []KafkaClusterSecurityProfileParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []KafkaClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountGen2 []KafkaClusterStorageAccountGen2Parameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type KafkaClusterRolesHeadNodeObservation struct { +} + +type KafkaClusterRolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type KafkaClusterRolesObservation struct { +} + +type KafkaClusterRolesParameters struct { + + // +kubebuilder:validation:Required + HeadNode []KafkaClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Optional + KafkaManagementNode []KafkaManagementNodeParameters `json:"kafkaManagementNode,omitempty" tf:"kafka_management_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []KafkaClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []KafkaClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type KafkaClusterRolesWorkerNodeObservation struct { +} + +type KafkaClusterRolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Required + NumberOfDisksPerNode *int64 `json:"numberOfDisksPerNode" tf:"number_of_disks_per_node,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type KafkaClusterRolesZookeeperNodeObservation struct { +} + +type KafkaClusterRolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type KafkaClusterSecurityProfileObservation struct { +} + +type KafkaClusterSecurityProfileParameters struct { + + // +kubebuilder:validation:Required + AaddsResourceID *string `json:"aaddsResourceId" tf:"aadds_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ClusterUsersGroupDNS []*string `json:"clusterUsersGroupDns,omitempty" tf:"cluster_users_group_dns,omitempty"` + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + DomainUserPasswordSecretRef v1.SecretKeySelector `json:"domainUserPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DomainUsername *string `json:"domainUsername" tf:"domain_username,omitempty"` + + // +kubebuilder:validation:Required + LdapsUrls []*string `json:"ldapsUrls" tf:"ldaps_urls,omitempty"` + + // +kubebuilder:validation:Required + MsiResourceID *string `json:"msiResourceId" tf:"msi_resource_id,omitempty"` +} + +type KafkaClusterStorageAccountGen2Observation struct { +} + +type KafkaClusterStorageAccountGen2Parameters struct { + + // +kubebuilder:validation:Required + FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"` + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + ManagedIdentityResourceID *string `json:"managedIdentityResourceId" tf:"managed_identity_resource_id,omitempty"` + + // +kubebuilder:validation:Required + StorageResourceID *string `json:"storageResourceId" tf:"storage_resource_id,omitempty"` +} + +type KafkaClusterStorageAccountObservation struct { +} + +type KafkaClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +type KafkaManagementNodeObservation struct { +} + +type KafkaManagementNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RestProxyObservation struct { +} + +type RestProxyParameters struct { + + // +kubebuilder:validation:Required + SecurityGroupID *string `json:"securityGroupId" tf:"security_group_id,omitempty"` +} + +// KafkaClusterSpec defines the desired state of KafkaCluster +type KafkaClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider KafkaClusterParameters `json:"forProvider"` +} + +// KafkaClusterStatus defines the observed state of KafkaCluster. +type KafkaClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider KafkaClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// KafkaCluster is the Schema for the KafkaClusters API +// +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,azurejet} +type KafkaCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec KafkaClusterSpec `json:"spec"` + Status KafkaClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// KafkaClusterList contains a list of KafkaClusters +type KafkaClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []KafkaCluster `json:"items"` +} + +// Repository type metadata. +var ( + KafkaCluster_Kind = "KafkaCluster" + KafkaCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: KafkaCluster_Kind}.String() + KafkaCluster_KindAPIVersion = KafkaCluster_Kind + "." + CRDGroupVersion.String() + KafkaCluster_GroupVersionKind = CRDGroupVersion.WithKind(KafkaCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&KafkaCluster{}, &KafkaClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_mlservicescluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_mlservicescluster_terraformed.go new file mode 100755 index 000000000..462642aaa --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_mlservicescluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this MlServicesCluster +func (mg *MlServicesCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_ml_services_cluster" +} + +// GetConnectionDetailsMapping for this MlServicesCluster +func (tr *MlServicesCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "roles[*].edge_node[*].password": "spec.forProvider.roles[*].edgeNode[*].passwordSecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this MlServicesCluster +func (tr *MlServicesCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this MlServicesCluster +func (tr *MlServicesCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this MlServicesCluster +func (tr *MlServicesCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this MlServicesCluster +func (tr *MlServicesCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this MlServicesCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *MlServicesCluster) LateInitialize(attrs []byte) (bool, error) { + params := &MlServicesClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *MlServicesCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_mlservicescluster_types.go b/apis/hdinsight/v1alpha1/zz_mlservicescluster_types.go new file mode 100755 index 000000000..b05e47ea3 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_mlservicescluster_types.go @@ -0,0 +1,269 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type MlServicesClusterGatewayObservation struct { +} + +type MlServicesClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type MlServicesClusterObservation struct { + EdgeSSHEndpoint *string `json:"edgeSshEndpoint,omitempty" tf:"edge_ssh_endpoint,omitempty"` + + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type MlServicesClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + Gateway []MlServicesClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []MlServicesClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Required + Rstudio *bool `json:"rstudio" tf:"rstudio,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []MlServicesClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type MlServicesClusterRolesHeadNodeObservation struct { +} + +type MlServicesClusterRolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type MlServicesClusterRolesObservation struct { +} + +type MlServicesClusterRolesParameters struct { + + // +kubebuilder:validation:Required + EdgeNode []RolesEdgeNodeParameters `json:"edgeNode" tf:"edge_node,omitempty"` + + // +kubebuilder:validation:Required + HeadNode []MlServicesClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []MlServicesClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []MlServicesClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type MlServicesClusterRolesWorkerNodeObservation struct { +} + +type MlServicesClusterRolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type MlServicesClusterRolesZookeeperNodeObservation struct { +} + +type MlServicesClusterRolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type MlServicesClusterStorageAccountObservation struct { +} + +type MlServicesClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +type RolesEdgeNodeObservation struct { +} + +type RolesEdgeNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +// MlServicesClusterSpec defines the desired state of MlServicesCluster +type MlServicesClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider MlServicesClusterParameters `json:"forProvider"` +} + +// MlServicesClusterStatus defines the observed state of MlServicesCluster. +type MlServicesClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider MlServicesClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// MlServicesCluster is the Schema for the MlServicesClusters API +// +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,azurejet} +type MlServicesCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec MlServicesClusterSpec `json:"spec"` + Status MlServicesClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// MlServicesClusterList contains a list of MlServicesClusters +type MlServicesClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MlServicesCluster `json:"items"` +} + +// Repository type metadata. +var ( + MlServicesCluster_Kind = "MlServicesCluster" + MlServicesCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: MlServicesCluster_Kind}.String() + MlServicesCluster_KindAPIVersion = MlServicesCluster_Kind + "." + CRDGroupVersion.String() + MlServicesCluster_GroupVersionKind = CRDGroupVersion.WithKind(MlServicesCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&MlServicesCluster{}, &MlServicesClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_rservercluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_rservercluster_terraformed.go new file mode 100755 index 000000000..ddfa0f7d9 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_rservercluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RserverCluster +func (mg *RserverCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_rserver_cluster" +} + +// GetConnectionDetailsMapping for this RserverCluster +func (tr *RserverCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "roles[*].edge_node[*].password": "spec.forProvider.roles[*].edgeNode[*].passwordSecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this RserverCluster +func (tr *RserverCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RserverCluster +func (tr *RserverCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RserverCluster +func (tr *RserverCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RserverCluster +func (tr *RserverCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RserverCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RserverCluster) LateInitialize(attrs []byte) (bool, error) { + params := &RserverClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RserverCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_rservercluster_types.go b/apis/hdinsight/v1alpha1/zz_rservercluster_types.go new file mode 100755 index 000000000..de13d7704 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_rservercluster_types.go @@ -0,0 +1,269 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RserverClusterGatewayObservation struct { +} + +type RserverClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type RserverClusterObservation struct { + EdgeSSHEndpoint *string `json:"edgeSshEndpoint,omitempty" tf:"edge_ssh_endpoint,omitempty"` + + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type RserverClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + Gateway []RserverClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []RserverClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Required + Rstudio *bool `json:"rstudio" tf:"rstudio,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []RserverClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type RserverClusterRolesEdgeNodeObservation struct { +} + +type RserverClusterRolesEdgeNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RserverClusterRolesHeadNodeObservation struct { +} + +type RserverClusterRolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RserverClusterRolesObservation struct { +} + +type RserverClusterRolesParameters struct { + + // +kubebuilder:validation:Required + EdgeNode []RserverClusterRolesEdgeNodeParameters `json:"edgeNode" tf:"edge_node,omitempty"` + + // +kubebuilder:validation:Required + HeadNode []RserverClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []RserverClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []RserverClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type RserverClusterRolesWorkerNodeObservation struct { +} + +type RserverClusterRolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RserverClusterRolesZookeeperNodeObservation struct { +} + +type RserverClusterRolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type RserverClusterStorageAccountObservation struct { +} + +type RserverClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +// RserverClusterSpec defines the desired state of RserverCluster +type RserverClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RserverClusterParameters `json:"forProvider"` +} + +// RserverClusterStatus defines the observed state of RserverCluster. +type RserverClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RserverClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RserverCluster is the Schema for the RserverClusters API +// +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,azurejet} +type RserverCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RserverClusterSpec `json:"spec"` + Status RserverClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RserverClusterList contains a list of RserverClusters +type RserverClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RserverCluster `json:"items"` +} + +// Repository type metadata. +var ( + RserverCluster_Kind = "RserverCluster" + RserverCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RserverCluster_Kind}.String() + RserverCluster_KindAPIVersion = RserverCluster_Kind + "." + CRDGroupVersion.String() + RserverCluster_GroupVersionKind = CRDGroupVersion.WithKind(RserverCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&RserverCluster{}, &RserverClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_sparkcluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_sparkcluster_terraformed.go new file mode 100755 index 000000000..8a5b69ded --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_sparkcluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SparkCluster +func (mg *SparkCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_spark_cluster" +} + +// GetConnectionDetailsMapping for this SparkCluster +func (tr *SparkCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "metastores[*].ambari[*].password": "spec.forProvider.metastores[*].ambari[*].passwordSecretRef", "metastores[*].hive[*].password": "spec.forProvider.metastores[*].hive[*].passwordSecretRef", "metastores[*].oozie[*].password": "spec.forProvider.metastores[*].oozie[*].passwordSecretRef", "monitor[*].primary_key": "spec.forProvider.monitor[*].primaryKeySecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "security_profile[*].domain_user_password": "spec.forProvider.securityProfile[*].domainUserPasswordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this SparkCluster +func (tr *SparkCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SparkCluster +func (tr *SparkCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SparkCluster +func (tr *SparkCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SparkCluster +func (tr *SparkCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SparkCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SparkCluster) LateInitialize(attrs []byte) (bool, error) { + params := &SparkClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SparkCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_sparkcluster_types.go b/apis/hdinsight/v1alpha1/zz_sparkcluster_types.go new file mode 100755 index 000000000..f2abfcdc7 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_sparkcluster_types.go @@ -0,0 +1,459 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RolesWorkerNodeAutoscaleRecurrenceObservation struct { +} + +type RolesWorkerNodeAutoscaleRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Schedule []WorkerNodeAutoscaleRecurrenceScheduleParameters `json:"schedule" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Required + Timezone *string `json:"timezone" tf:"timezone,omitempty"` +} + +type SparkClusterComponentVersionObservation struct { +} + +type SparkClusterComponentVersionParameters struct { + + // +kubebuilder:validation:Required + Spark *string `json:"spark" tf:"spark,omitempty"` +} + +type SparkClusterGatewayObservation struct { +} + +type SparkClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type SparkClusterMetastoresAmbariObservation struct { +} + +type SparkClusterMetastoresAmbariParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type SparkClusterMetastoresHiveObservation struct { +} + +type SparkClusterMetastoresHiveParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type SparkClusterMetastoresObservation struct { +} + +type SparkClusterMetastoresOozieObservation struct { +} + +type SparkClusterMetastoresOozieParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type SparkClusterMetastoresParameters struct { + + // +kubebuilder:validation:Optional + Ambari []SparkClusterMetastoresAmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"` + + // +kubebuilder:validation:Optional + Hive []SparkClusterMetastoresHiveParameters `json:"hive,omitempty" tf:"hive,omitempty"` + + // +kubebuilder:validation:Optional + Oozie []SparkClusterMetastoresOozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"` +} + +type SparkClusterMonitorObservation struct { +} + +type SparkClusterMonitorParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"` +} + +type SparkClusterNetworkObservation struct { +} + +type SparkClusterNetworkParameters struct { + + // +kubebuilder:validation:Optional + ConnectionDirection *string `json:"connectionDirection,omitempty" tf:"connection_direction,omitempty"` + + // +kubebuilder:validation:Optional + PrivateLinkEnabled *bool `json:"privateLinkEnabled,omitempty" tf:"private_link_enabled,omitempty"` +} + +type SparkClusterObservation struct { + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type SparkClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + ComponentVersion []SparkClusterComponentVersionParameters `json:"componentVersion" tf:"component_version,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionInTransitEnabled *bool `json:"encryptionInTransitEnabled,omitempty" tf:"encryption_in_transit_enabled,omitempty"` + + // +kubebuilder:validation:Required + Gateway []SparkClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metastores []SparkClusterMetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []SparkClusterMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Network []SparkClusterNetworkParameters `json:"network,omitempty" tf:"network,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []SparkClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Optional + SecurityProfile []SparkClusterSecurityProfileParameters `json:"securityProfile,omitempty" tf:"security_profile,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []SparkClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountGen2 []SparkClusterStorageAccountGen2Parameters `json:"storageAccountGen2,omitempty" tf:"storage_account_gen2,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type SparkClusterRolesHeadNodeObservation struct { +} + +type SparkClusterRolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type SparkClusterRolesObservation struct { +} + +type SparkClusterRolesParameters struct { + + // +kubebuilder:validation:Required + HeadNode []SparkClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []SparkClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []SparkClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type SparkClusterRolesWorkerNodeAutoscaleObservation struct { +} + +type SparkClusterRolesWorkerNodeAutoscaleParameters struct { + + // +kubebuilder:validation:Optional + Capacity []WorkerNodeAutoscaleCapacityParameters `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + Recurrence []RolesWorkerNodeAutoscaleRecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` +} + +type SparkClusterRolesWorkerNodeObservation struct { +} + +type SparkClusterRolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + Autoscale []SparkClusterRolesWorkerNodeAutoscaleParameters `json:"autoscale,omitempty" tf:"autoscale,omitempty"` + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type SparkClusterRolesZookeeperNodeObservation struct { +} + +type SparkClusterRolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type SparkClusterSecurityProfileObservation struct { +} + +type SparkClusterSecurityProfileParameters struct { + + // +kubebuilder:validation:Required + AaddsResourceID *string `json:"aaddsResourceId" tf:"aadds_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ClusterUsersGroupDNS []*string `json:"clusterUsersGroupDns,omitempty" tf:"cluster_users_group_dns,omitempty"` + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + DomainUserPasswordSecretRef v1.SecretKeySelector `json:"domainUserPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + DomainUsername *string `json:"domainUsername" tf:"domain_username,omitempty"` + + // +kubebuilder:validation:Required + LdapsUrls []*string `json:"ldapsUrls" tf:"ldaps_urls,omitempty"` + + // +kubebuilder:validation:Required + MsiResourceID *string `json:"msiResourceId" tf:"msi_resource_id,omitempty"` +} + +type SparkClusterStorageAccountGen2Observation struct { +} + +type SparkClusterStorageAccountGen2Parameters struct { + + // +kubebuilder:validation:Required + FilesystemID *string `json:"filesystemId" tf:"filesystem_id,omitempty"` + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + ManagedIdentityResourceID *string `json:"managedIdentityResourceId" tf:"managed_identity_resource_id,omitempty"` + + // +kubebuilder:validation:Required + StorageResourceID *string `json:"storageResourceId" tf:"storage_resource_id,omitempty"` +} + +type SparkClusterStorageAccountObservation struct { +} + +type SparkClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +type WorkerNodeAutoscaleCapacityObservation struct { +} + +type WorkerNodeAutoscaleCapacityParameters struct { + + // +kubebuilder:validation:Required + MaxInstanceCount *int64 `json:"maxInstanceCount" tf:"max_instance_count,omitempty"` + + // +kubebuilder:validation:Required + MinInstanceCount *int64 `json:"minInstanceCount" tf:"min_instance_count,omitempty"` +} + +type WorkerNodeAutoscaleRecurrenceScheduleObservation struct { +} + +type WorkerNodeAutoscaleRecurrenceScheduleParameters struct { + + // +kubebuilder:validation:Required + Days []*string `json:"days" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Time *string `json:"time" tf:"time,omitempty"` +} + +// SparkClusterSpec defines the desired state of SparkCluster +type SparkClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SparkClusterParameters `json:"forProvider"` +} + +// SparkClusterStatus defines the observed state of SparkCluster. +type SparkClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SparkClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SparkCluster is the Schema for the SparkClusters API +// +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,azurejet} +type SparkCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SparkClusterSpec `json:"spec"` + Status SparkClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SparkClusterList contains a list of SparkClusters +type SparkClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SparkCluster `json:"items"` +} + +// Repository type metadata. +var ( + SparkCluster_Kind = "SparkCluster" + SparkCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SparkCluster_Kind}.String() + SparkCluster_KindAPIVersion = SparkCluster_Kind + "." + CRDGroupVersion.String() + SparkCluster_GroupVersionKind = CRDGroupVersion.WithKind(SparkCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&SparkCluster{}, &SparkClusterList{}) +} diff --git a/apis/hdinsight/v1alpha1/zz_stormcluster_terraformed.go b/apis/hdinsight/v1alpha1/zz_stormcluster_terraformed.go new file mode 100755 index 000000000..36954fedb --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_stormcluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this StormCluster +func (mg *StormCluster) GetTerraformResourceType() string { + return "azurerm_hdinsight_storm_cluster" +} + +// GetConnectionDetailsMapping for this StormCluster +func (tr *StormCluster) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"gateway[*].password": "spec.forProvider.gateway[*].passwordSecretRef", "metastores[*].ambari[*].password": "spec.forProvider.metastores[*].ambari[*].passwordSecretRef", "metastores[*].hive[*].password": "spec.forProvider.metastores[*].hive[*].passwordSecretRef", "metastores[*].oozie[*].password": "spec.forProvider.metastores[*].oozie[*].passwordSecretRef", "monitor[*].primary_key": "spec.forProvider.monitor[*].primaryKeySecretRef", "roles[*].head_node[*].password": "spec.forProvider.roles[*].headNode[*].passwordSecretRef", "roles[*].worker_node[*].password": "spec.forProvider.roles[*].workerNode[*].passwordSecretRef", "roles[*].zookeeper_node[*].password": "spec.forProvider.roles[*].zookeeperNode[*].passwordSecretRef", "storage_account[*].storage_account_key": "spec.forProvider.storageAccount[*].storageAccountKeySecretRef"} +} + +// GetObservation of this StormCluster +func (tr *StormCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this StormCluster +func (tr *StormCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this StormCluster +func (tr *StormCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this StormCluster +func (tr *StormCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this StormCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *StormCluster) LateInitialize(attrs []byte) (bool, error) { + params := &StormClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *StormCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hdinsight/v1alpha1/zz_stormcluster_types.go b/apis/hdinsight/v1alpha1/zz_stormcluster_types.go new file mode 100755 index 000000000..216678359 --- /dev/null +++ b/apis/hdinsight/v1alpha1/zz_stormcluster_types.go @@ -0,0 +1,336 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type StormClusterComponentVersionObservation struct { +} + +type StormClusterComponentVersionParameters struct { + + // +kubebuilder:validation:Required + Storm *string `json:"storm" tf:"storm,omitempty"` +} + +type StormClusterGatewayObservation struct { +} + +type StormClusterGatewayParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type StormClusterMetastoresAmbariObservation struct { +} + +type StormClusterMetastoresAmbariParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type StormClusterMetastoresHiveObservation struct { +} + +type StormClusterMetastoresHiveParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type StormClusterMetastoresObservation struct { +} + +type StormClusterMetastoresOozieObservation struct { +} + +type StormClusterMetastoresOozieParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type StormClusterMetastoresParameters struct { + + // +kubebuilder:validation:Optional + Ambari []StormClusterMetastoresAmbariParameters `json:"ambari,omitempty" tf:"ambari,omitempty"` + + // +kubebuilder:validation:Optional + Hive []StormClusterMetastoresHiveParameters `json:"hive,omitempty" tf:"hive,omitempty"` + + // +kubebuilder:validation:Optional + Oozie []StormClusterMetastoresOozieParameters `json:"oozie,omitempty" tf:"oozie,omitempty"` +} + +type StormClusterMonitorObservation struct { +} + +type StormClusterMonitorParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryKeySecretRef v1.SecretKeySelector `json:"primaryKeySecretRef" tf:"-"` +} + +type StormClusterObservation struct { + HTTPSEndpoint *string `json:"httpsEndpoint,omitempty" tf:"https_endpoint,omitempty"` + + SSHEndpoint *string `json:"sshEndpoint,omitempty" tf:"ssh_endpoint,omitempty"` +} + +type StormClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterVersion *string `json:"clusterVersion" tf:"cluster_version,omitempty"` + + // +kubebuilder:validation:Required + ComponentVersion []StormClusterComponentVersionParameters `json:"componentVersion" tf:"component_version,omitempty"` + + // +kubebuilder:validation:Required + Gateway []StormClusterGatewayParameters `json:"gateway" tf:"gateway,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metastores []StormClusterMetastoresParameters `json:"metastores,omitempty" tf:"metastores,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []StormClusterMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Roles []StormClusterRolesParameters `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccount []StormClusterStorageAccountParameters `json:"storageAccount,omitempty" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + TLSMinVersion *string `json:"tlsMinVersion,omitempty" tf:"tls_min_version,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +type StormClusterRolesHeadNodeObservation struct { +} + +type StormClusterRolesHeadNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type StormClusterRolesObservation struct { +} + +type StormClusterRolesParameters struct { + + // +kubebuilder:validation:Required + HeadNode []StormClusterRolesHeadNodeParameters `json:"headNode" tf:"head_node,omitempty"` + + // +kubebuilder:validation:Required + WorkerNode []StormClusterRolesWorkerNodeParameters `json:"workerNode" tf:"worker_node,omitempty"` + + // +kubebuilder:validation:Required + ZookeeperNode []StormClusterRolesZookeeperNodeParameters `json:"zookeeperNode" tf:"zookeeper_node,omitempty"` +} + +type StormClusterRolesWorkerNodeObservation struct { +} + +type StormClusterRolesWorkerNodeParameters struct { + + // +kubebuilder:validation:Optional + MinInstanceCount *int64 `json:"minInstanceCount,omitempty" tf:"min_instance_count,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + TargetInstanceCount *int64 `json:"targetInstanceCount" tf:"target_instance_count,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type StormClusterRolesZookeeperNodeObservation struct { +} + +type StormClusterRolesZookeeperNodeParameters struct { + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SSHKeys []*string `json:"sshKeys,omitempty" tf:"ssh_keys,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkID *string `json:"virtualNetworkId,omitempty" tf:"virtual_network_id,omitempty"` +} + +type StormClusterStorageAccountObservation struct { +} + +type StormClusterStorageAccountParameters struct { + + // +kubebuilder:validation:Required + IsDefault *bool `json:"isDefault" tf:"is_default,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +// StormClusterSpec defines the desired state of StormCluster +type StormClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider StormClusterParameters `json:"forProvider"` +} + +// StormClusterStatus defines the observed state of StormCluster. +type StormClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider StormClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// StormCluster is the Schema for the StormClusters API +// +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,azurejet} +type StormCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec StormClusterSpec `json:"spec"` + Status StormClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// StormClusterList contains a list of StormClusters +type StormClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []StormCluster `json:"items"` +} + +// Repository type metadata. +var ( + StormCluster_Kind = "StormCluster" + StormCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: StormCluster_Kind}.String() + StormCluster_KindAPIVersion = StormCluster_Kind + "." + CRDGroupVersion.String() + StormCluster_GroupVersionKind = CRDGroupVersion.WithKind(StormCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&StormCluster{}, &StormClusterList{}) +} diff --git a/apis/healthcare/v1alpha1/zz_generated.deepcopy.go b/apis/healthcare/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..f841360ca --- /dev/null +++ b/apis/healthcare/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,341 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationConfigurationObservation) DeepCopyInto(out *AuthenticationConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfigurationObservation. +func (in *AuthenticationConfigurationObservation) DeepCopy() *AuthenticationConfigurationObservation { + if in == nil { + return nil + } + out := new(AuthenticationConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthenticationConfigurationParameters) DeepCopyInto(out *AuthenticationConfigurationParameters) { + *out = *in + if in.Audience != nil { + in, out := &in.Audience, &out.Audience + *out = new(string) + **out = **in + } + if in.Authority != nil { + in, out := &in.Authority, &out.Authority + *out = new(string) + **out = **in + } + if in.SmartProxyEnabled != nil { + in, out := &in.SmartProxyEnabled, &out.SmartProxyEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfigurationParameters. +func (in *AuthenticationConfigurationParameters) DeepCopy() *AuthenticationConfigurationParameters { + if in == nil { + return nil + } + out := new(AuthenticationConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsConfigurationObservation) DeepCopyInto(out *CorsConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsConfigurationObservation. +func (in *CorsConfigurationObservation) DeepCopy() *CorsConfigurationObservation { + if in == nil { + return nil + } + out := new(CorsConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsConfigurationParameters) DeepCopyInto(out *CorsConfigurationParameters) { + *out = *in + if in.AllowCredentials != nil { + in, out := &in.AllowCredentials, &out.AllowCredentials + *out = new(bool) + **out = **in + } + if in.AllowedHeaders != nil { + in, out := &in.AllowedHeaders, &out.AllowedHeaders + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedMethods != nil { + in, out := &in.AllowedMethods, &out.AllowedMethods + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MaxAgeInSeconds != nil { + in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsConfigurationParameters. +func (in *CorsConfigurationParameters) DeepCopy() *CorsConfigurationParameters { + if in == nil { + return nil + } + out := new(CorsConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Service) DeepCopyInto(out *Service) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { + return nil + } + out := new(Service) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceList) DeepCopyInto(out *ServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Service, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { + return nil + } + out := new(ServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation. +func (in *ServiceObservation) DeepCopy() *ServiceObservation { + if in == nil { + return nil + } + out := new(ServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { + *out = *in + if in.AccessPolicyObjectIds != nil { + in, out := &in.AccessPolicyObjectIds, &out.AccessPolicyObjectIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AuthenticationConfiguration != nil { + in, out := &in.AuthenticationConfiguration, &out.AuthenticationConfiguration + *out = make([]AuthenticationConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CorsConfiguration != nil { + in, out := &in.CorsConfiguration, &out.CorsConfiguration + *out = make([]CorsConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CosmosdbKeyVaultKeyVersionlessID != nil { + in, out := &in.CosmosdbKeyVaultKeyVersionlessID, &out.CosmosdbKeyVaultKeyVersionlessID + *out = new(string) + **out = **in + } + if in.CosmosdbThroughput != nil { + in, out := &in.CosmosdbThroughput, &out.CosmosdbThroughput + *out = new(int64) + **out = **in + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters. +func (in *ServiceParameters) DeepCopy() *ServiceParameters { + if in == nil { + return nil + } + out := new(ServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { + return nil + } + out := new(ServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { + return nil + } + out := new(ServiceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/healthcare/v1alpha1/zz_generated.managed.go b/apis/healthcare/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2660651d6 --- /dev/null +++ b/apis/healthcare/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Service. +func (mg *Service) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Service. +func (mg *Service) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Service. +func (mg *Service) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Service. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Service) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Service. +func (mg *Service) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Service. +func (mg *Service) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Service. +func (mg *Service) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Service. +func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Service. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Service) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Service. +func (mg *Service) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/healthcare/v1alpha1/zz_generated.managedlist.go b/apis/healthcare/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..8d822c98b --- /dev/null +++ b/apis/healthcare/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServiceList. +func (l *ServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/healthcare/v1alpha1/zz_groupversion_info.go b/apis/healthcare/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..038c791b2 --- /dev/null +++ b/apis/healthcare/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=healthcare.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "healthcare.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/healthcare/v1alpha1/zz_service_terraformed.go b/apis/healthcare/v1alpha1/zz_service_terraformed.go new file mode 100755 index 000000000..a822979b8 --- /dev/null +++ b/apis/healthcare/v1alpha1/zz_service_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Service +func (mg *Service) GetTerraformResourceType() string { + return "azurerm_healthcare_service" +} + +// GetConnectionDetailsMapping for this Service +func (tr *Service) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Service +func (tr *Service) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Service +func (tr *Service) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Service +func (tr *Service) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Service +func (tr *Service) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Service using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Service) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Service) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/healthcare/v1alpha1/zz_service_types.go b/apis/healthcare/v1alpha1/zz_service_types.go new file mode 100755 index 000000000..b00652401 --- /dev/null +++ b/apis/healthcare/v1alpha1/zz_service_types.go @@ -0,0 +1,150 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AuthenticationConfigurationObservation struct { +} + +type AuthenticationConfigurationParameters struct { + + // +kubebuilder:validation:Optional + Audience *string `json:"audience,omitempty" tf:"audience,omitempty"` + + // +kubebuilder:validation:Optional + Authority *string `json:"authority,omitempty" tf:"authority,omitempty"` + + // +kubebuilder:validation:Optional + SmartProxyEnabled *bool `json:"smartProxyEnabled,omitempty" tf:"smart_proxy_enabled,omitempty"` +} + +type CorsConfigurationObservation struct { +} + +type CorsConfigurationParameters struct { + + // +kubebuilder:validation:Optional + AllowCredentials *bool `json:"allowCredentials,omitempty" tf:"allow_credentials,omitempty"` + + // +kubebuilder:validation:Optional + AllowedHeaders []*string `json:"allowedHeaders,omitempty" tf:"allowed_headers,omitempty"` + + // +kubebuilder:validation:Optional + AllowedMethods []*string `json:"allowedMethods,omitempty" tf:"allowed_methods,omitempty"` + + // +kubebuilder:validation:Optional + AllowedOrigins []*string `json:"allowedOrigins,omitempty" tf:"allowed_origins,omitempty"` + + // +kubebuilder:validation:Optional + MaxAgeInSeconds *int64 `json:"maxAgeInSeconds,omitempty" tf:"max_age_in_seconds,omitempty"` +} + +type ServiceObservation struct { +} + +type ServiceParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicyObjectIds []*string `json:"accessPolicyObjectIds,omitempty" tf:"access_policy_object_ids,omitempty"` + + // +kubebuilder:validation:Optional + AuthenticationConfiguration []AuthenticationConfigurationParameters `json:"authenticationConfiguration,omitempty" tf:"authentication_configuration,omitempty"` + + // +kubebuilder:validation:Optional + CorsConfiguration []CorsConfigurationParameters `json:"corsConfiguration,omitempty" tf:"cors_configuration,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbKeyVaultKeyVersionlessID *string `json:"cosmosdbKeyVaultKeyVersionlessId,omitempty" tf:"cosmosdb_key_vault_key_versionless_id,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbThroughput *int64 `json:"cosmosdbThroughput,omitempty" tf:"cosmosdb_throughput,omitempty"` + + // +kubebuilder:validation:Optional + Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServiceSpec defines the desired state of Service +type ServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceParameters `json:"forProvider"` +} + +// ServiceStatus defines the observed state of Service. +type ServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Service is the Schema for the Services API +// +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,azurejet} +type Service struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSpec `json:"spec"` + Status ServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceList contains a list of Services +type ServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Service `json:"items"` +} + +// Repository type metadata. +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) +) + +func init() { + SchemeBuilder.Register(&Service{}, &ServiceList{}) +} diff --git a/apis/hpc/v1alpha1/zz_cache_terraformed.go b/apis/hpc/v1alpha1/zz_cache_terraformed.go new file mode 100755 index 000000000..235d7dbf5 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cache_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Cache +func (mg *Cache) GetTerraformResourceType() string { + return "azurerm_hpc_cache" +} + +// GetConnectionDetailsMapping for this Cache +func (tr *Cache) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"directory_active_directory[*].password": "spec.forProvider.directoryActiveDirectory[*].passwordSecretRef", "directory_ldap[*].bind[*].password": "spec.forProvider.directoryLdap[*].bind[*].passwordSecretRef"} +} + +// GetObservation of this Cache +func (tr *Cache) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Cache +func (tr *Cache) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Cache +func (tr *Cache) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Cache +func (tr *Cache) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Cache using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Cache) LateInitialize(attrs []byte) (bool, error) { + params := &CacheParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Cache) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hpc/v1alpha1/zz_cache_types.go b/apis/hpc/v1alpha1/zz_cache_types.go new file mode 100755 index 000000000..eeafabd7b --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cache_types.go @@ -0,0 +1,253 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccessRuleObservation struct { +} + +type AccessRuleParameters struct { + + // +kubebuilder:validation:Required + Access *string `json:"access" tf:"access,omitempty"` + + // +kubebuilder:validation:Optional + AnonymousGID *int64 `json:"anonymousGid,omitempty" tf:"anonymous_gid,omitempty"` + + // +kubebuilder:validation:Optional + AnonymousUID *int64 `json:"anonymousUid,omitempty" tf:"anonymous_uid,omitempty"` + + // +kubebuilder:validation:Optional + Filter *string `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Optional + RootSquashEnabled *bool `json:"rootSquashEnabled,omitempty" tf:"root_squash_enabled,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` + + // +kubebuilder:validation:Optional + SubmountAccessEnabled *bool `json:"submountAccessEnabled,omitempty" tf:"submount_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SuidEnabled *bool `json:"suidEnabled,omitempty" tf:"suid_enabled,omitempty"` +} + +type BindObservation struct { +} + +type BindParameters struct { + + // +kubebuilder:validation:Required + Dn *string `json:"dn" tf:"dn,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` +} + +type CacheObservation struct { + MountAddresses []*string `json:"mountAddresses,omitempty" tf:"mount_addresses,omitempty"` +} + +type CacheParameters struct { + + // +kubebuilder:validation:Required + CacheSizeInGb *int64 `json:"cacheSizeInGb" tf:"cache_size_in_gb,omitempty"` + + // +kubebuilder:validation:Optional + DNS []DNSParameters `json:"dns,omitempty" tf:"dns,omitempty"` + + // +kubebuilder:validation:Optional + DefaultAccessPolicy []DefaultAccessPolicyParameters `json:"defaultAccessPolicy,omitempty" tf:"default_access_policy,omitempty"` + + // +kubebuilder:validation:Optional + DirectoryActiveDirectory []DirectoryActiveDirectoryParameters `json:"directoryActiveDirectory,omitempty" tf:"directory_active_directory,omitempty"` + + // +kubebuilder:validation:Optional + DirectoryFlatFile []DirectoryFlatFileParameters `json:"directoryFlatFile,omitempty" tf:"directory_flat_file,omitempty"` + + // +kubebuilder:validation:Optional + DirectoryLdap []DirectoryLdapParameters `json:"directoryLdap,omitempty" tf:"directory_ldap,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Mtu *int64 `json:"mtu,omitempty" tf:"mtu,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NtpServer *string `json:"ntpServer,omitempty" tf:"ntp_server,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RootSquashEnabled *bool `json:"rootSquashEnabled,omitempty" tf:"root_squash_enabled,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type DNSObservation struct { +} + +type DNSParameters struct { + + // +kubebuilder:validation:Optional + SearchDomain *string `json:"searchDomain,omitempty" tf:"search_domain,omitempty"` + + // +kubebuilder:validation:Required + Servers []*string `json:"servers" tf:"servers,omitempty"` +} + +type DefaultAccessPolicyObservation struct { +} + +type DefaultAccessPolicyParameters struct { + + // +kubebuilder:validation:Required + AccessRule []AccessRuleParameters `json:"accessRule" tf:"access_rule,omitempty"` +} + +type DirectoryActiveDirectoryObservation struct { +} + +type DirectoryActiveDirectoryParameters struct { + + // +kubebuilder:validation:Required + CacheNetbiosName *string `json:"cacheNetbiosName" tf:"cache_netbios_name,omitempty"` + + // +kubebuilder:validation:Required + DNSPrimaryIP *string `json:"dnsPrimaryIp" tf:"dns_primary_ip,omitempty"` + + // +kubebuilder:validation:Optional + DNSSecondaryIP *string `json:"dnsSecondaryIp,omitempty" tf:"dns_secondary_ip,omitempty"` + + // +kubebuilder:validation:Required + DomainName *string `json:"domainName" tf:"domain_name,omitempty"` + + // +kubebuilder:validation:Required + DomainNetbiosName *string `json:"domainNetbiosName" tf:"domain_netbios_name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type DirectoryFlatFileObservation struct { +} + +type DirectoryFlatFileParameters struct { + + // +kubebuilder:validation:Required + GroupFileURI *string `json:"groupFileUri" tf:"group_file_uri,omitempty"` + + // +kubebuilder:validation:Required + PasswordFileURI *string `json:"passwordFileUri" tf:"password_file_uri,omitempty"` +} + +type DirectoryLdapObservation struct { +} + +type DirectoryLdapParameters struct { + + // +kubebuilder:validation:Required + BaseDn *string `json:"baseDn" tf:"base_dn,omitempty"` + + // +kubebuilder:validation:Optional + Bind []BindParameters `json:"bind,omitempty" tf:"bind,omitempty"` + + // +kubebuilder:validation:Optional + CertificateValidationURI *string `json:"certificateValidationUri,omitempty" tf:"certificate_validation_uri,omitempty"` + + // +kubebuilder:validation:Optional + DownloadCertificateAutomatically *bool `json:"downloadCertificateAutomatically,omitempty" tf:"download_certificate_automatically,omitempty"` + + // +kubebuilder:validation:Optional + Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` +} + +// CacheSpec defines the desired state of Cache +type CacheSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CacheParameters `json:"forProvider"` +} + +// CacheStatus defines the observed state of Cache. +type CacheStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CacheObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Cache is the Schema for the Caches API +// +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,azurejet} +type Cache struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CacheSpec `json:"spec"` + Status CacheStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheList contains a list of Caches +type CacheList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Cache `json:"items"` +} + +// Repository type metadata. +var ( + Cache_Kind = "Cache" + Cache_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cache_Kind}.String() + Cache_KindAPIVersion = Cache_Kind + "." + CRDGroupVersion.String() + Cache_GroupVersionKind = CRDGroupVersion.WithKind(Cache_Kind) +) + +func init() { + SchemeBuilder.Register(&Cache{}, &CacheList{}) +} diff --git a/apis/hpc/v1alpha1/zz_cacheaccesspolicy_terraformed.go b/apis/hpc/v1alpha1/zz_cacheaccesspolicy_terraformed.go new file mode 100755 index 000000000..aa03601f5 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cacheaccesspolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CacheAccessPolicy +func (mg *CacheAccessPolicy) GetTerraformResourceType() string { + return "azurerm_hpc_cache_access_policy" +} + +// GetConnectionDetailsMapping for this CacheAccessPolicy +func (tr *CacheAccessPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CacheAccessPolicy +func (tr *CacheAccessPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CacheAccessPolicy +func (tr *CacheAccessPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CacheAccessPolicy +func (tr *CacheAccessPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CacheAccessPolicy +func (tr *CacheAccessPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CacheAccessPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CacheAccessPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &CacheAccessPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CacheAccessPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hpc/v1alpha1/zz_cacheaccesspolicy_types.go b/apis/hpc/v1alpha1/zz_cacheaccesspolicy_types.go new file mode 100755 index 000000000..40f853dc5 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cacheaccesspolicy_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CacheAccessPolicyAccessRuleObservation struct { +} + +type CacheAccessPolicyAccessRuleParameters struct { + + // +kubebuilder:validation:Required + Access *string `json:"access" tf:"access,omitempty"` + + // +kubebuilder:validation:Optional + AnonymousGID *int64 `json:"anonymousGid,omitempty" tf:"anonymous_gid,omitempty"` + + // +kubebuilder:validation:Optional + AnonymousUID *int64 `json:"anonymousUid,omitempty" tf:"anonymous_uid,omitempty"` + + // +kubebuilder:validation:Optional + Filter *string `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Optional + RootSquashEnabled *bool `json:"rootSquashEnabled,omitempty" tf:"root_squash_enabled,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` + + // +kubebuilder:validation:Optional + SubmountAccessEnabled *bool `json:"submountAccessEnabled,omitempty" tf:"submount_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SuidEnabled *bool `json:"suidEnabled,omitempty" tf:"suid_enabled,omitempty"` +} + +type CacheAccessPolicyObservation struct { +} + +type CacheAccessPolicyParameters struct { + + // +kubebuilder:validation:Required + AccessRule []CacheAccessPolicyAccessRuleParameters `json:"accessRule" tf:"access_rule,omitempty"` + + // +kubebuilder:validation:Required + HpcCacheID *string `json:"hpcCacheId" tf:"hpc_cache_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// CacheAccessPolicySpec defines the desired state of CacheAccessPolicy +type CacheAccessPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CacheAccessPolicyParameters `json:"forProvider"` +} + +// CacheAccessPolicyStatus defines the observed state of CacheAccessPolicy. +type CacheAccessPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CacheAccessPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheAccessPolicy is the Schema for the CacheAccessPolicys API +// +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,azurejet} +type CacheAccessPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CacheAccessPolicySpec `json:"spec"` + Status CacheAccessPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheAccessPolicyList contains a list of CacheAccessPolicys +type CacheAccessPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CacheAccessPolicy `json:"items"` +} + +// Repository type metadata. +var ( + CacheAccessPolicy_Kind = "CacheAccessPolicy" + CacheAccessPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CacheAccessPolicy_Kind}.String() + CacheAccessPolicy_KindAPIVersion = CacheAccessPolicy_Kind + "." + CRDGroupVersion.String() + CacheAccessPolicy_GroupVersionKind = CRDGroupVersion.WithKind(CacheAccessPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&CacheAccessPolicy{}, &CacheAccessPolicyList{}) +} diff --git a/apis/hpc/v1alpha1/zz_cacheblobnfstarget_terraformed.go b/apis/hpc/v1alpha1/zz_cacheblobnfstarget_terraformed.go new file mode 100755 index 000000000..68d4ea597 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cacheblobnfstarget_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CacheBlobNfsTarget +func (mg *CacheBlobNfsTarget) GetTerraformResourceType() string { + return "azurerm_hpc_cache_blob_nfs_target" +} + +// GetConnectionDetailsMapping for this CacheBlobNfsTarget +func (tr *CacheBlobNfsTarget) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CacheBlobNfsTarget +func (tr *CacheBlobNfsTarget) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CacheBlobNfsTarget +func (tr *CacheBlobNfsTarget) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CacheBlobNfsTarget +func (tr *CacheBlobNfsTarget) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CacheBlobNfsTarget +func (tr *CacheBlobNfsTarget) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CacheBlobNfsTarget using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CacheBlobNfsTarget) LateInitialize(attrs []byte) (bool, error) { + params := &CacheBlobNfsTargetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CacheBlobNfsTarget) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hpc/v1alpha1/zz_cacheblobnfstarget_types.go b/apis/hpc/v1alpha1/zz_cacheblobnfstarget_types.go new file mode 100755 index 000000000..1d9e49154 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cacheblobnfstarget_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CacheBlobNfsTargetObservation struct { +} + +type CacheBlobNfsTargetParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicyName *string `json:"accessPolicyName,omitempty" tf:"access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + CacheName *string `json:"cacheName" tf:"cache_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespacePath *string `json:"namespacePath" tf:"namespace_path,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` + + // +kubebuilder:validation:Required + UsageModel *string `json:"usageModel" tf:"usage_model,omitempty"` +} + +// CacheBlobNfsTargetSpec defines the desired state of CacheBlobNfsTarget +type CacheBlobNfsTargetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CacheBlobNfsTargetParameters `json:"forProvider"` +} + +// CacheBlobNfsTargetStatus defines the observed state of CacheBlobNfsTarget. +type CacheBlobNfsTargetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CacheBlobNfsTargetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheBlobNfsTarget is the Schema for the CacheBlobNfsTargets API +// +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,azurejet} +type CacheBlobNfsTarget struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CacheBlobNfsTargetSpec `json:"spec"` + Status CacheBlobNfsTargetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheBlobNfsTargetList contains a list of CacheBlobNfsTargets +type CacheBlobNfsTargetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CacheBlobNfsTarget `json:"items"` +} + +// Repository type metadata. +var ( + CacheBlobNfsTarget_Kind = "CacheBlobNfsTarget" + CacheBlobNfsTarget_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CacheBlobNfsTarget_Kind}.String() + CacheBlobNfsTarget_KindAPIVersion = CacheBlobNfsTarget_Kind + "." + CRDGroupVersion.String() + CacheBlobNfsTarget_GroupVersionKind = CRDGroupVersion.WithKind(CacheBlobNfsTarget_Kind) +) + +func init() { + SchemeBuilder.Register(&CacheBlobNfsTarget{}, &CacheBlobNfsTargetList{}) +} diff --git a/apis/hpc/v1alpha1/zz_cacheblobtarget_terraformed.go b/apis/hpc/v1alpha1/zz_cacheblobtarget_terraformed.go new file mode 100755 index 000000000..f9bc451e9 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cacheblobtarget_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CacheBlobTarget +func (mg *CacheBlobTarget) GetTerraformResourceType() string { + return "azurerm_hpc_cache_blob_target" +} + +// GetConnectionDetailsMapping for this CacheBlobTarget +func (tr *CacheBlobTarget) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CacheBlobTarget +func (tr *CacheBlobTarget) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CacheBlobTarget +func (tr *CacheBlobTarget) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CacheBlobTarget +func (tr *CacheBlobTarget) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CacheBlobTarget +func (tr *CacheBlobTarget) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CacheBlobTarget using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CacheBlobTarget) LateInitialize(attrs []byte) (bool, error) { + params := &CacheBlobTargetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CacheBlobTarget) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hpc/v1alpha1/zz_cacheblobtarget_types.go b/apis/hpc/v1alpha1/zz_cacheblobtarget_types.go new file mode 100755 index 000000000..53a5033e8 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cacheblobtarget_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CacheBlobTargetObservation struct { +} + +type CacheBlobTargetParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicyName *string `json:"accessPolicyName,omitempty" tf:"access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + CacheName *string `json:"cacheName" tf:"cache_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespacePath *string `json:"namespacePath" tf:"namespace_path,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageContainerID *string `json:"storageContainerId" tf:"storage_container_id,omitempty"` +} + +// CacheBlobTargetSpec defines the desired state of CacheBlobTarget +type CacheBlobTargetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CacheBlobTargetParameters `json:"forProvider"` +} + +// CacheBlobTargetStatus defines the observed state of CacheBlobTarget. +type CacheBlobTargetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CacheBlobTargetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheBlobTarget is the Schema for the CacheBlobTargets API +// +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,azurejet} +type CacheBlobTarget struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CacheBlobTargetSpec `json:"spec"` + Status CacheBlobTargetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheBlobTargetList contains a list of CacheBlobTargets +type CacheBlobTargetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CacheBlobTarget `json:"items"` +} + +// Repository type metadata. +var ( + CacheBlobTarget_Kind = "CacheBlobTarget" + CacheBlobTarget_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CacheBlobTarget_Kind}.String() + CacheBlobTarget_KindAPIVersion = CacheBlobTarget_Kind + "." + CRDGroupVersion.String() + CacheBlobTarget_GroupVersionKind = CRDGroupVersion.WithKind(CacheBlobTarget_Kind) +) + +func init() { + SchemeBuilder.Register(&CacheBlobTarget{}, &CacheBlobTargetList{}) +} diff --git a/apis/hpc/v1alpha1/zz_cachenfstarget_terraformed.go b/apis/hpc/v1alpha1/zz_cachenfstarget_terraformed.go new file mode 100755 index 000000000..f46f6cfa7 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cachenfstarget_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CacheNfsTarget +func (mg *CacheNfsTarget) GetTerraformResourceType() string { + return "azurerm_hpc_cache_nfs_target" +} + +// GetConnectionDetailsMapping for this CacheNfsTarget +func (tr *CacheNfsTarget) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CacheNfsTarget +func (tr *CacheNfsTarget) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CacheNfsTarget +func (tr *CacheNfsTarget) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CacheNfsTarget +func (tr *CacheNfsTarget) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CacheNfsTarget +func (tr *CacheNfsTarget) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CacheNfsTarget using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CacheNfsTarget) LateInitialize(attrs []byte) (bool, error) { + params := &CacheNfsTargetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CacheNfsTarget) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/hpc/v1alpha1/zz_cachenfstarget_types.go b/apis/hpc/v1alpha1/zz_cachenfstarget_types.go new file mode 100755 index 000000000..32f958337 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_cachenfstarget_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CacheNfsTargetObservation struct { +} + +type CacheNfsTargetParameters struct { + + // +kubebuilder:validation:Required + CacheName *string `json:"cacheName" tf:"cache_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceJunction []NamespaceJunctionParameters `json:"namespaceJunction" tf:"namespace_junction,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TargetHostName *string `json:"targetHostName" tf:"target_host_name,omitempty"` + + // +kubebuilder:validation:Required + UsageModel *string `json:"usageModel" tf:"usage_model,omitempty"` +} + +type NamespaceJunctionObservation struct { +} + +type NamespaceJunctionParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicyName *string `json:"accessPolicyName,omitempty" tf:"access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + NamespacePath *string `json:"namespacePath" tf:"namespace_path,omitempty"` + + // +kubebuilder:validation:Required + NfsExport *string `json:"nfsExport" tf:"nfs_export,omitempty"` + + // +kubebuilder:validation:Optional + TargetPath *string `json:"targetPath,omitempty" tf:"target_path,omitempty"` +} + +// CacheNfsTargetSpec defines the desired state of CacheNfsTarget +type CacheNfsTargetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CacheNfsTargetParameters `json:"forProvider"` +} + +// CacheNfsTargetStatus defines the observed state of CacheNfsTarget. +type CacheNfsTargetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CacheNfsTargetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheNfsTarget is the Schema for the CacheNfsTargets API +// +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,azurejet} +type CacheNfsTarget struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CacheNfsTargetSpec `json:"spec"` + Status CacheNfsTargetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheNfsTargetList contains a list of CacheNfsTargets +type CacheNfsTargetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CacheNfsTarget `json:"items"` +} + +// Repository type metadata. +var ( + CacheNfsTarget_Kind = "CacheNfsTarget" + CacheNfsTarget_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CacheNfsTarget_Kind}.String() + CacheNfsTarget_KindAPIVersion = CacheNfsTarget_Kind + "." + CRDGroupVersion.String() + CacheNfsTarget_GroupVersionKind = CRDGroupVersion.WithKind(CacheNfsTarget_Kind) +) + +func init() { + SchemeBuilder.Register(&CacheNfsTarget{}, &CacheNfsTargetList{}) +} diff --git a/apis/hpc/v1alpha1/zz_generated.deepcopy.go b/apis/hpc/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..d67da54cf --- /dev/null +++ b/apis/hpc/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1332 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessRuleObservation) DeepCopyInto(out *AccessRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRuleObservation. +func (in *AccessRuleObservation) DeepCopy() *AccessRuleObservation { + if in == nil { + return nil + } + out := new(AccessRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessRuleParameters) DeepCopyInto(out *AccessRuleParameters) { + *out = *in + if in.Access != nil { + in, out := &in.Access, &out.Access + *out = new(string) + **out = **in + } + if in.AnonymousGID != nil { + in, out := &in.AnonymousGID, &out.AnonymousGID + *out = new(int64) + **out = **in + } + if in.AnonymousUID != nil { + in, out := &in.AnonymousUID, &out.AnonymousUID + *out = new(int64) + **out = **in + } + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = new(string) + **out = **in + } + if in.RootSquashEnabled != nil { + in, out := &in.RootSquashEnabled, &out.RootSquashEnabled + *out = new(bool) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.SubmountAccessEnabled != nil { + in, out := &in.SubmountAccessEnabled, &out.SubmountAccessEnabled + *out = new(bool) + **out = **in + } + if in.SuidEnabled != nil { + in, out := &in.SuidEnabled, &out.SuidEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRuleParameters. +func (in *AccessRuleParameters) DeepCopy() *AccessRuleParameters { + if in == nil { + return nil + } + out := new(AccessRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BindObservation) DeepCopyInto(out *BindObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindObservation. +func (in *BindObservation) DeepCopy() *BindObservation { + if in == nil { + return nil + } + out := new(BindObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BindParameters) DeepCopyInto(out *BindParameters) { + *out = *in + if in.Dn != nil { + in, out := &in.Dn, &out.Dn + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindParameters. +func (in *BindParameters) DeepCopy() *BindParameters { + if in == nil { + return nil + } + out := new(BindParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Cache) DeepCopyInto(out *Cache) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cache. +func (in *Cache) DeepCopy() *Cache { + if in == nil { + return nil + } + out := new(Cache) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Cache) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicy) DeepCopyInto(out *CacheAccessPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicy. +func (in *CacheAccessPolicy) DeepCopy() *CacheAccessPolicy { + if in == nil { + return nil + } + out := new(CacheAccessPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheAccessPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicyAccessRuleObservation) DeepCopyInto(out *CacheAccessPolicyAccessRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicyAccessRuleObservation. +func (in *CacheAccessPolicyAccessRuleObservation) DeepCopy() *CacheAccessPolicyAccessRuleObservation { + if in == nil { + return nil + } + out := new(CacheAccessPolicyAccessRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicyAccessRuleParameters) DeepCopyInto(out *CacheAccessPolicyAccessRuleParameters) { + *out = *in + if in.Access != nil { + in, out := &in.Access, &out.Access + *out = new(string) + **out = **in + } + if in.AnonymousGID != nil { + in, out := &in.AnonymousGID, &out.AnonymousGID + *out = new(int64) + **out = **in + } + if in.AnonymousUID != nil { + in, out := &in.AnonymousUID, &out.AnonymousUID + *out = new(int64) + **out = **in + } + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = new(string) + **out = **in + } + if in.RootSquashEnabled != nil { + in, out := &in.RootSquashEnabled, &out.RootSquashEnabled + *out = new(bool) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.SubmountAccessEnabled != nil { + in, out := &in.SubmountAccessEnabled, &out.SubmountAccessEnabled + *out = new(bool) + **out = **in + } + if in.SuidEnabled != nil { + in, out := &in.SuidEnabled, &out.SuidEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicyAccessRuleParameters. +func (in *CacheAccessPolicyAccessRuleParameters) DeepCopy() *CacheAccessPolicyAccessRuleParameters { + if in == nil { + return nil + } + out := new(CacheAccessPolicyAccessRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicyList) DeepCopyInto(out *CacheAccessPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CacheAccessPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicyList. +func (in *CacheAccessPolicyList) DeepCopy() *CacheAccessPolicyList { + if in == nil { + return nil + } + out := new(CacheAccessPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheAccessPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicyObservation) DeepCopyInto(out *CacheAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicyObservation. +func (in *CacheAccessPolicyObservation) DeepCopy() *CacheAccessPolicyObservation { + if in == nil { + return nil + } + out := new(CacheAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicyParameters) DeepCopyInto(out *CacheAccessPolicyParameters) { + *out = *in + if in.AccessRule != nil { + in, out := &in.AccessRule, &out.AccessRule + *out = make([]CacheAccessPolicyAccessRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HpcCacheID != nil { + in, out := &in.HpcCacheID, &out.HpcCacheID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicyParameters. +func (in *CacheAccessPolicyParameters) DeepCopy() *CacheAccessPolicyParameters { + if in == nil { + return nil + } + out := new(CacheAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicySpec) DeepCopyInto(out *CacheAccessPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicySpec. +func (in *CacheAccessPolicySpec) DeepCopy() *CacheAccessPolicySpec { + if in == nil { + return nil + } + out := new(CacheAccessPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheAccessPolicyStatus) DeepCopyInto(out *CacheAccessPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheAccessPolicyStatus. +func (in *CacheAccessPolicyStatus) DeepCopy() *CacheAccessPolicyStatus { + if in == nil { + return nil + } + out := new(CacheAccessPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobNfsTarget) DeepCopyInto(out *CacheBlobNfsTarget) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobNfsTarget. +func (in *CacheBlobNfsTarget) DeepCopy() *CacheBlobNfsTarget { + if in == nil { + return nil + } + out := new(CacheBlobNfsTarget) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheBlobNfsTarget) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobNfsTargetList) DeepCopyInto(out *CacheBlobNfsTargetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CacheBlobNfsTarget, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobNfsTargetList. +func (in *CacheBlobNfsTargetList) DeepCopy() *CacheBlobNfsTargetList { + if in == nil { + return nil + } + out := new(CacheBlobNfsTargetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheBlobNfsTargetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobNfsTargetObservation) DeepCopyInto(out *CacheBlobNfsTargetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobNfsTargetObservation. +func (in *CacheBlobNfsTargetObservation) DeepCopy() *CacheBlobNfsTargetObservation { + if in == nil { + return nil + } + out := new(CacheBlobNfsTargetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobNfsTargetParameters) DeepCopyInto(out *CacheBlobNfsTargetParameters) { + *out = *in + if in.AccessPolicyName != nil { + in, out := &in.AccessPolicyName, &out.AccessPolicyName + *out = new(string) + **out = **in + } + if in.CacheName != nil { + in, out := &in.CacheName, &out.CacheName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespacePath != nil { + in, out := &in.NamespacePath, &out.NamespacePath + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } + if in.UsageModel != nil { + in, out := &in.UsageModel, &out.UsageModel + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobNfsTargetParameters. +func (in *CacheBlobNfsTargetParameters) DeepCopy() *CacheBlobNfsTargetParameters { + if in == nil { + return nil + } + out := new(CacheBlobNfsTargetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobNfsTargetSpec) DeepCopyInto(out *CacheBlobNfsTargetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobNfsTargetSpec. +func (in *CacheBlobNfsTargetSpec) DeepCopy() *CacheBlobNfsTargetSpec { + if in == nil { + return nil + } + out := new(CacheBlobNfsTargetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobNfsTargetStatus) DeepCopyInto(out *CacheBlobNfsTargetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobNfsTargetStatus. +func (in *CacheBlobNfsTargetStatus) DeepCopy() *CacheBlobNfsTargetStatus { + if in == nil { + return nil + } + out := new(CacheBlobNfsTargetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobTarget) DeepCopyInto(out *CacheBlobTarget) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobTarget. +func (in *CacheBlobTarget) DeepCopy() *CacheBlobTarget { + if in == nil { + return nil + } + out := new(CacheBlobTarget) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheBlobTarget) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobTargetList) DeepCopyInto(out *CacheBlobTargetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CacheBlobTarget, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobTargetList. +func (in *CacheBlobTargetList) DeepCopy() *CacheBlobTargetList { + if in == nil { + return nil + } + out := new(CacheBlobTargetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheBlobTargetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobTargetObservation) DeepCopyInto(out *CacheBlobTargetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobTargetObservation. +func (in *CacheBlobTargetObservation) DeepCopy() *CacheBlobTargetObservation { + if in == nil { + return nil + } + out := new(CacheBlobTargetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobTargetParameters) DeepCopyInto(out *CacheBlobTargetParameters) { + *out = *in + if in.AccessPolicyName != nil { + in, out := &in.AccessPolicyName, &out.AccessPolicyName + *out = new(string) + **out = **in + } + if in.CacheName != nil { + in, out := &in.CacheName, &out.CacheName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespacePath != nil { + in, out := &in.NamespacePath, &out.NamespacePath + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageContainerID != nil { + in, out := &in.StorageContainerID, &out.StorageContainerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobTargetParameters. +func (in *CacheBlobTargetParameters) DeepCopy() *CacheBlobTargetParameters { + if in == nil { + return nil + } + out := new(CacheBlobTargetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobTargetSpec) DeepCopyInto(out *CacheBlobTargetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobTargetSpec. +func (in *CacheBlobTargetSpec) DeepCopy() *CacheBlobTargetSpec { + if in == nil { + return nil + } + out := new(CacheBlobTargetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheBlobTargetStatus) DeepCopyInto(out *CacheBlobTargetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheBlobTargetStatus. +func (in *CacheBlobTargetStatus) DeepCopy() *CacheBlobTargetStatus { + if in == nil { + return nil + } + out := new(CacheBlobTargetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheList) DeepCopyInto(out *CacheList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Cache, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheList. +func (in *CacheList) DeepCopy() *CacheList { + if in == nil { + return nil + } + out := new(CacheList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheNfsTarget) DeepCopyInto(out *CacheNfsTarget) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheNfsTarget. +func (in *CacheNfsTarget) DeepCopy() *CacheNfsTarget { + if in == nil { + return nil + } + out := new(CacheNfsTarget) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheNfsTarget) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheNfsTargetList) DeepCopyInto(out *CacheNfsTargetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CacheNfsTarget, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheNfsTargetList. +func (in *CacheNfsTargetList) DeepCopy() *CacheNfsTargetList { + if in == nil { + return nil + } + out := new(CacheNfsTargetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheNfsTargetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheNfsTargetObservation) DeepCopyInto(out *CacheNfsTargetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheNfsTargetObservation. +func (in *CacheNfsTargetObservation) DeepCopy() *CacheNfsTargetObservation { + if in == nil { + return nil + } + out := new(CacheNfsTargetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheNfsTargetParameters) DeepCopyInto(out *CacheNfsTargetParameters) { + *out = *in + if in.CacheName != nil { + in, out := &in.CacheName, &out.CacheName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceJunction != nil { + in, out := &in.NamespaceJunction, &out.NamespaceJunction + *out = make([]NamespaceJunctionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TargetHostName != nil { + in, out := &in.TargetHostName, &out.TargetHostName + *out = new(string) + **out = **in + } + if in.UsageModel != nil { + in, out := &in.UsageModel, &out.UsageModel + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheNfsTargetParameters. +func (in *CacheNfsTargetParameters) DeepCopy() *CacheNfsTargetParameters { + if in == nil { + return nil + } + out := new(CacheNfsTargetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheNfsTargetSpec) DeepCopyInto(out *CacheNfsTargetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheNfsTargetSpec. +func (in *CacheNfsTargetSpec) DeepCopy() *CacheNfsTargetSpec { + if in == nil { + return nil + } + out := new(CacheNfsTargetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheNfsTargetStatus) DeepCopyInto(out *CacheNfsTargetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheNfsTargetStatus. +func (in *CacheNfsTargetStatus) DeepCopy() *CacheNfsTargetStatus { + if in == nil { + return nil + } + out := new(CacheNfsTargetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheObservation) DeepCopyInto(out *CacheObservation) { + *out = *in + if in.MountAddresses != nil { + in, out := &in.MountAddresses, &out.MountAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheObservation. +func (in *CacheObservation) DeepCopy() *CacheObservation { + if in == nil { + return nil + } + out := new(CacheObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheParameters) DeepCopyInto(out *CacheParameters) { + *out = *in + if in.CacheSizeInGb != nil { + in, out := &in.CacheSizeInGb, &out.CacheSizeInGb + *out = new(int64) + **out = **in + } + if in.DNS != nil { + in, out := &in.DNS, &out.DNS + *out = make([]DNSParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultAccessPolicy != nil { + in, out := &in.DefaultAccessPolicy, &out.DefaultAccessPolicy + *out = make([]DefaultAccessPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DirectoryActiveDirectory != nil { + in, out := &in.DirectoryActiveDirectory, &out.DirectoryActiveDirectory + *out = make([]DirectoryActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DirectoryFlatFile != nil { + in, out := &in.DirectoryFlatFile, &out.DirectoryFlatFile + *out = make([]DirectoryFlatFileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DirectoryLdap != nil { + in, out := &in.DirectoryLdap, &out.DirectoryLdap + *out = make([]DirectoryLdapParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Mtu != nil { + in, out := &in.Mtu, &out.Mtu + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NtpServer != nil { + in, out := &in.NtpServer, &out.NtpServer + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RootSquashEnabled != nil { + in, out := &in.RootSquashEnabled, &out.RootSquashEnabled + *out = new(bool) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheParameters. +func (in *CacheParameters) DeepCopy() *CacheParameters { + if in == nil { + return nil + } + out := new(CacheParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheSpec) DeepCopyInto(out *CacheSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheSpec. +func (in *CacheSpec) DeepCopy() *CacheSpec { + if in == nil { + return nil + } + out := new(CacheSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheStatus) DeepCopyInto(out *CacheStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheStatus. +func (in *CacheStatus) DeepCopy() *CacheStatus { + if in == nil { + return nil + } + out := new(CacheStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSObservation) DeepCopyInto(out *DNSObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSObservation. +func (in *DNSObservation) DeepCopy() *DNSObservation { + if in == nil { + return nil + } + out := new(DNSObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSParameters) DeepCopyInto(out *DNSParameters) { + *out = *in + if in.SearchDomain != nil { + in, out := &in.SearchDomain, &out.SearchDomain + *out = new(string) + **out = **in + } + if in.Servers != nil { + in, out := &in.Servers, &out.Servers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSParameters. +func (in *DNSParameters) DeepCopy() *DNSParameters { + if in == nil { + return nil + } + out := new(DNSParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultAccessPolicyObservation) DeepCopyInto(out *DefaultAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultAccessPolicyObservation. +func (in *DefaultAccessPolicyObservation) DeepCopy() *DefaultAccessPolicyObservation { + if in == nil { + return nil + } + out := new(DefaultAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultAccessPolicyParameters) DeepCopyInto(out *DefaultAccessPolicyParameters) { + *out = *in + if in.AccessRule != nil { + in, out := &in.AccessRule, &out.AccessRule + *out = make([]AccessRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultAccessPolicyParameters. +func (in *DefaultAccessPolicyParameters) DeepCopy() *DefaultAccessPolicyParameters { + if in == nil { + return nil + } + out := new(DefaultAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryActiveDirectoryObservation) DeepCopyInto(out *DirectoryActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryActiveDirectoryObservation. +func (in *DirectoryActiveDirectoryObservation) DeepCopy() *DirectoryActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(DirectoryActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryActiveDirectoryParameters) DeepCopyInto(out *DirectoryActiveDirectoryParameters) { + *out = *in + if in.CacheNetbiosName != nil { + in, out := &in.CacheNetbiosName, &out.CacheNetbiosName + *out = new(string) + **out = **in + } + if in.DNSPrimaryIP != nil { + in, out := &in.DNSPrimaryIP, &out.DNSPrimaryIP + *out = new(string) + **out = **in + } + if in.DNSSecondaryIP != nil { + in, out := &in.DNSSecondaryIP, &out.DNSSecondaryIP + *out = new(string) + **out = **in + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainNetbiosName != nil { + in, out := &in.DomainNetbiosName, &out.DomainNetbiosName + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryActiveDirectoryParameters. +func (in *DirectoryActiveDirectoryParameters) DeepCopy() *DirectoryActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(DirectoryActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryFlatFileObservation) DeepCopyInto(out *DirectoryFlatFileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryFlatFileObservation. +func (in *DirectoryFlatFileObservation) DeepCopy() *DirectoryFlatFileObservation { + if in == nil { + return nil + } + out := new(DirectoryFlatFileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryFlatFileParameters) DeepCopyInto(out *DirectoryFlatFileParameters) { + *out = *in + if in.GroupFileURI != nil { + in, out := &in.GroupFileURI, &out.GroupFileURI + *out = new(string) + **out = **in + } + if in.PasswordFileURI != nil { + in, out := &in.PasswordFileURI, &out.PasswordFileURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryFlatFileParameters. +func (in *DirectoryFlatFileParameters) DeepCopy() *DirectoryFlatFileParameters { + if in == nil { + return nil + } + out := new(DirectoryFlatFileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryLdapObservation) DeepCopyInto(out *DirectoryLdapObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryLdapObservation. +func (in *DirectoryLdapObservation) DeepCopy() *DirectoryLdapObservation { + if in == nil { + return nil + } + out := new(DirectoryLdapObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DirectoryLdapParameters) DeepCopyInto(out *DirectoryLdapParameters) { + *out = *in + if in.BaseDn != nil { + in, out := &in.BaseDn, &out.BaseDn + *out = new(string) + **out = **in + } + if in.Bind != nil { + in, out := &in.Bind, &out.Bind + *out = make([]BindParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CertificateValidationURI != nil { + in, out := &in.CertificateValidationURI, &out.CertificateValidationURI + *out = new(string) + **out = **in + } + if in.DownloadCertificateAutomatically != nil { + in, out := &in.DownloadCertificateAutomatically, &out.DownloadCertificateAutomatically + *out = new(bool) + **out = **in + } + if in.Encrypted != nil { + in, out := &in.Encrypted, &out.Encrypted + *out = new(bool) + **out = **in + } + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DirectoryLdapParameters. +func (in *DirectoryLdapParameters) DeepCopy() *DirectoryLdapParameters { + if in == nil { + return nil + } + out := new(DirectoryLdapParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceJunctionObservation) DeepCopyInto(out *NamespaceJunctionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceJunctionObservation. +func (in *NamespaceJunctionObservation) DeepCopy() *NamespaceJunctionObservation { + if in == nil { + return nil + } + out := new(NamespaceJunctionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceJunctionParameters) DeepCopyInto(out *NamespaceJunctionParameters) { + *out = *in + if in.AccessPolicyName != nil { + in, out := &in.AccessPolicyName, &out.AccessPolicyName + *out = new(string) + **out = **in + } + if in.NamespacePath != nil { + in, out := &in.NamespacePath, &out.NamespacePath + *out = new(string) + **out = **in + } + if in.NfsExport != nil { + in, out := &in.NfsExport, &out.NfsExport + *out = new(string) + **out = **in + } + if in.TargetPath != nil { + in, out := &in.TargetPath, &out.TargetPath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceJunctionParameters. +func (in *NamespaceJunctionParameters) DeepCopy() *NamespaceJunctionParameters { + if in == nil { + return nil + } + out := new(NamespaceJunctionParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/hpc/v1alpha1/zz_generated.managed.go b/apis/hpc/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e55618906 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Cache. +func (mg *Cache) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Cache. +func (mg *Cache) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Cache. +func (mg *Cache) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Cache. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Cache) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Cache. +func (mg *Cache) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Cache. +func (mg *Cache) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Cache. +func (mg *Cache) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Cache. +func (mg *Cache) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Cache. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Cache) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Cache. +func (mg *Cache) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CacheAccessPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CacheAccessPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CacheAccessPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CacheAccessPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CacheAccessPolicy. +func (mg *CacheAccessPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CacheBlobNfsTarget. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CacheBlobNfsTarget) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CacheBlobNfsTarget. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CacheBlobNfsTarget) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CacheBlobNfsTarget. +func (mg *CacheBlobNfsTarget) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CacheBlobTarget. +func (mg *CacheBlobTarget) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CacheBlobTarget. +func (mg *CacheBlobTarget) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CacheBlobTarget. +func (mg *CacheBlobTarget) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CacheBlobTarget. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CacheBlobTarget) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CacheBlobTarget. +func (mg *CacheBlobTarget) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CacheBlobTarget. +func (mg *CacheBlobTarget) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CacheBlobTarget. +func (mg *CacheBlobTarget) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CacheBlobTarget. +func (mg *CacheBlobTarget) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CacheBlobTarget. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CacheBlobTarget) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CacheBlobTarget. +func (mg *CacheBlobTarget) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CacheNfsTarget. +func (mg *CacheNfsTarget) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CacheNfsTarget. +func (mg *CacheNfsTarget) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CacheNfsTarget. +func (mg *CacheNfsTarget) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CacheNfsTarget. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CacheNfsTarget) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CacheNfsTarget. +func (mg *CacheNfsTarget) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CacheNfsTarget. +func (mg *CacheNfsTarget) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CacheNfsTarget. +func (mg *CacheNfsTarget) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CacheNfsTarget. +func (mg *CacheNfsTarget) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CacheNfsTarget. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CacheNfsTarget) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CacheNfsTarget. +func (mg *CacheNfsTarget) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/hpc/v1alpha1/zz_generated.managedlist.go b/apis/hpc/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..7a764c654 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this CacheAccessPolicyList. +func (l *CacheAccessPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CacheBlobNfsTargetList. +func (l *CacheBlobNfsTargetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CacheBlobTargetList. +func (l *CacheBlobTargetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CacheList. +func (l *CacheList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CacheNfsTargetList. +func (l *CacheNfsTargetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/hpc/v1alpha1/zz_groupversion_info.go b/apis/hpc/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..8c7f38880 --- /dev/null +++ b/apis/hpc/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=hpc.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "hpc.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/integration/v1alpha1/zz_generated.deepcopy.go b/apis/integration/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..13117466b --- /dev/null +++ b/apis/integration/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,243 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironment) DeepCopyInto(out *ServiceEnvironment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironment. +func (in *ServiceEnvironment) DeepCopy() *ServiceEnvironment { + if in == nil { + return nil + } + out := new(ServiceEnvironment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceEnvironment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentList) DeepCopyInto(out *ServiceEnvironmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceEnvironment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentList. +func (in *ServiceEnvironmentList) DeepCopy() *ServiceEnvironmentList { + if in == nil { + return nil + } + out := new(ServiceEnvironmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceEnvironmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentObservation) DeepCopyInto(out *ServiceEnvironmentObservation) { + *out = *in + if in.ConnectorEndpointIPAddresses != nil { + in, out := &in.ConnectorEndpointIPAddresses, &out.ConnectorEndpointIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectorOutboundIPAddresses != nil { + in, out := &in.ConnectorOutboundIPAddresses, &out.ConnectorOutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WorkflowEndpointIPAddresses != nil { + in, out := &in.WorkflowEndpointIPAddresses, &out.WorkflowEndpointIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WorkflowOutboundIPAddresses != nil { + in, out := &in.WorkflowOutboundIPAddresses, &out.WorkflowOutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentObservation. +func (in *ServiceEnvironmentObservation) DeepCopy() *ServiceEnvironmentObservation { + if in == nil { + return nil + } + out := new(ServiceEnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentParameters) DeepCopyInto(out *ServiceEnvironmentParameters) { + *out = *in + if in.AccessEndpointType != nil { + in, out := &in.AccessEndpointType, &out.AccessEndpointType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualNetworkSubnetIds != nil { + in, out := &in.VirtualNetworkSubnetIds, &out.VirtualNetworkSubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentParameters. +func (in *ServiceEnvironmentParameters) DeepCopy() *ServiceEnvironmentParameters { + if in == nil { + return nil + } + out := new(ServiceEnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentSpec) DeepCopyInto(out *ServiceEnvironmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentSpec. +func (in *ServiceEnvironmentSpec) DeepCopy() *ServiceEnvironmentSpec { + if in == nil { + return nil + } + out := new(ServiceEnvironmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceEnvironmentStatus) DeepCopyInto(out *ServiceEnvironmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEnvironmentStatus. +func (in *ServiceEnvironmentStatus) DeepCopy() *ServiceEnvironmentStatus { + if in == nil { + return nil + } + out := new(ServiceEnvironmentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/integration/v1alpha1/zz_generated.managed.go b/apis/integration/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..f5a2f6cbe --- /dev/null +++ b/apis/integration/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceEnvironment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceEnvironment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceEnvironment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceEnvironment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceEnvironment. +func (mg *ServiceEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/integration/v1alpha1/zz_generated.managedlist.go b/apis/integration/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..9b08e149d --- /dev/null +++ b/apis/integration/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServiceEnvironmentList. +func (l *ServiceEnvironmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/integration/v1alpha1/zz_groupversion_info.go b/apis/integration/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f1967eeb7 --- /dev/null +++ b/apis/integration/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=integration.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "integration.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/integration/v1alpha1/zz_serviceenvironment_terraformed.go b/apis/integration/v1alpha1/zz_serviceenvironment_terraformed.go new file mode 100755 index 000000000..82b478f4c --- /dev/null +++ b/apis/integration/v1alpha1/zz_serviceenvironment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceEnvironment +func (mg *ServiceEnvironment) GetTerraformResourceType() string { + return "azurerm_integration_service_environment" +} + +// GetConnectionDetailsMapping for this ServiceEnvironment +func (tr *ServiceEnvironment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceEnvironment +func (tr *ServiceEnvironment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceEnvironment +func (tr *ServiceEnvironment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceEnvironment +func (tr *ServiceEnvironment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceEnvironment +func (tr *ServiceEnvironment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceEnvironment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceEnvironment) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceEnvironmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceEnvironment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/integration/v1alpha1/zz_serviceenvironment_types.go b/apis/integration/v1alpha1/zz_serviceenvironment_types.go new file mode 100755 index 000000000..aa68d11f8 --- /dev/null +++ b/apis/integration/v1alpha1/zz_serviceenvironment_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServiceEnvironmentObservation struct { + ConnectorEndpointIPAddresses []*string `json:"connectorEndpointIpAddresses,omitempty" tf:"connector_endpoint_ip_addresses,omitempty"` + + ConnectorOutboundIPAddresses []*string `json:"connectorOutboundIpAddresses,omitempty" tf:"connector_outbound_ip_addresses,omitempty"` + + WorkflowEndpointIPAddresses []*string `json:"workflowEndpointIpAddresses,omitempty" tf:"workflow_endpoint_ip_addresses,omitempty"` + + WorkflowOutboundIPAddresses []*string `json:"workflowOutboundIpAddresses,omitempty" tf:"workflow_outbound_ip_addresses,omitempty"` +} + +type ServiceEnvironmentParameters struct { + + // +kubebuilder:validation:Required + AccessEndpointType *string `json:"accessEndpointType" tf:"access_endpoint_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualNetworkSubnetIds []*string `json:"virtualNetworkSubnetIds" tf:"virtual_network_subnet_ids,omitempty"` +} + +// ServiceEnvironmentSpec defines the desired state of ServiceEnvironment +type ServiceEnvironmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceEnvironmentParameters `json:"forProvider"` +} + +// ServiceEnvironmentStatus defines the observed state of ServiceEnvironment. +type ServiceEnvironmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceEnvironmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceEnvironment is the Schema for the ServiceEnvironments API +// +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,azurejet} +type ServiceEnvironment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceEnvironmentSpec `json:"spec"` + Status ServiceEnvironmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceEnvironmentList contains a list of ServiceEnvironments +type ServiceEnvironmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceEnvironment `json:"items"` +} + +// Repository type metadata. +var ( + ServiceEnvironment_Kind = "ServiceEnvironment" + ServiceEnvironment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceEnvironment_Kind}.String() + ServiceEnvironment_KindAPIVersion = ServiceEnvironment_Kind + "." + CRDGroupVersion.String() + ServiceEnvironment_GroupVersionKind = CRDGroupVersion.WithKind(ServiceEnvironment_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceEnvironment{}, &ServiceEnvironmentList{}) +} diff --git a/apis/iot/v1alpha1/zz_generated.deepcopy.go b/apis/iot/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..adf4e057d --- /dev/null +++ b/apis/iot/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1554 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowRuleObservation) DeepCopyInto(out *AllowRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowRuleObservation. +func (in *AllowRuleObservation) DeepCopy() *AllowRuleObservation { + if in == nil { + return nil + } + out := new(AllowRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AllowRuleParameters) DeepCopyInto(out *AllowRuleParameters) { + *out = *in + if in.ConnectionToIPNotAllowed != nil { + in, out := &in.ConnectionToIPNotAllowed, &out.ConnectionToIPNotAllowed + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LocalUserNotAllowed != nil { + in, out := &in.LocalUserNotAllowed, &out.LocalUserNotAllowed + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ProcessNotAllowed != nil { + in, out := &in.ProcessNotAllowed, &out.ProcessNotAllowed + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowRuleParameters. +func (in *AllowRuleParameters) DeepCopy() *AllowRuleParameters { + if in == nil { + return nil + } + out := new(AllowRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyPropertyObservation) DeepCopyInto(out *KeyPropertyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPropertyObservation. +func (in *KeyPropertyObservation) DeepCopy() *KeyPropertyObservation { + if in == nil { + return nil + } + out := new(KeyPropertyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyPropertyParameters) DeepCopyInto(out *KeyPropertyParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPropertyParameters. +func (in *KeyPropertyParameters) DeepCopy() *KeyPropertyParameters { + if in == nil { + return nil + } + out := new(KeyPropertyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RangeRuleObservation) DeepCopyInto(out *RangeRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeRuleObservation. +func (in *RangeRuleObservation) DeepCopy() *RangeRuleObservation { + if in == nil { + return nil + } + out := new(RangeRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RangeRuleParameters) DeepCopyInto(out *RangeRuleParameters) { + *out = *in + if in.Duration != nil { + in, out := &in.Duration, &out.Duration + *out = new(string) + **out = **in + } + if in.Max != nil { + in, out := &in.Max, &out.Max + *out = new(int64) + **out = **in + } + if in.Min != nil { + in, out := &in.Min, &out.Min + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeRuleParameters. +func (in *RangeRuleParameters) DeepCopy() *RangeRuleParameters { + if in == nil { + return nil + } + out := new(RangeRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecommendationsEnabledObservation) DeepCopyInto(out *RecommendationsEnabledObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendationsEnabledObservation. +func (in *RecommendationsEnabledObservation) DeepCopy() *RecommendationsEnabledObservation { + if in == nil { + return nil + } + out := new(RecommendationsEnabledObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecommendationsEnabledParameters) DeepCopyInto(out *RecommendationsEnabledParameters) { + *out = *in + if in.AcrAuthentication != nil { + in, out := &in.AcrAuthentication, &out.AcrAuthentication + *out = new(bool) + **out = **in + } + if in.AgentSendUnutilizedMsg != nil { + in, out := &in.AgentSendUnutilizedMsg, &out.AgentSendUnutilizedMsg + *out = new(bool) + **out = **in + } + if in.Baseline != nil { + in, out := &in.Baseline, &out.Baseline + *out = new(bool) + **out = **in + } + if in.EdgeHubMemOptimize != nil { + in, out := &in.EdgeHubMemOptimize, &out.EdgeHubMemOptimize + *out = new(bool) + **out = **in + } + if in.EdgeLoggingOption != nil { + in, out := &in.EdgeLoggingOption, &out.EdgeLoggingOption + *out = new(bool) + **out = **in + } + if in.IPFilterDenyAll != nil { + in, out := &in.IPFilterDenyAll, &out.IPFilterDenyAll + *out = new(bool) + **out = **in + } + if in.IPFilterPermissiveRule != nil { + in, out := &in.IPFilterPermissiveRule, &out.IPFilterPermissiveRule + *out = new(bool) + **out = **in + } + if in.InconsistentModuleSettings != nil { + in, out := &in.InconsistentModuleSettings, &out.InconsistentModuleSettings + *out = new(bool) + **out = **in + } + if in.InstallAgent != nil { + in, out := &in.InstallAgent, &out.InstallAgent + *out = new(bool) + **out = **in + } + if in.OpenPorts != nil { + in, out := &in.OpenPorts, &out.OpenPorts + *out = new(bool) + **out = **in + } + if in.PermissiveFirewallPolicy != nil { + in, out := &in.PermissiveFirewallPolicy, &out.PermissiveFirewallPolicy + *out = new(bool) + **out = **in + } + if in.PermissiveInputFirewallRules != nil { + in, out := &in.PermissiveInputFirewallRules, &out.PermissiveInputFirewallRules + *out = new(bool) + **out = **in + } + if in.PermissiveOutputFirewallRules != nil { + in, out := &in.PermissiveOutputFirewallRules, &out.PermissiveOutputFirewallRules + *out = new(bool) + **out = **in + } + if in.PrivilegedDockerOptions != nil { + in, out := &in.PrivilegedDockerOptions, &out.PrivilegedDockerOptions + *out = new(bool) + **out = **in + } + if in.SharedCredentials != nil { + in, out := &in.SharedCredentials, &out.SharedCredentials + *out = new(bool) + **out = **in + } + if in.VulnerableTLSCipherSuite != nil { + in, out := &in.VulnerableTLSCipherSuite, &out.VulnerableTLSCipherSuite + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecommendationsEnabledParameters. +func (in *RecommendationsEnabledParameters) DeepCopy() *RecommendationsEnabledParameters { + if in == nil { + return nil + } + out := new(RecommendationsEnabledParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityDeviceGroup) DeepCopyInto(out *SecurityDeviceGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityDeviceGroup. +func (in *SecurityDeviceGroup) DeepCopy() *SecurityDeviceGroup { + if in == nil { + return nil + } + out := new(SecurityDeviceGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityDeviceGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityDeviceGroupList) DeepCopyInto(out *SecurityDeviceGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SecurityDeviceGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityDeviceGroupList. +func (in *SecurityDeviceGroupList) DeepCopy() *SecurityDeviceGroupList { + if in == nil { + return nil + } + out := new(SecurityDeviceGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityDeviceGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityDeviceGroupObservation) DeepCopyInto(out *SecurityDeviceGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityDeviceGroupObservation. +func (in *SecurityDeviceGroupObservation) DeepCopy() *SecurityDeviceGroupObservation { + if in == nil { + return nil + } + out := new(SecurityDeviceGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityDeviceGroupParameters) DeepCopyInto(out *SecurityDeviceGroupParameters) { + *out = *in + if in.AllowRule != nil { + in, out := &in.AllowRule, &out.AllowRule + *out = make([]AllowRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IothubID != nil { + in, out := &in.IothubID, &out.IothubID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RangeRule != nil { + in, out := &in.RangeRule, &out.RangeRule + *out = make([]RangeRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityDeviceGroupParameters. +func (in *SecurityDeviceGroupParameters) DeepCopy() *SecurityDeviceGroupParameters { + if in == nil { + return nil + } + out := new(SecurityDeviceGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityDeviceGroupSpec) DeepCopyInto(out *SecurityDeviceGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityDeviceGroupSpec. +func (in *SecurityDeviceGroupSpec) DeepCopy() *SecurityDeviceGroupSpec { + if in == nil { + return nil + } + out := new(SecurityDeviceGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityDeviceGroupStatus) DeepCopyInto(out *SecurityDeviceGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityDeviceGroupStatus. +func (in *SecurityDeviceGroupStatus) DeepCopy() *SecurityDeviceGroupStatus { + if in == nil { + return nil + } + out := new(SecurityDeviceGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecuritySolution) DeepCopyInto(out *SecuritySolution) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySolution. +func (in *SecuritySolution) DeepCopy() *SecuritySolution { + if in == nil { + return nil + } + out := new(SecuritySolution) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecuritySolution) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecuritySolutionList) DeepCopyInto(out *SecuritySolutionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SecuritySolution, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySolutionList. +func (in *SecuritySolutionList) DeepCopy() *SecuritySolutionList { + if in == nil { + return nil + } + out := new(SecuritySolutionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecuritySolutionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecuritySolutionObservation) DeepCopyInto(out *SecuritySolutionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySolutionObservation. +func (in *SecuritySolutionObservation) DeepCopy() *SecuritySolutionObservation { + if in == nil { + return nil + } + out := new(SecuritySolutionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecuritySolutionParameters) DeepCopyInto(out *SecuritySolutionParameters) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.EventsToExport != nil { + in, out := &in.EventsToExport, &out.EventsToExport + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IothubIds != nil { + in, out := &in.IothubIds, &out.IothubIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.LogUnmaskedIpsEnabled != nil { + in, out := &in.LogUnmaskedIpsEnabled, &out.LogUnmaskedIpsEnabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.QueryForResources != nil { + in, out := &in.QueryForResources, &out.QueryForResources + *out = new(string) + **out = **in + } + if in.QuerySubscriptionIds != nil { + in, out := &in.QuerySubscriptionIds, &out.QuerySubscriptionIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RecommendationsEnabled != nil { + in, out := &in.RecommendationsEnabled, &out.RecommendationsEnabled + *out = make([]RecommendationsEnabledParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySolutionParameters. +func (in *SecuritySolutionParameters) DeepCopy() *SecuritySolutionParameters { + if in == nil { + return nil + } + out := new(SecuritySolutionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecuritySolutionSpec) DeepCopyInto(out *SecuritySolutionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySolutionSpec. +func (in *SecuritySolutionSpec) DeepCopy() *SecuritySolutionSpec { + if in == nil { + return nil + } + out := new(SecuritySolutionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecuritySolutionStatus) DeepCopyInto(out *SecuritySolutionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySolutionStatus. +func (in *SecuritySolutionStatus) DeepCopy() *SecuritySolutionStatus { + if in == nil { + return nil + } + out := new(SecuritySolutionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageObservation) DeepCopyInto(out *StorageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageObservation. +func (in *StorageObservation) DeepCopy() *StorageObservation { + if in == nil { + return nil + } + out := new(StorageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageParameters) DeepCopyInto(out *StorageParameters) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageParameters. +func (in *StorageParameters) DeepCopy() *StorageParameters { + if in == nil { + return nil + } + out := new(StorageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsAccessPolicy) DeepCopyInto(out *TimeSeriesInsightsAccessPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsAccessPolicy. +func (in *TimeSeriesInsightsAccessPolicy) DeepCopy() *TimeSeriesInsightsAccessPolicy { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsAccessPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsAccessPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsAccessPolicyList) DeepCopyInto(out *TimeSeriesInsightsAccessPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TimeSeriesInsightsAccessPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsAccessPolicyList. +func (in *TimeSeriesInsightsAccessPolicyList) DeepCopy() *TimeSeriesInsightsAccessPolicyList { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsAccessPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsAccessPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsAccessPolicyObservation) DeepCopyInto(out *TimeSeriesInsightsAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsAccessPolicyObservation. +func (in *TimeSeriesInsightsAccessPolicyObservation) DeepCopy() *TimeSeriesInsightsAccessPolicyObservation { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsAccessPolicyParameters) DeepCopyInto(out *TimeSeriesInsightsAccessPolicyParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrincipalObjectID != nil { + in, out := &in.PrincipalObjectID, &out.PrincipalObjectID + *out = new(string) + **out = **in + } + if in.Roles != nil { + in, out := &in.Roles, &out.Roles + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TimeSeriesInsightsEnvironmentID != nil { + in, out := &in.TimeSeriesInsightsEnvironmentID, &out.TimeSeriesInsightsEnvironmentID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsAccessPolicyParameters. +func (in *TimeSeriesInsightsAccessPolicyParameters) DeepCopy() *TimeSeriesInsightsAccessPolicyParameters { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsAccessPolicySpec) DeepCopyInto(out *TimeSeriesInsightsAccessPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsAccessPolicySpec. +func (in *TimeSeriesInsightsAccessPolicySpec) DeepCopy() *TimeSeriesInsightsAccessPolicySpec { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsAccessPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsAccessPolicyStatus) DeepCopyInto(out *TimeSeriesInsightsAccessPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsAccessPolicyStatus. +func (in *TimeSeriesInsightsAccessPolicyStatus) DeepCopy() *TimeSeriesInsightsAccessPolicyStatus { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsAccessPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsEventSourceIothub) DeepCopyInto(out *TimeSeriesInsightsEventSourceIothub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsEventSourceIothub. +func (in *TimeSeriesInsightsEventSourceIothub) DeepCopy() *TimeSeriesInsightsEventSourceIothub { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsEventSourceIothub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsEventSourceIothub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsEventSourceIothubList) DeepCopyInto(out *TimeSeriesInsightsEventSourceIothubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TimeSeriesInsightsEventSourceIothub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsEventSourceIothubList. +func (in *TimeSeriesInsightsEventSourceIothubList) DeepCopy() *TimeSeriesInsightsEventSourceIothubList { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsEventSourceIothubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsEventSourceIothubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsEventSourceIothubObservation) DeepCopyInto(out *TimeSeriesInsightsEventSourceIothubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsEventSourceIothubObservation. +func (in *TimeSeriesInsightsEventSourceIothubObservation) DeepCopy() *TimeSeriesInsightsEventSourceIothubObservation { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsEventSourceIothubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsEventSourceIothubParameters) DeepCopyInto(out *TimeSeriesInsightsEventSourceIothubParameters) { + *out = *in + if in.ConsumerGroupName != nil { + in, out := &in.ConsumerGroupName, &out.ConsumerGroupName + *out = new(string) + **out = **in + } + if in.EnvironmentID != nil { + in, out := &in.EnvironmentID, &out.EnvironmentID + *out = new(string) + **out = **in + } + if in.EventSourceResourceID != nil { + in, out := &in.EventSourceResourceID, &out.EventSourceResourceID + *out = new(string) + **out = **in + } + if in.IothubName != nil { + in, out := &in.IothubName, &out.IothubName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SharedAccessKey != nil { + in, out := &in.SharedAccessKey, &out.SharedAccessKey + *out = new(string) + **out = **in + } + if in.SharedAccessKeyName != nil { + in, out := &in.SharedAccessKeyName, &out.SharedAccessKeyName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TimestampPropertyName != nil { + in, out := &in.TimestampPropertyName, &out.TimestampPropertyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsEventSourceIothubParameters. +func (in *TimeSeriesInsightsEventSourceIothubParameters) DeepCopy() *TimeSeriesInsightsEventSourceIothubParameters { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsEventSourceIothubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsEventSourceIothubSpec) DeepCopyInto(out *TimeSeriesInsightsEventSourceIothubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsEventSourceIothubSpec. +func (in *TimeSeriesInsightsEventSourceIothubSpec) DeepCopy() *TimeSeriesInsightsEventSourceIothubSpec { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsEventSourceIothubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsEventSourceIothubStatus) DeepCopyInto(out *TimeSeriesInsightsEventSourceIothubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsEventSourceIothubStatus. +func (in *TimeSeriesInsightsEventSourceIothubStatus) DeepCopy() *TimeSeriesInsightsEventSourceIothubStatus { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsEventSourceIothubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsGen2Environment) DeepCopyInto(out *TimeSeriesInsightsGen2Environment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsGen2Environment. +func (in *TimeSeriesInsightsGen2Environment) DeepCopy() *TimeSeriesInsightsGen2Environment { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsGen2Environment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsGen2Environment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsGen2EnvironmentList) DeepCopyInto(out *TimeSeriesInsightsGen2EnvironmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TimeSeriesInsightsGen2Environment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsGen2EnvironmentList. +func (in *TimeSeriesInsightsGen2EnvironmentList) DeepCopy() *TimeSeriesInsightsGen2EnvironmentList { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsGen2EnvironmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsGen2EnvironmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsGen2EnvironmentObservation) DeepCopyInto(out *TimeSeriesInsightsGen2EnvironmentObservation) { + *out = *in + if in.DataAccessFqdn != nil { + in, out := &in.DataAccessFqdn, &out.DataAccessFqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsGen2EnvironmentObservation. +func (in *TimeSeriesInsightsGen2EnvironmentObservation) DeepCopy() *TimeSeriesInsightsGen2EnvironmentObservation { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsGen2EnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsGen2EnvironmentParameters) DeepCopyInto(out *TimeSeriesInsightsGen2EnvironmentParameters) { + *out = *in + if in.IDProperties != nil { + in, out := &in.IDProperties, &out.IDProperties + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Storage != nil { + in, out := &in.Storage, &out.Storage + *out = make([]StorageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WarmStoreDataRetentionTime != nil { + in, out := &in.WarmStoreDataRetentionTime, &out.WarmStoreDataRetentionTime + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsGen2EnvironmentParameters. +func (in *TimeSeriesInsightsGen2EnvironmentParameters) DeepCopy() *TimeSeriesInsightsGen2EnvironmentParameters { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsGen2EnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsGen2EnvironmentSpec) DeepCopyInto(out *TimeSeriesInsightsGen2EnvironmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsGen2EnvironmentSpec. +func (in *TimeSeriesInsightsGen2EnvironmentSpec) DeepCopy() *TimeSeriesInsightsGen2EnvironmentSpec { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsGen2EnvironmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsGen2EnvironmentStatus) DeepCopyInto(out *TimeSeriesInsightsGen2EnvironmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsGen2EnvironmentStatus. +func (in *TimeSeriesInsightsGen2EnvironmentStatus) DeepCopy() *TimeSeriesInsightsGen2EnvironmentStatus { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsGen2EnvironmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsReferenceDataSet) DeepCopyInto(out *TimeSeriesInsightsReferenceDataSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsReferenceDataSet. +func (in *TimeSeriesInsightsReferenceDataSet) DeepCopy() *TimeSeriesInsightsReferenceDataSet { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsReferenceDataSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsReferenceDataSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsReferenceDataSetList) DeepCopyInto(out *TimeSeriesInsightsReferenceDataSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TimeSeriesInsightsReferenceDataSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsReferenceDataSetList. +func (in *TimeSeriesInsightsReferenceDataSetList) DeepCopy() *TimeSeriesInsightsReferenceDataSetList { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsReferenceDataSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsReferenceDataSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsReferenceDataSetObservation) DeepCopyInto(out *TimeSeriesInsightsReferenceDataSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsReferenceDataSetObservation. +func (in *TimeSeriesInsightsReferenceDataSetObservation) DeepCopy() *TimeSeriesInsightsReferenceDataSetObservation { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsReferenceDataSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsReferenceDataSetParameters) DeepCopyInto(out *TimeSeriesInsightsReferenceDataSetParameters) { + *out = *in + if in.DataStringComparisonBehavior != nil { + in, out := &in.DataStringComparisonBehavior, &out.DataStringComparisonBehavior + *out = new(string) + **out = **in + } + if in.KeyProperty != nil { + in, out := &in.KeyProperty, &out.KeyProperty + *out = make([]KeyPropertyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TimeSeriesInsightsEnvironmentID != nil { + in, out := &in.TimeSeriesInsightsEnvironmentID, &out.TimeSeriesInsightsEnvironmentID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsReferenceDataSetParameters. +func (in *TimeSeriesInsightsReferenceDataSetParameters) DeepCopy() *TimeSeriesInsightsReferenceDataSetParameters { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsReferenceDataSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsReferenceDataSetSpec) DeepCopyInto(out *TimeSeriesInsightsReferenceDataSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsReferenceDataSetSpec. +func (in *TimeSeriesInsightsReferenceDataSetSpec) DeepCopy() *TimeSeriesInsightsReferenceDataSetSpec { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsReferenceDataSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsReferenceDataSetStatus) DeepCopyInto(out *TimeSeriesInsightsReferenceDataSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsReferenceDataSetStatus. +func (in *TimeSeriesInsightsReferenceDataSetStatus) DeepCopy() *TimeSeriesInsightsReferenceDataSetStatus { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsReferenceDataSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsStandardEnvironment) DeepCopyInto(out *TimeSeriesInsightsStandardEnvironment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsStandardEnvironment. +func (in *TimeSeriesInsightsStandardEnvironment) DeepCopy() *TimeSeriesInsightsStandardEnvironment { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsStandardEnvironment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsStandardEnvironment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsStandardEnvironmentList) DeepCopyInto(out *TimeSeriesInsightsStandardEnvironmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TimeSeriesInsightsStandardEnvironment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsStandardEnvironmentList. +func (in *TimeSeriesInsightsStandardEnvironmentList) DeepCopy() *TimeSeriesInsightsStandardEnvironmentList { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsStandardEnvironmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TimeSeriesInsightsStandardEnvironmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsStandardEnvironmentObservation) DeepCopyInto(out *TimeSeriesInsightsStandardEnvironmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsStandardEnvironmentObservation. +func (in *TimeSeriesInsightsStandardEnvironmentObservation) DeepCopy() *TimeSeriesInsightsStandardEnvironmentObservation { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsStandardEnvironmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsStandardEnvironmentParameters) DeepCopyInto(out *TimeSeriesInsightsStandardEnvironmentParameters) { + *out = *in + if in.DataRetentionTime != nil { + in, out := &in.DataRetentionTime, &out.DataRetentionTime + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PartitionKey != nil { + in, out := &in.PartitionKey, &out.PartitionKey + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.StorageLimitExceededBehavior != nil { + in, out := &in.StorageLimitExceededBehavior, &out.StorageLimitExceededBehavior + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsStandardEnvironmentParameters. +func (in *TimeSeriesInsightsStandardEnvironmentParameters) DeepCopy() *TimeSeriesInsightsStandardEnvironmentParameters { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsStandardEnvironmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsStandardEnvironmentSpec) DeepCopyInto(out *TimeSeriesInsightsStandardEnvironmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsStandardEnvironmentSpec. +func (in *TimeSeriesInsightsStandardEnvironmentSpec) DeepCopy() *TimeSeriesInsightsStandardEnvironmentSpec { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsStandardEnvironmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TimeSeriesInsightsStandardEnvironmentStatus) DeepCopyInto(out *TimeSeriesInsightsStandardEnvironmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesInsightsStandardEnvironmentStatus. +func (in *TimeSeriesInsightsStandardEnvironmentStatus) DeepCopy() *TimeSeriesInsightsStandardEnvironmentStatus { + if in == nil { + return nil + } + out := new(TimeSeriesInsightsStandardEnvironmentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/iot/v1alpha1/zz_generated.managed.go b/apis/iot/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..1cba576bf --- /dev/null +++ b/apis/iot/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SecurityDeviceGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SecurityDeviceGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SecurityDeviceGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SecurityDeviceGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SecurityDeviceGroup. +func (mg *SecurityDeviceGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SecuritySolution. +func (mg *SecuritySolution) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SecuritySolution. +func (mg *SecuritySolution) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SecuritySolution. +func (mg *SecuritySolution) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SecuritySolution. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SecuritySolution) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SecuritySolution. +func (mg *SecuritySolution) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SecuritySolution. +func (mg *SecuritySolution) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SecuritySolution. +func (mg *SecuritySolution) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SecuritySolution. +func (mg *SecuritySolution) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SecuritySolution. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SecuritySolution) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SecuritySolution. +func (mg *SecuritySolution) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TimeSeriesInsightsAccessPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsAccessPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TimeSeriesInsightsAccessPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsAccessPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TimeSeriesInsightsAccessPolicy. +func (mg *TimeSeriesInsightsAccessPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TimeSeriesInsightsEventSourceIothub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsEventSourceIothub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TimeSeriesInsightsEventSourceIothub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsEventSourceIothub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TimeSeriesInsightsEventSourceIothub. +func (mg *TimeSeriesInsightsEventSourceIothub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TimeSeriesInsightsGen2Environment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsGen2Environment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TimeSeriesInsightsGen2Environment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsGen2Environment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TimeSeriesInsightsGen2Environment. +func (mg *TimeSeriesInsightsGen2Environment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TimeSeriesInsightsReferenceDataSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsReferenceDataSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TimeSeriesInsightsReferenceDataSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsReferenceDataSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TimeSeriesInsightsReferenceDataSet. +func (mg *TimeSeriesInsightsReferenceDataSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TimeSeriesInsightsStandardEnvironment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsStandardEnvironment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TimeSeriesInsightsStandardEnvironment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TimeSeriesInsightsStandardEnvironment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TimeSeriesInsightsStandardEnvironment. +func (mg *TimeSeriesInsightsStandardEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/iot/v1alpha1/zz_generated.managedlist.go b/apis/iot/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..a96b1e397 --- /dev/null +++ b/apis/iot/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this SecurityDeviceGroupList. +func (l *SecurityDeviceGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SecuritySolutionList. +func (l *SecuritySolutionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TimeSeriesInsightsAccessPolicyList. +func (l *TimeSeriesInsightsAccessPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TimeSeriesInsightsEventSourceIothubList. +func (l *TimeSeriesInsightsEventSourceIothubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TimeSeriesInsightsGen2EnvironmentList. +func (l *TimeSeriesInsightsGen2EnvironmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TimeSeriesInsightsReferenceDataSetList. +func (l *TimeSeriesInsightsReferenceDataSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TimeSeriesInsightsStandardEnvironmentList. +func (l *TimeSeriesInsightsStandardEnvironmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/iot/v1alpha1/zz_groupversion_info.go b/apis/iot/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..392b08914 --- /dev/null +++ b/apis/iot/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=iot.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "iot.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/iot/v1alpha1/zz_securitydevicegroup_terraformed.go b/apis/iot/v1alpha1/zz_securitydevicegroup_terraformed.go new file mode 100755 index 000000000..de9f55e6b --- /dev/null +++ b/apis/iot/v1alpha1/zz_securitydevicegroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SecurityDeviceGroup +func (mg *SecurityDeviceGroup) GetTerraformResourceType() string { + return "azurerm_iot_security_device_group" +} + +// GetConnectionDetailsMapping for this SecurityDeviceGroup +func (tr *SecurityDeviceGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SecurityDeviceGroup +func (tr *SecurityDeviceGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SecurityDeviceGroup +func (tr *SecurityDeviceGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SecurityDeviceGroup +func (tr *SecurityDeviceGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SecurityDeviceGroup +func (tr *SecurityDeviceGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SecurityDeviceGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SecurityDeviceGroup) LateInitialize(attrs []byte) (bool, error) { + params := &SecurityDeviceGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SecurityDeviceGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/iot/v1alpha1/zz_securitydevicegroup_types.go b/apis/iot/v1alpha1/zz_securitydevicegroup_types.go new file mode 100755 index 000000000..514162382 --- /dev/null +++ b/apis/iot/v1alpha1/zz_securitydevicegroup_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AllowRuleObservation struct { +} + +type AllowRuleParameters struct { + + // +kubebuilder:validation:Optional + ConnectionToIPNotAllowed []*string `json:"connectionToIpNotAllowed,omitempty" tf:"connection_to_ip_not_allowed,omitempty"` + + // +kubebuilder:validation:Optional + LocalUserNotAllowed []*string `json:"localUserNotAllowed,omitempty" tf:"local_user_not_allowed,omitempty"` + + // +kubebuilder:validation:Optional + ProcessNotAllowed []*string `json:"processNotAllowed,omitempty" tf:"process_not_allowed,omitempty"` +} + +type RangeRuleObservation struct { +} + +type RangeRuleParameters struct { + + // +kubebuilder:validation:Required + Duration *string `json:"duration" tf:"duration,omitempty"` + + // +kubebuilder:validation:Required + Max *int64 `json:"max" tf:"max,omitempty"` + + // +kubebuilder:validation:Required + Min *int64 `json:"min" tf:"min,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type SecurityDeviceGroupObservation struct { +} + +type SecurityDeviceGroupParameters struct { + + // +kubebuilder:validation:Optional + AllowRule []AllowRuleParameters `json:"allowRule,omitempty" tf:"allow_rule,omitempty"` + + // +kubebuilder:validation:Required + IothubID *string `json:"iothubId" tf:"iothub_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RangeRule []RangeRuleParameters `json:"rangeRule,omitempty" tf:"range_rule,omitempty"` +} + +// SecurityDeviceGroupSpec defines the desired state of SecurityDeviceGroup +type SecurityDeviceGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SecurityDeviceGroupParameters `json:"forProvider"` +} + +// SecurityDeviceGroupStatus defines the observed state of SecurityDeviceGroup. +type SecurityDeviceGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SecurityDeviceGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecurityDeviceGroup is the Schema for the SecurityDeviceGroups API +// +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,azurejet} +type SecurityDeviceGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SecurityDeviceGroupSpec `json:"spec"` + Status SecurityDeviceGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecurityDeviceGroupList contains a list of SecurityDeviceGroups +type SecurityDeviceGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SecurityDeviceGroup `json:"items"` +} + +// Repository type metadata. +var ( + SecurityDeviceGroup_Kind = "SecurityDeviceGroup" + SecurityDeviceGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityDeviceGroup_Kind}.String() + SecurityDeviceGroup_KindAPIVersion = SecurityDeviceGroup_Kind + "." + CRDGroupVersion.String() + SecurityDeviceGroup_GroupVersionKind = CRDGroupVersion.WithKind(SecurityDeviceGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&SecurityDeviceGroup{}, &SecurityDeviceGroupList{}) +} diff --git a/apis/iot/v1alpha1/zz_securitysolution_terraformed.go b/apis/iot/v1alpha1/zz_securitysolution_terraformed.go new file mode 100755 index 000000000..5c817abf7 --- /dev/null +++ b/apis/iot/v1alpha1/zz_securitysolution_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SecuritySolution +func (mg *SecuritySolution) GetTerraformResourceType() string { + return "azurerm_iot_security_solution" +} + +// GetConnectionDetailsMapping for this SecuritySolution +func (tr *SecuritySolution) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SecuritySolution +func (tr *SecuritySolution) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SecuritySolution +func (tr *SecuritySolution) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SecuritySolution +func (tr *SecuritySolution) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SecuritySolution +func (tr *SecuritySolution) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SecuritySolution using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SecuritySolution) LateInitialize(attrs []byte) (bool, error) { + params := &SecuritySolutionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SecuritySolution) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/iot/v1alpha1/zz_securitysolution_types.go b/apis/iot/v1alpha1/zz_securitysolution_types.go new file mode 100755 index 000000000..d38ff60a1 --- /dev/null +++ b/apis/iot/v1alpha1/zz_securitysolution_types.go @@ -0,0 +1,174 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecommendationsEnabledObservation struct { +} + +type RecommendationsEnabledParameters struct { + + // +kubebuilder:validation:Optional + AcrAuthentication *bool `json:"acrAuthentication,omitempty" tf:"acr_authentication,omitempty"` + + // +kubebuilder:validation:Optional + AgentSendUnutilizedMsg *bool `json:"agentSendUnutilizedMsg,omitempty" tf:"agent_send_unutilized_msg,omitempty"` + + // +kubebuilder:validation:Optional + Baseline *bool `json:"baseline,omitempty" tf:"baseline,omitempty"` + + // +kubebuilder:validation:Optional + EdgeHubMemOptimize *bool `json:"edgeHubMemOptimize,omitempty" tf:"edge_hub_mem_optimize,omitempty"` + + // +kubebuilder:validation:Optional + EdgeLoggingOption *bool `json:"edgeLoggingOption,omitempty" tf:"edge_logging_option,omitempty"` + + // +kubebuilder:validation:Optional + IPFilterDenyAll *bool `json:"ipFilterDenyAll,omitempty" tf:"ip_filter_deny_all,omitempty"` + + // +kubebuilder:validation:Optional + IPFilterPermissiveRule *bool `json:"ipFilterPermissiveRule,omitempty" tf:"ip_filter_permissive_rule,omitempty"` + + // +kubebuilder:validation:Optional + InconsistentModuleSettings *bool `json:"inconsistentModuleSettings,omitempty" tf:"inconsistent_module_settings,omitempty"` + + // +kubebuilder:validation:Optional + InstallAgent *bool `json:"installAgent,omitempty" tf:"install_agent,omitempty"` + + // +kubebuilder:validation:Optional + OpenPorts *bool `json:"openPorts,omitempty" tf:"open_ports,omitempty"` + + // +kubebuilder:validation:Optional + PermissiveFirewallPolicy *bool `json:"permissiveFirewallPolicy,omitempty" tf:"permissive_firewall_policy,omitempty"` + + // +kubebuilder:validation:Optional + PermissiveInputFirewallRules *bool `json:"permissiveInputFirewallRules,omitempty" tf:"permissive_input_firewall_rules,omitempty"` + + // +kubebuilder:validation:Optional + PermissiveOutputFirewallRules *bool `json:"permissiveOutputFirewallRules,omitempty" tf:"permissive_output_firewall_rules,omitempty"` + + // +kubebuilder:validation:Optional + PrivilegedDockerOptions *bool `json:"privilegedDockerOptions,omitempty" tf:"privileged_docker_options,omitempty"` + + // +kubebuilder:validation:Optional + SharedCredentials *bool `json:"sharedCredentials,omitempty" tf:"shared_credentials,omitempty"` + + // +kubebuilder:validation:Optional + VulnerableTLSCipherSuite *bool `json:"vulnerableTlsCipherSuite,omitempty" tf:"vulnerable_tls_cipher_suite,omitempty"` +} + +type SecuritySolutionObservation struct { +} + +type SecuritySolutionParameters struct { + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + EventsToExport []*string `json:"eventsToExport,omitempty" tf:"events_to_export,omitempty"` + + // +kubebuilder:validation:Required + IothubIds []*string `json:"iothubIds" tf:"iothub_ids,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + LogUnmaskedIpsEnabled *bool `json:"logUnmaskedIpsEnabled,omitempty" tf:"log_unmasked_ips_enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + QueryForResources *string `json:"queryForResources,omitempty" tf:"query_for_resources,omitempty"` + + // +kubebuilder:validation:Optional + QuerySubscriptionIds []*string `json:"querySubscriptionIds,omitempty" tf:"query_subscription_ids,omitempty"` + + // +kubebuilder:validation:Optional + RecommendationsEnabled []RecommendationsEnabledParameters `json:"recommendationsEnabled,omitempty" tf:"recommendations_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SecuritySolutionSpec defines the desired state of SecuritySolution +type SecuritySolutionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SecuritySolutionParameters `json:"forProvider"` +} + +// SecuritySolutionStatus defines the observed state of SecuritySolution. +type SecuritySolutionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SecuritySolutionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecuritySolution is the Schema for the SecuritySolutions API +// +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,azurejet} +type SecuritySolution struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SecuritySolutionSpec `json:"spec"` + Status SecuritySolutionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecuritySolutionList contains a list of SecuritySolutions +type SecuritySolutionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SecuritySolution `json:"items"` +} + +// Repository type metadata. +var ( + SecuritySolution_Kind = "SecuritySolution" + SecuritySolution_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecuritySolution_Kind}.String() + SecuritySolution_KindAPIVersion = SecuritySolution_Kind + "." + CRDGroupVersion.String() + SecuritySolution_GroupVersionKind = CRDGroupVersion.WithKind(SecuritySolution_Kind) +) + +func init() { + SchemeBuilder.Register(&SecuritySolution{}, &SecuritySolutionList{}) +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsaccesspolicy_terraformed.go b/apis/iot/v1alpha1/zz_timeseriesinsightsaccesspolicy_terraformed.go new file mode 100755 index 000000000..0138928f1 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsaccesspolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TimeSeriesInsightsAccessPolicy +func (mg *TimeSeriesInsightsAccessPolicy) GetTerraformResourceType() string { + return "azurerm_iot_time_series_insights_access_policy" +} + +// GetConnectionDetailsMapping for this TimeSeriesInsightsAccessPolicy +func (tr *TimeSeriesInsightsAccessPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TimeSeriesInsightsAccessPolicy +func (tr *TimeSeriesInsightsAccessPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TimeSeriesInsightsAccessPolicy +func (tr *TimeSeriesInsightsAccessPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TimeSeriesInsightsAccessPolicy +func (tr *TimeSeriesInsightsAccessPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TimeSeriesInsightsAccessPolicy +func (tr *TimeSeriesInsightsAccessPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TimeSeriesInsightsAccessPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TimeSeriesInsightsAccessPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &TimeSeriesInsightsAccessPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TimeSeriesInsightsAccessPolicy) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsaccesspolicy_types.go b/apis/iot/v1alpha1/zz_timeseriesinsightsaccesspolicy_types.go new file mode 100755 index 000000000..4efc5ce52 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsaccesspolicy_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TimeSeriesInsightsAccessPolicyObservation struct { +} + +type TimeSeriesInsightsAccessPolicyParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrincipalObjectID *string `json:"principalObjectId" tf:"principal_object_id,omitempty"` + + // +kubebuilder:validation:Required + Roles []*string `json:"roles" tf:"roles,omitempty"` + + // +kubebuilder:validation:Required + TimeSeriesInsightsEnvironmentID *string `json:"timeSeriesInsightsEnvironmentId" tf:"time_series_insights_environment_id,omitempty"` +} + +// TimeSeriesInsightsAccessPolicySpec defines the desired state of TimeSeriesInsightsAccessPolicy +type TimeSeriesInsightsAccessPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TimeSeriesInsightsAccessPolicyParameters `json:"forProvider"` +} + +// TimeSeriesInsightsAccessPolicyStatus defines the observed state of TimeSeriesInsightsAccessPolicy. +type TimeSeriesInsightsAccessPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TimeSeriesInsightsAccessPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsAccessPolicy is the Schema for the TimeSeriesInsightsAccessPolicys API +// +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,azurejet} +type TimeSeriesInsightsAccessPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TimeSeriesInsightsAccessPolicySpec `json:"spec"` + Status TimeSeriesInsightsAccessPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsAccessPolicyList contains a list of TimeSeriesInsightsAccessPolicys +type TimeSeriesInsightsAccessPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TimeSeriesInsightsAccessPolicy `json:"items"` +} + +// Repository type metadata. +var ( + TimeSeriesInsightsAccessPolicy_Kind = "TimeSeriesInsightsAccessPolicy" + TimeSeriesInsightsAccessPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TimeSeriesInsightsAccessPolicy_Kind}.String() + TimeSeriesInsightsAccessPolicy_KindAPIVersion = TimeSeriesInsightsAccessPolicy_Kind + "." + CRDGroupVersion.String() + TimeSeriesInsightsAccessPolicy_GroupVersionKind = CRDGroupVersion.WithKind(TimeSeriesInsightsAccessPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&TimeSeriesInsightsAccessPolicy{}, &TimeSeriesInsightsAccessPolicyList{}) +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightseventsourceiothub_terraformed.go b/apis/iot/v1alpha1/zz_timeseriesinsightseventsourceiothub_terraformed.go new file mode 100755 index 000000000..7dec8fba7 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightseventsourceiothub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TimeSeriesInsightsEventSourceIothub +func (mg *TimeSeriesInsightsEventSourceIothub) GetTerraformResourceType() string { + return "azurerm_iot_time_series_insights_event_source_iothub" +} + +// GetConnectionDetailsMapping for this TimeSeriesInsightsEventSourceIothub +func (tr *TimeSeriesInsightsEventSourceIothub) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TimeSeriesInsightsEventSourceIothub +func (tr *TimeSeriesInsightsEventSourceIothub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TimeSeriesInsightsEventSourceIothub +func (tr *TimeSeriesInsightsEventSourceIothub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TimeSeriesInsightsEventSourceIothub +func (tr *TimeSeriesInsightsEventSourceIothub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TimeSeriesInsightsEventSourceIothub +func (tr *TimeSeriesInsightsEventSourceIothub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TimeSeriesInsightsEventSourceIothub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TimeSeriesInsightsEventSourceIothub) LateInitialize(attrs []byte) (bool, error) { + params := &TimeSeriesInsightsEventSourceIothubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TimeSeriesInsightsEventSourceIothub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightseventsourceiothub_types.go b/apis/iot/v1alpha1/zz_timeseriesinsightseventsourceiothub_types.go new file mode 100755 index 000000000..623660171 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightseventsourceiothub_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TimeSeriesInsightsEventSourceIothubObservation struct { +} + +type TimeSeriesInsightsEventSourceIothubParameters struct { + + // +kubebuilder:validation:Required + ConsumerGroupName *string `json:"consumerGroupName" tf:"consumer_group_name,omitempty"` + + // +kubebuilder:validation:Required + EnvironmentID *string `json:"environmentId" tf:"environment_id,omitempty"` + + // +kubebuilder:validation:Required + EventSourceResourceID *string `json:"eventSourceResourceId" tf:"event_source_resource_id,omitempty"` + + // +kubebuilder:validation:Required + IothubName *string `json:"iothubName" tf:"iothub_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessKey *string `json:"sharedAccessKey" tf:"shared_access_key,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessKeyName *string `json:"sharedAccessKeyName" tf:"shared_access_key_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TimestampPropertyName *string `json:"timestampPropertyName,omitempty" tf:"timestamp_property_name,omitempty"` +} + +// TimeSeriesInsightsEventSourceIothubSpec defines the desired state of TimeSeriesInsightsEventSourceIothub +type TimeSeriesInsightsEventSourceIothubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TimeSeriesInsightsEventSourceIothubParameters `json:"forProvider"` +} + +// TimeSeriesInsightsEventSourceIothubStatus defines the observed state of TimeSeriesInsightsEventSourceIothub. +type TimeSeriesInsightsEventSourceIothubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TimeSeriesInsightsEventSourceIothubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsEventSourceIothub is the Schema for the TimeSeriesInsightsEventSourceIothubs API +// +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,azurejet} +type TimeSeriesInsightsEventSourceIothub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TimeSeriesInsightsEventSourceIothubSpec `json:"spec"` + Status TimeSeriesInsightsEventSourceIothubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsEventSourceIothubList contains a list of TimeSeriesInsightsEventSourceIothubs +type TimeSeriesInsightsEventSourceIothubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TimeSeriesInsightsEventSourceIothub `json:"items"` +} + +// Repository type metadata. +var ( + TimeSeriesInsightsEventSourceIothub_Kind = "TimeSeriesInsightsEventSourceIothub" + TimeSeriesInsightsEventSourceIothub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TimeSeriesInsightsEventSourceIothub_Kind}.String() + TimeSeriesInsightsEventSourceIothub_KindAPIVersion = TimeSeriesInsightsEventSourceIothub_Kind + "." + CRDGroupVersion.String() + TimeSeriesInsightsEventSourceIothub_GroupVersionKind = CRDGroupVersion.WithKind(TimeSeriesInsightsEventSourceIothub_Kind) +) + +func init() { + SchemeBuilder.Register(&TimeSeriesInsightsEventSourceIothub{}, &TimeSeriesInsightsEventSourceIothubList{}) +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsgen2environment_terraformed.go b/apis/iot/v1alpha1/zz_timeseriesinsightsgen2environment_terraformed.go new file mode 100755 index 000000000..3fd135d20 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsgen2environment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TimeSeriesInsightsGen2Environment +func (mg *TimeSeriesInsightsGen2Environment) GetTerraformResourceType() string { + return "azurerm_iot_time_series_insights_gen2_environment" +} + +// GetConnectionDetailsMapping for this TimeSeriesInsightsGen2Environment +func (tr *TimeSeriesInsightsGen2Environment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TimeSeriesInsightsGen2Environment +func (tr *TimeSeriesInsightsGen2Environment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TimeSeriesInsightsGen2Environment +func (tr *TimeSeriesInsightsGen2Environment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TimeSeriesInsightsGen2Environment +func (tr *TimeSeriesInsightsGen2Environment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TimeSeriesInsightsGen2Environment +func (tr *TimeSeriesInsightsGen2Environment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TimeSeriesInsightsGen2Environment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TimeSeriesInsightsGen2Environment) LateInitialize(attrs []byte) (bool, error) { + params := &TimeSeriesInsightsGen2EnvironmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TimeSeriesInsightsGen2Environment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsgen2environment_types.go b/apis/iot/v1alpha1/zz_timeseriesinsightsgen2environment_types.go new file mode 100755 index 000000000..aa7020a9b --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsgen2environment_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type StorageObservation struct { +} + +type StorageParameters struct { + + // +kubebuilder:validation:Required + Key *string `json:"key" tf:"key,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type TimeSeriesInsightsGen2EnvironmentObservation struct { + DataAccessFqdn *string `json:"dataAccessFqdn,omitempty" tf:"data_access_fqdn,omitempty"` +} + +type TimeSeriesInsightsGen2EnvironmentParameters struct { + + // +kubebuilder:validation:Required + IDProperties []*string `json:"idProperties" tf:"id_properties,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + Storage []StorageParameters `json:"storage" tf:"storage,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + WarmStoreDataRetentionTime *string `json:"warmStoreDataRetentionTime,omitempty" tf:"warm_store_data_retention_time,omitempty"` +} + +// TimeSeriesInsightsGen2EnvironmentSpec defines the desired state of TimeSeriesInsightsGen2Environment +type TimeSeriesInsightsGen2EnvironmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TimeSeriesInsightsGen2EnvironmentParameters `json:"forProvider"` +} + +// TimeSeriesInsightsGen2EnvironmentStatus defines the observed state of TimeSeriesInsightsGen2Environment. +type TimeSeriesInsightsGen2EnvironmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TimeSeriesInsightsGen2EnvironmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsGen2Environment is the Schema for the TimeSeriesInsightsGen2Environments API +// +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,azurejet} +type TimeSeriesInsightsGen2Environment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TimeSeriesInsightsGen2EnvironmentSpec `json:"spec"` + Status TimeSeriesInsightsGen2EnvironmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsGen2EnvironmentList contains a list of TimeSeriesInsightsGen2Environments +type TimeSeriesInsightsGen2EnvironmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TimeSeriesInsightsGen2Environment `json:"items"` +} + +// Repository type metadata. +var ( + TimeSeriesInsightsGen2Environment_Kind = "TimeSeriesInsightsGen2Environment" + TimeSeriesInsightsGen2Environment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TimeSeriesInsightsGen2Environment_Kind}.String() + TimeSeriesInsightsGen2Environment_KindAPIVersion = TimeSeriesInsightsGen2Environment_Kind + "." + CRDGroupVersion.String() + TimeSeriesInsightsGen2Environment_GroupVersionKind = CRDGroupVersion.WithKind(TimeSeriesInsightsGen2Environment_Kind) +) + +func init() { + SchemeBuilder.Register(&TimeSeriesInsightsGen2Environment{}, &TimeSeriesInsightsGen2EnvironmentList{}) +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsreferencedataset_terraformed.go b/apis/iot/v1alpha1/zz_timeseriesinsightsreferencedataset_terraformed.go new file mode 100755 index 000000000..10431d956 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsreferencedataset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TimeSeriesInsightsReferenceDataSet +func (mg *TimeSeriesInsightsReferenceDataSet) GetTerraformResourceType() string { + return "azurerm_iot_time_series_insights_reference_data_set" +} + +// GetConnectionDetailsMapping for this TimeSeriesInsightsReferenceDataSet +func (tr *TimeSeriesInsightsReferenceDataSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TimeSeriesInsightsReferenceDataSet +func (tr *TimeSeriesInsightsReferenceDataSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TimeSeriesInsightsReferenceDataSet +func (tr *TimeSeriesInsightsReferenceDataSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TimeSeriesInsightsReferenceDataSet +func (tr *TimeSeriesInsightsReferenceDataSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TimeSeriesInsightsReferenceDataSet +func (tr *TimeSeriesInsightsReferenceDataSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TimeSeriesInsightsReferenceDataSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TimeSeriesInsightsReferenceDataSet) LateInitialize(attrs []byte) (bool, error) { + params := &TimeSeriesInsightsReferenceDataSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TimeSeriesInsightsReferenceDataSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsreferencedataset_types.go b/apis/iot/v1alpha1/zz_timeseriesinsightsreferencedataset_types.go new file mode 100755 index 000000000..4ef61db2a --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsreferencedataset_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type KeyPropertyObservation struct { +} + +type KeyPropertyParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type TimeSeriesInsightsReferenceDataSetObservation struct { +} + +type TimeSeriesInsightsReferenceDataSetParameters struct { + + // +kubebuilder:validation:Optional + DataStringComparisonBehavior *string `json:"dataStringComparisonBehavior,omitempty" tf:"data_string_comparison_behavior,omitempty"` + + // +kubebuilder:validation:Required + KeyProperty []KeyPropertyParameters `json:"keyProperty" tf:"key_property,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TimeSeriesInsightsEnvironmentID *string `json:"timeSeriesInsightsEnvironmentId" tf:"time_series_insights_environment_id,omitempty"` +} + +// TimeSeriesInsightsReferenceDataSetSpec defines the desired state of TimeSeriesInsightsReferenceDataSet +type TimeSeriesInsightsReferenceDataSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TimeSeriesInsightsReferenceDataSetParameters `json:"forProvider"` +} + +// TimeSeriesInsightsReferenceDataSetStatus defines the observed state of TimeSeriesInsightsReferenceDataSet. +type TimeSeriesInsightsReferenceDataSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TimeSeriesInsightsReferenceDataSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsReferenceDataSet is the Schema for the TimeSeriesInsightsReferenceDataSets API +// +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,azurejet} +type TimeSeriesInsightsReferenceDataSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TimeSeriesInsightsReferenceDataSetSpec `json:"spec"` + Status TimeSeriesInsightsReferenceDataSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsReferenceDataSetList contains a list of TimeSeriesInsightsReferenceDataSets +type TimeSeriesInsightsReferenceDataSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TimeSeriesInsightsReferenceDataSet `json:"items"` +} + +// Repository type metadata. +var ( + TimeSeriesInsightsReferenceDataSet_Kind = "TimeSeriesInsightsReferenceDataSet" + TimeSeriesInsightsReferenceDataSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TimeSeriesInsightsReferenceDataSet_Kind}.String() + TimeSeriesInsightsReferenceDataSet_KindAPIVersion = TimeSeriesInsightsReferenceDataSet_Kind + "." + CRDGroupVersion.String() + TimeSeriesInsightsReferenceDataSet_GroupVersionKind = CRDGroupVersion.WithKind(TimeSeriesInsightsReferenceDataSet_Kind) +) + +func init() { + SchemeBuilder.Register(&TimeSeriesInsightsReferenceDataSet{}, &TimeSeriesInsightsReferenceDataSetList{}) +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsstandardenvironment_terraformed.go b/apis/iot/v1alpha1/zz_timeseriesinsightsstandardenvironment_terraformed.go new file mode 100755 index 000000000..cf25505c5 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsstandardenvironment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TimeSeriesInsightsStandardEnvironment +func (mg *TimeSeriesInsightsStandardEnvironment) GetTerraformResourceType() string { + return "azurerm_iot_time_series_insights_standard_environment" +} + +// GetConnectionDetailsMapping for this TimeSeriesInsightsStandardEnvironment +func (tr *TimeSeriesInsightsStandardEnvironment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TimeSeriesInsightsStandardEnvironment +func (tr *TimeSeriesInsightsStandardEnvironment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TimeSeriesInsightsStandardEnvironment +func (tr *TimeSeriesInsightsStandardEnvironment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TimeSeriesInsightsStandardEnvironment +func (tr *TimeSeriesInsightsStandardEnvironment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TimeSeriesInsightsStandardEnvironment +func (tr *TimeSeriesInsightsStandardEnvironment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TimeSeriesInsightsStandardEnvironment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TimeSeriesInsightsStandardEnvironment) LateInitialize(attrs []byte) (bool, error) { + params := &TimeSeriesInsightsStandardEnvironmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TimeSeriesInsightsStandardEnvironment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/iot/v1alpha1/zz_timeseriesinsightsstandardenvironment_types.go b/apis/iot/v1alpha1/zz_timeseriesinsightsstandardenvironment_types.go new file mode 100755 index 000000000..908178540 --- /dev/null +++ b/apis/iot/v1alpha1/zz_timeseriesinsightsstandardenvironment_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TimeSeriesInsightsStandardEnvironmentObservation struct { +} + +type TimeSeriesInsightsStandardEnvironmentParameters struct { + + // +kubebuilder:validation:Required + DataRetentionTime *string `json:"dataRetentionTime" tf:"data_retention_time,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PartitionKey *string `json:"partitionKey,omitempty" tf:"partition_key,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageLimitExceededBehavior *string `json:"storageLimitExceededBehavior,omitempty" tf:"storage_limit_exceeded_behavior,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// TimeSeriesInsightsStandardEnvironmentSpec defines the desired state of TimeSeriesInsightsStandardEnvironment +type TimeSeriesInsightsStandardEnvironmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TimeSeriesInsightsStandardEnvironmentParameters `json:"forProvider"` +} + +// TimeSeriesInsightsStandardEnvironmentStatus defines the observed state of TimeSeriesInsightsStandardEnvironment. +type TimeSeriesInsightsStandardEnvironmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TimeSeriesInsightsStandardEnvironmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsStandardEnvironment is the Schema for the TimeSeriesInsightsStandardEnvironments API +// +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,azurejet} +type TimeSeriesInsightsStandardEnvironment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TimeSeriesInsightsStandardEnvironmentSpec `json:"spec"` + Status TimeSeriesInsightsStandardEnvironmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TimeSeriesInsightsStandardEnvironmentList contains a list of TimeSeriesInsightsStandardEnvironments +type TimeSeriesInsightsStandardEnvironmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TimeSeriesInsightsStandardEnvironment `json:"items"` +} + +// Repository type metadata. +var ( + TimeSeriesInsightsStandardEnvironment_Kind = "TimeSeriesInsightsStandardEnvironment" + TimeSeriesInsightsStandardEnvironment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TimeSeriesInsightsStandardEnvironment_Kind}.String() + TimeSeriesInsightsStandardEnvironment_KindAPIVersion = TimeSeriesInsightsStandardEnvironment_Kind + "." + CRDGroupVersion.String() + TimeSeriesInsightsStandardEnvironment_GroupVersionKind = CRDGroupVersion.WithKind(TimeSeriesInsightsStandardEnvironment_Kind) +) + +func init() { + SchemeBuilder.Register(&TimeSeriesInsightsStandardEnvironment{}, &TimeSeriesInsightsStandardEnvironmentList{}) +} diff --git a/apis/iotcentral/v1alpha1/zz_application_terraformed.go b/apis/iotcentral/v1alpha1/zz_application_terraformed.go new file mode 100755 index 000000000..86e3d287a --- /dev/null +++ b/apis/iotcentral/v1alpha1/zz_application_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Application +func (mg *Application) GetTerraformResourceType() string { + return "azurerm_iotcentral_application" +} + +// GetConnectionDetailsMapping for this Application +func (tr *Application) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Application +func (tr *Application) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Application +func (tr *Application) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Application +func (tr *Application) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Application +func (tr *Application) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Application using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Application) LateInitialize(attrs []byte) (bool, error) { + params := &ApplicationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Application) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/iotcentral/v1alpha1/zz_application_types.go b/apis/iotcentral/v1alpha1/zz_application_types.go new file mode 100755 index 000000000..335ca81d1 --- /dev/null +++ b/apis/iotcentral/v1alpha1/zz_application_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationObservation struct { +} + +type ApplicationParameters struct { + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + SubDomain *string `json:"subDomain" tf:"sub_domain,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Template *string `json:"template,omitempty" tf:"template,omitempty"` +} + +// ApplicationSpec defines the desired state of Application +type ApplicationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ApplicationParameters `json:"forProvider"` +} + +// ApplicationStatus defines the observed state of Application. +type ApplicationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ApplicationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Application is the Schema for the Applications API +// +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,azurejet} +type Application struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ApplicationSpec `json:"spec"` + Status ApplicationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationList contains a list of Applications +type ApplicationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Application `json:"items"` +} + +// Repository type metadata. +var ( + Application_Kind = "Application" + Application_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String() + Application_KindAPIVersion = Application_Kind + "." + CRDGroupVersion.String() + Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_Kind) +) + +func init() { + SchemeBuilder.Register(&Application{}, &ApplicationList{}) +} diff --git a/apis/iotcentral/v1alpha1/zz_generated.deepcopy.go b/apis/iotcentral/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..e940913c6 --- /dev/null +++ b/apis/iotcentral/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,198 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Application) DeepCopyInto(out *Application) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application. +func (in *Application) DeepCopy() *Application { + if in == nil { + return nil + } + out := new(Application) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Application) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationList) DeepCopyInto(out *ApplicationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Application, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList. +func (in *ApplicationList) DeepCopy() *ApplicationList { + if in == nil { + return nil + } + out := new(ApplicationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationObservation. +func (in *ApplicationObservation) DeepCopy() *ApplicationObservation { + if in == nil { + return nil + } + out := new(ApplicationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.SubDomain != nil { + in, out := &in.SubDomain, &out.SubDomain + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Template != nil { + in, out := &in.Template, &out.Template + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationParameters. +func (in *ApplicationParameters) DeepCopy() *ApplicationParameters { + if in == nil { + return nil + } + out := new(ApplicationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec. +func (in *ApplicationSpec) DeepCopy() *ApplicationSpec { + if in == nil { + return nil + } + out := new(ApplicationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus. +func (in *ApplicationStatus) DeepCopy() *ApplicationStatus { + if in == nil { + return nil + } + out := new(ApplicationStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/iotcentral/v1alpha1/zz_generated.managed.go b/apis/iotcentral/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..88c42d0da --- /dev/null +++ b/apis/iotcentral/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Application. +func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Application. +func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Application. +func (mg *Application) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Application. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Application) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Application. +func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Application. +func (mg *Application) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Application. +func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Application. +func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Application. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Application) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Application. +func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/iotcentral/v1alpha1/zz_generated.managedlist.go b/apis/iotcentral/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..797d7f115 --- /dev/null +++ b/apis/iotcentral/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ApplicationList. +func (l *ApplicationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/iotcentral/v1alpha1/zz_groupversion_info.go b/apis/iotcentral/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..a88887642 --- /dev/null +++ b/apis/iotcentral/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=iotcentral.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "iotcentral.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/key/v1alpha1/zz_generated.deepcopy.go b/apis/key/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..aba764bf8 --- /dev/null +++ b/apis/key/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2487 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessPolicyObservation) DeepCopyInto(out *AccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicyObservation. +func (in *AccessPolicyObservation) DeepCopy() *AccessPolicyObservation { + if in == nil { + return nil + } + out := new(AccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessPolicyParameters) DeepCopyInto(out *AccessPolicyParameters) { + *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.CertificatePermissions != nil { + in, out := &in.CertificatePermissions, &out.CertificatePermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.KeyPermissions != nil { + in, out := &in.KeyPermissions, &out.KeyPermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.SecretPermissions != nil { + in, out := &in.SecretPermissions, &out.SecretPermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.StoragePermissions != nil { + in, out := &in.StoragePermissions, &out.StoragePermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicyParameters. +func (in *AccessPolicyParameters) DeepCopy() *AccessPolicyParameters { + if in == nil { + return nil + } + out := new(AccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionObservation) DeepCopyInto(out *ActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionObservation. +func (in *ActionObservation) DeepCopy() *ActionObservation { + if in == nil { + return nil + } + out := new(ActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { + *out = *in + if in.ActionType != nil { + in, out := &in.ActionType, &out.ActionType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionParameters. +func (in *ActionParameters) DeepCopy() *ActionParameters { + if in == nil { + return nil + } + out := new(ActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdminObservation) DeepCopyInto(out *AdminObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminObservation. +func (in *AdminObservation) DeepCopy() *AdminObservation { + if in == nil { + return nil + } + out := new(AdminObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdminParameters) DeepCopyInto(out *AdminParameters) { + *out = *in + if in.EmailAddress != nil { + in, out := &in.EmailAddress, &out.EmailAddress + *out = new(string) + **out = **in + } + if in.FirstName != nil { + in, out := &in.FirstName, &out.FirstName + *out = new(string) + **out = **in + } + if in.LastName != nil { + in, out := &in.LastName, &out.LastName + *out = new(string) + **out = **in + } + if in.Phone != nil { + in, out := &in.Phone, &out.Phone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminParameters. +func (in *AdminParameters) DeepCopy() *AdminParameters { + if in == nil { + return nil + } + out := new(AdminParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateAttributeObservation) DeepCopyInto(out *CertificateAttributeObservation) { + *out = *in + if in.Created != nil { + in, out := &in.Created, &out.Created + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Expires != nil { + in, out := &in.Expires, &out.Expires + *out = new(string) + **out = **in + } + if in.NotBefore != nil { + in, out := &in.NotBefore, &out.NotBefore + *out = new(string) + **out = **in + } + if in.RecoveryLevel != nil { + in, out := &in.RecoveryLevel, &out.RecoveryLevel + *out = new(string) + **out = **in + } + if in.Updated != nil { + in, out := &in.Updated, &out.Updated + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateAttributeObservation. +func (in *CertificateAttributeObservation) DeepCopy() *CertificateAttributeObservation { + if in == nil { + return nil + } + out := new(CertificateAttributeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateAttributeParameters) DeepCopyInto(out *CertificateAttributeParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateAttributeParameters. +func (in *CertificateAttributeParameters) DeepCopy() *CertificateAttributeParameters { + if in == nil { + return nil + } + out := new(CertificateAttributeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + out.ContentsSecretRef = in.ContentsSecretRef + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificatePolicyObservation) DeepCopyInto(out *CertificatePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatePolicyObservation. +func (in *CertificatePolicyObservation) DeepCopy() *CertificatePolicyObservation { + if in == nil { + return nil + } + out := new(CertificatePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificatePolicyParameters) DeepCopyInto(out *CertificatePolicyParameters) { + *out = *in + if in.IssuerParameters != nil { + in, out := &in.IssuerParameters, &out.IssuerParameters + *out = make([]IssuerParametersParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyProperties != nil { + in, out := &in.KeyProperties, &out.KeyProperties + *out = make([]KeyPropertiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LifetimeAction != nil { + in, out := &in.LifetimeAction, &out.LifetimeAction + *out = make([]LifetimeActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecretProperties != nil { + in, out := &in.SecretProperties, &out.SecretProperties + *out = make([]SecretPropertiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.X509CertificateProperties != nil { + in, out := &in.X509CertificateProperties, &out.X509CertificateProperties + *out = make([]X509CertificatePropertiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatePolicyParameters. +func (in *CertificatePolicyParameters) DeepCopy() *CertificatePolicyParameters { + if in == nil { + return nil + } + out := new(CertificatePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContactObservation) DeepCopyInto(out *ContactObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactObservation. +func (in *ContactObservation) DeepCopy() *ContactObservation { + if in == nil { + return nil + } + out := new(ContactObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContactParameters) DeepCopyInto(out *ContactParameters) { + *out = *in + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Phone != nil { + in, out := &in.Phone, &out.Phone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContactParameters. +func (in *ContactParameters) DeepCopy() *ContactParameters { + if in == nil { + return nil + } + out := new(ContactParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IssuerParametersObservation) DeepCopyInto(out *IssuerParametersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerParametersObservation. +func (in *IssuerParametersObservation) DeepCopy() *IssuerParametersObservation { + if in == nil { + return nil + } + out := new(IssuerParametersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IssuerParametersParameters) DeepCopyInto(out *IssuerParametersParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssuerParametersParameters. +func (in *IssuerParametersParameters) DeepCopy() *IssuerParametersParameters { + if in == nil { + return nil + } + out := new(IssuerParametersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyPropertiesObservation) DeepCopyInto(out *KeyPropertiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPropertiesObservation. +func (in *KeyPropertiesObservation) DeepCopy() *KeyPropertiesObservation { + if in == nil { + return nil + } + out := new(KeyPropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyPropertiesParameters) DeepCopyInto(out *KeyPropertiesParameters) { + *out = *in + if in.Curve != nil { + in, out := &in.Curve, &out.Curve + *out = new(string) + **out = **in + } + if in.Exportable != nil { + in, out := &in.Exportable, &out.Exportable + *out = new(bool) + **out = **in + } + if in.KeySize != nil { + in, out := &in.KeySize, &out.KeySize + *out = new(int64) + **out = **in + } + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType + *out = new(string) + **out = **in + } + if in.ReuseKey != nil { + in, out := &in.ReuseKey, &out.ReuseKey + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPropertiesParameters. +func (in *KeyPropertiesParameters) DeepCopy() *KeyPropertiesParameters { + if in == nil { + return nil + } + out := new(KeyPropertiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LifetimeActionObservation) DeepCopyInto(out *LifetimeActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifetimeActionObservation. +func (in *LifetimeActionObservation) DeepCopy() *LifetimeActionObservation { + if in == nil { + return nil + } + out := new(LifetimeActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LifetimeActionParameters) DeepCopyInto(out *LifetimeActionParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]ActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Trigger != nil { + in, out := &in.Trigger, &out.Trigger + *out = make([]TriggerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifetimeActionParameters. +func (in *LifetimeActionParameters) DeepCopy() *LifetimeActionParameters { + if in == nil { + return nil + } + out := new(LifetimeActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkAclsObservation) DeepCopyInto(out *NetworkAclsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAclsObservation. +func (in *NetworkAclsObservation) DeepCopy() *NetworkAclsObservation { + if in == nil { + return nil + } + out := new(NetworkAclsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkAclsParameters) DeepCopyInto(out *NetworkAclsParameters) { + *out = *in + if in.Bypass != nil { + in, out := &in.Bypass, &out.Bypass + *out = new(string) + **out = **in + } + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRules != nil { + in, out := &in.IPRules, &out.IPRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualNetworkSubnetIds != nil { + in, out := &in.VirtualNetworkSubnetIds, &out.VirtualNetworkSubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAclsParameters. +func (in *NetworkAclsParameters) DeepCopy() *NetworkAclsParameters { + if in == nil { + return nil + } + out := new(NetworkAclsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretPropertiesObservation) DeepCopyInto(out *SecretPropertiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretPropertiesObservation. +func (in *SecretPropertiesObservation) DeepCopy() *SecretPropertiesObservation { + if in == nil { + return nil + } + out := new(SecretPropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretPropertiesParameters) DeepCopyInto(out *SecretPropertiesParameters) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretPropertiesParameters. +func (in *SecretPropertiesParameters) DeepCopy() *SecretPropertiesParameters { + if in == nil { + return nil + } + out := new(SecretPropertiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubjectAlternativeNamesObservation) DeepCopyInto(out *SubjectAlternativeNamesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAlternativeNamesObservation. +func (in *SubjectAlternativeNamesObservation) DeepCopy() *SubjectAlternativeNamesObservation { + if in == nil { + return nil + } + out := new(SubjectAlternativeNamesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubjectAlternativeNamesParameters) DeepCopyInto(out *SubjectAlternativeNamesParameters) { + *out = *in + if in.DNSNames != nil { + in, out := &in.DNSNames, &out.DNSNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Emails != nil { + in, out := &in.Emails, &out.Emails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Upns != nil { + in, out := &in.Upns, &out.Upns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAlternativeNamesParameters. +func (in *SubjectAlternativeNamesParameters) DeepCopy() *SubjectAlternativeNamesParameters { + if in == nil { + return nil + } + out := new(SubjectAlternativeNamesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerObservation. +func (in *TriggerObservation) DeepCopy() *TriggerObservation { + if in == nil { + return nil + } + out := new(TriggerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters) { + *out = *in + if in.DaysBeforeExpiry != nil { + in, out := &in.DaysBeforeExpiry, &out.DaysBeforeExpiry + *out = new(int64) + **out = **in + } + if in.LifetimePercentage != nil { + in, out := &in.LifetimePercentage, &out.LifetimePercentage + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameters. +func (in *TriggerParameters) DeepCopy() *TriggerParameters { + if in == nil { + return nil + } + out := new(TriggerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Vault) DeepCopyInto(out *Vault) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vault. +func (in *Vault) DeepCopy() *Vault { + if in == nil { + return nil + } + out := new(Vault) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Vault) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultAccessPolicy) DeepCopyInto(out *VaultAccessPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAccessPolicy. +func (in *VaultAccessPolicy) DeepCopy() *VaultAccessPolicy { + if in == nil { + return nil + } + out := new(VaultAccessPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultAccessPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultAccessPolicyList) DeepCopyInto(out *VaultAccessPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultAccessPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAccessPolicyList. +func (in *VaultAccessPolicyList) DeepCopy() *VaultAccessPolicyList { + if in == nil { + return nil + } + out := new(VaultAccessPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultAccessPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultAccessPolicyObservation) DeepCopyInto(out *VaultAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAccessPolicyObservation. +func (in *VaultAccessPolicyObservation) DeepCopy() *VaultAccessPolicyObservation { + if in == nil { + return nil + } + out := new(VaultAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultAccessPolicyParameters) DeepCopyInto(out *VaultAccessPolicyParameters) { + *out = *in + if in.ApplicationID != nil { + in, out := &in.ApplicationID, &out.ApplicationID + *out = new(string) + **out = **in + } + if in.CertificatePermissions != nil { + in, out := &in.CertificatePermissions, &out.CertificatePermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.KeyPermissions != nil { + in, out := &in.KeyPermissions, &out.KeyPermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.SecretPermissions != nil { + in, out := &in.SecretPermissions, &out.SecretPermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.StoragePermissions != nil { + in, out := &in.StoragePermissions, &out.StoragePermissions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAccessPolicyParameters. +func (in *VaultAccessPolicyParameters) DeepCopy() *VaultAccessPolicyParameters { + if in == nil { + return nil + } + out := new(VaultAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultAccessPolicySpec) DeepCopyInto(out *VaultAccessPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAccessPolicySpec. +func (in *VaultAccessPolicySpec) DeepCopy() *VaultAccessPolicySpec { + if in == nil { + return nil + } + out := new(VaultAccessPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultAccessPolicyStatus) DeepCopyInto(out *VaultAccessPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultAccessPolicyStatus. +func (in *VaultAccessPolicyStatus) DeepCopy() *VaultAccessPolicyStatus { + if in == nil { + return nil + } + out := new(VaultAccessPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificate) DeepCopyInto(out *VaultCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificate. +func (in *VaultCertificate) DeepCopy() *VaultCertificate { + if in == nil { + return nil + } + out := new(VaultCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateIssuer) DeepCopyInto(out *VaultCertificateIssuer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateIssuer. +func (in *VaultCertificateIssuer) DeepCopy() *VaultCertificateIssuer { + if in == nil { + return nil + } + out := new(VaultCertificateIssuer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultCertificateIssuer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateIssuerList) DeepCopyInto(out *VaultCertificateIssuerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultCertificateIssuer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateIssuerList. +func (in *VaultCertificateIssuerList) DeepCopy() *VaultCertificateIssuerList { + if in == nil { + return nil + } + out := new(VaultCertificateIssuerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultCertificateIssuerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateIssuerObservation) DeepCopyInto(out *VaultCertificateIssuerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateIssuerObservation. +func (in *VaultCertificateIssuerObservation) DeepCopy() *VaultCertificateIssuerObservation { + if in == nil { + return nil + } + out := new(VaultCertificateIssuerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateIssuerParameters) DeepCopyInto(out *VaultCertificateIssuerParameters) { + *out = *in + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } + if in.Admin != nil { + in, out := &in.Admin, &out.Admin + *out = make([]AdminParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OrgID != nil { + in, out := &in.OrgID, &out.OrgID + *out = new(string) + **out = **in + } + if in.PasswordSecretRef != nil { + in, out := &in.PasswordSecretRef, &out.PasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ProviderName != nil { + in, out := &in.ProviderName, &out.ProviderName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateIssuerParameters. +func (in *VaultCertificateIssuerParameters) DeepCopy() *VaultCertificateIssuerParameters { + if in == nil { + return nil + } + out := new(VaultCertificateIssuerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateIssuerSpec) DeepCopyInto(out *VaultCertificateIssuerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateIssuerSpec. +func (in *VaultCertificateIssuerSpec) DeepCopy() *VaultCertificateIssuerSpec { + if in == nil { + return nil + } + out := new(VaultCertificateIssuerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateIssuerStatus) DeepCopyInto(out *VaultCertificateIssuerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateIssuerStatus. +func (in *VaultCertificateIssuerStatus) DeepCopy() *VaultCertificateIssuerStatus { + if in == nil { + return nil + } + out := new(VaultCertificateIssuerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateList) DeepCopyInto(out *VaultCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateList. +func (in *VaultCertificateList) DeepCopy() *VaultCertificateList { + if in == nil { + return nil + } + out := new(VaultCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateObservation) DeepCopyInto(out *VaultCertificateObservation) { + *out = *in + if in.CertificateAttribute != nil { + in, out := &in.CertificateAttribute, &out.CertificateAttribute + *out = make([]CertificateAttributeObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CertificateData != nil { + in, out := &in.CertificateData, &out.CertificateData + *out = new(string) + **out = **in + } + if in.CertificateDataBase64 != nil { + in, out := &in.CertificateDataBase64, &out.CertificateDataBase64 + *out = new(string) + **out = **in + } + if in.SecretID != nil { + in, out := &in.SecretID, &out.SecretID + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateObservation. +func (in *VaultCertificateObservation) DeepCopy() *VaultCertificateObservation { + if in == nil { + return nil + } + out := new(VaultCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateParameters) DeepCopyInto(out *VaultCertificateParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CertificatePolicy != nil { + in, out := &in.CertificatePolicy, &out.CertificatePolicy + *out = make([]CertificatePolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateParameters. +func (in *VaultCertificateParameters) DeepCopy() *VaultCertificateParameters { + if in == nil { + return nil + } + out := new(VaultCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateSpec) DeepCopyInto(out *VaultCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateSpec. +func (in *VaultCertificateSpec) DeepCopy() *VaultCertificateSpec { + if in == nil { + return nil + } + out := new(VaultCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultCertificateStatus) DeepCopyInto(out *VaultCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultCertificateStatus. +func (in *VaultCertificateStatus) DeepCopy() *VaultCertificateStatus { + if in == nil { + return nil + } + out := new(VaultCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultKey) DeepCopyInto(out *VaultKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKey. +func (in *VaultKey) DeepCopy() *VaultKey { + if in == nil { + return nil + } + out := new(VaultKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultKeyList) DeepCopyInto(out *VaultKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKeyList. +func (in *VaultKeyList) DeepCopy() *VaultKeyList { + if in == nil { + return nil + } + out := new(VaultKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultKeyObservation) DeepCopyInto(out *VaultKeyObservation) { + *out = *in + if in.E != nil { + in, out := &in.E, &out.E + *out = new(string) + **out = **in + } + if in.N != nil { + in, out := &in.N, &out.N + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionlessID != nil { + in, out := &in.VersionlessID, &out.VersionlessID + *out = new(string) + **out = **in + } + if in.X != nil { + in, out := &in.X, &out.X + *out = new(string) + **out = **in + } + if in.Y != nil { + in, out := &in.Y, &out.Y + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKeyObservation. +func (in *VaultKeyObservation) DeepCopy() *VaultKeyObservation { + if in == nil { + return nil + } + out := new(VaultKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultKeyParameters) DeepCopyInto(out *VaultKeyParameters) { + *out = *in + if in.Curve != nil { + in, out := &in.Curve, &out.Curve + *out = new(string) + **out = **in + } + if in.ExpirationDate != nil { + in, out := &in.ExpirationDate, &out.ExpirationDate + *out = new(string) + **out = **in + } + if in.KeyOpts != nil { + in, out := &in.KeyOpts, &out.KeyOpts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.KeySize != nil { + in, out := &in.KeySize, &out.KeySize + *out = new(int64) + **out = **in + } + if in.KeyType != nil { + in, out := &in.KeyType, &out.KeyType + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotBeforeDate != nil { + in, out := &in.NotBeforeDate, &out.NotBeforeDate + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKeyParameters. +func (in *VaultKeyParameters) DeepCopy() *VaultKeyParameters { + if in == nil { + return nil + } + out := new(VaultKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultKeySpec) DeepCopyInto(out *VaultKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKeySpec. +func (in *VaultKeySpec) DeepCopy() *VaultKeySpec { + if in == nil { + return nil + } + out := new(VaultKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultKeyStatus) DeepCopyInto(out *VaultKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultKeyStatus. +func (in *VaultKeyStatus) DeepCopy() *VaultKeyStatus { + if in == nil { + return nil + } + out := new(VaultKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultList) DeepCopyInto(out *VaultList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Vault, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultList. +func (in *VaultList) DeepCopy() *VaultList { + if in == nil { + return nil + } + out := new(VaultList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedHardwareSecurityModule) DeepCopyInto(out *VaultManagedHardwareSecurityModule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedHardwareSecurityModule. +func (in *VaultManagedHardwareSecurityModule) DeepCopy() *VaultManagedHardwareSecurityModule { + if in == nil { + return nil + } + out := new(VaultManagedHardwareSecurityModule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultManagedHardwareSecurityModule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedHardwareSecurityModuleList) DeepCopyInto(out *VaultManagedHardwareSecurityModuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultManagedHardwareSecurityModule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedHardwareSecurityModuleList. +func (in *VaultManagedHardwareSecurityModuleList) DeepCopy() *VaultManagedHardwareSecurityModuleList { + if in == nil { + return nil + } + out := new(VaultManagedHardwareSecurityModuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultManagedHardwareSecurityModuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedHardwareSecurityModuleObservation) DeepCopyInto(out *VaultManagedHardwareSecurityModuleObservation) { + *out = *in + if in.HsmURI != nil { + in, out := &in.HsmURI, &out.HsmURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedHardwareSecurityModuleObservation. +func (in *VaultManagedHardwareSecurityModuleObservation) DeepCopy() *VaultManagedHardwareSecurityModuleObservation { + if in == nil { + return nil + } + out := new(VaultManagedHardwareSecurityModuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedHardwareSecurityModuleParameters) DeepCopyInto(out *VaultManagedHardwareSecurityModuleParameters) { + *out = *in + if in.AdminObjectIds != nil { + in, out := &in.AdminObjectIds, &out.AdminObjectIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PurgeProtectionEnabled != nil { + in, out := &in.PurgeProtectionEnabled, &out.PurgeProtectionEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SoftDeleteRetentionDays != nil { + in, out := &in.SoftDeleteRetentionDays, &out.SoftDeleteRetentionDays + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedHardwareSecurityModuleParameters. +func (in *VaultManagedHardwareSecurityModuleParameters) DeepCopy() *VaultManagedHardwareSecurityModuleParameters { + if in == nil { + return nil + } + out := new(VaultManagedHardwareSecurityModuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedHardwareSecurityModuleSpec) DeepCopyInto(out *VaultManagedHardwareSecurityModuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedHardwareSecurityModuleSpec. +func (in *VaultManagedHardwareSecurityModuleSpec) DeepCopy() *VaultManagedHardwareSecurityModuleSpec { + if in == nil { + return nil + } + out := new(VaultManagedHardwareSecurityModuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedHardwareSecurityModuleStatus) DeepCopyInto(out *VaultManagedHardwareSecurityModuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedHardwareSecurityModuleStatus. +func (in *VaultManagedHardwareSecurityModuleStatus) DeepCopy() *VaultManagedHardwareSecurityModuleStatus { + if in == nil { + return nil + } + out := new(VaultManagedHardwareSecurityModuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccount) DeepCopyInto(out *VaultManagedStorageAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccount. +func (in *VaultManagedStorageAccount) DeepCopy() *VaultManagedStorageAccount { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultManagedStorageAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountList) DeepCopyInto(out *VaultManagedStorageAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultManagedStorageAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountList. +func (in *VaultManagedStorageAccountList) DeepCopy() *VaultManagedStorageAccountList { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultManagedStorageAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountObservation) DeepCopyInto(out *VaultManagedStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountObservation. +func (in *VaultManagedStorageAccountObservation) DeepCopy() *VaultManagedStorageAccountObservation { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountParameters) DeepCopyInto(out *VaultManagedStorageAccountParameters) { + *out = *in + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RegenerateKeyAutomatically != nil { + in, out := &in.RegenerateKeyAutomatically, &out.RegenerateKeyAutomatically + *out = new(bool) + **out = **in + } + if in.RegenerationPeriod != nil { + in, out := &in.RegenerationPeriod, &out.RegenerationPeriod + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.StorageAccountKey != nil { + in, out := &in.StorageAccountKey, &out.StorageAccountKey + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountParameters. +func (in *VaultManagedStorageAccountParameters) DeepCopy() *VaultManagedStorageAccountParameters { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSasTokenDefinition) DeepCopyInto(out *VaultManagedStorageAccountSasTokenDefinition) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSasTokenDefinition. +func (in *VaultManagedStorageAccountSasTokenDefinition) DeepCopy() *VaultManagedStorageAccountSasTokenDefinition { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSasTokenDefinition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultManagedStorageAccountSasTokenDefinition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSasTokenDefinitionList) DeepCopyInto(out *VaultManagedStorageAccountSasTokenDefinitionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultManagedStorageAccountSasTokenDefinition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSasTokenDefinitionList. +func (in *VaultManagedStorageAccountSasTokenDefinitionList) DeepCopy() *VaultManagedStorageAccountSasTokenDefinitionList { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSasTokenDefinitionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultManagedStorageAccountSasTokenDefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSasTokenDefinitionObservation) DeepCopyInto(out *VaultManagedStorageAccountSasTokenDefinitionObservation) { + *out = *in + if in.SecretID != nil { + in, out := &in.SecretID, &out.SecretID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSasTokenDefinitionObservation. +func (in *VaultManagedStorageAccountSasTokenDefinitionObservation) DeepCopy() *VaultManagedStorageAccountSasTokenDefinitionObservation { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSasTokenDefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSasTokenDefinitionParameters) DeepCopyInto(out *VaultManagedStorageAccountSasTokenDefinitionParameters) { + *out = *in + if in.ManagedStorageAccountID != nil { + in, out := &in.ManagedStorageAccountID, &out.ManagedStorageAccountID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SasTemplateURI != nil { + in, out := &in.SasTemplateURI, &out.SasTemplateURI + *out = new(string) + **out = **in + } + if in.SasType != nil { + in, out := &in.SasType, &out.SasType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ValidityPeriod != nil { + in, out := &in.ValidityPeriod, &out.ValidityPeriod + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSasTokenDefinitionParameters. +func (in *VaultManagedStorageAccountSasTokenDefinitionParameters) DeepCopy() *VaultManagedStorageAccountSasTokenDefinitionParameters { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSasTokenDefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSasTokenDefinitionSpec) DeepCopyInto(out *VaultManagedStorageAccountSasTokenDefinitionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSasTokenDefinitionSpec. +func (in *VaultManagedStorageAccountSasTokenDefinitionSpec) DeepCopy() *VaultManagedStorageAccountSasTokenDefinitionSpec { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSasTokenDefinitionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSasTokenDefinitionStatus) DeepCopyInto(out *VaultManagedStorageAccountSasTokenDefinitionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSasTokenDefinitionStatus. +func (in *VaultManagedStorageAccountSasTokenDefinitionStatus) DeepCopy() *VaultManagedStorageAccountSasTokenDefinitionStatus { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSasTokenDefinitionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountSpec) DeepCopyInto(out *VaultManagedStorageAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountSpec. +func (in *VaultManagedStorageAccountSpec) DeepCopy() *VaultManagedStorageAccountSpec { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultManagedStorageAccountStatus) DeepCopyInto(out *VaultManagedStorageAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultManagedStorageAccountStatus. +func (in *VaultManagedStorageAccountStatus) DeepCopy() *VaultManagedStorageAccountStatus { + if in == nil { + return nil + } + out := new(VaultManagedStorageAccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultObservation) DeepCopyInto(out *VaultObservation) { + *out = *in + if in.VaultURI != nil { + in, out := &in.VaultURI, &out.VaultURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultObservation. +func (in *VaultObservation) DeepCopy() *VaultObservation { + if in == nil { + return nil + } + out := new(VaultObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultParameters) DeepCopyInto(out *VaultParameters) { + *out = *in + if in.AccessPolicy != nil { + in, out := &in.AccessPolicy, &out.AccessPolicy + *out = make([]AccessPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Contact != nil { + in, out := &in.Contact, &out.Contact + *out = make([]ContactParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableRbacAuthorization != nil { + in, out := &in.EnableRbacAuthorization, &out.EnableRbacAuthorization + *out = new(bool) + **out = **in + } + if in.EnabledForDeployment != nil { + in, out := &in.EnabledForDeployment, &out.EnabledForDeployment + *out = new(bool) + **out = **in + } + if in.EnabledForDiskEncryption != nil { + in, out := &in.EnabledForDiskEncryption, &out.EnabledForDiskEncryption + *out = new(bool) + **out = **in + } + if in.EnabledForTemplateDeployment != nil { + in, out := &in.EnabledForTemplateDeployment, &out.EnabledForTemplateDeployment + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkAcls != nil { + in, out := &in.NetworkAcls, &out.NetworkAcls + *out = make([]NetworkAclsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PurgeProtectionEnabled != nil { + in, out := &in.PurgeProtectionEnabled, &out.PurgeProtectionEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SoftDeleteEnabled != nil { + in, out := &in.SoftDeleteEnabled, &out.SoftDeleteEnabled + *out = new(bool) + **out = **in + } + if in.SoftDeleteRetentionDays != nil { + in, out := &in.SoftDeleteRetentionDays, &out.SoftDeleteRetentionDays + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultParameters. +func (in *VaultParameters) DeepCopy() *VaultParameters { + if in == nil { + return nil + } + out := new(VaultParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSecret) DeepCopyInto(out *VaultSecret) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSecret. +func (in *VaultSecret) DeepCopy() *VaultSecret { + if in == nil { + return nil + } + out := new(VaultSecret) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultSecret) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSecretList) DeepCopyInto(out *VaultSecretList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VaultSecret, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSecretList. +func (in *VaultSecretList) DeepCopy() *VaultSecretList { + if in == nil { + return nil + } + out := new(VaultSecretList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VaultSecretList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSecretObservation) DeepCopyInto(out *VaultSecretObservation) { + *out = *in + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.VersionlessID != nil { + in, out := &in.VersionlessID, &out.VersionlessID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSecretObservation. +func (in *VaultSecretObservation) DeepCopy() *VaultSecretObservation { + if in == nil { + return nil + } + out := new(VaultSecretObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSecretParameters) DeepCopyInto(out *VaultSecretParameters) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.ExpirationDate != nil { + in, out := &in.ExpirationDate, &out.ExpirationDate + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotBeforeDate != nil { + in, out := &in.NotBeforeDate, &out.NotBeforeDate + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + out.ValueSecretRef = in.ValueSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSecretParameters. +func (in *VaultSecretParameters) DeepCopy() *VaultSecretParameters { + if in == nil { + return nil + } + out := new(VaultSecretParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSecretSpec) DeepCopyInto(out *VaultSecretSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSecretSpec. +func (in *VaultSecretSpec) DeepCopy() *VaultSecretSpec { + if in == nil { + return nil + } + out := new(VaultSecretSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSecretStatus) DeepCopyInto(out *VaultSecretStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSecretStatus. +func (in *VaultSecretStatus) DeepCopy() *VaultSecretStatus { + if in == nil { + return nil + } + out := new(VaultSecretStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultSpec) DeepCopyInto(out *VaultSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultSpec. +func (in *VaultSpec) DeepCopy() *VaultSpec { + if in == nil { + return nil + } + out := new(VaultSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VaultStatus) DeepCopyInto(out *VaultStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultStatus. +func (in *VaultStatus) DeepCopy() *VaultStatus { + if in == nil { + return nil + } + out := new(VaultStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *X509CertificatePropertiesObservation) DeepCopyInto(out *X509CertificatePropertiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new X509CertificatePropertiesObservation. +func (in *X509CertificatePropertiesObservation) DeepCopy() *X509CertificatePropertiesObservation { + if in == nil { + return nil + } + out := new(X509CertificatePropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *X509CertificatePropertiesParameters) DeepCopyInto(out *X509CertificatePropertiesParameters) { + *out = *in + if in.ExtendedKeyUsage != nil { + in, out := &in.ExtendedKeyUsage, &out.ExtendedKeyUsage + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.KeyUsage != nil { + in, out := &in.KeyUsage, &out.KeyUsage + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Subject != nil { + in, out := &in.Subject, &out.Subject + *out = new(string) + **out = **in + } + if in.SubjectAlternativeNames != nil { + in, out := &in.SubjectAlternativeNames, &out.SubjectAlternativeNames + *out = make([]SubjectAlternativeNamesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ValidityInMonths != nil { + in, out := &in.ValidityInMonths, &out.ValidityInMonths + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new X509CertificatePropertiesParameters. +func (in *X509CertificatePropertiesParameters) DeepCopy() *X509CertificatePropertiesParameters { + if in == nil { + return nil + } + out := new(X509CertificatePropertiesParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/key/v1alpha1/zz_generated.managed.go b/apis/key/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..df21e9ed1 --- /dev/null +++ b/apis/key/v1alpha1/zz_generated.managed.go @@ -0,0 +1,524 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Vault. +func (mg *Vault) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Vault. +func (mg *Vault) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Vault. +func (mg *Vault) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Vault. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Vault) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Vault. +func (mg *Vault) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Vault. +func (mg *Vault) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Vault. +func (mg *Vault) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Vault. +func (mg *Vault) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Vault. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Vault) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Vault. +func (mg *Vault) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultAccessPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultAccessPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultAccessPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultAccessPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultAccessPolicy. +func (mg *VaultAccessPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultCertificate. +func (mg *VaultCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultCertificate. +func (mg *VaultCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultCertificate. +func (mg *VaultCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultCertificate. +func (mg *VaultCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultCertificate. +func (mg *VaultCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultCertificate. +func (mg *VaultCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultCertificate. +func (mg *VaultCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultCertificate. +func (mg *VaultCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultCertificateIssuer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultCertificateIssuer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultCertificateIssuer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultCertificateIssuer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultCertificateIssuer. +func (mg *VaultCertificateIssuer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultKey. +func (mg *VaultKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultKey. +func (mg *VaultKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultKey. +func (mg *VaultKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultKey. +func (mg *VaultKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultKey. +func (mg *VaultKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultKey. +func (mg *VaultKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultKey. +func (mg *VaultKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultKey. +func (mg *VaultKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultManagedHardwareSecurityModule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultManagedHardwareSecurityModule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultManagedHardwareSecurityModule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultManagedHardwareSecurityModule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultManagedHardwareSecurityModule. +func (mg *VaultManagedHardwareSecurityModule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultManagedStorageAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultManagedStorageAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultManagedStorageAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultManagedStorageAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultManagedStorageAccount. +func (mg *VaultManagedStorageAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultManagedStorageAccountSasTokenDefinition. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultManagedStorageAccountSasTokenDefinition) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultManagedStorageAccountSasTokenDefinition. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultManagedStorageAccountSasTokenDefinition) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultManagedStorageAccountSasTokenDefinition. +func (mg *VaultManagedStorageAccountSasTokenDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VaultSecret. +func (mg *VaultSecret) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VaultSecret. +func (mg *VaultSecret) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VaultSecret. +func (mg *VaultSecret) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VaultSecret. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VaultSecret) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VaultSecret. +func (mg *VaultSecret) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VaultSecret. +func (mg *VaultSecret) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VaultSecret. +func (mg *VaultSecret) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VaultSecret. +func (mg *VaultSecret) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VaultSecret. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VaultSecret) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VaultSecret. +func (mg *VaultSecret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/key/v1alpha1/zz_generated.managedlist.go b/apis/key/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..5611a3e41 --- /dev/null +++ b/apis/key/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,101 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this VaultAccessPolicyList. +func (l *VaultAccessPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultCertificateIssuerList. +func (l *VaultCertificateIssuerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultCertificateList. +func (l *VaultCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultKeyList. +func (l *VaultKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultList. +func (l *VaultList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultManagedHardwareSecurityModuleList. +func (l *VaultManagedHardwareSecurityModuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultManagedStorageAccountList. +func (l *VaultManagedStorageAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultManagedStorageAccountSasTokenDefinitionList. +func (l *VaultManagedStorageAccountSasTokenDefinitionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VaultSecretList. +func (l *VaultSecretList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/key/v1alpha1/zz_groupversion_info.go b/apis/key/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..01ceebe95 --- /dev/null +++ b/apis/key/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=key.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "key.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/key/v1alpha1/zz_vault_terraformed.go b/apis/key/v1alpha1/zz_vault_terraformed.go new file mode 100755 index 000000000..8c0a34c47 --- /dev/null +++ b/apis/key/v1alpha1/zz_vault_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Vault +func (mg *Vault) GetTerraformResourceType() string { + return "azurerm_key_vault" +} + +// GetConnectionDetailsMapping for this Vault +func (tr *Vault) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Vault +func (tr *Vault) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Vault +func (tr *Vault) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Vault +func (tr *Vault) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Vault +func (tr *Vault) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Vault using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Vault) LateInitialize(attrs []byte) (bool, error) { + params := &VaultParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Vault) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/key/v1alpha1/zz_vault_types.go b/apis/key/v1alpha1/zz_vault_types.go new file mode 100755 index 000000000..fd8ca5d32 --- /dev/null +++ b/apis/key/v1alpha1/zz_vault_types.go @@ -0,0 +1,190 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccessPolicyObservation struct { +} + +type AccessPolicyParameters struct { + + // +kubebuilder:validation:Optional + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // +kubebuilder:validation:Optional + CertificatePermissions []*string `json:"certificatePermissions,omitempty" tf:"certificate_permissions,omitempty"` + + // +kubebuilder:validation:Optional + KeyPermissions []*string `json:"keyPermissions,omitempty" tf:"key_permissions,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Optional + SecretPermissions []*string `json:"secretPermissions,omitempty" tf:"secret_permissions,omitempty"` + + // +kubebuilder:validation:Optional + StoragePermissions []*string `json:"storagePermissions,omitempty" tf:"storage_permissions,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +type ContactObservation struct { +} + +type ContactParameters struct { + + // +kubebuilder:validation:Required + Email *string `json:"email" tf:"email,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Phone *string `json:"phone,omitempty" tf:"phone,omitempty"` +} + +type NetworkAclsObservation struct { +} + +type NetworkAclsParameters struct { + + // +kubebuilder:validation:Required + Bypass *string `json:"bypass" tf:"bypass,omitempty"` + + // +kubebuilder:validation:Required + DefaultAction *string `json:"defaultAction" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPRules []*string `json:"ipRules,omitempty" tf:"ip_rules,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetIds []*string `json:"virtualNetworkSubnetIds,omitempty" tf:"virtual_network_subnet_ids,omitempty"` +} + +type VaultObservation struct { + VaultURI *string `json:"vaultUri,omitempty" tf:"vault_uri,omitempty"` +} + +type VaultParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicy []AccessPolicyParameters `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"` + + // +kubebuilder:validation:Optional + Contact []ContactParameters `json:"contact,omitempty" tf:"contact,omitempty"` + + // +kubebuilder:validation:Optional + EnableRbacAuthorization *bool `json:"enableRbacAuthorization,omitempty" tf:"enable_rbac_authorization,omitempty"` + + // +kubebuilder:validation:Optional + EnabledForDeployment *bool `json:"enabledForDeployment,omitempty" tf:"enabled_for_deployment,omitempty"` + + // +kubebuilder:validation:Optional + EnabledForDiskEncryption *bool `json:"enabledForDiskEncryption,omitempty" tf:"enabled_for_disk_encryption,omitempty"` + + // +kubebuilder:validation:Optional + EnabledForTemplateDeployment *bool `json:"enabledForTemplateDeployment,omitempty" tf:"enabled_for_template_deployment,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkAcls []NetworkAclsParameters `json:"networkAcls,omitempty" tf:"network_acls,omitempty"` + + // +kubebuilder:validation:Optional + PurgeProtectionEnabled *bool `json:"purgeProtectionEnabled,omitempty" tf:"purge_protection_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + SoftDeleteEnabled *bool `json:"softDeleteEnabled,omitempty" tf:"soft_delete_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SoftDeleteRetentionDays *int64 `json:"softDeleteRetentionDays,omitempty" tf:"soft_delete_retention_days,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// VaultSpec defines the desired state of Vault +type VaultSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultParameters `json:"forProvider"` +} + +// VaultStatus defines the observed state of Vault. +type VaultStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Vault is the Schema for the Vaults API +// +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,azurejet} +type Vault struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultSpec `json:"spec"` + Status VaultStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultList contains a list of Vaults +type VaultList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Vault `json:"items"` +} + +// Repository type metadata. +var ( + Vault_Kind = "Vault" + Vault_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Vault_Kind}.String() + Vault_KindAPIVersion = Vault_Kind + "." + CRDGroupVersion.String() + Vault_GroupVersionKind = CRDGroupVersion.WithKind(Vault_Kind) +) + +func init() { + SchemeBuilder.Register(&Vault{}, &VaultList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultaccesspolicy_terraformed.go b/apis/key/v1alpha1/zz_vaultaccesspolicy_terraformed.go new file mode 100755 index 000000000..c7c15d396 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultaccesspolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultAccessPolicy +func (mg *VaultAccessPolicy) GetTerraformResourceType() string { + return "azurerm_key_vault_access_policy" +} + +// GetConnectionDetailsMapping for this VaultAccessPolicy +func (tr *VaultAccessPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VaultAccessPolicy +func (tr *VaultAccessPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultAccessPolicy +func (tr *VaultAccessPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultAccessPolicy +func (tr *VaultAccessPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultAccessPolicy +func (tr *VaultAccessPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultAccessPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultAccessPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &VaultAccessPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultAccessPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultaccesspolicy_types.go b/apis/key/v1alpha1/zz_vaultaccesspolicy_types.go new file mode 100755 index 000000000..3d80c9b42 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultaccesspolicy_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VaultAccessPolicyObservation struct { +} + +type VaultAccessPolicyParameters struct { + + // +kubebuilder:validation:Optional + ApplicationID *string `json:"applicationId,omitempty" tf:"application_id,omitempty"` + + // +kubebuilder:validation:Optional + CertificatePermissions []*string `json:"certificatePermissions,omitempty" tf:"certificate_permissions,omitempty"` + + // +kubebuilder:validation:Optional + KeyPermissions []*string `json:"keyPermissions,omitempty" tf:"key_permissions,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Optional + SecretPermissions []*string `json:"secretPermissions,omitempty" tf:"secret_permissions,omitempty"` + + // +kubebuilder:validation:Optional + StoragePermissions []*string `json:"storagePermissions,omitempty" tf:"storage_permissions,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// VaultAccessPolicySpec defines the desired state of VaultAccessPolicy +type VaultAccessPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultAccessPolicyParameters `json:"forProvider"` +} + +// VaultAccessPolicyStatus defines the observed state of VaultAccessPolicy. +type VaultAccessPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultAccessPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultAccessPolicy is the Schema for the VaultAccessPolicys API +// +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,azurejet} +type VaultAccessPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultAccessPolicySpec `json:"spec"` + Status VaultAccessPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultAccessPolicyList contains a list of VaultAccessPolicys +type VaultAccessPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultAccessPolicy `json:"items"` +} + +// Repository type metadata. +var ( + VaultAccessPolicy_Kind = "VaultAccessPolicy" + VaultAccessPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultAccessPolicy_Kind}.String() + VaultAccessPolicy_KindAPIVersion = VaultAccessPolicy_Kind + "." + CRDGroupVersion.String() + VaultAccessPolicy_GroupVersionKind = CRDGroupVersion.WithKind(VaultAccessPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultAccessPolicy{}, &VaultAccessPolicyList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultcertificate_terraformed.go b/apis/key/v1alpha1/zz_vaultcertificate_terraformed.go new file mode 100755 index 000000000..01e56360f --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultcertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultCertificate +func (mg *VaultCertificate) GetTerraformResourceType() string { + return "azurerm_key_vault_certificate" +} + +// GetConnectionDetailsMapping for this VaultCertificate +func (tr *VaultCertificate) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"certificate[*].contents": "spec.forProvider.certificate[*].contentsSecretRef", "certificate[*].password": "spec.forProvider.certificate[*].passwordSecretRef"} +} + +// GetObservation of this VaultCertificate +func (tr *VaultCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultCertificate +func (tr *VaultCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultCertificate +func (tr *VaultCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultCertificate +func (tr *VaultCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &VaultCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultcertificate_types.go b/apis/key/v1alpha1/zz_vaultcertificate_types.go new file mode 100755 index 000000000..18275f1d3 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultcertificate_types.go @@ -0,0 +1,265 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionObservation struct { +} + +type ActionParameters struct { + + // +kubebuilder:validation:Required + ActionType *string `json:"actionType" tf:"action_type,omitempty"` +} + +type CertificateAttributeObservation struct { + Created *string `json:"created,omitempty" tf:"created,omitempty"` + + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + Expires *string `json:"expires,omitempty" tf:"expires,omitempty"` + + NotBefore *string `json:"notBefore,omitempty" tf:"not_before,omitempty"` + + RecoveryLevel *string `json:"recoveryLevel,omitempty" tf:"recovery_level,omitempty"` + + Updated *string `json:"updated,omitempty" tf:"updated,omitempty"` +} + +type CertificateAttributeParameters struct { +} + +type CertificateObservation struct { +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Required + ContentsSecretRef v1.SecretKeySelector `json:"contentsSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` +} + +type CertificatePolicyObservation struct { +} + +type CertificatePolicyParameters struct { + + // +kubebuilder:validation:Required + IssuerParameters []IssuerParametersParameters `json:"issuerParameters" tf:"issuer_parameters,omitempty"` + + // +kubebuilder:validation:Required + KeyProperties []KeyPropertiesParameters `json:"keyProperties" tf:"key_properties,omitempty"` + + // +kubebuilder:validation:Optional + LifetimeAction []LifetimeActionParameters `json:"lifetimeAction,omitempty" tf:"lifetime_action,omitempty"` + + // +kubebuilder:validation:Required + SecretProperties []SecretPropertiesParameters `json:"secretProperties" tf:"secret_properties,omitempty"` + + // +kubebuilder:validation:Optional + X509CertificateProperties []X509CertificatePropertiesParameters `json:"x509CertificateProperties,omitempty" tf:"x509_certificate_properties,omitempty"` +} + +type IssuerParametersObservation struct { +} + +type IssuerParametersParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type KeyPropertiesObservation struct { +} + +type KeyPropertiesParameters struct { + + // +kubebuilder:validation:Optional + Curve *string `json:"curve,omitempty" tf:"curve,omitempty"` + + // +kubebuilder:validation:Required + Exportable *bool `json:"exportable" tf:"exportable,omitempty"` + + // +kubebuilder:validation:Optional + KeySize *int64 `json:"keySize,omitempty" tf:"key_size,omitempty"` + + // +kubebuilder:validation:Required + KeyType *string `json:"keyType" tf:"key_type,omitempty"` + + // +kubebuilder:validation:Required + ReuseKey *bool `json:"reuseKey" tf:"reuse_key,omitempty"` +} + +type LifetimeActionObservation struct { +} + +type LifetimeActionParameters struct { + + // +kubebuilder:validation:Required + Action []ActionParameters `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Trigger []TriggerParameters `json:"trigger" tf:"trigger,omitempty"` +} + +type SecretPropertiesObservation struct { +} + +type SecretPropertiesParameters struct { + + // +kubebuilder:validation:Required + ContentType *string `json:"contentType" tf:"content_type,omitempty"` +} + +type SubjectAlternativeNamesObservation struct { +} + +type SubjectAlternativeNamesParameters struct { + + // +kubebuilder:validation:Optional + DNSNames []*string `json:"dnsNames,omitempty" tf:"dns_names,omitempty"` + + // +kubebuilder:validation:Optional + Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"` + + // +kubebuilder:validation:Optional + Upns []*string `json:"upns,omitempty" tf:"upns,omitempty"` +} + +type TriggerObservation struct { +} + +type TriggerParameters struct { + + // +kubebuilder:validation:Optional + DaysBeforeExpiry *int64 `json:"daysBeforeExpiry,omitempty" tf:"days_before_expiry,omitempty"` + + // +kubebuilder:validation:Optional + LifetimePercentage *int64 `json:"lifetimePercentage,omitempty" tf:"lifetime_percentage,omitempty"` +} + +type VaultCertificateObservation struct { + CertificateAttribute []CertificateAttributeObservation `json:"certificateAttribute,omitempty" tf:"certificate_attribute,omitempty"` + + CertificateData *string `json:"certificateData,omitempty" tf:"certificate_data,omitempty"` + + CertificateDataBase64 *string `json:"certificateDataBase64,omitempty" tf:"certificate_data_base64,omitempty"` + + SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"` + + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` + + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type VaultCertificateParameters struct { + + // +kubebuilder:validation:Optional + Certificate []CertificateParameters `json:"certificate,omitempty" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Required + CertificatePolicy []CertificatePolicyParameters `json:"certificatePolicy" tf:"certificate_policy,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type X509CertificatePropertiesObservation struct { +} + +type X509CertificatePropertiesParameters struct { + + // +kubebuilder:validation:Optional + ExtendedKeyUsage []*string `json:"extendedKeyUsage,omitempty" tf:"extended_key_usage,omitempty"` + + // +kubebuilder:validation:Required + KeyUsage []*string `json:"keyUsage" tf:"key_usage,omitempty"` + + // +kubebuilder:validation:Required + Subject *string `json:"subject" tf:"subject,omitempty"` + + // +kubebuilder:validation:Optional + SubjectAlternativeNames []SubjectAlternativeNamesParameters `json:"subjectAlternativeNames,omitempty" tf:"subject_alternative_names,omitempty"` + + // +kubebuilder:validation:Required + ValidityInMonths *int64 `json:"validityInMonths" tf:"validity_in_months,omitempty"` +} + +// VaultCertificateSpec defines the desired state of VaultCertificate +type VaultCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultCertificateParameters `json:"forProvider"` +} + +// VaultCertificateStatus defines the observed state of VaultCertificate. +type VaultCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultCertificate is the Schema for the VaultCertificates API +// +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,azurejet} +type VaultCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultCertificateSpec `json:"spec"` + Status VaultCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultCertificateList contains a list of VaultCertificates +type VaultCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultCertificate `json:"items"` +} + +// Repository type metadata. +var ( + VaultCertificate_Kind = "VaultCertificate" + VaultCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultCertificate_Kind}.String() + VaultCertificate_KindAPIVersion = VaultCertificate_Kind + "." + CRDGroupVersion.String() + VaultCertificate_GroupVersionKind = CRDGroupVersion.WithKind(VaultCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultCertificate{}, &VaultCertificateList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultcertificateissuer_terraformed.go b/apis/key/v1alpha1/zz_vaultcertificateissuer_terraformed.go new file mode 100755 index 000000000..007f6b33a --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultcertificateissuer_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultCertificateIssuer +func (mg *VaultCertificateIssuer) GetTerraformResourceType() string { + return "azurerm_key_vault_certificate_issuer" +} + +// GetConnectionDetailsMapping for this VaultCertificateIssuer +func (tr *VaultCertificateIssuer) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this VaultCertificateIssuer +func (tr *VaultCertificateIssuer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultCertificateIssuer +func (tr *VaultCertificateIssuer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultCertificateIssuer +func (tr *VaultCertificateIssuer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultCertificateIssuer +func (tr *VaultCertificateIssuer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultCertificateIssuer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultCertificateIssuer) LateInitialize(attrs []byte) (bool, error) { + params := &VaultCertificateIssuerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultCertificateIssuer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultcertificateissuer_types.go b/apis/key/v1alpha1/zz_vaultcertificateissuer_types.go new file mode 100755 index 000000000..50fcbc34c --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultcertificateissuer_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AdminObservation struct { +} + +type AdminParameters struct { + + // +kubebuilder:validation:Required + EmailAddress *string `json:"emailAddress" tf:"email_address,omitempty"` + + // +kubebuilder:validation:Optional + FirstName *string `json:"firstName,omitempty" tf:"first_name,omitempty"` + + // +kubebuilder:validation:Optional + LastName *string `json:"lastName,omitempty" tf:"last_name,omitempty"` + + // +kubebuilder:validation:Optional + Phone *string `json:"phone,omitempty" tf:"phone,omitempty"` +} + +type VaultCertificateIssuerObservation struct { +} + +type VaultCertificateIssuerParameters struct { + + // +kubebuilder:validation:Optional + AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` + + // +kubebuilder:validation:Optional + Admin []AdminParameters `json:"admin,omitempty" tf:"admin,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` + + // +kubebuilder:validation:Optional + PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ProviderName *string `json:"providerName" tf:"provider_name,omitempty"` +} + +// VaultCertificateIssuerSpec defines the desired state of VaultCertificateIssuer +type VaultCertificateIssuerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultCertificateIssuerParameters `json:"forProvider"` +} + +// VaultCertificateIssuerStatus defines the observed state of VaultCertificateIssuer. +type VaultCertificateIssuerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultCertificateIssuerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultCertificateIssuer is the Schema for the VaultCertificateIssuers API +// +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,azurejet} +type VaultCertificateIssuer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultCertificateIssuerSpec `json:"spec"` + Status VaultCertificateIssuerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultCertificateIssuerList contains a list of VaultCertificateIssuers +type VaultCertificateIssuerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultCertificateIssuer `json:"items"` +} + +// Repository type metadata. +var ( + VaultCertificateIssuer_Kind = "VaultCertificateIssuer" + VaultCertificateIssuer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultCertificateIssuer_Kind}.String() + VaultCertificateIssuer_KindAPIVersion = VaultCertificateIssuer_Kind + "." + CRDGroupVersion.String() + VaultCertificateIssuer_GroupVersionKind = CRDGroupVersion.WithKind(VaultCertificateIssuer_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultCertificateIssuer{}, &VaultCertificateIssuerList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultkey_terraformed.go b/apis/key/v1alpha1/zz_vaultkey_terraformed.go new file mode 100755 index 000000000..625492617 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultKey +func (mg *VaultKey) GetTerraformResourceType() string { + return "azurerm_key_vault_key" +} + +// GetConnectionDetailsMapping for this VaultKey +func (tr *VaultKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VaultKey +func (tr *VaultKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultKey +func (tr *VaultKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultKey +func (tr *VaultKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultKey +func (tr *VaultKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultKey) LateInitialize(attrs []byte) (bool, error) { + params := &VaultKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultkey_types.go b/apis/key/v1alpha1/zz_vaultkey_types.go new file mode 100755 index 000000000..a892bf2f7 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultkey_types.go @@ -0,0 +1,119 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VaultKeyObservation struct { + E *string `json:"e,omitempty" tf:"e,omitempty"` + + N *string `json:"n,omitempty" tf:"n,omitempty"` + + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + VersionlessID *string `json:"versionlessId,omitempty" tf:"versionless_id,omitempty"` + + X *string `json:"x,omitempty" tf:"x,omitempty"` + + Y *string `json:"y,omitempty" tf:"y,omitempty"` +} + +type VaultKeyParameters struct { + + // +kubebuilder:validation:Optional + Curve *string `json:"curve,omitempty" tf:"curve,omitempty"` + + // +kubebuilder:validation:Optional + ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` + + // +kubebuilder:validation:Required + KeyOpts []*string `json:"keyOpts" tf:"key_opts,omitempty"` + + // +kubebuilder:validation:Optional + KeySize *int64 `json:"keySize,omitempty" tf:"key_size,omitempty"` + + // +kubebuilder:validation:Required + KeyType *string `json:"keyType" tf:"key_type,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NotBeforeDate *string `json:"notBeforeDate,omitempty" tf:"not_before_date,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// VaultKeySpec defines the desired state of VaultKey +type VaultKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultKeyParameters `json:"forProvider"` +} + +// VaultKeyStatus defines the observed state of VaultKey. +type VaultKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultKey is the Schema for the VaultKeys API +// +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,azurejet} +type VaultKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultKeySpec `json:"spec"` + Status VaultKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultKeyList contains a list of VaultKeys +type VaultKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultKey `json:"items"` +} + +// Repository type metadata. +var ( + VaultKey_Kind = "VaultKey" + VaultKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultKey_Kind}.String() + VaultKey_KindAPIVersion = VaultKey_Kind + "." + CRDGroupVersion.String() + VaultKey_GroupVersionKind = CRDGroupVersion.WithKind(VaultKey_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultKey{}, &VaultKeyList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultmanagedhardwaresecuritymodule_terraformed.go b/apis/key/v1alpha1/zz_vaultmanagedhardwaresecuritymodule_terraformed.go new file mode 100755 index 000000000..0e0fd2287 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultmanagedhardwaresecuritymodule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultManagedHardwareSecurityModule +func (mg *VaultManagedHardwareSecurityModule) GetTerraformResourceType() string { + return "azurerm_key_vault_managed_hardware_security_module" +} + +// GetConnectionDetailsMapping for this VaultManagedHardwareSecurityModule +func (tr *VaultManagedHardwareSecurityModule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VaultManagedHardwareSecurityModule +func (tr *VaultManagedHardwareSecurityModule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultManagedHardwareSecurityModule +func (tr *VaultManagedHardwareSecurityModule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultManagedHardwareSecurityModule +func (tr *VaultManagedHardwareSecurityModule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultManagedHardwareSecurityModule +func (tr *VaultManagedHardwareSecurityModule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultManagedHardwareSecurityModule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultManagedHardwareSecurityModule) LateInitialize(attrs []byte) (bool, error) { + params := &VaultManagedHardwareSecurityModuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultManagedHardwareSecurityModule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultmanagedhardwaresecuritymodule_types.go b/apis/key/v1alpha1/zz_vaultmanagedhardwaresecuritymodule_types.go new file mode 100755 index 000000000..06d77a473 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultmanagedhardwaresecuritymodule_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VaultManagedHardwareSecurityModuleObservation struct { + HsmURI *string `json:"hsmUri,omitempty" tf:"hsm_uri,omitempty"` +} + +type VaultManagedHardwareSecurityModuleParameters struct { + + // +kubebuilder:validation:Required + AdminObjectIds []*string `json:"adminObjectIds" tf:"admin_object_ids,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PurgeProtectionEnabled *bool `json:"purgeProtectionEnabled,omitempty" tf:"purge_protection_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + SoftDeleteRetentionDays *int64 `json:"softDeleteRetentionDays,omitempty" tf:"soft_delete_retention_days,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// VaultManagedHardwareSecurityModuleSpec defines the desired state of VaultManagedHardwareSecurityModule +type VaultManagedHardwareSecurityModuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultManagedHardwareSecurityModuleParameters `json:"forProvider"` +} + +// VaultManagedHardwareSecurityModuleStatus defines the observed state of VaultManagedHardwareSecurityModule. +type VaultManagedHardwareSecurityModuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultManagedHardwareSecurityModuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultManagedHardwareSecurityModule is the Schema for the VaultManagedHardwareSecurityModules API +// +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,azurejet} +type VaultManagedHardwareSecurityModule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultManagedHardwareSecurityModuleSpec `json:"spec"` + Status VaultManagedHardwareSecurityModuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultManagedHardwareSecurityModuleList contains a list of VaultManagedHardwareSecurityModules +type VaultManagedHardwareSecurityModuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultManagedHardwareSecurityModule `json:"items"` +} + +// Repository type metadata. +var ( + VaultManagedHardwareSecurityModule_Kind = "VaultManagedHardwareSecurityModule" + VaultManagedHardwareSecurityModule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultManagedHardwareSecurityModule_Kind}.String() + VaultManagedHardwareSecurityModule_KindAPIVersion = VaultManagedHardwareSecurityModule_Kind + "." + CRDGroupVersion.String() + VaultManagedHardwareSecurityModule_GroupVersionKind = CRDGroupVersion.WithKind(VaultManagedHardwareSecurityModule_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultManagedHardwareSecurityModule{}, &VaultManagedHardwareSecurityModuleList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultmanagedstorageaccount_terraformed.go b/apis/key/v1alpha1/zz_vaultmanagedstorageaccount_terraformed.go new file mode 100755 index 000000000..53bb8f3a8 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultmanagedstorageaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultManagedStorageAccount +func (mg *VaultManagedStorageAccount) GetTerraformResourceType() string { + return "azurerm_key_vault_managed_storage_account" +} + +// GetConnectionDetailsMapping for this VaultManagedStorageAccount +func (tr *VaultManagedStorageAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VaultManagedStorageAccount +func (tr *VaultManagedStorageAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultManagedStorageAccount +func (tr *VaultManagedStorageAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultManagedStorageAccount +func (tr *VaultManagedStorageAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultManagedStorageAccount +func (tr *VaultManagedStorageAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultManagedStorageAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultManagedStorageAccount) LateInitialize(attrs []byte) (bool, error) { + params := &VaultManagedStorageAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultManagedStorageAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultmanagedstorageaccount_types.go b/apis/key/v1alpha1/zz_vaultmanagedstorageaccount_types.go new file mode 100755 index 000000000..3815dd983 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultmanagedstorageaccount_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VaultManagedStorageAccountObservation struct { +} + +type VaultManagedStorageAccountParameters struct { + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RegenerateKeyAutomatically *bool `json:"regenerateKeyAutomatically,omitempty" tf:"regenerate_key_automatically,omitempty"` + + // +kubebuilder:validation:Optional + RegenerationPeriod *string `json:"regenerationPeriod,omitempty" tf:"regeneration_period,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKey *string `json:"storageAccountKey" tf:"storage_account_key,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// VaultManagedStorageAccountSpec defines the desired state of VaultManagedStorageAccount +type VaultManagedStorageAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultManagedStorageAccountParameters `json:"forProvider"` +} + +// VaultManagedStorageAccountStatus defines the observed state of VaultManagedStorageAccount. +type VaultManagedStorageAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultManagedStorageAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultManagedStorageAccount is the Schema for the VaultManagedStorageAccounts API +// +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,azurejet} +type VaultManagedStorageAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultManagedStorageAccountSpec `json:"spec"` + Status VaultManagedStorageAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultManagedStorageAccountList contains a list of VaultManagedStorageAccounts +type VaultManagedStorageAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultManagedStorageAccount `json:"items"` +} + +// Repository type metadata. +var ( + VaultManagedStorageAccount_Kind = "VaultManagedStorageAccount" + VaultManagedStorageAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultManagedStorageAccount_Kind}.String() + VaultManagedStorageAccount_KindAPIVersion = VaultManagedStorageAccount_Kind + "." + CRDGroupVersion.String() + VaultManagedStorageAccount_GroupVersionKind = CRDGroupVersion.WithKind(VaultManagedStorageAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultManagedStorageAccount{}, &VaultManagedStorageAccountList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultmanagedstorageaccountsastokendefinition_terraformed.go b/apis/key/v1alpha1/zz_vaultmanagedstorageaccountsastokendefinition_terraformed.go new file mode 100755 index 000000000..916c75e48 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultmanagedstorageaccountsastokendefinition_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultManagedStorageAccountSasTokenDefinition +func (mg *VaultManagedStorageAccountSasTokenDefinition) GetTerraformResourceType() string { + return "azurerm_key_vault_managed_storage_account_sas_token_definition" +} + +// GetConnectionDetailsMapping for this VaultManagedStorageAccountSasTokenDefinition +func (tr *VaultManagedStorageAccountSasTokenDefinition) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VaultManagedStorageAccountSasTokenDefinition +func (tr *VaultManagedStorageAccountSasTokenDefinition) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultManagedStorageAccountSasTokenDefinition +func (tr *VaultManagedStorageAccountSasTokenDefinition) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultManagedStorageAccountSasTokenDefinition +func (tr *VaultManagedStorageAccountSasTokenDefinition) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultManagedStorageAccountSasTokenDefinition +func (tr *VaultManagedStorageAccountSasTokenDefinition) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultManagedStorageAccountSasTokenDefinition using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultManagedStorageAccountSasTokenDefinition) LateInitialize(attrs []byte) (bool, error) { + params := &VaultManagedStorageAccountSasTokenDefinitionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultManagedStorageAccountSasTokenDefinition) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultmanagedstorageaccountsastokendefinition_types.go b/apis/key/v1alpha1/zz_vaultmanagedstorageaccountsastokendefinition_types.go new file mode 100755 index 000000000..8fe2c30e8 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultmanagedstorageaccountsastokendefinition_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VaultManagedStorageAccountSasTokenDefinitionObservation struct { + SecretID *string `json:"secretId,omitempty" tf:"secret_id,omitempty"` +} + +type VaultManagedStorageAccountSasTokenDefinitionParameters struct { + + // +kubebuilder:validation:Required + ManagedStorageAccountID *string `json:"managedStorageAccountId" tf:"managed_storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SasTemplateURI *string `json:"sasTemplateUri" tf:"sas_template_uri,omitempty"` + + // +kubebuilder:validation:Required + SasType *string `json:"sasType" tf:"sas_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ValidityPeriod *string `json:"validityPeriod" tf:"validity_period,omitempty"` +} + +// VaultManagedStorageAccountSasTokenDefinitionSpec defines the desired state of VaultManagedStorageAccountSasTokenDefinition +type VaultManagedStorageAccountSasTokenDefinitionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultManagedStorageAccountSasTokenDefinitionParameters `json:"forProvider"` +} + +// VaultManagedStorageAccountSasTokenDefinitionStatus defines the observed state of VaultManagedStorageAccountSasTokenDefinition. +type VaultManagedStorageAccountSasTokenDefinitionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultManagedStorageAccountSasTokenDefinitionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultManagedStorageAccountSasTokenDefinition is the Schema for the VaultManagedStorageAccountSasTokenDefinitions API +// +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,azurejet} +type VaultManagedStorageAccountSasTokenDefinition struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultManagedStorageAccountSasTokenDefinitionSpec `json:"spec"` + Status VaultManagedStorageAccountSasTokenDefinitionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultManagedStorageAccountSasTokenDefinitionList contains a list of VaultManagedStorageAccountSasTokenDefinitions +type VaultManagedStorageAccountSasTokenDefinitionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultManagedStorageAccountSasTokenDefinition `json:"items"` +} + +// Repository type metadata. +var ( + VaultManagedStorageAccountSasTokenDefinition_Kind = "VaultManagedStorageAccountSasTokenDefinition" + VaultManagedStorageAccountSasTokenDefinition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultManagedStorageAccountSasTokenDefinition_Kind}.String() + VaultManagedStorageAccountSasTokenDefinition_KindAPIVersion = VaultManagedStorageAccountSasTokenDefinition_Kind + "." + CRDGroupVersion.String() + VaultManagedStorageAccountSasTokenDefinition_GroupVersionKind = CRDGroupVersion.WithKind(VaultManagedStorageAccountSasTokenDefinition_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultManagedStorageAccountSasTokenDefinition{}, &VaultManagedStorageAccountSasTokenDefinitionList{}) +} diff --git a/apis/key/v1alpha1/zz_vaultsecret_terraformed.go b/apis/key/v1alpha1/zz_vaultsecret_terraformed.go new file mode 100755 index 000000000..75b011b31 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultsecret_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VaultSecret +func (mg *VaultSecret) GetTerraformResourceType() string { + return "azurerm_key_vault_secret" +} + +// GetConnectionDetailsMapping for this VaultSecret +func (tr *VaultSecret) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"value": "spec.forProvider.valueSecretRef"} +} + +// GetObservation of this VaultSecret +func (tr *VaultSecret) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VaultSecret +func (tr *VaultSecret) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VaultSecret +func (tr *VaultSecret) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VaultSecret +func (tr *VaultSecret) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VaultSecret using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VaultSecret) LateInitialize(attrs []byte) (bool, error) { + params := &VaultSecretParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VaultSecret) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/key/v1alpha1/zz_vaultsecret_types.go b/apis/key/v1alpha1/zz_vaultsecret_types.go new file mode 100755 index 000000000..74b491cd3 --- /dev/null +++ b/apis/key/v1alpha1/zz_vaultsecret_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VaultSecretObservation struct { + Version *string `json:"version,omitempty" tf:"version,omitempty"` + + VersionlessID *string `json:"versionlessId,omitempty" tf:"versionless_id,omitempty"` +} + +type VaultSecretParameters struct { + + // +kubebuilder:validation:Optional + ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NotBeforeDate *string `json:"notBeforeDate,omitempty" tf:"not_before_date,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ValueSecretRef v1.SecretKeySelector `json:"valueSecretRef" tf:"-"` +} + +// VaultSecretSpec defines the desired state of VaultSecret +type VaultSecretSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VaultSecretParameters `json:"forProvider"` +} + +// VaultSecretStatus defines the observed state of VaultSecret. +type VaultSecretStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VaultSecretObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultSecret is the Schema for the VaultSecrets API +// +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,azurejet} +type VaultSecret struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VaultSecretSpec `json:"spec"` + Status VaultSecretStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VaultSecretList contains a list of VaultSecrets +type VaultSecretList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VaultSecret `json:"items"` +} + +// Repository type metadata. +var ( + VaultSecret_Kind = "VaultSecret" + VaultSecret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VaultSecret_Kind}.String() + VaultSecret_KindAPIVersion = VaultSecret_Kind + "." + CRDGroupVersion.String() + VaultSecret_GroupVersionKind = CRDGroupVersion.WithKind(VaultSecret_Kind) +) + +func init() { + SchemeBuilder.Register(&VaultSecret{}, &VaultSecretList{}) +} diff --git a/apis/kusto/v1alpha1/zz_attacheddatabaseconfiguration_terraformed.go b/apis/kusto/v1alpha1/zz_attacheddatabaseconfiguration_terraformed.go new file mode 100755 index 000000000..71ea3262b --- /dev/null +++ b/apis/kusto/v1alpha1/zz_attacheddatabaseconfiguration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AttachedDatabaseConfiguration +func (mg *AttachedDatabaseConfiguration) GetTerraformResourceType() string { + return "azurerm_kusto_attached_database_configuration" +} + +// GetConnectionDetailsMapping for this AttachedDatabaseConfiguration +func (tr *AttachedDatabaseConfiguration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AttachedDatabaseConfiguration +func (tr *AttachedDatabaseConfiguration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AttachedDatabaseConfiguration +func (tr *AttachedDatabaseConfiguration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AttachedDatabaseConfiguration +func (tr *AttachedDatabaseConfiguration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AttachedDatabaseConfiguration +func (tr *AttachedDatabaseConfiguration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AttachedDatabaseConfiguration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AttachedDatabaseConfiguration) LateInitialize(attrs []byte) (bool, error) { + params := &AttachedDatabaseConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AttachedDatabaseConfiguration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_attacheddatabaseconfiguration_types.go b/apis/kusto/v1alpha1/zz_attacheddatabaseconfiguration_types.go new file mode 100755 index 000000000..a77f5c519 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_attacheddatabaseconfiguration_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AttachedDatabaseConfigurationObservation struct { + AttachedDatabaseNames []*string `json:"attachedDatabaseNames,omitempty" tf:"attached_database_names,omitempty"` +} + +type AttachedDatabaseConfigurationParameters struct { + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Required + ClusterResourceID *string `json:"clusterResourceId" tf:"cluster_resource_id,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Optional + DefaultPrincipalModificationKind *string `json:"defaultPrincipalModificationKind,omitempty" tf:"default_principal_modification_kind,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// AttachedDatabaseConfigurationSpec defines the desired state of AttachedDatabaseConfiguration +type AttachedDatabaseConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AttachedDatabaseConfigurationParameters `json:"forProvider"` +} + +// AttachedDatabaseConfigurationStatus defines the observed state of AttachedDatabaseConfiguration. +type AttachedDatabaseConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AttachedDatabaseConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AttachedDatabaseConfiguration is the Schema for the AttachedDatabaseConfigurations API +// +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,azurejet} +type AttachedDatabaseConfiguration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AttachedDatabaseConfigurationSpec `json:"spec"` + Status AttachedDatabaseConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AttachedDatabaseConfigurationList contains a list of AttachedDatabaseConfigurations +type AttachedDatabaseConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AttachedDatabaseConfiguration `json:"items"` +} + +// Repository type metadata. +var ( + AttachedDatabaseConfiguration_Kind = "AttachedDatabaseConfiguration" + AttachedDatabaseConfiguration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AttachedDatabaseConfiguration_Kind}.String() + AttachedDatabaseConfiguration_KindAPIVersion = AttachedDatabaseConfiguration_Kind + "." + CRDGroupVersion.String() + AttachedDatabaseConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(AttachedDatabaseConfiguration_Kind) +) + +func init() { + SchemeBuilder.Register(&AttachedDatabaseConfiguration{}, &AttachedDatabaseConfigurationList{}) +} diff --git a/apis/kusto/v1alpha1/zz_cluster_terraformed.go b/apis/kusto/v1alpha1/zz_cluster_terraformed.go new file mode 100755 index 000000000..cfd414446 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_cluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Cluster +func (mg *Cluster) GetTerraformResourceType() string { + return "azurerm_kusto_cluster" +} + +// GetConnectionDetailsMapping for this Cluster +func (tr *Cluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Cluster +func (tr *Cluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Cluster +func (tr *Cluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Cluster +func (tr *Cluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Cluster +func (tr *Cluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Cluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Cluster) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Cluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_cluster_types.go b/apis/kusto/v1alpha1/zz_cluster_types.go new file mode 100755 index 000000000..bc9af32af --- /dev/null +++ b/apis/kusto/v1alpha1/zz_cluster_types.go @@ -0,0 +1,186 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ClusterObservation struct { + DataIngestionURI *string `json:"dataIngestionUri,omitempty" tf:"data_ingestion_uri,omitempty"` + + URI *string `json:"uri,omitempty" tf:"uri,omitempty"` +} + +type ClusterParameters struct { + + // +kubebuilder:validation:Optional + DoubleEncryptionEnabled *bool `json:"doubleEncryptionEnabled,omitempty" tf:"double_encryption_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EnableDiskEncryption *bool `json:"enableDiskEncryption,omitempty" tf:"enable_disk_encryption,omitempty"` + + // +kubebuilder:validation:Optional + EnablePurge *bool `json:"enablePurge,omitempty" tf:"enable_purge,omitempty"` + + // +kubebuilder:validation:Optional + EnableStreamingIngest *bool `json:"enableStreamingIngest,omitempty" tf:"enable_streaming_ingest,omitempty"` + + // +kubebuilder:validation:Optional + Engine *string `json:"engine,omitempty" tf:"engine,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + LanguageExtensions []*string `json:"languageExtensions,omitempty" tf:"language_extensions,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OptimizedAutoScale []OptimizedAutoScaleParameters `json:"optimizedAutoScale,omitempty" tf:"optimized_auto_scale,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku []SkuParameters `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TrustedExternalTenants []*string `json:"trustedExternalTenants,omitempty" tf:"trusted_external_tenants,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkConfiguration []VirtualNetworkConfigurationParameters `json:"virtualNetworkConfiguration,omitempty" tf:"virtual_network_configuration,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type OptimizedAutoScaleObservation struct { +} + +type OptimizedAutoScaleParameters struct { + + // +kubebuilder:validation:Required + MaximumInstances *int64 `json:"maximumInstances" tf:"maximum_instances,omitempty"` + + // +kubebuilder:validation:Required + MinimumInstances *int64 `json:"minimumInstances" tf:"minimum_instances,omitempty"` +} + +type SkuObservation struct { +} + +type SkuParameters struct { + + // +kubebuilder:validation:Optional + Capacity *int64 `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type VirtualNetworkConfigurationObservation struct { +} + +type VirtualNetworkConfigurationParameters struct { + + // +kubebuilder:validation:Required + DataManagementPublicIPID *string `json:"dataManagementPublicIpId" tf:"data_management_public_ip_id,omitempty"` + + // +kubebuilder:validation:Required + EnginePublicIPID *string `json:"enginePublicIpId" tf:"engine_public_ip_id,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// ClusterSpec defines the desired state of Cluster +type ClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ClusterParameters `json:"forProvider"` +} + +// ClusterStatus defines the observed state of Cluster. +type ClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Cluster is the Schema for the Clusters API +// +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,azurejet} +type Cluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ClusterSpec `json:"spec"` + Status ClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterList contains a list of Clusters +type ClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Cluster `json:"items"` +} + +// Repository type metadata. +var ( + Cluster_Kind = "Cluster" + Cluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String() + Cluster_KindAPIVersion = Cluster_Kind + "." + CRDGroupVersion.String() + Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind) +) + +func init() { + SchemeBuilder.Register(&Cluster{}, &ClusterList{}) +} diff --git a/apis/kusto/v1alpha1/zz_clustercustomermanagedkey_terraformed.go b/apis/kusto/v1alpha1/zz_clustercustomermanagedkey_terraformed.go new file mode 100755 index 000000000..48051cb02 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_clustercustomermanagedkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ClusterCustomerManagedKey +func (mg *ClusterCustomerManagedKey) GetTerraformResourceType() string { + return "azurerm_kusto_cluster_customer_managed_key" +} + +// GetConnectionDetailsMapping for this ClusterCustomerManagedKey +func (tr *ClusterCustomerManagedKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ClusterCustomerManagedKey +func (tr *ClusterCustomerManagedKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ClusterCustomerManagedKey +func (tr *ClusterCustomerManagedKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ClusterCustomerManagedKey +func (tr *ClusterCustomerManagedKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ClusterCustomerManagedKey +func (tr *ClusterCustomerManagedKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ClusterCustomerManagedKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ClusterCustomerManagedKey) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterCustomerManagedKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ClusterCustomerManagedKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_clustercustomermanagedkey_types.go b/apis/kusto/v1alpha1/zz_clustercustomermanagedkey_types.go new file mode 100755 index 000000000..ce8b1a59b --- /dev/null +++ b/apis/kusto/v1alpha1/zz_clustercustomermanagedkey_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ClusterCustomerManagedKeyObservation struct { +} + +type ClusterCustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Required + ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"` + + // +kubebuilder:validation:Required + KeyName *string `json:"keyName" tf:"key_name,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + KeyVersion *string `json:"keyVersion" tf:"key_version,omitempty"` + + // +kubebuilder:validation:Optional + UserIdentity *string `json:"userIdentity,omitempty" tf:"user_identity,omitempty"` +} + +// ClusterCustomerManagedKeySpec defines the desired state of ClusterCustomerManagedKey +type ClusterCustomerManagedKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ClusterCustomerManagedKeyParameters `json:"forProvider"` +} + +// ClusterCustomerManagedKeyStatus defines the observed state of ClusterCustomerManagedKey. +type ClusterCustomerManagedKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ClusterCustomerManagedKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterCustomerManagedKey is the Schema for the ClusterCustomerManagedKeys API +// +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,azurejet} +type ClusterCustomerManagedKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ClusterCustomerManagedKeySpec `json:"spec"` + Status ClusterCustomerManagedKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterCustomerManagedKeyList contains a list of ClusterCustomerManagedKeys +type ClusterCustomerManagedKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ClusterCustomerManagedKey `json:"items"` +} + +// Repository type metadata. +var ( + ClusterCustomerManagedKey_Kind = "ClusterCustomerManagedKey" + ClusterCustomerManagedKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterCustomerManagedKey_Kind}.String() + ClusterCustomerManagedKey_KindAPIVersion = ClusterCustomerManagedKey_Kind + "." + CRDGroupVersion.String() + ClusterCustomerManagedKey_GroupVersionKind = CRDGroupVersion.WithKind(ClusterCustomerManagedKey_Kind) +) + +func init() { + SchemeBuilder.Register(&ClusterCustomerManagedKey{}, &ClusterCustomerManagedKeyList{}) +} diff --git a/apis/kusto/v1alpha1/zz_clusterprincipalassignment_terraformed.go b/apis/kusto/v1alpha1/zz_clusterprincipalassignment_terraformed.go new file mode 100755 index 000000000..acc39c6c6 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_clusterprincipalassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ClusterPrincipalAssignment +func (mg *ClusterPrincipalAssignment) GetTerraformResourceType() string { + return "azurerm_kusto_cluster_principal_assignment" +} + +// GetConnectionDetailsMapping for this ClusterPrincipalAssignment +func (tr *ClusterPrincipalAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ClusterPrincipalAssignment +func (tr *ClusterPrincipalAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ClusterPrincipalAssignment +func (tr *ClusterPrincipalAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ClusterPrincipalAssignment +func (tr *ClusterPrincipalAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ClusterPrincipalAssignment +func (tr *ClusterPrincipalAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ClusterPrincipalAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ClusterPrincipalAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterPrincipalAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ClusterPrincipalAssignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_clusterprincipalassignment_types.go b/apis/kusto/v1alpha1/zz_clusterprincipalassignment_types.go new file mode 100755 index 000000000..710d964fa --- /dev/null +++ b/apis/kusto/v1alpha1/zz_clusterprincipalassignment_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ClusterPrincipalAssignmentObservation struct { + PrincipalName *string `json:"principalName,omitempty" tf:"principal_name,omitempty"` + + TenantName *string `json:"tenantName,omitempty" tf:"tenant_name,omitempty"` +} + +type ClusterPrincipalAssignmentParameters struct { + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrincipalID *string `json:"principalId" tf:"principal_id,omitempty"` + + // +kubebuilder:validation:Required + PrincipalType *string `json:"principalType" tf:"principal_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Role *string `json:"role" tf:"role,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// ClusterPrincipalAssignmentSpec defines the desired state of ClusterPrincipalAssignment +type ClusterPrincipalAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ClusterPrincipalAssignmentParameters `json:"forProvider"` +} + +// ClusterPrincipalAssignmentStatus defines the observed state of ClusterPrincipalAssignment. +type ClusterPrincipalAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ClusterPrincipalAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterPrincipalAssignment is the Schema for the ClusterPrincipalAssignments API +// +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,azurejet} +type ClusterPrincipalAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ClusterPrincipalAssignmentSpec `json:"spec"` + Status ClusterPrincipalAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterPrincipalAssignmentList contains a list of ClusterPrincipalAssignments +type ClusterPrincipalAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ClusterPrincipalAssignment `json:"items"` +} + +// Repository type metadata. +var ( + ClusterPrincipalAssignment_Kind = "ClusterPrincipalAssignment" + ClusterPrincipalAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ClusterPrincipalAssignment_Kind}.String() + ClusterPrincipalAssignment_KindAPIVersion = ClusterPrincipalAssignment_Kind + "." + CRDGroupVersion.String() + ClusterPrincipalAssignment_GroupVersionKind = CRDGroupVersion.WithKind(ClusterPrincipalAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&ClusterPrincipalAssignment{}, &ClusterPrincipalAssignmentList{}) +} diff --git a/apis/kusto/v1alpha1/zz_database_terraformed.go b/apis/kusto/v1alpha1/zz_database_terraformed.go new file mode 100755 index 000000000..2dd0a326d --- /dev/null +++ b/apis/kusto/v1alpha1/zz_database_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Database +func (mg *Database) GetTerraformResourceType() string { + return "azurerm_kusto_database" +} + +// GetConnectionDetailsMapping for this Database +func (tr *Database) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Database +func (tr *Database) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Database +func (tr *Database) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Database +func (tr *Database) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Database +func (tr *Database) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Database using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Database) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Database) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_database_types.go b/apis/kusto/v1alpha1/zz_database_types.go new file mode 100755 index 000000000..fb27c8475 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_database_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabaseObservation struct { + Size *float64 `json:"size,omitempty" tf:"size,omitempty"` +} + +type DatabaseParameters struct { + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Optional + HotCachePeriod *string `json:"hotCachePeriod,omitempty" tf:"hot_cache_period,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SoftDeletePeriod *string `json:"softDeletePeriod,omitempty" tf:"soft_delete_period,omitempty"` +} + +// DatabaseSpec defines the desired state of Database +type DatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseParameters `json:"forProvider"` +} + +// DatabaseStatus defines the observed state of Database. +type DatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Database is the Schema for the Databases API +// +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,azurejet} +type Database struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseSpec `json:"spec"` + Status DatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseList contains a list of Databases +type DatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Database `json:"items"` +} + +// Repository type metadata. +var ( + Database_Kind = "Database" + Database_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String() + Database_KindAPIVersion = Database_Kind + "." + CRDGroupVersion.String() + Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind) +) + +func init() { + SchemeBuilder.Register(&Database{}, &DatabaseList{}) +} diff --git a/apis/kusto/v1alpha1/zz_databaseprincipal_terraformed.go b/apis/kusto/v1alpha1/zz_databaseprincipal_terraformed.go new file mode 100755 index 000000000..eaa95df5e --- /dev/null +++ b/apis/kusto/v1alpha1/zz_databaseprincipal_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DatabasePrincipal +func (mg *DatabasePrincipal) GetTerraformResourceType() string { + return "azurerm_kusto_database_principal" +} + +// GetConnectionDetailsMapping for this DatabasePrincipal +func (tr *DatabasePrincipal) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DatabasePrincipal +func (tr *DatabasePrincipal) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DatabasePrincipal +func (tr *DatabasePrincipal) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DatabasePrincipal +func (tr *DatabasePrincipal) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DatabasePrincipal +func (tr *DatabasePrincipal) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DatabasePrincipal using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DatabasePrincipal) LateInitialize(attrs []byte) (bool, error) { + params := &DatabasePrincipalParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DatabasePrincipal) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_databaseprincipal_types.go b/apis/kusto/v1alpha1/zz_databaseprincipal_types.go new file mode 100755 index 000000000..4b6564b10 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_databaseprincipal_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabasePrincipalObservation struct { + AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"` + + Email *string `json:"email,omitempty" tf:"email,omitempty"` + + FullyQualifiedName *string `json:"fullyQualifiedName,omitempty" tf:"fully_qualified_name,omitempty"` + + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type DatabasePrincipalParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Role *string `json:"role" tf:"role,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// DatabasePrincipalSpec defines the desired state of DatabasePrincipal +type DatabasePrincipalSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabasePrincipalParameters `json:"forProvider"` +} + +// DatabasePrincipalStatus defines the observed state of DatabasePrincipal. +type DatabasePrincipalStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabasePrincipalObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabasePrincipal is the Schema for the DatabasePrincipals API +// +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,azurejet} +type DatabasePrincipal struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabasePrincipalSpec `json:"spec"` + Status DatabasePrincipalStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabasePrincipalList contains a list of DatabasePrincipals +type DatabasePrincipalList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DatabasePrincipal `json:"items"` +} + +// Repository type metadata. +var ( + DatabasePrincipal_Kind = "DatabasePrincipal" + DatabasePrincipal_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DatabasePrincipal_Kind}.String() + DatabasePrincipal_KindAPIVersion = DatabasePrincipal_Kind + "." + CRDGroupVersion.String() + DatabasePrincipal_GroupVersionKind = CRDGroupVersion.WithKind(DatabasePrincipal_Kind) +) + +func init() { + SchemeBuilder.Register(&DatabasePrincipal{}, &DatabasePrincipalList{}) +} diff --git a/apis/kusto/v1alpha1/zz_databaseprincipalassignment_terraformed.go b/apis/kusto/v1alpha1/zz_databaseprincipalassignment_terraformed.go new file mode 100755 index 000000000..4f479d81f --- /dev/null +++ b/apis/kusto/v1alpha1/zz_databaseprincipalassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DatabasePrincipalAssignment +func (mg *DatabasePrincipalAssignment) GetTerraformResourceType() string { + return "azurerm_kusto_database_principal_assignment" +} + +// GetConnectionDetailsMapping for this DatabasePrincipalAssignment +func (tr *DatabasePrincipalAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DatabasePrincipalAssignment +func (tr *DatabasePrincipalAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DatabasePrincipalAssignment +func (tr *DatabasePrincipalAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DatabasePrincipalAssignment +func (tr *DatabasePrincipalAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DatabasePrincipalAssignment +func (tr *DatabasePrincipalAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DatabasePrincipalAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DatabasePrincipalAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &DatabasePrincipalAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DatabasePrincipalAssignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_databaseprincipalassignment_types.go b/apis/kusto/v1alpha1/zz_databaseprincipalassignment_types.go new file mode 100755 index 000000000..60134d612 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_databaseprincipalassignment_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabasePrincipalAssignmentObservation struct { + PrincipalName *string `json:"principalName,omitempty" tf:"principal_name,omitempty"` + + TenantName *string `json:"tenantName,omitempty" tf:"tenant_name,omitempty"` +} + +type DatabasePrincipalAssignmentParameters struct { + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrincipalID *string `json:"principalId" tf:"principal_id,omitempty"` + + // +kubebuilder:validation:Required + PrincipalType *string `json:"principalType" tf:"principal_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Role *string `json:"role" tf:"role,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// DatabasePrincipalAssignmentSpec defines the desired state of DatabasePrincipalAssignment +type DatabasePrincipalAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabasePrincipalAssignmentParameters `json:"forProvider"` +} + +// DatabasePrincipalAssignmentStatus defines the observed state of DatabasePrincipalAssignment. +type DatabasePrincipalAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabasePrincipalAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabasePrincipalAssignment is the Schema for the DatabasePrincipalAssignments API +// +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,azurejet} +type DatabasePrincipalAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabasePrincipalAssignmentSpec `json:"spec"` + Status DatabasePrincipalAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabasePrincipalAssignmentList contains a list of DatabasePrincipalAssignments +type DatabasePrincipalAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DatabasePrincipalAssignment `json:"items"` +} + +// Repository type metadata. +var ( + DatabasePrincipalAssignment_Kind = "DatabasePrincipalAssignment" + DatabasePrincipalAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DatabasePrincipalAssignment_Kind}.String() + DatabasePrincipalAssignment_KindAPIVersion = DatabasePrincipalAssignment_Kind + "." + CRDGroupVersion.String() + DatabasePrincipalAssignment_GroupVersionKind = CRDGroupVersion.WithKind(DatabasePrincipalAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&DatabasePrincipalAssignment{}, &DatabasePrincipalAssignmentList{}) +} diff --git a/apis/kusto/v1alpha1/zz_eventgriddataconnection_terraformed.go b/apis/kusto/v1alpha1/zz_eventgriddataconnection_terraformed.go new file mode 100755 index 000000000..173c65eca --- /dev/null +++ b/apis/kusto/v1alpha1/zz_eventgriddataconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EventgridDataConnection +func (mg *EventgridDataConnection) GetTerraformResourceType() string { + return "azurerm_kusto_eventgrid_data_connection" +} + +// GetConnectionDetailsMapping for this EventgridDataConnection +func (tr *EventgridDataConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EventgridDataConnection +func (tr *EventgridDataConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EventgridDataConnection +func (tr *EventgridDataConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EventgridDataConnection +func (tr *EventgridDataConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EventgridDataConnection +func (tr *EventgridDataConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EventgridDataConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EventgridDataConnection) LateInitialize(attrs []byte) (bool, error) { + params := &EventgridDataConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EventgridDataConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_eventgriddataconnection_types.go b/apis/kusto/v1alpha1/zz_eventgriddataconnection_types.go new file mode 100755 index 000000000..96106e712 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_eventgriddataconnection_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EventgridDataConnectionObservation struct { +} + +type EventgridDataConnectionParameters struct { + + // +kubebuilder:validation:Optional + BlobStorageEventType *string `json:"blobStorageEventType,omitempty" tf:"blob_storage_event_type,omitempty"` + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Optional + DataFormat *string `json:"dataFormat,omitempty" tf:"data_format,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + EventhubConsumerGroupName *string `json:"eventhubConsumerGroupName" tf:"eventhub_consumer_group_name,omitempty"` + + // +kubebuilder:validation:Required + EventhubID *string `json:"eventhubId" tf:"eventhub_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MappingRuleName *string `json:"mappingRuleName,omitempty" tf:"mapping_rule_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkipFirstRecord *bool `json:"skipFirstRecord,omitempty" tf:"skip_first_record,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +// EventgridDataConnectionSpec defines the desired state of EventgridDataConnection +type EventgridDataConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EventgridDataConnectionParameters `json:"forProvider"` +} + +// EventgridDataConnectionStatus defines the observed state of EventgridDataConnection. +type EventgridDataConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EventgridDataConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventgridDataConnection is the Schema for the EventgridDataConnections API +// +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,azurejet} +type EventgridDataConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EventgridDataConnectionSpec `json:"spec"` + Status EventgridDataConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventgridDataConnectionList contains a list of EventgridDataConnections +type EventgridDataConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EventgridDataConnection `json:"items"` +} + +// Repository type metadata. +var ( + EventgridDataConnection_Kind = "EventgridDataConnection" + EventgridDataConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EventgridDataConnection_Kind}.String() + EventgridDataConnection_KindAPIVersion = EventgridDataConnection_Kind + "." + CRDGroupVersion.String() + EventgridDataConnection_GroupVersionKind = CRDGroupVersion.WithKind(EventgridDataConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&EventgridDataConnection{}, &EventgridDataConnectionList{}) +} diff --git a/apis/kusto/v1alpha1/zz_eventhubdataconnection_terraformed.go b/apis/kusto/v1alpha1/zz_eventhubdataconnection_terraformed.go new file mode 100755 index 000000000..0377b021e --- /dev/null +++ b/apis/kusto/v1alpha1/zz_eventhubdataconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EventhubDataConnection +func (mg *EventhubDataConnection) GetTerraformResourceType() string { + return "azurerm_kusto_eventhub_data_connection" +} + +// GetConnectionDetailsMapping for this EventhubDataConnection +func (tr *EventhubDataConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EventhubDataConnection +func (tr *EventhubDataConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EventhubDataConnection +func (tr *EventhubDataConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EventhubDataConnection +func (tr *EventhubDataConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EventhubDataConnection +func (tr *EventhubDataConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EventhubDataConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EventhubDataConnection) LateInitialize(attrs []byte) (bool, error) { + params := &EventhubDataConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EventhubDataConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_eventhubdataconnection_types.go b/apis/kusto/v1alpha1/zz_eventhubdataconnection_types.go new file mode 100755 index 000000000..5d5f524c7 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_eventhubdataconnection_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EventhubDataConnectionObservation struct { +} + +type EventhubDataConnectionParameters struct { + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Optional + Compression *string `json:"compression,omitempty" tf:"compression,omitempty"` + + // +kubebuilder:validation:Required + ConsumerGroup *string `json:"consumerGroup" tf:"consumer_group,omitempty"` + + // +kubebuilder:validation:Optional + DataFormat *string `json:"dataFormat,omitempty" tf:"data_format,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Optional + EventSystemProperties []*string `json:"eventSystemProperties,omitempty" tf:"event_system_properties,omitempty"` + + // +kubebuilder:validation:Required + EventhubID *string `json:"eventhubId" tf:"eventhub_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MappingRuleName *string `json:"mappingRuleName,omitempty" tf:"mapping_rule_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +// EventhubDataConnectionSpec defines the desired state of EventhubDataConnection +type EventhubDataConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EventhubDataConnectionParameters `json:"forProvider"` +} + +// EventhubDataConnectionStatus defines the observed state of EventhubDataConnection. +type EventhubDataConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EventhubDataConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventhubDataConnection is the Schema for the EventhubDataConnections API +// +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,azurejet} +type EventhubDataConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EventhubDataConnectionSpec `json:"spec"` + Status EventhubDataConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EventhubDataConnectionList contains a list of EventhubDataConnections +type EventhubDataConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EventhubDataConnection `json:"items"` +} + +// Repository type metadata. +var ( + EventhubDataConnection_Kind = "EventhubDataConnection" + EventhubDataConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EventhubDataConnection_Kind}.String() + EventhubDataConnection_KindAPIVersion = EventhubDataConnection_Kind + "." + CRDGroupVersion.String() + EventhubDataConnection_GroupVersionKind = CRDGroupVersion.WithKind(EventhubDataConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&EventhubDataConnection{}, &EventhubDataConnectionList{}) +} diff --git a/apis/kusto/v1alpha1/zz_generated.deepcopy.go b/apis/kusto/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..6b170cd6d --- /dev/null +++ b/apis/kusto/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2015 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AttachedDatabaseConfiguration) DeepCopyInto(out *AttachedDatabaseConfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDatabaseConfiguration. +func (in *AttachedDatabaseConfiguration) DeepCopy() *AttachedDatabaseConfiguration { + if in == nil { + return nil + } + out := new(AttachedDatabaseConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AttachedDatabaseConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AttachedDatabaseConfigurationList) DeepCopyInto(out *AttachedDatabaseConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AttachedDatabaseConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDatabaseConfigurationList. +func (in *AttachedDatabaseConfigurationList) DeepCopy() *AttachedDatabaseConfigurationList { + if in == nil { + return nil + } + out := new(AttachedDatabaseConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AttachedDatabaseConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AttachedDatabaseConfigurationObservation) DeepCopyInto(out *AttachedDatabaseConfigurationObservation) { + *out = *in + if in.AttachedDatabaseNames != nil { + in, out := &in.AttachedDatabaseNames, &out.AttachedDatabaseNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDatabaseConfigurationObservation. +func (in *AttachedDatabaseConfigurationObservation) DeepCopy() *AttachedDatabaseConfigurationObservation { + if in == nil { + return nil + } + out := new(AttachedDatabaseConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AttachedDatabaseConfigurationParameters) DeepCopyInto(out *AttachedDatabaseConfigurationParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ClusterResourceID != nil { + in, out := &in.ClusterResourceID, &out.ClusterResourceID + *out = new(string) + **out = **in + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.DefaultPrincipalModificationKind != nil { + in, out := &in.DefaultPrincipalModificationKind, &out.DefaultPrincipalModificationKind + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDatabaseConfigurationParameters. +func (in *AttachedDatabaseConfigurationParameters) DeepCopy() *AttachedDatabaseConfigurationParameters { + if in == nil { + return nil + } + out := new(AttachedDatabaseConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AttachedDatabaseConfigurationSpec) DeepCopyInto(out *AttachedDatabaseConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDatabaseConfigurationSpec. +func (in *AttachedDatabaseConfigurationSpec) DeepCopy() *AttachedDatabaseConfigurationSpec { + if in == nil { + return nil + } + out := new(AttachedDatabaseConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AttachedDatabaseConfigurationStatus) DeepCopyInto(out *AttachedDatabaseConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedDatabaseConfigurationStatus. +func (in *AttachedDatabaseConfigurationStatus) DeepCopy() *AttachedDatabaseConfigurationStatus { + if in == nil { + return nil + } + out := new(AttachedDatabaseConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Cluster) DeepCopyInto(out *Cluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { + return nil + } + out := new(Cluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Cluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCustomerManagedKey) DeepCopyInto(out *ClusterCustomerManagedKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCustomerManagedKey. +func (in *ClusterCustomerManagedKey) DeepCopy() *ClusterCustomerManagedKey { + if in == nil { + return nil + } + out := new(ClusterCustomerManagedKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterCustomerManagedKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCustomerManagedKeyList) DeepCopyInto(out *ClusterCustomerManagedKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterCustomerManagedKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCustomerManagedKeyList. +func (in *ClusterCustomerManagedKeyList) DeepCopy() *ClusterCustomerManagedKeyList { + if in == nil { + return nil + } + out := new(ClusterCustomerManagedKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterCustomerManagedKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCustomerManagedKeyObservation) DeepCopyInto(out *ClusterCustomerManagedKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCustomerManagedKeyObservation. +func (in *ClusterCustomerManagedKeyObservation) DeepCopy() *ClusterCustomerManagedKeyObservation { + if in == nil { + return nil + } + out := new(ClusterCustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCustomerManagedKeyParameters) DeepCopyInto(out *ClusterCustomerManagedKeyParameters) { + *out = *in + if in.ClusterID != nil { + in, out := &in.ClusterID, &out.ClusterID + *out = new(string) + **out = **in + } + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.KeyVersion != nil { + in, out := &in.KeyVersion, &out.KeyVersion + *out = new(string) + **out = **in + } + if in.UserIdentity != nil { + in, out := &in.UserIdentity, &out.UserIdentity + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCustomerManagedKeyParameters. +func (in *ClusterCustomerManagedKeyParameters) DeepCopy() *ClusterCustomerManagedKeyParameters { + if in == nil { + return nil + } + out := new(ClusterCustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCustomerManagedKeySpec) DeepCopyInto(out *ClusterCustomerManagedKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCustomerManagedKeySpec. +func (in *ClusterCustomerManagedKeySpec) DeepCopy() *ClusterCustomerManagedKeySpec { + if in == nil { + return nil + } + out := new(ClusterCustomerManagedKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCustomerManagedKeyStatus) DeepCopyInto(out *ClusterCustomerManagedKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCustomerManagedKeyStatus. +func (in *ClusterCustomerManagedKeyStatus) DeepCopy() *ClusterCustomerManagedKeyStatus { + if in == nil { + return nil + } + out := new(ClusterCustomerManagedKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterList) DeepCopyInto(out *ClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Cluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. +func (in *ClusterList) DeepCopy() *ClusterList { + if in == nil { + return nil + } + out := new(ClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { + *out = *in + if in.DataIngestionURI != nil { + in, out := &in.DataIngestionURI, &out.DataIngestionURI + *out = new(string) + **out = **in + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservation. +func (in *ClusterObservation) DeepCopy() *ClusterObservation { + if in == nil { + return nil + } + out := new(ClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { + *out = *in + if in.DoubleEncryptionEnabled != nil { + in, out := &in.DoubleEncryptionEnabled, &out.DoubleEncryptionEnabled + *out = new(bool) + **out = **in + } + if in.EnableDiskEncryption != nil { + in, out := &in.EnableDiskEncryption, &out.EnableDiskEncryption + *out = new(bool) + **out = **in + } + if in.EnablePurge != nil { + in, out := &in.EnablePurge, &out.EnablePurge + *out = new(bool) + **out = **in + } + if in.EnableStreamingIngest != nil { + in, out := &in.EnableStreamingIngest, &out.EnableStreamingIngest + *out = new(bool) + **out = **in + } + if in.Engine != nil { + in, out := &in.Engine, &out.Engine + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LanguageExtensions != nil { + in, out := &in.LanguageExtensions, &out.LanguageExtensions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OptimizedAutoScale != nil { + in, out := &in.OptimizedAutoScale, &out.OptimizedAutoScale + *out = make([]OptimizedAutoScaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = make([]SkuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TrustedExternalTenants != nil { + in, out := &in.TrustedExternalTenants, &out.TrustedExternalTenants + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualNetworkConfiguration != nil { + in, out := &in.VirtualNetworkConfiguration, &out.VirtualNetworkConfiguration + *out = make([]VirtualNetworkConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters. +func (in *ClusterParameters) DeepCopy() *ClusterParameters { + if in == nil { + return nil + } + out := new(ClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterPrincipalAssignment) DeepCopyInto(out *ClusterPrincipalAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPrincipalAssignment. +func (in *ClusterPrincipalAssignment) DeepCopy() *ClusterPrincipalAssignment { + if in == nil { + return nil + } + out := new(ClusterPrincipalAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterPrincipalAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterPrincipalAssignmentList) DeepCopyInto(out *ClusterPrincipalAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterPrincipalAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPrincipalAssignmentList. +func (in *ClusterPrincipalAssignmentList) DeepCopy() *ClusterPrincipalAssignmentList { + if in == nil { + return nil + } + out := new(ClusterPrincipalAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterPrincipalAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterPrincipalAssignmentObservation) DeepCopyInto(out *ClusterPrincipalAssignmentObservation) { + *out = *in + if in.PrincipalName != nil { + in, out := &in.PrincipalName, &out.PrincipalName + *out = new(string) + **out = **in + } + if in.TenantName != nil { + in, out := &in.TenantName, &out.TenantName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPrincipalAssignmentObservation. +func (in *ClusterPrincipalAssignmentObservation) DeepCopy() *ClusterPrincipalAssignmentObservation { + if in == nil { + return nil + } + out := new(ClusterPrincipalAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterPrincipalAssignmentParameters) DeepCopyInto(out *ClusterPrincipalAssignmentParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.PrincipalType != nil { + in, out := &in.PrincipalType, &out.PrincipalType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPrincipalAssignmentParameters. +func (in *ClusterPrincipalAssignmentParameters) DeepCopy() *ClusterPrincipalAssignmentParameters { + if in == nil { + return nil + } + out := new(ClusterPrincipalAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterPrincipalAssignmentSpec) DeepCopyInto(out *ClusterPrincipalAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPrincipalAssignmentSpec. +func (in *ClusterPrincipalAssignmentSpec) DeepCopy() *ClusterPrincipalAssignmentSpec { + if in == nil { + return nil + } + out := new(ClusterPrincipalAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterPrincipalAssignmentStatus) DeepCopyInto(out *ClusterPrincipalAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPrincipalAssignmentStatus. +func (in *ClusterPrincipalAssignmentStatus) DeepCopy() *ClusterPrincipalAssignmentStatus { + if in == nil { + return nil + } + out := new(ClusterPrincipalAssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. +func (in *ClusterSpec) DeepCopy() *ClusterSpec { + if in == nil { + return nil + } + out := new(ClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. +func (in *ClusterStatus) DeepCopy() *ClusterStatus { + if in == nil { + return nil + } + out := new(ClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Database) DeepCopyInto(out *Database) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database. +func (in *Database) DeepCopy() *Database { + if in == nil { + return nil + } + out := new(Database) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Database) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseList) DeepCopyInto(out *DatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Database, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList. +func (in *DatabaseList) DeepCopy() *DatabaseList { + if in == nil { + return nil + } + out := new(DatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { + *out = *in + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation. +func (in *DatabaseObservation) DeepCopy() *DatabaseObservation { + if in == nil { + return nil + } + out := new(DatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.HotCachePeriod != nil { + in, out := &in.HotCachePeriod, &out.HotCachePeriod + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SoftDeletePeriod != nil { + in, out := &in.SoftDeletePeriod, &out.SoftDeletePeriod + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters. +func (in *DatabaseParameters) DeepCopy() *DatabaseParameters { + if in == nil { + return nil + } + out := new(DatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipal) DeepCopyInto(out *DatabasePrincipal) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipal. +func (in *DatabasePrincipal) DeepCopy() *DatabasePrincipal { + if in == nil { + return nil + } + out := new(DatabasePrincipal) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabasePrincipal) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalAssignment) DeepCopyInto(out *DatabasePrincipalAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalAssignment. +func (in *DatabasePrincipalAssignment) DeepCopy() *DatabasePrincipalAssignment { + if in == nil { + return nil + } + out := new(DatabasePrincipalAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabasePrincipalAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalAssignmentList) DeepCopyInto(out *DatabasePrincipalAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DatabasePrincipalAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalAssignmentList. +func (in *DatabasePrincipalAssignmentList) DeepCopy() *DatabasePrincipalAssignmentList { + if in == nil { + return nil + } + out := new(DatabasePrincipalAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabasePrincipalAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalAssignmentObservation) DeepCopyInto(out *DatabasePrincipalAssignmentObservation) { + *out = *in + if in.PrincipalName != nil { + in, out := &in.PrincipalName, &out.PrincipalName + *out = new(string) + **out = **in + } + if in.TenantName != nil { + in, out := &in.TenantName, &out.TenantName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalAssignmentObservation. +func (in *DatabasePrincipalAssignmentObservation) DeepCopy() *DatabasePrincipalAssignmentObservation { + if in == nil { + return nil + } + out := new(DatabasePrincipalAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalAssignmentParameters) DeepCopyInto(out *DatabasePrincipalAssignmentParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.PrincipalType != nil { + in, out := &in.PrincipalType, &out.PrincipalType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalAssignmentParameters. +func (in *DatabasePrincipalAssignmentParameters) DeepCopy() *DatabasePrincipalAssignmentParameters { + if in == nil { + return nil + } + out := new(DatabasePrincipalAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalAssignmentSpec) DeepCopyInto(out *DatabasePrincipalAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalAssignmentSpec. +func (in *DatabasePrincipalAssignmentSpec) DeepCopy() *DatabasePrincipalAssignmentSpec { + if in == nil { + return nil + } + out := new(DatabasePrincipalAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalAssignmentStatus) DeepCopyInto(out *DatabasePrincipalAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalAssignmentStatus. +func (in *DatabasePrincipalAssignmentStatus) DeepCopy() *DatabasePrincipalAssignmentStatus { + if in == nil { + return nil + } + out := new(DatabasePrincipalAssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalList) DeepCopyInto(out *DatabasePrincipalList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DatabasePrincipal, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalList. +func (in *DatabasePrincipalList) DeepCopy() *DatabasePrincipalList { + if in == nil { + return nil + } + out := new(DatabasePrincipalList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabasePrincipalList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalObservation) DeepCopyInto(out *DatabasePrincipalObservation) { + *out = *in + if in.AppID != nil { + in, out := &in.AppID, &out.AppID + *out = new(string) + **out = **in + } + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.FullyQualifiedName != nil { + in, out := &in.FullyQualifiedName, &out.FullyQualifiedName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalObservation. +func (in *DatabasePrincipalObservation) DeepCopy() *DatabasePrincipalObservation { + if in == nil { + return nil + } + out := new(DatabasePrincipalObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalParameters) DeepCopyInto(out *DatabasePrincipalParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalParameters. +func (in *DatabasePrincipalParameters) DeepCopy() *DatabasePrincipalParameters { + if in == nil { + return nil + } + out := new(DatabasePrincipalParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalSpec) DeepCopyInto(out *DatabasePrincipalSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalSpec. +func (in *DatabasePrincipalSpec) DeepCopy() *DatabasePrincipalSpec { + if in == nil { + return nil + } + out := new(DatabasePrincipalSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabasePrincipalStatus) DeepCopyInto(out *DatabasePrincipalStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabasePrincipalStatus. +func (in *DatabasePrincipalStatus) DeepCopy() *DatabasePrincipalStatus { + if in == nil { + return nil + } + out := new(DatabasePrincipalStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec. +func (in *DatabaseSpec) DeepCopy() *DatabaseSpec { + if in == nil { + return nil + } + out := new(DatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus. +func (in *DatabaseStatus) DeepCopy() *DatabaseStatus { + if in == nil { + return nil + } + out := new(DatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventgridDataConnection) DeepCopyInto(out *EventgridDataConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventgridDataConnection. +func (in *EventgridDataConnection) DeepCopy() *EventgridDataConnection { + if in == nil { + return nil + } + out := new(EventgridDataConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventgridDataConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventgridDataConnectionList) DeepCopyInto(out *EventgridDataConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EventgridDataConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventgridDataConnectionList. +func (in *EventgridDataConnectionList) DeepCopy() *EventgridDataConnectionList { + if in == nil { + return nil + } + out := new(EventgridDataConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventgridDataConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventgridDataConnectionObservation) DeepCopyInto(out *EventgridDataConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventgridDataConnectionObservation. +func (in *EventgridDataConnectionObservation) DeepCopy() *EventgridDataConnectionObservation { + if in == nil { + return nil + } + out := new(EventgridDataConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventgridDataConnectionParameters) DeepCopyInto(out *EventgridDataConnectionParameters) { + *out = *in + if in.BlobStorageEventType != nil { + in, out := &in.BlobStorageEventType, &out.BlobStorageEventType + *out = new(string) + **out = **in + } + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.DataFormat != nil { + in, out := &in.DataFormat, &out.DataFormat + *out = new(string) + **out = **in + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.EventhubConsumerGroupName != nil { + in, out := &in.EventhubConsumerGroupName, &out.EventhubConsumerGroupName + *out = new(string) + **out = **in + } + if in.EventhubID != nil { + in, out := &in.EventhubID, &out.EventhubID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MappingRuleName != nil { + in, out := &in.MappingRuleName, &out.MappingRuleName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkipFirstRecord != nil { + in, out := &in.SkipFirstRecord, &out.SkipFirstRecord + *out = new(bool) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventgridDataConnectionParameters. +func (in *EventgridDataConnectionParameters) DeepCopy() *EventgridDataConnectionParameters { + if in == nil { + return nil + } + out := new(EventgridDataConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventgridDataConnectionSpec) DeepCopyInto(out *EventgridDataConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventgridDataConnectionSpec. +func (in *EventgridDataConnectionSpec) DeepCopy() *EventgridDataConnectionSpec { + if in == nil { + return nil + } + out := new(EventgridDataConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventgridDataConnectionStatus) DeepCopyInto(out *EventgridDataConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventgridDataConnectionStatus. +func (in *EventgridDataConnectionStatus) DeepCopy() *EventgridDataConnectionStatus { + if in == nil { + return nil + } + out := new(EventgridDataConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubDataConnection) DeepCopyInto(out *EventhubDataConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubDataConnection. +func (in *EventhubDataConnection) DeepCopy() *EventhubDataConnection { + if in == nil { + return nil + } + out := new(EventhubDataConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventhubDataConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubDataConnectionList) DeepCopyInto(out *EventhubDataConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EventhubDataConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubDataConnectionList. +func (in *EventhubDataConnectionList) DeepCopy() *EventhubDataConnectionList { + if in == nil { + return nil + } + out := new(EventhubDataConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EventhubDataConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubDataConnectionObservation) DeepCopyInto(out *EventhubDataConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubDataConnectionObservation. +func (in *EventhubDataConnectionObservation) DeepCopy() *EventhubDataConnectionObservation { + if in == nil { + return nil + } + out := new(EventhubDataConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubDataConnectionParameters) DeepCopyInto(out *EventhubDataConnectionParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.Compression != nil { + in, out := &in.Compression, &out.Compression + *out = new(string) + **out = **in + } + if in.ConsumerGroup != nil { + in, out := &in.ConsumerGroup, &out.ConsumerGroup + *out = new(string) + **out = **in + } + if in.DataFormat != nil { + in, out := &in.DataFormat, &out.DataFormat + *out = new(string) + **out = **in + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.EventSystemProperties != nil { + in, out := &in.EventSystemProperties, &out.EventSystemProperties + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EventhubID != nil { + in, out := &in.EventhubID, &out.EventhubID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MappingRuleName != nil { + in, out := &in.MappingRuleName, &out.MappingRuleName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubDataConnectionParameters. +func (in *EventhubDataConnectionParameters) DeepCopy() *EventhubDataConnectionParameters { + if in == nil { + return nil + } + out := new(EventhubDataConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubDataConnectionSpec) DeepCopyInto(out *EventhubDataConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubDataConnectionSpec. +func (in *EventhubDataConnectionSpec) DeepCopy() *EventhubDataConnectionSpec { + if in == nil { + return nil + } + out := new(EventhubDataConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventhubDataConnectionStatus) DeepCopyInto(out *EventhubDataConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventhubDataConnectionStatus. +func (in *EventhubDataConnectionStatus) DeepCopy() *EventhubDataConnectionStatus { + if in == nil { + return nil + } + out := new(EventhubDataConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IothubDataConnection) DeepCopyInto(out *IothubDataConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IothubDataConnection. +func (in *IothubDataConnection) DeepCopy() *IothubDataConnection { + if in == nil { + return nil + } + out := new(IothubDataConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IothubDataConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IothubDataConnectionList) DeepCopyInto(out *IothubDataConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]IothubDataConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IothubDataConnectionList. +func (in *IothubDataConnectionList) DeepCopy() *IothubDataConnectionList { + if in == nil { + return nil + } + out := new(IothubDataConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IothubDataConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IothubDataConnectionObservation) DeepCopyInto(out *IothubDataConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IothubDataConnectionObservation. +func (in *IothubDataConnectionObservation) DeepCopy() *IothubDataConnectionObservation { + if in == nil { + return nil + } + out := new(IothubDataConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IothubDataConnectionParameters) DeepCopyInto(out *IothubDataConnectionParameters) { + *out = *in + if in.ClusterName != nil { + in, out := &in.ClusterName, &out.ClusterName + *out = new(string) + **out = **in + } + if in.ConsumerGroup != nil { + in, out := &in.ConsumerGroup, &out.ConsumerGroup + *out = new(string) + **out = **in + } + if in.DataFormat != nil { + in, out := &in.DataFormat, &out.DataFormat + *out = new(string) + **out = **in + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.EventSystemProperties != nil { + in, out := &in.EventSystemProperties, &out.EventSystemProperties + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IothubID != nil { + in, out := &in.IothubID, &out.IothubID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MappingRuleName != nil { + in, out := &in.MappingRuleName, &out.MappingRuleName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SharedAccessPolicyName != nil { + in, out := &in.SharedAccessPolicyName, &out.SharedAccessPolicyName + *out = new(string) + **out = **in + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IothubDataConnectionParameters. +func (in *IothubDataConnectionParameters) DeepCopy() *IothubDataConnectionParameters { + if in == nil { + return nil + } + out := new(IothubDataConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IothubDataConnectionSpec) DeepCopyInto(out *IothubDataConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IothubDataConnectionSpec. +func (in *IothubDataConnectionSpec) DeepCopy() *IothubDataConnectionSpec { + if in == nil { + return nil + } + out := new(IothubDataConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IothubDataConnectionStatus) DeepCopyInto(out *IothubDataConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IothubDataConnectionStatus. +func (in *IothubDataConnectionStatus) DeepCopy() *IothubDataConnectionStatus { + if in == nil { + return nil + } + out := new(IothubDataConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OptimizedAutoScaleObservation) DeepCopyInto(out *OptimizedAutoScaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptimizedAutoScaleObservation. +func (in *OptimizedAutoScaleObservation) DeepCopy() *OptimizedAutoScaleObservation { + if in == nil { + return nil + } + out := new(OptimizedAutoScaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OptimizedAutoScaleParameters) DeepCopyInto(out *OptimizedAutoScaleParameters) { + *out = *in + if in.MaximumInstances != nil { + in, out := &in.MaximumInstances, &out.MaximumInstances + *out = new(int64) + **out = **in + } + if in.MinimumInstances != nil { + in, out := &in.MinimumInstances, &out.MinimumInstances + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptimizedAutoScaleParameters. +func (in *OptimizedAutoScaleParameters) DeepCopy() *OptimizedAutoScaleParameters { + if in == nil { + return nil + } + out := new(OptimizedAutoScaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuObservation) DeepCopyInto(out *SkuObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuObservation. +func (in *SkuObservation) DeepCopy() *SkuObservation { + if in == nil { + return nil + } + out := new(SkuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkConfigurationObservation) DeepCopyInto(out *VirtualNetworkConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkConfigurationObservation. +func (in *VirtualNetworkConfigurationObservation) DeepCopy() *VirtualNetworkConfigurationObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkConfigurationParameters) DeepCopyInto(out *VirtualNetworkConfigurationParameters) { + *out = *in + if in.DataManagementPublicIPID != nil { + in, out := &in.DataManagementPublicIPID, &out.DataManagementPublicIPID + *out = new(string) + **out = **in + } + if in.EnginePublicIPID != nil { + in, out := &in.EnginePublicIPID, &out.EnginePublicIPID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkConfigurationParameters. +func (in *VirtualNetworkConfigurationParameters) DeepCopy() *VirtualNetworkConfigurationParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkConfigurationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/kusto/v1alpha1/zz_generated.managed.go b/apis/kusto/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2b4b27d64 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_generated.managed.go @@ -0,0 +1,580 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AttachedDatabaseConfiguration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AttachedDatabaseConfiguration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AttachedDatabaseConfiguration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AttachedDatabaseConfiguration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AttachedDatabaseConfiguration. +func (mg *AttachedDatabaseConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Cluster. +func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Cluster. +func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Cluster. +func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Cluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Cluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Cluster. +func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Cluster. +func (mg *Cluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Cluster. +func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Cluster. +func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Cluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Cluster. +func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ClusterCustomerManagedKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ClusterCustomerManagedKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ClusterCustomerManagedKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ClusterCustomerManagedKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ClusterCustomerManagedKey. +func (mg *ClusterCustomerManagedKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ClusterPrincipalAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ClusterPrincipalAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ClusterPrincipalAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ClusterPrincipalAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ClusterPrincipalAssignment. +func (mg *ClusterPrincipalAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Database. +func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Database. +func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Database. +func (mg *Database) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Database. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Database) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Database. +func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Database. +func (mg *Database) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Database. +func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Database. +func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Database. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Database) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Database. +func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DatabasePrincipal. +func (mg *DatabasePrincipal) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DatabasePrincipal. +func (mg *DatabasePrincipal) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DatabasePrincipal. +func (mg *DatabasePrincipal) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DatabasePrincipal. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DatabasePrincipal) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DatabasePrincipal. +func (mg *DatabasePrincipal) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DatabasePrincipal. +func (mg *DatabasePrincipal) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DatabasePrincipal. +func (mg *DatabasePrincipal) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DatabasePrincipal. +func (mg *DatabasePrincipal) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DatabasePrincipal. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DatabasePrincipal) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DatabasePrincipal. +func (mg *DatabasePrincipal) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DatabasePrincipalAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DatabasePrincipalAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DatabasePrincipalAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DatabasePrincipalAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DatabasePrincipalAssignment. +func (mg *DatabasePrincipalAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EventgridDataConnection. +func (mg *EventgridDataConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EventgridDataConnection. +func (mg *EventgridDataConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EventgridDataConnection. +func (mg *EventgridDataConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EventgridDataConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EventgridDataConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EventgridDataConnection. +func (mg *EventgridDataConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EventgridDataConnection. +func (mg *EventgridDataConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EventgridDataConnection. +func (mg *EventgridDataConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EventgridDataConnection. +func (mg *EventgridDataConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EventgridDataConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EventgridDataConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EventgridDataConnection. +func (mg *EventgridDataConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EventhubDataConnection. +func (mg *EventhubDataConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EventhubDataConnection. +func (mg *EventhubDataConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EventhubDataConnection. +func (mg *EventhubDataConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EventhubDataConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EventhubDataConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EventhubDataConnection. +func (mg *EventhubDataConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EventhubDataConnection. +func (mg *EventhubDataConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EventhubDataConnection. +func (mg *EventhubDataConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EventhubDataConnection. +func (mg *EventhubDataConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EventhubDataConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EventhubDataConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EventhubDataConnection. +func (mg *EventhubDataConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this IothubDataConnection. +func (mg *IothubDataConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this IothubDataConnection. +func (mg *IothubDataConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this IothubDataConnection. +func (mg *IothubDataConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this IothubDataConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *IothubDataConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this IothubDataConnection. +func (mg *IothubDataConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this IothubDataConnection. +func (mg *IothubDataConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this IothubDataConnection. +func (mg *IothubDataConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this IothubDataConnection. +func (mg *IothubDataConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this IothubDataConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *IothubDataConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this IothubDataConnection. +func (mg *IothubDataConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/kusto/v1alpha1/zz_generated.managedlist.go b/apis/kusto/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..11ca84b02 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,110 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AttachedDatabaseConfigurationList. +func (l *AttachedDatabaseConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ClusterCustomerManagedKeyList. +func (l *ClusterCustomerManagedKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ClusterList. +func (l *ClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ClusterPrincipalAssignmentList. +func (l *ClusterPrincipalAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabaseList. +func (l *DatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabasePrincipalAssignmentList. +func (l *DatabasePrincipalAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabasePrincipalList. +func (l *DatabasePrincipalList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EventgridDataConnectionList. +func (l *EventgridDataConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EventhubDataConnectionList. +func (l *EventhubDataConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this IothubDataConnectionList. +func (l *IothubDataConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/kusto/v1alpha1/zz_groupversion_info.go b/apis/kusto/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..bfb268fc2 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=kusto.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "kusto.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/kusto/v1alpha1/zz_iothubdataconnection_terraformed.go b/apis/kusto/v1alpha1/zz_iothubdataconnection_terraformed.go new file mode 100755 index 000000000..6628a6bac --- /dev/null +++ b/apis/kusto/v1alpha1/zz_iothubdataconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this IothubDataConnection +func (mg *IothubDataConnection) GetTerraformResourceType() string { + return "azurerm_kusto_iothub_data_connection" +} + +// GetConnectionDetailsMapping for this IothubDataConnection +func (tr *IothubDataConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this IothubDataConnection +func (tr *IothubDataConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this IothubDataConnection +func (tr *IothubDataConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this IothubDataConnection +func (tr *IothubDataConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this IothubDataConnection +func (tr *IothubDataConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this IothubDataConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *IothubDataConnection) LateInitialize(attrs []byte) (bool, error) { + params := &IothubDataConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *IothubDataConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/kusto/v1alpha1/zz_iothubdataconnection_types.go b/apis/kusto/v1alpha1/zz_iothubdataconnection_types.go new file mode 100755 index 000000000..866f5ec41 --- /dev/null +++ b/apis/kusto/v1alpha1/zz_iothubdataconnection_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IothubDataConnectionObservation struct { +} + +type IothubDataConnectionParameters struct { + + // +kubebuilder:validation:Required + ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"` + + // +kubebuilder:validation:Required + ConsumerGroup *string `json:"consumerGroup" tf:"consumer_group,omitempty"` + + // +kubebuilder:validation:Optional + DataFormat *string `json:"dataFormat,omitempty" tf:"data_format,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Optional + EventSystemProperties []*string `json:"eventSystemProperties,omitempty" tf:"event_system_properties,omitempty"` + + // +kubebuilder:validation:Required + IothubID *string `json:"iothubId" tf:"iothub_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MappingRuleName *string `json:"mappingRuleName,omitempty" tf:"mapping_rule_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessPolicyName *string `json:"sharedAccessPolicyName" tf:"shared_access_policy_name,omitempty"` + + // +kubebuilder:validation:Optional + TableName *string `json:"tableName,omitempty" tf:"table_name,omitempty"` +} + +// IothubDataConnectionSpec defines the desired state of IothubDataConnection +type IothubDataConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider IothubDataConnectionParameters `json:"forProvider"` +} + +// IothubDataConnectionStatus defines the observed state of IothubDataConnection. +type IothubDataConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider IothubDataConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// IothubDataConnection is the Schema for the IothubDataConnections API +// +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,azurejet} +type IothubDataConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec IothubDataConnectionSpec `json:"spec"` + Status IothubDataConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// IothubDataConnectionList contains a list of IothubDataConnections +type IothubDataConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []IothubDataConnection `json:"items"` +} + +// Repository type metadata. +var ( + IothubDataConnection_Kind = "IothubDataConnection" + IothubDataConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IothubDataConnection_Kind}.String() + IothubDataConnection_KindAPIVersion = IothubDataConnection_Kind + "." + CRDGroupVersion.String() + IothubDataConnection_GroupVersionKind = CRDGroupVersion.WithKind(IothubDataConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&IothubDataConnection{}, &IothubDataConnectionList{}) +} diff --git a/apis/lb/v1alpha1/zz_backendaddresspool_terraformed.go b/apis/lb/v1alpha1/zz_backendaddresspool_terraformed.go new file mode 100755 index 000000000..a60a39856 --- /dev/null +++ b/apis/lb/v1alpha1/zz_backendaddresspool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this BackendAddressPool +func (mg *BackendAddressPool) GetTerraformResourceType() string { + return "azurerm_lb_backend_address_pool" +} + +// GetConnectionDetailsMapping for this BackendAddressPool +func (tr *BackendAddressPool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this BackendAddressPool +func (tr *BackendAddressPool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this BackendAddressPool +func (tr *BackendAddressPool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this BackendAddressPool +func (tr *BackendAddressPool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this BackendAddressPool +func (tr *BackendAddressPool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this BackendAddressPool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *BackendAddressPool) LateInitialize(attrs []byte) (bool, error) { + params := &BackendAddressPoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *BackendAddressPool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_backendaddresspool_types.go b/apis/lb/v1alpha1/zz_backendaddresspool_types.go new file mode 100755 index 000000000..e731e5100 --- /dev/null +++ b/apis/lb/v1alpha1/zz_backendaddresspool_types.go @@ -0,0 +1,113 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BackendAddressObservation struct { +} + +type BackendAddressParameters struct { + + // +kubebuilder:validation:Required + IPAddress *string `json:"ipAddress" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + VirtualNetworkID *string `json:"virtualNetworkId" tf:"virtual_network_id,omitempty"` +} + +type BackendAddressPoolObservation struct { + BackendIPConfigurations []*string `json:"backendIpConfigurations,omitempty" tf:"backend_ip_configurations,omitempty"` + + LoadBalancingRules []*string `json:"loadBalancingRules,omitempty" tf:"load_balancing_rules,omitempty"` + + OutboundRules []*string `json:"outboundRules,omitempty" tf:"outbound_rules,omitempty"` +} + +type BackendAddressPoolParameters struct { + + // +kubebuilder:validation:Optional + BackendAddress []BackendAddressParameters `json:"backendAddress,omitempty" tf:"backend_address,omitempty"` + + // +kubebuilder:validation:Required + LoadbalancerID *string `json:"loadbalancerId" tf:"loadbalancer_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` +} + +// BackendAddressPoolSpec defines the desired state of BackendAddressPool +type BackendAddressPoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider BackendAddressPoolParameters `json:"forProvider"` +} + +// BackendAddressPoolStatus defines the observed state of BackendAddressPool. +type BackendAddressPoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider BackendAddressPoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// BackendAddressPool is the Schema for the BackendAddressPools API +// +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,azurejet} +type BackendAddressPool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BackendAddressPoolSpec `json:"spec"` + Status BackendAddressPoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// BackendAddressPoolList contains a list of BackendAddressPools +type BackendAddressPoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BackendAddressPool `json:"items"` +} + +// Repository type metadata. +var ( + BackendAddressPool_Kind = "BackendAddressPool" + BackendAddressPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BackendAddressPool_Kind}.String() + BackendAddressPool_KindAPIVersion = BackendAddressPool_Kind + "." + CRDGroupVersion.String() + BackendAddressPool_GroupVersionKind = CRDGroupVersion.WithKind(BackendAddressPool_Kind) +) + +func init() { + SchemeBuilder.Register(&BackendAddressPool{}, &BackendAddressPoolList{}) +} diff --git a/apis/lb/v1alpha1/zz_backendaddresspooladdress_terraformed.go b/apis/lb/v1alpha1/zz_backendaddresspooladdress_terraformed.go new file mode 100755 index 000000000..20020274c --- /dev/null +++ b/apis/lb/v1alpha1/zz_backendaddresspooladdress_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this BackendAddressPoolAddress +func (mg *BackendAddressPoolAddress) GetTerraformResourceType() string { + return "azurerm_lb_backend_address_pool_address" +} + +// GetConnectionDetailsMapping for this BackendAddressPoolAddress +func (tr *BackendAddressPoolAddress) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this BackendAddressPoolAddress +func (tr *BackendAddressPoolAddress) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this BackendAddressPoolAddress +func (tr *BackendAddressPoolAddress) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this BackendAddressPoolAddress +func (tr *BackendAddressPoolAddress) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this BackendAddressPoolAddress +func (tr *BackendAddressPoolAddress) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this BackendAddressPoolAddress using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *BackendAddressPoolAddress) LateInitialize(attrs []byte) (bool, error) { + params := &BackendAddressPoolAddressParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *BackendAddressPoolAddress) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_backendaddresspooladdress_types.go b/apis/lb/v1alpha1/zz_backendaddresspooladdress_types.go new file mode 100755 index 000000000..4d6f6b098 --- /dev/null +++ b/apis/lb/v1alpha1/zz_backendaddresspooladdress_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BackendAddressPoolAddressObservation struct { +} + +type BackendAddressPoolAddressParameters struct { + + // +kubebuilder:validation:Required + BackendAddressPoolID *string `json:"backendAddressPoolId" tf:"backend_address_pool_id,omitempty"` + + // +kubebuilder:validation:Required + IPAddress *string `json:"ipAddress" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + VirtualNetworkID *string `json:"virtualNetworkId" tf:"virtual_network_id,omitempty"` +} + +// BackendAddressPoolAddressSpec defines the desired state of BackendAddressPoolAddress +type BackendAddressPoolAddressSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider BackendAddressPoolAddressParameters `json:"forProvider"` +} + +// BackendAddressPoolAddressStatus defines the observed state of BackendAddressPoolAddress. +type BackendAddressPoolAddressStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider BackendAddressPoolAddressObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// BackendAddressPoolAddress is the Schema for the BackendAddressPoolAddresss API +// +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,azurejet} +type BackendAddressPoolAddress struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BackendAddressPoolAddressSpec `json:"spec"` + Status BackendAddressPoolAddressStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// BackendAddressPoolAddressList contains a list of BackendAddressPoolAddresss +type BackendAddressPoolAddressList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BackendAddressPoolAddress `json:"items"` +} + +// Repository type metadata. +var ( + BackendAddressPoolAddress_Kind = "BackendAddressPoolAddress" + BackendAddressPoolAddress_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BackendAddressPoolAddress_Kind}.String() + BackendAddressPoolAddress_KindAPIVersion = BackendAddressPoolAddress_Kind + "." + CRDGroupVersion.String() + BackendAddressPoolAddress_GroupVersionKind = CRDGroupVersion.WithKind(BackendAddressPoolAddress_Kind) +) + +func init() { + SchemeBuilder.Register(&BackendAddressPoolAddress{}, &BackendAddressPoolAddressList{}) +} diff --git a/apis/lb/v1alpha1/zz_generated.deepcopy.go b/apis/lb/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..eca85f88e --- /dev/null +++ b/apis/lb/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1324 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressObservation) DeepCopyInto(out *BackendAddressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressObservation. +func (in *BackendAddressObservation) DeepCopy() *BackendAddressObservation { + if in == nil { + return nil + } + out := new(BackendAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressParameters) DeepCopyInto(out *BackendAddressParameters) { + *out = *in + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressParameters. +func (in *BackendAddressParameters) DeepCopy() *BackendAddressParameters { + if in == nil { + return nil + } + out := new(BackendAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPool) DeepCopyInto(out *BackendAddressPool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPool. +func (in *BackendAddressPool) DeepCopy() *BackendAddressPool { + if in == nil { + return nil + } + out := new(BackendAddressPool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BackendAddressPool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolAddress) DeepCopyInto(out *BackendAddressPoolAddress) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolAddress. +func (in *BackendAddressPoolAddress) DeepCopy() *BackendAddressPoolAddress { + if in == nil { + return nil + } + out := new(BackendAddressPoolAddress) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BackendAddressPoolAddress) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolAddressList) DeepCopyInto(out *BackendAddressPoolAddressList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BackendAddressPoolAddress, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolAddressList. +func (in *BackendAddressPoolAddressList) DeepCopy() *BackendAddressPoolAddressList { + if in == nil { + return nil + } + out := new(BackendAddressPoolAddressList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BackendAddressPoolAddressList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolAddressObservation) DeepCopyInto(out *BackendAddressPoolAddressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolAddressObservation. +func (in *BackendAddressPoolAddressObservation) DeepCopy() *BackendAddressPoolAddressObservation { + if in == nil { + return nil + } + out := new(BackendAddressPoolAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolAddressParameters) DeepCopyInto(out *BackendAddressPoolAddressParameters) { + *out = *in + if in.BackendAddressPoolID != nil { + in, out := &in.BackendAddressPoolID, &out.BackendAddressPoolID + *out = new(string) + **out = **in + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolAddressParameters. +func (in *BackendAddressPoolAddressParameters) DeepCopy() *BackendAddressPoolAddressParameters { + if in == nil { + return nil + } + out := new(BackendAddressPoolAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolAddressSpec) DeepCopyInto(out *BackendAddressPoolAddressSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolAddressSpec. +func (in *BackendAddressPoolAddressSpec) DeepCopy() *BackendAddressPoolAddressSpec { + if in == nil { + return nil + } + out := new(BackendAddressPoolAddressSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolAddressStatus) DeepCopyInto(out *BackendAddressPoolAddressStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolAddressStatus. +func (in *BackendAddressPoolAddressStatus) DeepCopy() *BackendAddressPoolAddressStatus { + if in == nil { + return nil + } + out := new(BackendAddressPoolAddressStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolList) DeepCopyInto(out *BackendAddressPoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BackendAddressPool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolList. +func (in *BackendAddressPoolList) DeepCopy() *BackendAddressPoolList { + if in == nil { + return nil + } + out := new(BackendAddressPoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BackendAddressPoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolObservation) DeepCopyInto(out *BackendAddressPoolObservation) { + *out = *in + if in.BackendIPConfigurations != nil { + in, out := &in.BackendIPConfigurations, &out.BackendIPConfigurations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LoadBalancingRules != nil { + in, out := &in.LoadBalancingRules, &out.LoadBalancingRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OutboundRules != nil { + in, out := &in.OutboundRules, &out.OutboundRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolObservation. +func (in *BackendAddressPoolObservation) DeepCopy() *BackendAddressPoolObservation { + if in == nil { + return nil + } + out := new(BackendAddressPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolParameters) DeepCopyInto(out *BackendAddressPoolParameters) { + *out = *in + if in.BackendAddress != nil { + in, out := &in.BackendAddress, &out.BackendAddress + *out = make([]BackendAddressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LoadbalancerID != nil { + in, out := &in.LoadbalancerID, &out.LoadbalancerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolParameters. +func (in *BackendAddressPoolParameters) DeepCopy() *BackendAddressPoolParameters { + if in == nil { + return nil + } + out := new(BackendAddressPoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolSpec) DeepCopyInto(out *BackendAddressPoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolSpec. +func (in *BackendAddressPoolSpec) DeepCopy() *BackendAddressPoolSpec { + if in == nil { + return nil + } + out := new(BackendAddressPoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BackendAddressPoolStatus) DeepCopyInto(out *BackendAddressPoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendAddressPoolStatus. +func (in *BackendAddressPoolStatus) DeepCopy() *BackendAddressPoolStatus { + if in == nil { + return nil + } + out := new(BackendAddressPoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendIPConfigurationObservation) DeepCopyInto(out *FrontendIPConfigurationObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationObservation. +func (in *FrontendIPConfigurationObservation) DeepCopy() *FrontendIPConfigurationObservation { + if in == nil { + return nil + } + out := new(FrontendIPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FrontendIPConfigurationParameters) DeepCopyInto(out *FrontendIPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationParameters. +func (in *FrontendIPConfigurationParameters) DeepCopy() *FrontendIPConfigurationParameters { + if in == nil { + return nil + } + out := new(FrontendIPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatPool) DeepCopyInto(out *NatPool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatPool. +func (in *NatPool) DeepCopy() *NatPool { + if in == nil { + return nil + } + out := new(NatPool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NatPool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatPoolList) DeepCopyInto(out *NatPoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NatPool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatPoolList. +func (in *NatPoolList) DeepCopy() *NatPoolList { + if in == nil { + return nil + } + out := new(NatPoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NatPoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatPoolObservation) DeepCopyInto(out *NatPoolObservation) { + *out = *in + if in.FrontendIPConfigurationID != nil { + in, out := &in.FrontendIPConfigurationID, &out.FrontendIPConfigurationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatPoolObservation. +func (in *NatPoolObservation) DeepCopy() *NatPoolObservation { + if in == nil { + return nil + } + out := new(NatPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatPoolParameters) DeepCopyInto(out *NatPoolParameters) { + *out = *in + if in.BackendPort != nil { + in, out := &in.BackendPort, &out.BackendPort + *out = new(int64) + **out = **in + } + if in.FrontendIPConfigurationName != nil { + in, out := &in.FrontendIPConfigurationName, &out.FrontendIPConfigurationName + *out = new(string) + **out = **in + } + if in.FrontendPortEnd != nil { + in, out := &in.FrontendPortEnd, &out.FrontendPortEnd + *out = new(int64) + **out = **in + } + if in.FrontendPortStart != nil { + in, out := &in.FrontendPortStart, &out.FrontendPortStart + *out = new(int64) + **out = **in + } + if in.LoadbalancerID != nil { + in, out := &in.LoadbalancerID, &out.LoadbalancerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatPoolParameters. +func (in *NatPoolParameters) DeepCopy() *NatPoolParameters { + if in == nil { + return nil + } + out := new(NatPoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatPoolSpec) DeepCopyInto(out *NatPoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatPoolSpec. +func (in *NatPoolSpec) DeepCopy() *NatPoolSpec { + if in == nil { + return nil + } + out := new(NatPoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatPoolStatus) DeepCopyInto(out *NatPoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatPoolStatus. +func (in *NatPoolStatus) DeepCopy() *NatPoolStatus { + if in == nil { + return nil + } + out := new(NatPoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRule) DeepCopyInto(out *NatRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRule. +func (in *NatRule) DeepCopy() *NatRule { + if in == nil { + return nil + } + out := new(NatRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NatRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleList) DeepCopyInto(out *NatRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NatRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleList. +func (in *NatRuleList) DeepCopy() *NatRuleList { + if in == nil { + return nil + } + out := new(NatRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NatRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleObservation) DeepCopyInto(out *NatRuleObservation) { + *out = *in + if in.BackendIPConfigurationID != nil { + in, out := &in.BackendIPConfigurationID, &out.BackendIPConfigurationID + *out = new(string) + **out = **in + } + if in.FrontendIPConfigurationID != nil { + in, out := &in.FrontendIPConfigurationID, &out.FrontendIPConfigurationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleObservation. +func (in *NatRuleObservation) DeepCopy() *NatRuleObservation { + if in == nil { + return nil + } + out := new(NatRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleParameters) DeepCopyInto(out *NatRuleParameters) { + *out = *in + if in.BackendPort != nil { + in, out := &in.BackendPort, &out.BackendPort + *out = new(int64) + **out = **in + } + if in.EnableFloatingIP != nil { + in, out := &in.EnableFloatingIP, &out.EnableFloatingIP + *out = new(bool) + **out = **in + } + if in.EnableTCPReset != nil { + in, out := &in.EnableTCPReset, &out.EnableTCPReset + *out = new(bool) + **out = **in + } + if in.FrontendIPConfigurationName != nil { + in, out := &in.FrontendIPConfigurationName, &out.FrontendIPConfigurationName + *out = new(string) + **out = **in + } + if in.FrontendPort != nil { + in, out := &in.FrontendPort, &out.FrontendPort + *out = new(int64) + **out = **in + } + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.LoadbalancerID != nil { + in, out := &in.LoadbalancerID, &out.LoadbalancerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleParameters. +func (in *NatRuleParameters) DeepCopy() *NatRuleParameters { + if in == nil { + return nil + } + out := new(NatRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleSpec) DeepCopyInto(out *NatRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleSpec. +func (in *NatRuleSpec) DeepCopy() *NatRuleSpec { + if in == nil { + return nil + } + out := new(NatRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatRuleStatus) DeepCopyInto(out *NatRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatRuleStatus. +func (in *NatRuleStatus) DeepCopy() *NatRuleStatus { + if in == nil { + return nil + } + out := new(NatRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundRule) DeepCopyInto(out *OutboundRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRule. +func (in *OutboundRule) DeepCopy() *OutboundRule { + if in == nil { + return nil + } + out := new(OutboundRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *OutboundRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundRuleList) DeepCopyInto(out *OutboundRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]OutboundRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleList. +func (in *OutboundRuleList) DeepCopy() *OutboundRuleList { + if in == nil { + return nil + } + out := new(OutboundRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *OutboundRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundRuleObservation) DeepCopyInto(out *OutboundRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleObservation. +func (in *OutboundRuleObservation) DeepCopy() *OutboundRuleObservation { + if in == nil { + return nil + } + out := new(OutboundRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundRuleParameters) DeepCopyInto(out *OutboundRuleParameters) { + *out = *in + if in.AllocatedOutboundPorts != nil { + in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts + *out = new(int64) + **out = **in + } + if in.BackendAddressPoolID != nil { + in, out := &in.BackendAddressPoolID, &out.BackendAddressPoolID + *out = new(string) + **out = **in + } + if in.EnableTCPReset != nil { + in, out := &in.EnableTCPReset, &out.EnableTCPReset + *out = new(bool) + **out = **in + } + if in.FrontendIPConfiguration != nil { + in, out := &in.FrontendIPConfiguration, &out.FrontendIPConfiguration + *out = make([]FrontendIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.LoadbalancerID != nil { + in, out := &in.LoadbalancerID, &out.LoadbalancerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleParameters. +func (in *OutboundRuleParameters) DeepCopy() *OutboundRuleParameters { + if in == nil { + return nil + } + out := new(OutboundRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundRuleSpec) DeepCopyInto(out *OutboundRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleSpec. +func (in *OutboundRuleSpec) DeepCopy() *OutboundRuleSpec { + if in == nil { + return nil + } + out := new(OutboundRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutboundRuleStatus) DeepCopyInto(out *OutboundRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutboundRuleStatus. +func (in *OutboundRuleStatus) DeepCopy() *OutboundRuleStatus { + if in == nil { + return nil + } + out := new(OutboundRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Probe) DeepCopyInto(out *Probe) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe. +func (in *Probe) DeepCopy() *Probe { + if in == nil { + return nil + } + out := new(Probe) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Probe) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeList) DeepCopyInto(out *ProbeList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Probe, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeList. +func (in *ProbeList) DeepCopy() *ProbeList { + if in == nil { + return nil + } + out := new(ProbeList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProbeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeObservation) DeepCopyInto(out *ProbeObservation) { + *out = *in + if in.LoadBalancerRules != nil { + in, out := &in.LoadBalancerRules, &out.LoadBalancerRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeObservation. +func (in *ProbeObservation) DeepCopy() *ProbeObservation { + if in == nil { + return nil + } + out := new(ProbeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeParameters) DeepCopyInto(out *ProbeParameters) { + *out = *in + if in.IntervalInSeconds != nil { + in, out := &in.IntervalInSeconds, &out.IntervalInSeconds + *out = new(int64) + **out = **in + } + if in.LoadbalancerID != nil { + in, out := &in.LoadbalancerID, &out.LoadbalancerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NumberOfProbes != nil { + in, out := &in.NumberOfProbes, &out.NumberOfProbes + *out = new(int64) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.RequestPath != nil { + in, out := &in.RequestPath, &out.RequestPath + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeParameters. +func (in *ProbeParameters) DeepCopy() *ProbeParameters { + if in == nil { + return nil + } + out := new(ProbeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeSpec) DeepCopyInto(out *ProbeSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeSpec. +func (in *ProbeSpec) DeepCopy() *ProbeSpec { + if in == nil { + return nil + } + out := new(ProbeSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProbeStatus) DeepCopyInto(out *ProbeStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProbeStatus. +func (in *ProbeStatus) DeepCopy() *ProbeStatus { + if in == nil { + return nil + } + out := new(ProbeStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Rule) DeepCopyInto(out *Rule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. +func (in *Rule) DeepCopy() *Rule { + if in == nil { + return nil + } + out := new(Rule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Rule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleList) DeepCopyInto(out *RuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Rule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleList. +func (in *RuleList) DeepCopy() *RuleList { + if in == nil { + return nil + } + out := new(RuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { + *out = *in + if in.FrontendIPConfigurationID != nil { + in, out := &in.FrontendIPConfigurationID, &out.FrontendIPConfigurationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { + if in == nil { + return nil + } + out := new(RuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { + *out = *in + if in.BackendAddressPoolID != nil { + in, out := &in.BackendAddressPoolID, &out.BackendAddressPoolID + *out = new(string) + **out = **in + } + if in.BackendPort != nil { + in, out := &in.BackendPort, &out.BackendPort + *out = new(int64) + **out = **in + } + if in.DisableOutboundSnat != nil { + in, out := &in.DisableOutboundSnat, &out.DisableOutboundSnat + *out = new(bool) + **out = **in + } + if in.EnableFloatingIP != nil { + in, out := &in.EnableFloatingIP, &out.EnableFloatingIP + *out = new(bool) + **out = **in + } + if in.EnableTCPReset != nil { + in, out := &in.EnableTCPReset, &out.EnableTCPReset + *out = new(bool) + **out = **in + } + if in.FrontendIPConfigurationName != nil { + in, out := &in.FrontendIPConfigurationName, &out.FrontendIPConfigurationName + *out = new(string) + **out = **in + } + if in.FrontendPort != nil { + in, out := &in.FrontendPort, &out.FrontendPort + *out = new(int64) + **out = **in + } + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.LoadDistribution != nil { + in, out := &in.LoadDistribution, &out.LoadDistribution + *out = new(string) + **out = **in + } + if in.LoadbalancerID != nil { + in, out := &in.LoadbalancerID, &out.LoadbalancerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProbeID != nil { + in, out := &in.ProbeID, &out.ProbeID + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { + if in == nil { + return nil + } + out := new(RuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleSpec) DeepCopyInto(out *RuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec. +func (in *RuleSpec) DeepCopy() *RuleSpec { + if in == nil { + return nil + } + out := new(RuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleStatus) DeepCopyInto(out *RuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus. +func (in *RuleStatus) DeepCopy() *RuleStatus { + if in == nil { + return nil + } + out := new(RuleStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/lb/v1alpha1/zz_generated.managed.go b/apis/lb/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..83b4de06a --- /dev/null +++ b/apis/lb/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this BackendAddressPool. +func (mg *BackendAddressPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this BackendAddressPool. +func (mg *BackendAddressPool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this BackendAddressPool. +func (mg *BackendAddressPool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this BackendAddressPool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *BackendAddressPool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this BackendAddressPool. +func (mg *BackendAddressPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this BackendAddressPool. +func (mg *BackendAddressPool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this BackendAddressPool. +func (mg *BackendAddressPool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this BackendAddressPool. +func (mg *BackendAddressPool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this BackendAddressPool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *BackendAddressPool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this BackendAddressPool. +func (mg *BackendAddressPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this BackendAddressPoolAddress. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *BackendAddressPoolAddress) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this BackendAddressPoolAddress. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *BackendAddressPoolAddress) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this BackendAddressPoolAddress. +func (mg *BackendAddressPoolAddress) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NatPool. +func (mg *NatPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NatPool. +func (mg *NatPool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NatPool. +func (mg *NatPool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NatPool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NatPool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NatPool. +func (mg *NatPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NatPool. +func (mg *NatPool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NatPool. +func (mg *NatPool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NatPool. +func (mg *NatPool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NatPool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NatPool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NatPool. +func (mg *NatPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NatRule. +func (mg *NatRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NatRule. +func (mg *NatRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NatRule. +func (mg *NatRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NatRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NatRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NatRule. +func (mg *NatRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NatRule. +func (mg *NatRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NatRule. +func (mg *NatRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NatRule. +func (mg *NatRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NatRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NatRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NatRule. +func (mg *NatRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this OutboundRule. +func (mg *OutboundRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this OutboundRule. +func (mg *OutboundRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this OutboundRule. +func (mg *OutboundRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this OutboundRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *OutboundRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this OutboundRule. +func (mg *OutboundRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this OutboundRule. +func (mg *OutboundRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this OutboundRule. +func (mg *OutboundRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this OutboundRule. +func (mg *OutboundRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this OutboundRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *OutboundRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this OutboundRule. +func (mg *OutboundRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Probe. +func (mg *Probe) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Probe. +func (mg *Probe) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Probe. +func (mg *Probe) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Probe. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Probe) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Probe. +func (mg *Probe) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Probe. +func (mg *Probe) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Probe. +func (mg *Probe) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Probe. +func (mg *Probe) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Probe. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Probe) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Probe. +func (mg *Probe) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Rule. +func (mg *Rule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Rule. +func (mg *Rule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Rule. +func (mg *Rule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Rule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Rule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Rule. +func (mg *Rule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Rule. +func (mg *Rule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Rule. +func (mg *Rule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Rule. +func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Rule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Rule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Rule. +func (mg *Rule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/lb/v1alpha1/zz_generated.managedlist.go b/apis/lb/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..750854fe7 --- /dev/null +++ b/apis/lb/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this BackendAddressPoolAddressList. +func (l *BackendAddressPoolAddressList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this BackendAddressPoolList. +func (l *BackendAddressPoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NatPoolList. +func (l *NatPoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NatRuleList. +func (l *NatRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this OutboundRuleList. +func (l *OutboundRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProbeList. +func (l *ProbeList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RuleList. +func (l *RuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/lb/v1alpha1/zz_groupversion_info.go b/apis/lb/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..436837a0f --- /dev/null +++ b/apis/lb/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=lb.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "lb.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/lb/v1alpha1/zz_natpool_terraformed.go b/apis/lb/v1alpha1/zz_natpool_terraformed.go new file mode 100755 index 000000000..0f369335d --- /dev/null +++ b/apis/lb/v1alpha1/zz_natpool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NatPool +func (mg *NatPool) GetTerraformResourceType() string { + return "azurerm_lb_nat_pool" +} + +// GetConnectionDetailsMapping for this NatPool +func (tr *NatPool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NatPool +func (tr *NatPool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NatPool +func (tr *NatPool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NatPool +func (tr *NatPool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NatPool +func (tr *NatPool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NatPool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NatPool) LateInitialize(attrs []byte) (bool, error) { + params := &NatPoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NatPool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_natpool_types.go b/apis/lb/v1alpha1/zz_natpool_types.go new file mode 100755 index 000000000..650d50e5c --- /dev/null +++ b/apis/lb/v1alpha1/zz_natpool_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NatPoolObservation struct { + FrontendIPConfigurationID *string `json:"frontendIpConfigurationId,omitempty" tf:"frontend_ip_configuration_id,omitempty"` +} + +type NatPoolParameters struct { + + // +kubebuilder:validation:Required + BackendPort *int64 `json:"backendPort" tf:"backend_port,omitempty"` + + // +kubebuilder:validation:Required + FrontendIPConfigurationName *string `json:"frontendIpConfigurationName" tf:"frontend_ip_configuration_name,omitempty"` + + // +kubebuilder:validation:Required + FrontendPortEnd *int64 `json:"frontendPortEnd" tf:"frontend_port_end,omitempty"` + + // +kubebuilder:validation:Required + FrontendPortStart *int64 `json:"frontendPortStart" tf:"frontend_port_start,omitempty"` + + // +kubebuilder:validation:Required + LoadbalancerID *string `json:"loadbalancerId" tf:"loadbalancer_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// NatPoolSpec defines the desired state of NatPool +type NatPoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NatPoolParameters `json:"forProvider"` +} + +// NatPoolStatus defines the observed state of NatPool. +type NatPoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NatPoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NatPool is the Schema for the NatPools API +// +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,azurejet} +type NatPool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NatPoolSpec `json:"spec"` + Status NatPoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NatPoolList contains a list of NatPools +type NatPoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NatPool `json:"items"` +} + +// Repository type metadata. +var ( + NatPool_Kind = "NatPool" + NatPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NatPool_Kind}.String() + NatPool_KindAPIVersion = NatPool_Kind + "." + CRDGroupVersion.String() + NatPool_GroupVersionKind = CRDGroupVersion.WithKind(NatPool_Kind) +) + +func init() { + SchemeBuilder.Register(&NatPool{}, &NatPoolList{}) +} diff --git a/apis/lb/v1alpha1/zz_natrule_terraformed.go b/apis/lb/v1alpha1/zz_natrule_terraformed.go new file mode 100755 index 000000000..ded70d265 --- /dev/null +++ b/apis/lb/v1alpha1/zz_natrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NatRule +func (mg *NatRule) GetTerraformResourceType() string { + return "azurerm_lb_nat_rule" +} + +// GetConnectionDetailsMapping for this NatRule +func (tr *NatRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NatRule +func (tr *NatRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NatRule +func (tr *NatRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NatRule +func (tr *NatRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NatRule +func (tr *NatRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NatRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NatRule) LateInitialize(attrs []byte) (bool, error) { + params := &NatRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NatRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_natrule_types.go b/apis/lb/v1alpha1/zz_natrule_types.go new file mode 100755 index 000000000..f986e7803 --- /dev/null +++ b/apis/lb/v1alpha1/zz_natrule_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NatRuleObservation struct { + BackendIPConfigurationID *string `json:"backendIpConfigurationId,omitempty" tf:"backend_ip_configuration_id,omitempty"` + + FrontendIPConfigurationID *string `json:"frontendIpConfigurationId,omitempty" tf:"frontend_ip_configuration_id,omitempty"` +} + +type NatRuleParameters struct { + + // +kubebuilder:validation:Required + BackendPort *int64 `json:"backendPort" tf:"backend_port,omitempty"` + + // +kubebuilder:validation:Optional + EnableFloatingIP *bool `json:"enableFloatingIp,omitempty" tf:"enable_floating_ip,omitempty"` + + // +kubebuilder:validation:Optional + EnableTCPReset *bool `json:"enableTcpReset,omitempty" tf:"enable_tcp_reset,omitempty"` + + // +kubebuilder:validation:Required + FrontendIPConfigurationName *string `json:"frontendIpConfigurationName" tf:"frontend_ip_configuration_name,omitempty"` + + // +kubebuilder:validation:Required + FrontendPort *int64 `json:"frontendPort" tf:"frontend_port,omitempty"` + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + LoadbalancerID *string `json:"loadbalancerId" tf:"loadbalancer_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// NatRuleSpec defines the desired state of NatRule +type NatRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NatRuleParameters `json:"forProvider"` +} + +// NatRuleStatus defines the observed state of NatRule. +type NatRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NatRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NatRule is the Schema for the NatRules API +// +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,azurejet} +type NatRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NatRuleSpec `json:"spec"` + Status NatRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NatRuleList contains a list of NatRules +type NatRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NatRule `json:"items"` +} + +// Repository type metadata. +var ( + NatRule_Kind = "NatRule" + NatRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NatRule_Kind}.String() + NatRule_KindAPIVersion = NatRule_Kind + "." + CRDGroupVersion.String() + NatRule_GroupVersionKind = CRDGroupVersion.WithKind(NatRule_Kind) +) + +func init() { + SchemeBuilder.Register(&NatRule{}, &NatRuleList{}) +} diff --git a/apis/lb/v1alpha1/zz_outboundrule_terraformed.go b/apis/lb/v1alpha1/zz_outboundrule_terraformed.go new file mode 100755 index 000000000..8f009a53b --- /dev/null +++ b/apis/lb/v1alpha1/zz_outboundrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this OutboundRule +func (mg *OutboundRule) GetTerraformResourceType() string { + return "azurerm_lb_outbound_rule" +} + +// GetConnectionDetailsMapping for this OutboundRule +func (tr *OutboundRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this OutboundRule +func (tr *OutboundRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this OutboundRule +func (tr *OutboundRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this OutboundRule +func (tr *OutboundRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this OutboundRule +func (tr *OutboundRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this OutboundRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *OutboundRule) LateInitialize(attrs []byte) (bool, error) { + params := &OutboundRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *OutboundRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_outboundrule_types.go b/apis/lb/v1alpha1/zz_outboundrule_types.go new file mode 100755 index 000000000..c49460326 --- /dev/null +++ b/apis/lb/v1alpha1/zz_outboundrule_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FrontendIPConfigurationObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type FrontendIPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type OutboundRuleObservation struct { +} + +type OutboundRuleParameters struct { + + // +kubebuilder:validation:Optional + AllocatedOutboundPorts *int64 `json:"allocatedOutboundPorts,omitempty" tf:"allocated_outbound_ports,omitempty"` + + // +kubebuilder:validation:Required + BackendAddressPoolID *string `json:"backendAddressPoolId" tf:"backend_address_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + EnableTCPReset *bool `json:"enableTcpReset,omitempty" tf:"enable_tcp_reset,omitempty"` + + // +kubebuilder:validation:Optional + FrontendIPConfiguration []FrontendIPConfigurationParameters `json:"frontendIpConfiguration,omitempty" tf:"frontend_ip_configuration,omitempty"` + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + LoadbalancerID *string `json:"loadbalancerId" tf:"loadbalancer_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// OutboundRuleSpec defines the desired state of OutboundRule +type OutboundRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider OutboundRuleParameters `json:"forProvider"` +} + +// OutboundRuleStatus defines the observed state of OutboundRule. +type OutboundRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider OutboundRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// OutboundRule is the Schema for the OutboundRules API +// +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,azurejet} +type OutboundRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec OutboundRuleSpec `json:"spec"` + Status OutboundRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// OutboundRuleList contains a list of OutboundRules +type OutboundRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []OutboundRule `json:"items"` +} + +// Repository type metadata. +var ( + OutboundRule_Kind = "OutboundRule" + OutboundRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: OutboundRule_Kind}.String() + OutboundRule_KindAPIVersion = OutboundRule_Kind + "." + CRDGroupVersion.String() + OutboundRule_GroupVersionKind = CRDGroupVersion.WithKind(OutboundRule_Kind) +) + +func init() { + SchemeBuilder.Register(&OutboundRule{}, &OutboundRuleList{}) +} diff --git a/apis/lb/v1alpha1/zz_probe_terraformed.go b/apis/lb/v1alpha1/zz_probe_terraformed.go new file mode 100755 index 000000000..4c9d67e3d --- /dev/null +++ b/apis/lb/v1alpha1/zz_probe_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Probe +func (mg *Probe) GetTerraformResourceType() string { + return "azurerm_lb_probe" +} + +// GetConnectionDetailsMapping for this Probe +func (tr *Probe) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Probe +func (tr *Probe) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Probe +func (tr *Probe) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Probe +func (tr *Probe) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Probe +func (tr *Probe) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Probe using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Probe) LateInitialize(attrs []byte) (bool, error) { + params := &ProbeParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Probe) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_probe_types.go b/apis/lb/v1alpha1/zz_probe_types.go new file mode 100755 index 000000000..d90aa6571 --- /dev/null +++ b/apis/lb/v1alpha1/zz_probe_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProbeObservation struct { + LoadBalancerRules []*string `json:"loadBalancerRules,omitempty" tf:"load_balancer_rules,omitempty"` +} + +type ProbeParameters struct { + + // +kubebuilder:validation:Optional + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty" tf:"interval_in_seconds,omitempty"` + + // +kubebuilder:validation:Required + LoadbalancerID *string `json:"loadbalancerId" tf:"loadbalancer_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NumberOfProbes *int64 `json:"numberOfProbes,omitempty" tf:"number_of_probes,omitempty"` + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + RequestPath *string `json:"requestPath,omitempty" tf:"request_path,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// ProbeSpec defines the desired state of Probe +type ProbeSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProbeParameters `json:"forProvider"` +} + +// ProbeStatus defines the observed state of Probe. +type ProbeStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProbeObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Probe is the Schema for the Probes API +// +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,azurejet} +type Probe struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProbeSpec `json:"spec"` + Status ProbeStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProbeList contains a list of Probes +type ProbeList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Probe `json:"items"` +} + +// Repository type metadata. +var ( + Probe_Kind = "Probe" + Probe_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Probe_Kind}.String() + Probe_KindAPIVersion = Probe_Kind + "." + CRDGroupVersion.String() + Probe_GroupVersionKind = CRDGroupVersion.WithKind(Probe_Kind) +) + +func init() { + SchemeBuilder.Register(&Probe{}, &ProbeList{}) +} diff --git a/apis/lb/v1alpha1/zz_rule_terraformed.go b/apis/lb/v1alpha1/zz_rule_terraformed.go new file mode 100755 index 000000000..16bde16be --- /dev/null +++ b/apis/lb/v1alpha1/zz_rule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Rule +func (mg *Rule) GetTerraformResourceType() string { + return "azurerm_lb_rule" +} + +// GetConnectionDetailsMapping for this Rule +func (tr *Rule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Rule +func (tr *Rule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Rule +func (tr *Rule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Rule +func (tr *Rule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Rule +func (tr *Rule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Rule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Rule) LateInitialize(attrs []byte) (bool, error) { + params := &RuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Rule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lb/v1alpha1/zz_rule_types.go b/apis/lb/v1alpha1/zz_rule_types.go new file mode 100755 index 000000000..fb070f1e6 --- /dev/null +++ b/apis/lb/v1alpha1/zz_rule_types.go @@ -0,0 +1,124 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RuleObservation struct { + FrontendIPConfigurationID *string `json:"frontendIpConfigurationId,omitempty" tf:"frontend_ip_configuration_id,omitempty"` +} + +type RuleParameters struct { + + // +kubebuilder:validation:Optional + BackendAddressPoolID *string `json:"backendAddressPoolId,omitempty" tf:"backend_address_pool_id,omitempty"` + + // +kubebuilder:validation:Required + BackendPort *int64 `json:"backendPort" tf:"backend_port,omitempty"` + + // +kubebuilder:validation:Optional + DisableOutboundSnat *bool `json:"disableOutboundSnat,omitempty" tf:"disable_outbound_snat,omitempty"` + + // +kubebuilder:validation:Optional + EnableFloatingIP *bool `json:"enableFloatingIp,omitempty" tf:"enable_floating_ip,omitempty"` + + // +kubebuilder:validation:Optional + EnableTCPReset *bool `json:"enableTcpReset,omitempty" tf:"enable_tcp_reset,omitempty"` + + // +kubebuilder:validation:Required + FrontendIPConfigurationName *string `json:"frontendIpConfigurationName" tf:"frontend_ip_configuration_name,omitempty"` + + // +kubebuilder:validation:Required + FrontendPort *int64 `json:"frontendPort" tf:"frontend_port,omitempty"` + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Optional + LoadDistribution *string `json:"loadDistribution,omitempty" tf:"load_distribution,omitempty"` + + // +kubebuilder:validation:Required + LoadbalancerID *string `json:"loadbalancerId" tf:"loadbalancer_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProbeID *string `json:"probeId,omitempty" tf:"probe_id,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RuleSpec defines the desired state of Rule +type RuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RuleParameters `json:"forProvider"` +} + +// RuleStatus defines the observed state of Rule. +type RuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Rule is the Schema for the Rules API +// +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,azurejet} +type Rule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RuleSpec `json:"spec"` + Status RuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RuleList contains a list of Rules +type RuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Rule `json:"items"` +} + +// Repository type metadata. +var ( + Rule_Kind = "Rule" + Rule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String() + Rule_KindAPIVersion = Rule_Kind + "." + CRDGroupVersion.String() + Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind) +) + +func init() { + SchemeBuilder.Register(&Rule{}, &RuleList{}) +} diff --git a/apis/lighthouse/v1alpha1/zz_assignment_terraformed.go b/apis/lighthouse/v1alpha1/zz_assignment_terraformed.go new file mode 100755 index 000000000..56d5234f2 --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_assignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Assignment +func (mg *Assignment) GetTerraformResourceType() string { + return "azurerm_lighthouse_assignment" +} + +// GetConnectionDetailsMapping for this Assignment +func (tr *Assignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Assignment +func (tr *Assignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Assignment +func (tr *Assignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Assignment +func (tr *Assignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Assignment +func (tr *Assignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Assignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Assignment) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Assignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lighthouse/v1alpha1/zz_assignment_types.go b/apis/lighthouse/v1alpha1/zz_assignment_types.go new file mode 100755 index 000000000..45200ba24 --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_assignment_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentObservation struct { +} + +type AssignmentParameters struct { + + // +kubebuilder:validation:Required + LighthouseDefinitionID *string `json:"lighthouseDefinitionId" tf:"lighthouse_definition_id,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` +} + +// AssignmentSpec defines the desired state of Assignment +type AssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentParameters `json:"forProvider"` +} + +// AssignmentStatus defines the observed state of Assignment. +type AssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Assignment is the Schema for the Assignments API +// +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,azurejet} +type Assignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentSpec `json:"spec"` + Status AssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentList contains a list of Assignments +type AssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Assignment `json:"items"` +} + +// Repository type metadata. +var ( + Assignment_Kind = "Assignment" + Assignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Assignment_Kind}.String() + Assignment_KindAPIVersion = Assignment_Kind + "." + CRDGroupVersion.String() + Assignment_GroupVersionKind = CRDGroupVersion.WithKind(Assignment_Kind) +) + +func init() { + SchemeBuilder.Register(&Assignment{}, &AssignmentList{}) +} diff --git a/apis/lighthouse/v1alpha1/zz_definition_terraformed.go b/apis/lighthouse/v1alpha1/zz_definition_terraformed.go new file mode 100755 index 000000000..cf38090f1 --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_definition_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Definition +func (mg *Definition) GetTerraformResourceType() string { + return "azurerm_lighthouse_definition" +} + +// GetConnectionDetailsMapping for this Definition +func (tr *Definition) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Definition +func (tr *Definition) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Definition +func (tr *Definition) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Definition +func (tr *Definition) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Definition +func (tr *Definition) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Definition using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Definition) LateInitialize(attrs []byte) (bool, error) { + params := &DefinitionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Definition) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/lighthouse/v1alpha1/zz_definition_types.go b/apis/lighthouse/v1alpha1/zz_definition_types.go new file mode 100755 index 000000000..0f44e50b7 --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_definition_types.go @@ -0,0 +1,138 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AuthorizationObservation struct { +} + +type AuthorizationParameters struct { + + // +kubebuilder:validation:Optional + DelegatedRoleDefinitionIds []*string `json:"delegatedRoleDefinitionIds,omitempty" tf:"delegated_role_definition_ids,omitempty"` + + // +kubebuilder:validation:Optional + PrincipalDisplayName *string `json:"principalDisplayName,omitempty" tf:"principal_display_name,omitempty"` + + // +kubebuilder:validation:Required + PrincipalID *string `json:"principalId" tf:"principal_id,omitempty"` + + // +kubebuilder:validation:Required + RoleDefinitionID *string `json:"roleDefinitionId" tf:"role_definition_id,omitempty"` +} + +type DefinitionObservation struct { +} + +type DefinitionParameters struct { + + // +kubebuilder:validation:Required + Authorization []AuthorizationParameters `json:"authorization" tf:"authorization,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + LighthouseDefinitionID *string `json:"lighthouseDefinitionId,omitempty" tf:"lighthouse_definition_id,omitempty"` + + // +kubebuilder:validation:Required + ManagingTenantID *string `json:"managingTenantId" tf:"managing_tenant_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Plan []PlanParameters `json:"plan,omitempty" tf:"plan,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` +} + +type PlanObservation struct { +} + +type PlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +// DefinitionSpec defines the desired state of Definition +type DefinitionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DefinitionParameters `json:"forProvider"` +} + +// DefinitionStatus defines the observed state of Definition. +type DefinitionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DefinitionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Definition is the Schema for the Definitions API +// +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,azurejet} +type Definition struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DefinitionSpec `json:"spec"` + Status DefinitionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DefinitionList contains a list of Definitions +type DefinitionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Definition `json:"items"` +} + +// Repository type metadata. +var ( + Definition_Kind = "Definition" + Definition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Definition_Kind}.String() + Definition_KindAPIVersion = Definition_Kind + "." + CRDGroupVersion.String() + Definition_GroupVersionKind = CRDGroupVersion.WithKind(Definition_Kind) +) + +func init() { + SchemeBuilder.Register(&Definition{}, &DefinitionList{}) +} diff --git a/apis/lighthouse/v1alpha1/zz_generated.deepcopy.go b/apis/lighthouse/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..63181b8d3 --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,431 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Assignment) DeepCopyInto(out *Assignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assignment. +func (in *Assignment) DeepCopy() *Assignment { + if in == nil { + return nil + } + out := new(Assignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Assignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentList) DeepCopyInto(out *AssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Assignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentList. +func (in *AssignmentList) DeepCopy() *AssignmentList { + if in == nil { + return nil + } + out := new(AssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentObservation) DeepCopyInto(out *AssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentObservation. +func (in *AssignmentObservation) DeepCopy() *AssignmentObservation { + if in == nil { + return nil + } + out := new(AssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentParameters) DeepCopyInto(out *AssignmentParameters) { + *out = *in + if in.LighthouseDefinitionID != nil { + in, out := &in.LighthouseDefinitionID, &out.LighthouseDefinitionID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentParameters. +func (in *AssignmentParameters) DeepCopy() *AssignmentParameters { + if in == nil { + return nil + } + out := new(AssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentSpec. +func (in *AssignmentSpec) DeepCopy() *AssignmentSpec { + if in == nil { + return nil + } + out := new(AssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentStatus. +func (in *AssignmentStatus) DeepCopy() *AssignmentStatus { + if in == nil { + return nil + } + out := new(AssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationObservation) DeepCopyInto(out *AuthorizationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationObservation. +func (in *AuthorizationObservation) DeepCopy() *AuthorizationObservation { + if in == nil { + return nil + } + out := new(AuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationParameters) DeepCopyInto(out *AuthorizationParameters) { + *out = *in + if in.DelegatedRoleDefinitionIds != nil { + in, out := &in.DelegatedRoleDefinitionIds, &out.DelegatedRoleDefinitionIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PrincipalDisplayName != nil { + in, out := &in.PrincipalDisplayName, &out.PrincipalDisplayName + *out = new(string) + **out = **in + } + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.RoleDefinitionID != nil { + in, out := &in.RoleDefinitionID, &out.RoleDefinitionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationParameters. +func (in *AuthorizationParameters) DeepCopy() *AuthorizationParameters { + if in == nil { + return nil + } + out := new(AuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Definition) DeepCopyInto(out *Definition) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Definition. +func (in *Definition) DeepCopy() *Definition { + if in == nil { + return nil + } + out := new(Definition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Definition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionList) DeepCopyInto(out *DefinitionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Definition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionList. +func (in *DefinitionList) DeepCopy() *DefinitionList { + if in == nil { + return nil + } + out := new(DefinitionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. +func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { + if in == nil { + return nil + } + out := new(DefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { + *out = *in + if in.Authorization != nil { + in, out := &in.Authorization, &out.Authorization + *out = make([]AuthorizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.LighthouseDefinitionID != nil { + in, out := &in.LighthouseDefinitionID, &out.LighthouseDefinitionID + *out = new(string) + **out = **in + } + if in.ManagingTenantID != nil { + in, out := &in.ManagingTenantID, &out.ManagingTenantID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]PlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. +func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { + if in == nil { + return nil + } + out := new(DefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionSpec) DeepCopyInto(out *DefinitionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionSpec. +func (in *DefinitionSpec) DeepCopy() *DefinitionSpec { + if in == nil { + return nil + } + out := new(DefinitionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionStatus) DeepCopyInto(out *DefinitionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionStatus. +func (in *DefinitionStatus) DeepCopy() *DefinitionStatus { + if in == nil { + return nil + } + out := new(DefinitionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanObservation. +func (in *PlanObservation) DeepCopy() *PlanObservation { + if in == nil { + return nil + } + out := new(PlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanParameters) DeepCopyInto(out *PlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanParameters. +func (in *PlanParameters) DeepCopy() *PlanParameters { + if in == nil { + return nil + } + out := new(PlanParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/lighthouse/v1alpha1/zz_generated.managed.go b/apis/lighthouse/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..8aa89af99 --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Assignment. +func (mg *Assignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Assignment. +func (mg *Assignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Assignment. +func (mg *Assignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Assignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Assignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Assignment. +func (mg *Assignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Assignment. +func (mg *Assignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Assignment. +func (mg *Assignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Assignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Assignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Definition. +func (mg *Definition) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Definition. +func (mg *Definition) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Definition. +func (mg *Definition) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Definition. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Definition) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Definition. +func (mg *Definition) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Definition. +func (mg *Definition) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Definition. +func (mg *Definition) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Definition. +func (mg *Definition) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Definition. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Definition) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Definition. +func (mg *Definition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/lighthouse/v1alpha1/zz_generated.managedlist.go b/apis/lighthouse/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..ef3a319dd --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssignmentList. +func (l *AssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DefinitionList. +func (l *DefinitionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/lighthouse/v1alpha1/zz_groupversion_info.go b/apis/lighthouse/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f0e624f4f --- /dev/null +++ b/apis/lighthouse/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=lighthouse.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "lighthouse.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/linux/v1alpha1/zz_generated.deepcopy.go b/apis/linux/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..e743b51cb --- /dev/null +++ b/apis/linux/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2244 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalCapabilitiesObservation) DeepCopyInto(out *AdditionalCapabilitiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalCapabilitiesObservation. +func (in *AdditionalCapabilitiesObservation) DeepCopy() *AdditionalCapabilitiesObservation { + if in == nil { + return nil + } + out := new(AdditionalCapabilitiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalCapabilitiesParameters) DeepCopyInto(out *AdditionalCapabilitiesParameters) { + *out = *in + if in.UltraSsdEnabled != nil { + in, out := &in.UltraSsdEnabled, &out.UltraSsdEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalCapabilitiesParameters. +func (in *AdditionalCapabilitiesParameters) DeepCopy() *AdditionalCapabilitiesParameters { + if in == nil { + return nil + } + out := new(AdditionalCapabilitiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdminSSHKeyObservation) DeepCopyInto(out *AdminSSHKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminSSHKeyObservation. +func (in *AdminSSHKeyObservation) DeepCopy() *AdminSSHKeyObservation { + if in == nil { + return nil + } + out := new(AdminSSHKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdminSSHKeyParameters) DeepCopyInto(out *AdminSSHKeyParameters) { + *out = *in + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminSSHKeyParameters. +func (in *AdminSSHKeyParameters) DeepCopy() *AdminSSHKeyParameters { + if in == nil { + return nil + } + out := new(AdminSSHKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticInstanceRepairObservation) DeepCopyInto(out *AutomaticInstanceRepairObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticInstanceRepairObservation. +func (in *AutomaticInstanceRepairObservation) DeepCopy() *AutomaticInstanceRepairObservation { + if in == nil { + return nil + } + out := new(AutomaticInstanceRepairObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticInstanceRepairParameters) DeepCopyInto(out *AutomaticInstanceRepairParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.GracePeriod != nil { + in, out := &in.GracePeriod, &out.GracePeriod + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticInstanceRepairParameters. +func (in *AutomaticInstanceRepairParameters) DeepCopy() *AutomaticInstanceRepairParameters { + if in == nil { + return nil + } + out := new(AutomaticInstanceRepairParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticOsUpgradePolicyObservation) DeepCopyInto(out *AutomaticOsUpgradePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticOsUpgradePolicyObservation. +func (in *AutomaticOsUpgradePolicyObservation) DeepCopy() *AutomaticOsUpgradePolicyObservation { + if in == nil { + return nil + } + out := new(AutomaticOsUpgradePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticOsUpgradePolicyParameters) DeepCopyInto(out *AutomaticOsUpgradePolicyParameters) { + *out = *in + if in.DisableAutomaticRollback != nil { + in, out := &in.DisableAutomaticRollback, &out.DisableAutomaticRollback + *out = new(bool) + **out = **in + } + if in.EnableAutomaticOsUpgrade != nil { + in, out := &in.EnableAutomaticOsUpgrade, &out.EnableAutomaticOsUpgrade + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticOsUpgradePolicyParameters. +func (in *AutomaticOsUpgradePolicyParameters) DeepCopy() *AutomaticOsUpgradePolicyParameters { + if in == nil { + return nil + } + out := new(AutomaticOsUpgradePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BootDiagnosticsObservation) DeepCopyInto(out *BootDiagnosticsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiagnosticsObservation. +func (in *BootDiagnosticsObservation) DeepCopy() *BootDiagnosticsObservation { + if in == nil { + return nil + } + out := new(BootDiagnosticsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BootDiagnosticsParameters) DeepCopyInto(out *BootDiagnosticsParameters) { + *out = *in + if in.StorageAccountURI != nil { + in, out := &in.StorageAccountURI, &out.StorageAccountURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiagnosticsParameters. +func (in *BootDiagnosticsParameters) DeepCopy() *BootDiagnosticsParameters { + if in == nil { + return nil + } + out := new(BootDiagnosticsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataDiskObservation) DeepCopyInto(out *DataDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDiskObservation. +func (in *DataDiskObservation) DeepCopy() *DataDiskObservation { + if in == nil { + return nil + } + out := new(DataDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataDiskParameters) DeepCopyInto(out *DataDiskParameters) { + *out = *in + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.CreateOption != nil { + in, out := &in.CreateOption, &out.CreateOption + *out = new(string) + **out = **in + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskIopsReadWrite != nil { + in, out := &in.DiskIopsReadWrite, &out.DiskIopsReadWrite + *out = new(int64) + **out = **in + } + if in.DiskMbpsReadWrite != nil { + in, out := &in.DiskMbpsReadWrite, &out.DiskMbpsReadWrite + *out = new(int64) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.Lun != nil { + in, out := &in.Lun, &out.Lun + *out = new(int64) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.WriteAcceleratorEnabled != nil { + in, out := &in.WriteAcceleratorEnabled, &out.WriteAcceleratorEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDiskParameters. +func (in *DataDiskParameters) DeepCopy() *DataDiskParameters { + if in == nil { + return nil + } + out := new(DataDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiffDiskSettingsObservation) DeepCopyInto(out *DiffDiskSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiffDiskSettingsObservation. +func (in *DiffDiskSettingsObservation) DeepCopy() *DiffDiskSettingsObservation { + if in == nil { + return nil + } + out := new(DiffDiskSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiffDiskSettingsParameters) DeepCopyInto(out *DiffDiskSettingsParameters) { + *out = *in + if in.Option != nil { + in, out := &in.Option, &out.Option + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiffDiskSettingsParameters. +func (in *DiffDiskSettingsParameters) DeepCopy() *DiffDiskSettingsParameters { + if in == nil { + return nil + } + out := new(DiffDiskSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionObservation. +func (in *ExtensionObservation) DeepCopy() *ExtensionObservation { + if in == nil { + return nil + } + out := new(ExtensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtensionParameters) DeepCopyInto(out *ExtensionParameters) { + *out = *in + if in.AutoUpgradeMinorVersion != nil { + in, out := &in.AutoUpgradeMinorVersion, &out.AutoUpgradeMinorVersion + *out = new(bool) + **out = **in + } + if in.ForceUpdateTag != nil { + in, out := &in.ForceUpdateTag, &out.ForceUpdateTag + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProtectedSettingsSecretRef != nil { + in, out := &in.ProtectedSettingsSecretRef, &out.ProtectedSettingsSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ProvisionAfterExtensions != nil { + in, out := &in.ProvisionAfterExtensions, &out.ProvisionAfterExtensions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Settings != nil { + in, out := &in.Settings, &out.Settings + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.TypeHandlerVersion != nil { + in, out := &in.TypeHandlerVersion, &out.TypeHandlerVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameters. +func (in *ExtensionParameters) DeepCopy() *ExtensionParameters { + if in == nil { + return nil + } + out := new(ExtensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation. +func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation { + if in == nil { + return nil + } + out := new(IPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters) { + *out = *in + if in.ApplicationGatewayBackendAddressPoolIds != nil { + in, out := &in.ApplicationGatewayBackendAddressPoolIds, &out.ApplicationGatewayBackendAddressPoolIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ApplicationSecurityGroupIds != nil { + in, out := &in.ApplicationSecurityGroupIds, &out.ApplicationSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LoadBalancerBackendAddressPoolIds != nil { + in, out := &in.LoadBalancerBackendAddressPoolIds, &out.LoadBalancerBackendAddressPoolIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LoadBalancerInboundNatRulesIds != nil { + in, out := &in.LoadBalancerInboundNatRulesIds, &out.LoadBalancerInboundNatRulesIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Primary != nil { + in, out := &in.Primary, &out.Primary + *out = new(bool) + **out = **in + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = make([]PublicIPAddressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters. +func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters { + if in == nil { + return nil + } + out := new(IPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPTagObservation) DeepCopyInto(out *IPTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTagObservation. +func (in *IPTagObservation) DeepCopy() *IPTagObservation { + if in == nil { + return nil + } + out := new(IPTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPTagParameters) DeepCopyInto(out *IPTagParameters) { + *out = *in + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTagParameters. +func (in *IPTagParameters) DeepCopy() *IPTagParameters { + if in == nil { + return nil + } + out := new(IPTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. +func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { + if in == nil { + return nil + } + out := new(NetworkInterfaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { + *out = *in + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EnableAcceleratedNetworking != nil { + in, out := &in.EnableAcceleratedNetworking, &out.EnableAcceleratedNetworking + *out = new(bool) + **out = **in + } + if in.EnableIPForwarding != nil { + in, out := &in.EnableIPForwarding, &out.EnableIPForwarding + *out = new(bool) + **out = **in + } + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]IPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkSecurityGroupID != nil { + in, out := &in.NetworkSecurityGroupID, &out.NetworkSecurityGroupID + *out = new(string) + **out = **in + } + if in.Primary != nil { + in, out := &in.Primary, &out.Primary + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. +func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { + if in == nil { + return nil + } + out := new(NetworkInterfaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskDiffDiskSettingsObservation) DeepCopyInto(out *OsDiskDiffDiskSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskDiffDiskSettingsObservation. +func (in *OsDiskDiffDiskSettingsObservation) DeepCopy() *OsDiskDiffDiskSettingsObservation { + if in == nil { + return nil + } + out := new(OsDiskDiffDiskSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskDiffDiskSettingsParameters) DeepCopyInto(out *OsDiskDiffDiskSettingsParameters) { + *out = *in + if in.Option != nil { + in, out := &in.Option, &out.Option + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskDiffDiskSettingsParameters. +func (in *OsDiskDiffDiskSettingsParameters) DeepCopy() *OsDiskDiffDiskSettingsParameters { + if in == nil { + return nil + } + out := new(OsDiskDiffDiskSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskObservation) DeepCopyInto(out *OsDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskObservation. +func (in *OsDiskObservation) DeepCopy() *OsDiskObservation { + if in == nil { + return nil + } + out := new(OsDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskParameters) DeepCopyInto(out *OsDiskParameters) { + *out = *in + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.DiffDiskSettings != nil { + in, out := &in.DiffDiskSettings, &out.DiffDiskSettings + *out = make([]DiffDiskSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.WriteAcceleratorEnabled != nil { + in, out := &in.WriteAcceleratorEnabled, &out.WriteAcceleratorEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskParameters. +func (in *OsDiskParameters) DeepCopy() *OsDiskParameters { + if in == nil { + return nil + } + out := new(OsDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanObservation. +func (in *PlanObservation) DeepCopy() *PlanObservation { + if in == nil { + return nil + } + out := new(PlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanParameters) DeepCopyInto(out *PlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanParameters. +func (in *PlanParameters) DeepCopy() *PlanParameters { + if in == nil { + return nil + } + out := new(PlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicIPAddressObservation) DeepCopyInto(out *PublicIPAddressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressObservation. +func (in *PublicIPAddressObservation) DeepCopy() *PublicIPAddressObservation { + if in == nil { + return nil + } + out := new(PublicIPAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicIPAddressParameters) DeepCopyInto(out *PublicIPAddressParameters) { + *out = *in + if in.DomainNameLabel != nil { + in, out := &in.DomainNameLabel, &out.DomainNameLabel + *out = new(string) + **out = **in + } + if in.IPTag != nil { + in, out := &in.IPTag, &out.IPTag + *out = make([]IPTagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPPrefixID != nil { + in, out := &in.PublicIPPrefixID, &out.PublicIPPrefixID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressParameters. +func (in *PublicIPAddressParameters) DeepCopy() *PublicIPAddressParameters { + if in == nil { + return nil + } + out := new(PublicIPAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollingUpgradePolicyObservation) DeepCopyInto(out *RollingUpgradePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpgradePolicyObservation. +func (in *RollingUpgradePolicyObservation) DeepCopy() *RollingUpgradePolicyObservation { + if in == nil { + return nil + } + out := new(RollingUpgradePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollingUpgradePolicyParameters) DeepCopyInto(out *RollingUpgradePolicyParameters) { + *out = *in + if in.MaxBatchInstancePercent != nil { + in, out := &in.MaxBatchInstancePercent, &out.MaxBatchInstancePercent + *out = new(int64) + **out = **in + } + if in.MaxUnhealthyInstancePercent != nil { + in, out := &in.MaxUnhealthyInstancePercent, &out.MaxUnhealthyInstancePercent + *out = new(int64) + **out = **in + } + if in.MaxUnhealthyUpgradedInstancePercent != nil { + in, out := &in.MaxUnhealthyUpgradedInstancePercent, &out.MaxUnhealthyUpgradedInstancePercent + *out = new(int64) + **out = **in + } + if in.PauseTimeBetweenBatches != nil { + in, out := &in.PauseTimeBetweenBatches, &out.PauseTimeBetweenBatches + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpgradePolicyParameters. +func (in *RollingUpgradePolicyParameters) DeepCopy() *RollingUpgradePolicyParameters { + if in == nil { + return nil + } + out := new(RollingUpgradePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretCertificateObservation) DeepCopyInto(out *SecretCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCertificateObservation. +func (in *SecretCertificateObservation) DeepCopy() *SecretCertificateObservation { + if in == nil { + return nil + } + out := new(SecretCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretCertificateParameters) DeepCopyInto(out *SecretCertificateParameters) { + *out = *in + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCertificateParameters. +func (in *SecretCertificateParameters) DeepCopy() *SecretCertificateParameters { + if in == nil { + return nil + } + out := new(SecretCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretObservation) DeepCopyInto(out *SecretObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation. +func (in *SecretObservation) DeepCopy() *SecretObservation { + if in == nil { + return nil + } + out := new(SecretObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretParameters) DeepCopyInto(out *SecretParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters. +func (in *SecretParameters) DeepCopy() *SecretParameters { + if in == nil { + return nil + } + out := new(SecretParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceImageReferenceObservation) DeepCopyInto(out *SourceImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceImageReferenceObservation. +func (in *SourceImageReferenceObservation) DeepCopy() *SourceImageReferenceObservation { + if in == nil { + return nil + } + out := new(SourceImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceImageReferenceParameters) DeepCopyInto(out *SourceImageReferenceParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceImageReferenceParameters. +func (in *SourceImageReferenceParameters) DeepCopy() *SourceImageReferenceParameters { + if in == nil { + return nil + } + out := new(SourceImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TerminateNotificationObservation) DeepCopyInto(out *TerminateNotificationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerminateNotificationObservation. +func (in *TerminateNotificationObservation) DeepCopy() *TerminateNotificationObservation { + if in == nil { + return nil + } + out := new(TerminateNotificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TerminateNotificationParameters) DeepCopyInto(out *TerminateNotificationParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Timeout != nil { + in, out := &in.Timeout, &out.Timeout + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerminateNotificationParameters. +func (in *TerminateNotificationParameters) DeepCopy() *TerminateNotificationParameters { + if in == nil { + return nil + } + out := new(TerminateNotificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine. +func (in *VirtualMachine) DeepCopy() *VirtualMachine { + if in == nil { + return nil + } + out := new(VirtualMachine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList. +func (in *VirtualMachineList) DeepCopy() *VirtualMachineList { + if in == nil { + return nil + } + out := new(VirtualMachineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineObservation) DeepCopyInto(out *VirtualMachineObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddresses != nil { + in, out := &in.PrivateIPAddresses, &out.PrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = new(string) + **out = **in + } + if in.PublicIPAddresses != nil { + in, out := &in.PublicIPAddresses, &out.PublicIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineObservation. +func (in *VirtualMachineObservation) DeepCopy() *VirtualMachineObservation { + if in == nil { + return nil + } + out := new(VirtualMachineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineParameters) DeepCopyInto(out *VirtualMachineParameters) { + *out = *in + if in.AdditionalCapabilities != nil { + in, out := &in.AdditionalCapabilities, &out.AdditionalCapabilities + *out = make([]AdditionalCapabilitiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdminPasswordSecretRef != nil { + in, out := &in.AdminPasswordSecretRef, &out.AdminPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AdminSSHKey != nil { + in, out := &in.AdminSSHKey, &out.AdminSSHKey + *out = make([]AdminSSHKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in + } + if in.AllowExtensionOperations != nil { + in, out := &in.AllowExtensionOperations, &out.AllowExtensionOperations + *out = new(bool) + **out = **in + } + if in.AvailabilitySetID != nil { + in, out := &in.AvailabilitySetID, &out.AvailabilitySetID + *out = new(string) + **out = **in + } + if in.BootDiagnostics != nil { + in, out := &in.BootDiagnostics, &out.BootDiagnostics + *out = make([]BootDiagnosticsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ComputerName != nil { + in, out := &in.ComputerName, &out.ComputerName + *out = new(string) + **out = **in + } + if in.CustomDataSecretRef != nil { + in, out := &in.CustomDataSecretRef, &out.CustomDataSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DedicatedHostID != nil { + in, out := &in.DedicatedHostID, &out.DedicatedHostID + *out = new(string) + **out = **in + } + if in.DisablePasswordAuthentication != nil { + in, out := &in.DisablePasswordAuthentication, &out.DisablePasswordAuthentication + *out = new(bool) + **out = **in + } + if in.EncryptionAtHostEnabled != nil { + in, out := &in.EncryptionAtHostEnabled, &out.EncryptionAtHostEnabled + *out = new(bool) + **out = **in + } + if in.EvictionPolicy != nil { + in, out := &in.EvictionPolicy, &out.EvictionPolicy + *out = new(string) + **out = **in + } + if in.ExtensionsTimeBudget != nil { + in, out := &in.ExtensionsTimeBudget, &out.ExtensionsTimeBudget + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxBidPrice != nil { + in, out := &in.MaxBidPrice, &out.MaxBidPrice + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIds != nil { + in, out := &in.NetworkInterfaceIds, &out.NetworkInterfaceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OsDisk != nil { + in, out := &in.OsDisk, &out.OsDisk + *out = make([]OsDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]PlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PlatformFaultDomain != nil { + in, out := &in.PlatformFaultDomain, &out.PlatformFaultDomain + *out = new(int64) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(string) + **out = **in + } + if in.ProvisionVMAgent != nil { + in, out := &in.ProvisionVMAgent, &out.ProvisionVMAgent + *out = new(bool) + **out = **in + } + if in.ProximityPlacementGroupID != nil { + in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Secret != nil { + in, out := &in.Secret, &out.Secret + *out = make([]SecretParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(string) + **out = **in + } + if in.SourceImageID != nil { + in, out := &in.SourceImageID, &out.SourceImageID + *out = new(string) + **out = **in + } + if in.SourceImageReference != nil { + in, out := &in.SourceImageReference, &out.SourceImageReference + *out = make([]SourceImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualMachineScaleSetID != nil { + in, out := &in.VirtualMachineScaleSetID, &out.VirtualMachineScaleSetID + *out = new(string) + **out = **in + } + if in.Zone != nil { + in, out := &in.Zone, &out.Zone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineParameters. +func (in *VirtualMachineParameters) DeepCopy() *VirtualMachineParameters { + if in == nil { + return nil + } + out := new(VirtualMachineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSet) DeepCopyInto(out *VirtualMachineScaleSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSet. +func (in *VirtualMachineScaleSet) DeepCopy() *VirtualMachineScaleSet { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineScaleSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesObservation) DeepCopyInto(out *VirtualMachineScaleSetAdditionalCapabilitiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdditionalCapabilitiesObservation. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesObservation) DeepCopy() *VirtualMachineScaleSetAdditionalCapabilitiesObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdditionalCapabilitiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesParameters) DeepCopyInto(out *VirtualMachineScaleSetAdditionalCapabilitiesParameters) { + *out = *in + if in.UltraSsdEnabled != nil { + in, out := &in.UltraSsdEnabled, &out.UltraSsdEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdditionalCapabilitiesParameters. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesParameters) DeepCopy() *VirtualMachineScaleSetAdditionalCapabilitiesParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdditionalCapabilitiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdminSSHKeyObservation) DeepCopyInto(out *VirtualMachineScaleSetAdminSSHKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdminSSHKeyObservation. +func (in *VirtualMachineScaleSetAdminSSHKeyObservation) DeepCopy() *VirtualMachineScaleSetAdminSSHKeyObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdminSSHKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdminSSHKeyParameters) DeepCopyInto(out *VirtualMachineScaleSetAdminSSHKeyParameters) { + *out = *in + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdminSSHKeyParameters. +func (in *VirtualMachineScaleSetAdminSSHKeyParameters) DeepCopy() *VirtualMachineScaleSetAdminSSHKeyParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdminSSHKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetBootDiagnosticsObservation) DeepCopyInto(out *VirtualMachineScaleSetBootDiagnosticsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetBootDiagnosticsObservation. +func (in *VirtualMachineScaleSetBootDiagnosticsObservation) DeepCopy() *VirtualMachineScaleSetBootDiagnosticsObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetBootDiagnosticsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetBootDiagnosticsParameters) DeepCopyInto(out *VirtualMachineScaleSetBootDiagnosticsParameters) { + *out = *in + if in.StorageAccountURI != nil { + in, out := &in.StorageAccountURI, &out.StorageAccountURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetBootDiagnosticsParameters. +func (in *VirtualMachineScaleSetBootDiagnosticsParameters) DeepCopy() *VirtualMachineScaleSetBootDiagnosticsParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetBootDiagnosticsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetIdentityObservation) DeepCopyInto(out *VirtualMachineScaleSetIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIdentityObservation. +func (in *VirtualMachineScaleSetIdentityObservation) DeepCopy() *VirtualMachineScaleSetIdentityObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetIdentityParameters) DeepCopyInto(out *VirtualMachineScaleSetIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIdentityParameters. +func (in *VirtualMachineScaleSetIdentityParameters) DeepCopy() *VirtualMachineScaleSetIdentityParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetList) DeepCopyInto(out *VirtualMachineScaleSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachineScaleSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetList. +func (in *VirtualMachineScaleSetList) DeepCopy() *VirtualMachineScaleSetList { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineScaleSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetObservation) DeepCopyInto(out *VirtualMachineScaleSetObservation) { + *out = *in + if in.UniqueID != nil { + in, out := &in.UniqueID, &out.UniqueID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetObservation. +func (in *VirtualMachineScaleSetObservation) DeepCopy() *VirtualMachineScaleSetObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetOsDiskObservation) DeepCopyInto(out *VirtualMachineScaleSetOsDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetOsDiskObservation. +func (in *VirtualMachineScaleSetOsDiskObservation) DeepCopy() *VirtualMachineScaleSetOsDiskObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetOsDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetOsDiskParameters) DeepCopyInto(out *VirtualMachineScaleSetOsDiskParameters) { + *out = *in + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.DiffDiskSettings != nil { + in, out := &in.DiffDiskSettings, &out.DiffDiskSettings + *out = make([]OsDiskDiffDiskSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.WriteAcceleratorEnabled != nil { + in, out := &in.WriteAcceleratorEnabled, &out.WriteAcceleratorEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetOsDiskParameters. +func (in *VirtualMachineScaleSetOsDiskParameters) DeepCopy() *VirtualMachineScaleSetOsDiskParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetOsDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetParameters) DeepCopyInto(out *VirtualMachineScaleSetParameters) { + *out = *in + if in.AdditionalCapabilities != nil { + in, out := &in.AdditionalCapabilities, &out.AdditionalCapabilities + *out = make([]VirtualMachineScaleSetAdditionalCapabilitiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdminPasswordSecretRef != nil { + in, out := &in.AdminPasswordSecretRef, &out.AdminPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AdminSSHKey != nil { + in, out := &in.AdminSSHKey, &out.AdminSSHKey + *out = make([]VirtualMachineScaleSetAdminSSHKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in + } + if in.AutomaticInstanceRepair != nil { + in, out := &in.AutomaticInstanceRepair, &out.AutomaticInstanceRepair + *out = make([]AutomaticInstanceRepairParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutomaticOsUpgradePolicy != nil { + in, out := &in.AutomaticOsUpgradePolicy, &out.AutomaticOsUpgradePolicy + *out = make([]AutomaticOsUpgradePolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BootDiagnostics != nil { + in, out := &in.BootDiagnostics, &out.BootDiagnostics + *out = make([]VirtualMachineScaleSetBootDiagnosticsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ComputerNamePrefix != nil { + in, out := &in.ComputerNamePrefix, &out.ComputerNamePrefix + *out = new(string) + **out = **in + } + if in.CustomDataSecretRef != nil { + in, out := &in.CustomDataSecretRef, &out.CustomDataSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DataDisk != nil { + in, out := &in.DataDisk, &out.DataDisk + *out = make([]DataDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DisablePasswordAuthentication != nil { + in, out := &in.DisablePasswordAuthentication, &out.DisablePasswordAuthentication + *out = new(bool) + **out = **in + } + if in.DoNotRunExtensionsOnOverprovisionedMachines != nil { + in, out := &in.DoNotRunExtensionsOnOverprovisionedMachines, &out.DoNotRunExtensionsOnOverprovisionedMachines + *out = new(bool) + **out = **in + } + if in.EncryptionAtHostEnabled != nil { + in, out := &in.EncryptionAtHostEnabled, &out.EncryptionAtHostEnabled + *out = new(bool) + **out = **in + } + if in.EvictionPolicy != nil { + in, out := &in.EvictionPolicy, &out.EvictionPolicy + *out = new(string) + **out = **in + } + if in.Extension != nil { + in, out := &in.Extension, &out.Extension + *out = make([]ExtensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExtensionsTimeBudget != nil { + in, out := &in.ExtensionsTimeBudget, &out.ExtensionsTimeBudget + *out = new(string) + **out = **in + } + if in.HealthProbeID != nil { + in, out := &in.HealthProbeID, &out.HealthProbeID + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]VirtualMachineScaleSetIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Instances != nil { + in, out := &in.Instances, &out.Instances + *out = new(int64) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxBidPrice != nil { + in, out := &in.MaxBidPrice, &out.MaxBidPrice + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = make([]NetworkInterfaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OsDisk != nil { + in, out := &in.OsDisk, &out.OsDisk + *out = make([]VirtualMachineScaleSetOsDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Overprovision != nil { + in, out := &in.Overprovision, &out.Overprovision + *out = new(bool) + **out = **in + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]VirtualMachineScaleSetPlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PlatformFaultDomainCount != nil { + in, out := &in.PlatformFaultDomainCount, &out.PlatformFaultDomainCount + *out = new(int64) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(string) + **out = **in + } + if in.ProvisionVMAgent != nil { + in, out := &in.ProvisionVMAgent, &out.ProvisionVMAgent + *out = new(bool) + **out = **in + } + if in.ProximityPlacementGroupID != nil { + in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RollingUpgradePolicy != nil { + in, out := &in.RollingUpgradePolicy, &out.RollingUpgradePolicy + *out = make([]RollingUpgradePolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScaleInPolicy != nil { + in, out := &in.ScaleInPolicy, &out.ScaleInPolicy + *out = new(string) + **out = **in + } + if in.Secret != nil { + in, out := &in.Secret, &out.Secret + *out = make([]VirtualMachineScaleSetSecretParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SinglePlacementGroup != nil { + in, out := &in.SinglePlacementGroup, &out.SinglePlacementGroup + *out = new(bool) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.SourceImageID != nil { + in, out := &in.SourceImageID, &out.SourceImageID + *out = new(string) + **out = **in + } + if in.SourceImageReference != nil { + in, out := &in.SourceImageReference, &out.SourceImageReference + *out = make([]VirtualMachineScaleSetSourceImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TerminateNotification != nil { + in, out := &in.TerminateNotification, &out.TerminateNotification + *out = make([]TerminateNotificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UpgradeMode != nil { + in, out := &in.UpgradeMode, &out.UpgradeMode + *out = new(string) + **out = **in + } + if in.ZoneBalance != nil { + in, out := &in.ZoneBalance, &out.ZoneBalance + *out = new(bool) + **out = **in + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetParameters. +func (in *VirtualMachineScaleSetParameters) DeepCopy() *VirtualMachineScaleSetParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetPlanObservation) DeepCopyInto(out *VirtualMachineScaleSetPlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPlanObservation. +func (in *VirtualMachineScaleSetPlanObservation) DeepCopy() *VirtualMachineScaleSetPlanObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetPlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetPlanParameters) DeepCopyInto(out *VirtualMachineScaleSetPlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPlanParameters. +func (in *VirtualMachineScaleSetPlanParameters) DeepCopy() *VirtualMachineScaleSetPlanParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetPlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSecretObservation) DeepCopyInto(out *VirtualMachineScaleSetSecretObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSecretObservation. +func (in *VirtualMachineScaleSetSecretObservation) DeepCopy() *VirtualMachineScaleSetSecretObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSecretObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSecretParameters) DeepCopyInto(out *VirtualMachineScaleSetSecretParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]SecretCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSecretParameters. +func (in *VirtualMachineScaleSetSecretParameters) DeepCopy() *VirtualMachineScaleSetSecretParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSecretParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSourceImageReferenceObservation) DeepCopyInto(out *VirtualMachineScaleSetSourceImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSourceImageReferenceObservation. +func (in *VirtualMachineScaleSetSourceImageReferenceObservation) DeepCopy() *VirtualMachineScaleSetSourceImageReferenceObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSourceImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSourceImageReferenceParameters) DeepCopyInto(out *VirtualMachineScaleSetSourceImageReferenceParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSourceImageReferenceParameters. +func (in *VirtualMachineScaleSetSourceImageReferenceParameters) DeepCopy() *VirtualMachineScaleSetSourceImageReferenceParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSourceImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSpec) DeepCopyInto(out *VirtualMachineScaleSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSpec. +func (in *VirtualMachineScaleSetSpec) DeepCopy() *VirtualMachineScaleSetSpec { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetStatus) DeepCopyInto(out *VirtualMachineScaleSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetStatus. +func (in *VirtualMachineScaleSetStatus) DeepCopy() *VirtualMachineScaleSetStatus { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec. +func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec { + if in == nil { + return nil + } + out := new(VirtualMachineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus. +func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus { + if in == nil { + return nil + } + out := new(VirtualMachineStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/linux/v1alpha1/zz_generated.managed.go b/apis/linux/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..bc090b83a --- /dev/null +++ b/apis/linux/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this VirtualMachine. +func (mg *VirtualMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachine. +func (mg *VirtualMachine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachine. +func (mg *VirtualMachine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachine. +func (mg *VirtualMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachine. +func (mg *VirtualMachine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachine. +func (mg *VirtualMachine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachine. +func (mg *VirtualMachine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachine. +func (mg *VirtualMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachineScaleSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachineScaleSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachineScaleSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachineScaleSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/linux/v1alpha1/zz_generated.managedlist.go b/apis/linux/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..23e22d3fe --- /dev/null +++ b/apis/linux/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this VirtualMachineList. +func (l *VirtualMachineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualMachineScaleSetList. +func (l *VirtualMachineScaleSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/linux/v1alpha1/zz_groupversion_info.go b/apis/linux/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..60e6dfc36 --- /dev/null +++ b/apis/linux/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=linux.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "linux.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/linux/v1alpha1/zz_virtualmachine_terraformed.go b/apis/linux/v1alpha1/zz_virtualmachine_terraformed.go new file mode 100755 index 000000000..85856dfd5 --- /dev/null +++ b/apis/linux/v1alpha1/zz_virtualmachine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachine +func (mg *VirtualMachine) GetTerraformResourceType() string { + return "azurerm_linux_virtual_machine" +} + +// GetConnectionDetailsMapping for this VirtualMachine +func (tr *VirtualMachine) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"admin_password": "spec.forProvider.adminPasswordSecretRef", "custom_data": "spec.forProvider.customDataSecretRef"} +} + +// GetObservation of this VirtualMachine +func (tr *VirtualMachine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachine +func (tr *VirtualMachine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachine +func (tr *VirtualMachine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachine +func (tr *VirtualMachine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachine) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/linux/v1alpha1/zz_virtualmachine_types.go b/apis/linux/v1alpha1/zz_virtualmachine_types.go new file mode 100755 index 000000000..48243a2cb --- /dev/null +++ b/apis/linux/v1alpha1/zz_virtualmachine_types.go @@ -0,0 +1,327 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AdditionalCapabilitiesObservation struct { +} + +type AdditionalCapabilitiesParameters struct { + + // +kubebuilder:validation:Optional + UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"` +} + +type AdminSSHKeyObservation struct { +} + +type AdminSSHKeyParameters struct { + + // +kubebuilder:validation:Required + PublicKey *string `json:"publicKey" tf:"public_key,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type BootDiagnosticsObservation struct { +} + +type BootDiagnosticsParameters struct { + + // +kubebuilder:validation:Optional + StorageAccountURI *string `json:"storageAccountUri,omitempty" tf:"storage_account_uri,omitempty"` +} + +type CertificateObservation struct { +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +type DiffDiskSettingsObservation struct { +} + +type DiffDiskSettingsParameters struct { + + // +kubebuilder:validation:Required + Option *string `json:"option" tf:"option,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type OsDiskObservation struct { +} + +type OsDiskParameters struct { + + // +kubebuilder:validation:Required + Caching *string `json:"caching" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + DiffDiskSettings []DiffDiskSettingsParameters `json:"diffDiskSettings,omitempty" tf:"diff_disk_settings,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty" tf:"write_accelerator_enabled,omitempty"` +} + +type PlanObservation struct { +} + +type PlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` +} + +type SecretObservation struct { +} + +type SecretParameters struct { + + // +kubebuilder:validation:Required + Certificate []CertificateParameters `json:"certificate" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` +} + +type SourceImageReferenceObservation struct { +} + +type SourceImageReferenceParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type VirtualMachineObservation struct { + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + PrivateIPAddresses []*string `json:"privateIpAddresses,omitempty" tf:"private_ip_addresses,omitempty"` + + PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` + + PublicIPAddresses []*string `json:"publicIpAddresses,omitempty" tf:"public_ip_addresses,omitempty"` + + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +type VirtualMachineParameters struct { + + // +kubebuilder:validation:Optional + AdditionalCapabilities []AdditionalCapabilitiesParameters `json:"additionalCapabilities,omitempty" tf:"additional_capabilities,omitempty"` + + // +kubebuilder:validation:Optional + AdminPasswordSecretRef *v1.SecretKeySelector `json:"adminPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AdminSSHKey []AdminSSHKeyParameters `json:"adminSshKey,omitempty" tf:"admin_ssh_key,omitempty"` + + // +kubebuilder:validation:Required + AdminUsername *string `json:"adminUsername" tf:"admin_username,omitempty"` + + // +kubebuilder:validation:Optional + AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty" tf:"allow_extension_operations,omitempty"` + + // +kubebuilder:validation:Optional + AvailabilitySetID *string `json:"availabilitySetId,omitempty" tf:"availability_set_id,omitempty"` + + // +kubebuilder:validation:Optional + BootDiagnostics []BootDiagnosticsParameters `json:"bootDiagnostics,omitempty" tf:"boot_diagnostics,omitempty"` + + // +kubebuilder:validation:Optional + ComputerName *string `json:"computerName,omitempty" tf:"computer_name,omitempty"` + + // +kubebuilder:validation:Optional + CustomDataSecretRef *v1.SecretKeySelector `json:"customDataSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DedicatedHostID *string `json:"dedicatedHostId,omitempty" tf:"dedicated_host_id,omitempty"` + + // +kubebuilder:validation:Optional + DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty" tf:"disable_password_authentication,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"` + + // +kubebuilder:validation:Optional + ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty" tf:"extensions_time_budget,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxBidPrice *float64 `json:"maxBidPrice,omitempty" tf:"max_bid_price,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterfaceIds []*string `json:"networkInterfaceIds" tf:"network_interface_ids,omitempty"` + + // +kubebuilder:validation:Required + OsDisk []OsDiskParameters `json:"osDisk" tf:"os_disk,omitempty"` + + // +kubebuilder:validation:Optional + Plan []PlanParameters `json:"plan,omitempty" tf:"plan,omitempty"` + + // +kubebuilder:validation:Optional + PlatformFaultDomain *int64 `json:"platformFaultDomain,omitempty" tf:"platform_fault_domain,omitempty"` + + // +kubebuilder:validation:Optional + Priority *string `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ProvisionVMAgent *bool `json:"provisionVmAgent,omitempty" tf:"provision_vm_agent,omitempty"` + + // +kubebuilder:validation:Optional + ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"` + + // +kubebuilder:validation:Required + Size *string `json:"size" tf:"size,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageID *string `json:"sourceImageId,omitempty" tf:"source_image_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageReference []SourceImageReferenceParameters `json:"sourceImageReference,omitempty" tf:"source_image_reference,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + VirtualMachineScaleSetID *string `json:"virtualMachineScaleSetId,omitempty" tf:"virtual_machine_scale_set_id,omitempty"` + + // +kubebuilder:validation:Optional + Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` +} + +// VirtualMachineSpec defines the desired state of VirtualMachine +type VirtualMachineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineParameters `json:"forProvider"` +} + +// VirtualMachineStatus defines the observed state of VirtualMachine. +type VirtualMachineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachine is the Schema for the VirtualMachines API +// +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,azurejet} +type VirtualMachine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineSpec `json:"spec"` + Status VirtualMachineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineList contains a list of VirtualMachines +type VirtualMachineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachine `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachine_Kind = "VirtualMachine" + VirtualMachine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachine_Kind}.String() + VirtualMachine_KindAPIVersion = VirtualMachine_Kind + "." + CRDGroupVersion.String() + VirtualMachine_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachine_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachine{}, &VirtualMachineList{}) +} diff --git a/apis/linux/v1alpha1/zz_virtualmachinescaleset_terraformed.go b/apis/linux/v1alpha1/zz_virtualmachinescaleset_terraformed.go new file mode 100755 index 000000000..58187f670 --- /dev/null +++ b/apis/linux/v1alpha1/zz_virtualmachinescaleset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachineScaleSet +func (mg *VirtualMachineScaleSet) GetTerraformResourceType() string { + return "azurerm_linux_virtual_machine_scale_set" +} + +// GetConnectionDetailsMapping for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"admin_password": "spec.forProvider.adminPasswordSecretRef", "custom_data": "spec.forProvider.customDataSecretRef", "extension[*].protected_settings": "spec.forProvider.extension[*].protectedSettingsSecretRef"} +} + +// GetObservation of this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachineScaleSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachineScaleSet) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineScaleSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachineScaleSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/linux/v1alpha1/zz_virtualmachinescaleset_types.go b/apis/linux/v1alpha1/zz_virtualmachinescaleset_types.go new file mode 100755 index 000000000..72d18b798 --- /dev/null +++ b/apis/linux/v1alpha1/zz_virtualmachinescaleset_types.go @@ -0,0 +1,554 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutomaticInstanceRepairObservation struct { +} + +type AutomaticInstanceRepairParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + GracePeriod *string `json:"gracePeriod,omitempty" tf:"grace_period,omitempty"` +} + +type AutomaticOsUpgradePolicyObservation struct { +} + +type AutomaticOsUpgradePolicyParameters struct { + + // +kubebuilder:validation:Required + DisableAutomaticRollback *bool `json:"disableAutomaticRollback" tf:"disable_automatic_rollback,omitempty"` + + // +kubebuilder:validation:Required + EnableAutomaticOsUpgrade *bool `json:"enableAutomaticOsUpgrade" tf:"enable_automatic_os_upgrade,omitempty"` +} + +type DataDiskObservation struct { +} + +type DataDiskParameters struct { + + // +kubebuilder:validation:Required + Caching *string `json:"caching" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + CreateOption *string `json:"createOption,omitempty" tf:"create_option,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskIopsReadWrite *int64 `json:"diskIopsReadWrite,omitempty" tf:"disk_iops_read_write,omitempty"` + + // +kubebuilder:validation:Optional + DiskMbpsReadWrite *int64 `json:"diskMbpsReadWrite,omitempty" tf:"disk_mbps_read_write,omitempty"` + + // +kubebuilder:validation:Required + DiskSizeGb *int64 `json:"diskSizeGb" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Required + Lun *int64 `json:"lun" tf:"lun,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty" tf:"write_accelerator_enabled,omitempty"` +} + +type ExtensionObservation struct { +} + +type ExtensionParameters struct { + + // +kubebuilder:validation:Optional + AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty" tf:"auto_upgrade_minor_version,omitempty"` + + // +kubebuilder:validation:Optional + ForceUpdateTag *string `json:"forceUpdateTag,omitempty" tf:"force_update_tag,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProtectedSettingsSecretRef *v1.SecretKeySelector `json:"protectedSettingsSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ProvisionAfterExtensions []*string `json:"provisionAfterExtensions,omitempty" tf:"provision_after_extensions,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Optional + Settings *string `json:"settings,omitempty" tf:"settings,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + TypeHandlerVersion *string `json:"typeHandlerVersion" tf:"type_handler_version,omitempty"` +} + +type IPConfigurationObservation struct { +} + +type IPConfigurationParameters struct { + + // +kubebuilder:validation:Optional + ApplicationGatewayBackendAddressPoolIds []*string `json:"applicationGatewayBackendAddressPoolIds,omitempty" tf:"application_gateway_backend_address_pool_ids,omitempty"` + + // +kubebuilder:validation:Optional + ApplicationSecurityGroupIds []*string `json:"applicationSecurityGroupIds,omitempty" tf:"application_security_group_ids,omitempty"` + + // +kubebuilder:validation:Optional + LoadBalancerBackendAddressPoolIds []*string `json:"loadBalancerBackendAddressPoolIds,omitempty" tf:"load_balancer_backend_address_pool_ids,omitempty"` + + // +kubebuilder:validation:Optional + LoadBalancerInboundNatRulesIds []*string `json:"loadBalancerInboundNatRulesIds,omitempty" tf:"load_balancer_inbound_nat_rules_ids,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Primary *bool `json:"primary,omitempty" tf:"primary,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPAddress []PublicIPAddressParameters `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type IPTagObservation struct { +} + +type IPTagParameters struct { + + // +kubebuilder:validation:Required + Tag *string `json:"tag" tf:"tag,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type NetworkInterfaceObservation struct { +} + +type NetworkInterfaceParameters struct { + + // +kubebuilder:validation:Optional + DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` + + // +kubebuilder:validation:Optional + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty" tf:"enable_accelerated_networking,omitempty"` + + // +kubebuilder:validation:Optional + EnableIPForwarding *bool `json:"enableIpForwarding,omitempty" tf:"enable_ip_forwarding,omitempty"` + + // +kubebuilder:validation:Required + IPConfiguration []IPConfigurationParameters `json:"ipConfiguration" tf:"ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty" tf:"network_security_group_id,omitempty"` + + // +kubebuilder:validation:Optional + Primary *bool `json:"primary,omitempty" tf:"primary,omitempty"` +} + +type OsDiskDiffDiskSettingsObservation struct { +} + +type OsDiskDiffDiskSettingsParameters struct { + + // +kubebuilder:validation:Required + Option *string `json:"option" tf:"option,omitempty"` +} + +type PublicIPAddressObservation struct { +} + +type PublicIPAddressParameters struct { + + // +kubebuilder:validation:Optional + DomainNameLabel *string `json:"domainNameLabel,omitempty" tf:"domain_name_label,omitempty"` + + // +kubebuilder:validation:Optional + IPTag []IPTagParameters `json:"ipTag,omitempty" tf:"ip_tag,omitempty"` + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPPrefixID *string `json:"publicIpPrefixId,omitempty" tf:"public_ip_prefix_id,omitempty"` +} + +type RollingUpgradePolicyObservation struct { +} + +type RollingUpgradePolicyParameters struct { + + // +kubebuilder:validation:Required + MaxBatchInstancePercent *int64 `json:"maxBatchInstancePercent" tf:"max_batch_instance_percent,omitempty"` + + // +kubebuilder:validation:Required + MaxUnhealthyInstancePercent *int64 `json:"maxUnhealthyInstancePercent" tf:"max_unhealthy_instance_percent,omitempty"` + + // +kubebuilder:validation:Required + MaxUnhealthyUpgradedInstancePercent *int64 `json:"maxUnhealthyUpgradedInstancePercent" tf:"max_unhealthy_upgraded_instance_percent,omitempty"` + + // +kubebuilder:validation:Required + PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches" tf:"pause_time_between_batches,omitempty"` +} + +type SecretCertificateObservation struct { +} + +type SecretCertificateParameters struct { + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +type TerminateNotificationObservation struct { +} + +type TerminateNotificationParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"` +} + +type VirtualMachineScaleSetAdditionalCapabilitiesObservation struct { +} + +type VirtualMachineScaleSetAdditionalCapabilitiesParameters struct { + + // +kubebuilder:validation:Optional + UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"` +} + +type VirtualMachineScaleSetAdminSSHKeyObservation struct { +} + +type VirtualMachineScaleSetAdminSSHKeyParameters struct { + + // +kubebuilder:validation:Required + PublicKey *string `json:"publicKey" tf:"public_key,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type VirtualMachineScaleSetBootDiagnosticsObservation struct { +} + +type VirtualMachineScaleSetBootDiagnosticsParameters struct { + + // +kubebuilder:validation:Optional + StorageAccountURI *string `json:"storageAccountUri,omitempty" tf:"storage_account_uri,omitempty"` +} + +type VirtualMachineScaleSetIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` +} + +type VirtualMachineScaleSetIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type VirtualMachineScaleSetObservation struct { + UniqueID *string `json:"uniqueId,omitempty" tf:"unique_id,omitempty"` +} + +type VirtualMachineScaleSetOsDiskObservation struct { +} + +type VirtualMachineScaleSetOsDiskParameters struct { + + // +kubebuilder:validation:Required + Caching *string `json:"caching" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + DiffDiskSettings []OsDiskDiffDiskSettingsParameters `json:"diffDiskSettings,omitempty" tf:"diff_disk_settings,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty" tf:"write_accelerator_enabled,omitempty"` +} + +type VirtualMachineScaleSetParameters struct { + + // +kubebuilder:validation:Optional + AdditionalCapabilities []VirtualMachineScaleSetAdditionalCapabilitiesParameters `json:"additionalCapabilities,omitempty" tf:"additional_capabilities,omitempty"` + + // +kubebuilder:validation:Optional + AdminPasswordSecretRef *v1.SecretKeySelector `json:"adminPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AdminSSHKey []VirtualMachineScaleSetAdminSSHKeyParameters `json:"adminSshKey,omitempty" tf:"admin_ssh_key,omitempty"` + + // +kubebuilder:validation:Required + AdminUsername *string `json:"adminUsername" tf:"admin_username,omitempty"` + + // +kubebuilder:validation:Optional + AutomaticInstanceRepair []AutomaticInstanceRepairParameters `json:"automaticInstanceRepair,omitempty" tf:"automatic_instance_repair,omitempty"` + + // +kubebuilder:validation:Optional + AutomaticOsUpgradePolicy []AutomaticOsUpgradePolicyParameters `json:"automaticOsUpgradePolicy,omitempty" tf:"automatic_os_upgrade_policy,omitempty"` + + // +kubebuilder:validation:Optional + BootDiagnostics []VirtualMachineScaleSetBootDiagnosticsParameters `json:"bootDiagnostics,omitempty" tf:"boot_diagnostics,omitempty"` + + // +kubebuilder:validation:Optional + ComputerNamePrefix *string `json:"computerNamePrefix,omitempty" tf:"computer_name_prefix,omitempty"` + + // +kubebuilder:validation:Optional + CustomDataSecretRef *v1.SecretKeySelector `json:"customDataSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DataDisk []DataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"` + + // +kubebuilder:validation:Optional + DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty" tf:"disable_password_authentication,omitempty"` + + // +kubebuilder:validation:Optional + DoNotRunExtensionsOnOverprovisionedMachines *bool `json:"doNotRunExtensionsOnOverprovisionedMachines,omitempty" tf:"do_not_run_extensions_on_overprovisioned_machines,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"` + + // +kubebuilder:validation:Optional + Extension []ExtensionParameters `json:"extension,omitempty" tf:"extension,omitempty"` + + // +kubebuilder:validation:Optional + ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty" tf:"extensions_time_budget,omitempty"` + + // +kubebuilder:validation:Optional + HealthProbeID *string `json:"healthProbeId,omitempty" tf:"health_probe_id,omitempty"` + + // +kubebuilder:validation:Optional + Identity []VirtualMachineScaleSetIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Instances *int64 `json:"instances" tf:"instances,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxBidPrice *float64 `json:"maxBidPrice,omitempty" tf:"max_bid_price,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterface []NetworkInterfaceParameters `json:"networkInterface" tf:"network_interface,omitempty"` + + // +kubebuilder:validation:Required + OsDisk []VirtualMachineScaleSetOsDiskParameters `json:"osDisk" tf:"os_disk,omitempty"` + + // +kubebuilder:validation:Optional + Overprovision *bool `json:"overprovision,omitempty" tf:"overprovision,omitempty"` + + // +kubebuilder:validation:Optional + Plan []VirtualMachineScaleSetPlanParameters `json:"plan,omitempty" tf:"plan,omitempty"` + + // +kubebuilder:validation:Optional + PlatformFaultDomainCount *int64 `json:"platformFaultDomainCount,omitempty" tf:"platform_fault_domain_count,omitempty"` + + // +kubebuilder:validation:Optional + Priority *string `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ProvisionVMAgent *bool `json:"provisionVmAgent,omitempty" tf:"provision_vm_agent,omitempty"` + + // +kubebuilder:validation:Optional + ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RollingUpgradePolicy []RollingUpgradePolicyParameters `json:"rollingUpgradePolicy,omitempty" tf:"rolling_upgrade_policy,omitempty"` + + // +kubebuilder:validation:Optional + ScaleInPolicy *string `json:"scaleInPolicy,omitempty" tf:"scale_in_policy,omitempty"` + + // +kubebuilder:validation:Optional + Secret []VirtualMachineScaleSetSecretParameters `json:"secret,omitempty" tf:"secret,omitempty"` + + // +kubebuilder:validation:Optional + SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty" tf:"single_placement_group,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageID *string `json:"sourceImageId,omitempty" tf:"source_image_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageReference []VirtualMachineScaleSetSourceImageReferenceParameters `json:"sourceImageReference,omitempty" tf:"source_image_reference,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TerminateNotification []TerminateNotificationParameters `json:"terminateNotification,omitempty" tf:"terminate_notification,omitempty"` + + // +kubebuilder:validation:Optional + UpgradeMode *string `json:"upgradeMode,omitempty" tf:"upgrade_mode,omitempty"` + + // +kubebuilder:validation:Optional + ZoneBalance *bool `json:"zoneBalance,omitempty" tf:"zone_balance,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type VirtualMachineScaleSetPlanObservation struct { +} + +type VirtualMachineScaleSetPlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` +} + +type VirtualMachineScaleSetSecretObservation struct { +} + +type VirtualMachineScaleSetSecretParameters struct { + + // +kubebuilder:validation:Required + Certificate []SecretCertificateParameters `json:"certificate" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` +} + +type VirtualMachineScaleSetSourceImageReferenceObservation struct { +} + +type VirtualMachineScaleSetSourceImageReferenceParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +// VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet +type VirtualMachineScaleSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineScaleSetParameters `json:"forProvider"` +} + +// VirtualMachineScaleSetStatus defines the observed state of VirtualMachineScaleSet. +type VirtualMachineScaleSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineScaleSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineScaleSet is the Schema for the VirtualMachineScaleSets API +// +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,azurejet} +type VirtualMachineScaleSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineScaleSetSpec `json:"spec"` + Status VirtualMachineScaleSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineScaleSetList contains a list of VirtualMachineScaleSets +type VirtualMachineScaleSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachineScaleSet `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachineScaleSet_Kind = "VirtualMachineScaleSet" + VirtualMachineScaleSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachineScaleSet_Kind}.String() + VirtualMachineScaleSet_KindAPIVersion = VirtualMachineScaleSet_Kind + "." + CRDGroupVersion.String() + VirtualMachineScaleSet_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachineScaleSet_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachineScaleSet{}, &VirtualMachineScaleSetList{}) +} diff --git a/apis/local/v1alpha1/zz_generated.deepcopy.go b/apis/local/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..994b1280f --- /dev/null +++ b/apis/local/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,251 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BgpSettingsObservation) DeepCopyInto(out *BgpSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpSettingsObservation. +func (in *BgpSettingsObservation) DeepCopy() *BgpSettingsObservation { + if in == nil { + return nil + } + out := new(BgpSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BgpSettingsParameters) DeepCopyInto(out *BgpSettingsParameters) { + *out = *in + if in.Asn != nil { + in, out := &in.Asn, &out.Asn + *out = new(int64) + **out = **in + } + if in.BgpPeeringAddress != nil { + in, out := &in.BgpPeeringAddress, &out.BgpPeeringAddress + *out = new(string) + **out = **in + } + if in.PeerWeight != nil { + in, out := &in.PeerWeight, &out.PeerWeight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpSettingsParameters. +func (in *BgpSettingsParameters) DeepCopy() *BgpSettingsParameters { + if in == nil { + return nil + } + out := new(BgpSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkGateway) DeepCopyInto(out *NetworkGateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkGateway. +func (in *NetworkGateway) DeepCopy() *NetworkGateway { + if in == nil { + return nil + } + out := new(NetworkGateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkGateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkGatewayList) DeepCopyInto(out *NetworkGatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkGateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkGatewayList. +func (in *NetworkGatewayList) DeepCopy() *NetworkGatewayList { + if in == nil { + return nil + } + out := new(NetworkGatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkGatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkGatewayObservation) DeepCopyInto(out *NetworkGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkGatewayObservation. +func (in *NetworkGatewayObservation) DeepCopy() *NetworkGatewayObservation { + if in == nil { + return nil + } + out := new(NetworkGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkGatewayParameters) DeepCopyInto(out *NetworkGatewayParameters) { + *out = *in + if in.AddressSpace != nil { + in, out := &in.AddressSpace, &out.AddressSpace + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.BgpSettings != nil { + in, out := &in.BgpSettings, &out.BgpSettings + *out = make([]BgpSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GatewayAddress != nil { + in, out := &in.GatewayAddress, &out.GatewayAddress + *out = new(string) + **out = **in + } + if in.GatewayFqdn != nil { + in, out := &in.GatewayFqdn, &out.GatewayFqdn + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkGatewayParameters. +func (in *NetworkGatewayParameters) DeepCopy() *NetworkGatewayParameters { + if in == nil { + return nil + } + out := new(NetworkGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkGatewaySpec) DeepCopyInto(out *NetworkGatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkGatewaySpec. +func (in *NetworkGatewaySpec) DeepCopy() *NetworkGatewaySpec { + if in == nil { + return nil + } + out := new(NetworkGatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkGatewayStatus) DeepCopyInto(out *NetworkGatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkGatewayStatus. +func (in *NetworkGatewayStatus) DeepCopy() *NetworkGatewayStatus { + if in == nil { + return nil + } + out := new(NetworkGatewayStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/local/v1alpha1/zz_generated.managed.go b/apis/local/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..4487ea3ed --- /dev/null +++ b/apis/local/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this NetworkGateway. +func (mg *NetworkGateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NetworkGateway. +func (mg *NetworkGateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NetworkGateway. +func (mg *NetworkGateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NetworkGateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NetworkGateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NetworkGateway. +func (mg *NetworkGateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NetworkGateway. +func (mg *NetworkGateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NetworkGateway. +func (mg *NetworkGateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NetworkGateway. +func (mg *NetworkGateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NetworkGateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NetworkGateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NetworkGateway. +func (mg *NetworkGateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/local/v1alpha1/zz_generated.managedlist.go b/apis/local/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..6ce069ae0 --- /dev/null +++ b/apis/local/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this NetworkGatewayList. +func (l *NetworkGatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/local/v1alpha1/zz_groupversion_info.go b/apis/local/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..fe0027fe3 --- /dev/null +++ b/apis/local/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=local.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "local.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/local/v1alpha1/zz_networkgateway_terraformed.go b/apis/local/v1alpha1/zz_networkgateway_terraformed.go new file mode 100755 index 000000000..8cb55cb8c --- /dev/null +++ b/apis/local/v1alpha1/zz_networkgateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NetworkGateway +func (mg *NetworkGateway) GetTerraformResourceType() string { + return "azurerm_local_network_gateway" +} + +// GetConnectionDetailsMapping for this NetworkGateway +func (tr *NetworkGateway) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NetworkGateway +func (tr *NetworkGateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NetworkGateway +func (tr *NetworkGateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NetworkGateway +func (tr *NetworkGateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NetworkGateway +func (tr *NetworkGateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NetworkGateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NetworkGateway) LateInitialize(attrs []byte) (bool, error) { + params := &NetworkGatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NetworkGateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/local/v1alpha1/zz_networkgateway_types.go b/apis/local/v1alpha1/zz_networkgateway_types.go new file mode 100755 index 000000000..f3dfa1105 --- /dev/null +++ b/apis/local/v1alpha1/zz_networkgateway_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BgpSettingsObservation struct { +} + +type BgpSettingsParameters struct { + + // +kubebuilder:validation:Required + Asn *int64 `json:"asn" tf:"asn,omitempty"` + + // +kubebuilder:validation:Required + BgpPeeringAddress *string `json:"bgpPeeringAddress" tf:"bgp_peering_address,omitempty"` + + // +kubebuilder:validation:Optional + PeerWeight *int64 `json:"peerWeight,omitempty" tf:"peer_weight,omitempty"` +} + +type NetworkGatewayObservation struct { +} + +type NetworkGatewayParameters struct { + + // +kubebuilder:validation:Optional + AddressSpace []*string `json:"addressSpace,omitempty" tf:"address_space,omitempty"` + + // +kubebuilder:validation:Optional + BgpSettings []BgpSettingsParameters `json:"bgpSettings,omitempty" tf:"bgp_settings,omitempty"` + + // +kubebuilder:validation:Optional + GatewayAddress *string `json:"gatewayAddress,omitempty" tf:"gateway_address,omitempty"` + + // +kubebuilder:validation:Optional + GatewayFqdn *string `json:"gatewayFqdn,omitempty" tf:"gateway_fqdn,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// NetworkGatewaySpec defines the desired state of NetworkGateway +type NetworkGatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NetworkGatewayParameters `json:"forProvider"` +} + +// NetworkGatewayStatus defines the observed state of NetworkGateway. +type NetworkGatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NetworkGatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NetworkGateway is the Schema for the NetworkGateways API +// +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,azurejet} +type NetworkGateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NetworkGatewaySpec `json:"spec"` + Status NetworkGatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NetworkGatewayList contains a list of NetworkGateways +type NetworkGatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NetworkGateway `json:"items"` +} + +// Repository type metadata. +var ( + NetworkGateway_Kind = "NetworkGateway" + NetworkGateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NetworkGateway_Kind}.String() + NetworkGateway_KindAPIVersion = NetworkGateway_Kind + "." + CRDGroupVersion.String() + NetworkGateway_GroupVersionKind = CRDGroupVersion.WithKind(NetworkGateway_Kind) +) + +func init() { + SchemeBuilder.Register(&NetworkGateway{}, &NetworkGatewayList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticscluster_terraformed.go b/apis/log/v1alpha1/zz_analyticscluster_terraformed.go new file mode 100755 index 000000000..8df04bcf3 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticscluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsCluster +func (mg *AnalyticsCluster) GetTerraformResourceType() string { + return "azurerm_log_analytics_cluster" +} + +// GetConnectionDetailsMapping for this AnalyticsCluster +func (tr *AnalyticsCluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsCluster +func (tr *AnalyticsCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsCluster +func (tr *AnalyticsCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsCluster +func (tr *AnalyticsCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsCluster +func (tr *AnalyticsCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsCluster) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticscluster_types.go b/apis/log/v1alpha1/zz_analyticscluster_types.go new file mode 100755 index 000000000..11586dbda --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticscluster_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsClusterObservation struct { + ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"` +} + +type AnalyticsClusterParameters struct { + + // +kubebuilder:validation:Required + Identity []IdentityParameters `json:"identity" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SizeGb *int64 `json:"sizeGb,omitempty" tf:"size_gb,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsClusterSpec defines the desired state of AnalyticsCluster +type AnalyticsClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsClusterParameters `json:"forProvider"` +} + +// AnalyticsClusterStatus defines the observed state of AnalyticsCluster. +type AnalyticsClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsCluster is the Schema for the AnalyticsClusters API +// +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,azurejet} +type AnalyticsCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsClusterSpec `json:"spec"` + Status AnalyticsClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsClusterList contains a list of AnalyticsClusters +type AnalyticsClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsCluster `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsCluster_Kind = "AnalyticsCluster" + AnalyticsCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsCluster_Kind}.String() + AnalyticsCluster_KindAPIVersion = AnalyticsCluster_Kind + "." + CRDGroupVersion.String() + AnalyticsCluster_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsCluster{}, &AnalyticsClusterList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticsclustercustomermanagedkey_terraformed.go b/apis/log/v1alpha1/zz_analyticsclustercustomermanagedkey_terraformed.go new file mode 100755 index 000000000..3f61d2fe6 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsclustercustomermanagedkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsClusterCustomerManagedKey +func (mg *AnalyticsClusterCustomerManagedKey) GetTerraformResourceType() string { + return "azurerm_log_analytics_cluster_customer_managed_key" +} + +// GetConnectionDetailsMapping for this AnalyticsClusterCustomerManagedKey +func (tr *AnalyticsClusterCustomerManagedKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsClusterCustomerManagedKey +func (tr *AnalyticsClusterCustomerManagedKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsClusterCustomerManagedKey +func (tr *AnalyticsClusterCustomerManagedKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsClusterCustomerManagedKey +func (tr *AnalyticsClusterCustomerManagedKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsClusterCustomerManagedKey +func (tr *AnalyticsClusterCustomerManagedKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsClusterCustomerManagedKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsClusterCustomerManagedKey) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsClusterCustomerManagedKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsClusterCustomerManagedKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticsclustercustomermanagedkey_types.go b/apis/log/v1alpha1/zz_analyticsclustercustomermanagedkey_types.go new file mode 100755 index 000000000..bd9f5ed29 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsclustercustomermanagedkey_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsClusterCustomerManagedKeyObservation struct { +} + +type AnalyticsClusterCustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Required + KeyVaultKeyID *string `json:"keyVaultKeyId" tf:"key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsClusterID *string `json:"logAnalyticsClusterId" tf:"log_analytics_cluster_id,omitempty"` +} + +// AnalyticsClusterCustomerManagedKeySpec defines the desired state of AnalyticsClusterCustomerManagedKey +type AnalyticsClusterCustomerManagedKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsClusterCustomerManagedKeyParameters `json:"forProvider"` +} + +// AnalyticsClusterCustomerManagedKeyStatus defines the observed state of AnalyticsClusterCustomerManagedKey. +type AnalyticsClusterCustomerManagedKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsClusterCustomerManagedKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsClusterCustomerManagedKey is the Schema for the AnalyticsClusterCustomerManagedKeys API +// +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,azurejet} +type AnalyticsClusterCustomerManagedKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsClusterCustomerManagedKeySpec `json:"spec"` + Status AnalyticsClusterCustomerManagedKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsClusterCustomerManagedKeyList contains a list of AnalyticsClusterCustomerManagedKeys +type AnalyticsClusterCustomerManagedKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsClusterCustomerManagedKey `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsClusterCustomerManagedKey_Kind = "AnalyticsClusterCustomerManagedKey" + AnalyticsClusterCustomerManagedKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsClusterCustomerManagedKey_Kind}.String() + AnalyticsClusterCustomerManagedKey_KindAPIVersion = AnalyticsClusterCustomerManagedKey_Kind + "." + CRDGroupVersion.String() + AnalyticsClusterCustomerManagedKey_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsClusterCustomerManagedKey_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsClusterCustomerManagedKey{}, &AnalyticsClusterCustomerManagedKeyList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticsdataexportrule_terraformed.go b/apis/log/v1alpha1/zz_analyticsdataexportrule_terraformed.go new file mode 100755 index 000000000..d8b1e0562 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsdataexportrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsDataExportRule +func (mg *AnalyticsDataExportRule) GetTerraformResourceType() string { + return "azurerm_log_analytics_data_export_rule" +} + +// GetConnectionDetailsMapping for this AnalyticsDataExportRule +func (tr *AnalyticsDataExportRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsDataExportRule +func (tr *AnalyticsDataExportRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsDataExportRule +func (tr *AnalyticsDataExportRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsDataExportRule +func (tr *AnalyticsDataExportRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsDataExportRule +func (tr *AnalyticsDataExportRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsDataExportRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsDataExportRule) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsDataExportRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsDataExportRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticsdataexportrule_types.go b/apis/log/v1alpha1/zz_analyticsdataexportrule_types.go new file mode 100755 index 000000000..5093fdead --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsdataexportrule_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsDataExportRuleObservation struct { + ExportRuleID *string `json:"exportRuleId,omitempty" tf:"export_rule_id,omitempty"` +} + +type AnalyticsDataExportRuleParameters struct { + + // +kubebuilder:validation:Required + DestinationResourceID *string `json:"destinationResourceId" tf:"destination_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TableNames []*string `json:"tableNames" tf:"table_names,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceResourceID *string `json:"workspaceResourceId" tf:"workspace_resource_id,omitempty"` +} + +// AnalyticsDataExportRuleSpec defines the desired state of AnalyticsDataExportRule +type AnalyticsDataExportRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsDataExportRuleParameters `json:"forProvider"` +} + +// AnalyticsDataExportRuleStatus defines the observed state of AnalyticsDataExportRule. +type AnalyticsDataExportRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsDataExportRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsDataExportRule is the Schema for the AnalyticsDataExportRules API +// +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,azurejet} +type AnalyticsDataExportRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsDataExportRuleSpec `json:"spec"` + Status AnalyticsDataExportRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsDataExportRuleList contains a list of AnalyticsDataExportRules +type AnalyticsDataExportRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsDataExportRule `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsDataExportRule_Kind = "AnalyticsDataExportRule" + AnalyticsDataExportRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsDataExportRule_Kind}.String() + AnalyticsDataExportRule_KindAPIVersion = AnalyticsDataExportRule_Kind + "." + CRDGroupVersion.String() + AnalyticsDataExportRule_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsDataExportRule_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsDataExportRule{}, &AnalyticsDataExportRuleList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticsdatasourcewindowsevent_terraformed.go b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsevent_terraformed.go new file mode 100755 index 000000000..bb07c01ab --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsevent_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsDatasourceWindowsEvent +func (mg *AnalyticsDatasourceWindowsEvent) GetTerraformResourceType() string { + return "azurerm_log_analytics_datasource_windows_event" +} + +// GetConnectionDetailsMapping for this AnalyticsDatasourceWindowsEvent +func (tr *AnalyticsDatasourceWindowsEvent) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsDatasourceWindowsEvent +func (tr *AnalyticsDatasourceWindowsEvent) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsDatasourceWindowsEvent +func (tr *AnalyticsDatasourceWindowsEvent) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsDatasourceWindowsEvent +func (tr *AnalyticsDatasourceWindowsEvent) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsDatasourceWindowsEvent +func (tr *AnalyticsDatasourceWindowsEvent) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsDatasourceWindowsEvent using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsDatasourceWindowsEvent) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsDatasourceWindowsEventParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsDatasourceWindowsEvent) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticsdatasourcewindowsevent_types.go b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsevent_types.go new file mode 100755 index 000000000..75f415dae --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsevent_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsDatasourceWindowsEventObservation struct { +} + +type AnalyticsDatasourceWindowsEventParameters struct { + + // +kubebuilder:validation:Required + EventLogName *string `json:"eventLogName" tf:"event_log_name,omitempty"` + + // +kubebuilder:validation:Required + EventTypes []*string `json:"eventTypes" tf:"event_types,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceName *string `json:"workspaceName" tf:"workspace_name,omitempty"` +} + +// AnalyticsDatasourceWindowsEventSpec defines the desired state of AnalyticsDatasourceWindowsEvent +type AnalyticsDatasourceWindowsEventSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsDatasourceWindowsEventParameters `json:"forProvider"` +} + +// AnalyticsDatasourceWindowsEventStatus defines the observed state of AnalyticsDatasourceWindowsEvent. +type AnalyticsDatasourceWindowsEventStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsDatasourceWindowsEventObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsDatasourceWindowsEvent is the Schema for the AnalyticsDatasourceWindowsEvents API +// +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,azurejet} +type AnalyticsDatasourceWindowsEvent struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsDatasourceWindowsEventSpec `json:"spec"` + Status AnalyticsDatasourceWindowsEventStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsDatasourceWindowsEventList contains a list of AnalyticsDatasourceWindowsEvents +type AnalyticsDatasourceWindowsEventList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsDatasourceWindowsEvent `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsDatasourceWindowsEvent_Kind = "AnalyticsDatasourceWindowsEvent" + AnalyticsDatasourceWindowsEvent_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsDatasourceWindowsEvent_Kind}.String() + AnalyticsDatasourceWindowsEvent_KindAPIVersion = AnalyticsDatasourceWindowsEvent_Kind + "." + CRDGroupVersion.String() + AnalyticsDatasourceWindowsEvent_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsDatasourceWindowsEvent_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsDatasourceWindowsEvent{}, &AnalyticsDatasourceWindowsEventList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticsdatasourcewindowsperformancecounter_terraformed.go b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsperformancecounter_terraformed.go new file mode 100755 index 000000000..372601dec --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsperformancecounter_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsDatasourceWindowsPerformanceCounter +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) GetTerraformResourceType() string { + return "azurerm_log_analytics_datasource_windows_performance_counter" +} + +// GetConnectionDetailsMapping for this AnalyticsDatasourceWindowsPerformanceCounter +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsDatasourceWindowsPerformanceCounter +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsDatasourceWindowsPerformanceCounter +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsDatasourceWindowsPerformanceCounter +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsDatasourceWindowsPerformanceCounter +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsDatasourceWindowsPerformanceCounter using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsDatasourceWindowsPerformanceCounterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsDatasourceWindowsPerformanceCounter) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticsdatasourcewindowsperformancecounter_types.go b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsperformancecounter_types.go new file mode 100755 index 000000000..3b9d0dba4 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticsdatasourcewindowsperformancecounter_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsDatasourceWindowsPerformanceCounterObservation struct { +} + +type AnalyticsDatasourceWindowsPerformanceCounterParameters struct { + + // +kubebuilder:validation:Required + CounterName *string `json:"counterName" tf:"counter_name,omitempty"` + + // +kubebuilder:validation:Required + InstanceName *string `json:"instanceName" tf:"instance_name,omitempty"` + + // +kubebuilder:validation:Required + IntervalSeconds *int64 `json:"intervalSeconds" tf:"interval_seconds,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ObjectName *string `json:"objectName" tf:"object_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceName *string `json:"workspaceName" tf:"workspace_name,omitempty"` +} + +// AnalyticsDatasourceWindowsPerformanceCounterSpec defines the desired state of AnalyticsDatasourceWindowsPerformanceCounter +type AnalyticsDatasourceWindowsPerformanceCounterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsDatasourceWindowsPerformanceCounterParameters `json:"forProvider"` +} + +// AnalyticsDatasourceWindowsPerformanceCounterStatus defines the observed state of AnalyticsDatasourceWindowsPerformanceCounter. +type AnalyticsDatasourceWindowsPerformanceCounterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsDatasourceWindowsPerformanceCounterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsDatasourceWindowsPerformanceCounter is the Schema for the AnalyticsDatasourceWindowsPerformanceCounters API +// +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,azurejet} +type AnalyticsDatasourceWindowsPerformanceCounter struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsDatasourceWindowsPerformanceCounterSpec `json:"spec"` + Status AnalyticsDatasourceWindowsPerformanceCounterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsDatasourceWindowsPerformanceCounterList contains a list of AnalyticsDatasourceWindowsPerformanceCounters +type AnalyticsDatasourceWindowsPerformanceCounterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsDatasourceWindowsPerformanceCounter `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsDatasourceWindowsPerformanceCounter_Kind = "AnalyticsDatasourceWindowsPerformanceCounter" + AnalyticsDatasourceWindowsPerformanceCounter_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsDatasourceWindowsPerformanceCounter_Kind}.String() + AnalyticsDatasourceWindowsPerformanceCounter_KindAPIVersion = AnalyticsDatasourceWindowsPerformanceCounter_Kind + "." + CRDGroupVersion.String() + AnalyticsDatasourceWindowsPerformanceCounter_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsDatasourceWindowsPerformanceCounter_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsDatasourceWindowsPerformanceCounter{}, &AnalyticsDatasourceWindowsPerformanceCounterList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticslinkedservice_terraformed.go b/apis/log/v1alpha1/zz_analyticslinkedservice_terraformed.go new file mode 100755 index 000000000..ee66b1582 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticslinkedservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsLinkedService +func (mg *AnalyticsLinkedService) GetTerraformResourceType() string { + return "azurerm_log_analytics_linked_service" +} + +// GetConnectionDetailsMapping for this AnalyticsLinkedService +func (tr *AnalyticsLinkedService) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsLinkedService +func (tr *AnalyticsLinkedService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsLinkedService +func (tr *AnalyticsLinkedService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsLinkedService +func (tr *AnalyticsLinkedService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsLinkedService +func (tr *AnalyticsLinkedService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsLinkedService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsLinkedService) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsLinkedServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsLinkedService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticslinkedservice_types.go b/apis/log/v1alpha1/zz_analyticslinkedservice_types.go new file mode 100755 index 000000000..1d12b7fd6 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticslinkedservice_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsLinkedServiceObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type AnalyticsLinkedServiceParameters struct { + + // +kubebuilder:validation:Optional + LinkedServiceName *string `json:"linkedServiceName,omitempty" tf:"linked_service_name,omitempty"` + + // +kubebuilder:validation:Optional + ReadAccessID *string `json:"readAccessId,omitempty" tf:"read_access_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + WorkspaceName *string `json:"workspaceName,omitempty" tf:"workspace_name,omitempty"` + + // +kubebuilder:validation:Optional + WriteAccessID *string `json:"writeAccessId,omitempty" tf:"write_access_id,omitempty"` +} + +// AnalyticsLinkedServiceSpec defines the desired state of AnalyticsLinkedService +type AnalyticsLinkedServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsLinkedServiceParameters `json:"forProvider"` +} + +// AnalyticsLinkedServiceStatus defines the observed state of AnalyticsLinkedService. +type AnalyticsLinkedServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsLinkedServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsLinkedService is the Schema for the AnalyticsLinkedServices API +// +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,azurejet} +type AnalyticsLinkedService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsLinkedServiceSpec `json:"spec"` + Status AnalyticsLinkedServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsLinkedServiceList contains a list of AnalyticsLinkedServices +type AnalyticsLinkedServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsLinkedService `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsLinkedService_Kind = "AnalyticsLinkedService" + AnalyticsLinkedService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsLinkedService_Kind}.String() + AnalyticsLinkedService_KindAPIVersion = AnalyticsLinkedService_Kind + "." + CRDGroupVersion.String() + AnalyticsLinkedService_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsLinkedService_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsLinkedService{}, &AnalyticsLinkedServiceList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticslinkedstorageaccount_terraformed.go b/apis/log/v1alpha1/zz_analyticslinkedstorageaccount_terraformed.go new file mode 100755 index 000000000..0954914b7 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticslinkedstorageaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsLinkedStorageAccount +func (mg *AnalyticsLinkedStorageAccount) GetTerraformResourceType() string { + return "azurerm_log_analytics_linked_storage_account" +} + +// GetConnectionDetailsMapping for this AnalyticsLinkedStorageAccount +func (tr *AnalyticsLinkedStorageAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsLinkedStorageAccount +func (tr *AnalyticsLinkedStorageAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsLinkedStorageAccount +func (tr *AnalyticsLinkedStorageAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsLinkedStorageAccount +func (tr *AnalyticsLinkedStorageAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsLinkedStorageAccount +func (tr *AnalyticsLinkedStorageAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsLinkedStorageAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsLinkedStorageAccount) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsLinkedStorageAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsLinkedStorageAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticslinkedstorageaccount_types.go b/apis/log/v1alpha1/zz_analyticslinkedstorageaccount_types.go new file mode 100755 index 000000000..bb8f3cee2 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticslinkedstorageaccount_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsLinkedStorageAccountObservation struct { +} + +type AnalyticsLinkedStorageAccountParameters struct { + + // +kubebuilder:validation:Required + DataSourceType *string `json:"dataSourceType" tf:"data_source_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountIds []*string `json:"storageAccountIds" tf:"storage_account_ids,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceResourceID *string `json:"workspaceResourceId" tf:"workspace_resource_id,omitempty"` +} + +// AnalyticsLinkedStorageAccountSpec defines the desired state of AnalyticsLinkedStorageAccount +type AnalyticsLinkedStorageAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsLinkedStorageAccountParameters `json:"forProvider"` +} + +// AnalyticsLinkedStorageAccountStatus defines the observed state of AnalyticsLinkedStorageAccount. +type AnalyticsLinkedStorageAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsLinkedStorageAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsLinkedStorageAccount is the Schema for the AnalyticsLinkedStorageAccounts API +// +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,azurejet} +type AnalyticsLinkedStorageAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsLinkedStorageAccountSpec `json:"spec"` + Status AnalyticsLinkedStorageAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsLinkedStorageAccountList contains a list of AnalyticsLinkedStorageAccounts +type AnalyticsLinkedStorageAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsLinkedStorageAccount `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsLinkedStorageAccount_Kind = "AnalyticsLinkedStorageAccount" + AnalyticsLinkedStorageAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsLinkedStorageAccount_Kind}.String() + AnalyticsLinkedStorageAccount_KindAPIVersion = AnalyticsLinkedStorageAccount_Kind + "." + CRDGroupVersion.String() + AnalyticsLinkedStorageAccount_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsLinkedStorageAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsLinkedStorageAccount{}, &AnalyticsLinkedStorageAccountList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticssavedsearch_terraformed.go b/apis/log/v1alpha1/zz_analyticssavedsearch_terraformed.go new file mode 100755 index 000000000..43de49cd5 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticssavedsearch_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsSavedSearch +func (mg *AnalyticsSavedSearch) GetTerraformResourceType() string { + return "azurerm_log_analytics_saved_search" +} + +// GetConnectionDetailsMapping for this AnalyticsSavedSearch +func (tr *AnalyticsSavedSearch) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsSavedSearch +func (tr *AnalyticsSavedSearch) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsSavedSearch +func (tr *AnalyticsSavedSearch) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsSavedSearch +func (tr *AnalyticsSavedSearch) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsSavedSearch +func (tr *AnalyticsSavedSearch) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsSavedSearch using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsSavedSearch) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsSavedSearchParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsSavedSearch) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticssavedsearch_types.go b/apis/log/v1alpha1/zz_analyticssavedsearch_types.go new file mode 100755 index 000000000..b0d090af2 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticssavedsearch_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsSavedSearchObservation struct { +} + +type AnalyticsSavedSearchParameters struct { + + // +kubebuilder:validation:Required + Category *string `json:"category" tf:"category,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + FunctionAlias *string `json:"functionAlias,omitempty" tf:"function_alias,omitempty"` + + // +kubebuilder:validation:Optional + FunctionParameters []*string `json:"functionParameters,omitempty" tf:"function_parameters,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Query *string `json:"query" tf:"query,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AnalyticsSavedSearchSpec defines the desired state of AnalyticsSavedSearch +type AnalyticsSavedSearchSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsSavedSearchParameters `json:"forProvider"` +} + +// AnalyticsSavedSearchStatus defines the observed state of AnalyticsSavedSearch. +type AnalyticsSavedSearchStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsSavedSearchObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsSavedSearch is the Schema for the AnalyticsSavedSearchs API +// +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,azurejet} +type AnalyticsSavedSearch struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsSavedSearchSpec `json:"spec"` + Status AnalyticsSavedSearchStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsSavedSearchList contains a list of AnalyticsSavedSearchs +type AnalyticsSavedSearchList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsSavedSearch `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsSavedSearch_Kind = "AnalyticsSavedSearch" + AnalyticsSavedSearch_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsSavedSearch_Kind}.String() + AnalyticsSavedSearch_KindAPIVersion = AnalyticsSavedSearch_Kind + "." + CRDGroupVersion.String() + AnalyticsSavedSearch_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsSavedSearch_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsSavedSearch{}, &AnalyticsSavedSearchList{}) +} diff --git a/apis/log/v1alpha1/zz_analyticssolution_terraformed.go b/apis/log/v1alpha1/zz_analyticssolution_terraformed.go new file mode 100755 index 000000000..bbac2b11e --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticssolution_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsSolution +func (mg *AnalyticsSolution) GetTerraformResourceType() string { + return "azurerm_log_analytics_solution" +} + +// GetConnectionDetailsMapping for this AnalyticsSolution +func (tr *AnalyticsSolution) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsSolution +func (tr *AnalyticsSolution) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsSolution +func (tr *AnalyticsSolution) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsSolution +func (tr *AnalyticsSolution) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsSolution +func (tr *AnalyticsSolution) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsSolution using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsSolution) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsSolutionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsSolution) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/log/v1alpha1/zz_analyticssolution_types.go b/apis/log/v1alpha1/zz_analyticssolution_types.go new file mode 100755 index 000000000..b8f7464e2 --- /dev/null +++ b/apis/log/v1alpha1/zz_analyticssolution_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsSolutionObservation struct { +} + +type AnalyticsSolutionParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Plan []PlanParameters `json:"plan" tf:"plan,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SolutionName *string `json:"solutionName" tf:"solution_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceName *string `json:"workspaceName" tf:"workspace_name,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceResourceID *string `json:"workspaceResourceId" tf:"workspace_resource_id,omitempty"` +} + +type PlanObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type PlanParameters struct { + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Optional + PromotionCode *string `json:"promotionCode,omitempty" tf:"promotion_code,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` +} + +// AnalyticsSolutionSpec defines the desired state of AnalyticsSolution +type AnalyticsSolutionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsSolutionParameters `json:"forProvider"` +} + +// AnalyticsSolutionStatus defines the observed state of AnalyticsSolution. +type AnalyticsSolutionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsSolutionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsSolution is the Schema for the AnalyticsSolutions API +// +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,azurejet} +type AnalyticsSolution struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsSolutionSpec `json:"spec"` + Status AnalyticsSolutionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsSolutionList contains a list of AnalyticsSolutions +type AnalyticsSolutionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsSolution `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsSolution_Kind = "AnalyticsSolution" + AnalyticsSolution_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsSolution_Kind}.String() + AnalyticsSolution_KindAPIVersion = AnalyticsSolution_Kind + "." + CRDGroupVersion.String() + AnalyticsSolution_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsSolution_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsSolution{}, &AnalyticsSolutionList{}) +} diff --git a/apis/log/v1alpha1/zz_generated.deepcopy.go b/apis/log/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..9dd221b42 --- /dev/null +++ b/apis/log/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1575 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsCluster) DeepCopyInto(out *AnalyticsCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsCluster. +func (in *AnalyticsCluster) DeepCopy() *AnalyticsCluster { + if in == nil { + return nil + } + out := new(AnalyticsCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterCustomerManagedKey) DeepCopyInto(out *AnalyticsClusterCustomerManagedKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterCustomerManagedKey. +func (in *AnalyticsClusterCustomerManagedKey) DeepCopy() *AnalyticsClusterCustomerManagedKey { + if in == nil { + return nil + } + out := new(AnalyticsClusterCustomerManagedKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsClusterCustomerManagedKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterCustomerManagedKeyList) DeepCopyInto(out *AnalyticsClusterCustomerManagedKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsClusterCustomerManagedKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterCustomerManagedKeyList. +func (in *AnalyticsClusterCustomerManagedKeyList) DeepCopy() *AnalyticsClusterCustomerManagedKeyList { + if in == nil { + return nil + } + out := new(AnalyticsClusterCustomerManagedKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsClusterCustomerManagedKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterCustomerManagedKeyObservation) DeepCopyInto(out *AnalyticsClusterCustomerManagedKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterCustomerManagedKeyObservation. +func (in *AnalyticsClusterCustomerManagedKeyObservation) DeepCopy() *AnalyticsClusterCustomerManagedKeyObservation { + if in == nil { + return nil + } + out := new(AnalyticsClusterCustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterCustomerManagedKeyParameters) DeepCopyInto(out *AnalyticsClusterCustomerManagedKeyParameters) { + *out = *in + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } + if in.LogAnalyticsClusterID != nil { + in, out := &in.LogAnalyticsClusterID, &out.LogAnalyticsClusterID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterCustomerManagedKeyParameters. +func (in *AnalyticsClusterCustomerManagedKeyParameters) DeepCopy() *AnalyticsClusterCustomerManagedKeyParameters { + if in == nil { + return nil + } + out := new(AnalyticsClusterCustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterCustomerManagedKeySpec) DeepCopyInto(out *AnalyticsClusterCustomerManagedKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterCustomerManagedKeySpec. +func (in *AnalyticsClusterCustomerManagedKeySpec) DeepCopy() *AnalyticsClusterCustomerManagedKeySpec { + if in == nil { + return nil + } + out := new(AnalyticsClusterCustomerManagedKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterCustomerManagedKeyStatus) DeepCopyInto(out *AnalyticsClusterCustomerManagedKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterCustomerManagedKeyStatus. +func (in *AnalyticsClusterCustomerManagedKeyStatus) DeepCopy() *AnalyticsClusterCustomerManagedKeyStatus { + if in == nil { + return nil + } + out := new(AnalyticsClusterCustomerManagedKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterList) DeepCopyInto(out *AnalyticsClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterList. +func (in *AnalyticsClusterList) DeepCopy() *AnalyticsClusterList { + if in == nil { + return nil + } + out := new(AnalyticsClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterObservation) DeepCopyInto(out *AnalyticsClusterObservation) { + *out = *in + if in.ClusterID != nil { + in, out := &in.ClusterID, &out.ClusterID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterObservation. +func (in *AnalyticsClusterObservation) DeepCopy() *AnalyticsClusterObservation { + if in == nil { + return nil + } + out := new(AnalyticsClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterParameters) DeepCopyInto(out *AnalyticsClusterParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SizeGb != nil { + in, out := &in.SizeGb, &out.SizeGb + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterParameters. +func (in *AnalyticsClusterParameters) DeepCopy() *AnalyticsClusterParameters { + if in == nil { + return nil + } + out := new(AnalyticsClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterSpec) DeepCopyInto(out *AnalyticsClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterSpec. +func (in *AnalyticsClusterSpec) DeepCopy() *AnalyticsClusterSpec { + if in == nil { + return nil + } + out := new(AnalyticsClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsClusterStatus) DeepCopyInto(out *AnalyticsClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsClusterStatus. +func (in *AnalyticsClusterStatus) DeepCopy() *AnalyticsClusterStatus { + if in == nil { + return nil + } + out := new(AnalyticsClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDataExportRule) DeepCopyInto(out *AnalyticsDataExportRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDataExportRule. +func (in *AnalyticsDataExportRule) DeepCopy() *AnalyticsDataExportRule { + if in == nil { + return nil + } + out := new(AnalyticsDataExportRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsDataExportRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDataExportRuleList) DeepCopyInto(out *AnalyticsDataExportRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsDataExportRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDataExportRuleList. +func (in *AnalyticsDataExportRuleList) DeepCopy() *AnalyticsDataExportRuleList { + if in == nil { + return nil + } + out := new(AnalyticsDataExportRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsDataExportRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDataExportRuleObservation) DeepCopyInto(out *AnalyticsDataExportRuleObservation) { + *out = *in + if in.ExportRuleID != nil { + in, out := &in.ExportRuleID, &out.ExportRuleID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDataExportRuleObservation. +func (in *AnalyticsDataExportRuleObservation) DeepCopy() *AnalyticsDataExportRuleObservation { + if in == nil { + return nil + } + out := new(AnalyticsDataExportRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDataExportRuleParameters) DeepCopyInto(out *AnalyticsDataExportRuleParameters) { + *out = *in + if in.DestinationResourceID != nil { + in, out := &in.DestinationResourceID, &out.DestinationResourceID + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TableNames != nil { + in, out := &in.TableNames, &out.TableNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WorkspaceResourceID != nil { + in, out := &in.WorkspaceResourceID, &out.WorkspaceResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDataExportRuleParameters. +func (in *AnalyticsDataExportRuleParameters) DeepCopy() *AnalyticsDataExportRuleParameters { + if in == nil { + return nil + } + out := new(AnalyticsDataExportRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDataExportRuleSpec) DeepCopyInto(out *AnalyticsDataExportRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDataExportRuleSpec. +func (in *AnalyticsDataExportRuleSpec) DeepCopy() *AnalyticsDataExportRuleSpec { + if in == nil { + return nil + } + out := new(AnalyticsDataExportRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDataExportRuleStatus) DeepCopyInto(out *AnalyticsDataExportRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDataExportRuleStatus. +func (in *AnalyticsDataExportRuleStatus) DeepCopy() *AnalyticsDataExportRuleStatus { + if in == nil { + return nil + } + out := new(AnalyticsDataExportRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsEvent) DeepCopyInto(out *AnalyticsDatasourceWindowsEvent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsEvent. +func (in *AnalyticsDatasourceWindowsEvent) DeepCopy() *AnalyticsDatasourceWindowsEvent { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsEvent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsDatasourceWindowsEvent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsEventList) DeepCopyInto(out *AnalyticsDatasourceWindowsEventList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsDatasourceWindowsEvent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsEventList. +func (in *AnalyticsDatasourceWindowsEventList) DeepCopy() *AnalyticsDatasourceWindowsEventList { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsEventList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsDatasourceWindowsEventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsEventObservation) DeepCopyInto(out *AnalyticsDatasourceWindowsEventObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsEventObservation. +func (in *AnalyticsDatasourceWindowsEventObservation) DeepCopy() *AnalyticsDatasourceWindowsEventObservation { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsEventObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsEventParameters) DeepCopyInto(out *AnalyticsDatasourceWindowsEventParameters) { + *out = *in + if in.EventLogName != nil { + in, out := &in.EventLogName, &out.EventLogName + *out = new(string) + **out = **in + } + if in.EventTypes != nil { + in, out := &in.EventTypes, &out.EventTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.WorkspaceName != nil { + in, out := &in.WorkspaceName, &out.WorkspaceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsEventParameters. +func (in *AnalyticsDatasourceWindowsEventParameters) DeepCopy() *AnalyticsDatasourceWindowsEventParameters { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsEventParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsEventSpec) DeepCopyInto(out *AnalyticsDatasourceWindowsEventSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsEventSpec. +func (in *AnalyticsDatasourceWindowsEventSpec) DeepCopy() *AnalyticsDatasourceWindowsEventSpec { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsEventSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsEventStatus) DeepCopyInto(out *AnalyticsDatasourceWindowsEventStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsEventStatus. +func (in *AnalyticsDatasourceWindowsEventStatus) DeepCopy() *AnalyticsDatasourceWindowsEventStatus { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsEventStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsPerformanceCounter) DeepCopyInto(out *AnalyticsDatasourceWindowsPerformanceCounter) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsPerformanceCounter. +func (in *AnalyticsDatasourceWindowsPerformanceCounter) DeepCopy() *AnalyticsDatasourceWindowsPerformanceCounter { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsPerformanceCounter) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsDatasourceWindowsPerformanceCounter) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsPerformanceCounterList) DeepCopyInto(out *AnalyticsDatasourceWindowsPerformanceCounterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsDatasourceWindowsPerformanceCounter, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsPerformanceCounterList. +func (in *AnalyticsDatasourceWindowsPerformanceCounterList) DeepCopy() *AnalyticsDatasourceWindowsPerformanceCounterList { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsPerformanceCounterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsDatasourceWindowsPerformanceCounterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsPerformanceCounterObservation) DeepCopyInto(out *AnalyticsDatasourceWindowsPerformanceCounterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsPerformanceCounterObservation. +func (in *AnalyticsDatasourceWindowsPerformanceCounterObservation) DeepCopy() *AnalyticsDatasourceWindowsPerformanceCounterObservation { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsPerformanceCounterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsPerformanceCounterParameters) DeepCopyInto(out *AnalyticsDatasourceWindowsPerformanceCounterParameters) { + *out = *in + if in.CounterName != nil { + in, out := &in.CounterName, &out.CounterName + *out = new(string) + **out = **in + } + if in.InstanceName != nil { + in, out := &in.InstanceName, &out.InstanceName + *out = new(string) + **out = **in + } + if in.IntervalSeconds != nil { + in, out := &in.IntervalSeconds, &out.IntervalSeconds + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ObjectName != nil { + in, out := &in.ObjectName, &out.ObjectName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.WorkspaceName != nil { + in, out := &in.WorkspaceName, &out.WorkspaceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsPerformanceCounterParameters. +func (in *AnalyticsDatasourceWindowsPerformanceCounterParameters) DeepCopy() *AnalyticsDatasourceWindowsPerformanceCounterParameters { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsPerformanceCounterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsPerformanceCounterSpec) DeepCopyInto(out *AnalyticsDatasourceWindowsPerformanceCounterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsPerformanceCounterSpec. +func (in *AnalyticsDatasourceWindowsPerformanceCounterSpec) DeepCopy() *AnalyticsDatasourceWindowsPerformanceCounterSpec { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsPerformanceCounterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsDatasourceWindowsPerformanceCounterStatus) DeepCopyInto(out *AnalyticsDatasourceWindowsPerformanceCounterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsDatasourceWindowsPerformanceCounterStatus. +func (in *AnalyticsDatasourceWindowsPerformanceCounterStatus) DeepCopy() *AnalyticsDatasourceWindowsPerformanceCounterStatus { + if in == nil { + return nil + } + out := new(AnalyticsDatasourceWindowsPerformanceCounterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedService) DeepCopyInto(out *AnalyticsLinkedService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedService. +func (in *AnalyticsLinkedService) DeepCopy() *AnalyticsLinkedService { + if in == nil { + return nil + } + out := new(AnalyticsLinkedService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsLinkedService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedServiceList) DeepCopyInto(out *AnalyticsLinkedServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsLinkedService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedServiceList. +func (in *AnalyticsLinkedServiceList) DeepCopy() *AnalyticsLinkedServiceList { + if in == nil { + return nil + } + out := new(AnalyticsLinkedServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsLinkedServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedServiceObservation) DeepCopyInto(out *AnalyticsLinkedServiceObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedServiceObservation. +func (in *AnalyticsLinkedServiceObservation) DeepCopy() *AnalyticsLinkedServiceObservation { + if in == nil { + return nil + } + out := new(AnalyticsLinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedServiceParameters) DeepCopyInto(out *AnalyticsLinkedServiceParameters) { + *out = *in + if in.LinkedServiceName != nil { + in, out := &in.LinkedServiceName, &out.LinkedServiceName + *out = new(string) + **out = **in + } + if in.ReadAccessID != nil { + in, out := &in.ReadAccessID, &out.ReadAccessID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceName != nil { + in, out := &in.WorkspaceName, &out.WorkspaceName + *out = new(string) + **out = **in + } + if in.WriteAccessID != nil { + in, out := &in.WriteAccessID, &out.WriteAccessID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedServiceParameters. +func (in *AnalyticsLinkedServiceParameters) DeepCopy() *AnalyticsLinkedServiceParameters { + if in == nil { + return nil + } + out := new(AnalyticsLinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedServiceSpec) DeepCopyInto(out *AnalyticsLinkedServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedServiceSpec. +func (in *AnalyticsLinkedServiceSpec) DeepCopy() *AnalyticsLinkedServiceSpec { + if in == nil { + return nil + } + out := new(AnalyticsLinkedServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedServiceStatus) DeepCopyInto(out *AnalyticsLinkedServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedServiceStatus. +func (in *AnalyticsLinkedServiceStatus) DeepCopy() *AnalyticsLinkedServiceStatus { + if in == nil { + return nil + } + out := new(AnalyticsLinkedServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedStorageAccount) DeepCopyInto(out *AnalyticsLinkedStorageAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedStorageAccount. +func (in *AnalyticsLinkedStorageAccount) DeepCopy() *AnalyticsLinkedStorageAccount { + if in == nil { + return nil + } + out := new(AnalyticsLinkedStorageAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsLinkedStorageAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedStorageAccountList) DeepCopyInto(out *AnalyticsLinkedStorageAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsLinkedStorageAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedStorageAccountList. +func (in *AnalyticsLinkedStorageAccountList) DeepCopy() *AnalyticsLinkedStorageAccountList { + if in == nil { + return nil + } + out := new(AnalyticsLinkedStorageAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsLinkedStorageAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedStorageAccountObservation) DeepCopyInto(out *AnalyticsLinkedStorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedStorageAccountObservation. +func (in *AnalyticsLinkedStorageAccountObservation) DeepCopy() *AnalyticsLinkedStorageAccountObservation { + if in == nil { + return nil + } + out := new(AnalyticsLinkedStorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedStorageAccountParameters) DeepCopyInto(out *AnalyticsLinkedStorageAccountParameters) { + *out = *in + if in.DataSourceType != nil { + in, out := &in.DataSourceType, &out.DataSourceType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccountIds != nil { + in, out := &in.StorageAccountIds, &out.StorageAccountIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WorkspaceResourceID != nil { + in, out := &in.WorkspaceResourceID, &out.WorkspaceResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedStorageAccountParameters. +func (in *AnalyticsLinkedStorageAccountParameters) DeepCopy() *AnalyticsLinkedStorageAccountParameters { + if in == nil { + return nil + } + out := new(AnalyticsLinkedStorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedStorageAccountSpec) DeepCopyInto(out *AnalyticsLinkedStorageAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedStorageAccountSpec. +func (in *AnalyticsLinkedStorageAccountSpec) DeepCopy() *AnalyticsLinkedStorageAccountSpec { + if in == nil { + return nil + } + out := new(AnalyticsLinkedStorageAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsLinkedStorageAccountStatus) DeepCopyInto(out *AnalyticsLinkedStorageAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsLinkedStorageAccountStatus. +func (in *AnalyticsLinkedStorageAccountStatus) DeepCopy() *AnalyticsLinkedStorageAccountStatus { + if in == nil { + return nil + } + out := new(AnalyticsLinkedStorageAccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSavedSearch) DeepCopyInto(out *AnalyticsSavedSearch) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSavedSearch. +func (in *AnalyticsSavedSearch) DeepCopy() *AnalyticsSavedSearch { + if in == nil { + return nil + } + out := new(AnalyticsSavedSearch) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsSavedSearch) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSavedSearchList) DeepCopyInto(out *AnalyticsSavedSearchList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsSavedSearch, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSavedSearchList. +func (in *AnalyticsSavedSearchList) DeepCopy() *AnalyticsSavedSearchList { + if in == nil { + return nil + } + out := new(AnalyticsSavedSearchList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsSavedSearchList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSavedSearchObservation) DeepCopyInto(out *AnalyticsSavedSearchObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSavedSearchObservation. +func (in *AnalyticsSavedSearchObservation) DeepCopy() *AnalyticsSavedSearchObservation { + if in == nil { + return nil + } + out := new(AnalyticsSavedSearchObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSavedSearchParameters) DeepCopyInto(out *AnalyticsSavedSearchParameters) { + *out = *in + if in.Category != nil { + in, out := &in.Category, &out.Category + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.FunctionAlias != nil { + in, out := &in.FunctionAlias, &out.FunctionAlias + *out = new(string) + **out = **in + } + if in.FunctionParameters != nil { + in, out := &in.FunctionParameters, &out.FunctionParameters + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Query != nil { + in, out := &in.Query, &out.Query + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSavedSearchParameters. +func (in *AnalyticsSavedSearchParameters) DeepCopy() *AnalyticsSavedSearchParameters { + if in == nil { + return nil + } + out := new(AnalyticsSavedSearchParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSavedSearchSpec) DeepCopyInto(out *AnalyticsSavedSearchSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSavedSearchSpec. +func (in *AnalyticsSavedSearchSpec) DeepCopy() *AnalyticsSavedSearchSpec { + if in == nil { + return nil + } + out := new(AnalyticsSavedSearchSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSavedSearchStatus) DeepCopyInto(out *AnalyticsSavedSearchStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSavedSearchStatus. +func (in *AnalyticsSavedSearchStatus) DeepCopy() *AnalyticsSavedSearchStatus { + if in == nil { + return nil + } + out := new(AnalyticsSavedSearchStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSolution) DeepCopyInto(out *AnalyticsSolution) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSolution. +func (in *AnalyticsSolution) DeepCopy() *AnalyticsSolution { + if in == nil { + return nil + } + out := new(AnalyticsSolution) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsSolution) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSolutionList) DeepCopyInto(out *AnalyticsSolutionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsSolution, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSolutionList. +func (in *AnalyticsSolutionList) DeepCopy() *AnalyticsSolutionList { + if in == nil { + return nil + } + out := new(AnalyticsSolutionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsSolutionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSolutionObservation) DeepCopyInto(out *AnalyticsSolutionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSolutionObservation. +func (in *AnalyticsSolutionObservation) DeepCopy() *AnalyticsSolutionObservation { + if in == nil { + return nil + } + out := new(AnalyticsSolutionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSolutionParameters) DeepCopyInto(out *AnalyticsSolutionParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]PlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SolutionName != nil { + in, out := &in.SolutionName, &out.SolutionName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WorkspaceName != nil { + in, out := &in.WorkspaceName, &out.WorkspaceName + *out = new(string) + **out = **in + } + if in.WorkspaceResourceID != nil { + in, out := &in.WorkspaceResourceID, &out.WorkspaceResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSolutionParameters. +func (in *AnalyticsSolutionParameters) DeepCopy() *AnalyticsSolutionParameters { + if in == nil { + return nil + } + out := new(AnalyticsSolutionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSolutionSpec) DeepCopyInto(out *AnalyticsSolutionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSolutionSpec. +func (in *AnalyticsSolutionSpec) DeepCopy() *AnalyticsSolutionSpec { + if in == nil { + return nil + } + out := new(AnalyticsSolutionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsSolutionStatus) DeepCopyInto(out *AnalyticsSolutionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsSolutionStatus. +func (in *AnalyticsSolutionStatus) DeepCopy() *AnalyticsSolutionStatus { + if in == nil { + return nil + } + out := new(AnalyticsSolutionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanObservation. +func (in *PlanObservation) DeepCopy() *PlanObservation { + if in == nil { + return nil + } + out := new(PlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanParameters) DeepCopyInto(out *PlanParameters) { + *out = *in + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.PromotionCode != nil { + in, out := &in.PromotionCode, &out.PromotionCode + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanParameters. +func (in *PlanParameters) DeepCopy() *PlanParameters { + if in == nil { + return nil + } + out := new(PlanParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/log/v1alpha1/zz_generated.managed.go b/apis/log/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e0ce99142 --- /dev/null +++ b/apis/log/v1alpha1/zz_generated.managed.go @@ -0,0 +1,524 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AnalyticsCluster. +func (mg *AnalyticsCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsCluster. +func (mg *AnalyticsCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsCluster. +func (mg *AnalyticsCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsCluster. +func (mg *AnalyticsCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsCluster. +func (mg *AnalyticsCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsCluster. +func (mg *AnalyticsCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsCluster. +func (mg *AnalyticsCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsCluster. +func (mg *AnalyticsCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsClusterCustomerManagedKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsClusterCustomerManagedKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsClusterCustomerManagedKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsClusterCustomerManagedKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsClusterCustomerManagedKey. +func (mg *AnalyticsClusterCustomerManagedKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsDataExportRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsDataExportRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsDataExportRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsDataExportRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsDataExportRule. +func (mg *AnalyticsDataExportRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsDatasourceWindowsEvent. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsDatasourceWindowsEvent) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsDatasourceWindowsEvent. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsDatasourceWindowsEvent) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsDatasourceWindowsEvent. +func (mg *AnalyticsDatasourceWindowsEvent) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsDatasourceWindowsPerformanceCounter. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsDatasourceWindowsPerformanceCounter. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsDatasourceWindowsPerformanceCounter. +func (mg *AnalyticsDatasourceWindowsPerformanceCounter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsLinkedService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsLinkedService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsLinkedService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsLinkedService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsLinkedService. +func (mg *AnalyticsLinkedService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsLinkedStorageAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsLinkedStorageAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsLinkedStorageAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsLinkedStorageAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsLinkedStorageAccount. +func (mg *AnalyticsLinkedStorageAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsSavedSearch. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsSavedSearch) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsSavedSearch. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsSavedSearch) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsSavedSearch. +func (mg *AnalyticsSavedSearch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsSolution. +func (mg *AnalyticsSolution) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsSolution. +func (mg *AnalyticsSolution) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsSolution. +func (mg *AnalyticsSolution) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsSolution. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsSolution) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsSolution. +func (mg *AnalyticsSolution) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsSolution. +func (mg *AnalyticsSolution) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsSolution. +func (mg *AnalyticsSolution) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsSolution. +func (mg *AnalyticsSolution) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsSolution. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsSolution) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsSolution. +func (mg *AnalyticsSolution) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/log/v1alpha1/zz_generated.managedlist.go b/apis/log/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..bb38d7f8b --- /dev/null +++ b/apis/log/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,101 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AnalyticsClusterCustomerManagedKeyList. +func (l *AnalyticsClusterCustomerManagedKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsClusterList. +func (l *AnalyticsClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsDataExportRuleList. +func (l *AnalyticsDataExportRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsDatasourceWindowsEventList. +func (l *AnalyticsDatasourceWindowsEventList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsDatasourceWindowsPerformanceCounterList. +func (l *AnalyticsDatasourceWindowsPerformanceCounterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsLinkedServiceList. +func (l *AnalyticsLinkedServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsLinkedStorageAccountList. +func (l *AnalyticsLinkedStorageAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsSavedSearchList. +func (l *AnalyticsSavedSearchList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsSolutionList. +func (l *AnalyticsSolutionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/log/v1alpha1/zz_groupversion_info.go b/apis/log/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..0ba87c14b --- /dev/null +++ b/apis/log/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=log.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "log.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/logic/v1alpha1/zz_appactioncustom_terraformed.go b/apis/logic/v1alpha1/zz_appactioncustom_terraformed.go new file mode 100755 index 000000000..0545e9096 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appactioncustom_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppActionCustom +func (mg *AppActionCustom) GetTerraformResourceType() string { + return "azurerm_logic_app_action_custom" +} + +// GetConnectionDetailsMapping for this AppActionCustom +func (tr *AppActionCustom) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppActionCustom +func (tr *AppActionCustom) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppActionCustom +func (tr *AppActionCustom) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppActionCustom +func (tr *AppActionCustom) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppActionCustom +func (tr *AppActionCustom) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppActionCustom using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppActionCustom) LateInitialize(attrs []byte) (bool, error) { + params := &AppActionCustomParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppActionCustom) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appactioncustom_types.go b/apis/logic/v1alpha1/zz_appactioncustom_types.go new file mode 100755 index 000000000..113db20d4 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appactioncustom_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppActionCustomObservation struct { +} + +type AppActionCustomParameters struct { + + // +kubebuilder:validation:Required + Body *string `json:"body" tf:"body,omitempty"` + + // +kubebuilder:validation:Required + LogicAppID *string `json:"logicAppId" tf:"logic_app_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// AppActionCustomSpec defines the desired state of AppActionCustom +type AppActionCustomSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppActionCustomParameters `json:"forProvider"` +} + +// AppActionCustomStatus defines the observed state of AppActionCustom. +type AppActionCustomStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppActionCustomObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppActionCustom is the Schema for the AppActionCustoms API +// +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,azurejet} +type AppActionCustom struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppActionCustomSpec `json:"spec"` + Status AppActionCustomStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppActionCustomList contains a list of AppActionCustoms +type AppActionCustomList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppActionCustom `json:"items"` +} + +// Repository type metadata. +var ( + AppActionCustom_Kind = "AppActionCustom" + AppActionCustom_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppActionCustom_Kind}.String() + AppActionCustom_KindAPIVersion = AppActionCustom_Kind + "." + CRDGroupVersion.String() + AppActionCustom_GroupVersionKind = CRDGroupVersion.WithKind(AppActionCustom_Kind) +) + +func init() { + SchemeBuilder.Register(&AppActionCustom{}, &AppActionCustomList{}) +} diff --git a/apis/logic/v1alpha1/zz_appactionhttp_terraformed.go b/apis/logic/v1alpha1/zz_appactionhttp_terraformed.go new file mode 100755 index 000000000..8d8fb3ed1 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appactionhttp_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppActionHttp +func (mg *AppActionHttp) GetTerraformResourceType() string { + return "azurerm_logic_app_action_http" +} + +// GetConnectionDetailsMapping for this AppActionHttp +func (tr *AppActionHttp) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppActionHttp +func (tr *AppActionHttp) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppActionHttp +func (tr *AppActionHttp) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppActionHttp +func (tr *AppActionHttp) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppActionHttp +func (tr *AppActionHttp) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppActionHttp using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppActionHttp) LateInitialize(attrs []byte) (bool, error) { + params := &AppActionHttpParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppActionHttp) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appactionhttp_types.go b/apis/logic/v1alpha1/zz_appactionhttp_types.go new file mode 100755 index 000000000..69d0a2a23 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appactionhttp_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppActionHttpObservation struct { +} + +type AppActionHttpParameters struct { + + // +kubebuilder:validation:Optional + Body *string `json:"body,omitempty" tf:"body,omitempty"` + + // +kubebuilder:validation:Optional + Headers map[string]*string `json:"headers,omitempty" tf:"headers,omitempty"` + + // +kubebuilder:validation:Required + LogicAppID *string `json:"logicAppId" tf:"logic_app_id,omitempty"` + + // +kubebuilder:validation:Required + Method *string `json:"method" tf:"method,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RunAfter []RunAfterParameters `json:"runAfter,omitempty" tf:"run_after,omitempty"` + + // +kubebuilder:validation:Required + URI *string `json:"uri" tf:"uri,omitempty"` +} + +type RunAfterObservation struct { +} + +type RunAfterParameters struct { + + // +kubebuilder:validation:Required + ActionName *string `json:"actionName" tf:"action_name,omitempty"` + + // +kubebuilder:validation:Required + ActionResult *string `json:"actionResult" tf:"action_result,omitempty"` +} + +// AppActionHttpSpec defines the desired state of AppActionHttp +type AppActionHttpSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppActionHttpParameters `json:"forProvider"` +} + +// AppActionHttpStatus defines the observed state of AppActionHttp. +type AppActionHttpStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppActionHttpObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppActionHttp is the Schema for the AppActionHttps API +// +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,azurejet} +type AppActionHttp struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppActionHttpSpec `json:"spec"` + Status AppActionHttpStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppActionHttpList contains a list of AppActionHttps +type AppActionHttpList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppActionHttp `json:"items"` +} + +// Repository type metadata. +var ( + AppActionHttp_Kind = "AppActionHttp" + AppActionHttp_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppActionHttp_Kind}.String() + AppActionHttp_KindAPIVersion = AppActionHttp_Kind + "." + CRDGroupVersion.String() + AppActionHttp_GroupVersionKind = CRDGroupVersion.WithKind(AppActionHttp_Kind) +) + +func init() { + SchemeBuilder.Register(&AppActionHttp{}, &AppActionHttpList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccount_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccount_terraformed.go new file mode 100755 index 000000000..93242de47 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccount +func (mg *AppIntegrationAccount) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccount +func (tr *AppIntegrationAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccount +func (tr *AppIntegrationAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccount +func (tr *AppIntegrationAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccount +func (tr *AppIntegrationAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccount +func (tr *AppIntegrationAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccount) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccount_types.go b/apis/logic/v1alpha1/zz_appintegrationaccount_types.go new file mode 100755 index 000000000..5c3681cf1 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccount_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountObservation struct { +} + +type AppIntegrationAccountParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AppIntegrationAccountSpec defines the desired state of AppIntegrationAccount +type AppIntegrationAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountParameters `json:"forProvider"` +} + +// AppIntegrationAccountStatus defines the observed state of AppIntegrationAccount. +type AppIntegrationAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccount is the Schema for the AppIntegrationAccounts API +// +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,azurejet} +type AppIntegrationAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountSpec `json:"spec"` + Status AppIntegrationAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountList contains a list of AppIntegrationAccounts +type AppIntegrationAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccount `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccount_Kind = "AppIntegrationAccount" + AppIntegrationAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccount_Kind}.String() + AppIntegrationAccount_KindAPIVersion = AppIntegrationAccount_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccount_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccount{}, &AppIntegrationAccountList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountagreement_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountagreement_terraformed.go new file mode 100755 index 000000000..2a4451897 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountagreement_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountAgreement +func (mg *AppIntegrationAccountAgreement) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_agreement" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountAgreement +func (tr *AppIntegrationAccountAgreement) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountAgreement +func (tr *AppIntegrationAccountAgreement) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountAgreement +func (tr *AppIntegrationAccountAgreement) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountAgreement +func (tr *AppIntegrationAccountAgreement) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountAgreement +func (tr *AppIntegrationAccountAgreement) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountAgreement using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountAgreement) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountAgreementParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountAgreement) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountagreement_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountagreement_types.go new file mode 100755 index 000000000..312137f3e --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountagreement_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountAgreementObservation struct { +} + +type AppIntegrationAccountAgreementParameters struct { + + // +kubebuilder:validation:Required + AgreementType *string `json:"agreementType" tf:"agreement_type,omitempty"` + + // +kubebuilder:validation:Required + Content *string `json:"content" tf:"content,omitempty"` + + // +kubebuilder:validation:Required + GuestIdentity []GuestIdentityParameters `json:"guestIdentity" tf:"guest_identity,omitempty"` + + // +kubebuilder:validation:Required + GuestPartnerName *string `json:"guestPartnerName" tf:"guest_partner_name,omitempty"` + + // +kubebuilder:validation:Required + HostIdentity []HostIdentityParameters `json:"hostIdentity" tf:"host_identity,omitempty"` + + // +kubebuilder:validation:Required + HostPartnerName *string `json:"hostPartnerName" tf:"host_partner_name,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type GuestIdentityObservation struct { +} + +type GuestIdentityParameters struct { + + // +kubebuilder:validation:Required + Qualifier *string `json:"qualifier" tf:"qualifier,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type HostIdentityObservation struct { +} + +type HostIdentityParameters struct { + + // +kubebuilder:validation:Required + Qualifier *string `json:"qualifier" tf:"qualifier,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// AppIntegrationAccountAgreementSpec defines the desired state of AppIntegrationAccountAgreement +type AppIntegrationAccountAgreementSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountAgreementParameters `json:"forProvider"` +} + +// AppIntegrationAccountAgreementStatus defines the observed state of AppIntegrationAccountAgreement. +type AppIntegrationAccountAgreementStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountAgreementObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountAgreement is the Schema for the AppIntegrationAccountAgreements API +// +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,azurejet} +type AppIntegrationAccountAgreement struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountAgreementSpec `json:"spec"` + Status AppIntegrationAccountAgreementStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountAgreementList contains a list of AppIntegrationAccountAgreements +type AppIntegrationAccountAgreementList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountAgreement `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountAgreement_Kind = "AppIntegrationAccountAgreement" + AppIntegrationAccountAgreement_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountAgreement_Kind}.String() + AppIntegrationAccountAgreement_KindAPIVersion = AppIntegrationAccountAgreement_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountAgreement_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountAgreement_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountAgreement{}, &AppIntegrationAccountAgreementList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountassembly_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountassembly_terraformed.go new file mode 100755 index 000000000..0e6154bbc --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountassembly_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountAssembly +func (mg *AppIntegrationAccountAssembly) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_assembly" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountAssembly +func (tr *AppIntegrationAccountAssembly) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountAssembly +func (tr *AppIntegrationAccountAssembly) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountAssembly +func (tr *AppIntegrationAccountAssembly) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountAssembly +func (tr *AppIntegrationAccountAssembly) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountAssembly +func (tr *AppIntegrationAccountAssembly) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountAssembly using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountAssembly) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountAssemblyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountAssembly) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountassembly_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountassembly_types.go new file mode 100755 index 000000000..1baf6d9e9 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountassembly_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountAssemblyObservation struct { +} + +type AppIntegrationAccountAssemblyParameters struct { + + // +kubebuilder:validation:Required + AssemblyName *string `json:"assemblyName" tf:"assembly_name,omitempty"` + + // +kubebuilder:validation:Optional + AssemblyVersion *string `json:"assemblyVersion,omitempty" tf:"assembly_version,omitempty"` + + // +kubebuilder:validation:Optional + Content *string `json:"content,omitempty" tf:"content,omitempty"` + + // +kubebuilder:validation:Optional + ContentLinkURI *string `json:"contentLinkUri,omitempty" tf:"content_link_uri,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// AppIntegrationAccountAssemblySpec defines the desired state of AppIntegrationAccountAssembly +type AppIntegrationAccountAssemblySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountAssemblyParameters `json:"forProvider"` +} + +// AppIntegrationAccountAssemblyStatus defines the observed state of AppIntegrationAccountAssembly. +type AppIntegrationAccountAssemblyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountAssemblyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountAssembly is the Schema for the AppIntegrationAccountAssemblys API +// +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,azurejet} +type AppIntegrationAccountAssembly struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountAssemblySpec `json:"spec"` + Status AppIntegrationAccountAssemblyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountAssemblyList contains a list of AppIntegrationAccountAssemblys +type AppIntegrationAccountAssemblyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountAssembly `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountAssembly_Kind = "AppIntegrationAccountAssembly" + AppIntegrationAccountAssembly_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountAssembly_Kind}.String() + AppIntegrationAccountAssembly_KindAPIVersion = AppIntegrationAccountAssembly_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountAssembly_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountAssembly_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountAssembly{}, &AppIntegrationAccountAssemblyList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountbatchconfiguration_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountbatchconfiguration_terraformed.go new file mode 100755 index 000000000..f5d228b5a --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountbatchconfiguration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountBatchConfiguration +func (mg *AppIntegrationAccountBatchConfiguration) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_batch_configuration" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountBatchConfiguration +func (tr *AppIntegrationAccountBatchConfiguration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountBatchConfiguration +func (tr *AppIntegrationAccountBatchConfiguration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountBatchConfiguration +func (tr *AppIntegrationAccountBatchConfiguration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountBatchConfiguration +func (tr *AppIntegrationAccountBatchConfiguration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountBatchConfiguration +func (tr *AppIntegrationAccountBatchConfiguration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountBatchConfiguration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountBatchConfiguration) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountBatchConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountBatchConfiguration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountbatchconfiguration_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountbatchconfiguration_types.go new file mode 100755 index 000000000..8a9c13d87 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountbatchconfiguration_types.go @@ -0,0 +1,171 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountBatchConfigurationObservation struct { +} + +type AppIntegrationAccountBatchConfigurationParameters struct { + + // +kubebuilder:validation:Required + BatchGroupName *string `json:"batchGroupName" tf:"batch_group_name,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ReleaseCriteria []ReleaseCriteriaParameters `json:"releaseCriteria" tf:"release_criteria,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type MonthlyObservation struct { +} + +type MonthlyParameters struct { + + // +kubebuilder:validation:Required + Week *int64 `json:"week" tf:"week,omitempty"` + + // +kubebuilder:validation:Required + Weekday *string `json:"weekday" tf:"weekday,omitempty"` +} + +type RecurrenceObservation struct { +} + +type RecurrenceParameters struct { + + // +kubebuilder:validation:Optional + EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` + + // +kubebuilder:validation:Required + Frequency *string `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + Interval *int64 `json:"interval" tf:"interval,omitempty"` + + // +kubebuilder:validation:Optional + Schedule []ScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Optional + StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` + + // +kubebuilder:validation:Optional + TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` +} + +type ReleaseCriteriaObservation struct { +} + +type ReleaseCriteriaParameters struct { + + // +kubebuilder:validation:Optional + BatchSize *int64 `json:"batchSize,omitempty" tf:"batch_size,omitempty"` + + // +kubebuilder:validation:Optional + MessageCount *int64 `json:"messageCount,omitempty" tf:"message_count,omitempty"` + + // +kubebuilder:validation:Optional + Recurrence []RecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` +} + +type ScheduleObservation struct { +} + +type ScheduleParameters struct { + + // +kubebuilder:validation:Optional + Hours []*int64 `json:"hours,omitempty" tf:"hours,omitempty"` + + // +kubebuilder:validation:Optional + Minutes []*int64 `json:"minutes,omitempty" tf:"minutes,omitempty"` + + // +kubebuilder:validation:Optional + MonthDays []*int64 `json:"monthDays,omitempty" tf:"month_days,omitempty"` + + // +kubebuilder:validation:Optional + Monthly []MonthlyParameters `json:"monthly,omitempty" tf:"monthly,omitempty"` + + // +kubebuilder:validation:Optional + WeekDays []*string `json:"weekDays,omitempty" tf:"week_days,omitempty"` +} + +// AppIntegrationAccountBatchConfigurationSpec defines the desired state of AppIntegrationAccountBatchConfiguration +type AppIntegrationAccountBatchConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountBatchConfigurationParameters `json:"forProvider"` +} + +// AppIntegrationAccountBatchConfigurationStatus defines the observed state of AppIntegrationAccountBatchConfiguration. +type AppIntegrationAccountBatchConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountBatchConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountBatchConfiguration is the Schema for the AppIntegrationAccountBatchConfigurations API +// +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,azurejet} +type AppIntegrationAccountBatchConfiguration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountBatchConfigurationSpec `json:"spec"` + Status AppIntegrationAccountBatchConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountBatchConfigurationList contains a list of AppIntegrationAccountBatchConfigurations +type AppIntegrationAccountBatchConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountBatchConfiguration `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountBatchConfiguration_Kind = "AppIntegrationAccountBatchConfiguration" + AppIntegrationAccountBatchConfiguration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountBatchConfiguration_Kind}.String() + AppIntegrationAccountBatchConfiguration_KindAPIVersion = AppIntegrationAccountBatchConfiguration_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountBatchConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountBatchConfiguration_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountBatchConfiguration{}, &AppIntegrationAccountBatchConfigurationList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountmap_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountmap_terraformed.go new file mode 100755 index 000000000..76d6705f6 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountmap_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountMap +func (mg *AppIntegrationAccountMap) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_map" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountMap +func (tr *AppIntegrationAccountMap) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountMap +func (tr *AppIntegrationAccountMap) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountMap +func (tr *AppIntegrationAccountMap) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountMap +func (tr *AppIntegrationAccountMap) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountMap +func (tr *AppIntegrationAccountMap) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountMap using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountMap) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountMapParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountMap) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountmap_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountmap_types.go new file mode 100755 index 000000000..697ea0693 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountmap_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountMapObservation struct { +} + +type AppIntegrationAccountMapParameters struct { + + // +kubebuilder:validation:Required + Content *string `json:"content" tf:"content,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Required + MapType *string `json:"mapType" tf:"map_type,omitempty"` + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// AppIntegrationAccountMapSpec defines the desired state of AppIntegrationAccountMap +type AppIntegrationAccountMapSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountMapParameters `json:"forProvider"` +} + +// AppIntegrationAccountMapStatus defines the observed state of AppIntegrationAccountMap. +type AppIntegrationAccountMapStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountMapObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountMap is the Schema for the AppIntegrationAccountMaps API +// +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,azurejet} +type AppIntegrationAccountMap struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountMapSpec `json:"spec"` + Status AppIntegrationAccountMapStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountMapList contains a list of AppIntegrationAccountMaps +type AppIntegrationAccountMapList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountMap `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountMap_Kind = "AppIntegrationAccountMap" + AppIntegrationAccountMap_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountMap_Kind}.String() + AppIntegrationAccountMap_KindAPIVersion = AppIntegrationAccountMap_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountMap_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountMap_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountMap{}, &AppIntegrationAccountMapList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountpartner_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountpartner_terraformed.go new file mode 100755 index 000000000..741e376c4 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountpartner_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountPartner +func (mg *AppIntegrationAccountPartner) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_partner" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountPartner +func (tr *AppIntegrationAccountPartner) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountPartner +func (tr *AppIntegrationAccountPartner) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountPartner +func (tr *AppIntegrationAccountPartner) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountPartner +func (tr *AppIntegrationAccountPartner) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountPartner +func (tr *AppIntegrationAccountPartner) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountPartner using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountPartner) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountPartnerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountPartner) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountpartner_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountpartner_types.go new file mode 100755 index 000000000..529fe9406 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountpartner_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountPartnerObservation struct { +} + +type AppIntegrationAccountPartnerParameters struct { + + // +kubebuilder:validation:Required + BusinessIdentity []BusinessIdentityParameters `json:"businessIdentity" tf:"business_identity,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type BusinessIdentityObservation struct { +} + +type BusinessIdentityParameters struct { + + // +kubebuilder:validation:Required + Qualifier *string `json:"qualifier" tf:"qualifier,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// AppIntegrationAccountPartnerSpec defines the desired state of AppIntegrationAccountPartner +type AppIntegrationAccountPartnerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountPartnerParameters `json:"forProvider"` +} + +// AppIntegrationAccountPartnerStatus defines the observed state of AppIntegrationAccountPartner. +type AppIntegrationAccountPartnerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountPartnerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountPartner is the Schema for the AppIntegrationAccountPartners API +// +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,azurejet} +type AppIntegrationAccountPartner struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountPartnerSpec `json:"spec"` + Status AppIntegrationAccountPartnerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountPartnerList contains a list of AppIntegrationAccountPartners +type AppIntegrationAccountPartnerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountPartner `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountPartner_Kind = "AppIntegrationAccountPartner" + AppIntegrationAccountPartner_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountPartner_Kind}.String() + AppIntegrationAccountPartner_KindAPIVersion = AppIntegrationAccountPartner_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountPartner_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountPartner_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountPartner{}, &AppIntegrationAccountPartnerList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountschema_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountschema_terraformed.go new file mode 100755 index 000000000..79eafdccf --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountschema_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountSchema +func (mg *AppIntegrationAccountSchema) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_schema" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountSchema +func (tr *AppIntegrationAccountSchema) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountSchema +func (tr *AppIntegrationAccountSchema) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountSchema +func (tr *AppIntegrationAccountSchema) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountSchema +func (tr *AppIntegrationAccountSchema) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountSchema +func (tr *AppIntegrationAccountSchema) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountSchema using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountSchema) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountSchemaParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountSchema) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountschema_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountschema_types.go new file mode 100755 index 000000000..847a47d9b --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountschema_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountSchemaObservation struct { +} + +type AppIntegrationAccountSchemaParameters struct { + + // +kubebuilder:validation:Required + Content *string `json:"content" tf:"content,omitempty"` + + // +kubebuilder:validation:Optional + FileName *string `json:"fileName,omitempty" tf:"file_name,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// AppIntegrationAccountSchemaSpec defines the desired state of AppIntegrationAccountSchema +type AppIntegrationAccountSchemaSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountSchemaParameters `json:"forProvider"` +} + +// AppIntegrationAccountSchemaStatus defines the observed state of AppIntegrationAccountSchema. +type AppIntegrationAccountSchemaStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountSchemaObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountSchema is the Schema for the AppIntegrationAccountSchemas API +// +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,azurejet} +type AppIntegrationAccountSchema struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountSchemaSpec `json:"spec"` + Status AppIntegrationAccountSchemaStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountSchemaList contains a list of AppIntegrationAccountSchemas +type AppIntegrationAccountSchemaList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountSchema `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountSchema_Kind = "AppIntegrationAccountSchema" + AppIntegrationAccountSchema_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountSchema_Kind}.String() + AppIntegrationAccountSchema_KindAPIVersion = AppIntegrationAccountSchema_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountSchema_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountSchema_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountSchema{}, &AppIntegrationAccountSchemaList{}) +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountsession_terraformed.go b/apis/logic/v1alpha1/zz_appintegrationaccountsession_terraformed.go new file mode 100755 index 000000000..358a5b14a --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountsession_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppIntegrationAccountSession +func (mg *AppIntegrationAccountSession) GetTerraformResourceType() string { + return "azurerm_logic_app_integration_account_session" +} + +// GetConnectionDetailsMapping for this AppIntegrationAccountSession +func (tr *AppIntegrationAccountSession) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppIntegrationAccountSession +func (tr *AppIntegrationAccountSession) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppIntegrationAccountSession +func (tr *AppIntegrationAccountSession) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppIntegrationAccountSession +func (tr *AppIntegrationAccountSession) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppIntegrationAccountSession +func (tr *AppIntegrationAccountSession) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppIntegrationAccountSession using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppIntegrationAccountSession) LateInitialize(attrs []byte) (bool, error) { + params := &AppIntegrationAccountSessionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppIntegrationAccountSession) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appintegrationaccountsession_types.go b/apis/logic/v1alpha1/zz_appintegrationaccountsession_types.go new file mode 100755 index 000000000..51c1767ee --- /dev/null +++ b/apis/logic/v1alpha1/zz_appintegrationaccountsession_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppIntegrationAccountSessionObservation struct { +} + +type AppIntegrationAccountSessionParameters struct { + + // +kubebuilder:validation:Required + Content *string `json:"content" tf:"content,omitempty"` + + // +kubebuilder:validation:Required + IntegrationAccountName *string `json:"integrationAccountName" tf:"integration_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// AppIntegrationAccountSessionSpec defines the desired state of AppIntegrationAccountSession +type AppIntegrationAccountSessionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppIntegrationAccountSessionParameters `json:"forProvider"` +} + +// AppIntegrationAccountSessionStatus defines the observed state of AppIntegrationAccountSession. +type AppIntegrationAccountSessionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppIntegrationAccountSessionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountSession is the Schema for the AppIntegrationAccountSessions API +// +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,azurejet} +type AppIntegrationAccountSession struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppIntegrationAccountSessionSpec `json:"spec"` + Status AppIntegrationAccountSessionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppIntegrationAccountSessionList contains a list of AppIntegrationAccountSessions +type AppIntegrationAccountSessionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppIntegrationAccountSession `json:"items"` +} + +// Repository type metadata. +var ( + AppIntegrationAccountSession_Kind = "AppIntegrationAccountSession" + AppIntegrationAccountSession_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppIntegrationAccountSession_Kind}.String() + AppIntegrationAccountSession_KindAPIVersion = AppIntegrationAccountSession_Kind + "." + CRDGroupVersion.String() + AppIntegrationAccountSession_GroupVersionKind = CRDGroupVersion.WithKind(AppIntegrationAccountSession_Kind) +) + +func init() { + SchemeBuilder.Register(&AppIntegrationAccountSession{}, &AppIntegrationAccountSessionList{}) +} diff --git a/apis/logic/v1alpha1/zz_apptriggercustom_terraformed.go b/apis/logic/v1alpha1/zz_apptriggercustom_terraformed.go new file mode 100755 index 000000000..f7d1c087f --- /dev/null +++ b/apis/logic/v1alpha1/zz_apptriggercustom_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppTriggerCustom +func (mg *AppTriggerCustom) GetTerraformResourceType() string { + return "azurerm_logic_app_trigger_custom" +} + +// GetConnectionDetailsMapping for this AppTriggerCustom +func (tr *AppTriggerCustom) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppTriggerCustom +func (tr *AppTriggerCustom) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppTriggerCustom +func (tr *AppTriggerCustom) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppTriggerCustom +func (tr *AppTriggerCustom) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppTriggerCustom +func (tr *AppTriggerCustom) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppTriggerCustom using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppTriggerCustom) LateInitialize(attrs []byte) (bool, error) { + params := &AppTriggerCustomParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppTriggerCustom) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_apptriggercustom_types.go b/apis/logic/v1alpha1/zz_apptriggercustom_types.go new file mode 100755 index 000000000..4c9b233fe --- /dev/null +++ b/apis/logic/v1alpha1/zz_apptriggercustom_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppTriggerCustomObservation struct { +} + +type AppTriggerCustomParameters struct { + + // +kubebuilder:validation:Required + Body *string `json:"body" tf:"body,omitempty"` + + // +kubebuilder:validation:Required + LogicAppID *string `json:"logicAppId" tf:"logic_app_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// AppTriggerCustomSpec defines the desired state of AppTriggerCustom +type AppTriggerCustomSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppTriggerCustomParameters `json:"forProvider"` +} + +// AppTriggerCustomStatus defines the observed state of AppTriggerCustom. +type AppTriggerCustomStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppTriggerCustomObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppTriggerCustom is the Schema for the AppTriggerCustoms API +// +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,azurejet} +type AppTriggerCustom struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppTriggerCustomSpec `json:"spec"` + Status AppTriggerCustomStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppTriggerCustomList contains a list of AppTriggerCustoms +type AppTriggerCustomList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppTriggerCustom `json:"items"` +} + +// Repository type metadata. +var ( + AppTriggerCustom_Kind = "AppTriggerCustom" + AppTriggerCustom_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppTriggerCustom_Kind}.String() + AppTriggerCustom_KindAPIVersion = AppTriggerCustom_Kind + "." + CRDGroupVersion.String() + AppTriggerCustom_GroupVersionKind = CRDGroupVersion.WithKind(AppTriggerCustom_Kind) +) + +func init() { + SchemeBuilder.Register(&AppTriggerCustom{}, &AppTriggerCustomList{}) +} diff --git a/apis/logic/v1alpha1/zz_apptriggerhttprequest_terraformed.go b/apis/logic/v1alpha1/zz_apptriggerhttprequest_terraformed.go new file mode 100755 index 000000000..a7f055996 --- /dev/null +++ b/apis/logic/v1alpha1/zz_apptriggerhttprequest_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppTriggerHttpRequest +func (mg *AppTriggerHttpRequest) GetTerraformResourceType() string { + return "azurerm_logic_app_trigger_http_request" +} + +// GetConnectionDetailsMapping for this AppTriggerHttpRequest +func (tr *AppTriggerHttpRequest) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppTriggerHttpRequest +func (tr *AppTriggerHttpRequest) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppTriggerHttpRequest +func (tr *AppTriggerHttpRequest) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppTriggerHttpRequest +func (tr *AppTriggerHttpRequest) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppTriggerHttpRequest +func (tr *AppTriggerHttpRequest) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppTriggerHttpRequest using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppTriggerHttpRequest) LateInitialize(attrs []byte) (bool, error) { + params := &AppTriggerHttpRequestParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppTriggerHttpRequest) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_apptriggerhttprequest_types.go b/apis/logic/v1alpha1/zz_apptriggerhttprequest_types.go new file mode 100755 index 000000000..effbffdd2 --- /dev/null +++ b/apis/logic/v1alpha1/zz_apptriggerhttprequest_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppTriggerHttpRequestObservation struct { + CallbackURL *string `json:"callbackUrl,omitempty" tf:"callback_url,omitempty"` +} + +type AppTriggerHttpRequestParameters struct { + + // +kubebuilder:validation:Required + LogicAppID *string `json:"logicAppId" tf:"logic_app_id,omitempty"` + + // +kubebuilder:validation:Optional + Method *string `json:"method,omitempty" tf:"method,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RelativePath *string `json:"relativePath,omitempty" tf:"relative_path,omitempty"` + + // +kubebuilder:validation:Required + Schema *string `json:"schema" tf:"schema,omitempty"` +} + +// AppTriggerHttpRequestSpec defines the desired state of AppTriggerHttpRequest +type AppTriggerHttpRequestSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppTriggerHttpRequestParameters `json:"forProvider"` +} + +// AppTriggerHttpRequestStatus defines the observed state of AppTriggerHttpRequest. +type AppTriggerHttpRequestStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppTriggerHttpRequestObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppTriggerHttpRequest is the Schema for the AppTriggerHttpRequests API +// +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,azurejet} +type AppTriggerHttpRequest struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppTriggerHttpRequestSpec `json:"spec"` + Status AppTriggerHttpRequestStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppTriggerHttpRequestList contains a list of AppTriggerHttpRequests +type AppTriggerHttpRequestList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppTriggerHttpRequest `json:"items"` +} + +// Repository type metadata. +var ( + AppTriggerHttpRequest_Kind = "AppTriggerHttpRequest" + AppTriggerHttpRequest_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppTriggerHttpRequest_Kind}.String() + AppTriggerHttpRequest_KindAPIVersion = AppTriggerHttpRequest_Kind + "." + CRDGroupVersion.String() + AppTriggerHttpRequest_GroupVersionKind = CRDGroupVersion.WithKind(AppTriggerHttpRequest_Kind) +) + +func init() { + SchemeBuilder.Register(&AppTriggerHttpRequest{}, &AppTriggerHttpRequestList{}) +} diff --git a/apis/logic/v1alpha1/zz_apptriggerrecurrence_terraformed.go b/apis/logic/v1alpha1/zz_apptriggerrecurrence_terraformed.go new file mode 100755 index 000000000..b268b3767 --- /dev/null +++ b/apis/logic/v1alpha1/zz_apptriggerrecurrence_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppTriggerRecurrence +func (mg *AppTriggerRecurrence) GetTerraformResourceType() string { + return "azurerm_logic_app_trigger_recurrence" +} + +// GetConnectionDetailsMapping for this AppTriggerRecurrence +func (tr *AppTriggerRecurrence) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppTriggerRecurrence +func (tr *AppTriggerRecurrence) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppTriggerRecurrence +func (tr *AppTriggerRecurrence) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppTriggerRecurrence +func (tr *AppTriggerRecurrence) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppTriggerRecurrence +func (tr *AppTriggerRecurrence) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppTriggerRecurrence using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppTriggerRecurrence) LateInitialize(attrs []byte) (bool, error) { + params := &AppTriggerRecurrenceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppTriggerRecurrence) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_apptriggerrecurrence_types.go b/apis/logic/v1alpha1/zz_apptriggerrecurrence_types.go new file mode 100755 index 000000000..262558b2f --- /dev/null +++ b/apis/logic/v1alpha1/zz_apptriggerrecurrence_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AppTriggerRecurrenceObservation struct { +} + +type AppTriggerRecurrenceParameters struct { + + // +kubebuilder:validation:Required + Frequency *string `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + Interval *int64 `json:"interval" tf:"interval,omitempty"` + + // +kubebuilder:validation:Required + LogicAppID *string `json:"logicAppId" tf:"logic_app_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Schedule []AppTriggerRecurrenceScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` + + // +kubebuilder:validation:Optional + StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` + + // +kubebuilder:validation:Optional + TimeZone *string `json:"timeZone,omitempty" tf:"time_zone,omitempty"` +} + +type AppTriggerRecurrenceScheduleObservation struct { +} + +type AppTriggerRecurrenceScheduleParameters struct { + + // +kubebuilder:validation:Optional + AtTheseHours []*int64 `json:"atTheseHours,omitempty" tf:"at_these_hours,omitempty"` + + // +kubebuilder:validation:Optional + AtTheseMinutes []*int64 `json:"atTheseMinutes,omitempty" tf:"at_these_minutes,omitempty"` + + // +kubebuilder:validation:Optional + OnTheseDays []*string `json:"onTheseDays,omitempty" tf:"on_these_days,omitempty"` +} + +// AppTriggerRecurrenceSpec defines the desired state of AppTriggerRecurrence +type AppTriggerRecurrenceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppTriggerRecurrenceParameters `json:"forProvider"` +} + +// AppTriggerRecurrenceStatus defines the observed state of AppTriggerRecurrence. +type AppTriggerRecurrenceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppTriggerRecurrenceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppTriggerRecurrence is the Schema for the AppTriggerRecurrences API +// +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,azurejet} +type AppTriggerRecurrence struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppTriggerRecurrenceSpec `json:"spec"` + Status AppTriggerRecurrenceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppTriggerRecurrenceList contains a list of AppTriggerRecurrences +type AppTriggerRecurrenceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppTriggerRecurrence `json:"items"` +} + +// Repository type metadata. +var ( + AppTriggerRecurrence_Kind = "AppTriggerRecurrence" + AppTriggerRecurrence_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppTriggerRecurrence_Kind}.String() + AppTriggerRecurrence_KindAPIVersion = AppTriggerRecurrence_Kind + "." + CRDGroupVersion.String() + AppTriggerRecurrence_GroupVersionKind = CRDGroupVersion.WithKind(AppTriggerRecurrence_Kind) +) + +func init() { + SchemeBuilder.Register(&AppTriggerRecurrence{}, &AppTriggerRecurrenceList{}) +} diff --git a/apis/logic/v1alpha1/zz_appworkflow_terraformed.go b/apis/logic/v1alpha1/zz_appworkflow_terraformed.go new file mode 100755 index 000000000..0580d1e86 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appworkflow_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AppWorkflow +func (mg *AppWorkflow) GetTerraformResourceType() string { + return "azurerm_logic_app_workflow" +} + +// GetConnectionDetailsMapping for this AppWorkflow +func (tr *AppWorkflow) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AppWorkflow +func (tr *AppWorkflow) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AppWorkflow +func (tr *AppWorkflow) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AppWorkflow +func (tr *AppWorkflow) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AppWorkflow +func (tr *AppWorkflow) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AppWorkflow using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AppWorkflow) LateInitialize(attrs []byte) (bool, error) { + params := &AppWorkflowParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AppWorkflow) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/logic/v1alpha1/zz_appworkflow_types.go b/apis/logic/v1alpha1/zz_appworkflow_types.go new file mode 100755 index 000000000..6e3bb4842 --- /dev/null +++ b/apis/logic/v1alpha1/zz_appworkflow_types.go @@ -0,0 +1,180 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccessControlObservation struct { +} + +type AccessControlParameters struct { + + // +kubebuilder:validation:Optional + Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + Content []ContentParameters `json:"content,omitempty" tf:"content,omitempty"` + + // +kubebuilder:validation:Optional + Trigger []TriggerParameters `json:"trigger,omitempty" tf:"trigger,omitempty"` + + // +kubebuilder:validation:Optional + WorkflowManagement []WorkflowManagementParameters `json:"workflowManagement,omitempty" tf:"workflow_management,omitempty"` +} + +type ActionObservation struct { +} + +type ActionParameters struct { + + // +kubebuilder:validation:Required + AllowedCallerIPAddressRange []*string `json:"allowedCallerIpAddressRange" tf:"allowed_caller_ip_address_range,omitempty"` +} + +type AppWorkflowObservation struct { + AccessEndpoint *string `json:"accessEndpoint,omitempty" tf:"access_endpoint,omitempty"` + + ConnectorEndpointIPAddresses []*string `json:"connectorEndpointIpAddresses,omitempty" tf:"connector_endpoint_ip_addresses,omitempty"` + + ConnectorOutboundIPAddresses []*string `json:"connectorOutboundIpAddresses,omitempty" tf:"connector_outbound_ip_addresses,omitempty"` + + WorkflowEndpointIPAddresses []*string `json:"workflowEndpointIpAddresses,omitempty" tf:"workflow_endpoint_ip_addresses,omitempty"` + + WorkflowOutboundIPAddresses []*string `json:"workflowOutboundIpAddresses,omitempty" tf:"workflow_outbound_ip_addresses,omitempty"` +} + +type AppWorkflowParameters struct { + + // +kubebuilder:validation:Optional + AccessControl []AccessControlParameters `json:"accessControl,omitempty" tf:"access_control,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationServiceEnvironmentID *string `json:"integrationServiceEnvironmentId,omitempty" tf:"integration_service_environment_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + LogicAppIntegrationAccountID *string `json:"logicAppIntegrationAccountId,omitempty" tf:"logic_app_integration_account_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + WorkflowParameters map[string]*string `json:"workflowParameters,omitempty" tf:"workflow_parameters,omitempty"` + + // +kubebuilder:validation:Optional + WorkflowSchema *string `json:"workflowSchema,omitempty" tf:"workflow_schema,omitempty"` + + // +kubebuilder:validation:Optional + WorkflowVersion *string `json:"workflowVersion,omitempty" tf:"workflow_version,omitempty"` +} + +type ContentObservation struct { +} + +type ContentParameters struct { + + // +kubebuilder:validation:Required + AllowedCallerIPAddressRange []*string `json:"allowedCallerIpAddressRange" tf:"allowed_caller_ip_address_range,omitempty"` +} + +type TriggerObservation struct { +} + +type TriggerParameters struct { + + // +kubebuilder:validation:Required + AllowedCallerIPAddressRange []*string `json:"allowedCallerIpAddressRange" tf:"allowed_caller_ip_address_range,omitempty"` +} + +type WorkflowManagementObservation struct { +} + +type WorkflowManagementParameters struct { + + // +kubebuilder:validation:Required + AllowedCallerIPAddressRange []*string `json:"allowedCallerIpAddressRange" tf:"allowed_caller_ip_address_range,omitempty"` +} + +// AppWorkflowSpec defines the desired state of AppWorkflow +type AppWorkflowSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AppWorkflowParameters `json:"forProvider"` +} + +// AppWorkflowStatus defines the observed state of AppWorkflow. +type AppWorkflowStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AppWorkflowObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppWorkflow is the Schema for the AppWorkflows API +// +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,azurejet} +type AppWorkflow struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AppWorkflowSpec `json:"spec"` + Status AppWorkflowStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AppWorkflowList contains a list of AppWorkflows +type AppWorkflowList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AppWorkflow `json:"items"` +} + +// Repository type metadata. +var ( + AppWorkflow_Kind = "AppWorkflow" + AppWorkflow_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AppWorkflow_Kind}.String() + AppWorkflow_KindAPIVersion = AppWorkflow_Kind + "." + CRDGroupVersion.String() + AppWorkflow_GroupVersionKind = CRDGroupVersion.WithKind(AppWorkflow_Kind) +) + +func init() { + SchemeBuilder.Register(&AppWorkflow{}, &AppWorkflowList{}) +} diff --git a/apis/logic/v1alpha1/zz_generated.deepcopy.go b/apis/logic/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..0c09ccaef --- /dev/null +++ b/apis/logic/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,3015 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessControlObservation) DeepCopyInto(out *AccessControlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlObservation. +func (in *AccessControlObservation) DeepCopy() *AccessControlObservation { + if in == nil { + return nil + } + out := new(AccessControlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessControlParameters) DeepCopyInto(out *AccessControlParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]ActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = make([]ContentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Trigger != nil { + in, out := &in.Trigger, &out.Trigger + *out = make([]TriggerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WorkflowManagement != nil { + in, out := &in.WorkflowManagement, &out.WorkflowManagement + *out = make([]WorkflowManagementParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlParameters. +func (in *AccessControlParameters) DeepCopy() *AccessControlParameters { + if in == nil { + return nil + } + out := new(AccessControlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionObservation) DeepCopyInto(out *ActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionObservation. +func (in *ActionObservation) DeepCopy() *ActionObservation { + if in == nil { + return nil + } + out := new(ActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { + *out = *in + if in.AllowedCallerIPAddressRange != nil { + in, out := &in.AllowedCallerIPAddressRange, &out.AllowedCallerIPAddressRange + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionParameters. +func (in *ActionParameters) DeepCopy() *ActionParameters { + if in == nil { + return nil + } + out := new(ActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionCustom) DeepCopyInto(out *AppActionCustom) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionCustom. +func (in *AppActionCustom) DeepCopy() *AppActionCustom { + if in == nil { + return nil + } + out := new(AppActionCustom) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppActionCustom) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionCustomList) DeepCopyInto(out *AppActionCustomList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppActionCustom, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionCustomList. +func (in *AppActionCustomList) DeepCopy() *AppActionCustomList { + if in == nil { + return nil + } + out := new(AppActionCustomList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppActionCustomList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionCustomObservation) DeepCopyInto(out *AppActionCustomObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionCustomObservation. +func (in *AppActionCustomObservation) DeepCopy() *AppActionCustomObservation { + if in == nil { + return nil + } + out := new(AppActionCustomObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionCustomParameters) DeepCopyInto(out *AppActionCustomParameters) { + *out = *in + if in.Body != nil { + in, out := &in.Body, &out.Body + *out = new(string) + **out = **in + } + if in.LogicAppID != nil { + in, out := &in.LogicAppID, &out.LogicAppID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionCustomParameters. +func (in *AppActionCustomParameters) DeepCopy() *AppActionCustomParameters { + if in == nil { + return nil + } + out := new(AppActionCustomParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionCustomSpec) DeepCopyInto(out *AppActionCustomSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionCustomSpec. +func (in *AppActionCustomSpec) DeepCopy() *AppActionCustomSpec { + if in == nil { + return nil + } + out := new(AppActionCustomSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionCustomStatus) DeepCopyInto(out *AppActionCustomStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionCustomStatus. +func (in *AppActionCustomStatus) DeepCopy() *AppActionCustomStatus { + if in == nil { + return nil + } + out := new(AppActionCustomStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionHttp) DeepCopyInto(out *AppActionHttp) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionHttp. +func (in *AppActionHttp) DeepCopy() *AppActionHttp { + if in == nil { + return nil + } + out := new(AppActionHttp) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppActionHttp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionHttpList) DeepCopyInto(out *AppActionHttpList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppActionHttp, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionHttpList. +func (in *AppActionHttpList) DeepCopy() *AppActionHttpList { + if in == nil { + return nil + } + out := new(AppActionHttpList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppActionHttpList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionHttpObservation) DeepCopyInto(out *AppActionHttpObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionHttpObservation. +func (in *AppActionHttpObservation) DeepCopy() *AppActionHttpObservation { + if in == nil { + return nil + } + out := new(AppActionHttpObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionHttpParameters) DeepCopyInto(out *AppActionHttpParameters) { + *out = *in + if in.Body != nil { + in, out := &in.Body, &out.Body + *out = new(string) + **out = **in + } + if in.Headers != nil { + in, out := &in.Headers, &out.Headers + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.LogicAppID != nil { + in, out := &in.LogicAppID, &out.LogicAppID + *out = new(string) + **out = **in + } + if in.Method != nil { + in, out := &in.Method, &out.Method + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RunAfter != nil { + in, out := &in.RunAfter, &out.RunAfter + *out = make([]RunAfterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionHttpParameters. +func (in *AppActionHttpParameters) DeepCopy() *AppActionHttpParameters { + if in == nil { + return nil + } + out := new(AppActionHttpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionHttpSpec) DeepCopyInto(out *AppActionHttpSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionHttpSpec. +func (in *AppActionHttpSpec) DeepCopy() *AppActionHttpSpec { + if in == nil { + return nil + } + out := new(AppActionHttpSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppActionHttpStatus) DeepCopyInto(out *AppActionHttpStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppActionHttpStatus. +func (in *AppActionHttpStatus) DeepCopy() *AppActionHttpStatus { + if in == nil { + return nil + } + out := new(AppActionHttpStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccount) DeepCopyInto(out *AppIntegrationAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccount. +func (in *AppIntegrationAccount) DeepCopy() *AppIntegrationAccount { + if in == nil { + return nil + } + out := new(AppIntegrationAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAgreement) DeepCopyInto(out *AppIntegrationAccountAgreement) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAgreement. +func (in *AppIntegrationAccountAgreement) DeepCopy() *AppIntegrationAccountAgreement { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAgreement) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountAgreement) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAgreementList) DeepCopyInto(out *AppIntegrationAccountAgreementList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountAgreement, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAgreementList. +func (in *AppIntegrationAccountAgreementList) DeepCopy() *AppIntegrationAccountAgreementList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAgreementList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountAgreementList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAgreementObservation) DeepCopyInto(out *AppIntegrationAccountAgreementObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAgreementObservation. +func (in *AppIntegrationAccountAgreementObservation) DeepCopy() *AppIntegrationAccountAgreementObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAgreementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAgreementParameters) DeepCopyInto(out *AppIntegrationAccountAgreementParameters) { + *out = *in + if in.AgreementType != nil { + in, out := &in.AgreementType, &out.AgreementType + *out = new(string) + **out = **in + } + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.GuestIdentity != nil { + in, out := &in.GuestIdentity, &out.GuestIdentity + *out = make([]GuestIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GuestPartnerName != nil { + in, out := &in.GuestPartnerName, &out.GuestPartnerName + *out = new(string) + **out = **in + } + if in.HostIdentity != nil { + in, out := &in.HostIdentity, &out.HostIdentity + *out = make([]HostIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HostPartnerName != nil { + in, out := &in.HostPartnerName, &out.HostPartnerName + *out = new(string) + **out = **in + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAgreementParameters. +func (in *AppIntegrationAccountAgreementParameters) DeepCopy() *AppIntegrationAccountAgreementParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAgreementParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAgreementSpec) DeepCopyInto(out *AppIntegrationAccountAgreementSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAgreementSpec. +func (in *AppIntegrationAccountAgreementSpec) DeepCopy() *AppIntegrationAccountAgreementSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAgreementSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAgreementStatus) DeepCopyInto(out *AppIntegrationAccountAgreementStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAgreementStatus. +func (in *AppIntegrationAccountAgreementStatus) DeepCopy() *AppIntegrationAccountAgreementStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAgreementStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAssembly) DeepCopyInto(out *AppIntegrationAccountAssembly) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAssembly. +func (in *AppIntegrationAccountAssembly) DeepCopy() *AppIntegrationAccountAssembly { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAssembly) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountAssembly) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAssemblyList) DeepCopyInto(out *AppIntegrationAccountAssemblyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountAssembly, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAssemblyList. +func (in *AppIntegrationAccountAssemblyList) DeepCopy() *AppIntegrationAccountAssemblyList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAssemblyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountAssemblyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAssemblyObservation) DeepCopyInto(out *AppIntegrationAccountAssemblyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAssemblyObservation. +func (in *AppIntegrationAccountAssemblyObservation) DeepCopy() *AppIntegrationAccountAssemblyObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAssemblyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAssemblyParameters) DeepCopyInto(out *AppIntegrationAccountAssemblyParameters) { + *out = *in + if in.AssemblyName != nil { + in, out := &in.AssemblyName, &out.AssemblyName + *out = new(string) + **out = **in + } + if in.AssemblyVersion != nil { + in, out := &in.AssemblyVersion, &out.AssemblyVersion + *out = new(string) + **out = **in + } + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.ContentLinkURI != nil { + in, out := &in.ContentLinkURI, &out.ContentLinkURI + *out = new(string) + **out = **in + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAssemblyParameters. +func (in *AppIntegrationAccountAssemblyParameters) DeepCopy() *AppIntegrationAccountAssemblyParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAssemblyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAssemblySpec) DeepCopyInto(out *AppIntegrationAccountAssemblySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAssemblySpec. +func (in *AppIntegrationAccountAssemblySpec) DeepCopy() *AppIntegrationAccountAssemblySpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAssemblySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountAssemblyStatus) DeepCopyInto(out *AppIntegrationAccountAssemblyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountAssemblyStatus. +func (in *AppIntegrationAccountAssemblyStatus) DeepCopy() *AppIntegrationAccountAssemblyStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountAssemblyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountBatchConfiguration) DeepCopyInto(out *AppIntegrationAccountBatchConfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountBatchConfiguration. +func (in *AppIntegrationAccountBatchConfiguration) DeepCopy() *AppIntegrationAccountBatchConfiguration { + if in == nil { + return nil + } + out := new(AppIntegrationAccountBatchConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountBatchConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountBatchConfigurationList) DeepCopyInto(out *AppIntegrationAccountBatchConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountBatchConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountBatchConfigurationList. +func (in *AppIntegrationAccountBatchConfigurationList) DeepCopy() *AppIntegrationAccountBatchConfigurationList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountBatchConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountBatchConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountBatchConfigurationObservation) DeepCopyInto(out *AppIntegrationAccountBatchConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountBatchConfigurationObservation. +func (in *AppIntegrationAccountBatchConfigurationObservation) DeepCopy() *AppIntegrationAccountBatchConfigurationObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountBatchConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountBatchConfigurationParameters) DeepCopyInto(out *AppIntegrationAccountBatchConfigurationParameters) { + *out = *in + if in.BatchGroupName != nil { + in, out := &in.BatchGroupName, &out.BatchGroupName + *out = new(string) + **out = **in + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ReleaseCriteria != nil { + in, out := &in.ReleaseCriteria, &out.ReleaseCriteria + *out = make([]ReleaseCriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountBatchConfigurationParameters. +func (in *AppIntegrationAccountBatchConfigurationParameters) DeepCopy() *AppIntegrationAccountBatchConfigurationParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountBatchConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountBatchConfigurationSpec) DeepCopyInto(out *AppIntegrationAccountBatchConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountBatchConfigurationSpec. +func (in *AppIntegrationAccountBatchConfigurationSpec) DeepCopy() *AppIntegrationAccountBatchConfigurationSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountBatchConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountBatchConfigurationStatus) DeepCopyInto(out *AppIntegrationAccountBatchConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountBatchConfigurationStatus. +func (in *AppIntegrationAccountBatchConfigurationStatus) DeepCopy() *AppIntegrationAccountBatchConfigurationStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountBatchConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountList) DeepCopyInto(out *AppIntegrationAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountList. +func (in *AppIntegrationAccountList) DeepCopy() *AppIntegrationAccountList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountMap) DeepCopyInto(out *AppIntegrationAccountMap) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountMap. +func (in *AppIntegrationAccountMap) DeepCopy() *AppIntegrationAccountMap { + if in == nil { + return nil + } + out := new(AppIntegrationAccountMap) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountMap) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountMapList) DeepCopyInto(out *AppIntegrationAccountMapList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountMap, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountMapList. +func (in *AppIntegrationAccountMapList) DeepCopy() *AppIntegrationAccountMapList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountMapList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountMapList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountMapObservation) DeepCopyInto(out *AppIntegrationAccountMapObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountMapObservation. +func (in *AppIntegrationAccountMapObservation) DeepCopy() *AppIntegrationAccountMapObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountMapObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountMapParameters) DeepCopyInto(out *AppIntegrationAccountMapParameters) { + *out = *in + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.MapType != nil { + in, out := &in.MapType, &out.MapType + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountMapParameters. +func (in *AppIntegrationAccountMapParameters) DeepCopy() *AppIntegrationAccountMapParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountMapParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountMapSpec) DeepCopyInto(out *AppIntegrationAccountMapSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountMapSpec. +func (in *AppIntegrationAccountMapSpec) DeepCopy() *AppIntegrationAccountMapSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountMapSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountMapStatus) DeepCopyInto(out *AppIntegrationAccountMapStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountMapStatus. +func (in *AppIntegrationAccountMapStatus) DeepCopy() *AppIntegrationAccountMapStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountMapStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountObservation) DeepCopyInto(out *AppIntegrationAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountObservation. +func (in *AppIntegrationAccountObservation) DeepCopy() *AppIntegrationAccountObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountParameters) DeepCopyInto(out *AppIntegrationAccountParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountParameters. +func (in *AppIntegrationAccountParameters) DeepCopy() *AppIntegrationAccountParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountPartner) DeepCopyInto(out *AppIntegrationAccountPartner) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountPartner. +func (in *AppIntegrationAccountPartner) DeepCopy() *AppIntegrationAccountPartner { + if in == nil { + return nil + } + out := new(AppIntegrationAccountPartner) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountPartner) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountPartnerList) DeepCopyInto(out *AppIntegrationAccountPartnerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountPartner, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountPartnerList. +func (in *AppIntegrationAccountPartnerList) DeepCopy() *AppIntegrationAccountPartnerList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountPartnerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountPartnerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountPartnerObservation) DeepCopyInto(out *AppIntegrationAccountPartnerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountPartnerObservation. +func (in *AppIntegrationAccountPartnerObservation) DeepCopy() *AppIntegrationAccountPartnerObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountPartnerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountPartnerParameters) DeepCopyInto(out *AppIntegrationAccountPartnerParameters) { + *out = *in + if in.BusinessIdentity != nil { + in, out := &in.BusinessIdentity, &out.BusinessIdentity + *out = make([]BusinessIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountPartnerParameters. +func (in *AppIntegrationAccountPartnerParameters) DeepCopy() *AppIntegrationAccountPartnerParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountPartnerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountPartnerSpec) DeepCopyInto(out *AppIntegrationAccountPartnerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountPartnerSpec. +func (in *AppIntegrationAccountPartnerSpec) DeepCopy() *AppIntegrationAccountPartnerSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountPartnerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountPartnerStatus) DeepCopyInto(out *AppIntegrationAccountPartnerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountPartnerStatus. +func (in *AppIntegrationAccountPartnerStatus) DeepCopy() *AppIntegrationAccountPartnerStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountPartnerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSchema) DeepCopyInto(out *AppIntegrationAccountSchema) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSchema. +func (in *AppIntegrationAccountSchema) DeepCopy() *AppIntegrationAccountSchema { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSchema) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountSchema) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSchemaList) DeepCopyInto(out *AppIntegrationAccountSchemaList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountSchema, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSchemaList. +func (in *AppIntegrationAccountSchemaList) DeepCopy() *AppIntegrationAccountSchemaList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSchemaList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountSchemaList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSchemaObservation) DeepCopyInto(out *AppIntegrationAccountSchemaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSchemaObservation. +func (in *AppIntegrationAccountSchemaObservation) DeepCopy() *AppIntegrationAccountSchemaObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSchemaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSchemaParameters) DeepCopyInto(out *AppIntegrationAccountSchemaParameters) { + *out = *in + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.FileName != nil { + in, out := &in.FileName, &out.FileName + *out = new(string) + **out = **in + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSchemaParameters. +func (in *AppIntegrationAccountSchemaParameters) DeepCopy() *AppIntegrationAccountSchemaParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSchemaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSchemaSpec) DeepCopyInto(out *AppIntegrationAccountSchemaSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSchemaSpec. +func (in *AppIntegrationAccountSchemaSpec) DeepCopy() *AppIntegrationAccountSchemaSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSchemaSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSchemaStatus) DeepCopyInto(out *AppIntegrationAccountSchemaStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSchemaStatus. +func (in *AppIntegrationAccountSchemaStatus) DeepCopy() *AppIntegrationAccountSchemaStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSchemaStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSession) DeepCopyInto(out *AppIntegrationAccountSession) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSession. +func (in *AppIntegrationAccountSession) DeepCopy() *AppIntegrationAccountSession { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSession) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountSession) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSessionList) DeepCopyInto(out *AppIntegrationAccountSessionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppIntegrationAccountSession, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSessionList. +func (in *AppIntegrationAccountSessionList) DeepCopy() *AppIntegrationAccountSessionList { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSessionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppIntegrationAccountSessionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSessionObservation) DeepCopyInto(out *AppIntegrationAccountSessionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSessionObservation. +func (in *AppIntegrationAccountSessionObservation) DeepCopy() *AppIntegrationAccountSessionObservation { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSessionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSessionParameters) DeepCopyInto(out *AppIntegrationAccountSessionParameters) { + *out = *in + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.IntegrationAccountName != nil { + in, out := &in.IntegrationAccountName, &out.IntegrationAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSessionParameters. +func (in *AppIntegrationAccountSessionParameters) DeepCopy() *AppIntegrationAccountSessionParameters { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSessionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSessionSpec) DeepCopyInto(out *AppIntegrationAccountSessionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSessionSpec. +func (in *AppIntegrationAccountSessionSpec) DeepCopy() *AppIntegrationAccountSessionSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSessionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSessionStatus) DeepCopyInto(out *AppIntegrationAccountSessionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSessionStatus. +func (in *AppIntegrationAccountSessionStatus) DeepCopy() *AppIntegrationAccountSessionStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSessionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountSpec) DeepCopyInto(out *AppIntegrationAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountSpec. +func (in *AppIntegrationAccountSpec) DeepCopy() *AppIntegrationAccountSpec { + if in == nil { + return nil + } + out := new(AppIntegrationAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppIntegrationAccountStatus) DeepCopyInto(out *AppIntegrationAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppIntegrationAccountStatus. +func (in *AppIntegrationAccountStatus) DeepCopy() *AppIntegrationAccountStatus { + if in == nil { + return nil + } + out := new(AppIntegrationAccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerCustom) DeepCopyInto(out *AppTriggerCustom) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerCustom. +func (in *AppTriggerCustom) DeepCopy() *AppTriggerCustom { + if in == nil { + return nil + } + out := new(AppTriggerCustom) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppTriggerCustom) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerCustomList) DeepCopyInto(out *AppTriggerCustomList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppTriggerCustom, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerCustomList. +func (in *AppTriggerCustomList) DeepCopy() *AppTriggerCustomList { + if in == nil { + return nil + } + out := new(AppTriggerCustomList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppTriggerCustomList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerCustomObservation) DeepCopyInto(out *AppTriggerCustomObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerCustomObservation. +func (in *AppTriggerCustomObservation) DeepCopy() *AppTriggerCustomObservation { + if in == nil { + return nil + } + out := new(AppTriggerCustomObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerCustomParameters) DeepCopyInto(out *AppTriggerCustomParameters) { + *out = *in + if in.Body != nil { + in, out := &in.Body, &out.Body + *out = new(string) + **out = **in + } + if in.LogicAppID != nil { + in, out := &in.LogicAppID, &out.LogicAppID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerCustomParameters. +func (in *AppTriggerCustomParameters) DeepCopy() *AppTriggerCustomParameters { + if in == nil { + return nil + } + out := new(AppTriggerCustomParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerCustomSpec) DeepCopyInto(out *AppTriggerCustomSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerCustomSpec. +func (in *AppTriggerCustomSpec) DeepCopy() *AppTriggerCustomSpec { + if in == nil { + return nil + } + out := new(AppTriggerCustomSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerCustomStatus) DeepCopyInto(out *AppTriggerCustomStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerCustomStatus. +func (in *AppTriggerCustomStatus) DeepCopy() *AppTriggerCustomStatus { + if in == nil { + return nil + } + out := new(AppTriggerCustomStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerHttpRequest) DeepCopyInto(out *AppTriggerHttpRequest) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerHttpRequest. +func (in *AppTriggerHttpRequest) DeepCopy() *AppTriggerHttpRequest { + if in == nil { + return nil + } + out := new(AppTriggerHttpRequest) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppTriggerHttpRequest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerHttpRequestList) DeepCopyInto(out *AppTriggerHttpRequestList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppTriggerHttpRequest, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerHttpRequestList. +func (in *AppTriggerHttpRequestList) DeepCopy() *AppTriggerHttpRequestList { + if in == nil { + return nil + } + out := new(AppTriggerHttpRequestList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppTriggerHttpRequestList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerHttpRequestObservation) DeepCopyInto(out *AppTriggerHttpRequestObservation) { + *out = *in + if in.CallbackURL != nil { + in, out := &in.CallbackURL, &out.CallbackURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerHttpRequestObservation. +func (in *AppTriggerHttpRequestObservation) DeepCopy() *AppTriggerHttpRequestObservation { + if in == nil { + return nil + } + out := new(AppTriggerHttpRequestObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerHttpRequestParameters) DeepCopyInto(out *AppTriggerHttpRequestParameters) { + *out = *in + if in.LogicAppID != nil { + in, out := &in.LogicAppID, &out.LogicAppID + *out = new(string) + **out = **in + } + if in.Method != nil { + in, out := &in.Method, &out.Method + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RelativePath != nil { + in, out := &in.RelativePath, &out.RelativePath + *out = new(string) + **out = **in + } + if in.Schema != nil { + in, out := &in.Schema, &out.Schema + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerHttpRequestParameters. +func (in *AppTriggerHttpRequestParameters) DeepCopy() *AppTriggerHttpRequestParameters { + if in == nil { + return nil + } + out := new(AppTriggerHttpRequestParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerHttpRequestSpec) DeepCopyInto(out *AppTriggerHttpRequestSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerHttpRequestSpec. +func (in *AppTriggerHttpRequestSpec) DeepCopy() *AppTriggerHttpRequestSpec { + if in == nil { + return nil + } + out := new(AppTriggerHttpRequestSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerHttpRequestStatus) DeepCopyInto(out *AppTriggerHttpRequestStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerHttpRequestStatus. +func (in *AppTriggerHttpRequestStatus) DeepCopy() *AppTriggerHttpRequestStatus { + if in == nil { + return nil + } + out := new(AppTriggerHttpRequestStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrence) DeepCopyInto(out *AppTriggerRecurrence) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrence. +func (in *AppTriggerRecurrence) DeepCopy() *AppTriggerRecurrence { + if in == nil { + return nil + } + out := new(AppTriggerRecurrence) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppTriggerRecurrence) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceList) DeepCopyInto(out *AppTriggerRecurrenceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppTriggerRecurrence, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceList. +func (in *AppTriggerRecurrenceList) DeepCopy() *AppTriggerRecurrenceList { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppTriggerRecurrenceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceObservation) DeepCopyInto(out *AppTriggerRecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceObservation. +func (in *AppTriggerRecurrenceObservation) DeepCopy() *AppTriggerRecurrenceObservation { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceParameters) DeepCopyInto(out *AppTriggerRecurrenceParameters) { + *out = *in + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int64) + **out = **in + } + if in.LogicAppID != nil { + in, out := &in.LogicAppID, &out.LogicAppID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]AppTriggerRecurrenceScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } + if in.TimeZone != nil { + in, out := &in.TimeZone, &out.TimeZone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceParameters. +func (in *AppTriggerRecurrenceParameters) DeepCopy() *AppTriggerRecurrenceParameters { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceScheduleObservation) DeepCopyInto(out *AppTriggerRecurrenceScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceScheduleObservation. +func (in *AppTriggerRecurrenceScheduleObservation) DeepCopy() *AppTriggerRecurrenceScheduleObservation { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceScheduleParameters) DeepCopyInto(out *AppTriggerRecurrenceScheduleParameters) { + *out = *in + if in.AtTheseHours != nil { + in, out := &in.AtTheseHours, &out.AtTheseHours + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.AtTheseMinutes != nil { + in, out := &in.AtTheseMinutes, &out.AtTheseMinutes + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.OnTheseDays != nil { + in, out := &in.OnTheseDays, &out.OnTheseDays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceScheduleParameters. +func (in *AppTriggerRecurrenceScheduleParameters) DeepCopy() *AppTriggerRecurrenceScheduleParameters { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceSpec) DeepCopyInto(out *AppTriggerRecurrenceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceSpec. +func (in *AppTriggerRecurrenceSpec) DeepCopy() *AppTriggerRecurrenceSpec { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppTriggerRecurrenceStatus) DeepCopyInto(out *AppTriggerRecurrenceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTriggerRecurrenceStatus. +func (in *AppTriggerRecurrenceStatus) DeepCopy() *AppTriggerRecurrenceStatus { + if in == nil { + return nil + } + out := new(AppTriggerRecurrenceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppWorkflow) DeepCopyInto(out *AppWorkflow) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppWorkflow. +func (in *AppWorkflow) DeepCopy() *AppWorkflow { + if in == nil { + return nil + } + out := new(AppWorkflow) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppWorkflow) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppWorkflowList) DeepCopyInto(out *AppWorkflowList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AppWorkflow, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppWorkflowList. +func (in *AppWorkflowList) DeepCopy() *AppWorkflowList { + if in == nil { + return nil + } + out := new(AppWorkflowList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AppWorkflowList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppWorkflowObservation) DeepCopyInto(out *AppWorkflowObservation) { + *out = *in + if in.AccessEndpoint != nil { + in, out := &in.AccessEndpoint, &out.AccessEndpoint + *out = new(string) + **out = **in + } + if in.ConnectorEndpointIPAddresses != nil { + in, out := &in.ConnectorEndpointIPAddresses, &out.ConnectorEndpointIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ConnectorOutboundIPAddresses != nil { + in, out := &in.ConnectorOutboundIPAddresses, &out.ConnectorOutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WorkflowEndpointIPAddresses != nil { + in, out := &in.WorkflowEndpointIPAddresses, &out.WorkflowEndpointIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.WorkflowOutboundIPAddresses != nil { + in, out := &in.WorkflowOutboundIPAddresses, &out.WorkflowOutboundIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppWorkflowObservation. +func (in *AppWorkflowObservation) DeepCopy() *AppWorkflowObservation { + if in == nil { + return nil + } + out := new(AppWorkflowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppWorkflowParameters) DeepCopyInto(out *AppWorkflowParameters) { + *out = *in + if in.AccessControl != nil { + in, out := &in.AccessControl, &out.AccessControl + *out = make([]AccessControlParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.IntegrationServiceEnvironmentID != nil { + in, out := &in.IntegrationServiceEnvironmentID, &out.IntegrationServiceEnvironmentID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LogicAppIntegrationAccountID != nil { + in, out := &in.LogicAppIntegrationAccountID, &out.LogicAppIntegrationAccountID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WorkflowParameters != nil { + in, out := &in.WorkflowParameters, &out.WorkflowParameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.WorkflowSchema != nil { + in, out := &in.WorkflowSchema, &out.WorkflowSchema + *out = new(string) + **out = **in + } + if in.WorkflowVersion != nil { + in, out := &in.WorkflowVersion, &out.WorkflowVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppWorkflowParameters. +func (in *AppWorkflowParameters) DeepCopy() *AppWorkflowParameters { + if in == nil { + return nil + } + out := new(AppWorkflowParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppWorkflowSpec) DeepCopyInto(out *AppWorkflowSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppWorkflowSpec. +func (in *AppWorkflowSpec) DeepCopy() *AppWorkflowSpec { + if in == nil { + return nil + } + out := new(AppWorkflowSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AppWorkflowStatus) DeepCopyInto(out *AppWorkflowStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppWorkflowStatus. +func (in *AppWorkflowStatus) DeepCopy() *AppWorkflowStatus { + if in == nil { + return nil + } + out := new(AppWorkflowStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BusinessIdentityObservation) DeepCopyInto(out *BusinessIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BusinessIdentityObservation. +func (in *BusinessIdentityObservation) DeepCopy() *BusinessIdentityObservation { + if in == nil { + return nil + } + out := new(BusinessIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BusinessIdentityParameters) DeepCopyInto(out *BusinessIdentityParameters) { + *out = *in + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BusinessIdentityParameters. +func (in *BusinessIdentityParameters) DeepCopy() *BusinessIdentityParameters { + if in == nil { + return nil + } + out := new(BusinessIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentObservation) DeepCopyInto(out *ContentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentObservation. +func (in *ContentObservation) DeepCopy() *ContentObservation { + if in == nil { + return nil + } + out := new(ContentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentParameters) DeepCopyInto(out *ContentParameters) { + *out = *in + if in.AllowedCallerIPAddressRange != nil { + in, out := &in.AllowedCallerIPAddressRange, &out.AllowedCallerIPAddressRange + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentParameters. +func (in *ContentParameters) DeepCopy() *ContentParameters { + if in == nil { + return nil + } + out := new(ContentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GuestIdentityObservation) DeepCopyInto(out *GuestIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestIdentityObservation. +func (in *GuestIdentityObservation) DeepCopy() *GuestIdentityObservation { + if in == nil { + return nil + } + out := new(GuestIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GuestIdentityParameters) DeepCopyInto(out *GuestIdentityParameters) { + *out = *in + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GuestIdentityParameters. +func (in *GuestIdentityParameters) DeepCopy() *GuestIdentityParameters { + if in == nil { + return nil + } + out := new(GuestIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostIdentityObservation) DeepCopyInto(out *HostIdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostIdentityObservation. +func (in *HostIdentityObservation) DeepCopy() *HostIdentityObservation { + if in == nil { + return nil + } + out := new(HostIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HostIdentityParameters) DeepCopyInto(out *HostIdentityParameters) { + *out = *in + if in.Qualifier != nil { + in, out := &in.Qualifier, &out.Qualifier + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostIdentityParameters. +func (in *HostIdentityParameters) DeepCopy() *HostIdentityParameters { + if in == nil { + return nil + } + out := new(HostIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonthlyObservation) DeepCopyInto(out *MonthlyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonthlyObservation. +func (in *MonthlyObservation) DeepCopy() *MonthlyObservation { + if in == nil { + return nil + } + out := new(MonthlyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonthlyParameters) DeepCopyInto(out *MonthlyParameters) { + *out = *in + if in.Week != nil { + in, out := &in.Week, &out.Week + *out = new(int64) + **out = **in + } + if in.Weekday != nil { + in, out := &in.Weekday, &out.Weekday + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonthlyParameters. +func (in *MonthlyParameters) DeepCopy() *MonthlyParameters { + if in == nil { + return nil + } + out := new(MonthlyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceObservation) DeepCopyInto(out *RecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceObservation. +func (in *RecurrenceObservation) DeepCopy() *RecurrenceObservation { + if in == nil { + return nil + } + out := new(RecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceParameters) DeepCopyInto(out *RecurrenceParameters) { + *out = *in + if in.EndTime != nil { + in, out := &in.EndTime, &out.EndTime + *out = new(string) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(int64) + **out = **in + } + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]ScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } + if in.TimeZone != nil { + in, out := &in.TimeZone, &out.TimeZone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceParameters. +func (in *RecurrenceParameters) DeepCopy() *RecurrenceParameters { + if in == nil { + return nil + } + out := new(RecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReleaseCriteriaObservation) DeepCopyInto(out *ReleaseCriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseCriteriaObservation. +func (in *ReleaseCriteriaObservation) DeepCopy() *ReleaseCriteriaObservation { + if in == nil { + return nil + } + out := new(ReleaseCriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReleaseCriteriaParameters) DeepCopyInto(out *ReleaseCriteriaParameters) { + *out = *in + if in.BatchSize != nil { + in, out := &in.BatchSize, &out.BatchSize + *out = new(int64) + **out = **in + } + if in.MessageCount != nil { + in, out := &in.MessageCount, &out.MessageCount + *out = new(int64) + **out = **in + } + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = make([]RecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseCriteriaParameters. +func (in *ReleaseCriteriaParameters) DeepCopy() *ReleaseCriteriaParameters { + if in == nil { + return nil + } + out := new(ReleaseCriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAfterObservation) DeepCopyInto(out *RunAfterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAfterObservation. +func (in *RunAfterObservation) DeepCopy() *RunAfterObservation { + if in == nil { + return nil + } + out := new(RunAfterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RunAfterParameters) DeepCopyInto(out *RunAfterParameters) { + *out = *in + if in.ActionName != nil { + in, out := &in.ActionName, &out.ActionName + *out = new(string) + **out = **in + } + if in.ActionResult != nil { + in, out := &in.ActionResult, &out.ActionResult + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAfterParameters. +func (in *RunAfterParameters) DeepCopy() *RunAfterParameters { + if in == nil { + return nil + } + out := new(RunAfterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation. +func (in *ScheduleObservation) DeepCopy() *ScheduleObservation { + if in == nil { + return nil + } + out := new(ScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { + *out = *in + if in.Hours != nil { + in, out := &in.Hours, &out.Hours + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.Minutes != nil { + in, out := &in.Minutes, &out.Minutes + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.MonthDays != nil { + in, out := &in.MonthDays, &out.MonthDays + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.Monthly != nil { + in, out := &in.Monthly, &out.Monthly + *out = make([]MonthlyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WeekDays != nil { + in, out := &in.WeekDays, &out.WeekDays + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters. +func (in *ScheduleParameters) DeepCopy() *ScheduleParameters { + if in == nil { + return nil + } + out := new(ScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerObservation. +func (in *TriggerObservation) DeepCopy() *TriggerObservation { + if in == nil { + return nil + } + out := new(TriggerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters) { + *out = *in + if in.AllowedCallerIPAddressRange != nil { + in, out := &in.AllowedCallerIPAddressRange, &out.AllowedCallerIPAddressRange + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameters. +func (in *TriggerParameters) DeepCopy() *TriggerParameters { + if in == nil { + return nil + } + out := new(TriggerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkflowManagementObservation) DeepCopyInto(out *WorkflowManagementObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowManagementObservation. +func (in *WorkflowManagementObservation) DeepCopy() *WorkflowManagementObservation { + if in == nil { + return nil + } + out := new(WorkflowManagementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkflowManagementParameters) DeepCopyInto(out *WorkflowManagementParameters) { + *out = *in + if in.AllowedCallerIPAddressRange != nil { + in, out := &in.AllowedCallerIPAddressRange, &out.AllowedCallerIPAddressRange + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowManagementParameters. +func (in *WorkflowManagementParameters) DeepCopy() *WorkflowManagementParameters { + if in == nil { + return nil + } + out := new(WorkflowManagementParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/logic/v1alpha1/zz_generated.managed.go b/apis/logic/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..6905ff397 --- /dev/null +++ b/apis/logic/v1alpha1/zz_generated.managed.go @@ -0,0 +1,804 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AppActionCustom. +func (mg *AppActionCustom) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppActionCustom. +func (mg *AppActionCustom) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppActionCustom. +func (mg *AppActionCustom) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppActionCustom. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppActionCustom) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppActionCustom. +func (mg *AppActionCustom) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppActionCustom. +func (mg *AppActionCustom) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppActionCustom. +func (mg *AppActionCustom) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppActionCustom. +func (mg *AppActionCustom) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppActionCustom. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppActionCustom) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppActionCustom. +func (mg *AppActionCustom) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppActionHttp. +func (mg *AppActionHttp) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppActionHttp. +func (mg *AppActionHttp) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppActionHttp. +func (mg *AppActionHttp) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppActionHttp. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppActionHttp) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppActionHttp. +func (mg *AppActionHttp) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppActionHttp. +func (mg *AppActionHttp) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppActionHttp. +func (mg *AppActionHttp) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppActionHttp. +func (mg *AppActionHttp) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppActionHttp. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppActionHttp) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppActionHttp. +func (mg *AppActionHttp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccount. +func (mg *AppIntegrationAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountAgreement. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountAgreement) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountAgreement. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountAgreement) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountAgreement. +func (mg *AppIntegrationAccountAgreement) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountAssembly. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountAssembly) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountAssembly. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountAssembly) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountAssembly. +func (mg *AppIntegrationAccountAssembly) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountBatchConfiguration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountBatchConfiguration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountBatchConfiguration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountBatchConfiguration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountBatchConfiguration. +func (mg *AppIntegrationAccountBatchConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountMap. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountMap) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountMap. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountMap) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountMap. +func (mg *AppIntegrationAccountMap) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountPartner. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountPartner) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountPartner. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountPartner) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountPartner. +func (mg *AppIntegrationAccountPartner) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountSchema. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountSchema) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountSchema. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountSchema) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountSchema. +func (mg *AppIntegrationAccountSchema) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppIntegrationAccountSession. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountSession) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppIntegrationAccountSession. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppIntegrationAccountSession) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppIntegrationAccountSession. +func (mg *AppIntegrationAccountSession) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppTriggerCustom. +func (mg *AppTriggerCustom) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppTriggerCustom. +func (mg *AppTriggerCustom) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppTriggerCustom. +func (mg *AppTriggerCustom) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppTriggerCustom. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppTriggerCustom) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppTriggerCustom. +func (mg *AppTriggerCustom) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppTriggerCustom. +func (mg *AppTriggerCustom) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppTriggerCustom. +func (mg *AppTriggerCustom) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppTriggerCustom. +func (mg *AppTriggerCustom) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppTriggerCustom. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppTriggerCustom) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppTriggerCustom. +func (mg *AppTriggerCustom) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppTriggerHttpRequest. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppTriggerHttpRequest) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppTriggerHttpRequest. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppTriggerHttpRequest) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppTriggerHttpRequest. +func (mg *AppTriggerHttpRequest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppTriggerRecurrence. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppTriggerRecurrence) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppTriggerRecurrence. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppTriggerRecurrence) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppTriggerRecurrence. +func (mg *AppTriggerRecurrence) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AppWorkflow. +func (mg *AppWorkflow) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AppWorkflow. +func (mg *AppWorkflow) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AppWorkflow. +func (mg *AppWorkflow) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AppWorkflow. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AppWorkflow) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AppWorkflow. +func (mg *AppWorkflow) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AppWorkflow. +func (mg *AppWorkflow) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AppWorkflow. +func (mg *AppWorkflow) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AppWorkflow. +func (mg *AppWorkflow) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AppWorkflow. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AppWorkflow) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AppWorkflow. +func (mg *AppWorkflow) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/logic/v1alpha1/zz_generated.managedlist.go b/apis/logic/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b51f12005 --- /dev/null +++ b/apis/logic/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,146 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AppActionCustomList. +func (l *AppActionCustomList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppActionHttpList. +func (l *AppActionHttpList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountAgreementList. +func (l *AppIntegrationAccountAgreementList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountAssemblyList. +func (l *AppIntegrationAccountAssemblyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountBatchConfigurationList. +func (l *AppIntegrationAccountBatchConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountList. +func (l *AppIntegrationAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountMapList. +func (l *AppIntegrationAccountMapList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountPartnerList. +func (l *AppIntegrationAccountPartnerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountSchemaList. +func (l *AppIntegrationAccountSchemaList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppIntegrationAccountSessionList. +func (l *AppIntegrationAccountSessionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppTriggerCustomList. +func (l *AppTriggerCustomList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppTriggerHttpRequestList. +func (l *AppTriggerHttpRequestList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppTriggerRecurrenceList. +func (l *AppTriggerRecurrenceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AppWorkflowList. +func (l *AppWorkflowList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/logic/v1alpha1/zz_groupversion_info.go b/apis/logic/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f96af8f27 --- /dev/null +++ b/apis/logic/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=logic.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "logic.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/machine/v1alpha1/zz_generated.deepcopy.go b/apis/machine/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..e3b472cd9 --- /dev/null +++ b/apis/machine/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1191 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignToUserObservation) DeepCopyInto(out *AssignToUserObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignToUserObservation. +func (in *AssignToUserObservation) DeepCopy() *AssignToUserObservation { + if in == nil { + return nil + } + out := new(AssignToUserObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignToUserParameters) DeepCopyInto(out *AssignToUserParameters) { + *out = *in + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignToUserParameters. +func (in *AssignToUserParameters) DeepCopy() *AssignToUserParameters { + if in == nil { + return nil + } + out := new(AssignToUserParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeCluster) DeepCopyInto(out *LearningComputeCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeCluster. +func (in *LearningComputeCluster) DeepCopy() *LearningComputeCluster { + if in == nil { + return nil + } + out := new(LearningComputeCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningComputeCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeClusterList) DeepCopyInto(out *LearningComputeClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LearningComputeCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeClusterList. +func (in *LearningComputeClusterList) DeepCopy() *LearningComputeClusterList { + if in == nil { + return nil + } + out := new(LearningComputeClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningComputeClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeClusterObservation) DeepCopyInto(out *LearningComputeClusterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeClusterObservation. +func (in *LearningComputeClusterObservation) DeepCopy() *LearningComputeClusterObservation { + if in == nil { + return nil + } + out := new(LearningComputeClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeClusterParameters) DeepCopyInto(out *LearningComputeClusterParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MachineLearningWorkspaceID != nil { + in, out := &in.MachineLearningWorkspaceID, &out.MachineLearningWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SSH != nil { + in, out := &in.SSH, &out.SSH + *out = make([]SSHParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SSHPublicAccessEnabled != nil { + in, out := &in.SSHPublicAccessEnabled, &out.SSHPublicAccessEnabled + *out = new(bool) + **out = **in + } + if in.ScaleSettings != nil { + in, out := &in.ScaleSettings, &out.ScaleSettings + *out = make([]ScaleSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetResourceID != nil { + in, out := &in.SubnetResourceID, &out.SubnetResourceID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VMPriority != nil { + in, out := &in.VMPriority, &out.VMPriority + *out = new(string) + **out = **in + } + if in.VMSize != nil { + in, out := &in.VMSize, &out.VMSize + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeClusterParameters. +func (in *LearningComputeClusterParameters) DeepCopy() *LearningComputeClusterParameters { + if in == nil { + return nil + } + out := new(LearningComputeClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeClusterSpec) DeepCopyInto(out *LearningComputeClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeClusterSpec. +func (in *LearningComputeClusterSpec) DeepCopy() *LearningComputeClusterSpec { + if in == nil { + return nil + } + out := new(LearningComputeClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeClusterStatus) DeepCopyInto(out *LearningComputeClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeClusterStatus. +func (in *LearningComputeClusterStatus) DeepCopy() *LearningComputeClusterStatus { + if in == nil { + return nil + } + out := new(LearningComputeClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstance) DeepCopyInto(out *LearningComputeInstance) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstance. +func (in *LearningComputeInstance) DeepCopy() *LearningComputeInstance { + if in == nil { + return nil + } + out := new(LearningComputeInstance) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningComputeInstance) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceIdentityObservation) DeepCopyInto(out *LearningComputeInstanceIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceIdentityObservation. +func (in *LearningComputeInstanceIdentityObservation) DeepCopy() *LearningComputeInstanceIdentityObservation { + if in == nil { + return nil + } + out := new(LearningComputeInstanceIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceIdentityParameters) DeepCopyInto(out *LearningComputeInstanceIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceIdentityParameters. +func (in *LearningComputeInstanceIdentityParameters) DeepCopy() *LearningComputeInstanceIdentityParameters { + if in == nil { + return nil + } + out := new(LearningComputeInstanceIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceList) DeepCopyInto(out *LearningComputeInstanceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LearningComputeInstance, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceList. +func (in *LearningComputeInstanceList) DeepCopy() *LearningComputeInstanceList { + if in == nil { + return nil + } + out := new(LearningComputeInstanceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningComputeInstanceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceObservation) DeepCopyInto(out *LearningComputeInstanceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceObservation. +func (in *LearningComputeInstanceObservation) DeepCopy() *LearningComputeInstanceObservation { + if in == nil { + return nil + } + out := new(LearningComputeInstanceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceParameters) DeepCopyInto(out *LearningComputeInstanceParameters) { + *out = *in + if in.AssignToUser != nil { + in, out := &in.AssignToUser, &out.AssignToUser + *out = make([]AssignToUserParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AuthorizationType != nil { + in, out := &in.AuthorizationType, &out.AuthorizationType + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]LearningComputeInstanceIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MachineLearningWorkspaceID != nil { + in, out := &in.MachineLearningWorkspaceID, &out.MachineLearningWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SSH != nil { + in, out := &in.SSH, &out.SSH + *out = make([]LearningComputeInstanceSSHParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetResourceID != nil { + in, out := &in.SubnetResourceID, &out.SubnetResourceID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualMachineSize != nil { + in, out := &in.VirtualMachineSize, &out.VirtualMachineSize + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceParameters. +func (in *LearningComputeInstanceParameters) DeepCopy() *LearningComputeInstanceParameters { + if in == nil { + return nil + } + out := new(LearningComputeInstanceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceSSHObservation) DeepCopyInto(out *LearningComputeInstanceSSHObservation) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceSSHObservation. +func (in *LearningComputeInstanceSSHObservation) DeepCopy() *LearningComputeInstanceSSHObservation { + if in == nil { + return nil + } + out := new(LearningComputeInstanceSSHObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceSSHParameters) DeepCopyInto(out *LearningComputeInstanceSSHParameters) { + *out = *in + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceSSHParameters. +func (in *LearningComputeInstanceSSHParameters) DeepCopy() *LearningComputeInstanceSSHParameters { + if in == nil { + return nil + } + out := new(LearningComputeInstanceSSHParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceSpec) DeepCopyInto(out *LearningComputeInstanceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceSpec. +func (in *LearningComputeInstanceSpec) DeepCopy() *LearningComputeInstanceSpec { + if in == nil { + return nil + } + out := new(LearningComputeInstanceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningComputeInstanceStatus) DeepCopyInto(out *LearningComputeInstanceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningComputeInstanceStatus. +func (in *LearningComputeInstanceStatus) DeepCopy() *LearningComputeInstanceStatus { + if in == nil { + return nil + } + out := new(LearningComputeInstanceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSpark) DeepCopyInto(out *LearningSynapseSpark) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSpark. +func (in *LearningSynapseSpark) DeepCopy() *LearningSynapseSpark { + if in == nil { + return nil + } + out := new(LearningSynapseSpark) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningSynapseSpark) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkIdentityObservation) DeepCopyInto(out *LearningSynapseSparkIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkIdentityObservation. +func (in *LearningSynapseSparkIdentityObservation) DeepCopy() *LearningSynapseSparkIdentityObservation { + if in == nil { + return nil + } + out := new(LearningSynapseSparkIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkIdentityParameters) DeepCopyInto(out *LearningSynapseSparkIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkIdentityParameters. +func (in *LearningSynapseSparkIdentityParameters) DeepCopy() *LearningSynapseSparkIdentityParameters { + if in == nil { + return nil + } + out := new(LearningSynapseSparkIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkList) DeepCopyInto(out *LearningSynapseSparkList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LearningSynapseSpark, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkList. +func (in *LearningSynapseSparkList) DeepCopy() *LearningSynapseSparkList { + if in == nil { + return nil + } + out := new(LearningSynapseSparkList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningSynapseSparkList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkObservation) DeepCopyInto(out *LearningSynapseSparkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkObservation. +func (in *LearningSynapseSparkObservation) DeepCopy() *LearningSynapseSparkObservation { + if in == nil { + return nil + } + out := new(LearningSynapseSparkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkParameters) DeepCopyInto(out *LearningSynapseSparkParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]LearningSynapseSparkIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MachineLearningWorkspaceID != nil { + in, out := &in.MachineLearningWorkspaceID, &out.MachineLearningWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SynapseSparkPoolID != nil { + in, out := &in.SynapseSparkPoolID, &out.SynapseSparkPoolID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkParameters. +func (in *LearningSynapseSparkParameters) DeepCopy() *LearningSynapseSparkParameters { + if in == nil { + return nil + } + out := new(LearningSynapseSparkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkSpec) DeepCopyInto(out *LearningSynapseSparkSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkSpec. +func (in *LearningSynapseSparkSpec) DeepCopy() *LearningSynapseSparkSpec { + if in == nil { + return nil + } + out := new(LearningSynapseSparkSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningSynapseSparkStatus) DeepCopyInto(out *LearningSynapseSparkStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningSynapseSparkStatus. +func (in *LearningSynapseSparkStatus) DeepCopy() *LearningSynapseSparkStatus { + if in == nil { + return nil + } + out := new(LearningSynapseSparkStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspace) DeepCopyInto(out *LearningWorkspace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspace. +func (in *LearningWorkspace) DeepCopy() *LearningWorkspace { + if in == nil { + return nil + } + out := new(LearningWorkspace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningWorkspace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceIdentityObservation) DeepCopyInto(out *LearningWorkspaceIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceIdentityObservation. +func (in *LearningWorkspaceIdentityObservation) DeepCopy() *LearningWorkspaceIdentityObservation { + if in == nil { + return nil + } + out := new(LearningWorkspaceIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceIdentityParameters) DeepCopyInto(out *LearningWorkspaceIdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceIdentityParameters. +func (in *LearningWorkspaceIdentityParameters) DeepCopy() *LearningWorkspaceIdentityParameters { + if in == nil { + return nil + } + out := new(LearningWorkspaceIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceList) DeepCopyInto(out *LearningWorkspaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LearningWorkspace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceList. +func (in *LearningWorkspaceList) DeepCopy() *LearningWorkspaceList { + if in == nil { + return nil + } + out := new(LearningWorkspaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LearningWorkspaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceObservation) DeepCopyInto(out *LearningWorkspaceObservation) { + *out = *in + if in.DiscoveryURL != nil { + in, out := &in.DiscoveryURL, &out.DiscoveryURL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceObservation. +func (in *LearningWorkspaceObservation) DeepCopy() *LearningWorkspaceObservation { + if in == nil { + return nil + } + out := new(LearningWorkspaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceParameters) DeepCopyInto(out *LearningWorkspaceParameters) { + *out = *in + if in.ApplicationInsightsID != nil { + in, out := &in.ApplicationInsightsID, &out.ApplicationInsightsID + *out = new(string) + **out = **in + } + if in.ContainerRegistryID != nil { + in, out := &in.ContainerRegistryID, &out.ContainerRegistryID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.FriendlyName != nil { + in, out := &in.FriendlyName, &out.FriendlyName + *out = new(string) + **out = **in + } + if in.HighBusinessImpact != nil { + in, out := &in.HighBusinessImpact, &out.HighBusinessImpact + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]LearningWorkspaceIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ImageBuildComputeName != nil { + in, out := &in.ImageBuildComputeName, &out.ImageBuildComputeName + *out = new(string) + **out = **in + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceParameters. +func (in *LearningWorkspaceParameters) DeepCopy() *LearningWorkspaceParameters { + if in == nil { + return nil + } + out := new(LearningWorkspaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceSpec) DeepCopyInto(out *LearningWorkspaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceSpec. +func (in *LearningWorkspaceSpec) DeepCopy() *LearningWorkspaceSpec { + if in == nil { + return nil + } + out := new(LearningWorkspaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LearningWorkspaceStatus) DeepCopyInto(out *LearningWorkspaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LearningWorkspaceStatus. +func (in *LearningWorkspaceStatus) DeepCopy() *LearningWorkspaceStatus { + if in == nil { + return nil + } + out := new(LearningWorkspaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SSHObservation) DeepCopyInto(out *SSHObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHObservation. +func (in *SSHObservation) DeepCopy() *SSHObservation { + if in == nil { + return nil + } + out := new(SSHObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SSHParameters) DeepCopyInto(out *SSHParameters) { + *out = *in + if in.AdminPassword != nil { + in, out := &in.AdminPassword, &out.AdminPassword + *out = new(string) + **out = **in + } + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in + } + if in.KeyValue != nil { + in, out := &in.KeyValue, &out.KeyValue + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHParameters. +func (in *SSHParameters) DeepCopy() *SSHParameters { + if in == nil { + return nil + } + out := new(SSHParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScaleSettingsObservation) DeepCopyInto(out *ScaleSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSettingsObservation. +func (in *ScaleSettingsObservation) DeepCopy() *ScaleSettingsObservation { + if in == nil { + return nil + } + out := new(ScaleSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScaleSettingsParameters) DeepCopyInto(out *ScaleSettingsParameters) { + *out = *in + if in.MaxNodeCount != nil { + in, out := &in.MaxNodeCount, &out.MaxNodeCount + *out = new(int64) + **out = **in + } + if in.MinNodeCount != nil { + in, out := &in.MinNodeCount, &out.MinNodeCount + *out = new(int64) + **out = **in + } + if in.ScaleDownNodesAfterIdleDuration != nil { + in, out := &in.ScaleDownNodesAfterIdleDuration, &out.ScaleDownNodesAfterIdleDuration + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSettingsParameters. +func (in *ScaleSettingsParameters) DeepCopy() *ScaleSettingsParameters { + if in == nil { + return nil + } + out := new(ScaleSettingsParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/machine/v1alpha1/zz_generated.managed.go b/apis/machine/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..d71e64f84 --- /dev/null +++ b/apis/machine/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this LearningComputeCluster. +func (mg *LearningComputeCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LearningComputeCluster. +func (mg *LearningComputeCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LearningComputeCluster. +func (mg *LearningComputeCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LearningComputeCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LearningComputeCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LearningComputeCluster. +func (mg *LearningComputeCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LearningComputeCluster. +func (mg *LearningComputeCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LearningComputeCluster. +func (mg *LearningComputeCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LearningComputeCluster. +func (mg *LearningComputeCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LearningComputeCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LearningComputeCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LearningComputeCluster. +func (mg *LearningComputeCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LearningComputeInstance. +func (mg *LearningComputeInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LearningComputeInstance. +func (mg *LearningComputeInstance) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LearningComputeInstance. +func (mg *LearningComputeInstance) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LearningComputeInstance. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LearningComputeInstance) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LearningComputeInstance. +func (mg *LearningComputeInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LearningComputeInstance. +func (mg *LearningComputeInstance) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LearningComputeInstance. +func (mg *LearningComputeInstance) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LearningComputeInstance. +func (mg *LearningComputeInstance) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LearningComputeInstance. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LearningComputeInstance) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LearningComputeInstance. +func (mg *LearningComputeInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LearningSynapseSpark. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LearningSynapseSpark) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LearningSynapseSpark. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LearningSynapseSpark) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LearningSynapseSpark. +func (mg *LearningSynapseSpark) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LearningWorkspace. +func (mg *LearningWorkspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LearningWorkspace. +func (mg *LearningWorkspace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LearningWorkspace. +func (mg *LearningWorkspace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LearningWorkspace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LearningWorkspace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LearningWorkspace. +func (mg *LearningWorkspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LearningWorkspace. +func (mg *LearningWorkspace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LearningWorkspace. +func (mg *LearningWorkspace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LearningWorkspace. +func (mg *LearningWorkspace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LearningWorkspace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LearningWorkspace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LearningWorkspace. +func (mg *LearningWorkspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/machine/v1alpha1/zz_generated.managedlist.go b/apis/machine/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..41cf914f3 --- /dev/null +++ b/apis/machine/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this LearningComputeClusterList. +func (l *LearningComputeClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LearningComputeInstanceList. +func (l *LearningComputeInstanceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LearningSynapseSparkList. +func (l *LearningSynapseSparkList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LearningWorkspaceList. +func (l *LearningWorkspaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/machine/v1alpha1/zz_groupversion_info.go b/apis/machine/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..7056afd02 --- /dev/null +++ b/apis/machine/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=machine.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "machine.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/machine/v1alpha1/zz_learningcomputecluster_terraformed.go b/apis/machine/v1alpha1/zz_learningcomputecluster_terraformed.go new file mode 100755 index 000000000..7c4d371a4 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningcomputecluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LearningComputeCluster +func (mg *LearningComputeCluster) GetTerraformResourceType() string { + return "azurerm_machine_learning_compute_cluster" +} + +// GetConnectionDetailsMapping for this LearningComputeCluster +func (tr *LearningComputeCluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LearningComputeCluster +func (tr *LearningComputeCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LearningComputeCluster +func (tr *LearningComputeCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LearningComputeCluster +func (tr *LearningComputeCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LearningComputeCluster +func (tr *LearningComputeCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LearningComputeCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LearningComputeCluster) LateInitialize(attrs []byte) (bool, error) { + params := &LearningComputeClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LearningComputeCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/machine/v1alpha1/zz_learningcomputecluster_types.go b/apis/machine/v1alpha1/zz_learningcomputecluster_types.go new file mode 100755 index 000000000..586e7954f --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningcomputecluster_types.go @@ -0,0 +1,162 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type LearningComputeClusterObservation struct { +} + +type LearningComputeClusterParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MachineLearningWorkspaceID *string `json:"machineLearningWorkspaceId" tf:"machine_learning_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SSH []SSHParameters `json:"ssh,omitempty" tf:"ssh,omitempty"` + + // +kubebuilder:validation:Optional + SSHPublicAccessEnabled *bool `json:"sshPublicAccessEnabled,omitempty" tf:"ssh_public_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ScaleSettings []ScaleSettingsParameters `json:"scaleSettings" tf:"scale_settings,omitempty"` + + // +kubebuilder:validation:Optional + SubnetResourceID *string `json:"subnetResourceId,omitempty" tf:"subnet_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VMPriority *string `json:"vmPriority" tf:"vm_priority,omitempty"` + + // +kubebuilder:validation:Required + VMSize *string `json:"vmSize" tf:"vm_size,omitempty"` +} + +type SSHObservation struct { +} + +type SSHParameters struct { + + // +kubebuilder:validation:Optional + AdminPassword *string `json:"adminPassword,omitempty" tf:"admin_password,omitempty"` + + // +kubebuilder:validation:Required + AdminUsername *string `json:"adminUsername" tf:"admin_username,omitempty"` + + // +kubebuilder:validation:Optional + KeyValue *string `json:"keyValue,omitempty" tf:"key_value,omitempty"` +} + +type ScaleSettingsObservation struct { +} + +type ScaleSettingsParameters struct { + + // +kubebuilder:validation:Required + MaxNodeCount *int64 `json:"maxNodeCount" tf:"max_node_count,omitempty"` + + // +kubebuilder:validation:Required + MinNodeCount *int64 `json:"minNodeCount" tf:"min_node_count,omitempty"` + + // +kubebuilder:validation:Required + ScaleDownNodesAfterIdleDuration *string `json:"scaleDownNodesAfterIdleDuration" tf:"scale_down_nodes_after_idle_duration,omitempty"` +} + +// LearningComputeClusterSpec defines the desired state of LearningComputeCluster +type LearningComputeClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LearningComputeClusterParameters `json:"forProvider"` +} + +// LearningComputeClusterStatus defines the observed state of LearningComputeCluster. +type LearningComputeClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LearningComputeClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningComputeCluster is the Schema for the LearningComputeClusters API +// +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,azurejet} +type LearningComputeCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LearningComputeClusterSpec `json:"spec"` + Status LearningComputeClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningComputeClusterList contains a list of LearningComputeClusters +type LearningComputeClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LearningComputeCluster `json:"items"` +} + +// Repository type metadata. +var ( + LearningComputeCluster_Kind = "LearningComputeCluster" + LearningComputeCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LearningComputeCluster_Kind}.String() + LearningComputeCluster_KindAPIVersion = LearningComputeCluster_Kind + "." + CRDGroupVersion.String() + LearningComputeCluster_GroupVersionKind = CRDGroupVersion.WithKind(LearningComputeCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&LearningComputeCluster{}, &LearningComputeClusterList{}) +} diff --git a/apis/machine/v1alpha1/zz_learningcomputeinstance_terraformed.go b/apis/machine/v1alpha1/zz_learningcomputeinstance_terraformed.go new file mode 100755 index 000000000..f471b9208 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningcomputeinstance_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LearningComputeInstance +func (mg *LearningComputeInstance) GetTerraformResourceType() string { + return "azurerm_machine_learning_compute_instance" +} + +// GetConnectionDetailsMapping for this LearningComputeInstance +func (tr *LearningComputeInstance) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LearningComputeInstance +func (tr *LearningComputeInstance) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LearningComputeInstance +func (tr *LearningComputeInstance) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LearningComputeInstance +func (tr *LearningComputeInstance) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LearningComputeInstance +func (tr *LearningComputeInstance) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LearningComputeInstance using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LearningComputeInstance) LateInitialize(attrs []byte) (bool, error) { + params := &LearningComputeInstanceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LearningComputeInstance) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/machine/v1alpha1/zz_learningcomputeinstance_types.go b/apis/machine/v1alpha1/zz_learningcomputeinstance_types.go new file mode 100755 index 000000000..04dadc6c0 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningcomputeinstance_types.go @@ -0,0 +1,153 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignToUserObservation struct { +} + +type AssignToUserParameters struct { + + // +kubebuilder:validation:Optional + ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type LearningComputeInstanceIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type LearningComputeInstanceIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type LearningComputeInstanceObservation struct { +} + +type LearningComputeInstanceParameters struct { + + // +kubebuilder:validation:Optional + AssignToUser []AssignToUserParameters `json:"assignToUser,omitempty" tf:"assign_to_user,omitempty"` + + // +kubebuilder:validation:Optional + AuthorizationType *string `json:"authorizationType,omitempty" tf:"authorization_type,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Identity []LearningComputeInstanceIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MachineLearningWorkspaceID *string `json:"machineLearningWorkspaceId" tf:"machine_learning_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SSH []LearningComputeInstanceSSHParameters `json:"ssh,omitempty" tf:"ssh,omitempty"` + + // +kubebuilder:validation:Optional + SubnetResourceID *string `json:"subnetResourceId,omitempty" tf:"subnet_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualMachineSize *string `json:"virtualMachineSize" tf:"virtual_machine_size,omitempty"` +} + +type LearningComputeInstanceSSHObservation struct { + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + Username *string `json:"username,omitempty" tf:"username,omitempty"` +} + +type LearningComputeInstanceSSHParameters struct { + + // +kubebuilder:validation:Required + PublicKey *string `json:"publicKey" tf:"public_key,omitempty"` +} + +// LearningComputeInstanceSpec defines the desired state of LearningComputeInstance +type LearningComputeInstanceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LearningComputeInstanceParameters `json:"forProvider"` +} + +// LearningComputeInstanceStatus defines the observed state of LearningComputeInstance. +type LearningComputeInstanceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LearningComputeInstanceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningComputeInstance is the Schema for the LearningComputeInstances API +// +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,azurejet} +type LearningComputeInstance struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LearningComputeInstanceSpec `json:"spec"` + Status LearningComputeInstanceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningComputeInstanceList contains a list of LearningComputeInstances +type LearningComputeInstanceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LearningComputeInstance `json:"items"` +} + +// Repository type metadata. +var ( + LearningComputeInstance_Kind = "LearningComputeInstance" + LearningComputeInstance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LearningComputeInstance_Kind}.String() + LearningComputeInstance_KindAPIVersion = LearningComputeInstance_Kind + "." + CRDGroupVersion.String() + LearningComputeInstance_GroupVersionKind = CRDGroupVersion.WithKind(LearningComputeInstance_Kind) +) + +func init() { + SchemeBuilder.Register(&LearningComputeInstance{}, &LearningComputeInstanceList{}) +} diff --git a/apis/machine/v1alpha1/zz_learningsynapsespark_terraformed.go b/apis/machine/v1alpha1/zz_learningsynapsespark_terraformed.go new file mode 100755 index 000000000..d147976f3 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningsynapsespark_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LearningSynapseSpark +func (mg *LearningSynapseSpark) GetTerraformResourceType() string { + return "azurerm_machine_learning_synapse_spark" +} + +// GetConnectionDetailsMapping for this LearningSynapseSpark +func (tr *LearningSynapseSpark) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LearningSynapseSpark +func (tr *LearningSynapseSpark) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LearningSynapseSpark +func (tr *LearningSynapseSpark) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LearningSynapseSpark +func (tr *LearningSynapseSpark) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LearningSynapseSpark +func (tr *LearningSynapseSpark) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LearningSynapseSpark using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LearningSynapseSpark) LateInitialize(attrs []byte) (bool, error) { + params := &LearningSynapseSparkParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LearningSynapseSpark) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/machine/v1alpha1/zz_learningsynapsespark_types.go b/apis/machine/v1alpha1/zz_learningsynapsespark_types.go new file mode 100755 index 000000000..8b6767900 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningsynapsespark_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LearningSynapseSparkIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type LearningSynapseSparkIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type LearningSynapseSparkObservation struct { +} + +type LearningSynapseSparkParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Identity []LearningSynapseSparkIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MachineLearningWorkspaceID *string `json:"machineLearningWorkspaceId" tf:"machine_learning_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SynapseSparkPoolID *string `json:"synapseSparkPoolId" tf:"synapse_spark_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// LearningSynapseSparkSpec defines the desired state of LearningSynapseSpark +type LearningSynapseSparkSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LearningSynapseSparkParameters `json:"forProvider"` +} + +// LearningSynapseSparkStatus defines the observed state of LearningSynapseSpark. +type LearningSynapseSparkStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LearningSynapseSparkObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningSynapseSpark is the Schema for the LearningSynapseSparks API +// +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,azurejet} +type LearningSynapseSpark struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LearningSynapseSparkSpec `json:"spec"` + Status LearningSynapseSparkStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningSynapseSparkList contains a list of LearningSynapseSparks +type LearningSynapseSparkList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LearningSynapseSpark `json:"items"` +} + +// Repository type metadata. +var ( + LearningSynapseSpark_Kind = "LearningSynapseSpark" + LearningSynapseSpark_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LearningSynapseSpark_Kind}.String() + LearningSynapseSpark_KindAPIVersion = LearningSynapseSpark_Kind + "." + CRDGroupVersion.String() + LearningSynapseSpark_GroupVersionKind = CRDGroupVersion.WithKind(LearningSynapseSpark_Kind) +) + +func init() { + SchemeBuilder.Register(&LearningSynapseSpark{}, &LearningSynapseSparkList{}) +} diff --git a/apis/machine/v1alpha1/zz_learningworkspace_terraformed.go b/apis/machine/v1alpha1/zz_learningworkspace_terraformed.go new file mode 100755 index 000000000..b15cb9d95 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningworkspace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LearningWorkspace +func (mg *LearningWorkspace) GetTerraformResourceType() string { + return "azurerm_machine_learning_workspace" +} + +// GetConnectionDetailsMapping for this LearningWorkspace +func (tr *LearningWorkspace) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LearningWorkspace +func (tr *LearningWorkspace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LearningWorkspace +func (tr *LearningWorkspace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LearningWorkspace +func (tr *LearningWorkspace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LearningWorkspace +func (tr *LearningWorkspace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LearningWorkspace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LearningWorkspace) LateInitialize(attrs []byte) (bool, error) { + params := &LearningWorkspaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LearningWorkspace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/machine/v1alpha1/zz_learningworkspace_types.go b/apis/machine/v1alpha1/zz_learningworkspace_types.go new file mode 100755 index 000000000..3871bbfa4 --- /dev/null +++ b/apis/machine/v1alpha1/zz_learningworkspace_types.go @@ -0,0 +1,139 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LearningWorkspaceIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type LearningWorkspaceIdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type LearningWorkspaceObservation struct { + DiscoveryURL *string `json:"discoveryUrl,omitempty" tf:"discovery_url,omitempty"` +} + +type LearningWorkspaceParameters struct { + + // +kubebuilder:validation:Required + ApplicationInsightsID *string `json:"applicationInsightsId" tf:"application_insights_id,omitempty"` + + // +kubebuilder:validation:Optional + ContainerRegistryID *string `json:"containerRegistryId,omitempty" tf:"container_registry_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + FriendlyName *string `json:"friendlyName,omitempty" tf:"friendly_name,omitempty"` + + // +kubebuilder:validation:Optional + HighBusinessImpact *bool `json:"highBusinessImpact,omitempty" tf:"high_business_impact,omitempty"` + + // +kubebuilder:validation:Required + Identity []LearningWorkspaceIdentityParameters `json:"identity" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + ImageBuildComputeName *string `json:"imageBuildComputeName,omitempty" tf:"image_build_compute_name,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// LearningWorkspaceSpec defines the desired state of LearningWorkspace +type LearningWorkspaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LearningWorkspaceParameters `json:"forProvider"` +} + +// LearningWorkspaceStatus defines the observed state of LearningWorkspace. +type LearningWorkspaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LearningWorkspaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningWorkspace is the Schema for the LearningWorkspaces API +// +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,azurejet} +type LearningWorkspace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LearningWorkspaceSpec `json:"spec"` + Status LearningWorkspaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LearningWorkspaceList contains a list of LearningWorkspaces +type LearningWorkspaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LearningWorkspace `json:"items"` +} + +// Repository type metadata. +var ( + LearningWorkspace_Kind = "LearningWorkspace" + LearningWorkspace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LearningWorkspace_Kind}.String() + LearningWorkspace_KindAPIVersion = LearningWorkspace_Kind + "." + CRDGroupVersion.String() + LearningWorkspace_GroupVersionKind = CRDGroupVersion.WithKind(LearningWorkspace_Kind) +) + +func init() { + SchemeBuilder.Register(&LearningWorkspace{}, &LearningWorkspaceList{}) +} diff --git a/apis/maintenance/v1alpha1/zz_assignmentdedicatedhost_terraformed.go b/apis/maintenance/v1alpha1/zz_assignmentdedicatedhost_terraformed.go new file mode 100755 index 000000000..5ce56105b --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_assignmentdedicatedhost_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AssignmentDedicatedHost +func (mg *AssignmentDedicatedHost) GetTerraformResourceType() string { + return "azurerm_maintenance_assignment_dedicated_host" +} + +// GetConnectionDetailsMapping for this AssignmentDedicatedHost +func (tr *AssignmentDedicatedHost) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AssignmentDedicatedHost +func (tr *AssignmentDedicatedHost) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AssignmentDedicatedHost +func (tr *AssignmentDedicatedHost) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AssignmentDedicatedHost +func (tr *AssignmentDedicatedHost) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AssignmentDedicatedHost +func (tr *AssignmentDedicatedHost) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AssignmentDedicatedHost using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AssignmentDedicatedHost) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentDedicatedHostParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AssignmentDedicatedHost) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/maintenance/v1alpha1/zz_assignmentdedicatedhost_types.go b/apis/maintenance/v1alpha1/zz_assignmentdedicatedhost_types.go new file mode 100755 index 000000000..60ef14181 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_assignmentdedicatedhost_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentDedicatedHostObservation struct { +} + +type AssignmentDedicatedHostParameters struct { + + // +kubebuilder:validation:Required + DedicatedHostID *string `json:"dedicatedHostId" tf:"dedicated_host_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MaintenanceConfigurationID *string `json:"maintenanceConfigurationId" tf:"maintenance_configuration_id,omitempty"` +} + +// AssignmentDedicatedHostSpec defines the desired state of AssignmentDedicatedHost +type AssignmentDedicatedHostSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentDedicatedHostParameters `json:"forProvider"` +} + +// AssignmentDedicatedHostStatus defines the observed state of AssignmentDedicatedHost. +type AssignmentDedicatedHostStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentDedicatedHostObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentDedicatedHost is the Schema for the AssignmentDedicatedHosts API +// +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,azurejet} +type AssignmentDedicatedHost struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentDedicatedHostSpec `json:"spec"` + Status AssignmentDedicatedHostStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentDedicatedHostList contains a list of AssignmentDedicatedHosts +type AssignmentDedicatedHostList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AssignmentDedicatedHost `json:"items"` +} + +// Repository type metadata. +var ( + AssignmentDedicatedHost_Kind = "AssignmentDedicatedHost" + AssignmentDedicatedHost_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AssignmentDedicatedHost_Kind}.String() + AssignmentDedicatedHost_KindAPIVersion = AssignmentDedicatedHost_Kind + "." + CRDGroupVersion.String() + AssignmentDedicatedHost_GroupVersionKind = CRDGroupVersion.WithKind(AssignmentDedicatedHost_Kind) +) + +func init() { + SchemeBuilder.Register(&AssignmentDedicatedHost{}, &AssignmentDedicatedHostList{}) +} diff --git a/apis/maintenance/v1alpha1/zz_assignmentvirtualmachine_terraformed.go b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachine_terraformed.go new file mode 100755 index 000000000..222d557cb --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AssignmentVirtualMachine +func (mg *AssignmentVirtualMachine) GetTerraformResourceType() string { + return "azurerm_maintenance_assignment_virtual_machine" +} + +// GetConnectionDetailsMapping for this AssignmentVirtualMachine +func (tr *AssignmentVirtualMachine) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AssignmentVirtualMachine +func (tr *AssignmentVirtualMachine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AssignmentVirtualMachine +func (tr *AssignmentVirtualMachine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AssignmentVirtualMachine +func (tr *AssignmentVirtualMachine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AssignmentVirtualMachine +func (tr *AssignmentVirtualMachine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AssignmentVirtualMachine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AssignmentVirtualMachine) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentVirtualMachineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AssignmentVirtualMachine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/maintenance/v1alpha1/zz_assignmentvirtualmachine_types.go b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachine_types.go new file mode 100755 index 000000000..c0d5c6326 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachine_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentVirtualMachineObservation struct { +} + +type AssignmentVirtualMachineParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MaintenanceConfigurationID *string `json:"maintenanceConfigurationId" tf:"maintenance_configuration_id,omitempty"` + + // +kubebuilder:validation:Required + VirtualMachineID *string `json:"virtualMachineId" tf:"virtual_machine_id,omitempty"` +} + +// AssignmentVirtualMachineSpec defines the desired state of AssignmentVirtualMachine +type AssignmentVirtualMachineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentVirtualMachineParameters `json:"forProvider"` +} + +// AssignmentVirtualMachineStatus defines the observed state of AssignmentVirtualMachine. +type AssignmentVirtualMachineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentVirtualMachineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentVirtualMachine is the Schema for the AssignmentVirtualMachines API +// +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,azurejet} +type AssignmentVirtualMachine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentVirtualMachineSpec `json:"spec"` + Status AssignmentVirtualMachineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentVirtualMachineList contains a list of AssignmentVirtualMachines +type AssignmentVirtualMachineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AssignmentVirtualMachine `json:"items"` +} + +// Repository type metadata. +var ( + AssignmentVirtualMachine_Kind = "AssignmentVirtualMachine" + AssignmentVirtualMachine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AssignmentVirtualMachine_Kind}.String() + AssignmentVirtualMachine_KindAPIVersion = AssignmentVirtualMachine_Kind + "." + CRDGroupVersion.String() + AssignmentVirtualMachine_GroupVersionKind = CRDGroupVersion.WithKind(AssignmentVirtualMachine_Kind) +) + +func init() { + SchemeBuilder.Register(&AssignmentVirtualMachine{}, &AssignmentVirtualMachineList{}) +} diff --git a/apis/maintenance/v1alpha1/zz_assignmentvirtualmachinescaleset_terraformed.go b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachinescaleset_terraformed.go new file mode 100755 index 000000000..5dd06f4c5 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachinescaleset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AssignmentVirtualMachineScaleSet +func (mg *AssignmentVirtualMachineScaleSet) GetTerraformResourceType() string { + return "azurerm_maintenance_assignment_virtual_machine_scale_set" +} + +// GetConnectionDetailsMapping for this AssignmentVirtualMachineScaleSet +func (tr *AssignmentVirtualMachineScaleSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AssignmentVirtualMachineScaleSet +func (tr *AssignmentVirtualMachineScaleSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AssignmentVirtualMachineScaleSet +func (tr *AssignmentVirtualMachineScaleSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AssignmentVirtualMachineScaleSet +func (tr *AssignmentVirtualMachineScaleSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AssignmentVirtualMachineScaleSet +func (tr *AssignmentVirtualMachineScaleSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AssignmentVirtualMachineScaleSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AssignmentVirtualMachineScaleSet) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentVirtualMachineScaleSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AssignmentVirtualMachineScaleSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/maintenance/v1alpha1/zz_assignmentvirtualmachinescaleset_types.go b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachinescaleset_types.go new file mode 100755 index 000000000..2f8d93755 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_assignmentvirtualmachinescaleset_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentVirtualMachineScaleSetObservation struct { +} + +type AssignmentVirtualMachineScaleSetParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MaintenanceConfigurationID *string `json:"maintenanceConfigurationId" tf:"maintenance_configuration_id,omitempty"` + + // +kubebuilder:validation:Required + VirtualMachineScaleSetID *string `json:"virtualMachineScaleSetId" tf:"virtual_machine_scale_set_id,omitempty"` +} + +// AssignmentVirtualMachineScaleSetSpec defines the desired state of AssignmentVirtualMachineScaleSet +type AssignmentVirtualMachineScaleSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentVirtualMachineScaleSetParameters `json:"forProvider"` +} + +// AssignmentVirtualMachineScaleSetStatus defines the observed state of AssignmentVirtualMachineScaleSet. +type AssignmentVirtualMachineScaleSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentVirtualMachineScaleSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentVirtualMachineScaleSet is the Schema for the AssignmentVirtualMachineScaleSets API +// +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,azurejet} +type AssignmentVirtualMachineScaleSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentVirtualMachineScaleSetSpec `json:"spec"` + Status AssignmentVirtualMachineScaleSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentVirtualMachineScaleSetList contains a list of AssignmentVirtualMachineScaleSets +type AssignmentVirtualMachineScaleSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AssignmentVirtualMachineScaleSet `json:"items"` +} + +// Repository type metadata. +var ( + AssignmentVirtualMachineScaleSet_Kind = "AssignmentVirtualMachineScaleSet" + AssignmentVirtualMachineScaleSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AssignmentVirtualMachineScaleSet_Kind}.String() + AssignmentVirtualMachineScaleSet_KindAPIVersion = AssignmentVirtualMachineScaleSet_Kind + "." + CRDGroupVersion.String() + AssignmentVirtualMachineScaleSet_GroupVersionKind = CRDGroupVersion.WithKind(AssignmentVirtualMachineScaleSet_Kind) +) + +func init() { + SchemeBuilder.Register(&AssignmentVirtualMachineScaleSet{}, &AssignmentVirtualMachineScaleSetList{}) +} diff --git a/apis/maintenance/v1alpha1/zz_configuration_terraformed.go b/apis/maintenance/v1alpha1/zz_configuration_terraformed.go new file mode 100755 index 000000000..5bb8be6c9 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_configuration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Configuration +func (mg *Configuration) GetTerraformResourceType() string { + return "azurerm_maintenance_configuration" +} + +// GetConnectionDetailsMapping for this Configuration +func (tr *Configuration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Configuration +func (tr *Configuration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Configuration +func (tr *Configuration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Configuration +func (tr *Configuration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Configuration +func (tr *Configuration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Configuration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Configuration) LateInitialize(attrs []byte) (bool, error) { + params := &ConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Configuration) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/maintenance/v1alpha1/zz_configuration_types.go b/apis/maintenance/v1alpha1/zz_configuration_types.go new file mode 100755 index 000000000..f6a46feaa --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_configuration_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConfigurationObservation struct { +} + +type ConfigurationParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"` + + // +kubebuilder:validation:Optional + Window []WindowParameters `json:"window,omitempty" tf:"window,omitempty"` +} + +type WindowObservation struct { +} + +type WindowParameters struct { + + // +kubebuilder:validation:Optional + Duration *string `json:"duration,omitempty" tf:"duration,omitempty"` + + // +kubebuilder:validation:Optional + ExpirationDateTime *string `json:"expirationDateTime,omitempty" tf:"expiration_date_time,omitempty"` + + // +kubebuilder:validation:Optional + RecurEvery *string `json:"recurEvery,omitempty" tf:"recur_every,omitempty"` + + // +kubebuilder:validation:Required + StartDateTime *string `json:"startDateTime" tf:"start_date_time,omitempty"` + + // +kubebuilder:validation:Required + TimeZone *string `json:"timeZone" tf:"time_zone,omitempty"` +} + +// ConfigurationSpec defines the desired state of Configuration +type ConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConfigurationParameters `json:"forProvider"` +} + +// ConfigurationStatus defines the observed state of Configuration. +type ConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Configuration is the Schema for the Configurations API +// +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,azurejet} +type Configuration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConfigurationSpec `json:"spec"` + Status ConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConfigurationList contains a list of Configurations +type ConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Configuration `json:"items"` +} + +// Repository type metadata. +var ( + Configuration_Kind = "Configuration" + Configuration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String() + Configuration_KindAPIVersion = Configuration_Kind + "." + CRDGroupVersion.String() + Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind) +) + +func init() { + SchemeBuilder.Register(&Configuration{}, &ConfigurationList{}) +} diff --git a/apis/maintenance/v1alpha1/zz_generated.deepcopy.go b/apis/maintenance/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..daf61935b --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,679 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentDedicatedHost) DeepCopyInto(out *AssignmentDedicatedHost) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentDedicatedHost. +func (in *AssignmentDedicatedHost) DeepCopy() *AssignmentDedicatedHost { + if in == nil { + return nil + } + out := new(AssignmentDedicatedHost) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentDedicatedHost) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentDedicatedHostList) DeepCopyInto(out *AssignmentDedicatedHostList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AssignmentDedicatedHost, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentDedicatedHostList. +func (in *AssignmentDedicatedHostList) DeepCopy() *AssignmentDedicatedHostList { + if in == nil { + return nil + } + out := new(AssignmentDedicatedHostList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentDedicatedHostList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentDedicatedHostObservation) DeepCopyInto(out *AssignmentDedicatedHostObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentDedicatedHostObservation. +func (in *AssignmentDedicatedHostObservation) DeepCopy() *AssignmentDedicatedHostObservation { + if in == nil { + return nil + } + out := new(AssignmentDedicatedHostObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentDedicatedHostParameters) DeepCopyInto(out *AssignmentDedicatedHostParameters) { + *out = *in + if in.DedicatedHostID != nil { + in, out := &in.DedicatedHostID, &out.DedicatedHostID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaintenanceConfigurationID != nil { + in, out := &in.MaintenanceConfigurationID, &out.MaintenanceConfigurationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentDedicatedHostParameters. +func (in *AssignmentDedicatedHostParameters) DeepCopy() *AssignmentDedicatedHostParameters { + if in == nil { + return nil + } + out := new(AssignmentDedicatedHostParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentDedicatedHostSpec) DeepCopyInto(out *AssignmentDedicatedHostSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentDedicatedHostSpec. +func (in *AssignmentDedicatedHostSpec) DeepCopy() *AssignmentDedicatedHostSpec { + if in == nil { + return nil + } + out := new(AssignmentDedicatedHostSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentDedicatedHostStatus) DeepCopyInto(out *AssignmentDedicatedHostStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentDedicatedHostStatus. +func (in *AssignmentDedicatedHostStatus) DeepCopy() *AssignmentDedicatedHostStatus { + if in == nil { + return nil + } + out := new(AssignmentDedicatedHostStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachine) DeepCopyInto(out *AssignmentVirtualMachine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachine. +func (in *AssignmentVirtualMachine) DeepCopy() *AssignmentVirtualMachine { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentVirtualMachine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineList) DeepCopyInto(out *AssignmentVirtualMachineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AssignmentVirtualMachine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineList. +func (in *AssignmentVirtualMachineList) DeepCopy() *AssignmentVirtualMachineList { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentVirtualMachineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineObservation) DeepCopyInto(out *AssignmentVirtualMachineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineObservation. +func (in *AssignmentVirtualMachineObservation) DeepCopy() *AssignmentVirtualMachineObservation { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineParameters) DeepCopyInto(out *AssignmentVirtualMachineParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaintenanceConfigurationID != nil { + in, out := &in.MaintenanceConfigurationID, &out.MaintenanceConfigurationID + *out = new(string) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineParameters. +func (in *AssignmentVirtualMachineParameters) DeepCopy() *AssignmentVirtualMachineParameters { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineScaleSet) DeepCopyInto(out *AssignmentVirtualMachineScaleSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineScaleSet. +func (in *AssignmentVirtualMachineScaleSet) DeepCopy() *AssignmentVirtualMachineScaleSet { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineScaleSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentVirtualMachineScaleSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineScaleSetList) DeepCopyInto(out *AssignmentVirtualMachineScaleSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AssignmentVirtualMachineScaleSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineScaleSetList. +func (in *AssignmentVirtualMachineScaleSetList) DeepCopy() *AssignmentVirtualMachineScaleSetList { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineScaleSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentVirtualMachineScaleSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineScaleSetObservation) DeepCopyInto(out *AssignmentVirtualMachineScaleSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineScaleSetObservation. +func (in *AssignmentVirtualMachineScaleSetObservation) DeepCopy() *AssignmentVirtualMachineScaleSetObservation { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineScaleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineScaleSetParameters) DeepCopyInto(out *AssignmentVirtualMachineScaleSetParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaintenanceConfigurationID != nil { + in, out := &in.MaintenanceConfigurationID, &out.MaintenanceConfigurationID + *out = new(string) + **out = **in + } + if in.VirtualMachineScaleSetID != nil { + in, out := &in.VirtualMachineScaleSetID, &out.VirtualMachineScaleSetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineScaleSetParameters. +func (in *AssignmentVirtualMachineScaleSetParameters) DeepCopy() *AssignmentVirtualMachineScaleSetParameters { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineScaleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineScaleSetSpec) DeepCopyInto(out *AssignmentVirtualMachineScaleSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineScaleSetSpec. +func (in *AssignmentVirtualMachineScaleSetSpec) DeepCopy() *AssignmentVirtualMachineScaleSetSpec { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineScaleSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineScaleSetStatus) DeepCopyInto(out *AssignmentVirtualMachineScaleSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineScaleSetStatus. +func (in *AssignmentVirtualMachineScaleSetStatus) DeepCopy() *AssignmentVirtualMachineScaleSetStatus { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineScaleSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineSpec) DeepCopyInto(out *AssignmentVirtualMachineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineSpec. +func (in *AssignmentVirtualMachineSpec) DeepCopy() *AssignmentVirtualMachineSpec { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentVirtualMachineStatus) DeepCopyInto(out *AssignmentVirtualMachineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentVirtualMachineStatus. +func (in *AssignmentVirtualMachineStatus) DeepCopy() *AssignmentVirtualMachineStatus { + if in == nil { + return nil + } + out := new(AssignmentVirtualMachineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Configuration) DeepCopyInto(out *Configuration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { + return nil + } + out := new(Configuration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Configuration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList. +func (in *ConfigurationList) DeepCopy() *ConfigurationList { + if in == nil { + return nil + } + out := new(ConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Visibility != nil { + in, out := &in.Visibility, &out.Visibility + *out = new(string) + **out = **in + } + if in.Window != nil { + in, out := &in.Window, &out.Window + *out = make([]WindowParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec. +func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec { + if in == nil { + return nil + } + out := new(ConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus. +func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus { + if in == nil { + return nil + } + out := new(ConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WindowObservation) DeepCopyInto(out *WindowObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowObservation. +func (in *WindowObservation) DeepCopy() *WindowObservation { + if in == nil { + return nil + } + out := new(WindowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WindowParameters) DeepCopyInto(out *WindowParameters) { + *out = *in + if in.Duration != nil { + in, out := &in.Duration, &out.Duration + *out = new(string) + **out = **in + } + if in.ExpirationDateTime != nil { + in, out := &in.ExpirationDateTime, &out.ExpirationDateTime + *out = new(string) + **out = **in + } + if in.RecurEvery != nil { + in, out := &in.RecurEvery, &out.RecurEvery + *out = new(string) + **out = **in + } + if in.StartDateTime != nil { + in, out := &in.StartDateTime, &out.StartDateTime + *out = new(string) + **out = **in + } + if in.TimeZone != nil { + in, out := &in.TimeZone, &out.TimeZone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowParameters. +func (in *WindowParameters) DeepCopy() *WindowParameters { + if in == nil { + return nil + } + out := new(WindowParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/maintenance/v1alpha1/zz_generated.managed.go b/apis/maintenance/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..77c4e123f --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AssignmentDedicatedHost. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AssignmentDedicatedHost) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AssignmentDedicatedHost. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AssignmentDedicatedHost) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AssignmentDedicatedHost. +func (mg *AssignmentDedicatedHost) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AssignmentVirtualMachine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AssignmentVirtualMachine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AssignmentVirtualMachine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AssignmentVirtualMachine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AssignmentVirtualMachine. +func (mg *AssignmentVirtualMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AssignmentVirtualMachineScaleSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AssignmentVirtualMachineScaleSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AssignmentVirtualMachineScaleSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AssignmentVirtualMachineScaleSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AssignmentVirtualMachineScaleSet. +func (mg *AssignmentVirtualMachineScaleSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Configuration. +func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Configuration. +func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Configuration. +func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Configuration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Configuration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Configuration. +func (mg *Configuration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Configuration. +func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Configuration. +func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Configuration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Configuration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/maintenance/v1alpha1/zz_generated.managedlist.go b/apis/maintenance/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..1938aa0f7 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssignmentDedicatedHostList. +func (l *AssignmentDedicatedHostList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AssignmentVirtualMachineList. +func (l *AssignmentVirtualMachineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AssignmentVirtualMachineScaleSetList. +func (l *AssignmentVirtualMachineScaleSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConfigurationList. +func (l *ConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/maintenance/v1alpha1/zz_groupversion_info.go b/apis/maintenance/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..120056764 --- /dev/null +++ b/apis/maintenance/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=maintenance.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "maintenance.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/managed/v1alpha1/zz_application_terraformed.go b/apis/managed/v1alpha1/zz_application_terraformed.go new file mode 100755 index 000000000..5a5e7fd08 --- /dev/null +++ b/apis/managed/v1alpha1/zz_application_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Application +func (mg *Application) GetTerraformResourceType() string { + return "azurerm_managed_application" +} + +// GetConnectionDetailsMapping for this Application +func (tr *Application) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Application +func (tr *Application) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Application +func (tr *Application) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Application +func (tr *Application) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Application +func (tr *Application) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Application using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Application) LateInitialize(attrs []byte) (bool, error) { + params := &ApplicationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Application) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/managed/v1alpha1/zz_application_types.go b/apis/managed/v1alpha1/zz_application_types.go new file mode 100755 index 000000000..2b677ee84 --- /dev/null +++ b/apis/managed/v1alpha1/zz_application_types.go @@ -0,0 +1,133 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationObservation struct { + Outputs map[string]*string `json:"outputs,omitempty" tf:"outputs,omitempty"` +} + +type ApplicationParameters struct { + + // +kubebuilder:validation:Optional + ApplicationDefinitionID *string `json:"applicationDefinitionId,omitempty" tf:"application_definition_id,omitempty"` + + // +kubebuilder:validation:Required + Kind *string `json:"kind" tf:"kind,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ManagedResourceGroupName *string `json:"managedResourceGroupName" tf:"managed_resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ParameterValues *string `json:"parameterValues,omitempty" tf:"parameter_values,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + Plan []PlanParameters `json:"plan,omitempty" tf:"plan,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type PlanObservation struct { +} + +type PlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Optional + PromotionCode *string `json:"promotionCode,omitempty" tf:"promotion_code,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +// ApplicationSpec defines the desired state of Application +type ApplicationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ApplicationParameters `json:"forProvider"` +} + +// ApplicationStatus defines the observed state of Application. +type ApplicationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ApplicationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Application is the Schema for the Applications API +// +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,azurejet} +type Application struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ApplicationSpec `json:"spec"` + Status ApplicationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationList contains a list of Applications +type ApplicationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Application `json:"items"` +} + +// Repository type metadata. +var ( + Application_Kind = "Application" + Application_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Application_Kind}.String() + Application_KindAPIVersion = Application_Kind + "." + CRDGroupVersion.String() + Application_GroupVersionKind = CRDGroupVersion.WithKind(Application_Kind) +) + +func init() { + SchemeBuilder.Register(&Application{}, &ApplicationList{}) +} diff --git a/apis/managed/v1alpha1/zz_applicationdefinition_terraformed.go b/apis/managed/v1alpha1/zz_applicationdefinition_terraformed.go new file mode 100755 index 000000000..13a83bb36 --- /dev/null +++ b/apis/managed/v1alpha1/zz_applicationdefinition_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ApplicationDefinition +func (mg *ApplicationDefinition) GetTerraformResourceType() string { + return "azurerm_managed_application_definition" +} + +// GetConnectionDetailsMapping for this ApplicationDefinition +func (tr *ApplicationDefinition) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ApplicationDefinition +func (tr *ApplicationDefinition) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ApplicationDefinition +func (tr *ApplicationDefinition) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ApplicationDefinition +func (tr *ApplicationDefinition) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ApplicationDefinition +func (tr *ApplicationDefinition) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ApplicationDefinition using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ApplicationDefinition) LateInitialize(attrs []byte) (bool, error) { + params := &ApplicationDefinitionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ApplicationDefinition) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/managed/v1alpha1/zz_applicationdefinition_types.go b/apis/managed/v1alpha1/zz_applicationdefinition_types.go new file mode 100755 index 000000000..a6846fb93 --- /dev/null +++ b/apis/managed/v1alpha1/zz_applicationdefinition_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationDefinitionObservation struct { +} + +type ApplicationDefinitionParameters struct { + + // +kubebuilder:validation:Optional + Authorization []AuthorizationParameters `json:"authorization,omitempty" tf:"authorization,omitempty"` + + // +kubebuilder:validation:Optional + CreateUIDefinition *string `json:"createUiDefinition,omitempty" tf:"create_ui_definition,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + LockLevel *string `json:"lockLevel" tf:"lock_level,omitempty"` + + // +kubebuilder:validation:Optional + MainTemplate *string `json:"mainTemplate,omitempty" tf:"main_template,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PackageEnabled *bool `json:"packageEnabled,omitempty" tf:"package_enabled,omitempty"` + + // +kubebuilder:validation:Optional + PackageFileURI *string `json:"packageFileUri,omitempty" tf:"package_file_uri,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type AuthorizationObservation struct { +} + +type AuthorizationParameters struct { + + // +kubebuilder:validation:Required + RoleDefinitionID *string `json:"roleDefinitionId" tf:"role_definition_id,omitempty"` + + // +kubebuilder:validation:Required + ServicePrincipalID *string `json:"servicePrincipalId" tf:"service_principal_id,omitempty"` +} + +// ApplicationDefinitionSpec defines the desired state of ApplicationDefinition +type ApplicationDefinitionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ApplicationDefinitionParameters `json:"forProvider"` +} + +// ApplicationDefinitionStatus defines the observed state of ApplicationDefinition. +type ApplicationDefinitionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ApplicationDefinitionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationDefinition is the Schema for the ApplicationDefinitions API +// +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,azurejet} +type ApplicationDefinition struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ApplicationDefinitionSpec `json:"spec"` + Status ApplicationDefinitionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationDefinitionList contains a list of ApplicationDefinitions +type ApplicationDefinitionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ApplicationDefinition `json:"items"` +} + +// Repository type metadata. +var ( + ApplicationDefinition_Kind = "ApplicationDefinition" + ApplicationDefinition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ApplicationDefinition_Kind}.String() + ApplicationDefinition_KindAPIVersion = ApplicationDefinition_Kind + "." + CRDGroupVersion.String() + ApplicationDefinition_GroupVersionKind = CRDGroupVersion.WithKind(ApplicationDefinition_Kind) +) + +func init() { + SchemeBuilder.Register(&ApplicationDefinition{}, &ApplicationDefinitionList{}) +} diff --git a/apis/managed/v1alpha1/zz_disk_terraformed.go b/apis/managed/v1alpha1/zz_disk_terraformed.go new file mode 100755 index 000000000..fc2dab58e --- /dev/null +++ b/apis/managed/v1alpha1/zz_disk_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Disk +func (mg *Disk) GetTerraformResourceType() string { + return "azurerm_managed_disk" +} + +// GetConnectionDetailsMapping for this Disk +func (tr *Disk) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Disk +func (tr *Disk) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Disk +func (tr *Disk) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Disk +func (tr *Disk) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Disk +func (tr *Disk) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Disk using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Disk) LateInitialize(attrs []byte) (bool, error) { + params := &DiskParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Disk) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/managed/v1alpha1/zz_disk_types.go b/apis/managed/v1alpha1/zz_disk_types.go new file mode 100755 index 000000000..fa7fb8dbc --- /dev/null +++ b/apis/managed/v1alpha1/zz_disk_types.go @@ -0,0 +1,180 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DiskEncryptionKeyObservation struct { +} + +type DiskEncryptionKeyParameters struct { + + // +kubebuilder:validation:Required + SecretURL *string `json:"secretUrl" tf:"secret_url,omitempty"` + + // +kubebuilder:validation:Required + SourceVaultID *string `json:"sourceVaultId" tf:"source_vault_id,omitempty"` +} + +type DiskObservation struct { +} + +type DiskParameters struct { + + // +kubebuilder:validation:Required + CreateOption *string `json:"createOption" tf:"create_option,omitempty"` + + // +kubebuilder:validation:Optional + DiskAccessID *string `json:"diskAccessId,omitempty" tf:"disk_access_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskIopsReadWrite *int64 `json:"diskIopsReadWrite,omitempty" tf:"disk_iops_read_write,omitempty"` + + // +kubebuilder:validation:Optional + DiskMbpsReadWrite *int64 `json:"diskMbpsReadWrite,omitempty" tf:"disk_mbps_read_write,omitempty"` + + // +kubebuilder:validation:Optional + DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionSettings []EncryptionSettingsParameters `json:"encryptionSettings,omitempty" tf:"encryption_settings,omitempty"` + + // +kubebuilder:validation:Optional + ImageReferenceID *string `json:"imageReferenceId,omitempty" tf:"image_reference_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkAccessPolicy *string `json:"networkAccessPolicy,omitempty" tf:"network_access_policy,omitempty"` + + // +kubebuilder:validation:Optional + OsType *string `json:"osType,omitempty" tf:"os_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SourceResourceID *string `json:"sourceResourceId,omitempty" tf:"source_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceURI *string `json:"sourceUri,omitempty" tf:"source_uri,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type EncryptionSettingsObservation struct { +} + +type EncryptionSettingsParameters struct { + + // +kubebuilder:validation:Optional + DiskEncryptionKey []DiskEncryptionKeyParameters `json:"diskEncryptionKey,omitempty" tf:"disk_encryption_key,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + KeyEncryptionKey []KeyEncryptionKeyParameters `json:"keyEncryptionKey,omitempty" tf:"key_encryption_key,omitempty"` +} + +type KeyEncryptionKeyObservation struct { +} + +type KeyEncryptionKeyParameters struct { + + // +kubebuilder:validation:Required + KeyURL *string `json:"keyUrl" tf:"key_url,omitempty"` + + // +kubebuilder:validation:Required + SourceVaultID *string `json:"sourceVaultId" tf:"source_vault_id,omitempty"` +} + +// DiskSpec defines the desired state of Disk +type DiskSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DiskParameters `json:"forProvider"` +} + +// DiskStatus defines the observed state of Disk. +type DiskStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DiskObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Disk is the Schema for the Disks API +// +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,azurejet} +type Disk struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DiskSpec `json:"spec"` + Status DiskStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DiskList contains a list of Disks +type DiskList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Disk `json:"items"` +} + +// Repository type metadata. +var ( + Disk_Kind = "Disk" + Disk_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Disk_Kind}.String() + Disk_KindAPIVersion = Disk_Kind + "." + CRDGroupVersion.String() + Disk_GroupVersionKind = CRDGroupVersion.WithKind(Disk_Kind) +) + +func init() { + SchemeBuilder.Register(&Disk{}, &DiskList{}) +} diff --git a/apis/managed/v1alpha1/zz_generated.deepcopy.go b/apis/managed/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..eebf6af50 --- /dev/null +++ b/apis/managed/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,895 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Application) DeepCopyInto(out *Application) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application. +func (in *Application) DeepCopy() *Application { + if in == nil { + return nil + } + out := new(Application) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Application) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationDefinition) DeepCopyInto(out *ApplicationDefinition) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinition. +func (in *ApplicationDefinition) DeepCopy() *ApplicationDefinition { + if in == nil { + return nil + } + out := new(ApplicationDefinition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationDefinition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationDefinitionList) DeepCopyInto(out *ApplicationDefinitionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ApplicationDefinition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionList. +func (in *ApplicationDefinitionList) DeepCopy() *ApplicationDefinitionList { + if in == nil { + return nil + } + out := new(ApplicationDefinitionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationDefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationDefinitionObservation) DeepCopyInto(out *ApplicationDefinitionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionObservation. +func (in *ApplicationDefinitionObservation) DeepCopy() *ApplicationDefinitionObservation { + if in == nil { + return nil + } + out := new(ApplicationDefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationDefinitionParameters) DeepCopyInto(out *ApplicationDefinitionParameters) { + *out = *in + if in.Authorization != nil { + in, out := &in.Authorization, &out.Authorization + *out = make([]AuthorizationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CreateUIDefinition != nil { + in, out := &in.CreateUIDefinition, &out.CreateUIDefinition + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.LockLevel != nil { + in, out := &in.LockLevel, &out.LockLevel + *out = new(string) + **out = **in + } + if in.MainTemplate != nil { + in, out := &in.MainTemplate, &out.MainTemplate + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PackageEnabled != nil { + in, out := &in.PackageEnabled, &out.PackageEnabled + *out = new(bool) + **out = **in + } + if in.PackageFileURI != nil { + in, out := &in.PackageFileURI, &out.PackageFileURI + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionParameters. +func (in *ApplicationDefinitionParameters) DeepCopy() *ApplicationDefinitionParameters { + if in == nil { + return nil + } + out := new(ApplicationDefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationDefinitionSpec) DeepCopyInto(out *ApplicationDefinitionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionSpec. +func (in *ApplicationDefinitionSpec) DeepCopy() *ApplicationDefinitionSpec { + if in == nil { + return nil + } + out := new(ApplicationDefinitionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationDefinitionStatus) DeepCopyInto(out *ApplicationDefinitionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionStatus. +func (in *ApplicationDefinitionStatus) DeepCopy() *ApplicationDefinitionStatus { + if in == nil { + return nil + } + out := new(ApplicationDefinitionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationList) DeepCopyInto(out *ApplicationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Application, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList. +func (in *ApplicationList) DeepCopy() *ApplicationList { + if in == nil { + return nil + } + out := new(ApplicationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { + *out = *in + if in.Outputs != nil { + in, out := &in.Outputs, &out.Outputs + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationObservation. +func (in *ApplicationObservation) DeepCopy() *ApplicationObservation { + if in == nil { + return nil + } + out := new(ApplicationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { + *out = *in + if in.ApplicationDefinitionID != nil { + in, out := &in.ApplicationDefinitionID, &out.ApplicationDefinitionID + *out = new(string) + **out = **in + } + if in.Kind != nil { + in, out := &in.Kind, &out.Kind + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagedResourceGroupName != nil { + in, out := &in.ManagedResourceGroupName, &out.ManagedResourceGroupName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ParameterValues != nil { + in, out := &in.ParameterValues, &out.ParameterValues + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]PlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationParameters. +func (in *ApplicationParameters) DeepCopy() *ApplicationParameters { + if in == nil { + return nil + } + out := new(ApplicationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec. +func (in *ApplicationSpec) DeepCopy() *ApplicationSpec { + if in == nil { + return nil + } + out := new(ApplicationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus. +func (in *ApplicationStatus) DeepCopy() *ApplicationStatus { + if in == nil { + return nil + } + out := new(ApplicationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationObservation) DeepCopyInto(out *AuthorizationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationObservation. +func (in *AuthorizationObservation) DeepCopy() *AuthorizationObservation { + if in == nil { + return nil + } + out := new(AuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AuthorizationParameters) DeepCopyInto(out *AuthorizationParameters) { + *out = *in + if in.RoleDefinitionID != nil { + in, out := &in.RoleDefinitionID, &out.RoleDefinitionID + *out = new(string) + **out = **in + } + if in.ServicePrincipalID != nil { + in, out := &in.ServicePrincipalID, &out.ServicePrincipalID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationParameters. +func (in *AuthorizationParameters) DeepCopy() *AuthorizationParameters { + if in == nil { + return nil + } + out := new(AuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Disk) DeepCopyInto(out *Disk) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk. +func (in *Disk) DeepCopy() *Disk { + if in == nil { + return nil + } + out := new(Disk) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Disk) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskEncryptionKeyObservation) DeepCopyInto(out *DiskEncryptionKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskEncryptionKeyObservation. +func (in *DiskEncryptionKeyObservation) DeepCopy() *DiskEncryptionKeyObservation { + if in == nil { + return nil + } + out := new(DiskEncryptionKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskEncryptionKeyParameters) DeepCopyInto(out *DiskEncryptionKeyParameters) { + *out = *in + if in.SecretURL != nil { + in, out := &in.SecretURL, &out.SecretURL + *out = new(string) + **out = **in + } + if in.SourceVaultID != nil { + in, out := &in.SourceVaultID, &out.SourceVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskEncryptionKeyParameters. +func (in *DiskEncryptionKeyParameters) DeepCopy() *DiskEncryptionKeyParameters { + if in == nil { + return nil + } + out := new(DiskEncryptionKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskList) DeepCopyInto(out *DiskList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Disk, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskList. +func (in *DiskList) DeepCopy() *DiskList { + if in == nil { + return nil + } + out := new(DiskList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DiskList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskObservation) DeepCopyInto(out *DiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskObservation. +func (in *DiskObservation) DeepCopy() *DiskObservation { + if in == nil { + return nil + } + out := new(DiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskParameters) DeepCopyInto(out *DiskParameters) { + *out = *in + if in.CreateOption != nil { + in, out := &in.CreateOption, &out.CreateOption + *out = new(string) + **out = **in + } + if in.DiskAccessID != nil { + in, out := &in.DiskAccessID, &out.DiskAccessID + *out = new(string) + **out = **in + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskIopsReadWrite != nil { + in, out := &in.DiskIopsReadWrite, &out.DiskIopsReadWrite + *out = new(int64) + **out = **in + } + if in.DiskMbpsReadWrite != nil { + in, out := &in.DiskMbpsReadWrite, &out.DiskMbpsReadWrite + *out = new(int64) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.EncryptionSettings != nil { + in, out := &in.EncryptionSettings, &out.EncryptionSettings + *out = make([]EncryptionSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ImageReferenceID != nil { + in, out := &in.ImageReferenceID, &out.ImageReferenceID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkAccessPolicy != nil { + in, out := &in.NetworkAccessPolicy, &out.NetworkAccessPolicy + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceResourceID != nil { + in, out := &in.SourceResourceID, &out.SourceResourceID + *out = new(string) + **out = **in + } + if in.SourceURI != nil { + in, out := &in.SourceURI, &out.SourceURI + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskParameters. +func (in *DiskParameters) DeepCopy() *DiskParameters { + if in == nil { + return nil + } + out := new(DiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskSpec) DeepCopyInto(out *DiskSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskSpec. +func (in *DiskSpec) DeepCopy() *DiskSpec { + if in == nil { + return nil + } + out := new(DiskSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiskStatus) DeepCopyInto(out *DiskStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiskStatus. +func (in *DiskStatus) DeepCopy() *DiskStatus { + if in == nil { + return nil + } + out := new(DiskStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSettingsObservation) DeepCopyInto(out *EncryptionSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSettingsObservation. +func (in *EncryptionSettingsObservation) DeepCopy() *EncryptionSettingsObservation { + if in == nil { + return nil + } + out := new(EncryptionSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionSettingsParameters) DeepCopyInto(out *EncryptionSettingsParameters) { + *out = *in + if in.DiskEncryptionKey != nil { + in, out := &in.DiskEncryptionKey, &out.DiskEncryptionKey + *out = make([]DiskEncryptionKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.KeyEncryptionKey != nil { + in, out := &in.KeyEncryptionKey, &out.KeyEncryptionKey + *out = make([]KeyEncryptionKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSettingsParameters. +func (in *EncryptionSettingsParameters) DeepCopy() *EncryptionSettingsParameters { + if in == nil { + return nil + } + out := new(EncryptionSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyEncryptionKeyObservation) DeepCopyInto(out *KeyEncryptionKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyEncryptionKeyObservation. +func (in *KeyEncryptionKeyObservation) DeepCopy() *KeyEncryptionKeyObservation { + if in == nil { + return nil + } + out := new(KeyEncryptionKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyEncryptionKeyParameters) DeepCopyInto(out *KeyEncryptionKeyParameters) { + *out = *in + if in.KeyURL != nil { + in, out := &in.KeyURL, &out.KeyURL + *out = new(string) + **out = **in + } + if in.SourceVaultID != nil { + in, out := &in.SourceVaultID, &out.SourceVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyEncryptionKeyParameters. +func (in *KeyEncryptionKeyParameters) DeepCopy() *KeyEncryptionKeyParameters { + if in == nil { + return nil + } + out := new(KeyEncryptionKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanObservation. +func (in *PlanObservation) DeepCopy() *PlanObservation { + if in == nil { + return nil + } + out := new(PlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanParameters) DeepCopyInto(out *PlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.PromotionCode != nil { + in, out := &in.PromotionCode, &out.PromotionCode + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanParameters. +func (in *PlanParameters) DeepCopy() *PlanParameters { + if in == nil { + return nil + } + out := new(PlanParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/managed/v1alpha1/zz_generated.managed.go b/apis/managed/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..0aac80a25 --- /dev/null +++ b/apis/managed/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Application. +func (mg *Application) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Application. +func (mg *Application) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Application. +func (mg *Application) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Application. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Application) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Application. +func (mg *Application) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Application. +func (mg *Application) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Application. +func (mg *Application) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Application. +func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Application. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Application) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Application. +func (mg *Application) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ApplicationDefinition. +func (mg *ApplicationDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ApplicationDefinition. +func (mg *ApplicationDefinition) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ApplicationDefinition. +func (mg *ApplicationDefinition) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ApplicationDefinition. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ApplicationDefinition) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ApplicationDefinition. +func (mg *ApplicationDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ApplicationDefinition. +func (mg *ApplicationDefinition) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ApplicationDefinition. +func (mg *ApplicationDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ApplicationDefinition. +func (mg *ApplicationDefinition) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ApplicationDefinition. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ApplicationDefinition) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ApplicationDefinition. +func (mg *ApplicationDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Disk. +func (mg *Disk) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Disk. +func (mg *Disk) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Disk. +func (mg *Disk) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Disk. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Disk) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Disk. +func (mg *Disk) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Disk. +func (mg *Disk) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Disk. +func (mg *Disk) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Disk. +func (mg *Disk) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Disk. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Disk) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Disk. +func (mg *Disk) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/managed/v1alpha1/zz_generated.managedlist.go b/apis/managed/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..f94deeead --- /dev/null +++ b/apis/managed/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ApplicationDefinitionList. +func (l *ApplicationDefinitionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ApplicationList. +func (l *ApplicationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DiskList. +func (l *DiskList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/managed/v1alpha1/zz_groupversion_info.go b/apis/managed/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..331b3c3a1 --- /dev/null +++ b/apis/managed/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=managed.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "managed.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/management/v1alpha1/zz_generated.deepcopy.go b/apis/management/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..d60e2ac09 --- /dev/null +++ b/apis/management/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,859 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupPolicyAssignment) DeepCopyInto(out *GroupPolicyAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAssignment. +func (in *GroupPolicyAssignment) DeepCopy() *GroupPolicyAssignment { + if in == nil { + return nil + } + out := new(GroupPolicyAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GroupPolicyAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupPolicyAssignmentList) DeepCopyInto(out *GroupPolicyAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GroupPolicyAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAssignmentList. +func (in *GroupPolicyAssignmentList) DeepCopy() *GroupPolicyAssignmentList { + if in == nil { + return nil + } + out := new(GroupPolicyAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GroupPolicyAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupPolicyAssignmentObservation) DeepCopyInto(out *GroupPolicyAssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAssignmentObservation. +func (in *GroupPolicyAssignmentObservation) DeepCopy() *GroupPolicyAssignmentObservation { + if in == nil { + return nil + } + out := new(GroupPolicyAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupPolicyAssignmentParameters) DeepCopyInto(out *GroupPolicyAssignmentParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Enforce != nil { + in, out := &in.Enforce, &out.Enforce + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagementGroupID != nil { + in, out := &in.ManagementGroupID, &out.ManagementGroupID + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotScopes != nil { + in, out := &in.NotScopes, &out.NotScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } + if in.PolicyDefinitionID != nil { + in, out := &in.PolicyDefinitionID, &out.PolicyDefinitionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAssignmentParameters. +func (in *GroupPolicyAssignmentParameters) DeepCopy() *GroupPolicyAssignmentParameters { + if in == nil { + return nil + } + out := new(GroupPolicyAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupPolicyAssignmentSpec) DeepCopyInto(out *GroupPolicyAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAssignmentSpec. +func (in *GroupPolicyAssignmentSpec) DeepCopy() *GroupPolicyAssignmentSpec { + if in == nil { + return nil + } + out := new(GroupPolicyAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupPolicyAssignmentStatus) DeepCopyInto(out *GroupPolicyAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupPolicyAssignmentStatus. +func (in *GroupPolicyAssignmentStatus) DeepCopy() *GroupPolicyAssignmentStatus { + if in == nil { + return nil + } + out := new(GroupPolicyAssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSubscriptionAssociation) DeepCopyInto(out *GroupSubscriptionAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubscriptionAssociation. +func (in *GroupSubscriptionAssociation) DeepCopy() *GroupSubscriptionAssociation { + if in == nil { + return nil + } + out := new(GroupSubscriptionAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GroupSubscriptionAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSubscriptionAssociationList) DeepCopyInto(out *GroupSubscriptionAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GroupSubscriptionAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubscriptionAssociationList. +func (in *GroupSubscriptionAssociationList) DeepCopy() *GroupSubscriptionAssociationList { + if in == nil { + return nil + } + out := new(GroupSubscriptionAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GroupSubscriptionAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSubscriptionAssociationObservation) DeepCopyInto(out *GroupSubscriptionAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubscriptionAssociationObservation. +func (in *GroupSubscriptionAssociationObservation) DeepCopy() *GroupSubscriptionAssociationObservation { + if in == nil { + return nil + } + out := new(GroupSubscriptionAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSubscriptionAssociationParameters) DeepCopyInto(out *GroupSubscriptionAssociationParameters) { + *out = *in + if in.ManagementGroupID != nil { + in, out := &in.ManagementGroupID, &out.ManagementGroupID + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubscriptionAssociationParameters. +func (in *GroupSubscriptionAssociationParameters) DeepCopy() *GroupSubscriptionAssociationParameters { + if in == nil { + return nil + } + out := new(GroupSubscriptionAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSubscriptionAssociationSpec) DeepCopyInto(out *GroupSubscriptionAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubscriptionAssociationSpec. +func (in *GroupSubscriptionAssociationSpec) DeepCopy() *GroupSubscriptionAssociationSpec { + if in == nil { + return nil + } + out := new(GroupSubscriptionAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSubscriptionAssociationStatus) DeepCopyInto(out *GroupSubscriptionAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubscriptionAssociationStatus. +func (in *GroupSubscriptionAssociationStatus) DeepCopy() *GroupSubscriptionAssociationStatus { + if in == nil { + return nil + } + out := new(GroupSubscriptionAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupTemplateDeployment) DeepCopyInto(out *GroupTemplateDeployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupTemplateDeployment. +func (in *GroupTemplateDeployment) DeepCopy() *GroupTemplateDeployment { + if in == nil { + return nil + } + out := new(GroupTemplateDeployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GroupTemplateDeployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupTemplateDeploymentList) DeepCopyInto(out *GroupTemplateDeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GroupTemplateDeployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupTemplateDeploymentList. +func (in *GroupTemplateDeploymentList) DeepCopy() *GroupTemplateDeploymentList { + if in == nil { + return nil + } + out := new(GroupTemplateDeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GroupTemplateDeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupTemplateDeploymentObservation) DeepCopyInto(out *GroupTemplateDeploymentObservation) { + *out = *in + if in.OutputContent != nil { + in, out := &in.OutputContent, &out.OutputContent + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupTemplateDeploymentObservation. +func (in *GroupTemplateDeploymentObservation) DeepCopy() *GroupTemplateDeploymentObservation { + if in == nil { + return nil + } + out := new(GroupTemplateDeploymentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupTemplateDeploymentParameters) DeepCopyInto(out *GroupTemplateDeploymentParameters) { + *out = *in + if in.DebugLevel != nil { + in, out := &in.DebugLevel, &out.DebugLevel + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagementGroupID != nil { + in, out := &in.ManagementGroupID, &out.ManagementGroupID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ParametersContent != nil { + in, out := &in.ParametersContent, &out.ParametersContent + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TemplateContent != nil { + in, out := &in.TemplateContent, &out.TemplateContent + *out = new(string) + **out = **in + } + if in.TemplateSpecVersionID != nil { + in, out := &in.TemplateSpecVersionID, &out.TemplateSpecVersionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupTemplateDeploymentParameters. +func (in *GroupTemplateDeploymentParameters) DeepCopy() *GroupTemplateDeploymentParameters { + if in == nil { + return nil + } + out := new(GroupTemplateDeploymentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupTemplateDeploymentSpec) DeepCopyInto(out *GroupTemplateDeploymentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupTemplateDeploymentSpec. +func (in *GroupTemplateDeploymentSpec) DeepCopy() *GroupTemplateDeploymentSpec { + if in == nil { + return nil + } + out := new(GroupTemplateDeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupTemplateDeploymentStatus) DeepCopyInto(out *GroupTemplateDeploymentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupTemplateDeploymentStatus. +func (in *GroupTemplateDeploymentStatus) DeepCopy() *GroupTemplateDeploymentStatus { + if in == nil { + return nil + } + out := new(GroupTemplateDeploymentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Lock) DeepCopyInto(out *Lock) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lock. +func (in *Lock) DeepCopy() *Lock { + if in == nil { + return nil + } + out := new(Lock) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Lock) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LockList) DeepCopyInto(out *LockList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Lock, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockList. +func (in *LockList) DeepCopy() *LockList { + if in == nil { + return nil + } + out := new(LockList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LockList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LockObservation) DeepCopyInto(out *LockObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockObservation. +func (in *LockObservation) DeepCopy() *LockObservation { + if in == nil { + return nil + } + out := new(LockObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LockParameters) DeepCopyInto(out *LockParameters) { + *out = *in + if in.LockLevel != nil { + in, out := &in.LockLevel, &out.LockLevel + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notes != nil { + in, out := &in.Notes, &out.Notes + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockParameters. +func (in *LockParameters) DeepCopy() *LockParameters { + if in == nil { + return nil + } + out := new(LockParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LockSpec) DeepCopyInto(out *LockSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockSpec. +func (in *LockSpec) DeepCopy() *LockSpec { + if in == nil { + return nil + } + out := new(LockSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LockStatus) DeepCopyInto(out *LockStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockStatus. +func (in *LockStatus) DeepCopy() *LockStatus { + if in == nil { + return nil + } + out := new(LockStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGroup) DeepCopyInto(out *ManagementGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGroup. +func (in *ManagementGroup) DeepCopy() *ManagementGroup { + if in == nil { + return nil + } + out := new(ManagementGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGroupList) DeepCopyInto(out *ManagementGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGroupList. +func (in *ManagementGroupList) DeepCopy() *ManagementGroupList { + if in == nil { + return nil + } + out := new(ManagementGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGroupObservation) DeepCopyInto(out *ManagementGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGroupObservation. +func (in *ManagementGroupObservation) DeepCopy() *ManagementGroupObservation { + if in == nil { + return nil + } + out := new(ManagementGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGroupParameters) DeepCopyInto(out *ManagementGroupParameters) { + *out = *in + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.GroupID != nil { + in, out := &in.GroupID, &out.GroupID + *out = new(string) + **out = **in + } + if in.ParentManagementGroupID != nil { + in, out := &in.ParentManagementGroupID, &out.ParentManagementGroupID + *out = new(string) + **out = **in + } + if in.SubscriptionIds != nil { + in, out := &in.SubscriptionIds, &out.SubscriptionIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGroupParameters. +func (in *ManagementGroupParameters) DeepCopy() *ManagementGroupParameters { + if in == nil { + return nil + } + out := new(ManagementGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGroupSpec) DeepCopyInto(out *ManagementGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGroupSpec. +func (in *ManagementGroupSpec) DeepCopy() *ManagementGroupSpec { + if in == nil { + return nil + } + out := new(ManagementGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementGroupStatus) DeepCopyInto(out *ManagementGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementGroupStatus. +func (in *ManagementGroupStatus) DeepCopy() *ManagementGroupStatus { + if in == nil { + return nil + } + out := new(ManagementGroupStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/management/v1alpha1/zz_generated.managed.go b/apis/management/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..049ce05cf --- /dev/null +++ b/apis/management/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this GroupPolicyAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *GroupPolicyAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this GroupPolicyAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *GroupPolicyAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this GroupPolicyAssignment. +func (mg *GroupPolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this GroupSubscriptionAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *GroupSubscriptionAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this GroupSubscriptionAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *GroupSubscriptionAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this GroupSubscriptionAssociation. +func (mg *GroupSubscriptionAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this GroupTemplateDeployment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *GroupTemplateDeployment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this GroupTemplateDeployment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *GroupTemplateDeployment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this GroupTemplateDeployment. +func (mg *GroupTemplateDeployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Lock. +func (mg *Lock) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Lock. +func (mg *Lock) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Lock. +func (mg *Lock) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Lock. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Lock) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Lock. +func (mg *Lock) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Lock. +func (mg *Lock) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Lock. +func (mg *Lock) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Lock. +func (mg *Lock) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Lock. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Lock) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Lock. +func (mg *Lock) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementGroup. +func (mg *ManagementGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementGroup. +func (mg *ManagementGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementGroup. +func (mg *ManagementGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementGroup. +func (mg *ManagementGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementGroup. +func (mg *ManagementGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementGroup. +func (mg *ManagementGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementGroup. +func (mg *ManagementGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementGroup. +func (mg *ManagementGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/management/v1alpha1/zz_generated.managedlist.go b/apis/management/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..bfc3689b0 --- /dev/null +++ b/apis/management/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this GroupPolicyAssignmentList. +func (l *GroupPolicyAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this GroupSubscriptionAssociationList. +func (l *GroupSubscriptionAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this GroupTemplateDeploymentList. +func (l *GroupTemplateDeploymentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LockList. +func (l *LockList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementGroupList. +func (l *ManagementGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/management/v1alpha1/zz_grouppolicyassignment_terraformed.go b/apis/management/v1alpha1/zz_grouppolicyassignment_terraformed.go new file mode 100755 index 000000000..b7e91fdcc --- /dev/null +++ b/apis/management/v1alpha1/zz_grouppolicyassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this GroupPolicyAssignment +func (mg *GroupPolicyAssignment) GetTerraformResourceType() string { + return "azurerm_management_group_policy_assignment" +} + +// GetConnectionDetailsMapping for this GroupPolicyAssignment +func (tr *GroupPolicyAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this GroupPolicyAssignment +func (tr *GroupPolicyAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this GroupPolicyAssignment +func (tr *GroupPolicyAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this GroupPolicyAssignment +func (tr *GroupPolicyAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this GroupPolicyAssignment +func (tr *GroupPolicyAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this GroupPolicyAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *GroupPolicyAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &GroupPolicyAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *GroupPolicyAssignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/management/v1alpha1/zz_grouppolicyassignment_types.go b/apis/management/v1alpha1/zz_grouppolicyassignment_types.go new file mode 100755 index 000000000..06f94fb15 --- /dev/null +++ b/apis/management/v1alpha1/zz_grouppolicyassignment_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GroupPolicyAssignmentObservation struct { +} + +type GroupPolicyAssignmentParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ManagementGroupID *string `json:"managementGroupId" tf:"management_group_id,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + PolicyDefinitionID *string `json:"policyDefinitionId" tf:"policy_definition_id,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// GroupPolicyAssignmentSpec defines the desired state of GroupPolicyAssignment +type GroupPolicyAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GroupPolicyAssignmentParameters `json:"forProvider"` +} + +// GroupPolicyAssignmentStatus defines the observed state of GroupPolicyAssignment. +type GroupPolicyAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GroupPolicyAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// GroupPolicyAssignment is the Schema for the GroupPolicyAssignments API +// +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,azurejet} +type GroupPolicyAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GroupPolicyAssignmentSpec `json:"spec"` + Status GroupPolicyAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GroupPolicyAssignmentList contains a list of GroupPolicyAssignments +type GroupPolicyAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GroupPolicyAssignment `json:"items"` +} + +// Repository type metadata. +var ( + GroupPolicyAssignment_Kind = "GroupPolicyAssignment" + GroupPolicyAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GroupPolicyAssignment_Kind}.String() + GroupPolicyAssignment_KindAPIVersion = GroupPolicyAssignment_Kind + "." + CRDGroupVersion.String() + GroupPolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(GroupPolicyAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&GroupPolicyAssignment{}, &GroupPolicyAssignmentList{}) +} diff --git a/apis/management/v1alpha1/zz_groupsubscriptionassociation_terraformed.go b/apis/management/v1alpha1/zz_groupsubscriptionassociation_terraformed.go new file mode 100755 index 000000000..7fee73b03 --- /dev/null +++ b/apis/management/v1alpha1/zz_groupsubscriptionassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this GroupSubscriptionAssociation +func (mg *GroupSubscriptionAssociation) GetTerraformResourceType() string { + return "azurerm_management_group_subscription_association" +} + +// GetConnectionDetailsMapping for this GroupSubscriptionAssociation +func (tr *GroupSubscriptionAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this GroupSubscriptionAssociation +func (tr *GroupSubscriptionAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this GroupSubscriptionAssociation +func (tr *GroupSubscriptionAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this GroupSubscriptionAssociation +func (tr *GroupSubscriptionAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this GroupSubscriptionAssociation +func (tr *GroupSubscriptionAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this GroupSubscriptionAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *GroupSubscriptionAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &GroupSubscriptionAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *GroupSubscriptionAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/management/v1alpha1/zz_groupsubscriptionassociation_types.go b/apis/management/v1alpha1/zz_groupsubscriptionassociation_types.go new file mode 100755 index 000000000..350fc28ee --- /dev/null +++ b/apis/management/v1alpha1/zz_groupsubscriptionassociation_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GroupSubscriptionAssociationObservation struct { +} + +type GroupSubscriptionAssociationParameters struct { + + // +kubebuilder:validation:Required + ManagementGroupID *string `json:"managementGroupId" tf:"management_group_id,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` +} + +// GroupSubscriptionAssociationSpec defines the desired state of GroupSubscriptionAssociation +type GroupSubscriptionAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GroupSubscriptionAssociationParameters `json:"forProvider"` +} + +// GroupSubscriptionAssociationStatus defines the observed state of GroupSubscriptionAssociation. +type GroupSubscriptionAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GroupSubscriptionAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// GroupSubscriptionAssociation is the Schema for the GroupSubscriptionAssociations API +// +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,azurejet} +type GroupSubscriptionAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GroupSubscriptionAssociationSpec `json:"spec"` + Status GroupSubscriptionAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GroupSubscriptionAssociationList contains a list of GroupSubscriptionAssociations +type GroupSubscriptionAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GroupSubscriptionAssociation `json:"items"` +} + +// Repository type metadata. +var ( + GroupSubscriptionAssociation_Kind = "GroupSubscriptionAssociation" + GroupSubscriptionAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GroupSubscriptionAssociation_Kind}.String() + GroupSubscriptionAssociation_KindAPIVersion = GroupSubscriptionAssociation_Kind + "." + CRDGroupVersion.String() + GroupSubscriptionAssociation_GroupVersionKind = CRDGroupVersion.WithKind(GroupSubscriptionAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&GroupSubscriptionAssociation{}, &GroupSubscriptionAssociationList{}) +} diff --git a/apis/management/v1alpha1/zz_grouptemplatedeployment_terraformed.go b/apis/management/v1alpha1/zz_grouptemplatedeployment_terraformed.go new file mode 100755 index 000000000..52545980c --- /dev/null +++ b/apis/management/v1alpha1/zz_grouptemplatedeployment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this GroupTemplateDeployment +func (mg *GroupTemplateDeployment) GetTerraformResourceType() string { + return "azurerm_management_group_template_deployment" +} + +// GetConnectionDetailsMapping for this GroupTemplateDeployment +func (tr *GroupTemplateDeployment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this GroupTemplateDeployment +func (tr *GroupTemplateDeployment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this GroupTemplateDeployment +func (tr *GroupTemplateDeployment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this GroupTemplateDeployment +func (tr *GroupTemplateDeployment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this GroupTemplateDeployment +func (tr *GroupTemplateDeployment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this GroupTemplateDeployment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *GroupTemplateDeployment) LateInitialize(attrs []byte) (bool, error) { + params := &GroupTemplateDeploymentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *GroupTemplateDeployment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/management/v1alpha1/zz_grouptemplatedeployment_types.go b/apis/management/v1alpha1/zz_grouptemplatedeployment_types.go new file mode 100755 index 000000000..6b7bd7752 --- /dev/null +++ b/apis/management/v1alpha1/zz_grouptemplatedeployment_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GroupTemplateDeploymentObservation struct { + OutputContent *string `json:"outputContent,omitempty" tf:"output_content,omitempty"` +} + +type GroupTemplateDeploymentParameters struct { + + // +kubebuilder:validation:Optional + DebugLevel *string `json:"debugLevel,omitempty" tf:"debug_level,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ManagementGroupID *string `json:"managementGroupId" tf:"management_group_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ParametersContent *string `json:"parametersContent,omitempty" tf:"parameters_content,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TemplateContent *string `json:"templateContent,omitempty" tf:"template_content,omitempty"` + + // +kubebuilder:validation:Optional + TemplateSpecVersionID *string `json:"templateSpecVersionId,omitempty" tf:"template_spec_version_id,omitempty"` +} + +// GroupTemplateDeploymentSpec defines the desired state of GroupTemplateDeployment +type GroupTemplateDeploymentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GroupTemplateDeploymentParameters `json:"forProvider"` +} + +// GroupTemplateDeploymentStatus defines the observed state of GroupTemplateDeployment. +type GroupTemplateDeploymentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GroupTemplateDeploymentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// GroupTemplateDeployment is the Schema for the GroupTemplateDeployments API +// +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,azurejet} +type GroupTemplateDeployment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GroupTemplateDeploymentSpec `json:"spec"` + Status GroupTemplateDeploymentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GroupTemplateDeploymentList contains a list of GroupTemplateDeployments +type GroupTemplateDeploymentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GroupTemplateDeployment `json:"items"` +} + +// Repository type metadata. +var ( + GroupTemplateDeployment_Kind = "GroupTemplateDeployment" + GroupTemplateDeployment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GroupTemplateDeployment_Kind}.String() + GroupTemplateDeployment_KindAPIVersion = GroupTemplateDeployment_Kind + "." + CRDGroupVersion.String() + GroupTemplateDeployment_GroupVersionKind = CRDGroupVersion.WithKind(GroupTemplateDeployment_Kind) +) + +func init() { + SchemeBuilder.Register(&GroupTemplateDeployment{}, &GroupTemplateDeploymentList{}) +} diff --git a/apis/management/v1alpha1/zz_groupversion_info.go b/apis/management/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f0eb0e859 --- /dev/null +++ b/apis/management/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=management.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "management.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/management/v1alpha1/zz_lock_terraformed.go b/apis/management/v1alpha1/zz_lock_terraformed.go new file mode 100755 index 000000000..6f7b031ef --- /dev/null +++ b/apis/management/v1alpha1/zz_lock_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Lock +func (mg *Lock) GetTerraformResourceType() string { + return "azurerm_management_lock" +} + +// GetConnectionDetailsMapping for this Lock +func (tr *Lock) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Lock +func (tr *Lock) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Lock +func (tr *Lock) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Lock +func (tr *Lock) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Lock +func (tr *Lock) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Lock using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Lock) LateInitialize(attrs []byte) (bool, error) { + params := &LockParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Lock) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/management/v1alpha1/zz_lock_types.go b/apis/management/v1alpha1/zz_lock_types.go new file mode 100755 index 000000000..a989325be --- /dev/null +++ b/apis/management/v1alpha1/zz_lock_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LockObservation struct { +} + +type LockParameters struct { + + // +kubebuilder:validation:Required + LockLevel *string `json:"lockLevel" tf:"lock_level,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Notes *string `json:"notes,omitempty" tf:"notes,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` +} + +// LockSpec defines the desired state of Lock +type LockSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LockParameters `json:"forProvider"` +} + +// LockStatus defines the observed state of Lock. +type LockStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LockObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Lock is the Schema for the Locks API +// +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,azurejet} +type Lock struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LockSpec `json:"spec"` + Status LockStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LockList contains a list of Locks +type LockList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Lock `json:"items"` +} + +// Repository type metadata. +var ( + Lock_Kind = "Lock" + Lock_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Lock_Kind}.String() + Lock_KindAPIVersion = Lock_Kind + "." + CRDGroupVersion.String() + Lock_GroupVersionKind = CRDGroupVersion.WithKind(Lock_Kind) +) + +func init() { + SchemeBuilder.Register(&Lock{}, &LockList{}) +} diff --git a/apis/management/v1alpha1/zz_managementgroup_terraformed.go b/apis/management/v1alpha1/zz_managementgroup_terraformed.go new file mode 100755 index 000000000..b6f5bafab --- /dev/null +++ b/apis/management/v1alpha1/zz_managementgroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementGroup +func (mg *ManagementGroup) GetTerraformResourceType() string { + return "azurerm_management_group" +} + +// GetConnectionDetailsMapping for this ManagementGroup +func (tr *ManagementGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementGroup +func (tr *ManagementGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementGroup +func (tr *ManagementGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementGroup +func (tr *ManagementGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementGroup +func (tr *ManagementGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementGroup) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/management/v1alpha1/zz_managementgroup_types.go b/apis/management/v1alpha1/zz_managementgroup_types.go new file mode 100755 index 000000000..710412f21 --- /dev/null +++ b/apis/management/v1alpha1/zz_managementgroup_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagementGroupObservation struct { +} + +type ManagementGroupParameters struct { + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"` + + // +kubebuilder:validation:Optional + ParentManagementGroupID *string `json:"parentManagementGroupId,omitempty" tf:"parent_management_group_id,omitempty"` + + // +kubebuilder:validation:Optional + SubscriptionIds []*string `json:"subscriptionIds,omitempty" tf:"subscription_ids,omitempty"` +} + +// ManagementGroupSpec defines the desired state of ManagementGroup +type ManagementGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementGroupParameters `json:"forProvider"` +} + +// ManagementGroupStatus defines the observed state of ManagementGroup. +type ManagementGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementGroup is the Schema for the ManagementGroups API +// +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,azurejet} +type ManagementGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementGroupSpec `json:"spec"` + Status ManagementGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementGroupList contains a list of ManagementGroups +type ManagementGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementGroup `json:"items"` +} + +// Repository type metadata. +var ( + ManagementGroup_Kind = "ManagementGroup" + ManagementGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementGroup_Kind}.String() + ManagementGroup_KindAPIVersion = ManagementGroup_Kind + "." + CRDGroupVersion.String() + ManagementGroup_GroupVersionKind = CRDGroupVersion.WithKind(ManagementGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementGroup{}, &ManagementGroupList{}) +} diff --git a/apis/maps/v1alpha1/zz_account_terraformed.go b/apis/maps/v1alpha1/zz_account_terraformed.go new file mode 100755 index 000000000..ec57df6f2 --- /dev/null +++ b/apis/maps/v1alpha1/zz_account_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Account +func (mg *Account) GetTerraformResourceType() string { + return "azurerm_maps_account" +} + +// GetConnectionDetailsMapping for this Account +func (tr *Account) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "secondary_access_key": "status.atProvider.secondaryAccessKey"} +} + +// GetObservation of this Account +func (tr *Account) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Account +func (tr *Account) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Account +func (tr *Account) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Account +func (tr *Account) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Account using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Account) LateInitialize(attrs []byte) (bool, error) { + params := &AccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Account) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/maps/v1alpha1/zz_account_types.go b/apis/maps/v1alpha1/zz_account_types.go new file mode 100755 index 000000000..e3c94633e --- /dev/null +++ b/apis/maps/v1alpha1/zz_account_types.go @@ -0,0 +1,94 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountObservation struct { + XMsClientID *string `json:"xMsClientId,omitempty" tf:"x_ms_client_id,omitempty"` +} + +type AccountParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AccountSpec defines the desired state of Account +type AccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountParameters `json:"forProvider"` +} + +// AccountStatus defines the observed state of Account. +type AccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Account is the Schema for the Accounts API +// +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,azurejet} +type Account struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountSpec `json:"spec"` + Status AccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountList contains a list of Accounts +type AccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Account `json:"items"` +} + +// Repository type metadata. +var ( + Account_Kind = "Account" + Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() + Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() + Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) +) + +func init() { + SchemeBuilder.Register(&Account{}, &AccountList{}) +} diff --git a/apis/maps/v1alpha1/zz_generated.deepcopy.go b/apis/maps/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..f09304ca7 --- /dev/null +++ b/apis/maps/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,183 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Account) DeepCopyInto(out *Account) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account. +func (in *Account) DeepCopy() *Account { + if in == nil { + return nil + } + out := new(Account) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Account) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil + } + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in + if in.XMsClientID != nil { + in, out := &in.XMsClientID, &out.XMsClientID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation. +func (in *AccountObservation) DeepCopy() *AccountObservation { + if in == nil { + return nil + } + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/maps/v1alpha1/zz_generated.managed.go b/apis/maps/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..a959e9d53 --- /dev/null +++ b/apis/maps/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Account. +func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Account. +func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Account. +func (mg *Account) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Account. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Account) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Account. +func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Account. +func (mg *Account) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Account. +func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Account. +func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Account. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Account) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Account. +func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/maps/v1alpha1/zz_generated.managedlist.go b/apis/maps/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..a6ccbde6d --- /dev/null +++ b/apis/maps/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccountList. +func (l *AccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/maps/v1alpha1/zz_groupversion_info.go b/apis/maps/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..41bd2e80d --- /dev/null +++ b/apis/maps/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=maps.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "maps.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/mariadb/v1alpha1/zz_configuration_terraformed.go b/apis/mariadb/v1alpha1/zz_configuration_terraformed.go new file mode 100755 index 000000000..b03827962 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_configuration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Configuration +func (mg *Configuration) GetTerraformResourceType() string { + return "azurerm_mariadb_configuration" +} + +// GetConnectionDetailsMapping for this Configuration +func (tr *Configuration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Configuration +func (tr *Configuration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Configuration +func (tr *Configuration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Configuration +func (tr *Configuration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Configuration +func (tr *Configuration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Configuration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Configuration) LateInitialize(attrs []byte) (bool, error) { + params := &ConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Configuration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mariadb/v1alpha1/zz_configuration_types.go b/apis/mariadb/v1alpha1/zz_configuration_types.go new file mode 100755 index 000000000..e11f29845 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_configuration_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConfigurationObservation struct { +} + +type ConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// ConfigurationSpec defines the desired state of Configuration +type ConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConfigurationParameters `json:"forProvider"` +} + +// ConfigurationStatus defines the observed state of Configuration. +type ConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Configuration is the Schema for the Configurations API +// +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,azurejet} +type Configuration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConfigurationSpec `json:"spec"` + Status ConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConfigurationList contains a list of Configurations +type ConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Configuration `json:"items"` +} + +// Repository type metadata. +var ( + Configuration_Kind = "Configuration" + Configuration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String() + Configuration_KindAPIVersion = Configuration_Kind + "." + CRDGroupVersion.String() + Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind) +) + +func init() { + SchemeBuilder.Register(&Configuration{}, &ConfigurationList{}) +} diff --git a/apis/mariadb/v1alpha1/zz_database_terraformed.go b/apis/mariadb/v1alpha1/zz_database_terraformed.go new file mode 100755 index 000000000..bb55a2386 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_database_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Database +func (mg *Database) GetTerraformResourceType() string { + return "azurerm_mariadb_database" +} + +// GetConnectionDetailsMapping for this Database +func (tr *Database) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Database +func (tr *Database) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Database +func (tr *Database) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Database +func (tr *Database) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Database +func (tr *Database) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Database using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Database) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Database) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mariadb/v1alpha1/zz_database_types.go b/apis/mariadb/v1alpha1/zz_database_types.go new file mode 100755 index 000000000..3c612bb05 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_database_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabaseObservation struct { +} + +type DatabaseParameters struct { + + // +kubebuilder:validation:Required + Charset *string `json:"charset" tf:"charset,omitempty"` + + // +kubebuilder:validation:Required + Collation *string `json:"collation" tf:"collation,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` +} + +// DatabaseSpec defines the desired state of Database +type DatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseParameters `json:"forProvider"` +} + +// DatabaseStatus defines the observed state of Database. +type DatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Database is the Schema for the Databases API +// +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,azurejet} +type Database struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseSpec `json:"spec"` + Status DatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseList contains a list of Databases +type DatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Database `json:"items"` +} + +// Repository type metadata. +var ( + Database_Kind = "Database" + Database_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String() + Database_KindAPIVersion = Database_Kind + "." + CRDGroupVersion.String() + Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind) +) + +func init() { + SchemeBuilder.Register(&Database{}, &DatabaseList{}) +} diff --git a/apis/mariadb/v1alpha1/zz_firewallrule_terraformed.go b/apis/mariadb/v1alpha1/zz_firewallrule_terraformed.go new file mode 100755 index 000000000..6c97abb21 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_firewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallRule +func (mg *FirewallRule) GetTerraformResourceType() string { + return "azurerm_mariadb_firewall_rule" +} + +// GetConnectionDetailsMapping for this FirewallRule +func (tr *FirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallRule +func (tr *FirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallRule +func (tr *FirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallRule +func (tr *FirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallRule +func (tr *FirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mariadb/v1alpha1/zz_firewallrule_types.go b/apis/mariadb/v1alpha1/zz_firewallrule_types.go new file mode 100755 index 000000000..45764c716 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_firewallrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallRuleObservation struct { +} + +type FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` +} + +// FirewallRuleSpec defines the desired state of FirewallRule +type FirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallRuleParameters `json:"forProvider"` +} + +// FirewallRuleStatus defines the observed state of FirewallRule. +type FirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRule is the Schema for the FirewallRules API +// +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,azurejet} +type FirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallRuleSpec `json:"spec"` + Status FirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRuleList contains a list of FirewallRules +type FirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + FirewallRule_Kind = "FirewallRule" + FirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String() + FirewallRule_KindAPIVersion = FirewallRule_Kind + "." + CRDGroupVersion.String() + FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallRule{}, &FirewallRuleList{}) +} diff --git a/apis/mariadb/v1alpha1/zz_generated.deepcopy.go b/apis/mariadb/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..be5b8b5a9 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,893 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Configuration) DeepCopyInto(out *Configuration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { + return nil + } + out := new(Configuration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Configuration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList. +func (in *ConfigurationList) DeepCopy() *ConfigurationList { + if in == nil { + return nil + } + out := new(ConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec. +func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec { + if in == nil { + return nil + } + out := new(ConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus. +func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus { + if in == nil { + return nil + } + out := new(ConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Database) DeepCopyInto(out *Database) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database. +func (in *Database) DeepCopy() *Database { + if in == nil { + return nil + } + out := new(Database) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Database) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseList) DeepCopyInto(out *DatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Database, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList. +func (in *DatabaseList) DeepCopy() *DatabaseList { + if in == nil { + return nil + } + out := new(DatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation. +func (in *DatabaseObservation) DeepCopy() *DatabaseObservation { + if in == nil { + return nil + } + out := new(DatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { + *out = *in + if in.Charset != nil { + in, out := &in.Charset, &out.Charset + *out = new(string) + **out = **in + } + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters. +func (in *DatabaseParameters) DeepCopy() *DatabaseParameters { + if in == nil { + return nil + } + out := new(DatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec. +func (in *DatabaseSpec) DeepCopy() *DatabaseSpec { + if in == nil { + return nil + } + out := new(DatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus. +func (in *DatabaseStatus) DeepCopy() *DatabaseStatus { + if in == nil { + return nil + } + out := new(DatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRule) DeepCopyInto(out *FirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule. +func (in *FirewallRule) DeepCopy() *FirewallRule { + if in == nil { + return nil + } + out := new(FirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList. +func (in *FirewallRuleList) DeepCopy() *FirewallRuleList { + if in == nil { + return nil + } + out := new(FirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleObservation. +func (in *FirewallRuleObservation) DeepCopy() *FirewallRuleObservation { + if in == nil { + return nil + } + out := new(FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters) { + *out = *in + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleParameters. +func (in *FirewallRuleParameters) DeepCopy() *FirewallRuleParameters { + if in == nil { + return nil + } + out := new(FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec. +func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec { + if in == nil { + return nil + } + out := new(FirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus. +func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus { + if in == nil { + return nil + } + out := new(FirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Server) DeepCopyInto(out *Server) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server. +func (in *Server) DeepCopy() *Server { + if in == nil { + return nil + } + out := new(Server) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Server) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerList) DeepCopyInto(out *ServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Server, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList. +func (in *ServerList) DeepCopy() *ServerList { + if in == nil { + return nil + } + out := new(ServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerObservation. +func (in *ServerObservation) DeepCopy() *ServerObservation { + if in == nil { + return nil + } + out := new(ServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorLoginPasswordSecretRef != nil { + in, out := &in.AdministratorLoginPasswordSecretRef, &out.AdministratorLoginPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AutoGrowEnabled != nil { + in, out := &in.AutoGrowEnabled, &out.AutoGrowEnabled + *out = new(bool) + **out = **in + } + if in.BackupRetentionDays != nil { + in, out := &in.BackupRetentionDays, &out.BackupRetentionDays + *out = new(int64) + **out = **in + } + if in.CreateMode != nil { + in, out := &in.CreateMode, &out.CreateMode + *out = new(string) + **out = **in + } + if in.CreationSourceServerID != nil { + in, out := &in.CreationSourceServerID, &out.CreationSourceServerID + *out = new(string) + **out = **in + } + if in.GeoRedundantBackupEnabled != nil { + in, out := &in.GeoRedundantBackupEnabled, &out.GeoRedundantBackupEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RestorePointInTime != nil { + in, out := &in.RestorePointInTime, &out.RestorePointInTime + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SslEnforcement != nil { + in, out := &in.SslEnforcement, &out.SslEnforcement + *out = new(string) + **out = **in + } + if in.SslEnforcementEnabled != nil { + in, out := &in.SslEnforcementEnabled, &out.SslEnforcementEnabled + *out = new(bool) + **out = **in + } + if in.StorageMb != nil { + in, out := &in.StorageMb, &out.StorageMb + *out = new(int64) + **out = **in + } + if in.StorageProfile != nil { + in, out := &in.StorageProfile, &out.StorageProfile + *out = make([]StorageProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters. +func (in *ServerParameters) DeepCopy() *ServerParameters { + if in == nil { + return nil + } + out := new(ServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSpec) DeepCopyInto(out *ServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec. +func (in *ServerSpec) DeepCopy() *ServerSpec { + if in == nil { + return nil + } + out := new(ServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerStatus) DeepCopyInto(out *ServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus. +func (in *ServerStatus) DeepCopy() *ServerStatus { + if in == nil { + return nil + } + out := new(ServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageProfileObservation) DeepCopyInto(out *StorageProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProfileObservation. +func (in *StorageProfileObservation) DeepCopy() *StorageProfileObservation { + if in == nil { + return nil + } + out := new(StorageProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageProfileParameters) DeepCopyInto(out *StorageProfileParameters) { + *out = *in + if in.AutoGrow != nil { + in, out := &in.AutoGrow, &out.AutoGrow + *out = new(string) + **out = **in + } + if in.BackupRetentionDays != nil { + in, out := &in.BackupRetentionDays, &out.BackupRetentionDays + *out = new(int64) + **out = **in + } + if in.GeoRedundantBackup != nil { + in, out := &in.GeoRedundantBackup, &out.GeoRedundantBackup + *out = new(string) + **out = **in + } + if in.StorageMb != nil { + in, out := &in.StorageMb, &out.StorageMb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProfileParameters. +func (in *StorageProfileParameters) DeepCopy() *StorageProfileParameters { + if in == nil { + return nil + } + out := new(StorageProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRule) DeepCopyInto(out *VirtualNetworkRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRule. +func (in *VirtualNetworkRule) DeepCopy() *VirtualNetworkRule { + if in == nil { + return nil + } + out := new(VirtualNetworkRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleList) DeepCopyInto(out *VirtualNetworkRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualNetworkRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleList. +func (in *VirtualNetworkRuleList) DeepCopy() *VirtualNetworkRuleList { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleObservation) DeepCopyInto(out *VirtualNetworkRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleObservation. +func (in *VirtualNetworkRuleObservation) DeepCopy() *VirtualNetworkRuleObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleParameters) DeepCopyInto(out *VirtualNetworkRuleParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleParameters. +func (in *VirtualNetworkRuleParameters) DeepCopy() *VirtualNetworkRuleParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleSpec) DeepCopyInto(out *VirtualNetworkRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleSpec. +func (in *VirtualNetworkRuleSpec) DeepCopy() *VirtualNetworkRuleSpec { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleStatus) DeepCopyInto(out *VirtualNetworkRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleStatus. +func (in *VirtualNetworkRuleStatus) DeepCopy() *VirtualNetworkRuleStatus { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/mariadb/v1alpha1/zz_generated.managed.go b/apis/mariadb/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2bd504332 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Configuration. +func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Configuration. +func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Configuration. +func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Configuration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Configuration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Configuration. +func (mg *Configuration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Configuration. +func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Configuration. +func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Configuration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Configuration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Database. +func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Database. +func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Database. +func (mg *Database) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Database. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Database) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Database. +func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Database. +func (mg *Database) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Database. +func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Database. +func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Database. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Database) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Database. +func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FirewallRule. +func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallRule. +func (mg *FirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Server. +func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Server. +func (mg *Server) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Server. +func (mg *Server) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Server. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Server) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Server. +func (mg *Server) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Server. +func (mg *Server) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Server. +func (mg *Server) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Server. +func (mg *Server) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Server. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Server) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Server. +func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualNetworkRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualNetworkRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualNetworkRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualNetworkRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/mariadb/v1alpha1/zz_generated.managedlist.go b/apis/mariadb/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..858e919df --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ConfigurationList. +func (l *ConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabaseList. +func (l *DatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallRuleList. +func (l *FirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServerList. +func (l *ServerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualNetworkRuleList. +func (l *VirtualNetworkRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/mariadb/v1alpha1/zz_groupversion_info.go b/apis/mariadb/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..db8063d85 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=mariadb.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "mariadb.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/mariadb/v1alpha1/zz_server_terraformed.go b/apis/mariadb/v1alpha1/zz_server_terraformed.go new file mode 100755 index 000000000..23188f464 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_server_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Server +func (mg *Server) GetTerraformResourceType() string { + return "azurerm_mariadb_server" +} + +// GetConnectionDetailsMapping for this Server +func (tr *Server) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"administrator_login_password": "spec.forProvider.administratorLoginPasswordSecretRef"} +} + +// GetObservation of this Server +func (tr *Server) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Server +func (tr *Server) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Server +func (tr *Server) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Server +func (tr *Server) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Server using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Server) LateInitialize(attrs []byte) (bool, error) { + params := &ServerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Server) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mariadb/v1alpha1/zz_server_types.go b/apis/mariadb/v1alpha1/zz_server_types.go new file mode 100755 index 000000000..d2056fcac --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_server_types.go @@ -0,0 +1,157 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServerObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type ServerParameters struct { + + // +kubebuilder:validation:Optional + AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"` + + // +kubebuilder:validation:Optional + AdministratorLoginPasswordSecretRef *v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"` + + // +kubebuilder:validation:Optional + BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"` + + // +kubebuilder:validation:Optional + CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"` + + // +kubebuilder:validation:Optional + CreationSourceServerID *string `json:"creationSourceServerId,omitempty" tf:"creation_source_server_id,omitempty"` + + // +kubebuilder:validation:Optional + GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + SslEnforcement *string `json:"sslEnforcement,omitempty" tf:"ssl_enforcement,omitempty"` + + // +kubebuilder:validation:Optional + SslEnforcementEnabled *bool `json:"sslEnforcementEnabled,omitempty" tf:"ssl_enforcement_enabled,omitempty"` + + // +kubebuilder:validation:Optional + StorageMb *int64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"` + + // +kubebuilder:validation:Optional + StorageProfile []StorageProfileParameters `json:"storageProfile,omitempty" tf:"storage_profile,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type StorageProfileObservation struct { +} + +type StorageProfileParameters struct { + + // +kubebuilder:validation:Optional + AutoGrow *string `json:"autoGrow,omitempty" tf:"auto_grow,omitempty"` + + // +kubebuilder:validation:Optional + BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"` + + // +kubebuilder:validation:Optional + GeoRedundantBackup *string `json:"geoRedundantBackup,omitempty" tf:"geo_redundant_backup,omitempty"` + + // +kubebuilder:validation:Optional + StorageMb *int64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"` +} + +// ServerSpec defines the desired state of Server +type ServerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerParameters `json:"forProvider"` +} + +// ServerStatus defines the observed state of Server. +type ServerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Server is the Schema for the Servers API +// +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,azurejet} +type Server struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerSpec `json:"spec"` + Status ServerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerList contains a list of Servers +type ServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Server `json:"items"` +} + +// Repository type metadata. +var ( + Server_Kind = "Server" + Server_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Server_Kind}.String() + Server_KindAPIVersion = Server_Kind + "." + CRDGroupVersion.String() + Server_GroupVersionKind = CRDGroupVersion.WithKind(Server_Kind) +) + +func init() { + SchemeBuilder.Register(&Server{}, &ServerList{}) +} diff --git a/apis/mariadb/v1alpha1/zz_virtualnetworkrule_terraformed.go b/apis/mariadb/v1alpha1/zz_virtualnetworkrule_terraformed.go new file mode 100755 index 000000000..1b6dc9787 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_virtualnetworkrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualNetworkRule +func (mg *VirtualNetworkRule) GetTerraformResourceType() string { + return "azurerm_mariadb_virtual_network_rule" +} + +// GetConnectionDetailsMapping for this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualNetworkRule +func (tr *VirtualNetworkRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualNetworkRule +func (tr *VirtualNetworkRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualNetworkRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualNetworkRule) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualNetworkRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualNetworkRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mariadb/v1alpha1/zz_virtualnetworkrule_types.go b/apis/mariadb/v1alpha1/zz_virtualnetworkrule_types.go new file mode 100755 index 000000000..ad45bb108 --- /dev/null +++ b/apis/mariadb/v1alpha1/zz_virtualnetworkrule_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VirtualNetworkRuleObservation struct { +} + +type VirtualNetworkRuleParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule +type VirtualNetworkRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualNetworkRuleParameters `json:"forProvider"` +} + +// VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule. +type VirtualNetworkRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualNetworkRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualNetworkRule is the Schema for the VirtualNetworkRules API +// +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,azurejet} +type VirtualNetworkRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualNetworkRuleSpec `json:"spec"` + Status VirtualNetworkRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualNetworkRuleList contains a list of VirtualNetworkRules +type VirtualNetworkRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualNetworkRule `json:"items"` +} + +// Repository type metadata. +var ( + VirtualNetworkRule_Kind = "VirtualNetworkRule" + VirtualNetworkRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualNetworkRule_Kind}.String() + VirtualNetworkRule_KindAPIVersion = VirtualNetworkRule_Kind + "." + CRDGroupVersion.String() + VirtualNetworkRule_GroupVersionKind = CRDGroupVersion.WithKind(VirtualNetworkRule_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualNetworkRule{}, &VirtualNetworkRuleList{}) +} diff --git a/apis/marketplace/v1alpha1/zz_agreement_terraformed.go b/apis/marketplace/v1alpha1/zz_agreement_terraformed.go new file mode 100755 index 000000000..f80c58147 --- /dev/null +++ b/apis/marketplace/v1alpha1/zz_agreement_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Agreement +func (mg *Agreement) GetTerraformResourceType() string { + return "azurerm_marketplace_agreement" +} + +// GetConnectionDetailsMapping for this Agreement +func (tr *Agreement) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Agreement +func (tr *Agreement) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Agreement +func (tr *Agreement) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Agreement +func (tr *Agreement) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Agreement +func (tr *Agreement) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Agreement using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Agreement) LateInitialize(attrs []byte) (bool, error) { + params := &AgreementParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Agreement) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/marketplace/v1alpha1/zz_agreement_types.go b/apis/marketplace/v1alpha1/zz_agreement_types.go new file mode 100755 index 000000000..eb2ad8ae8 --- /dev/null +++ b/apis/marketplace/v1alpha1/zz_agreement_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AgreementObservation struct { + LicenseTextLink *string `json:"licenseTextLink,omitempty" tf:"license_text_link,omitempty"` + + PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty" tf:"privacy_policy_link,omitempty"` +} + +type AgreementParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Plan *string `json:"plan" tf:"plan,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` +} + +// AgreementSpec defines the desired state of Agreement +type AgreementSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AgreementParameters `json:"forProvider"` +} + +// AgreementStatus defines the observed state of Agreement. +type AgreementStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AgreementObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Agreement is the Schema for the Agreements API +// +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,azurejet} +type Agreement struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AgreementSpec `json:"spec"` + Status AgreementStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AgreementList contains a list of Agreements +type AgreementList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Agreement `json:"items"` +} + +// Repository type metadata. +var ( + Agreement_Kind = "Agreement" + Agreement_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Agreement_Kind}.String() + Agreement_KindAPIVersion = Agreement_Kind + "." + CRDGroupVersion.String() + Agreement_GroupVersionKind = CRDGroupVersion.WithKind(Agreement_Kind) +) + +func init() { + SchemeBuilder.Register(&Agreement{}, &AgreementList{}) +} diff --git a/apis/marketplace/v1alpha1/zz_generated.deepcopy.go b/apis/marketplace/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..6b840298c --- /dev/null +++ b/apis/marketplace/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,173 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Agreement) DeepCopyInto(out *Agreement) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agreement. +func (in *Agreement) DeepCopy() *Agreement { + if in == nil { + return nil + } + out := new(Agreement) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Agreement) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgreementList) DeepCopyInto(out *AgreementList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Agreement, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgreementList. +func (in *AgreementList) DeepCopy() *AgreementList { + if in == nil { + return nil + } + out := new(AgreementList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AgreementList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgreementObservation) DeepCopyInto(out *AgreementObservation) { + *out = *in + if in.LicenseTextLink != nil { + in, out := &in.LicenseTextLink, &out.LicenseTextLink + *out = new(string) + **out = **in + } + if in.PrivacyPolicyLink != nil { + in, out := &in.PrivacyPolicyLink, &out.PrivacyPolicyLink + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgreementObservation. +func (in *AgreementObservation) DeepCopy() *AgreementObservation { + if in == nil { + return nil + } + out := new(AgreementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgreementParameters) DeepCopyInto(out *AgreementParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgreementParameters. +func (in *AgreementParameters) DeepCopy() *AgreementParameters { + if in == nil { + return nil + } + out := new(AgreementParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgreementSpec) DeepCopyInto(out *AgreementSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgreementSpec. +func (in *AgreementSpec) DeepCopy() *AgreementSpec { + if in == nil { + return nil + } + out := new(AgreementSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AgreementStatus) DeepCopyInto(out *AgreementStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgreementStatus. +func (in *AgreementStatus) DeepCopy() *AgreementStatus { + if in == nil { + return nil + } + out := new(AgreementStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/marketplace/v1alpha1/zz_generated.managed.go b/apis/marketplace/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e2ccb2bdb --- /dev/null +++ b/apis/marketplace/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Agreement. +func (mg *Agreement) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Agreement. +func (mg *Agreement) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Agreement. +func (mg *Agreement) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Agreement. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Agreement) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Agreement. +func (mg *Agreement) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Agreement. +func (mg *Agreement) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Agreement. +func (mg *Agreement) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Agreement. +func (mg *Agreement) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Agreement. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Agreement) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Agreement. +func (mg *Agreement) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/marketplace/v1alpha1/zz_generated.managedlist.go b/apis/marketplace/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..0ed19aea8 --- /dev/null +++ b/apis/marketplace/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AgreementList. +func (l *AgreementList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/marketplace/v1alpha1/zz_groupversion_info.go b/apis/marketplace/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..a283572fa --- /dev/null +++ b/apis/marketplace/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=marketplace.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "marketplace.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/media/v1alpha1/zz_asset_terraformed.go b/apis/media/v1alpha1/zz_asset_terraformed.go new file mode 100755 index 000000000..dd77a3b09 --- /dev/null +++ b/apis/media/v1alpha1/zz_asset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Asset +func (mg *Asset) GetTerraformResourceType() string { + return "azurerm_media_asset" +} + +// GetConnectionDetailsMapping for this Asset +func (tr *Asset) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Asset +func (tr *Asset) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Asset +func (tr *Asset) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Asset +func (tr *Asset) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Asset +func (tr *Asset) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Asset using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Asset) LateInitialize(attrs []byte) (bool, error) { + params := &AssetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Asset) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_asset_types.go b/apis/media/v1alpha1/zz_asset_types.go new file mode 100755 index 000000000..ae1c43378 --- /dev/null +++ b/apis/media/v1alpha1/zz_asset_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssetObservation struct { +} + +type AssetParameters struct { + + // +kubebuilder:validation:Optional + AlternateID *string `json:"alternateId,omitempty" tf:"alternate_id,omitempty"` + + // +kubebuilder:validation:Optional + Container *string `json:"container,omitempty" tf:"container,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountName *string `json:"storageAccountName,omitempty" tf:"storage_account_name,omitempty"` +} + +// AssetSpec defines the desired state of Asset +type AssetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssetParameters `json:"forProvider"` +} + +// AssetStatus defines the observed state of Asset. +type AssetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Asset is the Schema for the Assets API +// +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,azurejet} +type Asset struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssetSpec `json:"spec"` + Status AssetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssetList contains a list of Assets +type AssetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Asset `json:"items"` +} + +// Repository type metadata. +var ( + Asset_Kind = "Asset" + Asset_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Asset_Kind}.String() + Asset_KindAPIVersion = Asset_Kind + "." + CRDGroupVersion.String() + Asset_GroupVersionKind = CRDGroupVersion.WithKind(Asset_Kind) +) + +func init() { + SchemeBuilder.Register(&Asset{}, &AssetList{}) +} diff --git a/apis/media/v1alpha1/zz_assetfilter_terraformed.go b/apis/media/v1alpha1/zz_assetfilter_terraformed.go new file mode 100755 index 000000000..572fc4b27 --- /dev/null +++ b/apis/media/v1alpha1/zz_assetfilter_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AssetFilter +func (mg *AssetFilter) GetTerraformResourceType() string { + return "azurerm_media_asset_filter" +} + +// GetConnectionDetailsMapping for this AssetFilter +func (tr *AssetFilter) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AssetFilter +func (tr *AssetFilter) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AssetFilter +func (tr *AssetFilter) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AssetFilter +func (tr *AssetFilter) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AssetFilter +func (tr *AssetFilter) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AssetFilter using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AssetFilter) LateInitialize(attrs []byte) (bool, error) { + params := &AssetFilterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AssetFilter) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_assetfilter_types.go b/apis/media/v1alpha1/zz_assetfilter_types.go new file mode 100755 index 000000000..7673531a9 --- /dev/null +++ b/apis/media/v1alpha1/zz_assetfilter_types.go @@ -0,0 +1,144 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssetFilterObservation struct { +} + +type AssetFilterParameters struct { + + // +kubebuilder:validation:Required + AssetID *string `json:"assetId" tf:"asset_id,omitempty"` + + // +kubebuilder:validation:Optional + FirstQualityBitrate *int64 `json:"firstQualityBitrate,omitempty" tf:"first_quality_bitrate,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PresentationTimeRange []PresentationTimeRangeParameters `json:"presentationTimeRange,omitempty" tf:"presentation_time_range,omitempty"` + + // +kubebuilder:validation:Optional + TrackSelection []TrackSelectionParameters `json:"trackSelection,omitempty" tf:"track_selection,omitempty"` +} + +type ConditionObservation struct { +} + +type ConditionParameters struct { + + // +kubebuilder:validation:Optional + Operation *string `json:"operation,omitempty" tf:"operation,omitempty"` + + // +kubebuilder:validation:Optional + Property *string `json:"property,omitempty" tf:"property,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type PresentationTimeRangeObservation struct { +} + +type PresentationTimeRangeParameters struct { + + // +kubebuilder:validation:Optional + EndInUnits *int64 `json:"endInUnits,omitempty" tf:"end_in_units,omitempty"` + + // +kubebuilder:validation:Optional + ForceEnd *bool `json:"forceEnd,omitempty" tf:"force_end,omitempty"` + + // +kubebuilder:validation:Optional + LiveBackoffInUnits *int64 `json:"liveBackoffInUnits,omitempty" tf:"live_backoff_in_units,omitempty"` + + // +kubebuilder:validation:Optional + PresentationWindowInUnits *int64 `json:"presentationWindowInUnits,omitempty" tf:"presentation_window_in_units,omitempty"` + + // +kubebuilder:validation:Optional + StartInUnits *int64 `json:"startInUnits,omitempty" tf:"start_in_units,omitempty"` + + // +kubebuilder:validation:Optional + UnitTimescaleInMiliseconds *int64 `json:"unitTimescaleInMiliseconds,omitempty" tf:"unit_timescale_in_miliseconds,omitempty"` +} + +type TrackSelectionObservation struct { +} + +type TrackSelectionParameters struct { + + // +kubebuilder:validation:Required + Condition []ConditionParameters `json:"condition" tf:"condition,omitempty"` +} + +// AssetFilterSpec defines the desired state of AssetFilter +type AssetFilterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssetFilterParameters `json:"forProvider"` +} + +// AssetFilterStatus defines the observed state of AssetFilter. +type AssetFilterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssetFilterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssetFilter is the Schema for the AssetFilters API +// +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,azurejet} +type AssetFilter struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssetFilterSpec `json:"spec"` + Status AssetFilterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssetFilterList contains a list of AssetFilters +type AssetFilterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AssetFilter `json:"items"` +} + +// Repository type metadata. +var ( + AssetFilter_Kind = "AssetFilter" + AssetFilter_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AssetFilter_Kind}.String() + AssetFilter_KindAPIVersion = AssetFilter_Kind + "." + CRDGroupVersion.String() + AssetFilter_GroupVersionKind = CRDGroupVersion.WithKind(AssetFilter_Kind) +) + +func init() { + SchemeBuilder.Register(&AssetFilter{}, &AssetFilterList{}) +} diff --git a/apis/media/v1alpha1/zz_contentkeypolicy_terraformed.go b/apis/media/v1alpha1/zz_contentkeypolicy_terraformed.go new file mode 100755 index 000000000..b336a008e --- /dev/null +++ b/apis/media/v1alpha1/zz_contentkeypolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ContentKeyPolicy +func (mg *ContentKeyPolicy) GetTerraformResourceType() string { + return "azurerm_media_content_key_policy" +} + +// GetConnectionDetailsMapping for this ContentKeyPolicy +func (tr *ContentKeyPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"policy_option[*].fairplay_configuration[*].ask": "spec.forProvider.policyOption[*].fairplayConfiguration[*].askSecretRef", "policy_option[*].fairplay_configuration[*].pfx": "spec.forProvider.policyOption[*].fairplayConfiguration[*].pfxSecretRef", "policy_option[*].fairplay_configuration[*].pfx_password": "spec.forProvider.policyOption[*].fairplayConfiguration[*].pfxPasswordSecretRef", "policy_option[*].playready_configuration_license[*].grace_period": "spec.forProvider.policyOption[*].playreadyConfigurationLicense[*].gracePeriodSecretRef", "policy_option[*].token_restriction[*].primary_rsa_token_key_exponent": "spec.forProvider.policyOption[*].tokenRestriction[*].primaryRsaTokenKeyExponentSecretRef", "policy_option[*].token_restriction[*].primary_rsa_token_key_modulus": "spec.forProvider.policyOption[*].tokenRestriction[*].primaryRsaTokenKeyModulusSecretRef", "policy_option[*].token_restriction[*].primary_symmetric_token_key": "spec.forProvider.policyOption[*].tokenRestriction[*].primarySymmetricTokenKeySecretRef", "policy_option[*].token_restriction[*].primary_x509_token_key_raw": "spec.forProvider.policyOption[*].tokenRestriction[*].primaryX509TokenKeyRawSecretRef"} +} + +// GetObservation of this ContentKeyPolicy +func (tr *ContentKeyPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ContentKeyPolicy +func (tr *ContentKeyPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ContentKeyPolicy +func (tr *ContentKeyPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ContentKeyPolicy +func (tr *ContentKeyPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ContentKeyPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ContentKeyPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ContentKeyPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ContentKeyPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_contentkeypolicy_types.go b/apis/media/v1alpha1/zz_contentkeypolicy_types.go new file mode 100755 index 000000000..0d1c09ce0 --- /dev/null +++ b/apis/media/v1alpha1/zz_contentkeypolicy_types.go @@ -0,0 +1,282 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ContentKeyPolicyObservation struct { +} + +type ContentKeyPolicyParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PolicyOption []PolicyOptionParameters `json:"policyOption" tf:"policy_option,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type FairplayConfigurationObservation struct { +} + +type FairplayConfigurationParameters struct { + + // +kubebuilder:validation:Optional + AskSecretRef *v1.SecretKeySelector `json:"askSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + OfflineRentalConfiguration []OfflineRentalConfigurationParameters `json:"offlineRentalConfiguration,omitempty" tf:"offline_rental_configuration,omitempty"` + + // +kubebuilder:validation:Optional + PfxPasswordSecretRef *v1.SecretKeySelector `json:"pfxPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + PfxSecretRef *v1.SecretKeySelector `json:"pfxSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + RentalAndLeaseKeyType *string `json:"rentalAndLeaseKeyType,omitempty" tf:"rental_and_lease_key_type,omitempty"` + + // +kubebuilder:validation:Optional + RentalDurationSeconds *int64 `json:"rentalDurationSeconds,omitempty" tf:"rental_duration_seconds,omitempty"` +} + +type OfflineRentalConfigurationObservation struct { +} + +type OfflineRentalConfigurationParameters struct { + + // +kubebuilder:validation:Optional + PlaybackDurationSeconds *int64 `json:"playbackDurationSeconds,omitempty" tf:"playback_duration_seconds,omitempty"` + + // +kubebuilder:validation:Optional + StorageDurationSeconds *int64 `json:"storageDurationSeconds,omitempty" tf:"storage_duration_seconds,omitempty"` +} + +type PlayRightObservation struct { +} + +type PlayRightParameters struct { + + // +kubebuilder:validation:Optional + AgcAndColorStripeRestriction *int64 `json:"agcAndColorStripeRestriction,omitempty" tf:"agc_and_color_stripe_restriction,omitempty"` + + // +kubebuilder:validation:Optional + AllowPassingVideoContentToUnknownOutput *string `json:"allowPassingVideoContentToUnknownOutput,omitempty" tf:"allow_passing_video_content_to_unknown_output,omitempty"` + + // +kubebuilder:validation:Optional + AnalogVideoOpl *int64 `json:"analogVideoOpl,omitempty" tf:"analog_video_opl,omitempty"` + + // +kubebuilder:validation:Optional + CompressedDigitalAudioOpl *int64 `json:"compressedDigitalAudioOpl,omitempty" tf:"compressed_digital_audio_opl,omitempty"` + + // +kubebuilder:validation:Optional + DigitalVideoOnlyContentRestriction *bool `json:"digitalVideoOnlyContentRestriction,omitempty" tf:"digital_video_only_content_restriction,omitempty"` + + // +kubebuilder:validation:Optional + FirstPlayExpiration *string `json:"firstPlayExpiration,omitempty" tf:"first_play_expiration,omitempty"` + + // +kubebuilder:validation:Optional + ImageConstraintForAnalogComponentVideoRestriction *bool `json:"imageConstraintForAnalogComponentVideoRestriction,omitempty" tf:"image_constraint_for_analog_component_video_restriction,omitempty"` + + // +kubebuilder:validation:Optional + ImageConstraintForAnalogComputerMonitorRestriction *bool `json:"imageConstraintForAnalogComputerMonitorRestriction,omitempty" tf:"image_constraint_for_analog_computer_monitor_restriction,omitempty"` + + // +kubebuilder:validation:Optional + ScmsRestriction *int64 `json:"scmsRestriction,omitempty" tf:"scms_restriction,omitempty"` + + // +kubebuilder:validation:Optional + UncompressedDigitalAudioOpl *int64 `json:"uncompressedDigitalAudioOpl,omitempty" tf:"uncompressed_digital_audio_opl,omitempty"` + + // +kubebuilder:validation:Optional + UncompressedDigitalVideoOpl *int64 `json:"uncompressedDigitalVideoOpl,omitempty" tf:"uncompressed_digital_video_opl,omitempty"` +} + +type PlayreadyConfigurationLicenseObservation struct { +} + +type PlayreadyConfigurationLicenseParameters struct { + + // +kubebuilder:validation:Optional + AllowTestDevices *bool `json:"allowTestDevices,omitempty" tf:"allow_test_devices,omitempty"` + + // +kubebuilder:validation:Optional + BeginDate *string `json:"beginDate,omitempty" tf:"begin_date,omitempty"` + + // +kubebuilder:validation:Optional + ContentKeyLocationFromHeaderEnabled *bool `json:"contentKeyLocationFromHeaderEnabled,omitempty" tf:"content_key_location_from_header_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ContentKeyLocationFromKeyID *string `json:"contentKeyLocationFromKeyId,omitempty" tf:"content_key_location_from_key_id,omitempty"` + + // +kubebuilder:validation:Optional + ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + ExpirationDate *string `json:"expirationDate,omitempty" tf:"expiration_date,omitempty"` + + // +kubebuilder:validation:Optional + GracePeriodSecretRef *v1.SecretKeySelector `json:"gracePeriodSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Optional + PlayRight []PlayRightParameters `json:"playRight,omitempty" tf:"play_right,omitempty"` + + // +kubebuilder:validation:Optional + RelativeBeginDate *string `json:"relativeBeginDate,omitempty" tf:"relative_begin_date,omitempty"` + + // +kubebuilder:validation:Optional + RelativeExpirationDate *string `json:"relativeExpirationDate,omitempty" tf:"relative_expiration_date,omitempty"` +} + +type PolicyOptionObservation struct { +} + +type PolicyOptionParameters struct { + + // +kubebuilder:validation:Optional + ClearKeyConfigurationEnabled *bool `json:"clearKeyConfigurationEnabled,omitempty" tf:"clear_key_configuration_enabled,omitempty"` + + // +kubebuilder:validation:Optional + FairplayConfiguration []FairplayConfigurationParameters `json:"fairplayConfiguration,omitempty" tf:"fairplay_configuration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OpenRestrictionEnabled *bool `json:"openRestrictionEnabled,omitempty" tf:"open_restriction_enabled,omitempty"` + + // +kubebuilder:validation:Optional + PlayreadyConfigurationLicense []PlayreadyConfigurationLicenseParameters `json:"playreadyConfigurationLicense,omitempty" tf:"playready_configuration_license,omitempty"` + + // +kubebuilder:validation:Optional + TokenRestriction []TokenRestrictionParameters `json:"tokenRestriction,omitempty" tf:"token_restriction,omitempty"` + + // +kubebuilder:validation:Optional + WidevineConfigurationTemplate *string `json:"widevineConfigurationTemplate,omitempty" tf:"widevine_configuration_template,omitempty"` +} + +type RequiredClaimObservation struct { +} + +type RequiredClaimParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type TokenRestrictionObservation struct { +} + +type TokenRestrictionParameters struct { + + // +kubebuilder:validation:Optional + Audience *string `json:"audience,omitempty" tf:"audience,omitempty"` + + // +kubebuilder:validation:Optional + Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"` + + // +kubebuilder:validation:Optional + OpenIDConnectDiscoveryDocument *string `json:"openIdConnectDiscoveryDocument,omitempty" tf:"open_id_connect_discovery_document,omitempty"` + + // +kubebuilder:validation:Optional + PrimaryRsaTokenKeyExponentSecretRef *v1.SecretKeySelector `json:"primaryRsaTokenKeyExponentSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + PrimaryRsaTokenKeyModulusSecretRef *v1.SecretKeySelector `json:"primaryRsaTokenKeyModulusSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + PrimarySymmetricTokenKeySecretRef *v1.SecretKeySelector `json:"primarySymmetricTokenKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + PrimaryX509TokenKeyRawSecretRef *v1.SecretKeySelector `json:"primaryX509TokenKeyRawSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + RequiredClaim []RequiredClaimParameters `json:"requiredClaim,omitempty" tf:"required_claim,omitempty"` + + // +kubebuilder:validation:Optional + TokenType *string `json:"tokenType,omitempty" tf:"token_type,omitempty"` +} + +// ContentKeyPolicySpec defines the desired state of ContentKeyPolicy +type ContentKeyPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ContentKeyPolicyParameters `json:"forProvider"` +} + +// ContentKeyPolicyStatus defines the observed state of ContentKeyPolicy. +type ContentKeyPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ContentKeyPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ContentKeyPolicy is the Schema for the ContentKeyPolicys API +// +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,azurejet} +type ContentKeyPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ContentKeyPolicySpec `json:"spec"` + Status ContentKeyPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ContentKeyPolicyList contains a list of ContentKeyPolicys +type ContentKeyPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ContentKeyPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ContentKeyPolicy_Kind = "ContentKeyPolicy" + ContentKeyPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ContentKeyPolicy_Kind}.String() + ContentKeyPolicy_KindAPIVersion = ContentKeyPolicy_Kind + "." + CRDGroupVersion.String() + ContentKeyPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ContentKeyPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ContentKeyPolicy{}, &ContentKeyPolicyList{}) +} diff --git a/apis/media/v1alpha1/zz_generated.deepcopy.go b/apis/media/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..a393387a6 --- /dev/null +++ b/apis/media/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,3991 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessControlObservation) DeepCopyInto(out *AccessControlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlObservation. +func (in *AccessControlObservation) DeepCopy() *AccessControlObservation { + if in == nil { + return nil + } + out := new(AccessControlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessControlParameters) DeepCopyInto(out *AccessControlParameters) { + *out = *in + if in.AkamaiSignatureHeaderAuthenticationKey != nil { + in, out := &in.AkamaiSignatureHeaderAuthenticationKey, &out.AkamaiSignatureHeaderAuthenticationKey + *out = make([]AkamaiSignatureHeaderAuthenticationKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IPAllow != nil { + in, out := &in.IPAllow, &out.IPAllow + *out = make([]IPAllowParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlParameters. +func (in *AccessControlParameters) DeepCopy() *AccessControlParameters { + if in == nil { + return nil + } + out := new(AccessControlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AkamaiSignatureHeaderAuthenticationKeyObservation) DeepCopyInto(out *AkamaiSignatureHeaderAuthenticationKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AkamaiSignatureHeaderAuthenticationKeyObservation. +func (in *AkamaiSignatureHeaderAuthenticationKeyObservation) DeepCopy() *AkamaiSignatureHeaderAuthenticationKeyObservation { + if in == nil { + return nil + } + out := new(AkamaiSignatureHeaderAuthenticationKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AkamaiSignatureHeaderAuthenticationKeyParameters) DeepCopyInto(out *AkamaiSignatureHeaderAuthenticationKeyParameters) { + *out = *in + if in.Base64Key != nil { + in, out := &in.Base64Key, &out.Base64Key + *out = new(string) + **out = **in + } + if in.Expiration != nil { + in, out := &in.Expiration, &out.Expiration + *out = new(string) + **out = **in + } + if in.Identifier != nil { + in, out := &in.Identifier, &out.Identifier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AkamaiSignatureHeaderAuthenticationKeyParameters. +func (in *AkamaiSignatureHeaderAuthenticationKeyParameters) DeepCopy() *AkamaiSignatureHeaderAuthenticationKeyParameters { + if in == nil { + return nil + } + out := new(AkamaiSignatureHeaderAuthenticationKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Asset) DeepCopyInto(out *Asset) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Asset. +func (in *Asset) DeepCopy() *Asset { + if in == nil { + return nil + } + out := new(Asset) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Asset) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetFilter) DeepCopyInto(out *AssetFilter) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetFilter. +func (in *AssetFilter) DeepCopy() *AssetFilter { + if in == nil { + return nil + } + out := new(AssetFilter) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssetFilter) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetFilterList) DeepCopyInto(out *AssetFilterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AssetFilter, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetFilterList. +func (in *AssetFilterList) DeepCopy() *AssetFilterList { + if in == nil { + return nil + } + out := new(AssetFilterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssetFilterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetFilterObservation) DeepCopyInto(out *AssetFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetFilterObservation. +func (in *AssetFilterObservation) DeepCopy() *AssetFilterObservation { + if in == nil { + return nil + } + out := new(AssetFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetFilterParameters) DeepCopyInto(out *AssetFilterParameters) { + *out = *in + if in.AssetID != nil { + in, out := &in.AssetID, &out.AssetID + *out = new(string) + **out = **in + } + if in.FirstQualityBitrate != nil { + in, out := &in.FirstQualityBitrate, &out.FirstQualityBitrate + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PresentationTimeRange != nil { + in, out := &in.PresentationTimeRange, &out.PresentationTimeRange + *out = make([]PresentationTimeRangeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TrackSelection != nil { + in, out := &in.TrackSelection, &out.TrackSelection + *out = make([]TrackSelectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetFilterParameters. +func (in *AssetFilterParameters) DeepCopy() *AssetFilterParameters { + if in == nil { + return nil + } + out := new(AssetFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetFilterSpec) DeepCopyInto(out *AssetFilterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetFilterSpec. +func (in *AssetFilterSpec) DeepCopy() *AssetFilterSpec { + if in == nil { + return nil + } + out := new(AssetFilterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetFilterStatus) DeepCopyInto(out *AssetFilterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetFilterStatus. +func (in *AssetFilterStatus) DeepCopy() *AssetFilterStatus { + if in == nil { + return nil + } + out := new(AssetFilterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetList) DeepCopyInto(out *AssetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Asset, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetList. +func (in *AssetList) DeepCopy() *AssetList { + if in == nil { + return nil + } + out := new(AssetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetObservation) DeepCopyInto(out *AssetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetObservation. +func (in *AssetObservation) DeepCopy() *AssetObservation { + if in == nil { + return nil + } + out := new(AssetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetParameters) DeepCopyInto(out *AssetParameters) { + *out = *in + if in.AlternateID != nil { + in, out := &in.AlternateID, &out.AlternateID + *out = new(string) + **out = **in + } + if in.Container != nil { + in, out := &in.Container, &out.Container + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetParameters. +func (in *AssetParameters) DeepCopy() *AssetParameters { + if in == nil { + return nil + } + out := new(AssetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetSpec) DeepCopyInto(out *AssetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetSpec. +func (in *AssetSpec) DeepCopy() *AssetSpec { + if in == nil { + return nil + } + out := new(AssetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssetStatus) DeepCopyInto(out *AssetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetStatus. +func (in *AssetStatus) DeepCopy() *AssetStatus { + if in == nil { + return nil + } + out := new(AssetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AudioAnalyzerPresetObservation) DeepCopyInto(out *AudioAnalyzerPresetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AudioAnalyzerPresetObservation. +func (in *AudioAnalyzerPresetObservation) DeepCopy() *AudioAnalyzerPresetObservation { + if in == nil { + return nil + } + out := new(AudioAnalyzerPresetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AudioAnalyzerPresetParameters) DeepCopyInto(out *AudioAnalyzerPresetParameters) { + *out = *in + if in.AudioAnalysisMode != nil { + in, out := &in.AudioAnalysisMode, &out.AudioAnalysisMode + *out = new(string) + **out = **in + } + if in.AudioLanguage != nil { + in, out := &in.AudioLanguage, &out.AudioLanguage + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AudioAnalyzerPresetParameters. +func (in *AudioAnalyzerPresetParameters) DeepCopy() *AudioAnalyzerPresetParameters { + if in == nil { + return nil + } + out := new(AudioAnalyzerPresetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BuiltinPresetObservation) DeepCopyInto(out *BuiltinPresetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuiltinPresetObservation. +func (in *BuiltinPresetObservation) DeepCopy() *BuiltinPresetObservation { + if in == nil { + return nil + } + out := new(BuiltinPresetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BuiltinPresetParameters) DeepCopyInto(out *BuiltinPresetParameters) { + *out = *in + if in.PresetName != nil { + in, out := &in.PresetName, &out.PresetName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuiltinPresetParameters. +func (in *BuiltinPresetParameters) DeepCopy() *BuiltinPresetParameters { + if in == nil { + return nil + } + out := new(BuiltinPresetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCbcsObservation) DeepCopyInto(out *CommonEncryptionCbcsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCbcsObservation. +func (in *CommonEncryptionCbcsObservation) DeepCopy() *CommonEncryptionCbcsObservation { + if in == nil { + return nil + } + out := new(CommonEncryptionCbcsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCbcsParameters) DeepCopyInto(out *CommonEncryptionCbcsParameters) { + *out = *in + if in.DefaultContentKey != nil { + in, out := &in.DefaultContentKey, &out.DefaultContentKey + *out = make([]DefaultContentKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DrmFairplay != nil { + in, out := &in.DrmFairplay, &out.DrmFairplay + *out = make([]DrmFairplayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnabledProtocols != nil { + in, out := &in.EnabledProtocols, &out.EnabledProtocols + *out = make([]EnabledProtocolsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCbcsParameters. +func (in *CommonEncryptionCbcsParameters) DeepCopy() *CommonEncryptionCbcsParameters { + if in == nil { + return nil + } + out := new(CommonEncryptionCbcsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCencDefaultContentKeyObservation) DeepCopyInto(out *CommonEncryptionCencDefaultContentKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCencDefaultContentKeyObservation. +func (in *CommonEncryptionCencDefaultContentKeyObservation) DeepCopy() *CommonEncryptionCencDefaultContentKeyObservation { + if in == nil { + return nil + } + out := new(CommonEncryptionCencDefaultContentKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCencDefaultContentKeyParameters) DeepCopyInto(out *CommonEncryptionCencDefaultContentKeyParameters) { + *out = *in + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.PolicyName != nil { + in, out := &in.PolicyName, &out.PolicyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCencDefaultContentKeyParameters. +func (in *CommonEncryptionCencDefaultContentKeyParameters) DeepCopy() *CommonEncryptionCencDefaultContentKeyParameters { + if in == nil { + return nil + } + out := new(CommonEncryptionCencDefaultContentKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCencEnabledProtocolsObservation) DeepCopyInto(out *CommonEncryptionCencEnabledProtocolsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCencEnabledProtocolsObservation. +func (in *CommonEncryptionCencEnabledProtocolsObservation) DeepCopy() *CommonEncryptionCencEnabledProtocolsObservation { + if in == nil { + return nil + } + out := new(CommonEncryptionCencEnabledProtocolsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCencEnabledProtocolsParameters) DeepCopyInto(out *CommonEncryptionCencEnabledProtocolsParameters) { + *out = *in + if in.Dash != nil { + in, out := &in.Dash, &out.Dash + *out = new(bool) + **out = **in + } + if in.Download != nil { + in, out := &in.Download, &out.Download + *out = new(bool) + **out = **in + } + if in.Hls != nil { + in, out := &in.Hls, &out.Hls + *out = new(bool) + **out = **in + } + if in.SmoothStreaming != nil { + in, out := &in.SmoothStreaming, &out.SmoothStreaming + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCencEnabledProtocolsParameters. +func (in *CommonEncryptionCencEnabledProtocolsParameters) DeepCopy() *CommonEncryptionCencEnabledProtocolsParameters { + if in == nil { + return nil + } + out := new(CommonEncryptionCencEnabledProtocolsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCencObservation) DeepCopyInto(out *CommonEncryptionCencObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCencObservation. +func (in *CommonEncryptionCencObservation) DeepCopy() *CommonEncryptionCencObservation { + if in == nil { + return nil + } + out := new(CommonEncryptionCencObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonEncryptionCencParameters) DeepCopyInto(out *CommonEncryptionCencParameters) { + *out = *in + if in.DefaultContentKey != nil { + in, out := &in.DefaultContentKey, &out.DefaultContentKey + *out = make([]CommonEncryptionCencDefaultContentKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DrmPlayready != nil { + in, out := &in.DrmPlayready, &out.DrmPlayready + *out = make([]DrmPlayreadyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DrmWidevineCustomLicenseAcquisitionURLTemplate != nil { + in, out := &in.DrmWidevineCustomLicenseAcquisitionURLTemplate, &out.DrmWidevineCustomLicenseAcquisitionURLTemplate + *out = new(string) + **out = **in + } + if in.EnabledProtocols != nil { + in, out := &in.EnabledProtocols, &out.EnabledProtocols + *out = make([]CommonEncryptionCencEnabledProtocolsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonEncryptionCencParameters. +func (in *CommonEncryptionCencParameters) DeepCopy() *CommonEncryptionCencParameters { + if in == nil { + return nil + } + out := new(CommonEncryptionCencParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionObservation. +func (in *ConditionObservation) DeepCopy() *ConditionObservation { + if in == nil { + return nil + } + out := new(ConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters) { + *out = *in + if in.Operation != nil { + in, out := &in.Operation, &out.Operation + *out = new(string) + **out = **in + } + if in.Property != nil { + in, out := &in.Property, &out.Property + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionParameters. +func (in *ConditionParameters) DeepCopy() *ConditionParameters { + if in == nil { + return nil + } + out := new(ConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyObservation) DeepCopyInto(out *ContentKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyObservation. +func (in *ContentKeyObservation) DeepCopy() *ContentKeyObservation { + if in == nil { + return nil + } + out := new(ContentKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyParameters) DeepCopyInto(out *ContentKeyParameters) { + *out = *in + if in.ContentKeyID != nil { + in, out := &in.ContentKeyID, &out.ContentKeyID + *out = new(string) + **out = **in + } + if in.LabelReferenceInStreamingPolicy != nil { + in, out := &in.LabelReferenceInStreamingPolicy, &out.LabelReferenceInStreamingPolicy + *out = new(string) + **out = **in + } + if in.PolicyName != nil { + in, out := &in.PolicyName, &out.PolicyName + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyParameters. +func (in *ContentKeyParameters) DeepCopy() *ContentKeyParameters { + if in == nil { + return nil + } + out := new(ContentKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyPolicy) DeepCopyInto(out *ContentKeyPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyPolicy. +func (in *ContentKeyPolicy) DeepCopy() *ContentKeyPolicy { + if in == nil { + return nil + } + out := new(ContentKeyPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ContentKeyPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyPolicyList) DeepCopyInto(out *ContentKeyPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ContentKeyPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyPolicyList. +func (in *ContentKeyPolicyList) DeepCopy() *ContentKeyPolicyList { + if in == nil { + return nil + } + out := new(ContentKeyPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ContentKeyPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyPolicyObservation) DeepCopyInto(out *ContentKeyPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyPolicyObservation. +func (in *ContentKeyPolicyObservation) DeepCopy() *ContentKeyPolicyObservation { + if in == nil { + return nil + } + out := new(ContentKeyPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyPolicyParameters) DeepCopyInto(out *ContentKeyPolicyParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyOption != nil { + in, out := &in.PolicyOption, &out.PolicyOption + *out = make([]PolicyOptionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyPolicyParameters. +func (in *ContentKeyPolicyParameters) DeepCopy() *ContentKeyPolicyParameters { + if in == nil { + return nil + } + out := new(ContentKeyPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyPolicySpec) DeepCopyInto(out *ContentKeyPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyPolicySpec. +func (in *ContentKeyPolicySpec) DeepCopy() *ContentKeyPolicySpec { + if in == nil { + return nil + } + out := new(ContentKeyPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContentKeyPolicyStatus) DeepCopyInto(out *ContentKeyPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContentKeyPolicyStatus. +func (in *ContentKeyPolicyStatus) DeepCopy() *ContentKeyPolicyStatus { + if in == nil { + return nil + } + out := new(ContentKeyPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CrossSiteAccessPolicyObservation) DeepCopyInto(out *CrossSiteAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossSiteAccessPolicyObservation. +func (in *CrossSiteAccessPolicyObservation) DeepCopy() *CrossSiteAccessPolicyObservation { + if in == nil { + return nil + } + out := new(CrossSiteAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CrossSiteAccessPolicyParameters) DeepCopyInto(out *CrossSiteAccessPolicyParameters) { + *out = *in + if in.ClientAccessPolicy != nil { + in, out := &in.ClientAccessPolicy, &out.ClientAccessPolicy + *out = new(string) + **out = **in + } + if in.CrossDomainPolicy != nil { + in, out := &in.CrossDomainPolicy, &out.CrossDomainPolicy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossSiteAccessPolicyParameters. +func (in *CrossSiteAccessPolicyParameters) DeepCopy() *CrossSiteAccessPolicyParameters { + if in == nil { + return nil + } + out := new(CrossSiteAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultContentKeyObservation) DeepCopyInto(out *DefaultContentKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultContentKeyObservation. +func (in *DefaultContentKeyObservation) DeepCopy() *DefaultContentKeyObservation { + if in == nil { + return nil + } + out := new(DefaultContentKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultContentKeyParameters) DeepCopyInto(out *DefaultContentKeyParameters) { + *out = *in + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.PolicyName != nil { + in, out := &in.PolicyName, &out.PolicyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultContentKeyParameters. +func (in *DefaultContentKeyParameters) DeepCopy() *DefaultContentKeyParameters { + if in == nil { + return nil + } + out := new(DefaultContentKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DrmFairplayObservation) DeepCopyInto(out *DrmFairplayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DrmFairplayObservation. +func (in *DrmFairplayObservation) DeepCopy() *DrmFairplayObservation { + if in == nil { + return nil + } + out := new(DrmFairplayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DrmFairplayParameters) DeepCopyInto(out *DrmFairplayParameters) { + *out = *in + if in.AllowPersistentLicense != nil { + in, out := &in.AllowPersistentLicense, &out.AllowPersistentLicense + *out = new(bool) + **out = **in + } + if in.CustomLicenseAcquisitionURLTemplate != nil { + in, out := &in.CustomLicenseAcquisitionURLTemplate, &out.CustomLicenseAcquisitionURLTemplate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DrmFairplayParameters. +func (in *DrmFairplayParameters) DeepCopy() *DrmFairplayParameters { + if in == nil { + return nil + } + out := new(DrmFairplayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DrmPlayreadyObservation) DeepCopyInto(out *DrmPlayreadyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DrmPlayreadyObservation. +func (in *DrmPlayreadyObservation) DeepCopy() *DrmPlayreadyObservation { + if in == nil { + return nil + } + out := new(DrmPlayreadyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DrmPlayreadyParameters) DeepCopyInto(out *DrmPlayreadyParameters) { + *out = *in + if in.CustomAttributes != nil { + in, out := &in.CustomAttributes, &out.CustomAttributes + *out = new(string) + **out = **in + } + if in.CustomLicenseAcquisitionURLTemplate != nil { + in, out := &in.CustomLicenseAcquisitionURLTemplate, &out.CustomLicenseAcquisitionURLTemplate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DrmPlayreadyParameters. +func (in *DrmPlayreadyParameters) DeepCopy() *DrmPlayreadyParameters { + if in == nil { + return nil + } + out := new(DrmPlayreadyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnabledProtocolsObservation) DeepCopyInto(out *EnabledProtocolsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnabledProtocolsObservation. +func (in *EnabledProtocolsObservation) DeepCopy() *EnabledProtocolsObservation { + if in == nil { + return nil + } + out := new(EnabledProtocolsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnabledProtocolsParameters) DeepCopyInto(out *EnabledProtocolsParameters) { + *out = *in + if in.Dash != nil { + in, out := &in.Dash, &out.Dash + *out = new(bool) + **out = **in + } + if in.Download != nil { + in, out := &in.Download, &out.Download + *out = new(bool) + **out = **in + } + if in.Hls != nil { + in, out := &in.Hls, &out.Hls + *out = new(bool) + **out = **in + } + if in.SmoothStreaming != nil { + in, out := &in.SmoothStreaming, &out.SmoothStreaming + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnabledProtocolsParameters. +func (in *EnabledProtocolsParameters) DeepCopy() *EnabledProtocolsParameters { + if in == nil { + return nil + } + out := new(EnabledProtocolsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncodingObservation) DeepCopyInto(out *EncodingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncodingObservation. +func (in *EncodingObservation) DeepCopy() *EncodingObservation { + if in == nil { + return nil + } + out := new(EncodingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncodingParameters) DeepCopyInto(out *EncodingParameters) { + *out = *in + if in.KeyFrameInterval != nil { + in, out := &in.KeyFrameInterval, &out.KeyFrameInterval + *out = new(string) + **out = **in + } + if in.PresetName != nil { + in, out := &in.PresetName, &out.PresetName + *out = new(string) + **out = **in + } + if in.StretchMode != nil { + in, out := &in.StretchMode, &out.StretchMode + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncodingParameters. +func (in *EncodingParameters) DeepCopy() *EncodingParameters { + if in == nil { + return nil + } + out := new(EncodingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { + *out = *in + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointObservation. +func (in *EndpointObservation) DeepCopy() *EndpointObservation { + if in == nil { + return nil + } + out := new(EndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParameters. +func (in *EndpointParameters) DeepCopy() *EndpointParameters { + if in == nil { + return nil + } + out := new(EndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FaceDetectorPresetObservation) DeepCopyInto(out *FaceDetectorPresetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FaceDetectorPresetObservation. +func (in *FaceDetectorPresetObservation) DeepCopy() *FaceDetectorPresetObservation { + if in == nil { + return nil + } + out := new(FaceDetectorPresetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FaceDetectorPresetParameters) DeepCopyInto(out *FaceDetectorPresetParameters) { + *out = *in + if in.AnalysisResolution != nil { + in, out := &in.AnalysisResolution, &out.AnalysisResolution + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FaceDetectorPresetParameters. +func (in *FaceDetectorPresetParameters) DeepCopy() *FaceDetectorPresetParameters { + if in == nil { + return nil + } + out := new(FaceDetectorPresetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FairplayConfigurationObservation) DeepCopyInto(out *FairplayConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FairplayConfigurationObservation. +func (in *FairplayConfigurationObservation) DeepCopy() *FairplayConfigurationObservation { + if in == nil { + return nil + } + out := new(FairplayConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FairplayConfigurationParameters) DeepCopyInto(out *FairplayConfigurationParameters) { + *out = *in + if in.AskSecretRef != nil { + in, out := &in.AskSecretRef, &out.AskSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.OfflineRentalConfiguration != nil { + in, out := &in.OfflineRentalConfiguration, &out.OfflineRentalConfiguration + *out = make([]OfflineRentalConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PfxPasswordSecretRef != nil { + in, out := &in.PfxPasswordSecretRef, &out.PfxPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.PfxSecretRef != nil { + in, out := &in.PfxSecretRef, &out.PfxSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.RentalAndLeaseKeyType != nil { + in, out := &in.RentalAndLeaseKeyType, &out.RentalAndLeaseKeyType + *out = new(string) + **out = **in + } + if in.RentalDurationSeconds != nil { + in, out := &in.RentalDurationSeconds, &out.RentalDurationSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FairplayConfigurationParameters. +func (in *FairplayConfigurationParameters) DeepCopy() *FairplayConfigurationParameters { + if in == nil { + return nil + } + out := new(FairplayConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPAccessControlAllowObservation) DeepCopyInto(out *IPAccessControlAllowObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAccessControlAllowObservation. +func (in *IPAccessControlAllowObservation) DeepCopy() *IPAccessControlAllowObservation { + if in == nil { + return nil + } + out := new(IPAccessControlAllowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPAccessControlAllowParameters) DeepCopyInto(out *IPAccessControlAllowParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubnetPrefixLength != nil { + in, out := &in.SubnetPrefixLength, &out.SubnetPrefixLength + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAccessControlAllowParameters. +func (in *IPAccessControlAllowParameters) DeepCopy() *IPAccessControlAllowParameters { + if in == nil { + return nil + } + out := new(IPAccessControlAllowParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPAllowObservation) DeepCopyInto(out *IPAllowObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAllowObservation. +func (in *IPAllowObservation) DeepCopy() *IPAllowObservation { + if in == nil { + return nil + } + out := new(IPAllowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPAllowParameters) DeepCopyInto(out *IPAllowParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubnetPrefixLength != nil { + in, out := &in.SubnetPrefixLength, &out.SubnetPrefixLength + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAllowParameters. +func (in *IPAllowParameters) DeepCopy() *IPAllowParameters { + if in == nil { + return nil + } + out := new(IPAllowParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputAssetObservation) DeepCopyInto(out *InputAssetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputAssetObservation. +func (in *InputAssetObservation) DeepCopy() *InputAssetObservation { + if in == nil { + return nil + } + out := new(InputAssetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputAssetParameters) DeepCopyInto(out *InputAssetParameters) { + *out = *in + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputAssetParameters. +func (in *InputAssetParameters) DeepCopy() *InputAssetParameters { + if in == nil { + return nil + } + out := new(InputAssetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputObservation) DeepCopyInto(out *InputObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = make([]EndpointObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputObservation. +func (in *InputObservation) DeepCopy() *InputObservation { + if in == nil { + return nil + } + out := new(InputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputParameters) DeepCopyInto(out *InputParameters) { + *out = *in + if in.AccessToken != nil { + in, out := &in.AccessToken, &out.AccessToken + *out = new(string) + **out = **in + } + if in.IPAccessControlAllow != nil { + in, out := &in.IPAccessControlAllow, &out.IPAccessControlAllow + *out = make([]IPAccessControlAllowParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyFrameIntervalDuration != nil { + in, out := &in.KeyFrameIntervalDuration, &out.KeyFrameIntervalDuration + *out = new(string) + **out = **in + } + if in.StreamingProtocol != nil { + in, out := &in.StreamingProtocol, &out.StreamingProtocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputParameters. +func (in *InputParameters) DeepCopy() *InputParameters { + if in == nil { + return nil + } + out := new(InputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Job) DeepCopyInto(out *Job) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job. +func (in *Job) DeepCopy() *Job { + if in == nil { + return nil + } + out := new(Job) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Job) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobList) DeepCopyInto(out *JobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Job, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList. +func (in *JobList) DeepCopy() *JobList { + if in == nil { + return nil + } + out := new(JobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobObservation) DeepCopyInto(out *JobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobObservation. +func (in *JobObservation) DeepCopy() *JobObservation { + if in == nil { + return nil + } + out := new(JobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobParameters) DeepCopyInto(out *JobParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.InputAsset != nil { + in, out := &in.InputAsset, &out.InputAsset + *out = make([]InputAssetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OutputAsset != nil { + in, out := &in.OutputAsset, &out.OutputAsset + *out = make([]OutputAssetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TransformName != nil { + in, out := &in.TransformName, &out.TransformName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobParameters. +func (in *JobParameters) DeepCopy() *JobParameters { + if in == nil { + return nil + } + out := new(JobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobSpec) DeepCopyInto(out *JobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. +func (in *JobSpec) DeepCopy() *JobSpec { + if in == nil { + return nil + } + out := new(JobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobStatus) DeepCopyInto(out *JobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. +func (in *JobStatus) DeepCopy() *JobStatus { + if in == nil { + return nil + } + out := new(JobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyDeliveryAccessControlObservation) DeepCopyInto(out *KeyDeliveryAccessControlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyDeliveryAccessControlObservation. +func (in *KeyDeliveryAccessControlObservation) DeepCopy() *KeyDeliveryAccessControlObservation { + if in == nil { + return nil + } + out := new(KeyDeliveryAccessControlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyDeliveryAccessControlParameters) DeepCopyInto(out *KeyDeliveryAccessControlParameters) { + *out = *in + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPAllowList != nil { + in, out := &in.IPAllowList, &out.IPAllowList + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyDeliveryAccessControlParameters. +func (in *KeyDeliveryAccessControlParameters) DeepCopy() *KeyDeliveryAccessControlParameters { + if in == nil { + return nil + } + out := new(KeyDeliveryAccessControlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEvent) DeepCopyInto(out *LiveEvent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEvent. +func (in *LiveEvent) DeepCopy() *LiveEvent { + if in == nil { + return nil + } + out := new(LiveEvent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LiveEvent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventList) DeepCopyInto(out *LiveEventList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LiveEvent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventList. +func (in *LiveEventList) DeepCopy() *LiveEventList { + if in == nil { + return nil + } + out := new(LiveEventList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LiveEventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventObservation) DeepCopyInto(out *LiveEventObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventObservation. +func (in *LiveEventObservation) DeepCopy() *LiveEventObservation { + if in == nil { + return nil + } + out := new(LiveEventObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventOutput) DeepCopyInto(out *LiveEventOutput) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventOutput. +func (in *LiveEventOutput) DeepCopy() *LiveEventOutput { + if in == nil { + return nil + } + out := new(LiveEventOutput) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LiveEventOutput) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventOutputList) DeepCopyInto(out *LiveEventOutputList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LiveEventOutput, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventOutputList. +func (in *LiveEventOutputList) DeepCopy() *LiveEventOutputList { + if in == nil { + return nil + } + out := new(LiveEventOutputList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LiveEventOutputList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventOutputObservation) DeepCopyInto(out *LiveEventOutputObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventOutputObservation. +func (in *LiveEventOutputObservation) DeepCopy() *LiveEventOutputObservation { + if in == nil { + return nil + } + out := new(LiveEventOutputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventOutputParameters) DeepCopyInto(out *LiveEventOutputParameters) { + *out = *in + if in.ArchiveWindowDuration != nil { + in, out := &in.ArchiveWindowDuration, &out.ArchiveWindowDuration + *out = new(string) + **out = **in + } + if in.AssetName != nil { + in, out := &in.AssetName, &out.AssetName + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.HlsFragmentsPerTSSegment != nil { + in, out := &in.HlsFragmentsPerTSSegment, &out.HlsFragmentsPerTSSegment + *out = new(int64) + **out = **in + } + if in.LiveEventID != nil { + in, out := &in.LiveEventID, &out.LiveEventID + *out = new(string) + **out = **in + } + if in.ManifestName != nil { + in, out := &in.ManifestName, &out.ManifestName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OutputSnapTimeInSeconds != nil { + in, out := &in.OutputSnapTimeInSeconds, &out.OutputSnapTimeInSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventOutputParameters. +func (in *LiveEventOutputParameters) DeepCopy() *LiveEventOutputParameters { + if in == nil { + return nil + } + out := new(LiveEventOutputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventOutputSpec) DeepCopyInto(out *LiveEventOutputSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventOutputSpec. +func (in *LiveEventOutputSpec) DeepCopy() *LiveEventOutputSpec { + if in == nil { + return nil + } + out := new(LiveEventOutputSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventOutputStatus) DeepCopyInto(out *LiveEventOutputStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventOutputStatus. +func (in *LiveEventOutputStatus) DeepCopy() *LiveEventOutputStatus { + if in == nil { + return nil + } + out := new(LiveEventOutputStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventParameters) DeepCopyInto(out *LiveEventParameters) { + *out = *in + if in.AutoStartEnabled != nil { + in, out := &in.AutoStartEnabled, &out.AutoStartEnabled + *out = new(bool) + **out = **in + } + if in.CrossSiteAccessPolicy != nil { + in, out := &in.CrossSiteAccessPolicy, &out.CrossSiteAccessPolicy + *out = make([]CrossSiteAccessPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = make([]EncodingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HostnamePrefix != nil { + in, out := &in.HostnamePrefix, &out.HostnamePrefix + *out = new(string) + **out = **in + } + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]InputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Preview != nil { + in, out := &in.Preview, &out.Preview + *out = make([]PreviewParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TranscriptionLanguages != nil { + in, out := &in.TranscriptionLanguages, &out.TranscriptionLanguages + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.UseStaticHostname != nil { + in, out := &in.UseStaticHostname, &out.UseStaticHostname + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventParameters. +func (in *LiveEventParameters) DeepCopy() *LiveEventParameters { + if in == nil { + return nil + } + out := new(LiveEventParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventSpec) DeepCopyInto(out *LiveEventSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventSpec. +func (in *LiveEventSpec) DeepCopy() *LiveEventSpec { + if in == nil { + return nil + } + out := new(LiveEventSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LiveEventStatus) DeepCopyInto(out *LiveEventStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LiveEventStatus. +func (in *LiveEventStatus) DeepCopy() *LiveEventStatus { + if in == nil { + return nil + } + out := new(LiveEventStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NoEncryptionEnabledProtocolsObservation) DeepCopyInto(out *NoEncryptionEnabledProtocolsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoEncryptionEnabledProtocolsObservation. +func (in *NoEncryptionEnabledProtocolsObservation) DeepCopy() *NoEncryptionEnabledProtocolsObservation { + if in == nil { + return nil + } + out := new(NoEncryptionEnabledProtocolsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NoEncryptionEnabledProtocolsParameters) DeepCopyInto(out *NoEncryptionEnabledProtocolsParameters) { + *out = *in + if in.Dash != nil { + in, out := &in.Dash, &out.Dash + *out = new(bool) + **out = **in + } + if in.Download != nil { + in, out := &in.Download, &out.Download + *out = new(bool) + **out = **in + } + if in.Hls != nil { + in, out := &in.Hls, &out.Hls + *out = new(bool) + **out = **in + } + if in.SmoothStreaming != nil { + in, out := &in.SmoothStreaming, &out.SmoothStreaming + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoEncryptionEnabledProtocolsParameters. +func (in *NoEncryptionEnabledProtocolsParameters) DeepCopy() *NoEncryptionEnabledProtocolsParameters { + if in == nil { + return nil + } + out := new(NoEncryptionEnabledProtocolsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OfflineRentalConfigurationObservation) DeepCopyInto(out *OfflineRentalConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineRentalConfigurationObservation. +func (in *OfflineRentalConfigurationObservation) DeepCopy() *OfflineRentalConfigurationObservation { + if in == nil { + return nil + } + out := new(OfflineRentalConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OfflineRentalConfigurationParameters) DeepCopyInto(out *OfflineRentalConfigurationParameters) { + *out = *in + if in.PlaybackDurationSeconds != nil { + in, out := &in.PlaybackDurationSeconds, &out.PlaybackDurationSeconds + *out = new(int64) + **out = **in + } + if in.StorageDurationSeconds != nil { + in, out := &in.StorageDurationSeconds, &out.StorageDurationSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OfflineRentalConfigurationParameters. +func (in *OfflineRentalConfigurationParameters) DeepCopy() *OfflineRentalConfigurationParameters { + if in == nil { + return nil + } + out := new(OfflineRentalConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputAssetObservation) DeepCopyInto(out *OutputAssetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputAssetObservation. +func (in *OutputAssetObservation) DeepCopy() *OutputAssetObservation { + if in == nil { + return nil + } + out := new(OutputAssetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputAssetParameters) DeepCopyInto(out *OutputAssetParameters) { + *out = *in + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputAssetParameters. +func (in *OutputAssetParameters) DeepCopy() *OutputAssetParameters { + if in == nil { + return nil + } + out := new(OutputAssetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputObservation) DeepCopyInto(out *OutputObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputObservation. +func (in *OutputObservation) DeepCopy() *OutputObservation { + if in == nil { + return nil + } + out := new(OutputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputParameters) DeepCopyInto(out *OutputParameters) { + *out = *in + if in.AudioAnalyzerPreset != nil { + in, out := &in.AudioAnalyzerPreset, &out.AudioAnalyzerPreset + *out = make([]AudioAnalyzerPresetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BuiltinPreset != nil { + in, out := &in.BuiltinPreset, &out.BuiltinPreset + *out = make([]BuiltinPresetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FaceDetectorPreset != nil { + in, out := &in.FaceDetectorPreset, &out.FaceDetectorPreset + *out = make([]FaceDetectorPresetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OnErrorAction != nil { + in, out := &in.OnErrorAction, &out.OnErrorAction + *out = new(string) + **out = **in + } + if in.RelativePriority != nil { + in, out := &in.RelativePriority, &out.RelativePriority + *out = new(string) + **out = **in + } + if in.VideoAnalyzerPreset != nil { + in, out := &in.VideoAnalyzerPreset, &out.VideoAnalyzerPreset + *out = make([]VideoAnalyzerPresetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputParameters. +func (in *OutputParameters) DeepCopy() *OutputParameters { + if in == nil { + return nil + } + out := new(OutputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlayRightObservation) DeepCopyInto(out *PlayRightObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayRightObservation. +func (in *PlayRightObservation) DeepCopy() *PlayRightObservation { + if in == nil { + return nil + } + out := new(PlayRightObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlayRightParameters) DeepCopyInto(out *PlayRightParameters) { + *out = *in + if in.AgcAndColorStripeRestriction != nil { + in, out := &in.AgcAndColorStripeRestriction, &out.AgcAndColorStripeRestriction + *out = new(int64) + **out = **in + } + if in.AllowPassingVideoContentToUnknownOutput != nil { + in, out := &in.AllowPassingVideoContentToUnknownOutput, &out.AllowPassingVideoContentToUnknownOutput + *out = new(string) + **out = **in + } + if in.AnalogVideoOpl != nil { + in, out := &in.AnalogVideoOpl, &out.AnalogVideoOpl + *out = new(int64) + **out = **in + } + if in.CompressedDigitalAudioOpl != nil { + in, out := &in.CompressedDigitalAudioOpl, &out.CompressedDigitalAudioOpl + *out = new(int64) + **out = **in + } + if in.DigitalVideoOnlyContentRestriction != nil { + in, out := &in.DigitalVideoOnlyContentRestriction, &out.DigitalVideoOnlyContentRestriction + *out = new(bool) + **out = **in + } + if in.FirstPlayExpiration != nil { + in, out := &in.FirstPlayExpiration, &out.FirstPlayExpiration + *out = new(string) + **out = **in + } + if in.ImageConstraintForAnalogComponentVideoRestriction != nil { + in, out := &in.ImageConstraintForAnalogComponentVideoRestriction, &out.ImageConstraintForAnalogComponentVideoRestriction + *out = new(bool) + **out = **in + } + if in.ImageConstraintForAnalogComputerMonitorRestriction != nil { + in, out := &in.ImageConstraintForAnalogComputerMonitorRestriction, &out.ImageConstraintForAnalogComputerMonitorRestriction + *out = new(bool) + **out = **in + } + if in.ScmsRestriction != nil { + in, out := &in.ScmsRestriction, &out.ScmsRestriction + *out = new(int64) + **out = **in + } + if in.UncompressedDigitalAudioOpl != nil { + in, out := &in.UncompressedDigitalAudioOpl, &out.UncompressedDigitalAudioOpl + *out = new(int64) + **out = **in + } + if in.UncompressedDigitalVideoOpl != nil { + in, out := &in.UncompressedDigitalVideoOpl, &out.UncompressedDigitalVideoOpl + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayRightParameters. +func (in *PlayRightParameters) DeepCopy() *PlayRightParameters { + if in == nil { + return nil + } + out := new(PlayRightParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlayreadyConfigurationLicenseObservation) DeepCopyInto(out *PlayreadyConfigurationLicenseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayreadyConfigurationLicenseObservation. +func (in *PlayreadyConfigurationLicenseObservation) DeepCopy() *PlayreadyConfigurationLicenseObservation { + if in == nil { + return nil + } + out := new(PlayreadyConfigurationLicenseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlayreadyConfigurationLicenseParameters) DeepCopyInto(out *PlayreadyConfigurationLicenseParameters) { + *out = *in + if in.AllowTestDevices != nil { + in, out := &in.AllowTestDevices, &out.AllowTestDevices + *out = new(bool) + **out = **in + } + if in.BeginDate != nil { + in, out := &in.BeginDate, &out.BeginDate + *out = new(string) + **out = **in + } + if in.ContentKeyLocationFromHeaderEnabled != nil { + in, out := &in.ContentKeyLocationFromHeaderEnabled, &out.ContentKeyLocationFromHeaderEnabled + *out = new(bool) + **out = **in + } + if in.ContentKeyLocationFromKeyID != nil { + in, out := &in.ContentKeyLocationFromKeyID, &out.ContentKeyLocationFromKeyID + *out = new(string) + **out = **in + } + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.ExpirationDate != nil { + in, out := &in.ExpirationDate, &out.ExpirationDate + *out = new(string) + **out = **in + } + if in.GracePeriodSecretRef != nil { + in, out := &in.GracePeriodSecretRef, &out.GracePeriodSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.PlayRight != nil { + in, out := &in.PlayRight, &out.PlayRight + *out = make([]PlayRightParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RelativeBeginDate != nil { + in, out := &in.RelativeBeginDate, &out.RelativeBeginDate + *out = new(string) + **out = **in + } + if in.RelativeExpirationDate != nil { + in, out := &in.RelativeExpirationDate, &out.RelativeExpirationDate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlayreadyConfigurationLicenseParameters. +func (in *PlayreadyConfigurationLicenseParameters) DeepCopy() *PlayreadyConfigurationLicenseParameters { + if in == nil { + return nil + } + out := new(PlayreadyConfigurationLicenseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyOptionObservation) DeepCopyInto(out *PolicyOptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyOptionObservation. +func (in *PolicyOptionObservation) DeepCopy() *PolicyOptionObservation { + if in == nil { + return nil + } + out := new(PolicyOptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyOptionParameters) DeepCopyInto(out *PolicyOptionParameters) { + *out = *in + if in.ClearKeyConfigurationEnabled != nil { + in, out := &in.ClearKeyConfigurationEnabled, &out.ClearKeyConfigurationEnabled + *out = new(bool) + **out = **in + } + if in.FairplayConfiguration != nil { + in, out := &in.FairplayConfiguration, &out.FairplayConfiguration + *out = make([]FairplayConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OpenRestrictionEnabled != nil { + in, out := &in.OpenRestrictionEnabled, &out.OpenRestrictionEnabled + *out = new(bool) + **out = **in + } + if in.PlayreadyConfigurationLicense != nil { + in, out := &in.PlayreadyConfigurationLicense, &out.PlayreadyConfigurationLicense + *out = make([]PlayreadyConfigurationLicenseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TokenRestriction != nil { + in, out := &in.TokenRestriction, &out.TokenRestriction + *out = make([]TokenRestrictionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WidevineConfigurationTemplate != nil { + in, out := &in.WidevineConfigurationTemplate, &out.WidevineConfigurationTemplate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyOptionParameters. +func (in *PolicyOptionParameters) DeepCopy() *PolicyOptionParameters { + if in == nil { + return nil + } + out := new(PolicyOptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PresentationTimeRangeObservation) DeepCopyInto(out *PresentationTimeRangeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PresentationTimeRangeObservation. +func (in *PresentationTimeRangeObservation) DeepCopy() *PresentationTimeRangeObservation { + if in == nil { + return nil + } + out := new(PresentationTimeRangeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PresentationTimeRangeParameters) DeepCopyInto(out *PresentationTimeRangeParameters) { + *out = *in + if in.EndInUnits != nil { + in, out := &in.EndInUnits, &out.EndInUnits + *out = new(int64) + **out = **in + } + if in.ForceEnd != nil { + in, out := &in.ForceEnd, &out.ForceEnd + *out = new(bool) + **out = **in + } + if in.LiveBackoffInUnits != nil { + in, out := &in.LiveBackoffInUnits, &out.LiveBackoffInUnits + *out = new(int64) + **out = **in + } + if in.PresentationWindowInUnits != nil { + in, out := &in.PresentationWindowInUnits, &out.PresentationWindowInUnits + *out = new(int64) + **out = **in + } + if in.StartInUnits != nil { + in, out := &in.StartInUnits, &out.StartInUnits + *out = new(int64) + **out = **in + } + if in.UnitTimescaleInMiliseconds != nil { + in, out := &in.UnitTimescaleInMiliseconds, &out.UnitTimescaleInMiliseconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PresentationTimeRangeParameters. +func (in *PresentationTimeRangeParameters) DeepCopy() *PresentationTimeRangeParameters { + if in == nil { + return nil + } + out := new(PresentationTimeRangeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PreviewEndpointObservation) DeepCopyInto(out *PreviewEndpointObservation) { + *out = *in + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewEndpointObservation. +func (in *PreviewEndpointObservation) DeepCopy() *PreviewEndpointObservation { + if in == nil { + return nil + } + out := new(PreviewEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PreviewEndpointParameters) DeepCopyInto(out *PreviewEndpointParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewEndpointParameters. +func (in *PreviewEndpointParameters) DeepCopy() *PreviewEndpointParameters { + if in == nil { + return nil + } + out := new(PreviewEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PreviewIPAccessControlAllowObservation) DeepCopyInto(out *PreviewIPAccessControlAllowObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewIPAccessControlAllowObservation. +func (in *PreviewIPAccessControlAllowObservation) DeepCopy() *PreviewIPAccessControlAllowObservation { + if in == nil { + return nil + } + out := new(PreviewIPAccessControlAllowObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PreviewIPAccessControlAllowParameters) DeepCopyInto(out *PreviewIPAccessControlAllowParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubnetPrefixLength != nil { + in, out := &in.SubnetPrefixLength, &out.SubnetPrefixLength + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewIPAccessControlAllowParameters. +func (in *PreviewIPAccessControlAllowParameters) DeepCopy() *PreviewIPAccessControlAllowParameters { + if in == nil { + return nil + } + out := new(PreviewIPAccessControlAllowParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PreviewObservation) DeepCopyInto(out *PreviewObservation) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = make([]PreviewEndpointObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewObservation. +func (in *PreviewObservation) DeepCopy() *PreviewObservation { + if in == nil { + return nil + } + out := new(PreviewObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PreviewParameters) DeepCopyInto(out *PreviewParameters) { + *out = *in + if in.AlternativeMediaID != nil { + in, out := &in.AlternativeMediaID, &out.AlternativeMediaID + *out = new(string) + **out = **in + } + if in.IPAccessControlAllow != nil { + in, out := &in.IPAccessControlAllow, &out.IPAccessControlAllow + *out = make([]PreviewIPAccessControlAllowParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PreviewLocator != nil { + in, out := &in.PreviewLocator, &out.PreviewLocator + *out = new(string) + **out = **in + } + if in.StreamingPolicyName != nil { + in, out := &in.StreamingPolicyName, &out.StreamingPolicyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewParameters. +func (in *PreviewParameters) DeepCopy() *PreviewParameters { + if in == nil { + return nil + } + out := new(PreviewParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequiredClaimObservation) DeepCopyInto(out *RequiredClaimObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredClaimObservation. +func (in *RequiredClaimObservation) DeepCopy() *RequiredClaimObservation { + if in == nil { + return nil + } + out := new(RequiredClaimObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequiredClaimParameters) DeepCopyInto(out *RequiredClaimParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredClaimParameters. +func (in *RequiredClaimParameters) DeepCopy() *RequiredClaimParameters { + if in == nil { + return nil + } + out := new(RequiredClaimParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesAccount) DeepCopyInto(out *ServicesAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesAccount. +func (in *ServicesAccount) DeepCopy() *ServicesAccount { + if in == nil { + return nil + } + out := new(ServicesAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicesAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesAccountList) DeepCopyInto(out *ServicesAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServicesAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesAccountList. +func (in *ServicesAccountList) DeepCopy() *ServicesAccountList { + if in == nil { + return nil + } + out := new(ServicesAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicesAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesAccountObservation) DeepCopyInto(out *ServicesAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesAccountObservation. +func (in *ServicesAccountObservation) DeepCopy() *ServicesAccountObservation { + if in == nil { + return nil + } + out := new(ServicesAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesAccountParameters) DeepCopyInto(out *ServicesAccountParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyDeliveryAccessControl != nil { + in, out := &in.KeyDeliveryAccessControl, &out.KeyDeliveryAccessControl + *out = make([]KeyDeliveryAccessControlParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]StorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAuthenticationType != nil { + in, out := &in.StorageAuthenticationType, &out.StorageAuthenticationType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesAccountParameters. +func (in *ServicesAccountParameters) DeepCopy() *ServicesAccountParameters { + if in == nil { + return nil + } + out := new(ServicesAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesAccountSpec) DeepCopyInto(out *ServicesAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesAccountSpec. +func (in *ServicesAccountSpec) DeepCopy() *ServicesAccountSpec { + if in == nil { + return nil + } + out := new(ServicesAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesAccountStatus) DeepCopyInto(out *ServicesAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesAccountStatus. +func (in *ServicesAccountStatus) DeepCopy() *ServicesAccountStatus { + if in == nil { + return nil + } + out := new(ServicesAccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountObservation) DeepCopyInto(out *StorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountObservation. +func (in *StorageAccountObservation) DeepCopy() *StorageAccountObservation { + if in == nil { + return nil + } + out := new(StorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountParameters) DeepCopyInto(out *StorageAccountParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.IsPrimary != nil { + in, out := &in.IsPrimary, &out.IsPrimary + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountParameters. +func (in *StorageAccountParameters) DeepCopy() *StorageAccountParameters { + if in == nil { + return nil + } + out := new(StorageAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpoint) DeepCopyInto(out *StreamingEndpoint) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpoint. +func (in *StreamingEndpoint) DeepCopy() *StreamingEndpoint { + if in == nil { + return nil + } + out := new(StreamingEndpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StreamingEndpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointCrossSiteAccessPolicyObservation) DeepCopyInto(out *StreamingEndpointCrossSiteAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointCrossSiteAccessPolicyObservation. +func (in *StreamingEndpointCrossSiteAccessPolicyObservation) DeepCopy() *StreamingEndpointCrossSiteAccessPolicyObservation { + if in == nil { + return nil + } + out := new(StreamingEndpointCrossSiteAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointCrossSiteAccessPolicyParameters) DeepCopyInto(out *StreamingEndpointCrossSiteAccessPolicyParameters) { + *out = *in + if in.ClientAccessPolicy != nil { + in, out := &in.ClientAccessPolicy, &out.ClientAccessPolicy + *out = new(string) + **out = **in + } + if in.CrossDomainPolicy != nil { + in, out := &in.CrossDomainPolicy, &out.CrossDomainPolicy + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointCrossSiteAccessPolicyParameters. +func (in *StreamingEndpointCrossSiteAccessPolicyParameters) DeepCopy() *StreamingEndpointCrossSiteAccessPolicyParameters { + if in == nil { + return nil + } + out := new(StreamingEndpointCrossSiteAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointList) DeepCopyInto(out *StreamingEndpointList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StreamingEndpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointList. +func (in *StreamingEndpointList) DeepCopy() *StreamingEndpointList { + if in == nil { + return nil + } + out := new(StreamingEndpointList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StreamingEndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointObservation) DeepCopyInto(out *StreamingEndpointObservation) { + *out = *in + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointObservation. +func (in *StreamingEndpointObservation) DeepCopy() *StreamingEndpointObservation { + if in == nil { + return nil + } + out := new(StreamingEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointParameters) DeepCopyInto(out *StreamingEndpointParameters) { + *out = *in + if in.AccessControl != nil { + in, out := &in.AccessControl, &out.AccessControl + *out = make([]AccessControlParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutoStartEnabled != nil { + in, out := &in.AutoStartEnabled, &out.AutoStartEnabled + *out = new(bool) + **out = **in + } + if in.CdnEnabled != nil { + in, out := &in.CdnEnabled, &out.CdnEnabled + *out = new(bool) + **out = **in + } + if in.CdnProfile != nil { + in, out := &in.CdnProfile, &out.CdnProfile + *out = new(string) + **out = **in + } + if in.CdnProvider != nil { + in, out := &in.CdnProvider, &out.CdnProvider + *out = new(string) + **out = **in + } + if in.CrossSiteAccessPolicy != nil { + in, out := &in.CrossSiteAccessPolicy, &out.CrossSiteAccessPolicy + *out = make([]StreamingEndpointCrossSiteAccessPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomHostNames != nil { + in, out := &in.CustomHostNames, &out.CustomHostNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxCacheAgeSeconds != nil { + in, out := &in.MaxCacheAgeSeconds, &out.MaxCacheAgeSeconds + *out = new(int64) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ScaleUnits != nil { + in, out := &in.ScaleUnits, &out.ScaleUnits + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointParameters. +func (in *StreamingEndpointParameters) DeepCopy() *StreamingEndpointParameters { + if in == nil { + return nil + } + out := new(StreamingEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointSpec) DeepCopyInto(out *StreamingEndpointSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointSpec. +func (in *StreamingEndpointSpec) DeepCopy() *StreamingEndpointSpec { + if in == nil { + return nil + } + out := new(StreamingEndpointSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingEndpointStatus) DeepCopyInto(out *StreamingEndpointStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingEndpointStatus. +func (in *StreamingEndpointStatus) DeepCopy() *StreamingEndpointStatus { + if in == nil { + return nil + } + out := new(StreamingEndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingLocator) DeepCopyInto(out *StreamingLocator) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingLocator. +func (in *StreamingLocator) DeepCopy() *StreamingLocator { + if in == nil { + return nil + } + out := new(StreamingLocator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StreamingLocator) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingLocatorList) DeepCopyInto(out *StreamingLocatorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StreamingLocator, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingLocatorList. +func (in *StreamingLocatorList) DeepCopy() *StreamingLocatorList { + if in == nil { + return nil + } + out := new(StreamingLocatorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StreamingLocatorList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingLocatorObservation) DeepCopyInto(out *StreamingLocatorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingLocatorObservation. +func (in *StreamingLocatorObservation) DeepCopy() *StreamingLocatorObservation { + if in == nil { + return nil + } + out := new(StreamingLocatorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingLocatorParameters) DeepCopyInto(out *StreamingLocatorParameters) { + *out = *in + if in.AlternativeMediaID != nil { + in, out := &in.AlternativeMediaID, &out.AlternativeMediaID + *out = new(string) + **out = **in + } + if in.AssetName != nil { + in, out := &in.AssetName, &out.AssetName + *out = new(string) + **out = **in + } + if in.ContentKey != nil { + in, out := &in.ContentKey, &out.ContentKey + *out = make([]ContentKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultContentKeyPolicyName != nil { + in, out := &in.DefaultContentKeyPolicyName, &out.DefaultContentKeyPolicyName + *out = new(string) + **out = **in + } + if in.EndTime != nil { + in, out := &in.EndTime, &out.EndTime + *out = new(string) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StartTime != nil { + in, out := &in.StartTime, &out.StartTime + *out = new(string) + **out = **in + } + if in.StreamingLocatorID != nil { + in, out := &in.StreamingLocatorID, &out.StreamingLocatorID + *out = new(string) + **out = **in + } + if in.StreamingPolicyName != nil { + in, out := &in.StreamingPolicyName, &out.StreamingPolicyName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingLocatorParameters. +func (in *StreamingLocatorParameters) DeepCopy() *StreamingLocatorParameters { + if in == nil { + return nil + } + out := new(StreamingLocatorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingLocatorSpec) DeepCopyInto(out *StreamingLocatorSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingLocatorSpec. +func (in *StreamingLocatorSpec) DeepCopy() *StreamingLocatorSpec { + if in == nil { + return nil + } + out := new(StreamingLocatorSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingLocatorStatus) DeepCopyInto(out *StreamingLocatorStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingLocatorStatus. +func (in *StreamingLocatorStatus) DeepCopy() *StreamingLocatorStatus { + if in == nil { + return nil + } + out := new(StreamingLocatorStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingPolicy) DeepCopyInto(out *StreamingPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingPolicy. +func (in *StreamingPolicy) DeepCopy() *StreamingPolicy { + if in == nil { + return nil + } + out := new(StreamingPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StreamingPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingPolicyList) DeepCopyInto(out *StreamingPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]StreamingPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingPolicyList. +func (in *StreamingPolicyList) DeepCopy() *StreamingPolicyList { + if in == nil { + return nil + } + out := new(StreamingPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *StreamingPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingPolicyObservation) DeepCopyInto(out *StreamingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingPolicyObservation. +func (in *StreamingPolicyObservation) DeepCopy() *StreamingPolicyObservation { + if in == nil { + return nil + } + out := new(StreamingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingPolicyParameters) DeepCopyInto(out *StreamingPolicyParameters) { + *out = *in + if in.CommonEncryptionCbcs != nil { + in, out := &in.CommonEncryptionCbcs, &out.CommonEncryptionCbcs + *out = make([]CommonEncryptionCbcsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CommonEncryptionCenc != nil { + in, out := &in.CommonEncryptionCenc, &out.CommonEncryptionCenc + *out = make([]CommonEncryptionCencParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultContentKeyPolicyName != nil { + in, out := &in.DefaultContentKeyPolicyName, &out.DefaultContentKeyPolicyName + *out = new(string) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NoEncryptionEnabledProtocols != nil { + in, out := &in.NoEncryptionEnabledProtocols, &out.NoEncryptionEnabledProtocols + *out = make([]NoEncryptionEnabledProtocolsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingPolicyParameters. +func (in *StreamingPolicyParameters) DeepCopy() *StreamingPolicyParameters { + if in == nil { + return nil + } + out := new(StreamingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingPolicySpec) DeepCopyInto(out *StreamingPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingPolicySpec. +func (in *StreamingPolicySpec) DeepCopy() *StreamingPolicySpec { + if in == nil { + return nil + } + out := new(StreamingPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StreamingPolicyStatus) DeepCopyInto(out *StreamingPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamingPolicyStatus. +func (in *StreamingPolicyStatus) DeepCopy() *StreamingPolicyStatus { + if in == nil { + return nil + } + out := new(StreamingPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TokenRestrictionObservation) DeepCopyInto(out *TokenRestrictionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRestrictionObservation. +func (in *TokenRestrictionObservation) DeepCopy() *TokenRestrictionObservation { + if in == nil { + return nil + } + out := new(TokenRestrictionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TokenRestrictionParameters) DeepCopyInto(out *TokenRestrictionParameters) { + *out = *in + if in.Audience != nil { + in, out := &in.Audience, &out.Audience + *out = new(string) + **out = **in + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.OpenIDConnectDiscoveryDocument != nil { + in, out := &in.OpenIDConnectDiscoveryDocument, &out.OpenIDConnectDiscoveryDocument + *out = new(string) + **out = **in + } + if in.PrimaryRsaTokenKeyExponentSecretRef != nil { + in, out := &in.PrimaryRsaTokenKeyExponentSecretRef, &out.PrimaryRsaTokenKeyExponentSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.PrimaryRsaTokenKeyModulusSecretRef != nil { + in, out := &in.PrimaryRsaTokenKeyModulusSecretRef, &out.PrimaryRsaTokenKeyModulusSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.PrimarySymmetricTokenKeySecretRef != nil { + in, out := &in.PrimarySymmetricTokenKeySecretRef, &out.PrimarySymmetricTokenKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.PrimaryX509TokenKeyRawSecretRef != nil { + in, out := &in.PrimaryX509TokenKeyRawSecretRef, &out.PrimaryX509TokenKeyRawSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.RequiredClaim != nil { + in, out := &in.RequiredClaim, &out.RequiredClaim + *out = make([]RequiredClaimParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TokenType != nil { + in, out := &in.TokenType, &out.TokenType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRestrictionParameters. +func (in *TokenRestrictionParameters) DeepCopy() *TokenRestrictionParameters { + if in == nil { + return nil + } + out := new(TokenRestrictionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrackSelectionObservation) DeepCopyInto(out *TrackSelectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrackSelectionObservation. +func (in *TrackSelectionObservation) DeepCopy() *TrackSelectionObservation { + if in == nil { + return nil + } + out := new(TrackSelectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrackSelectionParameters) DeepCopyInto(out *TrackSelectionParameters) { + *out = *in + if in.Condition != nil { + in, out := &in.Condition, &out.Condition + *out = make([]ConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrackSelectionParameters. +func (in *TrackSelectionParameters) DeepCopy() *TrackSelectionParameters { + if in == nil { + return nil + } + out := new(TrackSelectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Transform) DeepCopyInto(out *Transform) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transform. +func (in *Transform) DeepCopy() *Transform { + if in == nil { + return nil + } + out := new(Transform) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Transform) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformList) DeepCopyInto(out *TransformList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Transform, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformList. +func (in *TransformList) DeepCopy() *TransformList { + if in == nil { + return nil + } + out := new(TransformList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TransformList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformObservation) DeepCopyInto(out *TransformObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformObservation. +func (in *TransformObservation) DeepCopy() *TransformObservation { + if in == nil { + return nil + } + out := new(TransformObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformParameters) DeepCopyInto(out *TransformParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.MediaServicesAccountName != nil { + in, out := &in.MediaServicesAccountName, &out.MediaServicesAccountName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Output != nil { + in, out := &in.Output, &out.Output + *out = make([]OutputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformParameters. +func (in *TransformParameters) DeepCopy() *TransformParameters { + if in == nil { + return nil + } + out := new(TransformParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformSpec) DeepCopyInto(out *TransformSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformSpec. +func (in *TransformSpec) DeepCopy() *TransformSpec { + if in == nil { + return nil + } + out := new(TransformSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TransformStatus) DeepCopyInto(out *TransformStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransformStatus. +func (in *TransformStatus) DeepCopy() *TransformStatus { + if in == nil { + return nil + } + out := new(TransformStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VideoAnalyzerPresetObservation) DeepCopyInto(out *VideoAnalyzerPresetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyzerPresetObservation. +func (in *VideoAnalyzerPresetObservation) DeepCopy() *VideoAnalyzerPresetObservation { + if in == nil { + return nil + } + out := new(VideoAnalyzerPresetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VideoAnalyzerPresetParameters) DeepCopyInto(out *VideoAnalyzerPresetParameters) { + *out = *in + if in.AudioAnalysisMode != nil { + in, out := &in.AudioAnalysisMode, &out.AudioAnalysisMode + *out = new(string) + **out = **in + } + if in.AudioLanguage != nil { + in, out := &in.AudioLanguage, &out.AudioLanguage + *out = new(string) + **out = **in + } + if in.InsightsType != nil { + in, out := &in.InsightsType, &out.InsightsType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoAnalyzerPresetParameters. +func (in *VideoAnalyzerPresetParameters) DeepCopy() *VideoAnalyzerPresetParameters { + if in == nil { + return nil + } + out := new(VideoAnalyzerPresetParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/media/v1alpha1/zz_generated.managed.go b/apis/media/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..9c4c06861 --- /dev/null +++ b/apis/media/v1alpha1/zz_generated.managed.go @@ -0,0 +1,636 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Asset. +func (mg *Asset) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Asset. +func (mg *Asset) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Asset. +func (mg *Asset) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Asset. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Asset) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Asset. +func (mg *Asset) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Asset. +func (mg *Asset) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Asset. +func (mg *Asset) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Asset. +func (mg *Asset) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Asset. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Asset) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Asset. +func (mg *Asset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AssetFilter. +func (mg *AssetFilter) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AssetFilter. +func (mg *AssetFilter) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AssetFilter. +func (mg *AssetFilter) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AssetFilter. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AssetFilter) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AssetFilter. +func (mg *AssetFilter) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AssetFilter. +func (mg *AssetFilter) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AssetFilter. +func (mg *AssetFilter) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AssetFilter. +func (mg *AssetFilter) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AssetFilter. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AssetFilter) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AssetFilter. +func (mg *AssetFilter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ContentKeyPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ContentKeyPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ContentKeyPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ContentKeyPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ContentKeyPolicy. +func (mg *ContentKeyPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Job. +func (mg *Job) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Job. +func (mg *Job) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Job. +func (mg *Job) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Job. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Job) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Job. +func (mg *Job) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Job. +func (mg *Job) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Job. +func (mg *Job) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Job. +func (mg *Job) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Job. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Job) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Job. +func (mg *Job) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LiveEvent. +func (mg *LiveEvent) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LiveEvent. +func (mg *LiveEvent) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LiveEvent. +func (mg *LiveEvent) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LiveEvent. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LiveEvent) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LiveEvent. +func (mg *LiveEvent) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LiveEvent. +func (mg *LiveEvent) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LiveEvent. +func (mg *LiveEvent) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LiveEvent. +func (mg *LiveEvent) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LiveEvent. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LiveEvent) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LiveEvent. +func (mg *LiveEvent) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LiveEventOutput. +func (mg *LiveEventOutput) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LiveEventOutput. +func (mg *LiveEventOutput) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LiveEventOutput. +func (mg *LiveEventOutput) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LiveEventOutput. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LiveEventOutput) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LiveEventOutput. +func (mg *LiveEventOutput) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LiveEventOutput. +func (mg *LiveEventOutput) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LiveEventOutput. +func (mg *LiveEventOutput) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LiveEventOutput. +func (mg *LiveEventOutput) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LiveEventOutput. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LiveEventOutput) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LiveEventOutput. +func (mg *LiveEventOutput) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServicesAccount. +func (mg *ServicesAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServicesAccount. +func (mg *ServicesAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServicesAccount. +func (mg *ServicesAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServicesAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServicesAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServicesAccount. +func (mg *ServicesAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServicesAccount. +func (mg *ServicesAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServicesAccount. +func (mg *ServicesAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServicesAccount. +func (mg *ServicesAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServicesAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServicesAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServicesAccount. +func (mg *ServicesAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this StreamingEndpoint. +func (mg *StreamingEndpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this StreamingEndpoint. +func (mg *StreamingEndpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this StreamingEndpoint. +func (mg *StreamingEndpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this StreamingEndpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *StreamingEndpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this StreamingEndpoint. +func (mg *StreamingEndpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this StreamingEndpoint. +func (mg *StreamingEndpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this StreamingEndpoint. +func (mg *StreamingEndpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this StreamingEndpoint. +func (mg *StreamingEndpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this StreamingEndpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *StreamingEndpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this StreamingEndpoint. +func (mg *StreamingEndpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this StreamingLocator. +func (mg *StreamingLocator) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this StreamingLocator. +func (mg *StreamingLocator) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this StreamingLocator. +func (mg *StreamingLocator) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this StreamingLocator. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *StreamingLocator) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this StreamingLocator. +func (mg *StreamingLocator) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this StreamingLocator. +func (mg *StreamingLocator) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this StreamingLocator. +func (mg *StreamingLocator) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this StreamingLocator. +func (mg *StreamingLocator) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this StreamingLocator. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *StreamingLocator) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this StreamingLocator. +func (mg *StreamingLocator) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this StreamingPolicy. +func (mg *StreamingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this StreamingPolicy. +func (mg *StreamingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this StreamingPolicy. +func (mg *StreamingPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this StreamingPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *StreamingPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this StreamingPolicy. +func (mg *StreamingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this StreamingPolicy. +func (mg *StreamingPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this StreamingPolicy. +func (mg *StreamingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this StreamingPolicy. +func (mg *StreamingPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this StreamingPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *StreamingPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this StreamingPolicy. +func (mg *StreamingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Transform. +func (mg *Transform) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Transform. +func (mg *Transform) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Transform. +func (mg *Transform) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Transform. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Transform) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Transform. +func (mg *Transform) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Transform. +func (mg *Transform) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Transform. +func (mg *Transform) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Transform. +func (mg *Transform) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Transform. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Transform) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Transform. +func (mg *Transform) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/media/v1alpha1/zz_generated.managedlist.go b/apis/media/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..97db15a96 --- /dev/null +++ b/apis/media/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,119 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssetFilterList. +func (l *AssetFilterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AssetList. +func (l *AssetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ContentKeyPolicyList. +func (l *ContentKeyPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this JobList. +func (l *JobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LiveEventList. +func (l *LiveEventList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LiveEventOutputList. +func (l *LiveEventOutputList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServicesAccountList. +func (l *ServicesAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this StreamingEndpointList. +func (l *StreamingEndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this StreamingLocatorList. +func (l *StreamingLocatorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this StreamingPolicyList. +func (l *StreamingPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TransformList. +func (l *TransformList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/media/v1alpha1/zz_groupversion_info.go b/apis/media/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..67d7778ab --- /dev/null +++ b/apis/media/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=media.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "media.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/media/v1alpha1/zz_job_terraformed.go b/apis/media/v1alpha1/zz_job_terraformed.go new file mode 100755 index 000000000..286b235e4 --- /dev/null +++ b/apis/media/v1alpha1/zz_job_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Job +func (mg *Job) GetTerraformResourceType() string { + return "azurerm_media_job" +} + +// GetConnectionDetailsMapping for this Job +func (tr *Job) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Job +func (tr *Job) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Job +func (tr *Job) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Job +func (tr *Job) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Job +func (tr *Job) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Job using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Job) LateInitialize(attrs []byte) (bool, error) { + params := &JobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Job) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_job_types.go b/apis/media/v1alpha1/zz_job_types.go new file mode 100755 index 000000000..b13df644a --- /dev/null +++ b/apis/media/v1alpha1/zz_job_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InputAssetObservation struct { +} + +type InputAssetParameters struct { + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type JobObservation struct { +} + +type JobParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + InputAsset []InputAssetParameters `json:"inputAsset" tf:"input_asset,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + OutputAsset []OutputAssetParameters `json:"outputAsset" tf:"output_asset,omitempty"` + + // +kubebuilder:validation:Optional + Priority *string `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TransformName *string `json:"transformName" tf:"transform_name,omitempty"` +} + +type OutputAssetObservation struct { +} + +type OutputAssetParameters struct { + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// JobSpec defines the desired state of Job +type JobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider JobParameters `json:"forProvider"` +} + +// JobStatus defines the observed state of Job. +type JobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider JobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Job is the Schema for the Jobs API +// +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,azurejet} +type Job struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec JobSpec `json:"spec"` + Status JobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobList contains a list of Jobs +type JobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Job `json:"items"` +} + +// Repository type metadata. +var ( + Job_Kind = "Job" + Job_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Job_Kind}.String() + Job_KindAPIVersion = Job_Kind + "." + CRDGroupVersion.String() + Job_GroupVersionKind = CRDGroupVersion.WithKind(Job_Kind) +) + +func init() { + SchemeBuilder.Register(&Job{}, &JobList{}) +} diff --git a/apis/media/v1alpha1/zz_liveevent_terraformed.go b/apis/media/v1alpha1/zz_liveevent_terraformed.go new file mode 100755 index 000000000..b7f8c7eef --- /dev/null +++ b/apis/media/v1alpha1/zz_liveevent_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LiveEvent +func (mg *LiveEvent) GetTerraformResourceType() string { + return "azurerm_media_live_event" +} + +// GetConnectionDetailsMapping for this LiveEvent +func (tr *LiveEvent) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LiveEvent +func (tr *LiveEvent) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LiveEvent +func (tr *LiveEvent) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LiveEvent +func (tr *LiveEvent) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LiveEvent +func (tr *LiveEvent) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LiveEvent using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LiveEvent) LateInitialize(attrs []byte) (bool, error) { + params := &LiveEventParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LiveEvent) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_liveevent_types.go b/apis/media/v1alpha1/zz_liveevent_types.go new file mode 100755 index 000000000..4942c23ef --- /dev/null +++ b/apis/media/v1alpha1/zz_liveevent_types.go @@ -0,0 +1,239 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CrossSiteAccessPolicyObservation struct { +} + +type CrossSiteAccessPolicyParameters struct { + + // +kubebuilder:validation:Optional + ClientAccessPolicy *string `json:"clientAccessPolicy,omitempty" tf:"client_access_policy,omitempty"` + + // +kubebuilder:validation:Optional + CrossDomainPolicy *string `json:"crossDomainPolicy,omitempty" tf:"cross_domain_policy,omitempty"` +} + +type EncodingObservation struct { +} + +type EncodingParameters struct { + + // +kubebuilder:validation:Optional + KeyFrameInterval *string `json:"keyFrameInterval,omitempty" tf:"key_frame_interval,omitempty"` + + // +kubebuilder:validation:Optional + PresetName *string `json:"presetName,omitempty" tf:"preset_name,omitempty"` + + // +kubebuilder:validation:Optional + StretchMode *string `json:"stretchMode,omitempty" tf:"stretch_mode,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type EndpointObservation struct { + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + + URL *string `json:"url,omitempty" tf:"url,omitempty"` +} + +type EndpointParameters struct { +} + +type IPAccessControlAllowObservation struct { +} + +type IPAccessControlAllowParameters struct { + + // +kubebuilder:validation:Optional + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SubnetPrefixLength *int64 `json:"subnetPrefixLength,omitempty" tf:"subnet_prefix_length,omitempty"` +} + +type InputObservation struct { + Endpoint []EndpointObservation `json:"endpoint,omitempty" tf:"endpoint,omitempty"` +} + +type InputParameters struct { + + // +kubebuilder:validation:Optional + AccessToken *string `json:"accessToken,omitempty" tf:"access_token,omitempty"` + + // +kubebuilder:validation:Optional + IPAccessControlAllow []IPAccessControlAllowParameters `json:"ipAccessControlAllow,omitempty" tf:"ip_access_control_allow,omitempty"` + + // +kubebuilder:validation:Optional + KeyFrameIntervalDuration *string `json:"keyFrameIntervalDuration,omitempty" tf:"key_frame_interval_duration,omitempty"` + + // +kubebuilder:validation:Optional + StreamingProtocol *string `json:"streamingProtocol,omitempty" tf:"streaming_protocol,omitempty"` +} + +type LiveEventObservation struct { +} + +type LiveEventParameters struct { + + // +kubebuilder:validation:Optional + AutoStartEnabled *bool `json:"autoStartEnabled,omitempty" tf:"auto_start_enabled,omitempty"` + + // +kubebuilder:validation:Optional + CrossSiteAccessPolicy []CrossSiteAccessPolicyParameters `json:"crossSiteAccessPolicy,omitempty" tf:"cross_site_access_policy,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Encoding []EncodingParameters `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + HostnamePrefix *string `json:"hostnamePrefix,omitempty" tf:"hostname_prefix,omitempty"` + + // +kubebuilder:validation:Required + Input []InputParameters `json:"input" tf:"input,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Preview []PreviewParameters `json:"preview,omitempty" tf:"preview,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TranscriptionLanguages []*string `json:"transcriptionLanguages,omitempty" tf:"transcription_languages,omitempty"` + + // +kubebuilder:validation:Optional + UseStaticHostname *bool `json:"useStaticHostname,omitempty" tf:"use_static_hostname,omitempty"` +} + +type PreviewEndpointObservation struct { + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + + URL *string `json:"url,omitempty" tf:"url,omitempty"` +} + +type PreviewEndpointParameters struct { +} + +type PreviewIPAccessControlAllowObservation struct { +} + +type PreviewIPAccessControlAllowParameters struct { + + // +kubebuilder:validation:Optional + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SubnetPrefixLength *int64 `json:"subnetPrefixLength,omitempty" tf:"subnet_prefix_length,omitempty"` +} + +type PreviewObservation struct { + Endpoint []PreviewEndpointObservation `json:"endpoint,omitempty" tf:"endpoint,omitempty"` +} + +type PreviewParameters struct { + + // +kubebuilder:validation:Optional + AlternativeMediaID *string `json:"alternativeMediaId,omitempty" tf:"alternative_media_id,omitempty"` + + // +kubebuilder:validation:Optional + IPAccessControlAllow []PreviewIPAccessControlAllowParameters `json:"ipAccessControlAllow,omitempty" tf:"ip_access_control_allow,omitempty"` + + // +kubebuilder:validation:Optional + PreviewLocator *string `json:"previewLocator,omitempty" tf:"preview_locator,omitempty"` + + // +kubebuilder:validation:Optional + StreamingPolicyName *string `json:"streamingPolicyName,omitempty" tf:"streaming_policy_name,omitempty"` +} + +// LiveEventSpec defines the desired state of LiveEvent +type LiveEventSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LiveEventParameters `json:"forProvider"` +} + +// LiveEventStatus defines the observed state of LiveEvent. +type LiveEventStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LiveEventObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LiveEvent is the Schema for the LiveEvents API +// +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,azurejet} +type LiveEvent struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LiveEventSpec `json:"spec"` + Status LiveEventStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LiveEventList contains a list of LiveEvents +type LiveEventList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LiveEvent `json:"items"` +} + +// Repository type metadata. +var ( + LiveEvent_Kind = "LiveEvent" + LiveEvent_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LiveEvent_Kind}.String() + LiveEvent_KindAPIVersion = LiveEvent_Kind + "." + CRDGroupVersion.String() + LiveEvent_GroupVersionKind = CRDGroupVersion.WithKind(LiveEvent_Kind) +) + +func init() { + SchemeBuilder.Register(&LiveEvent{}, &LiveEventList{}) +} diff --git a/apis/media/v1alpha1/zz_liveeventoutput_terraformed.go b/apis/media/v1alpha1/zz_liveeventoutput_terraformed.go new file mode 100755 index 000000000..5939d4f5d --- /dev/null +++ b/apis/media/v1alpha1/zz_liveeventoutput_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LiveEventOutput +func (mg *LiveEventOutput) GetTerraformResourceType() string { + return "azurerm_media_live_event_output" +} + +// GetConnectionDetailsMapping for this LiveEventOutput +func (tr *LiveEventOutput) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LiveEventOutput +func (tr *LiveEventOutput) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LiveEventOutput +func (tr *LiveEventOutput) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LiveEventOutput +func (tr *LiveEventOutput) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LiveEventOutput +func (tr *LiveEventOutput) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LiveEventOutput using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LiveEventOutput) LateInitialize(attrs []byte) (bool, error) { + params := &LiveEventOutputParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LiveEventOutput) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_liveeventoutput_types.go b/apis/media/v1alpha1/zz_liveeventoutput_types.go new file mode 100755 index 000000000..764253741 --- /dev/null +++ b/apis/media/v1alpha1/zz_liveeventoutput_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LiveEventOutputObservation struct { +} + +type LiveEventOutputParameters struct { + + // +kubebuilder:validation:Required + ArchiveWindowDuration *string `json:"archiveWindowDuration" tf:"archive_window_duration,omitempty"` + + // +kubebuilder:validation:Required + AssetName *string `json:"assetName" tf:"asset_name,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + HlsFragmentsPerTSSegment *int64 `json:"hlsFragmentsPerTsSegment,omitempty" tf:"hls_fragments_per_ts_segment,omitempty"` + + // +kubebuilder:validation:Required + LiveEventID *string `json:"liveEventId" tf:"live_event_id,omitempty"` + + // +kubebuilder:validation:Optional + ManifestName *string `json:"manifestName,omitempty" tf:"manifest_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OutputSnapTimeInSeconds *int64 `json:"outputSnapTimeInSeconds,omitempty" tf:"output_snap_time_in_seconds,omitempty"` +} + +// LiveEventOutputSpec defines the desired state of LiveEventOutput +type LiveEventOutputSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LiveEventOutputParameters `json:"forProvider"` +} + +// LiveEventOutputStatus defines the observed state of LiveEventOutput. +type LiveEventOutputStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LiveEventOutputObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LiveEventOutput is the Schema for the LiveEventOutputs API +// +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,azurejet} +type LiveEventOutput struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LiveEventOutputSpec `json:"spec"` + Status LiveEventOutputStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LiveEventOutputList contains a list of LiveEventOutputs +type LiveEventOutputList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LiveEventOutput `json:"items"` +} + +// Repository type metadata. +var ( + LiveEventOutput_Kind = "LiveEventOutput" + LiveEventOutput_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LiveEventOutput_Kind}.String() + LiveEventOutput_KindAPIVersion = LiveEventOutput_Kind + "." + CRDGroupVersion.String() + LiveEventOutput_GroupVersionKind = CRDGroupVersion.WithKind(LiveEventOutput_Kind) +) + +func init() { + SchemeBuilder.Register(&LiveEventOutput{}, &LiveEventOutputList{}) +} diff --git a/apis/media/v1alpha1/zz_servicesaccount_terraformed.go b/apis/media/v1alpha1/zz_servicesaccount_terraformed.go new file mode 100755 index 000000000..332ba07c1 --- /dev/null +++ b/apis/media/v1alpha1/zz_servicesaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServicesAccount +func (mg *ServicesAccount) GetTerraformResourceType() string { + return "azurerm_media_services_account" +} + +// GetConnectionDetailsMapping for this ServicesAccount +func (tr *ServicesAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServicesAccount +func (tr *ServicesAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServicesAccount +func (tr *ServicesAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServicesAccount +func (tr *ServicesAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServicesAccount +func (tr *ServicesAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServicesAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServicesAccount) LateInitialize(attrs []byte) (bool, error) { + params := &ServicesAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServicesAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_servicesaccount_types.go b/apis/media/v1alpha1/zz_servicesaccount_types.go new file mode 100755 index 000000000..f03a3a96e --- /dev/null +++ b/apis/media/v1alpha1/zz_servicesaccount_types.go @@ -0,0 +1,141 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type KeyDeliveryAccessControlObservation struct { +} + +type KeyDeliveryAccessControlParameters struct { + + // +kubebuilder:validation:Optional + DefaultAction *string `json:"defaultAction,omitempty" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPAllowList []*string `json:"ipAllowList,omitempty" tf:"ip_allow_list,omitempty"` +} + +type ServicesAccountObservation struct { +} + +type ServicesAccountParameters struct { + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + KeyDeliveryAccessControl []KeyDeliveryAccessControlParameters `json:"keyDeliveryAccessControl,omitempty" tf:"key_delivery_access_control,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccount []StorageAccountParameters `json:"storageAccount" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + StorageAuthenticationType *string `json:"storageAuthenticationType,omitempty" tf:"storage_authentication_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type StorageAccountObservation struct { +} + +type StorageAccountParameters struct { + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` + + // +kubebuilder:validation:Optional + IsPrimary *bool `json:"isPrimary,omitempty" tf:"is_primary,omitempty"` +} + +// ServicesAccountSpec defines the desired state of ServicesAccount +type ServicesAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServicesAccountParameters `json:"forProvider"` +} + +// ServicesAccountStatus defines the observed state of ServicesAccount. +type ServicesAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServicesAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicesAccount is the Schema for the ServicesAccounts API +// +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,azurejet} +type ServicesAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServicesAccountSpec `json:"spec"` + Status ServicesAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicesAccountList contains a list of ServicesAccounts +type ServicesAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServicesAccount `json:"items"` +} + +// Repository type metadata. +var ( + ServicesAccount_Kind = "ServicesAccount" + ServicesAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServicesAccount_Kind}.String() + ServicesAccount_KindAPIVersion = ServicesAccount_Kind + "." + CRDGroupVersion.String() + ServicesAccount_GroupVersionKind = CRDGroupVersion.WithKind(ServicesAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&ServicesAccount{}, &ServicesAccountList{}) +} diff --git a/apis/media/v1alpha1/zz_streamingendpoint_terraformed.go b/apis/media/v1alpha1/zz_streamingendpoint_terraformed.go new file mode 100755 index 000000000..1a1676e69 --- /dev/null +++ b/apis/media/v1alpha1/zz_streamingendpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this StreamingEndpoint +func (mg *StreamingEndpoint) GetTerraformResourceType() string { + return "azurerm_media_streaming_endpoint" +} + +// GetConnectionDetailsMapping for this StreamingEndpoint +func (tr *StreamingEndpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this StreamingEndpoint +func (tr *StreamingEndpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this StreamingEndpoint +func (tr *StreamingEndpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this StreamingEndpoint +func (tr *StreamingEndpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this StreamingEndpoint +func (tr *StreamingEndpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this StreamingEndpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *StreamingEndpoint) LateInitialize(attrs []byte) (bool, error) { + params := &StreamingEndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *StreamingEndpoint) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_streamingendpoint_types.go b/apis/media/v1alpha1/zz_streamingendpoint_types.go new file mode 100755 index 000000000..52a363158 --- /dev/null +++ b/apis/media/v1alpha1/zz_streamingendpoint_types.go @@ -0,0 +1,181 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccessControlObservation struct { +} + +type AccessControlParameters struct { + + // +kubebuilder:validation:Optional + AkamaiSignatureHeaderAuthenticationKey []AkamaiSignatureHeaderAuthenticationKeyParameters `json:"akamaiSignatureHeaderAuthenticationKey,omitempty" tf:"akamai_signature_header_authentication_key,omitempty"` + + // +kubebuilder:validation:Optional + IPAllow []IPAllowParameters `json:"ipAllow,omitempty" tf:"ip_allow,omitempty"` +} + +type AkamaiSignatureHeaderAuthenticationKeyObservation struct { +} + +type AkamaiSignatureHeaderAuthenticationKeyParameters struct { + + // +kubebuilder:validation:Optional + Base64Key *string `json:"base64Key,omitempty" tf:"base64_key,omitempty"` + + // +kubebuilder:validation:Optional + Expiration *string `json:"expiration,omitempty" tf:"expiration,omitempty"` + + // +kubebuilder:validation:Optional + Identifier *string `json:"identifier,omitempty" tf:"identifier,omitempty"` +} + +type IPAllowObservation struct { +} + +type IPAllowParameters struct { + + // +kubebuilder:validation:Optional + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SubnetPrefixLength *int64 `json:"subnetPrefixLength,omitempty" tf:"subnet_prefix_length,omitempty"` +} + +type StreamingEndpointCrossSiteAccessPolicyObservation struct { +} + +type StreamingEndpointCrossSiteAccessPolicyParameters struct { + + // +kubebuilder:validation:Optional + ClientAccessPolicy *string `json:"clientAccessPolicy,omitempty" tf:"client_access_policy,omitempty"` + + // +kubebuilder:validation:Optional + CrossDomainPolicy *string `json:"crossDomainPolicy,omitempty" tf:"cross_domain_policy,omitempty"` +} + +type StreamingEndpointObservation struct { + HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"` +} + +type StreamingEndpointParameters struct { + + // +kubebuilder:validation:Optional + AccessControl []AccessControlParameters `json:"accessControl,omitempty" tf:"access_control,omitempty"` + + // +kubebuilder:validation:Optional + AutoStartEnabled *bool `json:"autoStartEnabled,omitempty" tf:"auto_start_enabled,omitempty"` + + // +kubebuilder:validation:Optional + CdnEnabled *bool `json:"cdnEnabled,omitempty" tf:"cdn_enabled,omitempty"` + + // +kubebuilder:validation:Optional + CdnProfile *string `json:"cdnProfile,omitempty" tf:"cdn_profile,omitempty"` + + // +kubebuilder:validation:Optional + CdnProvider *string `json:"cdnProvider,omitempty" tf:"cdn_provider,omitempty"` + + // +kubebuilder:validation:Optional + CrossSiteAccessPolicy []StreamingEndpointCrossSiteAccessPolicyParameters `json:"crossSiteAccessPolicy,omitempty" tf:"cross_site_access_policy,omitempty"` + + // +kubebuilder:validation:Optional + CustomHostNames []*string `json:"customHostNames,omitempty" tf:"custom_host_names,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxCacheAgeSeconds *int64 `json:"maxCacheAgeSeconds,omitempty" tf:"max_cache_age_seconds,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ScaleUnits *int64 `json:"scaleUnits" tf:"scale_units,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// StreamingEndpointSpec defines the desired state of StreamingEndpoint +type StreamingEndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider StreamingEndpointParameters `json:"forProvider"` +} + +// StreamingEndpointStatus defines the observed state of StreamingEndpoint. +type StreamingEndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider StreamingEndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// StreamingEndpoint is the Schema for the StreamingEndpoints API +// +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,azurejet} +type StreamingEndpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec StreamingEndpointSpec `json:"spec"` + Status StreamingEndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// StreamingEndpointList contains a list of StreamingEndpoints +type StreamingEndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []StreamingEndpoint `json:"items"` +} + +// Repository type metadata. +var ( + StreamingEndpoint_Kind = "StreamingEndpoint" + StreamingEndpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: StreamingEndpoint_Kind}.String() + StreamingEndpoint_KindAPIVersion = StreamingEndpoint_Kind + "." + CRDGroupVersion.String() + StreamingEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(StreamingEndpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&StreamingEndpoint{}, &StreamingEndpointList{}) +} diff --git a/apis/media/v1alpha1/zz_streaminglocator_terraformed.go b/apis/media/v1alpha1/zz_streaminglocator_terraformed.go new file mode 100755 index 000000000..4f3f18afb --- /dev/null +++ b/apis/media/v1alpha1/zz_streaminglocator_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this StreamingLocator +func (mg *StreamingLocator) GetTerraformResourceType() string { + return "azurerm_media_streaming_locator" +} + +// GetConnectionDetailsMapping for this StreamingLocator +func (tr *StreamingLocator) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this StreamingLocator +func (tr *StreamingLocator) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this StreamingLocator +func (tr *StreamingLocator) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this StreamingLocator +func (tr *StreamingLocator) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this StreamingLocator +func (tr *StreamingLocator) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this StreamingLocator using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *StreamingLocator) LateInitialize(attrs []byte) (bool, error) { + params := &StreamingLocatorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *StreamingLocator) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_streaminglocator_types.go b/apis/media/v1alpha1/zz_streaminglocator_types.go new file mode 100755 index 000000000..02a74422c --- /dev/null +++ b/apis/media/v1alpha1/zz_streaminglocator_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ContentKeyObservation struct { +} + +type ContentKeyParameters struct { + + // +kubebuilder:validation:Optional + ContentKeyID *string `json:"contentKeyId,omitempty" tf:"content_key_id,omitempty"` + + // +kubebuilder:validation:Optional + LabelReferenceInStreamingPolicy *string `json:"labelReferenceInStreamingPolicy,omitempty" tf:"label_reference_in_streaming_policy,omitempty"` + + // +kubebuilder:validation:Optional + PolicyName *string `json:"policyName,omitempty" tf:"policy_name,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Value *string `json:"value,omitempty" tf:"value,omitempty"` +} + +type StreamingLocatorObservation struct { +} + +type StreamingLocatorParameters struct { + + // +kubebuilder:validation:Optional + AlternativeMediaID *string `json:"alternativeMediaId,omitempty" tf:"alternative_media_id,omitempty"` + + // +kubebuilder:validation:Required + AssetName *string `json:"assetName" tf:"asset_name,omitempty"` + + // +kubebuilder:validation:Optional + ContentKey []ContentKeyParameters `json:"contentKey,omitempty" tf:"content_key,omitempty"` + + // +kubebuilder:validation:Optional + DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty" tf:"default_content_key_policy_name,omitempty"` + + // +kubebuilder:validation:Optional + EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` + + // +kubebuilder:validation:Optional + StreamingLocatorID *string `json:"streamingLocatorId,omitempty" tf:"streaming_locator_id,omitempty"` + + // +kubebuilder:validation:Required + StreamingPolicyName *string `json:"streamingPolicyName" tf:"streaming_policy_name,omitempty"` +} + +// StreamingLocatorSpec defines the desired state of StreamingLocator +type StreamingLocatorSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider StreamingLocatorParameters `json:"forProvider"` +} + +// StreamingLocatorStatus defines the observed state of StreamingLocator. +type StreamingLocatorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider StreamingLocatorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// StreamingLocator is the Schema for the StreamingLocators API +// +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,azurejet} +type StreamingLocator struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec StreamingLocatorSpec `json:"spec"` + Status StreamingLocatorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// StreamingLocatorList contains a list of StreamingLocators +type StreamingLocatorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []StreamingLocator `json:"items"` +} + +// Repository type metadata. +var ( + StreamingLocator_Kind = "StreamingLocator" + StreamingLocator_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: StreamingLocator_Kind}.String() + StreamingLocator_KindAPIVersion = StreamingLocator_Kind + "." + CRDGroupVersion.String() + StreamingLocator_GroupVersionKind = CRDGroupVersion.WithKind(StreamingLocator_Kind) +) + +func init() { + SchemeBuilder.Register(&StreamingLocator{}, &StreamingLocatorList{}) +} diff --git a/apis/media/v1alpha1/zz_streamingpolicy_terraformed.go b/apis/media/v1alpha1/zz_streamingpolicy_terraformed.go new file mode 100755 index 000000000..c39a7bb26 --- /dev/null +++ b/apis/media/v1alpha1/zz_streamingpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this StreamingPolicy +func (mg *StreamingPolicy) GetTerraformResourceType() string { + return "azurerm_media_streaming_policy" +} + +// GetConnectionDetailsMapping for this StreamingPolicy +func (tr *StreamingPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this StreamingPolicy +func (tr *StreamingPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this StreamingPolicy +func (tr *StreamingPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this StreamingPolicy +func (tr *StreamingPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this StreamingPolicy +func (tr *StreamingPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this StreamingPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *StreamingPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &StreamingPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *StreamingPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_streamingpolicy_types.go b/apis/media/v1alpha1/zz_streamingpolicy_types.go new file mode 100755 index 000000000..a649c0606 --- /dev/null +++ b/apis/media/v1alpha1/zz_streamingpolicy_types.go @@ -0,0 +1,237 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CommonEncryptionCbcsObservation struct { +} + +type CommonEncryptionCbcsParameters struct { + + // +kubebuilder:validation:Optional + DefaultContentKey []DefaultContentKeyParameters `json:"defaultContentKey,omitempty" tf:"default_content_key,omitempty"` + + // +kubebuilder:validation:Optional + DrmFairplay []DrmFairplayParameters `json:"drmFairplay,omitempty" tf:"drm_fairplay,omitempty"` + + // +kubebuilder:validation:Optional + EnabledProtocols []EnabledProtocolsParameters `json:"enabledProtocols,omitempty" tf:"enabled_protocols,omitempty"` +} + +type CommonEncryptionCencDefaultContentKeyObservation struct { +} + +type CommonEncryptionCencDefaultContentKeyParameters struct { + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Optional + PolicyName *string `json:"policyName,omitempty" tf:"policy_name,omitempty"` +} + +type CommonEncryptionCencEnabledProtocolsObservation struct { +} + +type CommonEncryptionCencEnabledProtocolsParameters struct { + + // +kubebuilder:validation:Optional + Dash *bool `json:"dash,omitempty" tf:"dash,omitempty"` + + // +kubebuilder:validation:Optional + Download *bool `json:"download,omitempty" tf:"download,omitempty"` + + // +kubebuilder:validation:Optional + Hls *bool `json:"hls,omitempty" tf:"hls,omitempty"` + + // +kubebuilder:validation:Optional + SmoothStreaming *bool `json:"smoothStreaming,omitempty" tf:"smooth_streaming,omitempty"` +} + +type CommonEncryptionCencObservation struct { +} + +type CommonEncryptionCencParameters struct { + + // +kubebuilder:validation:Optional + DefaultContentKey []CommonEncryptionCencDefaultContentKeyParameters `json:"defaultContentKey,omitempty" tf:"default_content_key,omitempty"` + + // +kubebuilder:validation:Optional + DrmPlayready []DrmPlayreadyParameters `json:"drmPlayready,omitempty" tf:"drm_playready,omitempty"` + + // +kubebuilder:validation:Optional + DrmWidevineCustomLicenseAcquisitionURLTemplate *string `json:"drmWidevineCustomLicenseAcquisitionUrlTemplate,omitempty" tf:"drm_widevine_custom_license_acquisition_url_template,omitempty"` + + // +kubebuilder:validation:Optional + EnabledProtocols []CommonEncryptionCencEnabledProtocolsParameters `json:"enabledProtocols,omitempty" tf:"enabled_protocols,omitempty"` +} + +type DefaultContentKeyObservation struct { +} + +type DefaultContentKeyParameters struct { + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Optional + PolicyName *string `json:"policyName,omitempty" tf:"policy_name,omitempty"` +} + +type DrmFairplayObservation struct { +} + +type DrmFairplayParameters struct { + + // +kubebuilder:validation:Optional + AllowPersistentLicense *bool `json:"allowPersistentLicense,omitempty" tf:"allow_persistent_license,omitempty"` + + // +kubebuilder:validation:Optional + CustomLicenseAcquisitionURLTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty" tf:"custom_license_acquisition_url_template,omitempty"` +} + +type DrmPlayreadyObservation struct { +} + +type DrmPlayreadyParameters struct { + + // +kubebuilder:validation:Optional + CustomAttributes *string `json:"customAttributes,omitempty" tf:"custom_attributes,omitempty"` + + // +kubebuilder:validation:Optional + CustomLicenseAcquisitionURLTemplate *string `json:"customLicenseAcquisitionUrlTemplate,omitempty" tf:"custom_license_acquisition_url_template,omitempty"` +} + +type EnabledProtocolsObservation struct { +} + +type EnabledProtocolsParameters struct { + + // +kubebuilder:validation:Optional + Dash *bool `json:"dash,omitempty" tf:"dash,omitempty"` + + // +kubebuilder:validation:Optional + Download *bool `json:"download,omitempty" tf:"download,omitempty"` + + // +kubebuilder:validation:Optional + Hls *bool `json:"hls,omitempty" tf:"hls,omitempty"` + + // +kubebuilder:validation:Optional + SmoothStreaming *bool `json:"smoothStreaming,omitempty" tf:"smooth_streaming,omitempty"` +} + +type NoEncryptionEnabledProtocolsObservation struct { +} + +type NoEncryptionEnabledProtocolsParameters struct { + + // +kubebuilder:validation:Optional + Dash *bool `json:"dash,omitempty" tf:"dash,omitempty"` + + // +kubebuilder:validation:Optional + Download *bool `json:"download,omitempty" tf:"download,omitempty"` + + // +kubebuilder:validation:Optional + Hls *bool `json:"hls,omitempty" tf:"hls,omitempty"` + + // +kubebuilder:validation:Optional + SmoothStreaming *bool `json:"smoothStreaming,omitempty" tf:"smooth_streaming,omitempty"` +} + +type StreamingPolicyObservation struct { +} + +type StreamingPolicyParameters struct { + + // +kubebuilder:validation:Optional + CommonEncryptionCbcs []CommonEncryptionCbcsParameters `json:"commonEncryptionCbcs,omitempty" tf:"common_encryption_cbcs,omitempty"` + + // +kubebuilder:validation:Optional + CommonEncryptionCenc []CommonEncryptionCencParameters `json:"commonEncryptionCenc,omitempty" tf:"common_encryption_cenc,omitempty"` + + // +kubebuilder:validation:Optional + DefaultContentKeyPolicyName *string `json:"defaultContentKeyPolicyName,omitempty" tf:"default_content_key_policy_name,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NoEncryptionEnabledProtocols []NoEncryptionEnabledProtocolsParameters `json:"noEncryptionEnabledProtocols,omitempty" tf:"no_encryption_enabled_protocols,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// StreamingPolicySpec defines the desired state of StreamingPolicy +type StreamingPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider StreamingPolicyParameters `json:"forProvider"` +} + +// StreamingPolicyStatus defines the observed state of StreamingPolicy. +type StreamingPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider StreamingPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// StreamingPolicy is the Schema for the StreamingPolicys API +// +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,azurejet} +type StreamingPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec StreamingPolicySpec `json:"spec"` + Status StreamingPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// StreamingPolicyList contains a list of StreamingPolicys +type StreamingPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []StreamingPolicy `json:"items"` +} + +// Repository type metadata. +var ( + StreamingPolicy_Kind = "StreamingPolicy" + StreamingPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: StreamingPolicy_Kind}.String() + StreamingPolicy_KindAPIVersion = StreamingPolicy_Kind + "." + CRDGroupVersion.String() + StreamingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(StreamingPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&StreamingPolicy{}, &StreamingPolicyList{}) +} diff --git a/apis/media/v1alpha1/zz_transform_terraformed.go b/apis/media/v1alpha1/zz_transform_terraformed.go new file mode 100755 index 000000000..58cb44fc0 --- /dev/null +++ b/apis/media/v1alpha1/zz_transform_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Transform +func (mg *Transform) GetTerraformResourceType() string { + return "azurerm_media_transform" +} + +// GetConnectionDetailsMapping for this Transform +func (tr *Transform) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Transform +func (tr *Transform) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Transform +func (tr *Transform) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Transform +func (tr *Transform) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Transform +func (tr *Transform) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Transform using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Transform) LateInitialize(attrs []byte) (bool, error) { + params := &TransformParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Transform) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/media/v1alpha1/zz_transform_types.go b/apis/media/v1alpha1/zz_transform_types.go new file mode 100755 index 000000000..f9f42a7d0 --- /dev/null +++ b/apis/media/v1alpha1/zz_transform_types.go @@ -0,0 +1,165 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AudioAnalyzerPresetObservation struct { +} + +type AudioAnalyzerPresetParameters struct { + + // +kubebuilder:validation:Optional + AudioAnalysisMode *string `json:"audioAnalysisMode,omitempty" tf:"audio_analysis_mode,omitempty"` + + // +kubebuilder:validation:Optional + AudioLanguage *string `json:"audioLanguage,omitempty" tf:"audio_language,omitempty"` +} + +type BuiltinPresetObservation struct { +} + +type BuiltinPresetParameters struct { + + // +kubebuilder:validation:Optional + PresetName *string `json:"presetName,omitempty" tf:"preset_name,omitempty"` +} + +type FaceDetectorPresetObservation struct { +} + +type FaceDetectorPresetParameters struct { + + // +kubebuilder:validation:Optional + AnalysisResolution *string `json:"analysisResolution,omitempty" tf:"analysis_resolution,omitempty"` +} + +type OutputObservation struct { +} + +type OutputParameters struct { + + // +kubebuilder:validation:Optional + AudioAnalyzerPreset []AudioAnalyzerPresetParameters `json:"audioAnalyzerPreset,omitempty" tf:"audio_analyzer_preset,omitempty"` + + // +kubebuilder:validation:Optional + BuiltinPreset []BuiltinPresetParameters `json:"builtinPreset,omitempty" tf:"builtin_preset,omitempty"` + + // +kubebuilder:validation:Optional + FaceDetectorPreset []FaceDetectorPresetParameters `json:"faceDetectorPreset,omitempty" tf:"face_detector_preset,omitempty"` + + // +kubebuilder:validation:Optional + OnErrorAction *string `json:"onErrorAction,omitempty" tf:"on_error_action,omitempty"` + + // +kubebuilder:validation:Optional + RelativePriority *string `json:"relativePriority,omitempty" tf:"relative_priority,omitempty"` + + // +kubebuilder:validation:Optional + VideoAnalyzerPreset []VideoAnalyzerPresetParameters `json:"videoAnalyzerPreset,omitempty" tf:"video_analyzer_preset,omitempty"` +} + +type TransformObservation struct { +} + +type TransformParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + MediaServicesAccountName *string `json:"mediaServicesAccountName" tf:"media_services_account_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Output []OutputParameters `json:"output,omitempty" tf:"output,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type VideoAnalyzerPresetObservation struct { +} + +type VideoAnalyzerPresetParameters struct { + + // +kubebuilder:validation:Optional + AudioAnalysisMode *string `json:"audioAnalysisMode,omitempty" tf:"audio_analysis_mode,omitempty"` + + // +kubebuilder:validation:Optional + AudioLanguage *string `json:"audioLanguage,omitempty" tf:"audio_language,omitempty"` + + // +kubebuilder:validation:Optional + InsightsType *string `json:"insightsType,omitempty" tf:"insights_type,omitempty"` +} + +// TransformSpec defines the desired state of Transform +type TransformSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TransformParameters `json:"forProvider"` +} + +// TransformStatus defines the observed state of Transform. +type TransformStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TransformObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Transform is the Schema for the Transforms API +// +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,azurejet} +type Transform struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TransformSpec `json:"spec"` + Status TransformStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TransformList contains a list of Transforms +type TransformList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Transform `json:"items"` +} + +// Repository type metadata. +var ( + Transform_Kind = "Transform" + Transform_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Transform_Kind}.String() + Transform_KindAPIVersion = Transform_Kind + "." + CRDGroupVersion.String() + Transform_GroupVersionKind = CRDGroupVersion.WithKind(Transform_Kind) +) + +func init() { + SchemeBuilder.Register(&Transform{}, &TransformList{}) +} diff --git a/apis/monitor/v1alpha1/zz_aaddiagnosticsetting_terraformed.go b/apis/monitor/v1alpha1/zz_aaddiagnosticsetting_terraformed.go new file mode 100755 index 000000000..639eb5f1e --- /dev/null +++ b/apis/monitor/v1alpha1/zz_aaddiagnosticsetting_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AadDiagnosticSetting +func (mg *AadDiagnosticSetting) GetTerraformResourceType() string { + return "azurerm_monitor_aad_diagnostic_setting" +} + +// GetConnectionDetailsMapping for this AadDiagnosticSetting +func (tr *AadDiagnosticSetting) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AadDiagnosticSetting +func (tr *AadDiagnosticSetting) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AadDiagnosticSetting +func (tr *AadDiagnosticSetting) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AadDiagnosticSetting +func (tr *AadDiagnosticSetting) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AadDiagnosticSetting +func (tr *AadDiagnosticSetting) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AadDiagnosticSetting using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AadDiagnosticSetting) LateInitialize(attrs []byte) (bool, error) { + params := &AadDiagnosticSettingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AadDiagnosticSetting) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_aaddiagnosticsetting_types.go b/apis/monitor/v1alpha1/zz_aaddiagnosticsetting_types.go new file mode 100755 index 000000000..297df61fc --- /dev/null +++ b/apis/monitor/v1alpha1/zz_aaddiagnosticsetting_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AadDiagnosticSettingObservation struct { +} + +type AadDiagnosticSettingParameters struct { + + // +kubebuilder:validation:Optional + EventhubAuthorizationRuleID *string `json:"eventhubAuthorizationRuleId,omitempty" tf:"eventhub_authorization_rule_id,omitempty"` + + // +kubebuilder:validation:Optional + EventhubName *string `json:"eventhubName,omitempty" tf:"eventhub_name,omitempty"` + + // +kubebuilder:validation:Required + Log []LogParameters `json:"log" tf:"log,omitempty"` + + // +kubebuilder:validation:Optional + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` +} + +type LogObservation struct { +} + +type LogParameters struct { + + // +kubebuilder:validation:Required + Category *string `json:"category" tf:"category,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + RetentionPolicy []RetentionPolicyParameters `json:"retentionPolicy" tf:"retention_policy,omitempty"` +} + +type RetentionPolicyObservation struct { +} + +type RetentionPolicyParameters struct { + + // +kubebuilder:validation:Optional + Days *int64 `json:"days,omitempty" tf:"days,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` +} + +// AadDiagnosticSettingSpec defines the desired state of AadDiagnosticSetting +type AadDiagnosticSettingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AadDiagnosticSettingParameters `json:"forProvider"` +} + +// AadDiagnosticSettingStatus defines the observed state of AadDiagnosticSetting. +type AadDiagnosticSettingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AadDiagnosticSettingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AadDiagnosticSetting is the Schema for the AadDiagnosticSettings API +// +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,azurejet} +type AadDiagnosticSetting struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AadDiagnosticSettingSpec `json:"spec"` + Status AadDiagnosticSettingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AadDiagnosticSettingList contains a list of AadDiagnosticSettings +type AadDiagnosticSettingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AadDiagnosticSetting `json:"items"` +} + +// Repository type metadata. +var ( + AadDiagnosticSetting_Kind = "AadDiagnosticSetting" + AadDiagnosticSetting_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AadDiagnosticSetting_Kind}.String() + AadDiagnosticSetting_KindAPIVersion = AadDiagnosticSetting_Kind + "." + CRDGroupVersion.String() + AadDiagnosticSetting_GroupVersionKind = CRDGroupVersion.WithKind(AadDiagnosticSetting_Kind) +) + +func init() { + SchemeBuilder.Register(&AadDiagnosticSetting{}, &AadDiagnosticSettingList{}) +} diff --git a/apis/monitor/v1alpha1/zz_actiongroup_terraformed.go b/apis/monitor/v1alpha1/zz_actiongroup_terraformed.go new file mode 100755 index 000000000..ad17976c7 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_actiongroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ActionGroup +func (mg *ActionGroup) GetTerraformResourceType() string { + return "azurerm_monitor_action_group" +} + +// GetConnectionDetailsMapping for this ActionGroup +func (tr *ActionGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ActionGroup +func (tr *ActionGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ActionGroup +func (tr *ActionGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ActionGroup +func (tr *ActionGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ActionGroup +func (tr *ActionGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ActionGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ActionGroup) LateInitialize(attrs []byte) (bool, error) { + params := &ActionGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ActionGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_actiongroup_types.go b/apis/monitor/v1alpha1/zz_actiongroup_types.go new file mode 100755 index 000000000..866fc73e5 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_actiongroup_types.go @@ -0,0 +1,318 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AadAuthObservation struct { +} + +type AadAuthParameters struct { + + // +kubebuilder:validation:Optional + IdentifierURI *string `json:"identifierUri,omitempty" tf:"identifier_uri,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type ActionGroupObservation struct { +} + +type ActionGroupParameters struct { + + // +kubebuilder:validation:Optional + ArmRoleReceiver []ArmRoleReceiverParameters `json:"armRoleReceiver,omitempty" tf:"arm_role_receiver,omitempty"` + + // +kubebuilder:validation:Optional + AutomationRunbookReceiver []AutomationRunbookReceiverParameters `json:"automationRunbookReceiver,omitempty" tf:"automation_runbook_receiver,omitempty"` + + // +kubebuilder:validation:Optional + AzureAppPushReceiver []AzureAppPushReceiverParameters `json:"azureAppPushReceiver,omitempty" tf:"azure_app_push_receiver,omitempty"` + + // +kubebuilder:validation:Optional + AzureFunctionReceiver []AzureFunctionReceiverParameters `json:"azureFunctionReceiver,omitempty" tf:"azure_function_receiver,omitempty"` + + // +kubebuilder:validation:Optional + EmailReceiver []EmailReceiverParameters `json:"emailReceiver,omitempty" tf:"email_receiver,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + ItsmReceiver []ItsmReceiverParameters `json:"itsmReceiver,omitempty" tf:"itsm_receiver,omitempty"` + + // +kubebuilder:validation:Optional + LogicAppReceiver []LogicAppReceiverParameters `json:"logicAppReceiver,omitempty" tf:"logic_app_receiver,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ShortName *string `json:"shortName" tf:"short_name,omitempty"` + + // +kubebuilder:validation:Optional + SmsReceiver []SmsReceiverParameters `json:"smsReceiver,omitempty" tf:"sms_receiver,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + VoiceReceiver []VoiceReceiverParameters `json:"voiceReceiver,omitempty" tf:"voice_receiver,omitempty"` + + // +kubebuilder:validation:Optional + WebhookReceiver []WebhookReceiverParameters `json:"webhookReceiver,omitempty" tf:"webhook_receiver,omitempty"` +} + +type ArmRoleReceiverObservation struct { +} + +type ArmRoleReceiverParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RoleID *string `json:"roleId" tf:"role_id,omitempty"` + + // +kubebuilder:validation:Optional + UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty" tf:"use_common_alert_schema,omitempty"` +} + +type AutomationRunbookReceiverObservation struct { +} + +type AutomationRunbookReceiverParameters struct { + + // +kubebuilder:validation:Required + AutomationAccountID *string `json:"automationAccountId" tf:"automation_account_id,omitempty"` + + // +kubebuilder:validation:Required + IsGlobalRunbook *bool `json:"isGlobalRunbook" tf:"is_global_runbook,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RunbookName *string `json:"runbookName" tf:"runbook_name,omitempty"` + + // +kubebuilder:validation:Required + ServiceURI *string `json:"serviceUri" tf:"service_uri,omitempty"` + + // +kubebuilder:validation:Optional + UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty" tf:"use_common_alert_schema,omitempty"` + + // +kubebuilder:validation:Required + WebhookResourceID *string `json:"webhookResourceId" tf:"webhook_resource_id,omitempty"` +} + +type AzureAppPushReceiverObservation struct { +} + +type AzureAppPushReceiverParameters struct { + + // +kubebuilder:validation:Required + EmailAddress *string `json:"emailAddress" tf:"email_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type AzureFunctionReceiverObservation struct { +} + +type AzureFunctionReceiverParameters struct { + + // +kubebuilder:validation:Required + FunctionAppResourceID *string `json:"functionAppResourceId" tf:"function_app_resource_id,omitempty"` + + // +kubebuilder:validation:Required + FunctionName *string `json:"functionName" tf:"function_name,omitempty"` + + // +kubebuilder:validation:Required + HTTPTriggerURL *string `json:"httpTriggerUrl" tf:"http_trigger_url,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty" tf:"use_common_alert_schema,omitempty"` +} + +type EmailReceiverObservation struct { +} + +type EmailReceiverParameters struct { + + // +kubebuilder:validation:Required + EmailAddress *string `json:"emailAddress" tf:"email_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty" tf:"use_common_alert_schema,omitempty"` +} + +type ItsmReceiverObservation struct { +} + +type ItsmReceiverParameters struct { + + // +kubebuilder:validation:Required + ConnectionID *string `json:"connectionId" tf:"connection_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Region *string `json:"region" tf:"region,omitempty"` + + // +kubebuilder:validation:Required + TicketConfiguration *string `json:"ticketConfiguration" tf:"ticket_configuration,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceID *string `json:"workspaceId" tf:"workspace_id,omitempty"` +} + +type LogicAppReceiverObservation struct { +} + +type LogicAppReceiverParameters struct { + + // +kubebuilder:validation:Required + CallbackURL *string `json:"callbackUrl" tf:"callback_url,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceID *string `json:"resourceId" tf:"resource_id,omitempty"` + + // +kubebuilder:validation:Optional + UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty" tf:"use_common_alert_schema,omitempty"` +} + +type SmsReceiverObservation struct { +} + +type SmsReceiverParameters struct { + + // +kubebuilder:validation:Required + CountryCode *string `json:"countryCode" tf:"country_code,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"` +} + +type VoiceReceiverObservation struct { +} + +type VoiceReceiverParameters struct { + + // +kubebuilder:validation:Required + CountryCode *string `json:"countryCode" tf:"country_code,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PhoneNumber *string `json:"phoneNumber" tf:"phone_number,omitempty"` +} + +type WebhookReceiverObservation struct { +} + +type WebhookReceiverParameters struct { + + // +kubebuilder:validation:Optional + AadAuth []AadAuthParameters `json:"aadAuth,omitempty" tf:"aad_auth,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ServiceURI *string `json:"serviceUri" tf:"service_uri,omitempty"` + + // +kubebuilder:validation:Optional + UseCommonAlertSchema *bool `json:"useCommonAlertSchema,omitempty" tf:"use_common_alert_schema,omitempty"` +} + +// ActionGroupSpec defines the desired state of ActionGroup +type ActionGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ActionGroupParameters `json:"forProvider"` +} + +// ActionGroupStatus defines the observed state of ActionGroup. +type ActionGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ActionGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActionGroup is the Schema for the ActionGroups API +// +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,azurejet} +type ActionGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ActionGroupSpec `json:"spec"` + Status ActionGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActionGroupList contains a list of ActionGroups +type ActionGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ActionGroup `json:"items"` +} + +// Repository type metadata. +var ( + ActionGroup_Kind = "ActionGroup" + ActionGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ActionGroup_Kind}.String() + ActionGroup_KindAPIVersion = ActionGroup_Kind + "." + CRDGroupVersion.String() + ActionGroup_GroupVersionKind = CRDGroupVersion.WithKind(ActionGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&ActionGroup{}, &ActionGroupList{}) +} diff --git a/apis/monitor/v1alpha1/zz_actionruleactiongroup_terraformed.go b/apis/monitor/v1alpha1/zz_actionruleactiongroup_terraformed.go new file mode 100755 index 000000000..1f286548a --- /dev/null +++ b/apis/monitor/v1alpha1/zz_actionruleactiongroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ActionRuleActionGroup +func (mg *ActionRuleActionGroup) GetTerraformResourceType() string { + return "azurerm_monitor_action_rule_action_group" +} + +// GetConnectionDetailsMapping for this ActionRuleActionGroup +func (tr *ActionRuleActionGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ActionRuleActionGroup +func (tr *ActionRuleActionGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ActionRuleActionGroup +func (tr *ActionRuleActionGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ActionRuleActionGroup +func (tr *ActionRuleActionGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ActionRuleActionGroup +func (tr *ActionRuleActionGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ActionRuleActionGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ActionRuleActionGroup) LateInitialize(attrs []byte) (bool, error) { + params := &ActionRuleActionGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ActionRuleActionGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_actionruleactiongroup_types.go b/apis/monitor/v1alpha1/zz_actionruleactiongroup_types.go new file mode 100755 index 000000000..e9bc526fc --- /dev/null +++ b/apis/monitor/v1alpha1/zz_actionruleactiongroup_types.go @@ -0,0 +1,228 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionRuleActionGroupObservation struct { +} + +type ActionRuleActionGroupParameters struct { + + // +kubebuilder:validation:Required + ActionGroupID *string `json:"actionGroupId" tf:"action_group_id,omitempty"` + + // +kubebuilder:validation:Optional + Condition []ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Scope []ScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type AlertContextObservation struct { +} + +type AlertContextParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type AlertRuleIDObservation struct { +} + +type AlertRuleIDParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionObservation struct { +} + +type ConditionParameters struct { + + // +kubebuilder:validation:Optional + AlertContext []AlertContextParameters `json:"alertContext,omitempty" tf:"alert_context,omitempty"` + + // +kubebuilder:validation:Optional + AlertRuleID []AlertRuleIDParameters `json:"alertRuleId,omitempty" tf:"alert_rule_id,omitempty"` + + // +kubebuilder:validation:Optional + Description []DescriptionParameters `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []MonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Optional + MonitorService []MonitorServiceParameters `json:"monitorService,omitempty" tf:"monitor_service,omitempty"` + + // +kubebuilder:validation:Optional + Severity []SeverityParameters `json:"severity,omitempty" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceType []TargetResourceTypeParameters `json:"targetResourceType,omitempty" tf:"target_resource_type,omitempty"` +} + +type DescriptionObservation struct { +} + +type DescriptionParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type MonitorObservation struct { +} + +type MonitorParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type MonitorServiceObservation struct { +} + +type MonitorServiceParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ScopeObservation struct { +} + +type ScopeParameters struct { + + // +kubebuilder:validation:Required + ResourceIds []*string `json:"resourceIds" tf:"resource_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type SeverityObservation struct { +} + +type SeverityParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type TargetResourceTypeObservation struct { +} + +type TargetResourceTypeParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +// ActionRuleActionGroupSpec defines the desired state of ActionRuleActionGroup +type ActionRuleActionGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ActionRuleActionGroupParameters `json:"forProvider"` +} + +// ActionRuleActionGroupStatus defines the observed state of ActionRuleActionGroup. +type ActionRuleActionGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ActionRuleActionGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActionRuleActionGroup is the Schema for the ActionRuleActionGroups API +// +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,azurejet} +type ActionRuleActionGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ActionRuleActionGroupSpec `json:"spec"` + Status ActionRuleActionGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActionRuleActionGroupList contains a list of ActionRuleActionGroups +type ActionRuleActionGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ActionRuleActionGroup `json:"items"` +} + +// Repository type metadata. +var ( + ActionRuleActionGroup_Kind = "ActionRuleActionGroup" + ActionRuleActionGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ActionRuleActionGroup_Kind}.String() + ActionRuleActionGroup_KindAPIVersion = ActionRuleActionGroup_Kind + "." + CRDGroupVersion.String() + ActionRuleActionGroup_GroupVersionKind = CRDGroupVersion.WithKind(ActionRuleActionGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&ActionRuleActionGroup{}, &ActionRuleActionGroupList{}) +} diff --git a/apis/monitor/v1alpha1/zz_actionrulesuppression_terraformed.go b/apis/monitor/v1alpha1/zz_actionrulesuppression_terraformed.go new file mode 100755 index 000000000..df2260354 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_actionrulesuppression_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ActionRuleSuppression +func (mg *ActionRuleSuppression) GetTerraformResourceType() string { + return "azurerm_monitor_action_rule_suppression" +} + +// GetConnectionDetailsMapping for this ActionRuleSuppression +func (tr *ActionRuleSuppression) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ActionRuleSuppression +func (tr *ActionRuleSuppression) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ActionRuleSuppression +func (tr *ActionRuleSuppression) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ActionRuleSuppression +func (tr *ActionRuleSuppression) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ActionRuleSuppression +func (tr *ActionRuleSuppression) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ActionRuleSuppression using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ActionRuleSuppression) LateInitialize(attrs []byte) (bool, error) { + params := &ActionRuleSuppressionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ActionRuleSuppression) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_actionrulesuppression_types.go b/apis/monitor/v1alpha1/zz_actionrulesuppression_types.go new file mode 100755 index 000000000..8186b7e47 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_actionrulesuppression_types.go @@ -0,0 +1,258 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionRuleSuppressionConditionObservation struct { +} + +type ActionRuleSuppressionConditionParameters struct { + + // +kubebuilder:validation:Optional + AlertContext []ConditionAlertContextParameters `json:"alertContext,omitempty" tf:"alert_context,omitempty"` + + // +kubebuilder:validation:Optional + AlertRuleID []ConditionAlertRuleIDParameters `json:"alertRuleId,omitempty" tf:"alert_rule_id,omitempty"` + + // +kubebuilder:validation:Optional + Description []ConditionDescriptionParameters `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Monitor []ConditionMonitorParameters `json:"monitor,omitempty" tf:"monitor,omitempty"` + + // +kubebuilder:validation:Optional + MonitorService []ConditionMonitorServiceParameters `json:"monitorService,omitempty" tf:"monitor_service,omitempty"` + + // +kubebuilder:validation:Optional + Severity []ConditionSeverityParameters `json:"severity,omitempty" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceType []ConditionTargetResourceTypeParameters `json:"targetResourceType,omitempty" tf:"target_resource_type,omitempty"` +} + +type ActionRuleSuppressionObservation struct { +} + +type ActionRuleSuppressionParameters struct { + + // +kubebuilder:validation:Optional + Condition []ActionRuleSuppressionConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Scope []ActionRuleSuppressionScopeParameters `json:"scope,omitempty" tf:"scope,omitempty"` + + // +kubebuilder:validation:Required + Suppression []SuppressionParameters `json:"suppression" tf:"suppression,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type ActionRuleSuppressionScopeObservation struct { +} + +type ActionRuleSuppressionScopeParameters struct { + + // +kubebuilder:validation:Required + ResourceIds []*string `json:"resourceIds" tf:"resource_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ConditionAlertContextObservation struct { +} + +type ConditionAlertContextParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionAlertRuleIDObservation struct { +} + +type ConditionAlertRuleIDParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionDescriptionObservation struct { +} + +type ConditionDescriptionParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionMonitorObservation struct { +} + +type ConditionMonitorParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionMonitorServiceObservation struct { +} + +type ConditionMonitorServiceParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionSeverityObservation struct { +} + +type ConditionSeverityParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ConditionTargetResourceTypeObservation struct { +} + +type ConditionTargetResourceTypeParameters struct { + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ScheduleObservation struct { +} + +type ScheduleParameters struct { + + // +kubebuilder:validation:Required + EndDateUtc *string `json:"endDateUtc" tf:"end_date_utc,omitempty"` + + // +kubebuilder:validation:Optional + RecurrenceMonthly []*int64 `json:"recurrenceMonthly,omitempty" tf:"recurrence_monthly,omitempty"` + + // +kubebuilder:validation:Optional + RecurrenceWeekly []*string `json:"recurrenceWeekly,omitempty" tf:"recurrence_weekly,omitempty"` + + // +kubebuilder:validation:Required + StartDateUtc *string `json:"startDateUtc" tf:"start_date_utc,omitempty"` +} + +type SuppressionObservation struct { +} + +type SuppressionParameters struct { + + // +kubebuilder:validation:Required + RecurrenceType *string `json:"recurrenceType" tf:"recurrence_type,omitempty"` + + // +kubebuilder:validation:Optional + Schedule []ScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` +} + +// ActionRuleSuppressionSpec defines the desired state of ActionRuleSuppression +type ActionRuleSuppressionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ActionRuleSuppressionParameters `json:"forProvider"` +} + +// ActionRuleSuppressionStatus defines the observed state of ActionRuleSuppression. +type ActionRuleSuppressionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ActionRuleSuppressionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActionRuleSuppression is the Schema for the ActionRuleSuppressions API +// +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,azurejet} +type ActionRuleSuppression struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ActionRuleSuppressionSpec `json:"spec"` + Status ActionRuleSuppressionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActionRuleSuppressionList contains a list of ActionRuleSuppressions +type ActionRuleSuppressionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ActionRuleSuppression `json:"items"` +} + +// Repository type metadata. +var ( + ActionRuleSuppression_Kind = "ActionRuleSuppression" + ActionRuleSuppression_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ActionRuleSuppression_Kind}.String() + ActionRuleSuppression_KindAPIVersion = ActionRuleSuppression_Kind + "." + CRDGroupVersion.String() + ActionRuleSuppression_GroupVersionKind = CRDGroupVersion.WithKind(ActionRuleSuppression_Kind) +) + +func init() { + SchemeBuilder.Register(&ActionRuleSuppression{}, &ActionRuleSuppressionList{}) +} diff --git a/apis/monitor/v1alpha1/zz_activitylogalert_terraformed.go b/apis/monitor/v1alpha1/zz_activitylogalert_terraformed.go new file mode 100755 index 000000000..8e4697006 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_activitylogalert_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ActivityLogAlert +func (mg *ActivityLogAlert) GetTerraformResourceType() string { + return "azurerm_monitor_activity_log_alert" +} + +// GetConnectionDetailsMapping for this ActivityLogAlert +func (tr *ActivityLogAlert) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ActivityLogAlert +func (tr *ActivityLogAlert) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ActivityLogAlert +func (tr *ActivityLogAlert) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ActivityLogAlert +func (tr *ActivityLogAlert) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ActivityLogAlert +func (tr *ActivityLogAlert) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ActivityLogAlert using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ActivityLogAlert) LateInitialize(attrs []byte) (bool, error) { + params := &ActivityLogAlertParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ActivityLogAlert) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_activitylogalert_types.go b/apis/monitor/v1alpha1/zz_activitylogalert_types.go new file mode 100755 index 000000000..abedca53a --- /dev/null +++ b/apis/monitor/v1alpha1/zz_activitylogalert_types.go @@ -0,0 +1,180 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionObservation struct { +} + +type ActionParameters struct { + + // +kubebuilder:validation:Required + ActionGroupID *string `json:"actionGroupId" tf:"action_group_id,omitempty"` + + // +kubebuilder:validation:Optional + WebhookProperties map[string]*string `json:"webhookProperties,omitempty" tf:"webhook_properties,omitempty"` +} + +type ActivityLogAlertObservation struct { +} + +type ActivityLogAlertParameters struct { + + // +kubebuilder:validation:Optional + Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + Criteria []CriteriaParameters `json:"criteria" tf:"criteria,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Scopes []*string `json:"scopes" tf:"scopes,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type CriteriaObservation struct { +} + +type CriteriaParameters struct { + + // +kubebuilder:validation:Optional + Caller *string `json:"caller,omitempty" tf:"caller,omitempty"` + + // +kubebuilder:validation:Required + Category *string `json:"category" tf:"category,omitempty"` + + // +kubebuilder:validation:Optional + Level *string `json:"level,omitempty" tf:"level,omitempty"` + + // +kubebuilder:validation:Optional + OperationName *string `json:"operationName,omitempty" tf:"operation_name,omitempty"` + + // +kubebuilder:validation:Optional + RecommendationCategory *string `json:"recommendationCategory,omitempty" tf:"recommendation_category,omitempty"` + + // +kubebuilder:validation:Optional + RecommendationImpact *string `json:"recommendationImpact,omitempty" tf:"recommendation_impact,omitempty"` + + // +kubebuilder:validation:Optional + RecommendationType *string `json:"recommendationType,omitempty" tf:"recommendation_type,omitempty"` + + // +kubebuilder:validation:Optional + ResourceGroup *string `json:"resourceGroup,omitempty" tf:"resource_group,omitempty"` + + // +kubebuilder:validation:Optional + ResourceID *string `json:"resourceId,omitempty" tf:"resource_id,omitempty"` + + // +kubebuilder:validation:Optional + ResourceProvider *string `json:"resourceProvider,omitempty" tf:"resource_provider,omitempty"` + + // +kubebuilder:validation:Optional + ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"` + + // +kubebuilder:validation:Optional + ServiceHealth []ServiceHealthParameters `json:"serviceHealth,omitempty" tf:"service_health,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // +kubebuilder:validation:Optional + SubStatus *string `json:"subStatus,omitempty" tf:"sub_status,omitempty"` +} + +type ServiceHealthObservation struct { +} + +type ServiceHealthParameters struct { + + // +kubebuilder:validation:Optional + Events []*string `json:"events,omitempty" tf:"events,omitempty"` + + // +kubebuilder:validation:Optional + Locations []*string `json:"locations,omitempty" tf:"locations,omitempty"` + + // +kubebuilder:validation:Optional + Services []*string `json:"services,omitempty" tf:"services,omitempty"` +} + +// ActivityLogAlertSpec defines the desired state of ActivityLogAlert +type ActivityLogAlertSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ActivityLogAlertParameters `json:"forProvider"` +} + +// ActivityLogAlertStatus defines the observed state of ActivityLogAlert. +type ActivityLogAlertStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ActivityLogAlertObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActivityLogAlert is the Schema for the ActivityLogAlerts API +// +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,azurejet} +type ActivityLogAlert struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ActivityLogAlertSpec `json:"spec"` + Status ActivityLogAlertStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActivityLogAlertList contains a list of ActivityLogAlerts +type ActivityLogAlertList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ActivityLogAlert `json:"items"` +} + +// Repository type metadata. +var ( + ActivityLogAlert_Kind = "ActivityLogAlert" + ActivityLogAlert_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ActivityLogAlert_Kind}.String() + ActivityLogAlert_KindAPIVersion = ActivityLogAlert_Kind + "." + CRDGroupVersion.String() + ActivityLogAlert_GroupVersionKind = CRDGroupVersion.WithKind(ActivityLogAlert_Kind) +) + +func init() { + SchemeBuilder.Register(&ActivityLogAlert{}, &ActivityLogAlertList{}) +} diff --git a/apis/monitor/v1alpha1/zz_autoscalesetting_terraformed.go b/apis/monitor/v1alpha1/zz_autoscalesetting_terraformed.go new file mode 100755 index 000000000..e9d623651 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_autoscalesetting_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AutoscaleSetting +func (mg *AutoscaleSetting) GetTerraformResourceType() string { + return "azurerm_monitor_autoscale_setting" +} + +// GetConnectionDetailsMapping for this AutoscaleSetting +func (tr *AutoscaleSetting) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AutoscaleSetting +func (tr *AutoscaleSetting) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AutoscaleSetting +func (tr *AutoscaleSetting) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AutoscaleSetting +func (tr *AutoscaleSetting) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AutoscaleSetting +func (tr *AutoscaleSetting) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AutoscaleSetting using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AutoscaleSetting) LateInitialize(attrs []byte) (bool, error) { + params := &AutoscaleSettingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AutoscaleSetting) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_autoscalesetting_types.go b/apis/monitor/v1alpha1/zz_autoscalesetting_types.go new file mode 100755 index 000000000..3c6d89fbe --- /dev/null +++ b/apis/monitor/v1alpha1/zz_autoscalesetting_types.go @@ -0,0 +1,297 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutoscaleSettingObservation struct { +} + +type AutoscaleSettingParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Notification []NotificationParameters `json:"notification,omitempty" tf:"notification,omitempty"` + + // +kubebuilder:validation:Required + Profile []ProfileParameters `json:"profile" tf:"profile,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +type CapacityObservation struct { +} + +type CapacityParameters struct { + + // +kubebuilder:validation:Required + Default *int64 `json:"default" tf:"default,omitempty"` + + // +kubebuilder:validation:Required + Maximum *int64 `json:"maximum" tf:"maximum,omitempty"` + + // +kubebuilder:validation:Required + Minimum *int64 `json:"minimum" tf:"minimum,omitempty"` +} + +type DimensionsObservation struct { +} + +type DimensionsParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type EmailObservation struct { +} + +type EmailParameters struct { + + // +kubebuilder:validation:Optional + CustomEmails []*string `json:"customEmails,omitempty" tf:"custom_emails,omitempty"` + + // +kubebuilder:validation:Optional + SendToSubscriptionAdministrator *bool `json:"sendToSubscriptionAdministrator,omitempty" tf:"send_to_subscription_administrator,omitempty"` + + // +kubebuilder:validation:Optional + SendToSubscriptionCoAdministrator *bool `json:"sendToSubscriptionCoAdministrator,omitempty" tf:"send_to_subscription_co_administrator,omitempty"` +} + +type FixedDateObservation struct { +} + +type FixedDateParameters struct { + + // +kubebuilder:validation:Required + End *string `json:"end" tf:"end,omitempty"` + + // +kubebuilder:validation:Required + Start *string `json:"start" tf:"start,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` +} + +type MetricTriggerObservation struct { +} + +type MetricTriggerParameters struct { + + // +kubebuilder:validation:Optional + Dimensions []DimensionsParameters `json:"dimensions,omitempty" tf:"dimensions,omitempty"` + + // +kubebuilder:validation:Optional + DivideByInstanceCount *bool `json:"divideByInstanceCount,omitempty" tf:"divide_by_instance_count,omitempty"` + + // +kubebuilder:validation:Required + MetricName *string `json:"metricName" tf:"metric_name,omitempty"` + + // +kubebuilder:validation:Optional + MetricNamespace *string `json:"metricNamespace,omitempty" tf:"metric_namespace,omitempty"` + + // +kubebuilder:validation:Required + MetricResourceID *string `json:"metricResourceId" tf:"metric_resource_id,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Statistic *string `json:"statistic" tf:"statistic,omitempty"` + + // +kubebuilder:validation:Required + Threshold *float64 `json:"threshold" tf:"threshold,omitempty"` + + // +kubebuilder:validation:Required + TimeAggregation *string `json:"timeAggregation" tf:"time_aggregation,omitempty"` + + // +kubebuilder:validation:Required + TimeGrain *string `json:"timeGrain" tf:"time_grain,omitempty"` + + // +kubebuilder:validation:Required + TimeWindow *string `json:"timeWindow" tf:"time_window,omitempty"` +} + +type NotificationObservation struct { +} + +type NotificationParameters struct { + + // +kubebuilder:validation:Optional + Email []EmailParameters `json:"email,omitempty" tf:"email,omitempty"` + + // +kubebuilder:validation:Optional + Webhook []WebhookParameters `json:"webhook,omitempty" tf:"webhook,omitempty"` +} + +type ProfileObservation struct { +} + +type ProfileParameters struct { + + // +kubebuilder:validation:Required + Capacity []CapacityParameters `json:"capacity" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + FixedDate []FixedDateParameters `json:"fixedDate,omitempty" tf:"fixed_date,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Recurrence []RecurrenceParameters `json:"recurrence,omitempty" tf:"recurrence,omitempty"` + + // +kubebuilder:validation:Optional + Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` +} + +type RecurrenceObservation struct { +} + +type RecurrenceParameters struct { + + // +kubebuilder:validation:Required + Days []*string `json:"days" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + Hours []*int64 `json:"hours" tf:"hours,omitempty"` + + // +kubebuilder:validation:Required + Minutes []*int64 `json:"minutes" tf:"minutes,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` +} + +type RuleObservation struct { +} + +type RuleParameters struct { + + // +kubebuilder:validation:Required + MetricTrigger []MetricTriggerParameters `json:"metricTrigger" tf:"metric_trigger,omitempty"` + + // +kubebuilder:validation:Required + ScaleAction []ScaleActionParameters `json:"scaleAction" tf:"scale_action,omitempty"` +} + +type ScaleActionObservation struct { +} + +type ScaleActionParameters struct { + + // +kubebuilder:validation:Required + Cooldown *string `json:"cooldown" tf:"cooldown,omitempty"` + + // +kubebuilder:validation:Required + Direction *string `json:"direction" tf:"direction,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + Value *int64 `json:"value" tf:"value,omitempty"` +} + +type WebhookObservation struct { +} + +type WebhookParameters struct { + + // +kubebuilder:validation:Optional + Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` + + // +kubebuilder:validation:Required + ServiceURI *string `json:"serviceUri" tf:"service_uri,omitempty"` +} + +// AutoscaleSettingSpec defines the desired state of AutoscaleSetting +type AutoscaleSettingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AutoscaleSettingParameters `json:"forProvider"` +} + +// AutoscaleSettingStatus defines the observed state of AutoscaleSetting. +type AutoscaleSettingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AutoscaleSettingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AutoscaleSetting is the Schema for the AutoscaleSettings API +// +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,azurejet} +type AutoscaleSetting struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AutoscaleSettingSpec `json:"spec"` + Status AutoscaleSettingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AutoscaleSettingList contains a list of AutoscaleSettings +type AutoscaleSettingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AutoscaleSetting `json:"items"` +} + +// Repository type metadata. +var ( + AutoscaleSetting_Kind = "AutoscaleSetting" + AutoscaleSetting_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AutoscaleSetting_Kind}.String() + AutoscaleSetting_KindAPIVersion = AutoscaleSetting_Kind + "." + CRDGroupVersion.String() + AutoscaleSetting_GroupVersionKind = CRDGroupVersion.WithKind(AutoscaleSetting_Kind) +) + +func init() { + SchemeBuilder.Register(&AutoscaleSetting{}, &AutoscaleSettingList{}) +} diff --git a/apis/monitor/v1alpha1/zz_diagnosticsetting_terraformed.go b/apis/monitor/v1alpha1/zz_diagnosticsetting_terraformed.go new file mode 100755 index 000000000..05e4a22dc --- /dev/null +++ b/apis/monitor/v1alpha1/zz_diagnosticsetting_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DiagnosticSetting +func (mg *DiagnosticSetting) GetTerraformResourceType() string { + return "azurerm_monitor_diagnostic_setting" +} + +// GetConnectionDetailsMapping for this DiagnosticSetting +func (tr *DiagnosticSetting) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DiagnosticSetting +func (tr *DiagnosticSetting) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DiagnosticSetting +func (tr *DiagnosticSetting) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DiagnosticSetting +func (tr *DiagnosticSetting) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DiagnosticSetting +func (tr *DiagnosticSetting) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DiagnosticSetting using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DiagnosticSetting) LateInitialize(attrs []byte) (bool, error) { + params := &DiagnosticSettingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DiagnosticSetting) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_diagnosticsetting_types.go b/apis/monitor/v1alpha1/zz_diagnosticsetting_types.go new file mode 100755 index 000000000..e20b198f4 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_diagnosticsetting_types.go @@ -0,0 +1,162 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DiagnosticSettingLogObservation struct { +} + +type DiagnosticSettingLogParameters struct { + + // +kubebuilder:validation:Required + Category *string `json:"category" tf:"category,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionPolicy []LogRetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` +} + +type DiagnosticSettingObservation struct { +} + +type DiagnosticSettingParameters struct { + + // +kubebuilder:validation:Optional + EventhubAuthorizationRuleID *string `json:"eventhubAuthorizationRuleId,omitempty" tf:"eventhub_authorization_rule_id,omitempty"` + + // +kubebuilder:validation:Optional + EventhubName *string `json:"eventhubName,omitempty" tf:"eventhub_name,omitempty"` + + // +kubebuilder:validation:Optional + Log []DiagnosticSettingLogParameters `json:"log,omitempty" tf:"log,omitempty"` + + // +kubebuilder:validation:Optional + LogAnalyticsDestinationType *string `json:"logAnalyticsDestinationType,omitempty" tf:"log_analytics_destination_type,omitempty"` + + // +kubebuilder:validation:Optional + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId,omitempty" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + Metric []MetricParameters `json:"metric,omitempty" tf:"metric,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +type LogRetentionPolicyObservation struct { +} + +type LogRetentionPolicyParameters struct { + + // +kubebuilder:validation:Optional + Days *int64 `json:"days,omitempty" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` +} + +type MetricObservation struct { +} + +type MetricParameters struct { + + // +kubebuilder:validation:Required + Category *string `json:"category" tf:"category,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionPolicy []MetricRetentionPolicyParameters `json:"retentionPolicy,omitempty" tf:"retention_policy,omitempty"` +} + +type MetricRetentionPolicyObservation struct { +} + +type MetricRetentionPolicyParameters struct { + + // +kubebuilder:validation:Optional + Days *int64 `json:"days,omitempty" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` +} + +// DiagnosticSettingSpec defines the desired state of DiagnosticSetting +type DiagnosticSettingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DiagnosticSettingParameters `json:"forProvider"` +} + +// DiagnosticSettingStatus defines the observed state of DiagnosticSetting. +type DiagnosticSettingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DiagnosticSettingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DiagnosticSetting is the Schema for the DiagnosticSettings API +// +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,azurejet} +type DiagnosticSetting struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DiagnosticSettingSpec `json:"spec"` + Status DiagnosticSettingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DiagnosticSettingList contains a list of DiagnosticSettings +type DiagnosticSettingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DiagnosticSetting `json:"items"` +} + +// Repository type metadata. +var ( + DiagnosticSetting_Kind = "DiagnosticSetting" + DiagnosticSetting_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DiagnosticSetting_Kind}.String() + DiagnosticSetting_KindAPIVersion = DiagnosticSetting_Kind + "." + CRDGroupVersion.String() + DiagnosticSetting_GroupVersionKind = CRDGroupVersion.WithKind(DiagnosticSetting_Kind) +) + +func init() { + SchemeBuilder.Register(&DiagnosticSetting{}, &DiagnosticSettingList{}) +} diff --git a/apis/monitor/v1alpha1/zz_generated.deepcopy.go b/apis/monitor/v1alpha1/zz_generated.deepcopy.go index ba03431bd..32069d7a0 100644 --- a/apis/monitor/v1alpha1/zz_generated.deepcopy.go +++ b/apis/monitor/v1alpha1/zz_generated.deepcopy.go @@ -25,242 +25,5099 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadAuthObservation) DeepCopyInto(out *AadAuthObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadAuthObservation. +func (in *AadAuthObservation) DeepCopy() *AadAuthObservation { + if in == nil { + return nil + } + out := new(AadAuthObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadAuthParameters) DeepCopyInto(out *AadAuthParameters) { + *out = *in + if in.IdentifierURI != nil { + in, out := &in.IdentifierURI, &out.IdentifierURI + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadAuthParameters. +func (in *AadAuthParameters) DeepCopy() *AadAuthParameters { + if in == nil { + return nil + } + out := new(AadAuthParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadDiagnosticSetting) DeepCopyInto(out *AadDiagnosticSetting) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadDiagnosticSetting. +func (in *AadDiagnosticSetting) DeepCopy() *AadDiagnosticSetting { + if in == nil { + return nil + } + out := new(AadDiagnosticSetting) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AadDiagnosticSetting) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadDiagnosticSettingList) DeepCopyInto(out *AadDiagnosticSettingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AadDiagnosticSetting, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadDiagnosticSettingList. +func (in *AadDiagnosticSettingList) DeepCopy() *AadDiagnosticSettingList { + if in == nil { + return nil + } + out := new(AadDiagnosticSettingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AadDiagnosticSettingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadDiagnosticSettingObservation) DeepCopyInto(out *AadDiagnosticSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadDiagnosticSettingObservation. +func (in *AadDiagnosticSettingObservation) DeepCopy() *AadDiagnosticSettingObservation { + if in == nil { + return nil + } + out := new(AadDiagnosticSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadDiagnosticSettingParameters) DeepCopyInto(out *AadDiagnosticSettingParameters) { + *out = *in + if in.EventhubAuthorizationRuleID != nil { + in, out := &in.EventhubAuthorizationRuleID, &out.EventhubAuthorizationRuleID + *out = new(string) + **out = **in + } + if in.EventhubName != nil { + in, out := &in.EventhubName, &out.EventhubName + *out = new(string) + **out = **in + } + if in.Log != nil { + in, out := &in.Log, &out.Log + *out = make([]LogParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadDiagnosticSettingParameters. +func (in *AadDiagnosticSettingParameters) DeepCopy() *AadDiagnosticSettingParameters { + if in == nil { + return nil + } + out := new(AadDiagnosticSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadDiagnosticSettingSpec) DeepCopyInto(out *AadDiagnosticSettingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadDiagnosticSettingSpec. +func (in *AadDiagnosticSettingSpec) DeepCopy() *AadDiagnosticSettingSpec { + if in == nil { + return nil + } + out := new(AadDiagnosticSettingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadDiagnosticSettingStatus) DeepCopyInto(out *AadDiagnosticSettingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadDiagnosticSettingStatus. +func (in *AadDiagnosticSettingStatus) DeepCopy() *AadDiagnosticSettingStatus { + if in == nil { + return nil + } + out := new(AadDiagnosticSettingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionGroup) DeepCopyInto(out *ActionGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroup. +func (in *ActionGroup) DeepCopy() *ActionGroup { + if in == nil { + return nil + } + out := new(ActionGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActionGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionGroupList) DeepCopyInto(out *ActionGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ActionGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupList. +func (in *ActionGroupList) DeepCopy() *ActionGroupList { + if in == nil { + return nil + } + out := new(ActionGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActionGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionGroupObservation) DeepCopyInto(out *ActionGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupObservation. +func (in *ActionGroupObservation) DeepCopy() *ActionGroupObservation { + if in == nil { + return nil + } + out := new(ActionGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionGroupParameters) DeepCopyInto(out *ActionGroupParameters) { + *out = *in + if in.ArmRoleReceiver != nil { + in, out := &in.ArmRoleReceiver, &out.ArmRoleReceiver + *out = make([]ArmRoleReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutomationRunbookReceiver != nil { + in, out := &in.AutomationRunbookReceiver, &out.AutomationRunbookReceiver + *out = make([]AutomationRunbookReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AzureAppPushReceiver != nil { + in, out := &in.AzureAppPushReceiver, &out.AzureAppPushReceiver + *out = make([]AzureAppPushReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AzureFunctionReceiver != nil { + in, out := &in.AzureFunctionReceiver, &out.AzureFunctionReceiver + *out = make([]AzureFunctionReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EmailReceiver != nil { + in, out := &in.EmailReceiver, &out.EmailReceiver + *out = make([]EmailReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.ItsmReceiver != nil { + in, out := &in.ItsmReceiver, &out.ItsmReceiver + *out = make([]ItsmReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogicAppReceiver != nil { + in, out := &in.LogicAppReceiver, &out.LogicAppReceiver + *out = make([]LogicAppReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ShortName != nil { + in, out := &in.ShortName, &out.ShortName + *out = new(string) + **out = **in + } + if in.SmsReceiver != nil { + in, out := &in.SmsReceiver, &out.SmsReceiver + *out = make([]SmsReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VoiceReceiver != nil { + in, out := &in.VoiceReceiver, &out.VoiceReceiver + *out = make([]VoiceReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.WebhookReceiver != nil { + in, out := &in.WebhookReceiver, &out.WebhookReceiver + *out = make([]WebhookReceiverParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupParameters. +func (in *ActionGroupParameters) DeepCopy() *ActionGroupParameters { + if in == nil { + return nil + } + out := new(ActionGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionGroupSpec) DeepCopyInto(out *ActionGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupSpec. +func (in *ActionGroupSpec) DeepCopy() *ActionGroupSpec { + if in == nil { + return nil + } + out := new(ActionGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionGroupStatus) DeepCopyInto(out *ActionGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionGroupStatus. +func (in *ActionGroupStatus) DeepCopy() *ActionGroupStatus { + if in == nil { + return nil + } + out := new(ActionGroupStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ActionObservation) DeepCopyInto(out *ActionObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionObservation. -func (in *ActionObservation) DeepCopy() *ActionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionObservation. +func (in *ActionObservation) DeepCopy() *ActionObservation { + if in == nil { + return nil + } + out := new(ActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { + *out = *in + if in.ActionGroupID != nil { + in, out := &in.ActionGroupID, &out.ActionGroupID + *out = new(string) + **out = **in + } + if in.WebhookProperties != nil { + in, out := &in.WebhookProperties, &out.WebhookProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionParameters. +func (in *ActionParameters) DeepCopy() *ActionParameters { + if in == nil { + return nil + } + out := new(ActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleActionGroup) DeepCopyInto(out *ActionRuleActionGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleActionGroup. +func (in *ActionRuleActionGroup) DeepCopy() *ActionRuleActionGroup { + if in == nil { + return nil + } + out := new(ActionRuleActionGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActionRuleActionGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleActionGroupList) DeepCopyInto(out *ActionRuleActionGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ActionRuleActionGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleActionGroupList. +func (in *ActionRuleActionGroupList) DeepCopy() *ActionRuleActionGroupList { + if in == nil { + return nil + } + out := new(ActionRuleActionGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActionRuleActionGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleActionGroupObservation) DeepCopyInto(out *ActionRuleActionGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleActionGroupObservation. +func (in *ActionRuleActionGroupObservation) DeepCopy() *ActionRuleActionGroupObservation { + if in == nil { + return nil + } + out := new(ActionRuleActionGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleActionGroupParameters) DeepCopyInto(out *ActionRuleActionGroupParameters) { + *out = *in + if in.ActionGroupID != nil { + in, out := &in.ActionGroupID, &out.ActionGroupID + *out = new(string) + **out = **in + } + if in.Condition != nil { + in, out := &in.Condition, &out.Condition + *out = make([]ConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]ScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleActionGroupParameters. +func (in *ActionRuleActionGroupParameters) DeepCopy() *ActionRuleActionGroupParameters { + if in == nil { + return nil + } + out := new(ActionRuleActionGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleActionGroupSpec) DeepCopyInto(out *ActionRuleActionGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleActionGroupSpec. +func (in *ActionRuleActionGroupSpec) DeepCopy() *ActionRuleActionGroupSpec { + if in == nil { + return nil + } + out := new(ActionRuleActionGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleActionGroupStatus) DeepCopyInto(out *ActionRuleActionGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleActionGroupStatus. +func (in *ActionRuleActionGroupStatus) DeepCopy() *ActionRuleActionGroupStatus { + if in == nil { + return nil + } + out := new(ActionRuleActionGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppression) DeepCopyInto(out *ActionRuleSuppression) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppression. +func (in *ActionRuleSuppression) DeepCopy() *ActionRuleSuppression { + if in == nil { + return nil + } + out := new(ActionRuleSuppression) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActionRuleSuppression) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionConditionObservation) DeepCopyInto(out *ActionRuleSuppressionConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionConditionObservation. +func (in *ActionRuleSuppressionConditionObservation) DeepCopy() *ActionRuleSuppressionConditionObservation { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionConditionParameters) DeepCopyInto(out *ActionRuleSuppressionConditionParameters) { + *out = *in + if in.AlertContext != nil { + in, out := &in.AlertContext, &out.AlertContext + *out = make([]ConditionAlertContextParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AlertRuleID != nil { + in, out := &in.AlertRuleID, &out.AlertRuleID + *out = make([]ConditionAlertRuleIDParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = make([]ConditionDescriptionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]ConditionMonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MonitorService != nil { + in, out := &in.MonitorService, &out.MonitorService + *out = make([]ConditionMonitorServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = make([]ConditionSeverityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetResourceType != nil { + in, out := &in.TargetResourceType, &out.TargetResourceType + *out = make([]ConditionTargetResourceTypeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionConditionParameters. +func (in *ActionRuleSuppressionConditionParameters) DeepCopy() *ActionRuleSuppressionConditionParameters { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionList) DeepCopyInto(out *ActionRuleSuppressionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ActionRuleSuppression, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionList. +func (in *ActionRuleSuppressionList) DeepCopy() *ActionRuleSuppressionList { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActionRuleSuppressionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionObservation) DeepCopyInto(out *ActionRuleSuppressionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionObservation. +func (in *ActionRuleSuppressionObservation) DeepCopy() *ActionRuleSuppressionObservation { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionParameters) DeepCopyInto(out *ActionRuleSuppressionParameters) { + *out = *in + if in.Condition != nil { + in, out := &in.Condition, &out.Condition + *out = make([]ActionRuleSuppressionConditionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = make([]ActionRuleSuppressionScopeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Suppression != nil { + in, out := &in.Suppression, &out.Suppression + *out = make([]SuppressionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionParameters. +func (in *ActionRuleSuppressionParameters) DeepCopy() *ActionRuleSuppressionParameters { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionScopeObservation) DeepCopyInto(out *ActionRuleSuppressionScopeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionScopeObservation. +func (in *ActionRuleSuppressionScopeObservation) DeepCopy() *ActionRuleSuppressionScopeObservation { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionScopeParameters) DeepCopyInto(out *ActionRuleSuppressionScopeParameters) { + *out = *in + if in.ResourceIds != nil { + in, out := &in.ResourceIds, &out.ResourceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionScopeParameters. +func (in *ActionRuleSuppressionScopeParameters) DeepCopy() *ActionRuleSuppressionScopeParameters { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionSpec) DeepCopyInto(out *ActionRuleSuppressionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionSpec. +func (in *ActionRuleSuppressionSpec) DeepCopy() *ActionRuleSuppressionSpec { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionRuleSuppressionStatus) DeepCopyInto(out *ActionRuleSuppressionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionRuleSuppressionStatus. +func (in *ActionRuleSuppressionStatus) DeepCopy() *ActionRuleSuppressionStatus { + if in == nil { + return nil + } + out := new(ActionRuleSuppressionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActivityLogAlert) DeepCopyInto(out *ActivityLogAlert) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityLogAlert. +func (in *ActivityLogAlert) DeepCopy() *ActivityLogAlert { + if in == nil { + return nil + } + out := new(ActivityLogAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActivityLogAlert) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActivityLogAlertList) DeepCopyInto(out *ActivityLogAlertList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ActivityLogAlert, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityLogAlertList. +func (in *ActivityLogAlertList) DeepCopy() *ActivityLogAlertList { + if in == nil { + return nil + } + out := new(ActivityLogAlertList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActivityLogAlertList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActivityLogAlertObservation) DeepCopyInto(out *ActivityLogAlertObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityLogAlertObservation. +func (in *ActivityLogAlertObservation) DeepCopy() *ActivityLogAlertObservation { + if in == nil { + return nil + } + out := new(ActivityLogAlertObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActivityLogAlertParameters) DeepCopyInto(out *ActivityLogAlertParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]ActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Criteria != nil { + in, out := &in.Criteria, &out.Criteria + *out = make([]CriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityLogAlertParameters. +func (in *ActivityLogAlertParameters) DeepCopy() *ActivityLogAlertParameters { + if in == nil { + return nil + } + out := new(ActivityLogAlertParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActivityLogAlertSpec) DeepCopyInto(out *ActivityLogAlertSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityLogAlertSpec. +func (in *ActivityLogAlertSpec) DeepCopy() *ActivityLogAlertSpec { + if in == nil { + return nil + } + out := new(ActivityLogAlertSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActivityLogAlertStatus) DeepCopyInto(out *ActivityLogAlertStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActivityLogAlertStatus. +func (in *ActivityLogAlertStatus) DeepCopy() *ActivityLogAlertStatus { + if in == nil { + return nil + } + out := new(ActivityLogAlertStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertContextObservation) DeepCopyInto(out *AlertContextObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContextObservation. +func (in *AlertContextObservation) DeepCopy() *AlertContextObservation { + if in == nil { + return nil + } + out := new(AlertContextObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertContextParameters) DeepCopyInto(out *AlertContextParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertContextParameters. +func (in *AlertContextParameters) DeepCopy() *AlertContextParameters { + if in == nil { + return nil + } + out := new(AlertContextParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleIDObservation) DeepCopyInto(out *AlertRuleIDObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleIDObservation. +func (in *AlertRuleIDObservation) DeepCopy() *AlertRuleIDObservation { + if in == nil { + return nil + } + out := new(AlertRuleIDObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleIDParameters) DeepCopyInto(out *AlertRuleIDParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleIDParameters. +func (in *AlertRuleIDParameters) DeepCopy() *AlertRuleIDParameters { + if in == nil { + return nil + } + out := new(AlertRuleIDParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) DeepCopyInto(out *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation. +func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) DeepCopy() *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation { + if in == nil { + return nil + } + out := new(ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) DeepCopyInto(out *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) { + *out = *in + if in.ComponentID != nil { + in, out := &in.ComponentID, &out.ComponentID + *out = new(string) + **out = **in + } + if in.FailedLocationCount != nil { + in, out := &in.FailedLocationCount, &out.FailedLocationCount + *out = new(int64) + **out = **in + } + if in.WebTestID != nil { + in, out := &in.WebTestID, &out.WebTestID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters. +func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) DeepCopy() *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters { + if in == nil { + return nil + } + out := new(ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ArmRoleReceiverObservation) DeepCopyInto(out *ArmRoleReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArmRoleReceiverObservation. +func (in *ArmRoleReceiverObservation) DeepCopy() *ArmRoleReceiverObservation { + if in == nil { + return nil + } + out := new(ArmRoleReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ArmRoleReceiverParameters) DeepCopyInto(out *ArmRoleReceiverParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RoleID != nil { + in, out := &in.RoleID, &out.RoleID + *out = new(string) + **out = **in + } + if in.UseCommonAlertSchema != nil { + in, out := &in.UseCommonAlertSchema, &out.UseCommonAlertSchema + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArmRoleReceiverParameters. +func (in *ArmRoleReceiverParameters) DeepCopy() *ArmRoleReceiverParameters { + if in == nil { + return nil + } + out := new(ArmRoleReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomationRunbookReceiverObservation) DeepCopyInto(out *AutomationRunbookReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomationRunbookReceiverObservation. +func (in *AutomationRunbookReceiverObservation) DeepCopy() *AutomationRunbookReceiverObservation { + if in == nil { + return nil + } + out := new(AutomationRunbookReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomationRunbookReceiverParameters) DeepCopyInto(out *AutomationRunbookReceiverParameters) { + *out = *in + if in.AutomationAccountID != nil { + in, out := &in.AutomationAccountID, &out.AutomationAccountID + *out = new(string) + **out = **in + } + if in.IsGlobalRunbook != nil { + in, out := &in.IsGlobalRunbook, &out.IsGlobalRunbook + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RunbookName != nil { + in, out := &in.RunbookName, &out.RunbookName + *out = new(string) + **out = **in + } + if in.ServiceURI != nil { + in, out := &in.ServiceURI, &out.ServiceURI + *out = new(string) + **out = **in + } + if in.UseCommonAlertSchema != nil { + in, out := &in.UseCommonAlertSchema, &out.UseCommonAlertSchema + *out = new(bool) + **out = **in + } + if in.WebhookResourceID != nil { + in, out := &in.WebhookResourceID, &out.WebhookResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomationRunbookReceiverParameters. +func (in *AutomationRunbookReceiverParameters) DeepCopy() *AutomationRunbookReceiverParameters { + if in == nil { + return nil + } + out := new(AutomationRunbookReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleSetting) DeepCopyInto(out *AutoscaleSetting) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleSetting. +func (in *AutoscaleSetting) DeepCopy() *AutoscaleSetting { + if in == nil { + return nil + } + out := new(AutoscaleSetting) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AutoscaleSetting) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleSettingList) DeepCopyInto(out *AutoscaleSettingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AutoscaleSetting, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleSettingList. +func (in *AutoscaleSettingList) DeepCopy() *AutoscaleSettingList { + if in == nil { + return nil + } + out := new(AutoscaleSettingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AutoscaleSettingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleSettingObservation) DeepCopyInto(out *AutoscaleSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleSettingObservation. +func (in *AutoscaleSettingObservation) DeepCopy() *AutoscaleSettingObservation { + if in == nil { + return nil + } + out := new(AutoscaleSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleSettingParameters) DeepCopyInto(out *AutoscaleSettingParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Notification != nil { + in, out := &in.Notification, &out.Notification + *out = make([]NotificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Profile != nil { + in, out := &in.Profile, &out.Profile + *out = make([]ProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleSettingParameters. +func (in *AutoscaleSettingParameters) DeepCopy() *AutoscaleSettingParameters { + if in == nil { + return nil + } + out := new(AutoscaleSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleSettingSpec) DeepCopyInto(out *AutoscaleSettingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleSettingSpec. +func (in *AutoscaleSettingSpec) DeepCopy() *AutoscaleSettingSpec { + if in == nil { + return nil + } + out := new(AutoscaleSettingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoscaleSettingStatus) DeepCopyInto(out *AutoscaleSettingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscaleSettingStatus. +func (in *AutoscaleSettingStatus) DeepCopy() *AutoscaleSettingStatus { + if in == nil { + return nil + } + out := new(AutoscaleSettingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureAppPushReceiverObservation) DeepCopyInto(out *AzureAppPushReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureAppPushReceiverObservation. +func (in *AzureAppPushReceiverObservation) DeepCopy() *AzureAppPushReceiverObservation { + if in == nil { + return nil + } + out := new(AzureAppPushReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureAppPushReceiverParameters) DeepCopyInto(out *AzureAppPushReceiverParameters) { + *out = *in + if in.EmailAddress != nil { + in, out := &in.EmailAddress, &out.EmailAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureAppPushReceiverParameters. +func (in *AzureAppPushReceiverParameters) DeepCopy() *AzureAppPushReceiverParameters { + if in == nil { + return nil + } + out := new(AzureAppPushReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureFunctionReceiverObservation) DeepCopyInto(out *AzureFunctionReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFunctionReceiverObservation. +func (in *AzureFunctionReceiverObservation) DeepCopy() *AzureFunctionReceiverObservation { + if in == nil { + return nil + } + out := new(AzureFunctionReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureFunctionReceiverParameters) DeepCopyInto(out *AzureFunctionReceiverParameters) { + *out = *in + if in.FunctionAppResourceID != nil { + in, out := &in.FunctionAppResourceID, &out.FunctionAppResourceID + *out = new(string) + **out = **in + } + if in.FunctionName != nil { + in, out := &in.FunctionName, &out.FunctionName + *out = new(string) + **out = **in + } + if in.HTTPTriggerURL != nil { + in, out := &in.HTTPTriggerURL, &out.HTTPTriggerURL + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.UseCommonAlertSchema != nil { + in, out := &in.UseCommonAlertSchema, &out.UseCommonAlertSchema + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFunctionReceiverParameters. +func (in *AzureFunctionReceiverParameters) DeepCopy() *AzureFunctionReceiverParameters { + if in == nil { + return nil + } + out := new(AzureFunctionReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityObservation) DeepCopyInto(out *CapacityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityObservation. +func (in *CapacityObservation) DeepCopy() *CapacityObservation { + if in == nil { + return nil + } + out := new(CapacityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CapacityParameters) DeepCopyInto(out *CapacityParameters) { + *out = *in + if in.Default != nil { + in, out := &in.Default, &out.Default + *out = new(int64) + **out = **in + } + if in.Maximum != nil { + in, out := &in.Maximum, &out.Maximum + *out = new(int64) + **out = **in + } + if in.Minimum != nil { + in, out := &in.Minimum, &out.Minimum + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityParameters. +func (in *CapacityParameters) DeepCopy() *CapacityParameters { + if in == nil { + return nil + } + out := new(CapacityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionAlertContextObservation) DeepCopyInto(out *ConditionAlertContextObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionAlertContextObservation. +func (in *ConditionAlertContextObservation) DeepCopy() *ConditionAlertContextObservation { + if in == nil { + return nil + } + out := new(ConditionAlertContextObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionAlertContextParameters) DeepCopyInto(out *ConditionAlertContextParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionAlertContextParameters. +func (in *ConditionAlertContextParameters) DeepCopy() *ConditionAlertContextParameters { + if in == nil { + return nil + } + out := new(ConditionAlertContextParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionAlertRuleIDObservation) DeepCopyInto(out *ConditionAlertRuleIDObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionAlertRuleIDObservation. +func (in *ConditionAlertRuleIDObservation) DeepCopy() *ConditionAlertRuleIDObservation { + if in == nil { + return nil + } + out := new(ConditionAlertRuleIDObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionAlertRuleIDParameters) DeepCopyInto(out *ConditionAlertRuleIDParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionAlertRuleIDParameters. +func (in *ConditionAlertRuleIDParameters) DeepCopy() *ConditionAlertRuleIDParameters { + if in == nil { + return nil + } + out := new(ConditionAlertRuleIDParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionDescriptionObservation) DeepCopyInto(out *ConditionDescriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionDescriptionObservation. +func (in *ConditionDescriptionObservation) DeepCopy() *ConditionDescriptionObservation { + if in == nil { + return nil + } + out := new(ConditionDescriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionDescriptionParameters) DeepCopyInto(out *ConditionDescriptionParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionDescriptionParameters. +func (in *ConditionDescriptionParameters) DeepCopy() *ConditionDescriptionParameters { + if in == nil { + return nil + } + out := new(ConditionDescriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionMonitorObservation) DeepCopyInto(out *ConditionMonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionMonitorObservation. +func (in *ConditionMonitorObservation) DeepCopy() *ConditionMonitorObservation { + if in == nil { + return nil + } + out := new(ConditionMonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionMonitorParameters) DeepCopyInto(out *ConditionMonitorParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionMonitorParameters. +func (in *ConditionMonitorParameters) DeepCopy() *ConditionMonitorParameters { + if in == nil { + return nil + } + out := new(ConditionMonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionMonitorServiceObservation) DeepCopyInto(out *ConditionMonitorServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionMonitorServiceObservation. +func (in *ConditionMonitorServiceObservation) DeepCopy() *ConditionMonitorServiceObservation { + if in == nil { + return nil + } + out := new(ConditionMonitorServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionMonitorServiceParameters) DeepCopyInto(out *ConditionMonitorServiceParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionMonitorServiceParameters. +func (in *ConditionMonitorServiceParameters) DeepCopy() *ConditionMonitorServiceParameters { + if in == nil { + return nil + } + out := new(ConditionMonitorServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionObservation. +func (in *ConditionObservation) DeepCopy() *ConditionObservation { + if in == nil { + return nil + } + out := new(ConditionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters) { + *out = *in + if in.AlertContext != nil { + in, out := &in.AlertContext, &out.AlertContext + *out = make([]AlertContextParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AlertRuleID != nil { + in, out := &in.AlertRuleID, &out.AlertRuleID + *out = make([]AlertRuleIDParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = make([]DescriptionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Monitor != nil { + in, out := &in.Monitor, &out.Monitor + *out = make([]MonitorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MonitorService != nil { + in, out := &in.MonitorService, &out.MonitorService + *out = make([]MonitorServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = make([]SeverityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetResourceType != nil { + in, out := &in.TargetResourceType, &out.TargetResourceType + *out = make([]TargetResourceTypeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionParameters. +func (in *ConditionParameters) DeepCopy() *ConditionParameters { + if in == nil { + return nil + } + out := new(ConditionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionSeverityObservation) DeepCopyInto(out *ConditionSeverityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionSeverityObservation. +func (in *ConditionSeverityObservation) DeepCopy() *ConditionSeverityObservation { + if in == nil { + return nil + } + out := new(ConditionSeverityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionSeverityParameters) DeepCopyInto(out *ConditionSeverityParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionSeverityParameters. +func (in *ConditionSeverityParameters) DeepCopy() *ConditionSeverityParameters { + if in == nil { + return nil + } + out := new(ConditionSeverityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionTargetResourceTypeObservation) DeepCopyInto(out *ConditionTargetResourceTypeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionTargetResourceTypeObservation. +func (in *ConditionTargetResourceTypeObservation) DeepCopy() *ConditionTargetResourceTypeObservation { + if in == nil { + return nil + } + out := new(ConditionTargetResourceTypeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConditionTargetResourceTypeParameters) DeepCopyInto(out *ConditionTargetResourceTypeParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionTargetResourceTypeParameters. +func (in *ConditionTargetResourceTypeParameters) DeepCopy() *ConditionTargetResourceTypeParameters { + if in == nil { + return nil + } + out := new(ConditionTargetResourceTypeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CriteriaDimensionObservation) DeepCopyInto(out *CriteriaDimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaDimensionObservation. +func (in *CriteriaDimensionObservation) DeepCopy() *CriteriaDimensionObservation { + if in == nil { + return nil + } + out := new(CriteriaDimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CriteriaDimensionParameters) DeepCopyInto(out *CriteriaDimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaDimensionParameters. +func (in *CriteriaDimensionParameters) DeepCopy() *CriteriaDimensionParameters { + if in == nil { + return nil + } + out := new(CriteriaDimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaObservation. +func (in *CriteriaObservation) DeepCopy() *CriteriaObservation { + if in == nil { + return nil + } + out := new(CriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters) { + *out = *in + if in.Caller != nil { + in, out := &in.Caller, &out.Caller + *out = new(string) + **out = **in + } + if in.Category != nil { + in, out := &in.Category, &out.Category + *out = new(string) + **out = **in + } + if in.Level != nil { + in, out := &in.Level, &out.Level + *out = new(string) + **out = **in + } + if in.OperationName != nil { + in, out := &in.OperationName, &out.OperationName + *out = new(string) + **out = **in + } + if in.RecommendationCategory != nil { + in, out := &in.RecommendationCategory, &out.RecommendationCategory + *out = new(string) + **out = **in + } + if in.RecommendationImpact != nil { + in, out := &in.RecommendationImpact, &out.RecommendationImpact + *out = new(string) + **out = **in + } + if in.RecommendationType != nil { + in, out := &in.RecommendationType, &out.RecommendationType + *out = new(string) + **out = **in + } + if in.ResourceGroup != nil { + in, out := &in.ResourceGroup, &out.ResourceGroup + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.ResourceProvider != nil { + in, out := &in.ResourceProvider, &out.ResourceProvider + *out = new(string) + **out = **in + } + if in.ResourceType != nil { + in, out := &in.ResourceType, &out.ResourceType + *out = new(string) + **out = **in + } + if in.ServiceHealth != nil { + in, out := &in.ServiceHealth, &out.ServiceHealth + *out = make([]ServiceHealthParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.SubStatus != nil { + in, out := &in.SubStatus, &out.SubStatus + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaParameters. +func (in *CriteriaParameters) DeepCopy() *CriteriaParameters { + if in == nil { + return nil + } + out := new(CriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DescriptionObservation) DeepCopyInto(out *DescriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DescriptionObservation. +func (in *DescriptionObservation) DeepCopy() *DescriptionObservation { + if in == nil { + return nil + } + out := new(DescriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DescriptionParameters) DeepCopyInto(out *DescriptionParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DescriptionParameters. +func (in *DescriptionParameters) DeepCopy() *DescriptionParameters { + if in == nil { + return nil + } + out := new(DescriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSetting) DeepCopyInto(out *DiagnosticSetting) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSetting. +func (in *DiagnosticSetting) DeepCopy() *DiagnosticSetting { + if in == nil { + return nil + } + out := new(DiagnosticSetting) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DiagnosticSetting) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingList) DeepCopyInto(out *DiagnosticSettingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DiagnosticSetting, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingList. +func (in *DiagnosticSettingList) DeepCopy() *DiagnosticSettingList { + if in == nil { + return nil + } + out := new(DiagnosticSettingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DiagnosticSettingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingLogObservation) DeepCopyInto(out *DiagnosticSettingLogObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingLogObservation. +func (in *DiagnosticSettingLogObservation) DeepCopy() *DiagnosticSettingLogObservation { + if in == nil { + return nil + } + out := new(DiagnosticSettingLogObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingLogParameters) DeepCopyInto(out *DiagnosticSettingLogParameters) { + *out = *in + if in.Category != nil { + in, out := &in.Category, &out.Category + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]LogRetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingLogParameters. +func (in *DiagnosticSettingLogParameters) DeepCopy() *DiagnosticSettingLogParameters { + if in == nil { + return nil + } + out := new(DiagnosticSettingLogParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingObservation) DeepCopyInto(out *DiagnosticSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingObservation. +func (in *DiagnosticSettingObservation) DeepCopy() *DiagnosticSettingObservation { + if in == nil { + return nil + } + out := new(DiagnosticSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingParameters) DeepCopyInto(out *DiagnosticSettingParameters) { + *out = *in + if in.EventhubAuthorizationRuleID != nil { + in, out := &in.EventhubAuthorizationRuleID, &out.EventhubAuthorizationRuleID + *out = new(string) + **out = **in + } + if in.EventhubName != nil { + in, out := &in.EventhubName, &out.EventhubName + *out = new(string) + **out = **in + } + if in.Log != nil { + in, out := &in.Log, &out.Log + *out = make([]DiagnosticSettingLogParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogAnalyticsDestinationType != nil { + in, out := &in.LogAnalyticsDestinationType, &out.LogAnalyticsDestinationType + *out = new(string) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Metric != nil { + in, out := &in.Metric, &out.Metric + *out = make([]MetricParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingParameters. +func (in *DiagnosticSettingParameters) DeepCopy() *DiagnosticSettingParameters { + if in == nil { + return nil + } + out := new(DiagnosticSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingSpec) DeepCopyInto(out *DiagnosticSettingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingSpec. +func (in *DiagnosticSettingSpec) DeepCopy() *DiagnosticSettingSpec { + if in == nil { + return nil + } + out := new(DiagnosticSettingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticSettingStatus) DeepCopyInto(out *DiagnosticSettingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticSettingStatus. +func (in *DiagnosticSettingStatus) DeepCopy() *DiagnosticSettingStatus { + if in == nil { + return nil + } + out := new(DiagnosticSettingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DimensionObservation) DeepCopyInto(out *DimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionObservation. +func (in *DimensionObservation) DeepCopy() *DimensionObservation { + if in == nil { + return nil + } + out := new(DimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DimensionParameters) DeepCopyInto(out *DimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionParameters. +func (in *DimensionParameters) DeepCopy() *DimensionParameters { + if in == nil { + return nil + } + out := new(DimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DimensionsObservation) DeepCopyInto(out *DimensionsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionsObservation. +func (in *DimensionsObservation) DeepCopy() *DimensionsObservation { + if in == nil { + return nil + } + out := new(DimensionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DimensionsParameters) DeepCopyInto(out *DimensionsParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionsParameters. +func (in *DimensionsParameters) DeepCopy() *DimensionsParameters { + if in == nil { + return nil + } + out := new(DimensionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicCriteriaDimensionObservation) DeepCopyInto(out *DynamicCriteriaDimensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaDimensionObservation. +func (in *DynamicCriteriaDimensionObservation) DeepCopy() *DynamicCriteriaDimensionObservation { + if in == nil { + return nil + } + out := new(DynamicCriteriaDimensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicCriteriaDimensionParameters) DeepCopyInto(out *DynamicCriteriaDimensionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaDimensionParameters. +func (in *DynamicCriteriaDimensionParameters) DeepCopy() *DynamicCriteriaDimensionParameters { + if in == nil { + return nil + } + out := new(DynamicCriteriaDimensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicCriteriaObservation) DeepCopyInto(out *DynamicCriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaObservation. +func (in *DynamicCriteriaObservation) DeepCopy() *DynamicCriteriaObservation { + if in == nil { + return nil + } + out := new(DynamicCriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DynamicCriteriaParameters) DeepCopyInto(out *DynamicCriteriaParameters) { + *out = *in + if in.Aggregation != nil { + in, out := &in.Aggregation, &out.Aggregation + *out = new(string) + **out = **in + } + if in.AlertSensitivity != nil { + in, out := &in.AlertSensitivity, &out.AlertSensitivity + *out = new(string) + **out = **in + } + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]DynamicCriteriaDimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EvaluationFailureCount != nil { + in, out := &in.EvaluationFailureCount, &out.EvaluationFailureCount + *out = new(int64) + **out = **in + } + if in.EvaluationTotalCount != nil { + in, out := &in.EvaluationTotalCount, &out.EvaluationTotalCount + *out = new(int64) + **out = **in + } + if in.IgnoreDataBefore != nil { + in, out := &in.IgnoreDataBefore, &out.IgnoreDataBefore + *out = new(string) + **out = **in + } + if in.MetricName != nil { + in, out := &in.MetricName, &out.MetricName + *out = new(string) + **out = **in + } + if in.MetricNamespace != nil { + in, out := &in.MetricNamespace, &out.MetricNamespace + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.SkipMetricValidation != nil { + in, out := &in.SkipMetricValidation, &out.SkipMetricValidation + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaParameters. +func (in *DynamicCriteriaParameters) DeepCopy() *DynamicCriteriaParameters { + if in == nil { + return nil + } + out := new(DynamicCriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmailObservation) DeepCopyInto(out *EmailObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailObservation. +func (in *EmailObservation) DeepCopy() *EmailObservation { + if in == nil { + return nil + } + out := new(EmailObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmailParameters) DeepCopyInto(out *EmailParameters) { + *out = *in + if in.CustomEmails != nil { + in, out := &in.CustomEmails, &out.CustomEmails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SendToSubscriptionAdministrator != nil { + in, out := &in.SendToSubscriptionAdministrator, &out.SendToSubscriptionAdministrator + *out = new(bool) + **out = **in + } + if in.SendToSubscriptionCoAdministrator != nil { + in, out := &in.SendToSubscriptionCoAdministrator, &out.SendToSubscriptionCoAdministrator + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailParameters. +func (in *EmailParameters) DeepCopy() *EmailParameters { + if in == nil { + return nil + } + out := new(EmailParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmailReceiverObservation) DeepCopyInto(out *EmailReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiverObservation. +func (in *EmailReceiverObservation) DeepCopy() *EmailReceiverObservation { + if in == nil { + return nil + } + out := new(EmailReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmailReceiverParameters) DeepCopyInto(out *EmailReceiverParameters) { + *out = *in + if in.EmailAddress != nil { + in, out := &in.EmailAddress, &out.EmailAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.UseCommonAlertSchema != nil { + in, out := &in.UseCommonAlertSchema, &out.UseCommonAlertSchema + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiverParameters. +func (in *EmailReceiverParameters) DeepCopy() *EmailReceiverParameters { + if in == nil { + return nil + } + out := new(EmailReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FixedDateObservation) DeepCopyInto(out *FixedDateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedDateObservation. +func (in *FixedDateObservation) DeepCopy() *FixedDateObservation { + if in == nil { + return nil + } + out := new(FixedDateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FixedDateParameters) DeepCopyInto(out *FixedDateParameters) { + *out = *in + if in.End != nil { + in, out := &in.End, &out.End + *out = new(string) + **out = **in + } + if in.Start != nil { + in, out := &in.Start, &out.Start + *out = new(string) + **out = **in + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedDateParameters. +func (in *FixedDateParameters) DeepCopy() *FixedDateParameters { + if in == nil { + return nil + } + out := new(FixedDateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItsmReceiverObservation) DeepCopyInto(out *ItsmReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItsmReceiverObservation. +func (in *ItsmReceiverObservation) DeepCopy() *ItsmReceiverObservation { + if in == nil { + return nil + } + out := new(ItsmReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItsmReceiverParameters) DeepCopyInto(out *ItsmReceiverParameters) { + *out = *in + if in.ConnectionID != nil { + in, out := &in.ConnectionID, &out.ConnectionID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Region != nil { + in, out := &in.Region, &out.Region + *out = new(string) + **out = **in + } + if in.TicketConfiguration != nil { + in, out := &in.TicketConfiguration, &out.TicketConfiguration + *out = new(string) + **out = **in + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItsmReceiverParameters. +func (in *ItsmReceiverParameters) DeepCopy() *ItsmReceiverParameters { + if in == nil { + return nil + } + out := new(ItsmReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogObservation) DeepCopyInto(out *LogObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogObservation. +func (in *LogObservation) DeepCopy() *LogObservation { + if in == nil { + return nil + } + out := new(LogObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogParameters) DeepCopyInto(out *LogParameters) { + *out = *in + if in.Category != nil { + in, out := &in.Category, &out.Category + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogParameters. +func (in *LogParameters) DeepCopy() *LogParameters { + if in == nil { + return nil + } + out := new(LogParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogRetentionPolicyObservation) DeepCopyInto(out *LogRetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogRetentionPolicyObservation. +func (in *LogRetentionPolicyObservation) DeepCopy() *LogRetentionPolicyObservation { + if in == nil { + return nil + } + out := new(LogRetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogRetentionPolicyParameters) DeepCopyInto(out *LogRetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogRetentionPolicyParameters. +func (in *LogRetentionPolicyParameters) DeepCopy() *LogRetentionPolicyParameters { + if in == nil { + return nil + } + out := new(LogRetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogicAppReceiverObservation) DeepCopyInto(out *LogicAppReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicAppReceiverObservation. +func (in *LogicAppReceiverObservation) DeepCopy() *LogicAppReceiverObservation { + if in == nil { + return nil + } + out := new(LogicAppReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogicAppReceiverParameters) DeepCopyInto(out *LogicAppReceiverParameters) { + *out = *in + if in.CallbackURL != nil { + in, out := &in.CallbackURL, &out.CallbackURL + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } + if in.UseCommonAlertSchema != nil { + in, out := &in.UseCommonAlertSchema, &out.UseCommonAlertSchema + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicAppReceiverParameters. +func (in *LogicAppReceiverParameters) DeepCopy() *LogicAppReceiverParameters { + if in == nil { + return nil + } + out := new(LogicAppReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlert) DeepCopyInto(out *MetricAlert) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlert. +func (in *MetricAlert) DeepCopy() *MetricAlert { + if in == nil { + return nil + } + out := new(MetricAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MetricAlert) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertActionObservation) DeepCopyInto(out *MetricAlertActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertActionObservation. +func (in *MetricAlertActionObservation) DeepCopy() *MetricAlertActionObservation { + if in == nil { + return nil + } + out := new(MetricAlertActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertActionParameters) DeepCopyInto(out *MetricAlertActionParameters) { + *out = *in + if in.ActionGroupID != nil { + in, out := &in.ActionGroupID, &out.ActionGroupID + *out = new(string) + **out = **in + } + if in.WebhookProperties != nil { + in, out := &in.WebhookProperties, &out.WebhookProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertActionParameters. +func (in *MetricAlertActionParameters) DeepCopy() *MetricAlertActionParameters { + if in == nil { + return nil + } + out := new(MetricAlertActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertCriteriaObservation) DeepCopyInto(out *MetricAlertCriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertCriteriaObservation. +func (in *MetricAlertCriteriaObservation) DeepCopy() *MetricAlertCriteriaObservation { + if in == nil { + return nil + } + out := new(MetricAlertCriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertCriteriaParameters) DeepCopyInto(out *MetricAlertCriteriaParameters) { + *out = *in + if in.Aggregation != nil { + in, out := &in.Aggregation, &out.Aggregation + *out = new(string) + **out = **in + } + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]DimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MetricName != nil { + in, out := &in.MetricName, &out.MetricName + *out = new(string) + **out = **in + } + if in.MetricNamespace != nil { + in, out := &in.MetricNamespace, &out.MetricNamespace + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.SkipMetricValidation != nil { + in, out := &in.SkipMetricValidation, &out.SkipMetricValidation + *out = new(bool) + **out = **in + } + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertCriteriaParameters. +func (in *MetricAlertCriteriaParameters) DeepCopy() *MetricAlertCriteriaParameters { + if in == nil { + return nil + } + out := new(MetricAlertCriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertList) DeepCopyInto(out *MetricAlertList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MetricAlert, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertList. +func (in *MetricAlertList) DeepCopy() *MetricAlertList { + if in == nil { + return nil + } + out := new(MetricAlertList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MetricAlertList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertObservation) DeepCopyInto(out *MetricAlertObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertObservation. +func (in *MetricAlertObservation) DeepCopy() *MetricAlertObservation { + if in == nil { + return nil + } + out := new(MetricAlertObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertParameters) DeepCopyInto(out *MetricAlertParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]MetricAlertActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ApplicationInsightsWebTestLocationAvailabilityCriteria != nil { + in, out := &in.ApplicationInsightsWebTestLocationAvailabilityCriteria, &out.ApplicationInsightsWebTestLocationAvailabilityCriteria + *out = make([]ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutoMitigate != nil { + in, out := &in.AutoMitigate, &out.AutoMitigate + *out = new(bool) + **out = **in + } + if in.Criteria != nil { + in, out := &in.Criteria, &out.Criteria + *out = make([]MetricAlertCriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DynamicCriteria != nil { + in, out := &in.DynamicCriteria, &out.DynamicCriteria + *out = make([]DynamicCriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Scopes != nil { + in, out := &in.Scopes, &out.Scopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetResourceLocation != nil { + in, out := &in.TargetResourceLocation, &out.TargetResourceLocation + *out = new(string) + **out = **in + } + if in.TargetResourceType != nil { + in, out := &in.TargetResourceType, &out.TargetResourceType + *out = new(string) + **out = **in + } + if in.WindowSize != nil { + in, out := &in.WindowSize, &out.WindowSize + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertParameters. +func (in *MetricAlertParameters) DeepCopy() *MetricAlertParameters { + if in == nil { + return nil + } + out := new(MetricAlertParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertSpec) DeepCopyInto(out *MetricAlertSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertSpec. +func (in *MetricAlertSpec) DeepCopy() *MetricAlertSpec { + if in == nil { + return nil + } + out := new(MetricAlertSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricAlertStatus) DeepCopyInto(out *MetricAlertStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertStatus. +func (in *MetricAlertStatus) DeepCopy() *MetricAlertStatus { + if in == nil { + return nil + } + out := new(MetricAlertStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricObservation) DeepCopyInto(out *MetricObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricObservation. +func (in *MetricObservation) DeepCopy() *MetricObservation { + if in == nil { + return nil + } + out := new(MetricObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricParameters) DeepCopyInto(out *MetricParameters) { + *out = *in + if in.Category != nil { + in, out := &in.Category, &out.Category + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]MetricRetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricParameters. +func (in *MetricParameters) DeepCopy() *MetricParameters { + if in == nil { + return nil + } + out := new(MetricParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricRetentionPolicyObservation) DeepCopyInto(out *MetricRetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricRetentionPolicyObservation. +func (in *MetricRetentionPolicyObservation) DeepCopy() *MetricRetentionPolicyObservation { + if in == nil { + return nil + } + out := new(MetricRetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricRetentionPolicyParameters) DeepCopyInto(out *MetricRetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricRetentionPolicyParameters. +func (in *MetricRetentionPolicyParameters) DeepCopy() *MetricRetentionPolicyParameters { + if in == nil { + return nil + } + out := new(MetricRetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricTriggerObservation) DeepCopyInto(out *MetricTriggerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricTriggerObservation. +func (in *MetricTriggerObservation) DeepCopy() *MetricTriggerObservation { + if in == nil { + return nil + } + out := new(MetricTriggerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MetricTriggerParameters) DeepCopyInto(out *MetricTriggerParameters) { + *out = *in + if in.Dimensions != nil { + in, out := &in.Dimensions, &out.Dimensions + *out = make([]DimensionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DivideByInstanceCount != nil { + in, out := &in.DivideByInstanceCount, &out.DivideByInstanceCount + *out = new(bool) + **out = **in + } + if in.MetricName != nil { + in, out := &in.MetricName, &out.MetricName + *out = new(string) + **out = **in + } + if in.MetricNamespace != nil { + in, out := &in.MetricNamespace, &out.MetricNamespace + *out = new(string) + **out = **in + } + if in.MetricResourceID != nil { + in, out := &in.MetricResourceID, &out.MetricResourceID + *out = new(string) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Statistic != nil { + in, out := &in.Statistic, &out.Statistic + *out = new(string) + **out = **in + } + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(float64) + **out = **in + } + if in.TimeAggregation != nil { + in, out := &in.TimeAggregation, &out.TimeAggregation + *out = new(string) + **out = **in + } + if in.TimeGrain != nil { + in, out := &in.TimeGrain, &out.TimeGrain + *out = new(string) + **out = **in + } + if in.TimeWindow != nil { + in, out := &in.TimeWindow, &out.TimeWindow + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricTriggerParameters. +func (in *MetricTriggerParameters) DeepCopy() *MetricTriggerParameters { + if in == nil { + return nil + } + out := new(MetricTriggerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorObservation) DeepCopyInto(out *MonitorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorObservation. +func (in *MonitorObservation) DeepCopy() *MonitorObservation { + if in == nil { + return nil + } + out := new(MonitorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorParameters) DeepCopyInto(out *MonitorParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorParameters. +func (in *MonitorParameters) DeepCopy() *MonitorParameters { + if in == nil { + return nil + } + out := new(MonitorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorServiceObservation) DeepCopyInto(out *MonitorServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorServiceObservation. +func (in *MonitorServiceObservation) DeepCopy() *MonitorServiceObservation { + if in == nil { + return nil + } + out := new(MonitorServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorServiceParameters) DeepCopyInto(out *MonitorServiceParameters) { + *out = *in + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorServiceParameters. +func (in *MonitorServiceParameters) DeepCopy() *MonitorServiceParameters { + if in == nil { + return nil + } + out := new(MonitorServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationObservation) DeepCopyInto(out *NotificationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationObservation. +func (in *NotificationObservation) DeepCopy() *NotificationObservation { + if in == nil { + return nil + } + out := new(NotificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NotificationParameters) DeepCopyInto(out *NotificationParameters) { + *out = *in + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = make([]EmailParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Webhook != nil { + in, out := &in.Webhook, &out.Webhook + *out = make([]WebhookParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationParameters. +func (in *NotificationParameters) DeepCopy() *NotificationParameters { + if in == nil { + return nil + } + out := new(NotificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileObservation. +func (in *ProfileObservation) DeepCopy() *ProfileObservation { + if in == nil { + return nil + } + out := new(ProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = make([]CapacityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FixedDate != nil { + in, out := &in.FixedDate, &out.FixedDate + *out = make([]FixedDateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Recurrence != nil { + in, out := &in.Recurrence, &out.Recurrence + *out = make([]RecurrenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]RuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileParameters. +func (in *ProfileParameters) DeepCopy() *ProfileParameters { + if in == nil { + return nil + } + out := new(ProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceObservation) DeepCopyInto(out *RecurrenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceObservation. +func (in *RecurrenceObservation) DeepCopy() *RecurrenceObservation { + if in == nil { + return nil + } + out := new(RecurrenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurrenceParameters) DeepCopyInto(out *RecurrenceParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Hours != nil { + in, out := &in.Hours, &out.Hours + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.Minutes != nil { + in, out := &in.Minutes, &out.Minutes + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurrenceParameters. +func (in *RecurrenceParameters) DeepCopy() *RecurrenceParameters { + if in == nil { + return nil + } + out := new(RecurrenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. +func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { + if in == nil { + return nil + } + out := new(RetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. +func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { + if in == nil { + return nil + } + out := new(RetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { + if in == nil { + return nil + } + out := new(RuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { + *out = *in + if in.MetricTrigger != nil { + in, out := &in.MetricTrigger, &out.MetricTrigger + *out = make([]MetricTriggerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScaleAction != nil { + in, out := &in.ScaleAction, &out.ScaleAction + *out = make([]ScaleActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { + if in == nil { + return nil + } + out := new(RuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScaleActionObservation) DeepCopyInto(out *ScaleActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleActionObservation. +func (in *ScaleActionObservation) DeepCopy() *ScaleActionObservation { + if in == nil { + return nil + } + out := new(ScaleActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScaleActionParameters) DeepCopyInto(out *ScaleActionParameters) { + *out = *in + if in.Cooldown != nil { + in, out := &in.Cooldown, &out.Cooldown + *out = new(string) + **out = **in + } + if in.Direction != nil { + in, out := &in.Direction, &out.Direction + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleActionParameters. +func (in *ScaleActionParameters) DeepCopy() *ScaleActionParameters { + if in == nil { + return nil + } + out := new(ScaleActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation. +func (in *ScheduleObservation) DeepCopy() *ScheduleObservation { + if in == nil { + return nil + } + out := new(ScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { + *out = *in + if in.EndDateUtc != nil { + in, out := &in.EndDateUtc, &out.EndDateUtc + *out = new(string) + **out = **in + } + if in.RecurrenceMonthly != nil { + in, out := &in.RecurrenceMonthly, &out.RecurrenceMonthly + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } + if in.RecurrenceWeekly != nil { + in, out := &in.RecurrenceWeekly, &out.RecurrenceWeekly + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.StartDateUtc != nil { + in, out := &in.StartDateUtc, &out.StartDateUtc + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters. +func (in *ScheduleParameters) DeepCopy() *ScheduleParameters { + if in == nil { + return nil + } + out := new(ScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlert) DeepCopyInto(out *ScheduledQueryRulesAlert) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlert. +func (in *ScheduledQueryRulesAlert) DeepCopy() *ScheduledQueryRulesAlert { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ScheduledQueryRulesAlert) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertActionObservation) DeepCopyInto(out *ScheduledQueryRulesAlertActionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertActionObservation. +func (in *ScheduledQueryRulesAlertActionObservation) DeepCopy() *ScheduledQueryRulesAlertActionObservation { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertActionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertActionParameters) DeepCopyInto(out *ScheduledQueryRulesAlertActionParameters) { + *out = *in + if in.ActionGroup != nil { + in, out := &in.ActionGroup, &out.ActionGroup + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CustomWebhookPayload != nil { + in, out := &in.CustomWebhookPayload, &out.CustomWebhookPayload + *out = new(string) + **out = **in + } + if in.EmailSubject != nil { + in, out := &in.EmailSubject, &out.EmailSubject + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertActionParameters. +func (in *ScheduledQueryRulesAlertActionParameters) DeepCopy() *ScheduledQueryRulesAlertActionParameters { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertActionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertList) DeepCopyInto(out *ScheduledQueryRulesAlertList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ScheduledQueryRulesAlert, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertList. +func (in *ScheduledQueryRulesAlertList) DeepCopy() *ScheduledQueryRulesAlertList { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ScheduledQueryRulesAlertList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertObservation) DeepCopyInto(out *ScheduledQueryRulesAlertObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertObservation. +func (in *ScheduledQueryRulesAlertObservation) DeepCopy() *ScheduledQueryRulesAlertObservation { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertParameters) DeepCopyInto(out *ScheduledQueryRulesAlertParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = make([]ScheduledQueryRulesAlertActionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AuthorizedResourceIds != nil { + in, out := &in.AuthorizedResourceIds, &out.AuthorizedResourceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AutoMitigationEnabled != nil { + in, out := &in.AutoMitigationEnabled, &out.AutoMitigationEnabled + *out = new(bool) + **out = **in + } + if in.DataSourceID != nil { + in, out := &in.DataSourceID, &out.DataSourceID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency + *out = new(int64) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Query != nil { + in, out := &in.Query, &out.Query + *out = new(string) + **out = **in + } + if in.QueryType != nil { + in, out := &in.QueryType, &out.QueryType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Throttling != nil { + in, out := &in.Throttling, &out.Throttling + *out = new(int64) + **out = **in + } + if in.TimeWindow != nil { + in, out := &in.TimeWindow, &out.TimeWindow + *out = new(int64) + **out = **in + } + if in.Trigger != nil { + in, out := &in.Trigger, &out.Trigger + *out = make([]TriggerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertParameters. +func (in *ScheduledQueryRulesAlertParameters) DeepCopy() *ScheduledQueryRulesAlertParameters { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertSpec) DeepCopyInto(out *ScheduledQueryRulesAlertSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertSpec. +func (in *ScheduledQueryRulesAlertSpec) DeepCopy() *ScheduledQueryRulesAlertSpec { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesAlertStatus) DeepCopyInto(out *ScheduledQueryRulesAlertStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesAlertStatus. +func (in *ScheduledQueryRulesAlertStatus) DeepCopy() *ScheduledQueryRulesAlertStatus { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesAlertStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLog) DeepCopyInto(out *ScheduledQueryRulesLog) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLog. +func (in *ScheduledQueryRulesLog) DeepCopy() *ScheduledQueryRulesLog { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLog) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ScheduledQueryRulesLog) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogCriteriaObservation) DeepCopyInto(out *ScheduledQueryRulesLogCriteriaObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogCriteriaObservation. +func (in *ScheduledQueryRulesLogCriteriaObservation) DeepCopy() *ScheduledQueryRulesLogCriteriaObservation { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogCriteriaObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogCriteriaParameters) DeepCopyInto(out *ScheduledQueryRulesLogCriteriaParameters) { + *out = *in + if in.Dimension != nil { + in, out := &in.Dimension, &out.Dimension + *out = make([]CriteriaDimensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MetricName != nil { + in, out := &in.MetricName, &out.MetricName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogCriteriaParameters. +func (in *ScheduledQueryRulesLogCriteriaParameters) DeepCopy() *ScheduledQueryRulesLogCriteriaParameters { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogCriteriaParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogList) DeepCopyInto(out *ScheduledQueryRulesLogList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ScheduledQueryRulesLog, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogList. +func (in *ScheduledQueryRulesLogList) DeepCopy() *ScheduledQueryRulesLogList { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ScheduledQueryRulesLogList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogObservation) DeepCopyInto(out *ScheduledQueryRulesLogObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogObservation. +func (in *ScheduledQueryRulesLogObservation) DeepCopy() *ScheduledQueryRulesLogObservation { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogParameters) DeepCopyInto(out *ScheduledQueryRulesLogParameters) { + *out = *in + if in.AuthorizedResourceIds != nil { + in, out := &in.AuthorizedResourceIds, &out.AuthorizedResourceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Criteria != nil { + in, out := &in.Criteria, &out.Criteria + *out = make([]ScheduledQueryRulesLogCriteriaParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataSourceID != nil { + in, out := &in.DataSourceID, &out.DataSourceID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogParameters. +func (in *ScheduledQueryRulesLogParameters) DeepCopy() *ScheduledQueryRulesLogParameters { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogSpec) DeepCopyInto(out *ScheduledQueryRulesLogSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogSpec. +func (in *ScheduledQueryRulesLogSpec) DeepCopy() *ScheduledQueryRulesLogSpec { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScheduledQueryRulesLogStatus) DeepCopyInto(out *ScheduledQueryRulesLogStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledQueryRulesLogStatus. +func (in *ScheduledQueryRulesLogStatus) DeepCopy() *ScheduledQueryRulesLogStatus { + if in == nil { + return nil + } + out := new(ScheduledQueryRulesLogStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeObservation) DeepCopyInto(out *ScopeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeObservation. +func (in *ScopeObservation) DeepCopy() *ScopeObservation { + if in == nil { + return nil + } + out := new(ScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScopeParameters) DeepCopyInto(out *ScopeParameters) { + *out = *in + if in.ResourceIds != nil { + in, out := &in.ResourceIds, &out.ResourceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeParameters. +func (in *ScopeParameters) DeepCopy() *ScopeParameters { + if in == nil { + return nil + } + out := new(ScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHealthObservation) DeepCopyInto(out *ServiceHealthObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHealthObservation. +func (in *ServiceHealthObservation) DeepCopy() *ServiceHealthObservation { + if in == nil { + return nil + } + out := new(ServiceHealthObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceHealthParameters) DeepCopyInto(out *ServiceHealthParameters) { + *out = *in + if in.Events != nil { + in, out := &in.Events, &out.Events + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Locations != nil { + in, out := &in.Locations, &out.Locations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Services != nil { + in, out := &in.Services, &out.Services + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceHealthParameters. +func (in *ServiceHealthParameters) DeepCopy() *ServiceHealthParameters { + if in == nil { + return nil + } + out := new(ServiceHealthParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SeverityObservation) DeepCopyInto(out *SeverityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeverityObservation. +func (in *SeverityObservation) DeepCopy() *SeverityObservation { if in == nil { return nil } - out := new(ActionObservation) + out := new(SeverityObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { +func (in *SeverityParameters) DeepCopyInto(out *SeverityParameters) { *out = *in - if in.ActionGroupID != nil { - in, out := &in.ActionGroupID, &out.ActionGroupID + if in.Operator != nil { + in, out := &in.Operator, &out.Operator *out = new(string) **out = **in } - if in.WebhookProperties != nil { - in, out := &in.WebhookProperties, &out.WebhookProperties - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } - (*out)[key] = outVal } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionParameters. -func (in *ActionParameters) DeepCopy() *ActionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeverityParameters. +func (in *SeverityParameters) DeepCopy() *SeverityParameters { if in == nil { return nil } - out := new(ActionParameters) + out := new(SeverityParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) DeepCopyInto(out *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) { +func (in *SmartDetectorAlertRule) DeepCopyInto(out *SmartDetectorAlertRule) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation. -func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) DeepCopy() *ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRule. +func (in *SmartDetectorAlertRule) DeepCopy() *SmartDetectorAlertRule { if in == nil { return nil } - out := new(ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation) + out := new(SmartDetectorAlertRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SmartDetectorAlertRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SmartDetectorAlertRuleActionGroupObservation) DeepCopyInto(out *SmartDetectorAlertRuleActionGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleActionGroupObservation. +func (in *SmartDetectorAlertRuleActionGroupObservation) DeepCopy() *SmartDetectorAlertRuleActionGroupObservation { + if in == nil { + return nil + } + out := new(SmartDetectorAlertRuleActionGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) DeepCopyInto(out *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) { +func (in *SmartDetectorAlertRuleActionGroupParameters) DeepCopyInto(out *SmartDetectorAlertRuleActionGroupParameters) { *out = *in - if in.ComponentID != nil { - in, out := &in.ComponentID, &out.ComponentID + if in.EmailSubject != nil { + in, out := &in.EmailSubject, &out.EmailSubject *out = new(string) **out = **in } - if in.FailedLocationCount != nil { - in, out := &in.FailedLocationCount, &out.FailedLocationCount - *out = new(int64) - **out = **in + if in.Ids != nil { + in, out := &in.Ids, &out.Ids + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.WebTestID != nil { - in, out := &in.WebTestID, &out.WebTestID + if in.WebhookPayload != nil { + in, out := &in.WebhookPayload, &out.WebhookPayload *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters. -func (in *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) DeepCopy() *ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleActionGroupParameters. +func (in *SmartDetectorAlertRuleActionGroupParameters) DeepCopy() *SmartDetectorAlertRuleActionGroupParameters { if in == nil { return nil } - out := new(ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters) + out := new(SmartDetectorAlertRuleActionGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CriteriaObservation) DeepCopyInto(out *CriteriaObservation) { +func (in *SmartDetectorAlertRuleList) DeepCopyInto(out *SmartDetectorAlertRuleList) { *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SmartDetectorAlertRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaObservation. -func (in *CriteriaObservation) DeepCopy() *CriteriaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleList. +func (in *SmartDetectorAlertRuleList) DeepCopy() *SmartDetectorAlertRuleList { if in == nil { return nil } - out := new(CriteriaObservation) + out := new(SmartDetectorAlertRuleList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SmartDetectorAlertRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CriteriaParameters) DeepCopyInto(out *CriteriaParameters) { +func (in *SmartDetectorAlertRuleObservation) DeepCopyInto(out *SmartDetectorAlertRuleObservation) { *out = *in - if in.Aggregation != nil { - in, out := &in.Aggregation, &out.Aggregation - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleObservation. +func (in *SmartDetectorAlertRuleObservation) DeepCopy() *SmartDetectorAlertRuleObservation { + if in == nil { + return nil } - if in.Dimension != nil { - in, out := &in.Dimension, &out.Dimension - *out = make([]DimensionParameters, len(*in)) + out := new(SmartDetectorAlertRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SmartDetectorAlertRuleParameters) DeepCopyInto(out *SmartDetectorAlertRuleParameters) { + *out = *in + if in.ActionGroup != nil { + in, out := &in.ActionGroup, &out.ActionGroup + *out = make([]SmartDetectorAlertRuleActionGroupParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.MetricName != nil { - in, out := &in.MetricName, &out.MetricName + if in.Description != nil { + in, out := &in.Description, &out.Description *out = new(string) **out = **in } - if in.MetricNamespace != nil { - in, out := &in.MetricNamespace, &out.MetricNamespace + if in.DetectorType != nil { + in, out := &in.DetectorType, &out.DetectorType *out = new(string) **out = **in } - if in.Operator != nil { - in, out := &in.Operator, &out.Operator + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Frequency != nil { + in, out := &in.Frequency, &out.Frequency *out = new(string) **out = **in } - if in.SkipMetricValidation != nil { - in, out := &in.SkipMetricValidation, &out.SkipMetricValidation - *out = new(bool) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } - if in.Threshold != nil { - in, out := &in.Threshold, &out.Threshold - *out = new(float64) + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ScopeResourceIds != nil { + in, out := &in.ScopeResourceIds, &out.ScopeResourceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ThrottlingDuration != nil { + in, out := &in.ThrottlingDuration, &out.ThrottlingDuration + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CriteriaParameters. -func (in *CriteriaParameters) DeepCopy() *CriteriaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleParameters. +func (in *SmartDetectorAlertRuleParameters) DeepCopy() *SmartDetectorAlertRuleParameters { if in == nil { return nil } - out := new(CriteriaParameters) + out := new(SmartDetectorAlertRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DimensionObservation) DeepCopyInto(out *DimensionObservation) { +func (in *SmartDetectorAlertRuleSpec) DeepCopyInto(out *SmartDetectorAlertRuleSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionObservation. -func (in *DimensionObservation) DeepCopy() *DimensionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleSpec. +func (in *SmartDetectorAlertRuleSpec) DeepCopy() *SmartDetectorAlertRuleSpec { if in == nil { return nil } - out := new(DimensionObservation) + out := new(SmartDetectorAlertRuleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DimensionParameters) DeepCopyInto(out *DimensionParameters) { +func (in *SmartDetectorAlertRuleStatus) DeepCopyInto(out *SmartDetectorAlertRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmartDetectorAlertRuleStatus. +func (in *SmartDetectorAlertRuleStatus) DeepCopy() *SmartDetectorAlertRuleStatus { + if in == nil { + return nil + } + out := new(SmartDetectorAlertRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SmsReceiverObservation) DeepCopyInto(out *SmsReceiverObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmsReceiverObservation. +func (in *SmsReceiverObservation) DeepCopy() *SmsReceiverObservation { + if in == nil { + return nil + } + out := new(SmsReceiverObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SmsReceiverParameters) DeepCopyInto(out *SmsReceiverParameters) { *out = *in + if in.CountryCode != nil { + in, out := &in.CountryCode, &out.CountryCode + *out = new(string) + **out = **in + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Operator != nil { - in, out := &in.Operator, &out.Operator + if in.PhoneNumber != nil { + in, out := &in.PhoneNumber, &out.PhoneNumber *out = new(string) **out = **in } - if in.Values != nil { - in, out := &in.Values, &out.Values - *out = make([]*string, len(*in)) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmsReceiverParameters. +func (in *SmsReceiverParameters) DeepCopy() *SmsReceiverParameters { + if in == nil { + return nil + } + out := new(SmsReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SuppressionObservation) DeepCopyInto(out *SuppressionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuppressionObservation. +func (in *SuppressionObservation) DeepCopy() *SuppressionObservation { + if in == nil { + return nil + } + out := new(SuppressionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SuppressionParameters) DeepCopyInto(out *SuppressionParameters) { + *out = *in + if in.RecurrenceType != nil { + in, out := &in.RecurrenceType, &out.RecurrenceType + *out = new(string) + **out = **in + } + if in.Schedule != nil { + in, out := &in.Schedule, &out.Schedule + *out = make([]ScheduleParameters, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DimensionParameters. -func (in *DimensionParameters) DeepCopy() *DimensionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuppressionParameters. +func (in *SuppressionParameters) DeepCopy() *SuppressionParameters { if in == nil { return nil } - out := new(DimensionParameters) + out := new(SuppressionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DynamicCriteriaDimensionObservation) DeepCopyInto(out *DynamicCriteriaDimensionObservation) { +func (in *TargetResourceTypeObservation) DeepCopyInto(out *TargetResourceTypeObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaDimensionObservation. -func (in *DynamicCriteriaDimensionObservation) DeepCopy() *DynamicCriteriaDimensionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetResourceTypeObservation. +func (in *TargetResourceTypeObservation) DeepCopy() *TargetResourceTypeObservation { if in == nil { return nil } - out := new(DynamicCriteriaDimensionObservation) + out := new(TargetResourceTypeObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DynamicCriteriaDimensionParameters) DeepCopyInto(out *DynamicCriteriaDimensionParameters) { +func (in *TargetResourceTypeParameters) DeepCopyInto(out *TargetResourceTypeParameters) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } if in.Operator != nil { in, out := &in.Operator, &out.Operator *out = new(string) @@ -279,73 +5136,41 @@ func (in *DynamicCriteriaDimensionParameters) DeepCopyInto(out *DynamicCriteriaD } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaDimensionParameters. -func (in *DynamicCriteriaDimensionParameters) DeepCopy() *DynamicCriteriaDimensionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetResourceTypeParameters. +func (in *TargetResourceTypeParameters) DeepCopy() *TargetResourceTypeParameters { if in == nil { return nil } - out := new(DynamicCriteriaDimensionParameters) + out := new(TargetResourceTypeParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DynamicCriteriaObservation) DeepCopyInto(out *DynamicCriteriaObservation) { +func (in *TriggerMetricTriggerObservation) DeepCopyInto(out *TriggerMetricTriggerObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaObservation. -func (in *DynamicCriteriaObservation) DeepCopy() *DynamicCriteriaObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerMetricTriggerObservation. +func (in *TriggerMetricTriggerObservation) DeepCopy() *TriggerMetricTriggerObservation { if in == nil { return nil } - out := new(DynamicCriteriaObservation) + out := new(TriggerMetricTriggerObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DynamicCriteriaParameters) DeepCopyInto(out *DynamicCriteriaParameters) { +func (in *TriggerMetricTriggerParameters) DeepCopyInto(out *TriggerMetricTriggerParameters) { *out = *in - if in.Aggregation != nil { - in, out := &in.Aggregation, &out.Aggregation - *out = new(string) - **out = **in - } - if in.AlertSensitivity != nil { - in, out := &in.AlertSensitivity, &out.AlertSensitivity - *out = new(string) - **out = **in - } - if in.Dimension != nil { - in, out := &in.Dimension, &out.Dimension - *out = make([]DynamicCriteriaDimensionParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EvaluationFailureCount != nil { - in, out := &in.EvaluationFailureCount, &out.EvaluationFailureCount - *out = new(int64) - **out = **in - } - if in.EvaluationTotalCount != nil { - in, out := &in.EvaluationTotalCount, &out.EvaluationTotalCount - *out = new(int64) - **out = **in - } - if in.IgnoreDataBefore != nil { - in, out := &in.IgnoreDataBefore, &out.IgnoreDataBefore - *out = new(string) - **out = **in - } - if in.MetricName != nil { - in, out := &in.MetricName, &out.MetricName + if in.MetricColumn != nil { + in, out := &in.MetricColumn, &out.MetricColumn *out = new(string) **out = **in } - if in.MetricNamespace != nil { - in, out := &in.MetricNamespace, &out.MetricNamespace + if in.MetricTriggerType != nil { + in, out := &in.MetricTriggerType, &out.MetricTriggerType *out = new(string) **out = **in } @@ -354,181 +5179,135 @@ func (in *DynamicCriteriaParameters) DeepCopyInto(out *DynamicCriteriaParameters *out = new(string) **out = **in } - if in.SkipMetricValidation != nil { - in, out := &in.SkipMetricValidation, &out.SkipMetricValidation - *out = new(bool) + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(float64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicCriteriaParameters. -func (in *DynamicCriteriaParameters) DeepCopy() *DynamicCriteriaParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerMetricTriggerParameters. +func (in *TriggerMetricTriggerParameters) DeepCopy() *TriggerMetricTriggerParameters { if in == nil { return nil } - out := new(DynamicCriteriaParameters) + out := new(TriggerMetricTriggerParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetricAlert) DeepCopyInto(out *MetricAlert) { +func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlert. -func (in *MetricAlert) DeepCopy() *MetricAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerObservation. +func (in *TriggerObservation) DeepCopy() *TriggerObservation { if in == nil { return nil } - out := new(MetricAlert) + out := new(TriggerObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MetricAlert) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetricAlertList) DeepCopyInto(out *MetricAlertList) { +func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]MetricAlert, len(*in)) + if in.MetricTrigger != nil { + in, out := &in.MetricTrigger, &out.MetricTrigger + *out = make([]TriggerMetricTriggerParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Threshold != nil { + in, out := &in.Threshold, &out.Threshold + *out = new(float64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertList. -func (in *MetricAlertList) DeepCopy() *MetricAlertList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameters. +func (in *TriggerParameters) DeepCopy() *TriggerParameters { if in == nil { return nil } - out := new(MetricAlertList) + out := new(TriggerParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MetricAlertList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetricAlertObservation) DeepCopyInto(out *MetricAlertObservation) { +func (in *VoiceReceiverObservation) DeepCopyInto(out *VoiceReceiverObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertObservation. -func (in *MetricAlertObservation) DeepCopy() *MetricAlertObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceReceiverObservation. +func (in *VoiceReceiverObservation) DeepCopy() *VoiceReceiverObservation { if in == nil { return nil } - out := new(MetricAlertObservation) + out := new(VoiceReceiverObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetricAlertParameters) DeepCopyInto(out *MetricAlertParameters) { +func (in *VoiceReceiverParameters) DeepCopyInto(out *VoiceReceiverParameters) { *out = *in - if in.Action != nil { - in, out := &in.Action, &out.Action - *out = make([]ActionParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ApplicationInsightsWebTestLocationAvailabilityCriteria != nil { - in, out := &in.ApplicationInsightsWebTestLocationAvailabilityCriteria, &out.ApplicationInsightsWebTestLocationAvailabilityCriteria - *out = make([]ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.AutoMitigate != nil { - in, out := &in.AutoMitigate, &out.AutoMitigate - *out = new(bool) - **out = **in - } - if in.Criteria != nil { - in, out := &in.Criteria, &out.Criteria - *out = make([]CriteriaParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.CountryCode != nil { + in, out := &in.CountryCode, &out.CountryCode *out = new(string) **out = **in } - if in.DynamicCriteria != nil { - in, out := &in.DynamicCriteria, &out.DynamicCriteria - *out = make([]DynamicCriteriaParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in - } - if in.Frequency != nil { - in, out := &in.Frequency, &out.Frequency + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.ResourceGroupName != nil { - in, out := &in.ResourceGroupName, &out.ResourceGroupName + if in.PhoneNumber != nil { + in, out := &in.PhoneNumber, &out.PhoneNumber *out = new(string) **out = **in } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) - **out = **in - } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Scopes != nil { - in, out := &in.Scopes, &out.Scopes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoiceReceiverParameters. +func (in *VoiceReceiverParameters) DeepCopy() *VoiceReceiverParameters { + if in == nil { + return nil } - if in.Severity != nil { - in, out := &in.Severity, &out.Severity - *out = new(int64) - **out = **in + out := new(VoiceReceiverParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookObservation. +func (in *WebhookObservation) DeepCopy() *WebhookObservation { + if in == nil { + return nil } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags + out := new(WebhookObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters) { + *out = *in + if in.Properties != nil { + in, out := &in.Properties, &out.Properties *out = make(map[string]*string, len(*in)) for key, val := range *in { var outVal *string @@ -542,63 +5321,71 @@ func (in *MetricAlertParameters) DeepCopyInto(out *MetricAlertParameters) { (*out)[key] = outVal } } - if in.TargetResourceLocation != nil { - in, out := &in.TargetResourceLocation, &out.TargetResourceLocation - *out = new(string) - **out = **in - } - if in.TargetResourceType != nil { - in, out := &in.TargetResourceType, &out.TargetResourceType - *out = new(string) - **out = **in - } - if in.WindowSize != nil { - in, out := &in.WindowSize, &out.WindowSize + if in.ServiceURI != nil { + in, out := &in.ServiceURI, &out.ServiceURI *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertParameters. -func (in *MetricAlertParameters) DeepCopy() *MetricAlertParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookParameters. +func (in *WebhookParameters) DeepCopy() *WebhookParameters { if in == nil { return nil } - out := new(MetricAlertParameters) + out := new(WebhookParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetricAlertSpec) DeepCopyInto(out *MetricAlertSpec) { +func (in *WebhookReceiverObservation) DeepCopyInto(out *WebhookReceiverObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertSpec. -func (in *MetricAlertSpec) DeepCopy() *MetricAlertSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookReceiverObservation. +func (in *WebhookReceiverObservation) DeepCopy() *WebhookReceiverObservation { if in == nil { return nil } - out := new(MetricAlertSpec) + out := new(WebhookReceiverObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MetricAlertStatus) DeepCopyInto(out *MetricAlertStatus) { +func (in *WebhookReceiverParameters) DeepCopyInto(out *WebhookReceiverParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - out.AtProvider = in.AtProvider + if in.AadAuth != nil { + in, out := &in.AadAuth, &out.AadAuth + *out = make([]AadAuthParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ServiceURI != nil { + in, out := &in.ServiceURI, &out.ServiceURI + *out = new(string) + **out = **in + } + if in.UseCommonAlertSchema != nil { + in, out := &in.UseCommonAlertSchema, &out.UseCommonAlertSchema + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricAlertStatus. -func (in *MetricAlertStatus) DeepCopy() *MetricAlertStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookReceiverParameters. +func (in *WebhookReceiverParameters) DeepCopy() *WebhookReceiverParameters { if in == nil { return nil } - out := new(MetricAlertStatus) + out := new(WebhookReceiverParameters) in.DeepCopyInto(out) return out } diff --git a/apis/monitor/v1alpha1/zz_generated.managed.go b/apis/monitor/v1alpha1/zz_generated.managed.go index 4d2ea2927..e5657984b 100644 --- a/apis/monitor/v1alpha1/zz_generated.managed.go +++ b/apis/monitor/v1alpha1/zz_generated.managed.go @@ -19,6 +19,398 @@ package v1alpha1 import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +// GetCondition of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AadDiagnosticSetting. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AadDiagnosticSetting) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AadDiagnosticSetting. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AadDiagnosticSetting) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AadDiagnosticSetting. +func (mg *AadDiagnosticSetting) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ActionGroup. +func (mg *ActionGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ActionGroup. +func (mg *ActionGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ActionGroup. +func (mg *ActionGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ActionGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ActionGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ActionGroup. +func (mg *ActionGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ActionGroup. +func (mg *ActionGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ActionGroup. +func (mg *ActionGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ActionGroup. +func (mg *ActionGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ActionGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ActionGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ActionGroup. +func (mg *ActionGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ActionRuleActionGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ActionRuleActionGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ActionRuleActionGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ActionRuleActionGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ActionRuleActionGroup. +func (mg *ActionRuleActionGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ActionRuleSuppression. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ActionRuleSuppression) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ActionRuleSuppression. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ActionRuleSuppression) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ActionRuleSuppression. +func (mg *ActionRuleSuppression) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ActivityLogAlert. +func (mg *ActivityLogAlert) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ActivityLogAlert. +func (mg *ActivityLogAlert) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ActivityLogAlert. +func (mg *ActivityLogAlert) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ActivityLogAlert. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ActivityLogAlert) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ActivityLogAlert. +func (mg *ActivityLogAlert) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ActivityLogAlert. +func (mg *ActivityLogAlert) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ActivityLogAlert. +func (mg *ActivityLogAlert) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ActivityLogAlert. +func (mg *ActivityLogAlert) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ActivityLogAlert. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ActivityLogAlert) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ActivityLogAlert. +func (mg *ActivityLogAlert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AutoscaleSetting. +func (mg *AutoscaleSetting) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AutoscaleSetting. +func (mg *AutoscaleSetting) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AutoscaleSetting. +func (mg *AutoscaleSetting) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AutoscaleSetting. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AutoscaleSetting) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AutoscaleSetting. +func (mg *AutoscaleSetting) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AutoscaleSetting. +func (mg *AutoscaleSetting) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AutoscaleSetting. +func (mg *AutoscaleSetting) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AutoscaleSetting. +func (mg *AutoscaleSetting) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AutoscaleSetting. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AutoscaleSetting) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AutoscaleSetting. +func (mg *AutoscaleSetting) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DiagnosticSetting. +func (mg *DiagnosticSetting) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DiagnosticSetting. +func (mg *DiagnosticSetting) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DiagnosticSetting. +func (mg *DiagnosticSetting) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DiagnosticSetting. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DiagnosticSetting) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DiagnosticSetting. +func (mg *DiagnosticSetting) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DiagnosticSetting. +func (mg *DiagnosticSetting) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DiagnosticSetting. +func (mg *DiagnosticSetting) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DiagnosticSetting. +func (mg *DiagnosticSetting) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DiagnosticSetting. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DiagnosticSetting) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DiagnosticSetting. +func (mg *DiagnosticSetting) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this MetricAlert. func (mg *MetricAlert) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -74,3 +466,171 @@ func (mg *MetricAlert) SetProviderReference(r *xpv1.Reference) { func (mg *MetricAlert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } + +// GetCondition of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ScheduledQueryRulesAlert. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ScheduledQueryRulesAlert) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ScheduledQueryRulesAlert. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ScheduledQueryRulesAlert) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ScheduledQueryRulesAlert. +func (mg *ScheduledQueryRulesAlert) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ScheduledQueryRulesLog. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ScheduledQueryRulesLog) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ScheduledQueryRulesLog. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ScheduledQueryRulesLog) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ScheduledQueryRulesLog. +func (mg *ScheduledQueryRulesLog) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SmartDetectorAlertRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SmartDetectorAlertRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SmartDetectorAlertRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SmartDetectorAlertRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SmartDetectorAlertRule. +func (mg *SmartDetectorAlertRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/monitor/v1alpha1/zz_generated.managedlist.go b/apis/monitor/v1alpha1/zz_generated.managedlist.go index 5c2267a43..3ec0a6cf4 100644 --- a/apis/monitor/v1alpha1/zz_generated.managedlist.go +++ b/apis/monitor/v1alpha1/zz_generated.managedlist.go @@ -19,6 +19,69 @@ package v1alpha1 import resource "github.com/crossplane/crossplane-runtime/pkg/resource" +// GetItems of this AadDiagnosticSettingList. +func (l *AadDiagnosticSettingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ActionGroupList. +func (l *ActionGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ActionRuleActionGroupList. +func (l *ActionRuleActionGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ActionRuleSuppressionList. +func (l *ActionRuleSuppressionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ActivityLogAlertList. +func (l *ActivityLogAlertList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AutoscaleSettingList. +func (l *AutoscaleSettingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DiagnosticSettingList. +func (l *DiagnosticSettingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this MetricAlertList. func (l *MetricAlertList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -27,3 +90,30 @@ func (l *MetricAlertList) GetItems() []resource.Managed { } return items } + +// GetItems of this ScheduledQueryRulesAlertList. +func (l *ScheduledQueryRulesAlertList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ScheduledQueryRulesLogList. +func (l *ScheduledQueryRulesLogList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SmartDetectorAlertRuleList. +func (l *SmartDetectorAlertRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/monitor/v1alpha1/zz_metricalert_types.go b/apis/monitor/v1alpha1/zz_metricalert_types.go index 112c12f60..7722bdd44 100755 --- a/apis/monitor/v1alpha1/zz_metricalert_types.go +++ b/apis/monitor/v1alpha1/zz_metricalert_types.go @@ -25,18 +25,6 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type ActionObservation struct { -} - -type ActionParameters struct { - - // +kubebuilder:validation:Required - ActionGroupID *string `json:"actionGroupId" tf:"action_group_id,omitempty"` - - // +kubebuilder:validation:Optional - WebhookProperties map[string]*string `json:"webhookProperties,omitempty" tf:"webhook_properties,omitempty"` -} - type ApplicationInsightsWebTestLocationAvailabilityCriteriaObservation struct { } @@ -52,33 +40,6 @@ type ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters struct { WebTestID *string `json:"webTestId" tf:"web_test_id,omitempty"` } -type CriteriaObservation struct { -} - -type CriteriaParameters struct { - - // +kubebuilder:validation:Required - Aggregation *string `json:"aggregation" tf:"aggregation,omitempty"` - - // +kubebuilder:validation:Optional - Dimension []DimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"` - - // +kubebuilder:validation:Required - MetricName *string `json:"metricName" tf:"metric_name,omitempty"` - - // +kubebuilder:validation:Required - MetricNamespace *string `json:"metricNamespace" tf:"metric_namespace,omitempty"` - - // +kubebuilder:validation:Required - Operator *string `json:"operator" tf:"operator,omitempty"` - - // +kubebuilder:validation:Optional - SkipMetricValidation *bool `json:"skipMetricValidation,omitempty" tf:"skip_metric_validation,omitempty"` - - // +kubebuilder:validation:Required - Threshold *float64 `json:"threshold" tf:"threshold,omitempty"` -} - type DimensionObservation struct { } @@ -145,13 +106,52 @@ type DynamicCriteriaParameters struct { SkipMetricValidation *bool `json:"skipMetricValidation,omitempty" tf:"skip_metric_validation,omitempty"` } +type MetricAlertActionObservation struct { +} + +type MetricAlertActionParameters struct { + + // +kubebuilder:validation:Required + ActionGroupID *string `json:"actionGroupId" tf:"action_group_id,omitempty"` + + // +kubebuilder:validation:Optional + WebhookProperties map[string]*string `json:"webhookProperties,omitempty" tf:"webhook_properties,omitempty"` +} + +type MetricAlertCriteriaObservation struct { +} + +type MetricAlertCriteriaParameters struct { + + // +kubebuilder:validation:Required + Aggregation *string `json:"aggregation" tf:"aggregation,omitempty"` + + // +kubebuilder:validation:Optional + Dimension []DimensionParameters `json:"dimension,omitempty" tf:"dimension,omitempty"` + + // +kubebuilder:validation:Required + MetricName *string `json:"metricName" tf:"metric_name,omitempty"` + + // +kubebuilder:validation:Required + MetricNamespace *string `json:"metricNamespace" tf:"metric_namespace,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + SkipMetricValidation *bool `json:"skipMetricValidation,omitempty" tf:"skip_metric_validation,omitempty"` + + // +kubebuilder:validation:Required + Threshold *float64 `json:"threshold" tf:"threshold,omitempty"` +} + type MetricAlertObservation struct { } type MetricAlertParameters struct { // +kubebuilder:validation:Optional - Action []ActionParameters `json:"action,omitempty" tf:"action,omitempty"` + Action []MetricAlertActionParameters `json:"action,omitempty" tf:"action,omitempty"` // +kubebuilder:validation:Optional ApplicationInsightsWebTestLocationAvailabilityCriteria []ApplicationInsightsWebTestLocationAvailabilityCriteriaParameters `json:"applicationInsightsWebTestLocationAvailabilityCriteria,omitempty" tf:"application_insights_web_test_location_availability_criteria,omitempty"` @@ -160,7 +160,7 @@ type MetricAlertParameters struct { AutoMitigate *bool `json:"autoMitigate,omitempty" tf:"auto_mitigate,omitempty"` // +kubebuilder:validation:Optional - Criteria []CriteriaParameters `json:"criteria,omitempty" tf:"criteria,omitempty"` + Criteria []MetricAlertCriteriaParameters `json:"criteria,omitempty" tf:"criteria,omitempty"` // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` diff --git a/apis/monitor/v1alpha1/zz_scheduledqueryrulesalert_terraformed.go b/apis/monitor/v1alpha1/zz_scheduledqueryrulesalert_terraformed.go new file mode 100755 index 000000000..ae38d127a --- /dev/null +++ b/apis/monitor/v1alpha1/zz_scheduledqueryrulesalert_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ScheduledQueryRulesAlert +func (mg *ScheduledQueryRulesAlert) GetTerraformResourceType() string { + return "azurerm_monitor_scheduled_query_rules_alert" +} + +// GetConnectionDetailsMapping for this ScheduledQueryRulesAlert +func (tr *ScheduledQueryRulesAlert) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ScheduledQueryRulesAlert +func (tr *ScheduledQueryRulesAlert) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ScheduledQueryRulesAlert +func (tr *ScheduledQueryRulesAlert) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ScheduledQueryRulesAlert +func (tr *ScheduledQueryRulesAlert) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ScheduledQueryRulesAlert +func (tr *ScheduledQueryRulesAlert) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ScheduledQueryRulesAlert using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ScheduledQueryRulesAlert) LateInitialize(attrs []byte) (bool, error) { + params := &ScheduledQueryRulesAlertParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ScheduledQueryRulesAlert) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_scheduledqueryrulesalert_types.go b/apis/monitor/v1alpha1/zz_scheduledqueryrulesalert_types.go new file mode 100755 index 000000000..a00a2d600 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_scheduledqueryrulesalert_types.go @@ -0,0 +1,180 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ScheduledQueryRulesAlertActionObservation struct { +} + +type ScheduledQueryRulesAlertActionParameters struct { + + // +kubebuilder:validation:Required + ActionGroup []*string `json:"actionGroup" tf:"action_group,omitempty"` + + // +kubebuilder:validation:Optional + CustomWebhookPayload *string `json:"customWebhookPayload,omitempty" tf:"custom_webhook_payload,omitempty"` + + // +kubebuilder:validation:Optional + EmailSubject *string `json:"emailSubject,omitempty" tf:"email_subject,omitempty"` +} + +type ScheduledQueryRulesAlertObservation struct { +} + +type ScheduledQueryRulesAlertParameters struct { + + // +kubebuilder:validation:Required + Action []ScheduledQueryRulesAlertActionParameters `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + AuthorizedResourceIds []*string `json:"authorizedResourceIds,omitempty" tf:"authorized_resource_ids,omitempty"` + + // +kubebuilder:validation:Optional + AutoMitigationEnabled *bool `json:"autoMitigationEnabled,omitempty" tf:"auto_mitigation_enabled,omitempty"` + + // +kubebuilder:validation:Required + DataSourceID *string `json:"dataSourceId" tf:"data_source_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Frequency *int64 `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Query *string `json:"query" tf:"query,omitempty"` + + // +kubebuilder:validation:Optional + QueryType *string `json:"queryType,omitempty" tf:"query_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Severity *int64 `json:"severity,omitempty" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Throttling *int64 `json:"throttling,omitempty" tf:"throttling,omitempty"` + + // +kubebuilder:validation:Required + TimeWindow *int64 `json:"timeWindow" tf:"time_window,omitempty"` + + // +kubebuilder:validation:Required + Trigger []TriggerParameters `json:"trigger" tf:"trigger,omitempty"` +} + +type TriggerMetricTriggerObservation struct { +} + +type TriggerMetricTriggerParameters struct { + + // +kubebuilder:validation:Required + MetricColumn *string `json:"metricColumn" tf:"metric_column,omitempty"` + + // +kubebuilder:validation:Required + MetricTriggerType *string `json:"metricTriggerType" tf:"metric_trigger_type,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Threshold *float64 `json:"threshold" tf:"threshold,omitempty"` +} + +type TriggerObservation struct { +} + +type TriggerParameters struct { + + // +kubebuilder:validation:Optional + MetricTrigger []TriggerMetricTriggerParameters `json:"metricTrigger,omitempty" tf:"metric_trigger,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Threshold *float64 `json:"threshold" tf:"threshold,omitempty"` +} + +// ScheduledQueryRulesAlertSpec defines the desired state of ScheduledQueryRulesAlert +type ScheduledQueryRulesAlertSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ScheduledQueryRulesAlertParameters `json:"forProvider"` +} + +// ScheduledQueryRulesAlertStatus defines the observed state of ScheduledQueryRulesAlert. +type ScheduledQueryRulesAlertStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ScheduledQueryRulesAlertObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ScheduledQueryRulesAlert is the Schema for the ScheduledQueryRulesAlerts API +// +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,azurejet} +type ScheduledQueryRulesAlert struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ScheduledQueryRulesAlertSpec `json:"spec"` + Status ScheduledQueryRulesAlertStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ScheduledQueryRulesAlertList contains a list of ScheduledQueryRulesAlerts +type ScheduledQueryRulesAlertList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ScheduledQueryRulesAlert `json:"items"` +} + +// Repository type metadata. +var ( + ScheduledQueryRulesAlert_Kind = "ScheduledQueryRulesAlert" + ScheduledQueryRulesAlert_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ScheduledQueryRulesAlert_Kind}.String() + ScheduledQueryRulesAlert_KindAPIVersion = ScheduledQueryRulesAlert_Kind + "." + CRDGroupVersion.String() + ScheduledQueryRulesAlert_GroupVersionKind = CRDGroupVersion.WithKind(ScheduledQueryRulesAlert_Kind) +) + +func init() { + SchemeBuilder.Register(&ScheduledQueryRulesAlert{}, &ScheduledQueryRulesAlertList{}) +} diff --git a/apis/monitor/v1alpha1/zz_scheduledqueryruleslog_terraformed.go b/apis/monitor/v1alpha1/zz_scheduledqueryruleslog_terraformed.go new file mode 100755 index 000000000..78fb425a0 --- /dev/null +++ b/apis/monitor/v1alpha1/zz_scheduledqueryruleslog_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ScheduledQueryRulesLog +func (mg *ScheduledQueryRulesLog) GetTerraformResourceType() string { + return "azurerm_monitor_scheduled_query_rules_log" +} + +// GetConnectionDetailsMapping for this ScheduledQueryRulesLog +func (tr *ScheduledQueryRulesLog) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ScheduledQueryRulesLog +func (tr *ScheduledQueryRulesLog) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ScheduledQueryRulesLog +func (tr *ScheduledQueryRulesLog) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ScheduledQueryRulesLog +func (tr *ScheduledQueryRulesLog) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ScheduledQueryRulesLog +func (tr *ScheduledQueryRulesLog) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ScheduledQueryRulesLog using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ScheduledQueryRulesLog) LateInitialize(attrs []byte) (bool, error) { + params := &ScheduledQueryRulesLogParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ScheduledQueryRulesLog) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_scheduledqueryruleslog_types.go b/apis/monitor/v1alpha1/zz_scheduledqueryruleslog_types.go new file mode 100755 index 000000000..f26a1dd6c --- /dev/null +++ b/apis/monitor/v1alpha1/zz_scheduledqueryruleslog_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CriteriaDimensionObservation struct { +} + +type CriteriaDimensionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operator *string `json:"operator,omitempty" tf:"operator,omitempty"` + + // +kubebuilder:validation:Required + Values []*string `json:"values" tf:"values,omitempty"` +} + +type ScheduledQueryRulesLogCriteriaObservation struct { +} + +type ScheduledQueryRulesLogCriteriaParameters struct { + + // +kubebuilder:validation:Required + Dimension []CriteriaDimensionParameters `json:"dimension" tf:"dimension,omitempty"` + + // +kubebuilder:validation:Required + MetricName *string `json:"metricName" tf:"metric_name,omitempty"` +} + +type ScheduledQueryRulesLogObservation struct { +} + +type ScheduledQueryRulesLogParameters struct { + + // +kubebuilder:validation:Optional + AuthorizedResourceIds []*string `json:"authorizedResourceIds,omitempty" tf:"authorized_resource_ids,omitempty"` + + // +kubebuilder:validation:Required + Criteria []ScheduledQueryRulesLogCriteriaParameters `json:"criteria" tf:"criteria,omitempty"` + + // +kubebuilder:validation:Required + DataSourceID *string `json:"dataSourceId" tf:"data_source_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ScheduledQueryRulesLogSpec defines the desired state of ScheduledQueryRulesLog +type ScheduledQueryRulesLogSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ScheduledQueryRulesLogParameters `json:"forProvider"` +} + +// ScheduledQueryRulesLogStatus defines the observed state of ScheduledQueryRulesLog. +type ScheduledQueryRulesLogStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ScheduledQueryRulesLogObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ScheduledQueryRulesLog is the Schema for the ScheduledQueryRulesLogs API +// +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,azurejet} +type ScheduledQueryRulesLog struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ScheduledQueryRulesLogSpec `json:"spec"` + Status ScheduledQueryRulesLogStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ScheduledQueryRulesLogList contains a list of ScheduledQueryRulesLogs +type ScheduledQueryRulesLogList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ScheduledQueryRulesLog `json:"items"` +} + +// Repository type metadata. +var ( + ScheduledQueryRulesLog_Kind = "ScheduledQueryRulesLog" + ScheduledQueryRulesLog_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ScheduledQueryRulesLog_Kind}.String() + ScheduledQueryRulesLog_KindAPIVersion = ScheduledQueryRulesLog_Kind + "." + CRDGroupVersion.String() + ScheduledQueryRulesLog_GroupVersionKind = CRDGroupVersion.WithKind(ScheduledQueryRulesLog_Kind) +) + +func init() { + SchemeBuilder.Register(&ScheduledQueryRulesLog{}, &ScheduledQueryRulesLogList{}) +} diff --git a/apis/monitor/v1alpha1/zz_smartdetectoralertrule_terraformed.go b/apis/monitor/v1alpha1/zz_smartdetectoralertrule_terraformed.go new file mode 100755 index 000000000..e5c2e8a0b --- /dev/null +++ b/apis/monitor/v1alpha1/zz_smartdetectoralertrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SmartDetectorAlertRule +func (mg *SmartDetectorAlertRule) GetTerraformResourceType() string { + return "azurerm_monitor_smart_detector_alert_rule" +} + +// GetConnectionDetailsMapping for this SmartDetectorAlertRule +func (tr *SmartDetectorAlertRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SmartDetectorAlertRule +func (tr *SmartDetectorAlertRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SmartDetectorAlertRule +func (tr *SmartDetectorAlertRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SmartDetectorAlertRule +func (tr *SmartDetectorAlertRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SmartDetectorAlertRule +func (tr *SmartDetectorAlertRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SmartDetectorAlertRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SmartDetectorAlertRule) LateInitialize(attrs []byte) (bool, error) { + params := &SmartDetectorAlertRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SmartDetectorAlertRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/monitor/v1alpha1/zz_smartdetectoralertrule_types.go b/apis/monitor/v1alpha1/zz_smartdetectoralertrule_types.go new file mode 100755 index 000000000..b8092566e --- /dev/null +++ b/apis/monitor/v1alpha1/zz_smartdetectoralertrule_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SmartDetectorAlertRuleActionGroupObservation struct { +} + +type SmartDetectorAlertRuleActionGroupParameters struct { + + // +kubebuilder:validation:Optional + EmailSubject *string `json:"emailSubject,omitempty" tf:"email_subject,omitempty"` + + // +kubebuilder:validation:Required + Ids []*string `json:"ids" tf:"ids,omitempty"` + + // +kubebuilder:validation:Optional + WebhookPayload *string `json:"webhookPayload,omitempty" tf:"webhook_payload,omitempty"` +} + +type SmartDetectorAlertRuleObservation struct { +} + +type SmartDetectorAlertRuleParameters struct { + + // +kubebuilder:validation:Required + ActionGroup []SmartDetectorAlertRuleActionGroupParameters `json:"actionGroup" tf:"action_group,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DetectorType *string `json:"detectorType" tf:"detector_type,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Frequency *string `json:"frequency" tf:"frequency,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ScopeResourceIds []*string `json:"scopeResourceIds" tf:"scope_resource_ids,omitempty"` + + // +kubebuilder:validation:Required + Severity *string `json:"severity" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ThrottlingDuration *string `json:"throttlingDuration,omitempty" tf:"throttling_duration,omitempty"` +} + +// SmartDetectorAlertRuleSpec defines the desired state of SmartDetectorAlertRule +type SmartDetectorAlertRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SmartDetectorAlertRuleParameters `json:"forProvider"` +} + +// SmartDetectorAlertRuleStatus defines the observed state of SmartDetectorAlertRule. +type SmartDetectorAlertRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SmartDetectorAlertRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SmartDetectorAlertRule is the Schema for the SmartDetectorAlertRules API +// +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,azurejet} +type SmartDetectorAlertRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SmartDetectorAlertRuleSpec `json:"spec"` + Status SmartDetectorAlertRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SmartDetectorAlertRuleList contains a list of SmartDetectorAlertRules +type SmartDetectorAlertRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SmartDetectorAlertRule `json:"items"` +} + +// Repository type metadata. +var ( + SmartDetectorAlertRule_Kind = "SmartDetectorAlertRule" + SmartDetectorAlertRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SmartDetectorAlertRule_Kind}.String() + SmartDetectorAlertRule_KindAPIVersion = SmartDetectorAlertRule_Kind + "." + CRDGroupVersion.String() + SmartDetectorAlertRule_GroupVersionKind = CRDGroupVersion.WithKind(SmartDetectorAlertRule_Kind) +) + +func init() { + SchemeBuilder.Register(&SmartDetectorAlertRule{}, &SmartDetectorAlertRuleList{}) +} diff --git a/apis/mssql/v1alpha1/zz_database_terraformed.go b/apis/mssql/v1alpha1/zz_database_terraformed.go new file mode 100755 index 000000000..61f7adab6 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_database_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Database +func (mg *Database) GetTerraformResourceType() string { + return "azurerm_mssql_database" +} + +// GetConnectionDetailsMapping for this Database +func (tr *Database) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"extended_auditing_policy[*].storage_account_access_key": "spec.forProvider.extendedAuditingPolicy[*].storageAccountAccessKeySecretRef", "threat_detection_policy[*].storage_account_access_key": "spec.forProvider.threatDetectionPolicy[*].storageAccountAccessKeySecretRef"} +} + +// GetObservation of this Database +func (tr *Database) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Database +func (tr *Database) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Database +func (tr *Database) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Database +func (tr *Database) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Database using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Database) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Database) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/mssql/v1alpha1/zz_database_types.go b/apis/mssql/v1alpha1/zz_database_types.go new file mode 100755 index 000000000..91ed32173 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_database_types.go @@ -0,0 +1,234 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabaseObservation struct { +} + +type DatabaseParameters struct { + + // +kubebuilder:validation:Optional + AutoPauseDelayInMinutes *int64 `json:"autoPauseDelayInMinutes,omitempty" tf:"auto_pause_delay_in_minutes,omitempty"` + + // +kubebuilder:validation:Optional + Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` + + // +kubebuilder:validation:Optional + CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"` + + // +kubebuilder:validation:Optional + CreationSourceDatabaseID *string `json:"creationSourceDatabaseId,omitempty" tf:"creation_source_database_id,omitempty"` + + // +kubebuilder:validation:Optional + ElasticPoolID *string `json:"elasticPoolId,omitempty" tf:"elastic_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + ExtendedAuditingPolicy []ExtendedAuditingPolicyParameters `json:"extendedAuditingPolicy,omitempty" tf:"extended_auditing_policy,omitempty"` + + // +kubebuilder:validation:Optional + GeoBackupEnabled *bool `json:"geoBackupEnabled,omitempty" tf:"geo_backup_enabled,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Optional + LongTermRetentionPolicy []LongTermRetentionPolicyParameters `json:"longTermRetentionPolicy,omitempty" tf:"long_term_retention_policy,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeGb *int64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"` + + // +kubebuilder:validation:Optional + MinCapacity *float64 `json:"minCapacity,omitempty" tf:"min_capacity,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ReadReplicaCount *int64 `json:"readReplicaCount,omitempty" tf:"read_replica_count,omitempty"` + + // +kubebuilder:validation:Optional + ReadScale *bool `json:"readScale,omitempty" tf:"read_scale,omitempty"` + + // +kubebuilder:validation:Optional + RecoverDatabaseID *string `json:"recoverDatabaseId,omitempty" tf:"recover_database_id,omitempty"` + + // +kubebuilder:validation:Optional + RestoreDroppedDatabaseID *string `json:"restoreDroppedDatabaseId,omitempty" tf:"restore_dropped_database_id,omitempty"` + + // +kubebuilder:validation:Optional + RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"` + + // +kubebuilder:validation:Optional + SampleName *string `json:"sampleName,omitempty" tf:"sample_name,omitempty"` + + // +kubebuilder:validation:Required + ServerID *string `json:"serverId" tf:"server_id,omitempty"` + + // +kubebuilder:validation:Optional + ShortTermRetentionPolicy []ShortTermRetentionPolicyParameters `json:"shortTermRetentionPolicy,omitempty" tf:"short_term_retention_policy,omitempty"` + + // +kubebuilder:validation:Optional + SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ThreatDetectionPolicy []ThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +type ExtendedAuditingPolicyObservation struct { +} + +type ExtendedAuditingPolicyParameters struct { + + // +kubebuilder:validation:Optional + LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionInDays *int64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeyIsSecondary *bool `json:"storageAccountAccessKeyIsSecondary,omitempty" tf:"storage_account_access_key_is_secondary,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +type LongTermRetentionPolicyObservation struct { +} + +type LongTermRetentionPolicyParameters struct { + + // +kubebuilder:validation:Optional + MonthlyRetention *string `json:"monthlyRetention,omitempty" tf:"monthly_retention,omitempty"` + + // +kubebuilder:validation:Optional + WeekOfYear *int64 `json:"weekOfYear,omitempty" tf:"week_of_year,omitempty"` + + // +kubebuilder:validation:Optional + WeeklyRetention *string `json:"weeklyRetention,omitempty" tf:"weekly_retention,omitempty"` + + // +kubebuilder:validation:Optional + YearlyRetention *string `json:"yearlyRetention,omitempty" tf:"yearly_retention,omitempty"` +} + +type ShortTermRetentionPolicyObservation struct { +} + +type ShortTermRetentionPolicyParameters struct { + + // +kubebuilder:validation:Required + RetentionDays *int64 `json:"retentionDays" tf:"retention_days,omitempty"` +} + +type ThreatDetectionPolicyObservation struct { +} + +type ThreatDetectionPolicyParameters struct { + + // +kubebuilder:validation:Optional + DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` + + // +kubebuilder:validation:Optional + EmailAccountAdmins *string `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"` + + // +kubebuilder:validation:Optional + EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDays *int64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` + + // +kubebuilder:validation:Optional + State *string `json:"state,omitempty" tf:"state,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + UseServerDefault *string `json:"useServerDefault,omitempty" tf:"use_server_default,omitempty"` +} + +// DatabaseSpec defines the desired state of Database +type DatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseParameters `json:"forProvider"` +} + +// DatabaseStatus defines the observed state of Database. +type DatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Database is the Schema for the Databases API +// +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,azurejet} +type Database struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseSpec `json:"spec"` + Status DatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseList contains a list of Databases +type DatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Database `json:"items"` +} + +// Repository type metadata. +var ( + Database_Kind = "Database" + Database_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String() + Database_KindAPIVersion = Database_Kind + "." + CRDGroupVersion.String() + Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind) +) + +func init() { + SchemeBuilder.Register(&Database{}, &DatabaseList{}) +} diff --git a/apis/mssql/v1alpha1/zz_databaseextendedauditingpolicy_terraformed.go b/apis/mssql/v1alpha1/zz_databaseextendedauditingpolicy_terraformed.go new file mode 100755 index 000000000..c68e16f94 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_databaseextendedauditingpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DatabaseExtendedAuditingPolicy +func (mg *DatabaseExtendedAuditingPolicy) GetTerraformResourceType() string { + return "azurerm_mssql_database_extended_auditing_policy" +} + +// GetConnectionDetailsMapping for this DatabaseExtendedAuditingPolicy +func (tr *DatabaseExtendedAuditingPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this DatabaseExtendedAuditingPolicy +func (tr *DatabaseExtendedAuditingPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DatabaseExtendedAuditingPolicy +func (tr *DatabaseExtendedAuditingPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DatabaseExtendedAuditingPolicy +func (tr *DatabaseExtendedAuditingPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DatabaseExtendedAuditingPolicy +func (tr *DatabaseExtendedAuditingPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DatabaseExtendedAuditingPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DatabaseExtendedAuditingPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseExtendedAuditingPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DatabaseExtendedAuditingPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_databaseextendedauditingpolicy_types.go b/apis/mssql/v1alpha1/zz_databaseextendedauditingpolicy_types.go new file mode 100755 index 000000000..b51ff646c --- /dev/null +++ b/apis/mssql/v1alpha1/zz_databaseextendedauditingpolicy_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabaseExtendedAuditingPolicyObservation struct { +} + +type DatabaseExtendedAuditingPolicyParameters struct { + + // +kubebuilder:validation:Required + DatabaseID *string `json:"databaseId" tf:"database_id,omitempty"` + + // +kubebuilder:validation:Optional + LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionInDays *int64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeyIsSecondary *bool `json:"storageAccountAccessKeyIsSecondary,omitempty" tf:"storage_account_access_key_is_secondary,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +// DatabaseExtendedAuditingPolicySpec defines the desired state of DatabaseExtendedAuditingPolicy +type DatabaseExtendedAuditingPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseExtendedAuditingPolicyParameters `json:"forProvider"` +} + +// DatabaseExtendedAuditingPolicyStatus defines the observed state of DatabaseExtendedAuditingPolicy. +type DatabaseExtendedAuditingPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseExtendedAuditingPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseExtendedAuditingPolicy is the Schema for the DatabaseExtendedAuditingPolicys API +// +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,azurejet} +type DatabaseExtendedAuditingPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseExtendedAuditingPolicySpec `json:"spec"` + Status DatabaseExtendedAuditingPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseExtendedAuditingPolicyList contains a list of DatabaseExtendedAuditingPolicys +type DatabaseExtendedAuditingPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DatabaseExtendedAuditingPolicy `json:"items"` +} + +// Repository type metadata. +var ( + DatabaseExtendedAuditingPolicy_Kind = "DatabaseExtendedAuditingPolicy" + DatabaseExtendedAuditingPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DatabaseExtendedAuditingPolicy_Kind}.String() + DatabaseExtendedAuditingPolicy_KindAPIVersion = DatabaseExtendedAuditingPolicy_Kind + "." + CRDGroupVersion.String() + DatabaseExtendedAuditingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseExtendedAuditingPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&DatabaseExtendedAuditingPolicy{}, &DatabaseExtendedAuditingPolicyList{}) +} diff --git a/apis/mssql/v1alpha1/zz_databasevulnerabilityassessmentrulebaseline_terraformed.go b/apis/mssql/v1alpha1/zz_databasevulnerabilityassessmentrulebaseline_terraformed.go new file mode 100755 index 000000000..ed5719739 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_databasevulnerabilityassessmentrulebaseline_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DatabaseVulnerabilityAssessmentRuleBaseline +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) GetTerraformResourceType() string { + return "azurerm_mssql_database_vulnerability_assessment_rule_baseline" +} + +// GetConnectionDetailsMapping for this DatabaseVulnerabilityAssessmentRuleBaseline +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DatabaseVulnerabilityAssessmentRuleBaseline +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DatabaseVulnerabilityAssessmentRuleBaseline +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DatabaseVulnerabilityAssessmentRuleBaseline +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DatabaseVulnerabilityAssessmentRuleBaseline +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DatabaseVulnerabilityAssessmentRuleBaseline using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseVulnerabilityAssessmentRuleBaselineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DatabaseVulnerabilityAssessmentRuleBaseline) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_databasevulnerabilityassessmentrulebaseline_types.go b/apis/mssql/v1alpha1/zz_databasevulnerabilityassessmentrulebaseline_types.go new file mode 100755 index 000000000..f1c805871 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_databasevulnerabilityassessmentrulebaseline_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BaselineResultObservation struct { +} + +type BaselineResultParameters struct { + + // +kubebuilder:validation:Required + Result []*string `json:"result" tf:"result,omitempty"` +} + +type DatabaseVulnerabilityAssessmentRuleBaselineObservation struct { +} + +type DatabaseVulnerabilityAssessmentRuleBaselineParameters struct { + + // +kubebuilder:validation:Optional + BaselineName *string `json:"baselineName,omitempty" tf:"baseline_name,omitempty"` + + // +kubebuilder:validation:Required + BaselineResult []BaselineResultParameters `json:"baselineResult" tf:"baseline_result,omitempty"` + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + RuleID *string `json:"ruleId" tf:"rule_id,omitempty"` + + // +kubebuilder:validation:Required + ServerVulnerabilityAssessmentID *string `json:"serverVulnerabilityAssessmentId" tf:"server_vulnerability_assessment_id,omitempty"` +} + +// DatabaseVulnerabilityAssessmentRuleBaselineSpec defines the desired state of DatabaseVulnerabilityAssessmentRuleBaseline +type DatabaseVulnerabilityAssessmentRuleBaselineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseVulnerabilityAssessmentRuleBaselineParameters `json:"forProvider"` +} + +// DatabaseVulnerabilityAssessmentRuleBaselineStatus defines the observed state of DatabaseVulnerabilityAssessmentRuleBaseline. +type DatabaseVulnerabilityAssessmentRuleBaselineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseVulnerabilityAssessmentRuleBaselineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseVulnerabilityAssessmentRuleBaseline is the Schema for the DatabaseVulnerabilityAssessmentRuleBaselines API +// +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,azurejet} +type DatabaseVulnerabilityAssessmentRuleBaseline struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseVulnerabilityAssessmentRuleBaselineSpec `json:"spec"` + Status DatabaseVulnerabilityAssessmentRuleBaselineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseVulnerabilityAssessmentRuleBaselineList contains a list of DatabaseVulnerabilityAssessmentRuleBaselines +type DatabaseVulnerabilityAssessmentRuleBaselineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DatabaseVulnerabilityAssessmentRuleBaseline `json:"items"` +} + +// Repository type metadata. +var ( + DatabaseVulnerabilityAssessmentRuleBaseline_Kind = "DatabaseVulnerabilityAssessmentRuleBaseline" + DatabaseVulnerabilityAssessmentRuleBaseline_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DatabaseVulnerabilityAssessmentRuleBaseline_Kind}.String() + DatabaseVulnerabilityAssessmentRuleBaseline_KindAPIVersion = DatabaseVulnerabilityAssessmentRuleBaseline_Kind + "." + CRDGroupVersion.String() + DatabaseVulnerabilityAssessmentRuleBaseline_GroupVersionKind = CRDGroupVersion.WithKind(DatabaseVulnerabilityAssessmentRuleBaseline_Kind) +) + +func init() { + SchemeBuilder.Register(&DatabaseVulnerabilityAssessmentRuleBaseline{}, &DatabaseVulnerabilityAssessmentRuleBaselineList{}) +} diff --git a/apis/mssql/v1alpha1/zz_elasticpool_terraformed.go b/apis/mssql/v1alpha1/zz_elasticpool_terraformed.go new file mode 100755 index 000000000..bbee41f9b --- /dev/null +++ b/apis/mssql/v1alpha1/zz_elasticpool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Elasticpool +func (mg *Elasticpool) GetTerraformResourceType() string { + return "azurerm_mssql_elasticpool" +} + +// GetConnectionDetailsMapping for this Elasticpool +func (tr *Elasticpool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Elasticpool +func (tr *Elasticpool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Elasticpool +func (tr *Elasticpool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Elasticpool +func (tr *Elasticpool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Elasticpool +func (tr *Elasticpool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Elasticpool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Elasticpool) LateInitialize(attrs []byte) (bool, error) { + params := &ElasticpoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Elasticpool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_elasticpool_types.go b/apis/mssql/v1alpha1/zz_elasticpool_types.go new file mode 100755 index 000000000..294b65bea --- /dev/null +++ b/apis/mssql/v1alpha1/zz_elasticpool_types.go @@ -0,0 +1,144 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ElasticpoolObservation struct { +} + +type ElasticpoolParameters struct { + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeBytes *int64 `json:"maxSizeBytes,omitempty" tf:"max_size_bytes,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeGb *float64 `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PerDatabaseSettings []PerDatabaseSettingsParameters `json:"perDatabaseSettings" tf:"per_database_settings,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + Sku []SkuParameters `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +type PerDatabaseSettingsObservation struct { +} + +type PerDatabaseSettingsParameters struct { + + // +kubebuilder:validation:Required + MaxCapacity *float64 `json:"maxCapacity" tf:"max_capacity,omitempty"` + + // +kubebuilder:validation:Required + MinCapacity *float64 `json:"minCapacity" tf:"min_capacity,omitempty"` +} + +type SkuObservation struct { +} + +type SkuParameters struct { + + // +kubebuilder:validation:Required + Capacity *int64 `json:"capacity" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + Family *string `json:"family,omitempty" tf:"family,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +// ElasticpoolSpec defines the desired state of Elasticpool +type ElasticpoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ElasticpoolParameters `json:"forProvider"` +} + +// ElasticpoolStatus defines the observed state of Elasticpool. +type ElasticpoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ElasticpoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Elasticpool is the Schema for the Elasticpools API +// +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,azurejet} +type Elasticpool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ElasticpoolSpec `json:"spec"` + Status ElasticpoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ElasticpoolList contains a list of Elasticpools +type ElasticpoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Elasticpool `json:"items"` +} + +// Repository type metadata. +var ( + Elasticpool_Kind = "Elasticpool" + Elasticpool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Elasticpool_Kind}.String() + Elasticpool_KindAPIVersion = Elasticpool_Kind + "." + CRDGroupVersion.String() + Elasticpool_GroupVersionKind = CRDGroupVersion.WithKind(Elasticpool_Kind) +) + +func init() { + SchemeBuilder.Register(&Elasticpool{}, &ElasticpoolList{}) +} diff --git a/apis/mssql/v1alpha1/zz_failovergroup_terraformed.go b/apis/mssql/v1alpha1/zz_failovergroup_terraformed.go new file mode 100755 index 000000000..2567ac6c2 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_failovergroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FailoverGroup +func (mg *FailoverGroup) GetTerraformResourceType() string { + return "azurerm_mssql_failover_group" +} + +// GetConnectionDetailsMapping for this FailoverGroup +func (tr *FailoverGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FailoverGroup +func (tr *FailoverGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FailoverGroup +func (tr *FailoverGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FailoverGroup +func (tr *FailoverGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FailoverGroup +func (tr *FailoverGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FailoverGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FailoverGroup) LateInitialize(attrs []byte) (bool, error) { + params := &FailoverGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FailoverGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_failovergroup_types.go b/apis/mssql/v1alpha1/zz_failovergroup_types.go new file mode 100755 index 000000000..95e1cda3a --- /dev/null +++ b/apis/mssql/v1alpha1/zz_failovergroup_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FailoverGroupObservation struct { +} + +type FailoverGroupParameters struct { + + // +kubebuilder:validation:Optional + Databases []*string `json:"databases,omitempty" tf:"databases,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PartnerServer []PartnerServerParameters `json:"partnerServer" tf:"partner_server,omitempty"` + + // +kubebuilder:validation:Required + ReadWriteEndpointFailoverPolicy []ReadWriteEndpointFailoverPolicyParameters `json:"readWriteEndpointFailoverPolicy" tf:"read_write_endpoint_failover_policy,omitempty"` + + // +kubebuilder:validation:Optional + ReadonlyEndpointFailoverPolicyEnabled *bool `json:"readonlyEndpointFailoverPolicyEnabled,omitempty" tf:"readonly_endpoint_failover_policy_enabled,omitempty"` + + // +kubebuilder:validation:Required + ServerID *string `json:"serverId" tf:"server_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type PartnerServerObservation struct { + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + Role *string `json:"role,omitempty" tf:"role,omitempty"` +} + +type PartnerServerParameters struct { + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` +} + +type ReadWriteEndpointFailoverPolicyObservation struct { +} + +type ReadWriteEndpointFailoverPolicyParameters struct { + + // +kubebuilder:validation:Optional + GraceMinutes *int64 `json:"graceMinutes,omitempty" tf:"grace_minutes,omitempty"` + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` +} + +// FailoverGroupSpec defines the desired state of FailoverGroup +type FailoverGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FailoverGroupParameters `json:"forProvider"` +} + +// FailoverGroupStatus defines the observed state of FailoverGroup. +type FailoverGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FailoverGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FailoverGroup is the Schema for the FailoverGroups API +// +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,azurejet} +type FailoverGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FailoverGroupSpec `json:"spec"` + Status FailoverGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FailoverGroupList contains a list of FailoverGroups +type FailoverGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FailoverGroup `json:"items"` +} + +// Repository type metadata. +var ( + FailoverGroup_Kind = "FailoverGroup" + FailoverGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FailoverGroup_Kind}.String() + FailoverGroup_KindAPIVersion = FailoverGroup_Kind + "." + CRDGroupVersion.String() + FailoverGroup_GroupVersionKind = CRDGroupVersion.WithKind(FailoverGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&FailoverGroup{}, &FailoverGroupList{}) +} diff --git a/apis/mssql/v1alpha1/zz_firewallrule_terraformed.go b/apis/mssql/v1alpha1/zz_firewallrule_terraformed.go new file mode 100755 index 000000000..41ceab323 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_firewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallRule +func (mg *FirewallRule) GetTerraformResourceType() string { + return "azurerm_mssql_firewall_rule" +} + +// GetConnectionDetailsMapping for this FirewallRule +func (tr *FirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallRule +func (tr *FirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallRule +func (tr *FirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallRule +func (tr *FirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallRule +func (tr *FirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_firewallrule_types.go b/apis/mssql/v1alpha1/zz_firewallrule_types.go new file mode 100755 index 000000000..acd56602c --- /dev/null +++ b/apis/mssql/v1alpha1/zz_firewallrule_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallRuleObservation struct { +} + +type FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ServerID *string `json:"serverId" tf:"server_id,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` +} + +// FirewallRuleSpec defines the desired state of FirewallRule +type FirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallRuleParameters `json:"forProvider"` +} + +// FirewallRuleStatus defines the observed state of FirewallRule. +type FirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRule is the Schema for the FirewallRules API +// +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,azurejet} +type FirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallRuleSpec `json:"spec"` + Status FirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRuleList contains a list of FirewallRules +type FirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + FirewallRule_Kind = "FirewallRule" + FirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String() + FirewallRule_KindAPIVersion = FirewallRule_Kind + "." + CRDGroupVersion.String() + FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallRule{}, &FirewallRuleList{}) +} diff --git a/apis/mssql/v1alpha1/zz_generated.deepcopy.go b/apis/mssql/v1alpha1/zz_generated.deepcopy.go index 90db53a8d..6233ee081 100644 --- a/apis/mssql/v1alpha1/zz_generated.deepcopy.go +++ b/apis/mssql/v1alpha1/zz_generated.deepcopy.go @@ -25,153 +25,3300 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoBackupObservation) DeepCopyInto(out *AutoBackupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoBackupObservation. +func (in *AutoBackupObservation) DeepCopy() *AutoBackupObservation { + if in == nil { + return nil + } + out := new(AutoBackupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoBackupParameters) DeepCopyInto(out *AutoBackupParameters) { + *out = *in + if in.EncryptionEnabled != nil { + in, out := &in.EncryptionEnabled, &out.EncryptionEnabled + *out = new(bool) + **out = **in + } + if in.EncryptionPasswordSecretRef != nil { + in, out := &in.EncryptionPasswordSecretRef, &out.EncryptionPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ManualSchedule != nil { + in, out := &in.ManualSchedule, &out.ManualSchedule + *out = make([]ManualScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionPeriodInDays != nil { + in, out := &in.RetentionPeriodInDays, &out.RetentionPeriodInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKey != nil { + in, out := &in.StorageAccountAccessKey, &out.StorageAccountAccessKey + *out = new(string) + **out = **in + } + if in.StorageBlobEndpoint != nil { + in, out := &in.StorageBlobEndpoint, &out.StorageBlobEndpoint + *out = new(string) + **out = **in + } + if in.SystemDatabasesBackupEnabled != nil { + in, out := &in.SystemDatabasesBackupEnabled, &out.SystemDatabasesBackupEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoBackupParameters. +func (in *AutoBackupParameters) DeepCopy() *AutoBackupParameters { + if in == nil { + return nil + } + out := new(AutoBackupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoPatchingObservation) DeepCopyInto(out *AutoPatchingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoPatchingObservation. +func (in *AutoPatchingObservation) DeepCopy() *AutoPatchingObservation { + if in == nil { + return nil + } + out := new(AutoPatchingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoPatchingParameters) DeepCopyInto(out *AutoPatchingParameters) { + *out = *in + if in.DayOfWeek != nil { + in, out := &in.DayOfWeek, &out.DayOfWeek + *out = new(string) + **out = **in + } + if in.MaintenanceWindowDurationInMinutes != nil { + in, out := &in.MaintenanceWindowDurationInMinutes, &out.MaintenanceWindowDurationInMinutes + *out = new(int64) + **out = **in + } + if in.MaintenanceWindowStartingHour != nil { + in, out := &in.MaintenanceWindowStartingHour, &out.MaintenanceWindowStartingHour + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoPatchingParameters. +func (in *AutoPatchingParameters) DeepCopy() *AutoPatchingParameters { + if in == nil { + return nil + } + out := new(AutoPatchingParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AzureadAdministratorObservation) DeepCopyInto(out *AzureadAdministratorObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureadAdministratorObservation. -func (in *AzureadAdministratorObservation) DeepCopy() *AzureadAdministratorObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureadAdministratorObservation. +func (in *AzureadAdministratorObservation) DeepCopy() *AzureadAdministratorObservation { + if in == nil { + return nil + } + out := new(AzureadAdministratorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureadAdministratorParameters) DeepCopyInto(out *AzureadAdministratorParameters) { + *out = *in + if in.LoginUsername != nil { + in, out := &in.LoginUsername, &out.LoginUsername + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureadAdministratorParameters. +func (in *AzureadAdministratorParameters) DeepCopy() *AzureadAdministratorParameters { + if in == nil { + return nil + } + out := new(AzureadAdministratorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BaselineResultObservation) DeepCopyInto(out *BaselineResultObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaselineResultObservation. +func (in *BaselineResultObservation) DeepCopy() *BaselineResultObservation { + if in == nil { + return nil + } + out := new(BaselineResultObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BaselineResultParameters) DeepCopyInto(out *BaselineResultParameters) { + *out = *in + if in.Result != nil { + in, out := &in.Result, &out.Result + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaselineResultParameters. +func (in *BaselineResultParameters) DeepCopy() *BaselineResultParameters { + if in == nil { + return nil + } + out := new(BaselineResultParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSettingsObservation) DeepCopyInto(out *DataSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSettingsObservation. +func (in *DataSettingsObservation) DeepCopy() *DataSettingsObservation { + if in == nil { + return nil + } + out := new(DataSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataSettingsParameters) DeepCopyInto(out *DataSettingsParameters) { + *out = *in + if in.DefaultFilePath != nil { + in, out := &in.DefaultFilePath, &out.DefaultFilePath + *out = new(string) + **out = **in + } + if in.Luns != nil { + in, out := &in.Luns, &out.Luns + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSettingsParameters. +func (in *DataSettingsParameters) DeepCopy() *DataSettingsParameters { + if in == nil { + return nil + } + out := new(DataSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Database) DeepCopyInto(out *Database) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database. +func (in *Database) DeepCopy() *Database { + if in == nil { + return nil + } + out := new(Database) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Database) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseExtendedAuditingPolicy) DeepCopyInto(out *DatabaseExtendedAuditingPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseExtendedAuditingPolicy. +func (in *DatabaseExtendedAuditingPolicy) DeepCopy() *DatabaseExtendedAuditingPolicy { + if in == nil { + return nil + } + out := new(DatabaseExtendedAuditingPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseExtendedAuditingPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseExtendedAuditingPolicyList) DeepCopyInto(out *DatabaseExtendedAuditingPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DatabaseExtendedAuditingPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseExtendedAuditingPolicyList. +func (in *DatabaseExtendedAuditingPolicyList) DeepCopy() *DatabaseExtendedAuditingPolicyList { + if in == nil { + return nil + } + out := new(DatabaseExtendedAuditingPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseExtendedAuditingPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseExtendedAuditingPolicyObservation) DeepCopyInto(out *DatabaseExtendedAuditingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseExtendedAuditingPolicyObservation. +func (in *DatabaseExtendedAuditingPolicyObservation) DeepCopy() *DatabaseExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(DatabaseExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseExtendedAuditingPolicyParameters) DeepCopyInto(out *DatabaseExtendedAuditingPolicyParameters) { + *out = *in + if in.DatabaseID != nil { + in, out := &in.DatabaseID, &out.DatabaseID + *out = new(string) + **out = **in + } + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseExtendedAuditingPolicyParameters. +func (in *DatabaseExtendedAuditingPolicyParameters) DeepCopy() *DatabaseExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(DatabaseExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseExtendedAuditingPolicySpec) DeepCopyInto(out *DatabaseExtendedAuditingPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseExtendedAuditingPolicySpec. +func (in *DatabaseExtendedAuditingPolicySpec) DeepCopy() *DatabaseExtendedAuditingPolicySpec { + if in == nil { + return nil + } + out := new(DatabaseExtendedAuditingPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseExtendedAuditingPolicyStatus) DeepCopyInto(out *DatabaseExtendedAuditingPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseExtendedAuditingPolicyStatus. +func (in *DatabaseExtendedAuditingPolicyStatus) DeepCopy() *DatabaseExtendedAuditingPolicyStatus { + if in == nil { + return nil + } + out := new(DatabaseExtendedAuditingPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseList) DeepCopyInto(out *DatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Database, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList. +func (in *DatabaseList) DeepCopy() *DatabaseList { + if in == nil { + return nil + } + out := new(DatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation. +func (in *DatabaseObservation) DeepCopy() *DatabaseObservation { + if in == nil { + return nil + } + out := new(DatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { + *out = *in + if in.AutoPauseDelayInMinutes != nil { + in, out := &in.AutoPauseDelayInMinutes, &out.AutoPauseDelayInMinutes + *out = new(int64) + **out = **in + } + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.CreateMode != nil { + in, out := &in.CreateMode, &out.CreateMode + *out = new(string) + **out = **in + } + if in.CreationSourceDatabaseID != nil { + in, out := &in.CreationSourceDatabaseID, &out.CreationSourceDatabaseID + *out = new(string) + **out = **in + } + if in.ElasticPoolID != nil { + in, out := &in.ElasticPoolID, &out.ElasticPoolID + *out = new(string) + **out = **in + } + if in.ExtendedAuditingPolicy != nil { + in, out := &in.ExtendedAuditingPolicy, &out.ExtendedAuditingPolicy + *out = make([]ExtendedAuditingPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GeoBackupEnabled != nil { + in, out := &in.GeoBackupEnabled, &out.GeoBackupEnabled + *out = new(bool) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.LongTermRetentionPolicy != nil { + in, out := &in.LongTermRetentionPolicy, &out.LongTermRetentionPolicy + *out = make([]LongTermRetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaxSizeGb != nil { + in, out := &in.MaxSizeGb, &out.MaxSizeGb + *out = new(int64) + **out = **in + } + if in.MinCapacity != nil { + in, out := &in.MinCapacity, &out.MinCapacity + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ReadReplicaCount != nil { + in, out := &in.ReadReplicaCount, &out.ReadReplicaCount + *out = new(int64) + **out = **in + } + if in.ReadScale != nil { + in, out := &in.ReadScale, &out.ReadScale + *out = new(bool) + **out = **in + } + if in.RecoverDatabaseID != nil { + in, out := &in.RecoverDatabaseID, &out.RecoverDatabaseID + *out = new(string) + **out = **in + } + if in.RestoreDroppedDatabaseID != nil { + in, out := &in.RestoreDroppedDatabaseID, &out.RestoreDroppedDatabaseID + *out = new(string) + **out = **in + } + if in.RestorePointInTime != nil { + in, out := &in.RestorePointInTime, &out.RestorePointInTime + *out = new(string) + **out = **in + } + if in.SampleName != nil { + in, out := &in.SampleName, &out.SampleName + *out = new(string) + **out = **in + } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } + if in.ShortTermRetentionPolicy != nil { + in, out := &in.ShortTermRetentionPolicy, &out.ShortTermRetentionPolicy + *out = make([]ShortTermRetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ThreatDetectionPolicy != nil { + in, out := &in.ThreatDetectionPolicy, &out.ThreatDetectionPolicy + *out = make([]ThreatDetectionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters. +func (in *DatabaseParameters) DeepCopy() *DatabaseParameters { + if in == nil { + return nil + } + out := new(DatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec. +func (in *DatabaseSpec) DeepCopy() *DatabaseSpec { + if in == nil { + return nil + } + out := new(DatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus. +func (in *DatabaseStatus) DeepCopy() *DatabaseStatus { + if in == nil { + return nil + } + out := new(DatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseVulnerabilityAssessmentRuleBaseline) DeepCopyInto(out *DatabaseVulnerabilityAssessmentRuleBaseline) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseVulnerabilityAssessmentRuleBaseline. +func (in *DatabaseVulnerabilityAssessmentRuleBaseline) DeepCopy() *DatabaseVulnerabilityAssessmentRuleBaseline { + if in == nil { + return nil + } + out := new(DatabaseVulnerabilityAssessmentRuleBaseline) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseVulnerabilityAssessmentRuleBaseline) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineList) DeepCopyInto(out *DatabaseVulnerabilityAssessmentRuleBaselineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DatabaseVulnerabilityAssessmentRuleBaseline, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseVulnerabilityAssessmentRuleBaselineList. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineList) DeepCopy() *DatabaseVulnerabilityAssessmentRuleBaselineList { + if in == nil { + return nil + } + out := new(DatabaseVulnerabilityAssessmentRuleBaselineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineObservation) DeepCopyInto(out *DatabaseVulnerabilityAssessmentRuleBaselineObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseVulnerabilityAssessmentRuleBaselineObservation. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineObservation) DeepCopy() *DatabaseVulnerabilityAssessmentRuleBaselineObservation { + if in == nil { + return nil + } + out := new(DatabaseVulnerabilityAssessmentRuleBaselineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineParameters) DeepCopyInto(out *DatabaseVulnerabilityAssessmentRuleBaselineParameters) { + *out = *in + if in.BaselineName != nil { + in, out := &in.BaselineName, &out.BaselineName + *out = new(string) + **out = **in + } + if in.BaselineResult != nil { + in, out := &in.BaselineResult, &out.BaselineResult + *out = make([]BaselineResultParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.RuleID != nil { + in, out := &in.RuleID, &out.RuleID + *out = new(string) + **out = **in + } + if in.ServerVulnerabilityAssessmentID != nil { + in, out := &in.ServerVulnerabilityAssessmentID, &out.ServerVulnerabilityAssessmentID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseVulnerabilityAssessmentRuleBaselineParameters. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineParameters) DeepCopy() *DatabaseVulnerabilityAssessmentRuleBaselineParameters { + if in == nil { + return nil + } + out := new(DatabaseVulnerabilityAssessmentRuleBaselineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineSpec) DeepCopyInto(out *DatabaseVulnerabilityAssessmentRuleBaselineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseVulnerabilityAssessmentRuleBaselineSpec. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineSpec) DeepCopy() *DatabaseVulnerabilityAssessmentRuleBaselineSpec { + if in == nil { + return nil + } + out := new(DatabaseVulnerabilityAssessmentRuleBaselineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineStatus) DeepCopyInto(out *DatabaseVulnerabilityAssessmentRuleBaselineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseVulnerabilityAssessmentRuleBaselineStatus. +func (in *DatabaseVulnerabilityAssessmentRuleBaselineStatus) DeepCopy() *DatabaseVulnerabilityAssessmentRuleBaselineStatus { + if in == nil { + return nil + } + out := new(DatabaseVulnerabilityAssessmentRuleBaselineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Elasticpool) DeepCopyInto(out *Elasticpool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Elasticpool. +func (in *Elasticpool) DeepCopy() *Elasticpool { + if in == nil { + return nil + } + out := new(Elasticpool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Elasticpool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolList) DeepCopyInto(out *ElasticpoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Elasticpool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolList. +func (in *ElasticpoolList) DeepCopy() *ElasticpoolList { + if in == nil { + return nil + } + out := new(ElasticpoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ElasticpoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolObservation) DeepCopyInto(out *ElasticpoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolObservation. +func (in *ElasticpoolObservation) DeepCopy() *ElasticpoolObservation { + if in == nil { + return nil + } + out := new(ElasticpoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolParameters) DeepCopyInto(out *ElasticpoolParameters) { + *out = *in + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxSizeBytes != nil { + in, out := &in.MaxSizeBytes, &out.MaxSizeBytes + *out = new(int64) + **out = **in + } + if in.MaxSizeGb != nil { + in, out := &in.MaxSizeGb, &out.MaxSizeGb + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PerDatabaseSettings != nil { + in, out := &in.PerDatabaseSettings, &out.PerDatabaseSettings + *out = make([]PerDatabaseSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = make([]SkuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolParameters. +func (in *ElasticpoolParameters) DeepCopy() *ElasticpoolParameters { + if in == nil { + return nil + } + out := new(ElasticpoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolSpec) DeepCopyInto(out *ElasticpoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolSpec. +func (in *ElasticpoolSpec) DeepCopy() *ElasticpoolSpec { + if in == nil { + return nil + } + out := new(ElasticpoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolStatus) DeepCopyInto(out *ElasticpoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolStatus. +func (in *ElasticpoolStatus) DeepCopy() *ElasticpoolStatus { + if in == nil { + return nil + } + out := new(ElasticpoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtendedAuditingPolicyObservation) DeepCopyInto(out *ExtendedAuditingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyObservation. +func (in *ExtendedAuditingPolicyObservation) DeepCopy() *ExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(ExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtendedAuditingPolicyParameters) DeepCopyInto(out *ExtendedAuditingPolicyParameters) { + *out = *in + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyParameters. +func (in *ExtendedAuditingPolicyParameters) DeepCopy() *ExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(ExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroup) DeepCopyInto(out *FailoverGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroup. +func (in *FailoverGroup) DeepCopy() *FailoverGroup { + if in == nil { + return nil + } + out := new(FailoverGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FailoverGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupList) DeepCopyInto(out *FailoverGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FailoverGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupList. +func (in *FailoverGroupList) DeepCopy() *FailoverGroupList { + if in == nil { + return nil + } + out := new(FailoverGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FailoverGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupObservation) DeepCopyInto(out *FailoverGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupObservation. +func (in *FailoverGroupObservation) DeepCopy() *FailoverGroupObservation { + if in == nil { + return nil + } + out := new(FailoverGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupParameters) DeepCopyInto(out *FailoverGroupParameters) { + *out = *in + if in.Databases != nil { + in, out := &in.Databases, &out.Databases + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PartnerServer != nil { + in, out := &in.PartnerServer, &out.PartnerServer + *out = make([]PartnerServerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReadWriteEndpointFailoverPolicy != nil { + in, out := &in.ReadWriteEndpointFailoverPolicy, &out.ReadWriteEndpointFailoverPolicy + *out = make([]ReadWriteEndpointFailoverPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReadonlyEndpointFailoverPolicyEnabled != nil { + in, out := &in.ReadonlyEndpointFailoverPolicyEnabled, &out.ReadonlyEndpointFailoverPolicyEnabled + *out = new(bool) + **out = **in + } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupParameters. +func (in *FailoverGroupParameters) DeepCopy() *FailoverGroupParameters { + if in == nil { + return nil + } + out := new(FailoverGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupSpec) DeepCopyInto(out *FailoverGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupSpec. +func (in *FailoverGroupSpec) DeepCopy() *FailoverGroupSpec { + if in == nil { + return nil + } + out := new(FailoverGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FailoverGroupStatus) DeepCopyInto(out *FailoverGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailoverGroupStatus. +func (in *FailoverGroupStatus) DeepCopy() *FailoverGroupStatus { + if in == nil { + return nil + } + out := new(FailoverGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRule) DeepCopyInto(out *FirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule. +func (in *FirewallRule) DeepCopy() *FirewallRule { + if in == nil { + return nil + } + out := new(FirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList. +func (in *FirewallRuleList) DeepCopy() *FirewallRuleList { + if in == nil { + return nil + } + out := new(FirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleObservation. +func (in *FirewallRuleObservation) DeepCopy() *FirewallRuleObservation { + if in == nil { + return nil + } + out := new(FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters) { + *out = *in + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleParameters. +func (in *FirewallRuleParameters) DeepCopy() *FirewallRuleParameters { + if in == nil { + return nil + } + out := new(FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec. +func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec { + if in == nil { + return nil + } + out := new(FirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus. +func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus { + if in == nil { + return nil + } + out := new(FirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobAgent) DeepCopyInto(out *JobAgent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAgent. +func (in *JobAgent) DeepCopy() *JobAgent { + if in == nil { + return nil + } + out := new(JobAgent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobAgent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobAgentList) DeepCopyInto(out *JobAgentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]JobAgent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAgentList. +func (in *JobAgentList) DeepCopy() *JobAgentList { + if in == nil { + return nil + } + out := new(JobAgentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobAgentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobAgentObservation) DeepCopyInto(out *JobAgentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAgentObservation. +func (in *JobAgentObservation) DeepCopy() *JobAgentObservation { + if in == nil { + return nil + } + out := new(JobAgentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobAgentParameters) DeepCopyInto(out *JobAgentParameters) { + *out = *in + if in.DatabaseID != nil { + in, out := &in.DatabaseID, &out.DatabaseID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAgentParameters. +func (in *JobAgentParameters) DeepCopy() *JobAgentParameters { + if in == nil { + return nil + } + out := new(JobAgentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobAgentSpec) DeepCopyInto(out *JobAgentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAgentSpec. +func (in *JobAgentSpec) DeepCopy() *JobAgentSpec { + if in == nil { + return nil + } + out := new(JobAgentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobAgentStatus) DeepCopyInto(out *JobAgentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAgentStatus. +func (in *JobAgentStatus) DeepCopy() *JobAgentStatus { + if in == nil { + return nil + } + out := new(JobAgentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobCredential) DeepCopyInto(out *JobCredential) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCredential. +func (in *JobCredential) DeepCopy() *JobCredential { + if in == nil { + return nil + } + out := new(JobCredential) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobCredential) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobCredentialList) DeepCopyInto(out *JobCredentialList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]JobCredential, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCredentialList. +func (in *JobCredentialList) DeepCopy() *JobCredentialList { + if in == nil { + return nil + } + out := new(JobCredentialList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *JobCredentialList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobCredentialObservation) DeepCopyInto(out *JobCredentialObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCredentialObservation. +func (in *JobCredentialObservation) DeepCopy() *JobCredentialObservation { + if in == nil { + return nil + } + out := new(JobCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobCredentialParameters) DeepCopyInto(out *JobCredentialParameters) { + *out = *in + if in.JobAgentID != nil { + in, out := &in.JobAgentID, &out.JobAgentID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCredentialParameters. +func (in *JobCredentialParameters) DeepCopy() *JobCredentialParameters { + if in == nil { + return nil + } + out := new(JobCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobCredentialSpec) DeepCopyInto(out *JobCredentialSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCredentialSpec. +func (in *JobCredentialSpec) DeepCopy() *JobCredentialSpec { + if in == nil { + return nil + } + out := new(JobCredentialSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *JobCredentialStatus) DeepCopyInto(out *JobCredentialStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCredentialStatus. +func (in *JobCredentialStatus) DeepCopy() *JobCredentialStatus { + if in == nil { + return nil + } + out := new(JobCredentialStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultCredentialObservation) DeepCopyInto(out *KeyVaultCredentialObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultCredentialObservation. +func (in *KeyVaultCredentialObservation) DeepCopy() *KeyVaultCredentialObservation { + if in == nil { + return nil + } + out := new(KeyVaultCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KeyVaultCredentialParameters) DeepCopyInto(out *KeyVaultCredentialParameters) { + *out = *in + out.KeyVaultURLSecretRef = in.KeyVaultURLSecretRef + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + out.ServicePrincipalNameSecretRef = in.ServicePrincipalNameSecretRef + out.ServicePrincipalSecretSecretRef = in.ServicePrincipalSecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyVaultCredentialParameters. +func (in *KeyVaultCredentialParameters) DeepCopy() *KeyVaultCredentialParameters { + if in == nil { + return nil + } + out := new(KeyVaultCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogSettingsObservation) DeepCopyInto(out *LogSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogSettingsObservation. +func (in *LogSettingsObservation) DeepCopy() *LogSettingsObservation { + if in == nil { + return nil + } + out := new(LogSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LogSettingsParameters) DeepCopyInto(out *LogSettingsParameters) { + *out = *in + if in.DefaultFilePath != nil { + in, out := &in.DefaultFilePath, &out.DefaultFilePath + *out = new(string) + **out = **in + } + if in.Luns != nil { + in, out := &in.Luns, &out.Luns + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogSettingsParameters. +func (in *LogSettingsParameters) DeepCopy() *LogSettingsParameters { + if in == nil { + return nil + } + out := new(LogSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LongTermRetentionPolicyObservation) DeepCopyInto(out *LongTermRetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LongTermRetentionPolicyObservation. +func (in *LongTermRetentionPolicyObservation) DeepCopy() *LongTermRetentionPolicyObservation { + if in == nil { + return nil + } + out := new(LongTermRetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LongTermRetentionPolicyParameters) DeepCopyInto(out *LongTermRetentionPolicyParameters) { + *out = *in + if in.MonthlyRetention != nil { + in, out := &in.MonthlyRetention, &out.MonthlyRetention + *out = new(string) + **out = **in + } + if in.WeekOfYear != nil { + in, out := &in.WeekOfYear, &out.WeekOfYear + *out = new(int64) + **out = **in + } + if in.WeeklyRetention != nil { + in, out := &in.WeeklyRetention, &out.WeeklyRetention + *out = new(string) + **out = **in + } + if in.YearlyRetention != nil { + in, out := &in.YearlyRetention, &out.YearlyRetention + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LongTermRetentionPolicyParameters. +func (in *LongTermRetentionPolicyParameters) DeepCopy() *LongTermRetentionPolicyParameters { + if in == nil { + return nil + } + out := new(LongTermRetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManualScheduleObservation) DeepCopyInto(out *ManualScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScheduleObservation. +func (in *ManualScheduleObservation) DeepCopy() *ManualScheduleObservation { + if in == nil { + return nil + } + out := new(ManualScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManualScheduleParameters) DeepCopyInto(out *ManualScheduleParameters) { + *out = *in + if in.FullBackupFrequency != nil { + in, out := &in.FullBackupFrequency, &out.FullBackupFrequency + *out = new(string) + **out = **in + } + if in.FullBackupStartHour != nil { + in, out := &in.FullBackupStartHour, &out.FullBackupStartHour + *out = new(int64) + **out = **in + } + if in.FullBackupWindowInHours != nil { + in, out := &in.FullBackupWindowInHours, &out.FullBackupWindowInHours + *out = new(int64) + **out = **in + } + if in.LogBackupFrequencyInMinutes != nil { + in, out := &in.LogBackupFrequencyInMinutes, &out.LogBackupFrequencyInMinutes + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScheduleParameters. +func (in *ManualScheduleParameters) DeepCopy() *ManualScheduleParameters { + if in == nil { + return nil + } + out := new(ManualScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PartnerServerObservation) DeepCopyInto(out *PartnerServerObservation) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Role != nil { + in, out := &in.Role, &out.Role + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartnerServerObservation. +func (in *PartnerServerObservation) DeepCopy() *PartnerServerObservation { + if in == nil { + return nil + } + out := new(PartnerServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PartnerServerParameters) DeepCopyInto(out *PartnerServerParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartnerServerParameters. +func (in *PartnerServerParameters) DeepCopy() *PartnerServerParameters { + if in == nil { + return nil + } + out := new(PartnerServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerDatabaseSettingsObservation) DeepCopyInto(out *PerDatabaseSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerDatabaseSettingsObservation. +func (in *PerDatabaseSettingsObservation) DeepCopy() *PerDatabaseSettingsObservation { + if in == nil { + return nil + } + out := new(PerDatabaseSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerDatabaseSettingsParameters) DeepCopyInto(out *PerDatabaseSettingsParameters) { + *out = *in + if in.MaxCapacity != nil { + in, out := &in.MaxCapacity, &out.MaxCapacity + *out = new(float64) + **out = **in + } + if in.MinCapacity != nil { + in, out := &in.MinCapacity, &out.MinCapacity + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerDatabaseSettingsParameters. +func (in *PerDatabaseSettingsParameters) DeepCopy() *PerDatabaseSettingsParameters { + if in == nil { + return nil + } + out := new(PerDatabaseSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReadWriteEndpointFailoverPolicyObservation) DeepCopyInto(out *ReadWriteEndpointFailoverPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadWriteEndpointFailoverPolicyObservation. +func (in *ReadWriteEndpointFailoverPolicyObservation) DeepCopy() *ReadWriteEndpointFailoverPolicyObservation { + if in == nil { + return nil + } + out := new(ReadWriteEndpointFailoverPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReadWriteEndpointFailoverPolicyParameters) DeepCopyInto(out *ReadWriteEndpointFailoverPolicyParameters) { + *out = *in + if in.GraceMinutes != nil { + in, out := &in.GraceMinutes, &out.GraceMinutes + *out = new(int64) + **out = **in + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadWriteEndpointFailoverPolicyParameters. +func (in *ReadWriteEndpointFailoverPolicyParameters) DeepCopy() *ReadWriteEndpointFailoverPolicyParameters { + if in == nil { + return nil + } + out := new(ReadWriteEndpointFailoverPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurringScansObservation) DeepCopyInto(out *RecurringScansObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurringScansObservation. +func (in *RecurringScansObservation) DeepCopy() *RecurringScansObservation { + if in == nil { + return nil + } + out := new(RecurringScansObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurringScansParameters) DeepCopyInto(out *RecurringScansParameters) { + *out = *in + if in.EmailSubscriptionAdmins != nil { + in, out := &in.EmailSubscriptionAdmins, &out.EmailSubscriptionAdmins + *out = new(bool) + **out = **in + } + if in.Emails != nil { + in, out := &in.Emails, &out.Emails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurringScansParameters. +func (in *RecurringScansParameters) DeepCopy() *RecurringScansParameters { + if in == nil { + return nil + } + out := new(RecurringScansParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Server) DeepCopyInto(out *Server) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server. +func (in *Server) DeepCopy() *Server { + if in == nil { + return nil + } + out := new(Server) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Server) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerExtendedAuditingPolicyObservation) DeepCopyInto(out *ServerExtendedAuditingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerExtendedAuditingPolicyObservation. +func (in *ServerExtendedAuditingPolicyObservation) DeepCopy() *ServerExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(ServerExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerExtendedAuditingPolicyParameters) DeepCopyInto(out *ServerExtendedAuditingPolicyParameters) { + *out = *in + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerExtendedAuditingPolicyParameters. +func (in *ServerExtendedAuditingPolicyParameters) DeepCopy() *ServerExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(ServerExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerList) DeepCopyInto(out *ServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Server, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList. +func (in *ServerList) DeepCopy() *ServerList { + if in == nil { + return nil + } + out := new(ServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { + *out = *in + if in.FullyQualifiedDomainName != nil { + in, out := &in.FullyQualifiedDomainName, &out.FullyQualifiedDomainName + *out = new(string) + **out = **in + } + if in.RestorableDroppedDatabaseIds != nil { + in, out := &in.RestorableDroppedDatabaseIds, &out.RestorableDroppedDatabaseIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerObservation. +func (in *ServerObservation) DeepCopy() *ServerObservation { + if in == nil { + return nil + } + out := new(ServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + out.AdministratorLoginPasswordSecretRef = in.AdministratorLoginPasswordSecretRef + if in.AzureadAdministrator != nil { + in, out := &in.AzureadAdministrator, &out.AzureadAdministrator + *out = make([]AzureadAdministratorParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ConnectionPolicy != nil { + in, out := &in.ConnectionPolicy, &out.ConnectionPolicy + *out = new(string) + **out = **in + } + if in.ExtendedAuditingPolicy != nil { + in, out := &in.ExtendedAuditingPolicy, &out.ExtendedAuditingPolicy + *out = make([]ServerExtendedAuditingPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MinimumTLSVersion != nil { + in, out := &in.MinimumTLSVersion, &out.MinimumTLSVersion + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters. +func (in *ServerParameters) DeepCopy() *ServerParameters { + if in == nil { + return nil + } + out := new(ServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSecurityAlertPolicy) DeepCopyInto(out *ServerSecurityAlertPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSecurityAlertPolicy. +func (in *ServerSecurityAlertPolicy) DeepCopy() *ServerSecurityAlertPolicy { + if in == nil { + return nil + } + out := new(ServerSecurityAlertPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerSecurityAlertPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSecurityAlertPolicyList) DeepCopyInto(out *ServerSecurityAlertPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServerSecurityAlertPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSecurityAlertPolicyList. +func (in *ServerSecurityAlertPolicyList) DeepCopy() *ServerSecurityAlertPolicyList { + if in == nil { + return nil + } + out := new(ServerSecurityAlertPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerSecurityAlertPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSecurityAlertPolicyObservation) DeepCopyInto(out *ServerSecurityAlertPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSecurityAlertPolicyObservation. +func (in *ServerSecurityAlertPolicyObservation) DeepCopy() *ServerSecurityAlertPolicyObservation { + if in == nil { + return nil + } + out := new(ServerSecurityAlertPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSecurityAlertPolicyParameters) DeepCopyInto(out *ServerSecurityAlertPolicyParameters) { + *out = *in + if in.DisabledAlerts != nil { + in, out := &in.DisabledAlerts, &out.DisabledAlerts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EmailAccountAdmins != nil { + in, out := &in.EmailAccountAdmins, &out.EmailAccountAdmins + *out = new(bool) + **out = **in + } + if in.EmailAddresses != nil { + in, out := &in.EmailAddresses, &out.EmailAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSecurityAlertPolicyParameters. +func (in *ServerSecurityAlertPolicyParameters) DeepCopy() *ServerSecurityAlertPolicyParameters { + if in == nil { + return nil + } + out := new(ServerSecurityAlertPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSecurityAlertPolicySpec) DeepCopyInto(out *ServerSecurityAlertPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSecurityAlertPolicySpec. +func (in *ServerSecurityAlertPolicySpec) DeepCopy() *ServerSecurityAlertPolicySpec { + if in == nil { + return nil + } + out := new(ServerSecurityAlertPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSecurityAlertPolicyStatus) DeepCopyInto(out *ServerSecurityAlertPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSecurityAlertPolicyStatus. +func (in *ServerSecurityAlertPolicyStatus) DeepCopy() *ServerSecurityAlertPolicyStatus { + if in == nil { + return nil + } + out := new(ServerSecurityAlertPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSpec) DeepCopyInto(out *ServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec. +func (in *ServerSpec) DeepCopy() *ServerSpec { + if in == nil { + return nil + } + out := new(ServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerStatus) DeepCopyInto(out *ServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus. +func (in *ServerStatus) DeepCopy() *ServerStatus { + if in == nil { + return nil + } + out := new(ServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerTransparentDataEncryption) DeepCopyInto(out *ServerTransparentDataEncryption) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerTransparentDataEncryption. +func (in *ServerTransparentDataEncryption) DeepCopy() *ServerTransparentDataEncryption { + if in == nil { + return nil + } + out := new(ServerTransparentDataEncryption) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerTransparentDataEncryption) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerTransparentDataEncryptionList) DeepCopyInto(out *ServerTransparentDataEncryptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServerTransparentDataEncryption, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerTransparentDataEncryptionList. +func (in *ServerTransparentDataEncryptionList) DeepCopy() *ServerTransparentDataEncryptionList { + if in == nil { + return nil + } + out := new(ServerTransparentDataEncryptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerTransparentDataEncryptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerTransparentDataEncryptionObservation) DeepCopyInto(out *ServerTransparentDataEncryptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerTransparentDataEncryptionObservation. +func (in *ServerTransparentDataEncryptionObservation) DeepCopy() *ServerTransparentDataEncryptionObservation { + if in == nil { + return nil + } + out := new(ServerTransparentDataEncryptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerTransparentDataEncryptionParameters) DeepCopyInto(out *ServerTransparentDataEncryptionParameters) { + *out = *in + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerTransparentDataEncryptionParameters. +func (in *ServerTransparentDataEncryptionParameters) DeepCopy() *ServerTransparentDataEncryptionParameters { + if in == nil { + return nil + } + out := new(ServerTransparentDataEncryptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerTransparentDataEncryptionSpec) DeepCopyInto(out *ServerTransparentDataEncryptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerTransparentDataEncryptionSpec. +func (in *ServerTransparentDataEncryptionSpec) DeepCopy() *ServerTransparentDataEncryptionSpec { + if in == nil { + return nil + } + out := new(ServerTransparentDataEncryptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerTransparentDataEncryptionStatus) DeepCopyInto(out *ServerTransparentDataEncryptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerTransparentDataEncryptionStatus. +func (in *ServerTransparentDataEncryptionStatus) DeepCopy() *ServerTransparentDataEncryptionStatus { + if in == nil { + return nil + } + out := new(ServerTransparentDataEncryptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerVulnerabilityAssessment) DeepCopyInto(out *ServerVulnerabilityAssessment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVulnerabilityAssessment. +func (in *ServerVulnerabilityAssessment) DeepCopy() *ServerVulnerabilityAssessment { + if in == nil { + return nil + } + out := new(ServerVulnerabilityAssessment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerVulnerabilityAssessment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerVulnerabilityAssessmentList) DeepCopyInto(out *ServerVulnerabilityAssessmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServerVulnerabilityAssessment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVulnerabilityAssessmentList. +func (in *ServerVulnerabilityAssessmentList) DeepCopy() *ServerVulnerabilityAssessmentList { + if in == nil { + return nil + } + out := new(ServerVulnerabilityAssessmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerVulnerabilityAssessmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerVulnerabilityAssessmentObservation) DeepCopyInto(out *ServerVulnerabilityAssessmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVulnerabilityAssessmentObservation. +func (in *ServerVulnerabilityAssessmentObservation) DeepCopy() *ServerVulnerabilityAssessmentObservation { + if in == nil { + return nil + } + out := new(ServerVulnerabilityAssessmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerVulnerabilityAssessmentParameters) DeepCopyInto(out *ServerVulnerabilityAssessmentParameters) { + *out = *in + if in.RecurringScans != nil { + in, out := &in.RecurringScans, &out.RecurringScans + *out = make([]RecurringScansParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServerSecurityAlertPolicyID != nil { + in, out := &in.ServerSecurityAlertPolicyID, &out.ServerSecurityAlertPolicyID + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageContainerPath != nil { + in, out := &in.StorageContainerPath, &out.StorageContainerPath + *out = new(string) + **out = **in + } + if in.StorageContainerSasKeySecretRef != nil { + in, out := &in.StorageContainerSasKeySecretRef, &out.StorageContainerSasKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVulnerabilityAssessmentParameters. +func (in *ServerVulnerabilityAssessmentParameters) DeepCopy() *ServerVulnerabilityAssessmentParameters { + if in == nil { + return nil + } + out := new(ServerVulnerabilityAssessmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerVulnerabilityAssessmentSpec) DeepCopyInto(out *ServerVulnerabilityAssessmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVulnerabilityAssessmentSpec. +func (in *ServerVulnerabilityAssessmentSpec) DeepCopy() *ServerVulnerabilityAssessmentSpec { + if in == nil { + return nil + } + out := new(ServerVulnerabilityAssessmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerVulnerabilityAssessmentStatus) DeepCopyInto(out *ServerVulnerabilityAssessmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerVulnerabilityAssessmentStatus. +func (in *ServerVulnerabilityAssessmentStatus) DeepCopy() *ServerVulnerabilityAssessmentStatus { + if in == nil { + return nil + } + out := new(ServerVulnerabilityAssessmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShortTermRetentionPolicyObservation) DeepCopyInto(out *ShortTermRetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShortTermRetentionPolicyObservation. +func (in *ShortTermRetentionPolicyObservation) DeepCopy() *ShortTermRetentionPolicyObservation { + if in == nil { + return nil + } + out := new(ShortTermRetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ShortTermRetentionPolicyParameters) DeepCopyInto(out *ShortTermRetentionPolicyParameters) { + *out = *in + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShortTermRetentionPolicyParameters. +func (in *ShortTermRetentionPolicyParameters) DeepCopy() *ShortTermRetentionPolicyParameters { + if in == nil { + return nil + } + out := new(ShortTermRetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuObservation) DeepCopyInto(out *SkuObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuObservation. +func (in *SkuObservation) DeepCopy() *SkuObservation { + if in == nil { + return nil + } + out := new(SkuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.Family != nil { + in, out := &in.Family, &out.Family + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageConfigurationObservation) DeepCopyInto(out *StorageConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfigurationObservation. +func (in *StorageConfigurationObservation) DeepCopy() *StorageConfigurationObservation { + if in == nil { + return nil + } + out := new(StorageConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageConfigurationParameters) DeepCopyInto(out *StorageConfigurationParameters) { + *out = *in + if in.DataSettings != nil { + in, out := &in.DataSettings, &out.DataSettings + *out = make([]DataSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiskType != nil { + in, out := &in.DiskType, &out.DiskType + *out = new(string) + **out = **in + } + if in.LogSettings != nil { + in, out := &in.LogSettings, &out.LogSettings + *out = make([]LogSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageWorkloadType != nil { + in, out := &in.StorageWorkloadType, &out.StorageWorkloadType + *out = new(string) + **out = **in + } + if in.TempDBSettings != nil { + in, out := &in.TempDBSettings, &out.TempDBSettings + *out = make([]TempDBSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfigurationParameters. +func (in *StorageConfigurationParameters) DeepCopy() *StorageConfigurationParameters { + if in == nil { + return nil + } + out := new(StorageConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TempDBSettingsObservation) DeepCopyInto(out *TempDBSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TempDBSettingsObservation. +func (in *TempDBSettingsObservation) DeepCopy() *TempDBSettingsObservation { + if in == nil { + return nil + } + out := new(TempDBSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TempDBSettingsParameters) DeepCopyInto(out *TempDBSettingsParameters) { + *out = *in + if in.DefaultFilePath != nil { + in, out := &in.DefaultFilePath, &out.DefaultFilePath + *out = new(string) + **out = **in + } + if in.Luns != nil { + in, out := &in.Luns, &out.Luns + *out = make([]*int64, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(int64) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TempDBSettingsParameters. +func (in *TempDBSettingsParameters) DeepCopy() *TempDBSettingsParameters { + if in == nil { + return nil + } + out := new(TempDBSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatDetectionPolicyObservation) DeepCopyInto(out *ThreatDetectionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatDetectionPolicyObservation. +func (in *ThreatDetectionPolicyObservation) DeepCopy() *ThreatDetectionPolicyObservation { + if in == nil { + return nil + } + out := new(ThreatDetectionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatDetectionPolicyParameters) DeepCopyInto(out *ThreatDetectionPolicyParameters) { + *out = *in + if in.DisabledAlerts != nil { + in, out := &in.DisabledAlerts, &out.DisabledAlerts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EmailAccountAdmins != nil { + in, out := &in.EmailAccountAdmins, &out.EmailAccountAdmins + *out = new(string) + **out = **in + } + if in.EmailAddresses != nil { + in, out := &in.EmailAddresses, &out.EmailAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } + if in.UseServerDefault != nil { + in, out := &in.UseServerDefault, &out.UseServerDefault + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatDetectionPolicyParameters. +func (in *ThreatDetectionPolicyParameters) DeepCopy() *ThreatDetectionPolicyParameters { if in == nil { return nil } - out := new(AzureadAdministratorObservation) + out := new(ThreatDetectionPolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AzureadAdministratorParameters) DeepCopyInto(out *AzureadAdministratorParameters) { +func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine) { *out = *in - if in.LoginUsername != nil { - in, out := &in.LoginUsername, &out.LoginUsername - *out = new(string) - **out = **in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine. +func (in *VirtualMachine) DeepCopy() *VirtualMachine { + if in == nil { + return nil } - if in.ObjectID != nil { - in, out := &in.ObjectID, &out.ObjectID - *out = new(string) - **out = **in + out := new(VirtualMachine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.TenantID != nil { - in, out := &in.TenantID, &out.TenantID - *out = new(string) - **out = **in + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureadAdministratorParameters. -func (in *AzureadAdministratorParameters) DeepCopy() *AzureadAdministratorParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList. +func (in *VirtualMachineList) DeepCopy() *VirtualMachineList { if in == nil { return nil } - out := new(AzureadAdministratorParameters) + out := new(VirtualMachineList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtendedAuditingPolicyObservation) DeepCopyInto(out *ExtendedAuditingPolicyObservation) { +func (in *VirtualMachineObservation) DeepCopyInto(out *VirtualMachineObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyObservation. -func (in *ExtendedAuditingPolicyObservation) DeepCopy() *ExtendedAuditingPolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineObservation. +func (in *VirtualMachineObservation) DeepCopy() *VirtualMachineObservation { if in == nil { return nil } - out := new(ExtendedAuditingPolicyObservation) + out := new(VirtualMachineObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtendedAuditingPolicyParameters) DeepCopyInto(out *ExtendedAuditingPolicyParameters) { +func (in *VirtualMachineParameters) DeepCopyInto(out *VirtualMachineParameters) { *out = *in - if in.LogMonitoringEnabled != nil { - in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + if in.AutoBackup != nil { + in, out := &in.AutoBackup, &out.AutoBackup + *out = make([]AutoBackupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutoPatching != nil { + in, out := &in.AutoPatching, &out.AutoPatching + *out = make([]AutoPatchingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultCredential != nil { + in, out := &in.KeyVaultCredential, &out.KeyVaultCredential + *out = make([]KeyVaultCredentialParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RServicesEnabled != nil { + in, out := &in.RServicesEnabled, &out.RServicesEnabled *out = new(bool) **out = **in } - if in.RetentionInDays != nil { - in, out := &in.RetentionInDays, &out.RetentionInDays + if in.SQLConnectivityPort != nil { + in, out := &in.SQLConnectivityPort, &out.SQLConnectivityPort *out = new(int64) **out = **in } - if in.StorageAccountAccessKeyIsSecondary != nil { - in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary - *out = new(bool) + if in.SQLConnectivityType != nil { + in, out := &in.SQLConnectivityType, &out.SQLConnectivityType + *out = new(string) **out = **in } - if in.StorageAccountAccessKeySecretRef != nil { - in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + if in.SQLConnectivityUpdatePasswordSecretRef != nil { + in, out := &in.SQLConnectivityUpdatePasswordSecretRef, &out.SQLConnectivityUpdatePasswordSecretRef *out = new(v1.SecretKeySelector) **out = **in } - if in.StorageEndpoint != nil { - in, out := &in.StorageEndpoint, &out.StorageEndpoint + if in.SQLConnectivityUpdateUsernameSecretRef != nil { + in, out := &in.SQLConnectivityUpdateUsernameSecretRef, &out.SQLConnectivityUpdateUsernameSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.SQLLicenseType != nil { + in, out := &in.SQLLicenseType, &out.SQLLicenseType + *out = new(string) + **out = **in + } + if in.StorageConfiguration != nil { + in, out := &in.StorageConfiguration, &out.StorageConfiguration + *out = make([]StorageConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyParameters. -func (in *ExtendedAuditingPolicyParameters) DeepCopy() *ExtendedAuditingPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineParameters. +func (in *VirtualMachineParameters) DeepCopy() *VirtualMachineParameters { if in == nil { return nil } - out := new(ExtendedAuditingPolicyParameters) + out := new(VirtualMachineParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { +func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec) { *out = *in - if in.PrincipalID != nil { - in, out := &in.PrincipalID, &out.PrincipalID - *out = new(string) - **out = **in - } - if in.TenantID != nil { - in, out := &in.TenantID, &out.TenantID - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. -func (in *IdentityObservation) DeepCopy() *IdentityObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec. +func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec { if in == nil { return nil } - out := new(IdentityObservation) + out := new(VirtualMachineSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { +func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus) { *out = *in - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. -func (in *IdentityParameters) DeepCopy() *IdentityParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus. +func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus { if in == nil { return nil } - out := new(IdentityParameters) + out := new(VirtualMachineStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Server) DeepCopyInto(out *Server) { +func (in *VirtualNetworkRule) DeepCopyInto(out *VirtualNetworkRule) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -179,18 +3326,18 @@ func (in *Server) DeepCopyInto(out *Server) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server. -func (in *Server) DeepCopy() *Server { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRule. +func (in *VirtualNetworkRule) DeepCopy() *VirtualNetworkRule { if in == nil { return nil } - out := new(Server) + out := new(VirtualNetworkRule) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Server) DeepCopyObject() runtime.Object { +func (in *VirtualNetworkRule) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -198,31 +3345,31 @@ func (in *Server) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerList) DeepCopyInto(out *ServerList) { +func (in *VirtualNetworkRuleList) DeepCopyInto(out *VirtualNetworkRuleList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Server, len(*in)) + *out = make([]VirtualNetworkRule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList. -func (in *ServerList) DeepCopy() *ServerList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleList. +func (in *VirtualNetworkRuleList) DeepCopy() *VirtualNetworkRuleList { if in == nil { return nil } - out := new(ServerList) + out := new(VirtualNetworkRuleList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ServerList) DeepCopyObject() runtime.Object { +func (in *VirtualNetworkRuleList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -230,163 +3377,85 @@ func (in *ServerList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { +func (in *VirtualNetworkRuleObservation) DeepCopyInto(out *VirtualNetworkRuleObservation) { *out = *in - if in.FullyQualifiedDomainName != nil { - in, out := &in.FullyQualifiedDomainName, &out.FullyQualifiedDomainName - *out = new(string) - **out = **in - } - if in.RestorableDroppedDatabaseIds != nil { - in, out := &in.RestorableDroppedDatabaseIds, &out.RestorableDroppedDatabaseIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerObservation. -func (in *ServerObservation) DeepCopy() *ServerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleObservation. +func (in *VirtualNetworkRuleObservation) DeepCopy() *VirtualNetworkRuleObservation { if in == nil { return nil } - out := new(ServerObservation) + out := new(VirtualNetworkRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { +func (in *VirtualNetworkRuleParameters) DeepCopyInto(out *VirtualNetworkRuleParameters) { *out = *in - if in.AdministratorLogin != nil { - in, out := &in.AdministratorLogin, &out.AdministratorLogin - *out = new(string) - **out = **in - } - out.AdministratorLoginPasswordSecretRef = in.AdministratorLoginPasswordSecretRef - if in.AzureadAdministrator != nil { - in, out := &in.AzureadAdministrator, &out.AzureadAdministrator - *out = make([]AzureadAdministratorParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.ConnectionPolicy != nil { - in, out := &in.ConnectionPolicy, &out.ConnectionPolicy - *out = new(string) - **out = **in - } - if in.ExtendedAuditingPolicy != nil { - in, out := &in.ExtendedAuditingPolicy, &out.ExtendedAuditingPolicy - *out = make([]ExtendedAuditingPolicyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Identity != nil { - in, out := &in.Identity, &out.Identity - *out = make([]IdentityParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(string) - **out = **in - } - if in.MinimumTLSVersion != nil { - in, out := &in.MinimumTLSVersion, &out.MinimumTLSVersion - *out = new(string) - **out = **in - } - if in.PublicNetworkAccessEnabled != nil { - in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + if in.IgnoreMissingVnetServiceEndpoint != nil { + in, out := &in.IgnoreMissingVnetServiceEndpoint, &out.IgnoreMissingVnetServiceEndpoint *out = new(bool) **out = **in } - if in.ResourceGroupName != nil { - in, out := &in.ResourceGroupName, &out.ResourceGroupName + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) **out = **in } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters. -func (in *ServerParameters) DeepCopy() *ServerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleParameters. +func (in *VirtualNetworkRuleParameters) DeepCopy() *VirtualNetworkRuleParameters { if in == nil { return nil } - out := new(ServerParameters) + out := new(VirtualNetworkRuleParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerSpec) DeepCopyInto(out *ServerSpec) { +func (in *VirtualNetworkRuleSpec) DeepCopyInto(out *VirtualNetworkRuleSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec. -func (in *ServerSpec) DeepCopy() *ServerSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleSpec. +func (in *VirtualNetworkRuleSpec) DeepCopy() *VirtualNetworkRuleSpec { if in == nil { return nil } - out := new(ServerSpec) + out := new(VirtualNetworkRuleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServerStatus) DeepCopyInto(out *ServerStatus) { +func (in *VirtualNetworkRuleStatus) DeepCopyInto(out *VirtualNetworkRuleStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus. -func (in *ServerStatus) DeepCopy() *ServerStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleStatus. +func (in *VirtualNetworkRuleStatus) DeepCopy() *VirtualNetworkRuleStatus { if in == nil { return nil } - out := new(ServerStatus) + out := new(VirtualNetworkRuleStatus) in.DeepCopyInto(out) return out } diff --git a/apis/mssql/v1alpha1/zz_generated.managed.go b/apis/mssql/v1alpha1/zz_generated.managed.go index 539cd3059..1785cabda 100644 --- a/apis/mssql/v1alpha1/zz_generated.managed.go +++ b/apis/mssql/v1alpha1/zz_generated.managed.go @@ -19,6 +19,454 @@ package v1alpha1 import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +// GetCondition of this Database. +func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Database. +func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Database. +func (mg *Database) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Database. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Database) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Database. +func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Database. +func (mg *Database) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Database. +func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Database. +func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Database. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Database) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Database. +func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DatabaseExtendedAuditingPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DatabaseExtendedAuditingPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DatabaseExtendedAuditingPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DatabaseExtendedAuditingPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DatabaseExtendedAuditingPolicy. +func (mg *DatabaseExtendedAuditingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DatabaseVulnerabilityAssessmentRuleBaseline. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DatabaseVulnerabilityAssessmentRuleBaseline. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DatabaseVulnerabilityAssessmentRuleBaseline. +func (mg *DatabaseVulnerabilityAssessmentRuleBaseline) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Elasticpool. +func (mg *Elasticpool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Elasticpool. +func (mg *Elasticpool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Elasticpool. +func (mg *Elasticpool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Elasticpool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Elasticpool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Elasticpool. +func (mg *Elasticpool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Elasticpool. +func (mg *Elasticpool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Elasticpool. +func (mg *Elasticpool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Elasticpool. +func (mg *Elasticpool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Elasticpool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Elasticpool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Elasticpool. +func (mg *Elasticpool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FailoverGroup. +func (mg *FailoverGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FailoverGroup. +func (mg *FailoverGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FailoverGroup. +func (mg *FailoverGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FailoverGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FailoverGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FailoverGroup. +func (mg *FailoverGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FailoverGroup. +func (mg *FailoverGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FailoverGroup. +func (mg *FailoverGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FailoverGroup. +func (mg *FailoverGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FailoverGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FailoverGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FailoverGroup. +func (mg *FailoverGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FirewallRule. +func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallRule. +func (mg *FirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this JobAgent. +func (mg *JobAgent) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this JobAgent. +func (mg *JobAgent) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this JobAgent. +func (mg *JobAgent) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this JobAgent. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *JobAgent) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this JobAgent. +func (mg *JobAgent) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this JobAgent. +func (mg *JobAgent) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this JobAgent. +func (mg *JobAgent) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this JobAgent. +func (mg *JobAgent) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this JobAgent. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *JobAgent) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this JobAgent. +func (mg *JobAgent) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this JobCredential. +func (mg *JobCredential) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this JobCredential. +func (mg *JobCredential) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this JobCredential. +func (mg *JobCredential) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this JobCredential. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *JobCredential) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this JobCredential. +func (mg *JobCredential) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this JobCredential. +func (mg *JobCredential) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this JobCredential. +func (mg *JobCredential) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this JobCredential. +func (mg *JobCredential) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this JobCredential. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *JobCredential) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this JobCredential. +func (mg *JobCredential) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Server. func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -74,3 +522,283 @@ func (mg *Server) SetProviderReference(r *xpv1.Reference) { func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } + +// GetCondition of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServerSecurityAlertPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServerSecurityAlertPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServerSecurityAlertPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServerSecurityAlertPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServerSecurityAlertPolicy. +func (mg *ServerSecurityAlertPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServerTransparentDataEncryption. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServerTransparentDataEncryption) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServerTransparentDataEncryption. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServerTransparentDataEncryption) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServerTransparentDataEncryption. +func (mg *ServerTransparentDataEncryption) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServerVulnerabilityAssessment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServerVulnerabilityAssessment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServerVulnerabilityAssessment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServerVulnerabilityAssessment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServerVulnerabilityAssessment. +func (mg *ServerVulnerabilityAssessment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualMachine. +func (mg *VirtualMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachine. +func (mg *VirtualMachine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachine. +func (mg *VirtualMachine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachine. +func (mg *VirtualMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachine. +func (mg *VirtualMachine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachine. +func (mg *VirtualMachine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachine. +func (mg *VirtualMachine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachine. +func (mg *VirtualMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualNetworkRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualNetworkRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualNetworkRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualNetworkRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/mssql/v1alpha1/zz_generated.managedlist.go b/apis/mssql/v1alpha1/zz_generated.managedlist.go index 630f53abe..ac5335e03 100644 --- a/apis/mssql/v1alpha1/zz_generated.managedlist.go +++ b/apis/mssql/v1alpha1/zz_generated.managedlist.go @@ -19,6 +19,78 @@ package v1alpha1 import resource "github.com/crossplane/crossplane-runtime/pkg/resource" +// GetItems of this DatabaseExtendedAuditingPolicyList. +func (l *DatabaseExtendedAuditingPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabaseList. +func (l *DatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabaseVulnerabilityAssessmentRuleBaselineList. +func (l *DatabaseVulnerabilityAssessmentRuleBaselineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ElasticpoolList. +func (l *ElasticpoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FailoverGroupList. +func (l *FailoverGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallRuleList. +func (l *FirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this JobAgentList. +func (l *JobAgentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this JobCredentialList. +func (l *JobCredentialList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this ServerList. func (l *ServerList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -27,3 +99,48 @@ func (l *ServerList) GetItems() []resource.Managed { } return items } + +// GetItems of this ServerSecurityAlertPolicyList. +func (l *ServerSecurityAlertPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServerTransparentDataEncryptionList. +func (l *ServerTransparentDataEncryptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServerVulnerabilityAssessmentList. +func (l *ServerVulnerabilityAssessmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualMachineList. +func (l *VirtualMachineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualNetworkRuleList. +func (l *VirtualNetworkRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/mssql/v1alpha1/zz_jobagent_terraformed.go b/apis/mssql/v1alpha1/zz_jobagent_terraformed.go new file mode 100755 index 000000000..8bfeb75c1 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_jobagent_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this JobAgent +func (mg *JobAgent) GetTerraformResourceType() string { + return "azurerm_mssql_job_agent" +} + +// GetConnectionDetailsMapping for this JobAgent +func (tr *JobAgent) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this JobAgent +func (tr *JobAgent) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this JobAgent +func (tr *JobAgent) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this JobAgent +func (tr *JobAgent) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this JobAgent +func (tr *JobAgent) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this JobAgent using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *JobAgent) LateInitialize(attrs []byte) (bool, error) { + params := &JobAgentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *JobAgent) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_jobagent_types.go b/apis/mssql/v1alpha1/zz_jobagent_types.go new file mode 100755 index 000000000..0c5de8da0 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_jobagent_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type JobAgentObservation struct { +} + +type JobAgentParameters struct { + + // +kubebuilder:validation:Required + DatabaseID *string `json:"databaseId" tf:"database_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// JobAgentSpec defines the desired state of JobAgent +type JobAgentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider JobAgentParameters `json:"forProvider"` +} + +// JobAgentStatus defines the observed state of JobAgent. +type JobAgentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider JobAgentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobAgent is the Schema for the JobAgents API +// +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,azurejet} +type JobAgent struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec JobAgentSpec `json:"spec"` + Status JobAgentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobAgentList contains a list of JobAgents +type JobAgentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []JobAgent `json:"items"` +} + +// Repository type metadata. +var ( + JobAgent_Kind = "JobAgent" + JobAgent_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: JobAgent_Kind}.String() + JobAgent_KindAPIVersion = JobAgent_Kind + "." + CRDGroupVersion.String() + JobAgent_GroupVersionKind = CRDGroupVersion.WithKind(JobAgent_Kind) +) + +func init() { + SchemeBuilder.Register(&JobAgent{}, &JobAgentList{}) +} diff --git a/apis/mssql/v1alpha1/zz_jobcredential_terraformed.go b/apis/mssql/v1alpha1/zz_jobcredential_terraformed.go new file mode 100755 index 000000000..c4dceaea3 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_jobcredential_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this JobCredential +func (mg *JobCredential) GetTerraformResourceType() string { + return "azurerm_mssql_job_credential" +} + +// GetConnectionDetailsMapping for this JobCredential +func (tr *JobCredential) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this JobCredential +func (tr *JobCredential) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this JobCredential +func (tr *JobCredential) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this JobCredential +func (tr *JobCredential) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this JobCredential +func (tr *JobCredential) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this JobCredential using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *JobCredential) LateInitialize(attrs []byte) (bool, error) { + params := &JobCredentialParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *JobCredential) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_jobcredential_types.go b/apis/mssql/v1alpha1/zz_jobcredential_types.go new file mode 100755 index 000000000..e5eb4eb6c --- /dev/null +++ b/apis/mssql/v1alpha1/zz_jobcredential_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type JobCredentialObservation struct { +} + +type JobCredentialParameters struct { + + // +kubebuilder:validation:Required + JobAgentID *string `json:"jobAgentId" tf:"job_agent_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// JobCredentialSpec defines the desired state of JobCredential +type JobCredentialSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider JobCredentialParameters `json:"forProvider"` +} + +// JobCredentialStatus defines the observed state of JobCredential. +type JobCredentialStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider JobCredentialObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobCredential is the Schema for the JobCredentials API +// +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,azurejet} +type JobCredential struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec JobCredentialSpec `json:"spec"` + Status JobCredentialStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// JobCredentialList contains a list of JobCredentials +type JobCredentialList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []JobCredential `json:"items"` +} + +// Repository type metadata. +var ( + JobCredential_Kind = "JobCredential" + JobCredential_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: JobCredential_Kind}.String() + JobCredential_KindAPIVersion = JobCredential_Kind + "." + CRDGroupVersion.String() + JobCredential_GroupVersionKind = CRDGroupVersion.WithKind(JobCredential_Kind) +) + +func init() { + SchemeBuilder.Register(&JobCredential{}, &JobCredentialList{}) +} diff --git a/apis/mssql/v1alpha1/zz_server_types.go b/apis/mssql/v1alpha1/zz_server_types.go index 68b20b283..5eae2f45c 100755 --- a/apis/mssql/v1alpha1/zz_server_types.go +++ b/apis/mssql/v1alpha1/zz_server_types.go @@ -40,10 +40,22 @@ type AzureadAdministratorParameters struct { TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` } -type ExtendedAuditingPolicyObservation struct { +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ServerExtendedAuditingPolicyObservation struct { } -type ExtendedAuditingPolicyParameters struct { +type ServerExtendedAuditingPolicyParameters struct { // +kubebuilder:validation:Optional LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` @@ -61,18 +73,6 @@ type ExtendedAuditingPolicyParameters struct { StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` } -type IdentityObservation struct { - PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` - - TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` -} - -type IdentityParameters struct { - - // +kubebuilder:validation:Required - Type *string `json:"type" tf:"type,omitempty"` -} - type ServerObservation struct { FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty" tf:"fully_qualified_domain_name,omitempty"` @@ -94,7 +94,7 @@ type ServerParameters struct { ConnectionPolicy *string `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"` // +kubebuilder:validation:Optional - ExtendedAuditingPolicy []ExtendedAuditingPolicyParameters `json:"extendedAuditingPolicy,omitempty" tf:"extended_auditing_policy,omitempty"` + ExtendedAuditingPolicy []ServerExtendedAuditingPolicyParameters `json:"extendedAuditingPolicy,omitempty" tf:"extended_auditing_policy,omitempty"` // +kubebuilder:validation:Optional Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` diff --git a/apis/mssql/v1alpha1/zz_serversecurityalertpolicy_terraformed.go b/apis/mssql/v1alpha1/zz_serversecurityalertpolicy_terraformed.go new file mode 100755 index 000000000..10ab21719 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_serversecurityalertpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServerSecurityAlertPolicy +func (mg *ServerSecurityAlertPolicy) GetTerraformResourceType() string { + return "azurerm_mssql_server_security_alert_policy" +} + +// GetConnectionDetailsMapping for this ServerSecurityAlertPolicy +func (tr *ServerSecurityAlertPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this ServerSecurityAlertPolicy +func (tr *ServerSecurityAlertPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServerSecurityAlertPolicy +func (tr *ServerSecurityAlertPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServerSecurityAlertPolicy +func (tr *ServerSecurityAlertPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServerSecurityAlertPolicy +func (tr *ServerSecurityAlertPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServerSecurityAlertPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServerSecurityAlertPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ServerSecurityAlertPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServerSecurityAlertPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_serversecurityalertpolicy_types.go b/apis/mssql/v1alpha1/zz_serversecurityalertpolicy_types.go new file mode 100755 index 000000000..c2a526654 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_serversecurityalertpolicy_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServerSecurityAlertPolicyObservation struct { +} + +type ServerSecurityAlertPolicyParameters struct { + + // +kubebuilder:validation:Optional + DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` + + // +kubebuilder:validation:Optional + EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"` + + // +kubebuilder:validation:Optional + EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDays *int64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + State *string `json:"state" tf:"state,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +// ServerSecurityAlertPolicySpec defines the desired state of ServerSecurityAlertPolicy +type ServerSecurityAlertPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerSecurityAlertPolicyParameters `json:"forProvider"` +} + +// ServerSecurityAlertPolicyStatus defines the observed state of ServerSecurityAlertPolicy. +type ServerSecurityAlertPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerSecurityAlertPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerSecurityAlertPolicy is the Schema for the ServerSecurityAlertPolicys API +// +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,azurejet} +type ServerSecurityAlertPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerSecurityAlertPolicySpec `json:"spec"` + Status ServerSecurityAlertPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerSecurityAlertPolicyList contains a list of ServerSecurityAlertPolicys +type ServerSecurityAlertPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServerSecurityAlertPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ServerSecurityAlertPolicy_Kind = "ServerSecurityAlertPolicy" + ServerSecurityAlertPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServerSecurityAlertPolicy_Kind}.String() + ServerSecurityAlertPolicy_KindAPIVersion = ServerSecurityAlertPolicy_Kind + "." + CRDGroupVersion.String() + ServerSecurityAlertPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ServerSecurityAlertPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ServerSecurityAlertPolicy{}, &ServerSecurityAlertPolicyList{}) +} diff --git a/apis/mssql/v1alpha1/zz_servertransparentdataencryption_terraformed.go b/apis/mssql/v1alpha1/zz_servertransparentdataencryption_terraformed.go new file mode 100755 index 000000000..cceb18747 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_servertransparentdataencryption_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServerTransparentDataEncryption +func (mg *ServerTransparentDataEncryption) GetTerraformResourceType() string { + return "azurerm_mssql_server_transparent_data_encryption" +} + +// GetConnectionDetailsMapping for this ServerTransparentDataEncryption +func (tr *ServerTransparentDataEncryption) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServerTransparentDataEncryption +func (tr *ServerTransparentDataEncryption) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServerTransparentDataEncryption +func (tr *ServerTransparentDataEncryption) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServerTransparentDataEncryption +func (tr *ServerTransparentDataEncryption) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServerTransparentDataEncryption +func (tr *ServerTransparentDataEncryption) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServerTransparentDataEncryption using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServerTransparentDataEncryption) LateInitialize(attrs []byte) (bool, error) { + params := &ServerTransparentDataEncryptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServerTransparentDataEncryption) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_servertransparentdataencryption_types.go b/apis/mssql/v1alpha1/zz_servertransparentdataencryption_types.go new file mode 100755 index 000000000..88cede49e --- /dev/null +++ b/apis/mssql/v1alpha1/zz_servertransparentdataencryption_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServerTransparentDataEncryptionObservation struct { +} + +type ServerTransparentDataEncryptionParameters struct { + + // +kubebuilder:validation:Optional + KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + ServerID *string `json:"serverId" tf:"server_id,omitempty"` +} + +// ServerTransparentDataEncryptionSpec defines the desired state of ServerTransparentDataEncryption +type ServerTransparentDataEncryptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerTransparentDataEncryptionParameters `json:"forProvider"` +} + +// ServerTransparentDataEncryptionStatus defines the observed state of ServerTransparentDataEncryption. +type ServerTransparentDataEncryptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerTransparentDataEncryptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerTransparentDataEncryption is the Schema for the ServerTransparentDataEncryptions API +// +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,azurejet} +type ServerTransparentDataEncryption struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerTransparentDataEncryptionSpec `json:"spec"` + Status ServerTransparentDataEncryptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerTransparentDataEncryptionList contains a list of ServerTransparentDataEncryptions +type ServerTransparentDataEncryptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServerTransparentDataEncryption `json:"items"` +} + +// Repository type metadata. +var ( + ServerTransparentDataEncryption_Kind = "ServerTransparentDataEncryption" + ServerTransparentDataEncryption_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServerTransparentDataEncryption_Kind}.String() + ServerTransparentDataEncryption_KindAPIVersion = ServerTransparentDataEncryption_Kind + "." + CRDGroupVersion.String() + ServerTransparentDataEncryption_GroupVersionKind = CRDGroupVersion.WithKind(ServerTransparentDataEncryption_Kind) +) + +func init() { + SchemeBuilder.Register(&ServerTransparentDataEncryption{}, &ServerTransparentDataEncryptionList{}) +} diff --git a/apis/mssql/v1alpha1/zz_servervulnerabilityassessment_terraformed.go b/apis/mssql/v1alpha1/zz_servervulnerabilityassessment_terraformed.go new file mode 100755 index 000000000..e34a6efee --- /dev/null +++ b/apis/mssql/v1alpha1/zz_servervulnerabilityassessment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServerVulnerabilityAssessment +func (mg *ServerVulnerabilityAssessment) GetTerraformResourceType() string { + return "azurerm_mssql_server_vulnerability_assessment" +} + +// GetConnectionDetailsMapping for this ServerVulnerabilityAssessment +func (tr *ServerVulnerabilityAssessment) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef", "storage_container_sas_key": "spec.forProvider.storageContainerSasKeySecretRef"} +} + +// GetObservation of this ServerVulnerabilityAssessment +func (tr *ServerVulnerabilityAssessment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServerVulnerabilityAssessment +func (tr *ServerVulnerabilityAssessment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServerVulnerabilityAssessment +func (tr *ServerVulnerabilityAssessment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServerVulnerabilityAssessment +func (tr *ServerVulnerabilityAssessment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServerVulnerabilityAssessment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServerVulnerabilityAssessment) LateInitialize(attrs []byte) (bool, error) { + params := &ServerVulnerabilityAssessmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServerVulnerabilityAssessment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_servervulnerabilityassessment_types.go b/apis/mssql/v1alpha1/zz_servervulnerabilityassessment_types.go new file mode 100755 index 000000000..db23a0646 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_servervulnerabilityassessment_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecurringScansObservation struct { +} + +type RecurringScansParameters struct { + + // +kubebuilder:validation:Optional + EmailSubscriptionAdmins *bool `json:"emailSubscriptionAdmins,omitempty" tf:"email_subscription_admins,omitempty"` + + // +kubebuilder:validation:Optional + Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` +} + +type ServerVulnerabilityAssessmentObservation struct { +} + +type ServerVulnerabilityAssessmentParameters struct { + + // +kubebuilder:validation:Optional + RecurringScans []RecurringScansParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"` + + // +kubebuilder:validation:Required + ServerSecurityAlertPolicyID *string `json:"serverSecurityAlertPolicyId" tf:"server_security_alert_policy_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerPath *string `json:"storageContainerPath" tf:"storage_container_path,omitempty"` + + // +kubebuilder:validation:Optional + StorageContainerSasKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"` +} + +// ServerVulnerabilityAssessmentSpec defines the desired state of ServerVulnerabilityAssessment +type ServerVulnerabilityAssessmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerVulnerabilityAssessmentParameters `json:"forProvider"` +} + +// ServerVulnerabilityAssessmentStatus defines the observed state of ServerVulnerabilityAssessment. +type ServerVulnerabilityAssessmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerVulnerabilityAssessmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerVulnerabilityAssessment is the Schema for the ServerVulnerabilityAssessments API +// +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,azurejet} +type ServerVulnerabilityAssessment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerVulnerabilityAssessmentSpec `json:"spec"` + Status ServerVulnerabilityAssessmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerVulnerabilityAssessmentList contains a list of ServerVulnerabilityAssessments +type ServerVulnerabilityAssessmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServerVulnerabilityAssessment `json:"items"` +} + +// Repository type metadata. +var ( + ServerVulnerabilityAssessment_Kind = "ServerVulnerabilityAssessment" + ServerVulnerabilityAssessment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServerVulnerabilityAssessment_Kind}.String() + ServerVulnerabilityAssessment_KindAPIVersion = ServerVulnerabilityAssessment_Kind + "." + CRDGroupVersion.String() + ServerVulnerabilityAssessment_GroupVersionKind = CRDGroupVersion.WithKind(ServerVulnerabilityAssessment_Kind) +) + +func init() { + SchemeBuilder.Register(&ServerVulnerabilityAssessment{}, &ServerVulnerabilityAssessmentList{}) +} diff --git a/apis/mssql/v1alpha1/zz_virtualmachine_terraformed.go b/apis/mssql/v1alpha1/zz_virtualmachine_terraformed.go new file mode 100755 index 000000000..9ae20520e --- /dev/null +++ b/apis/mssql/v1alpha1/zz_virtualmachine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachine +func (mg *VirtualMachine) GetTerraformResourceType() string { + return "azurerm_mssql_virtual_machine" +} + +// GetConnectionDetailsMapping for this VirtualMachine +func (tr *VirtualMachine) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"auto_backup[*].encryption_password": "spec.forProvider.autoBackup[*].encryptionPasswordSecretRef", "key_vault_credential[*].key_vault_url": "spec.forProvider.keyVaultCredential[*].keyVaultURLSecretRef", "key_vault_credential[*].service_principal_name": "spec.forProvider.keyVaultCredential[*].servicePrincipalNameSecretRef", "key_vault_credential[*].service_principal_secret": "spec.forProvider.keyVaultCredential[*].servicePrincipalSecretSecretRef", "sql_connectivity_update_password": "spec.forProvider.sqlConnectivityUpdatePasswordSecretRef", "sql_connectivity_update_username": "spec.forProvider.sqlConnectivityUpdateUsernameSecretRef"} +} + +// GetObservation of this VirtualMachine +func (tr *VirtualMachine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachine +func (tr *VirtualMachine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachine +func (tr *VirtualMachine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachine +func (tr *VirtualMachine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachine) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_virtualmachine_types.go b/apis/mssql/v1alpha1/zz_virtualmachine_types.go new file mode 100755 index 000000000..70ec9ce05 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_virtualmachine_types.go @@ -0,0 +1,252 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutoBackupObservation struct { +} + +type AutoBackupParameters struct { + + // +kubebuilder:validation:Optional + EncryptionEnabled *bool `json:"encryptionEnabled,omitempty" tf:"encryption_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionPasswordSecretRef *v1.SecretKeySelector `json:"encryptionPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ManualSchedule []ManualScheduleParameters `json:"manualSchedule,omitempty" tf:"manual_schedule,omitempty"` + + // +kubebuilder:validation:Required + RetentionPeriodInDays *int64 `json:"retentionPeriodInDays" tf:"retention_period_in_days,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountAccessKey *string `json:"storageAccountAccessKey" tf:"storage_account_access_key,omitempty"` + + // +kubebuilder:validation:Required + StorageBlobEndpoint *string `json:"storageBlobEndpoint" tf:"storage_blob_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + SystemDatabasesBackupEnabled *bool `json:"systemDatabasesBackupEnabled,omitempty" tf:"system_databases_backup_enabled,omitempty"` +} + +type AutoPatchingObservation struct { +} + +type AutoPatchingParameters struct { + + // +kubebuilder:validation:Required + DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"` + + // +kubebuilder:validation:Required + MaintenanceWindowDurationInMinutes *int64 `json:"maintenanceWindowDurationInMinutes" tf:"maintenance_window_duration_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + MaintenanceWindowStartingHour *int64 `json:"maintenanceWindowStartingHour" tf:"maintenance_window_starting_hour,omitempty"` +} + +type DataSettingsObservation struct { +} + +type DataSettingsParameters struct { + + // +kubebuilder:validation:Required + DefaultFilePath *string `json:"defaultFilePath" tf:"default_file_path,omitempty"` + + // +kubebuilder:validation:Required + Luns []*int64 `json:"luns" tf:"luns,omitempty"` +} + +type KeyVaultCredentialObservation struct { +} + +type KeyVaultCredentialParameters struct { + + // +kubebuilder:validation:Required + KeyVaultURLSecretRef v1.SecretKeySelector `json:"keyVaultUrlSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ServicePrincipalNameSecretRef v1.SecretKeySelector `json:"servicePrincipalNameSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ServicePrincipalSecretSecretRef v1.SecretKeySelector `json:"servicePrincipalSecretSecretRef" tf:"-"` +} + +type LogSettingsObservation struct { +} + +type LogSettingsParameters struct { + + // +kubebuilder:validation:Required + DefaultFilePath *string `json:"defaultFilePath" tf:"default_file_path,omitempty"` + + // +kubebuilder:validation:Required + Luns []*int64 `json:"luns" tf:"luns,omitempty"` +} + +type ManualScheduleObservation struct { +} + +type ManualScheduleParameters struct { + + // +kubebuilder:validation:Required + FullBackupFrequency *string `json:"fullBackupFrequency" tf:"full_backup_frequency,omitempty"` + + // +kubebuilder:validation:Required + FullBackupStartHour *int64 `json:"fullBackupStartHour" tf:"full_backup_start_hour,omitempty"` + + // +kubebuilder:validation:Required + FullBackupWindowInHours *int64 `json:"fullBackupWindowInHours" tf:"full_backup_window_in_hours,omitempty"` + + // +kubebuilder:validation:Required + LogBackupFrequencyInMinutes *int64 `json:"logBackupFrequencyInMinutes" tf:"log_backup_frequency_in_minutes,omitempty"` +} + +type StorageConfigurationObservation struct { +} + +type StorageConfigurationParameters struct { + + // +kubebuilder:validation:Optional + DataSettings []DataSettingsParameters `json:"dataSettings,omitempty" tf:"data_settings,omitempty"` + + // +kubebuilder:validation:Required + DiskType *string `json:"diskType" tf:"disk_type,omitempty"` + + // +kubebuilder:validation:Optional + LogSettings []LogSettingsParameters `json:"logSettings,omitempty" tf:"log_settings,omitempty"` + + // +kubebuilder:validation:Required + StorageWorkloadType *string `json:"storageWorkloadType" tf:"storage_workload_type,omitempty"` + + // +kubebuilder:validation:Optional + TempDBSettings []TempDBSettingsParameters `json:"tempDbSettings,omitempty" tf:"temp_db_settings,omitempty"` +} + +type TempDBSettingsObservation struct { +} + +type TempDBSettingsParameters struct { + + // +kubebuilder:validation:Required + DefaultFilePath *string `json:"defaultFilePath" tf:"default_file_path,omitempty"` + + // +kubebuilder:validation:Required + Luns []*int64 `json:"luns" tf:"luns,omitempty"` +} + +type VirtualMachineObservation struct { +} + +type VirtualMachineParameters struct { + + // +kubebuilder:validation:Optional + AutoBackup []AutoBackupParameters `json:"autoBackup,omitempty" tf:"auto_backup,omitempty"` + + // +kubebuilder:validation:Optional + AutoPatching []AutoPatchingParameters `json:"autoPatching,omitempty" tf:"auto_patching,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultCredential []KeyVaultCredentialParameters `json:"keyVaultCredential,omitempty" tf:"key_vault_credential,omitempty"` + + // +kubebuilder:validation:Optional + RServicesEnabled *bool `json:"rServicesEnabled,omitempty" tf:"r_services_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SQLConnectivityPort *int64 `json:"sqlConnectivityPort,omitempty" tf:"sql_connectivity_port,omitempty"` + + // +kubebuilder:validation:Optional + SQLConnectivityType *string `json:"sqlConnectivityType,omitempty" tf:"sql_connectivity_type,omitempty"` + + // +kubebuilder:validation:Optional + SQLConnectivityUpdatePasswordSecretRef *v1.SecretKeySelector `json:"sqlConnectivityUpdatePasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + SQLConnectivityUpdateUsernameSecretRef *v1.SecretKeySelector `json:"sqlConnectivityUpdateUsernameSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + SQLLicenseType *string `json:"sqlLicenseType" tf:"sql_license_type,omitempty"` + + // +kubebuilder:validation:Optional + StorageConfiguration []StorageConfigurationParameters `json:"storageConfiguration,omitempty" tf:"storage_configuration,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualMachineID *string `json:"virtualMachineId" tf:"virtual_machine_id,omitempty"` +} + +// VirtualMachineSpec defines the desired state of VirtualMachine +type VirtualMachineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineParameters `json:"forProvider"` +} + +// VirtualMachineStatus defines the observed state of VirtualMachine. +type VirtualMachineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachine is the Schema for the VirtualMachines API +// +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,azurejet} +type VirtualMachine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineSpec `json:"spec"` + Status VirtualMachineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineList contains a list of VirtualMachines +type VirtualMachineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachine `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachine_Kind = "VirtualMachine" + VirtualMachine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachine_Kind}.String() + VirtualMachine_KindAPIVersion = VirtualMachine_Kind + "." + CRDGroupVersion.String() + VirtualMachine_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachine_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachine{}, &VirtualMachineList{}) +} diff --git a/apis/mssql/v1alpha1/zz_virtualnetworkrule_terraformed.go b/apis/mssql/v1alpha1/zz_virtualnetworkrule_terraformed.go new file mode 100755 index 000000000..a0b0243c8 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_virtualnetworkrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualNetworkRule +func (mg *VirtualNetworkRule) GetTerraformResourceType() string { + return "azurerm_mssql_virtual_network_rule" +} + +// GetConnectionDetailsMapping for this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualNetworkRule +func (tr *VirtualNetworkRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualNetworkRule +func (tr *VirtualNetworkRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualNetworkRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualNetworkRule) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualNetworkRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualNetworkRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mssql/v1alpha1/zz_virtualnetworkrule_types.go b/apis/mssql/v1alpha1/zz_virtualnetworkrule_types.go new file mode 100755 index 000000000..d45fc5cd4 --- /dev/null +++ b/apis/mssql/v1alpha1/zz_virtualnetworkrule_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VirtualNetworkRuleObservation struct { +} + +type VirtualNetworkRuleParameters struct { + + // +kubebuilder:validation:Optional + IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ServerID *string `json:"serverId" tf:"server_id,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule +type VirtualNetworkRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualNetworkRuleParameters `json:"forProvider"` +} + +// VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule. +type VirtualNetworkRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualNetworkRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualNetworkRule is the Schema for the VirtualNetworkRules API +// +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,azurejet} +type VirtualNetworkRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualNetworkRuleSpec `json:"spec"` + Status VirtualNetworkRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualNetworkRuleList contains a list of VirtualNetworkRules +type VirtualNetworkRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualNetworkRule `json:"items"` +} + +// Repository type metadata. +var ( + VirtualNetworkRule_Kind = "VirtualNetworkRule" + VirtualNetworkRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualNetworkRule_Kind}.String() + VirtualNetworkRule_KindAPIVersion = VirtualNetworkRule_Kind + "." + CRDGroupVersion.String() + VirtualNetworkRule_GroupVersionKind = CRDGroupVersion.WithKind(VirtualNetworkRule_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualNetworkRule{}, &VirtualNetworkRuleList{}) +} diff --git a/apis/mysql/v1alpha1/zz_activedirectoryadministrator_terraformed.go b/apis/mysql/v1alpha1/zz_activedirectoryadministrator_terraformed.go new file mode 100755 index 000000000..08ba01b64 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_activedirectoryadministrator_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ActiveDirectoryAdministrator +func (mg *ActiveDirectoryAdministrator) GetTerraformResourceType() string { + return "azurerm_mysql_active_directory_administrator" +} + +// GetConnectionDetailsMapping for this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ActiveDirectoryAdministrator using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ActiveDirectoryAdministrator) LateInitialize(attrs []byte) (bool, error) { + params := &ActiveDirectoryAdministratorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ActiveDirectoryAdministrator) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_activedirectoryadministrator_types.go b/apis/mysql/v1alpha1/zz_activedirectoryadministrator_types.go new file mode 100755 index 000000000..a6e27f731 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_activedirectoryadministrator_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActiveDirectoryAdministratorObservation struct { +} + +type ActiveDirectoryAdministratorParameters struct { + + // +kubebuilder:validation:Required + Login *string `json:"login" tf:"login,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// ActiveDirectoryAdministratorSpec defines the desired state of ActiveDirectoryAdministrator +type ActiveDirectoryAdministratorSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ActiveDirectoryAdministratorParameters `json:"forProvider"` +} + +// ActiveDirectoryAdministratorStatus defines the observed state of ActiveDirectoryAdministrator. +type ActiveDirectoryAdministratorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ActiveDirectoryAdministratorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActiveDirectoryAdministrator is the Schema for the ActiveDirectoryAdministrators API +// +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,azurejet} +type ActiveDirectoryAdministrator struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ActiveDirectoryAdministratorSpec `json:"spec"` + Status ActiveDirectoryAdministratorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActiveDirectoryAdministratorList contains a list of ActiveDirectoryAdministrators +type ActiveDirectoryAdministratorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ActiveDirectoryAdministrator `json:"items"` +} + +// Repository type metadata. +var ( + ActiveDirectoryAdministrator_Kind = "ActiveDirectoryAdministrator" + ActiveDirectoryAdministrator_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ActiveDirectoryAdministrator_Kind}.String() + ActiveDirectoryAdministrator_KindAPIVersion = ActiveDirectoryAdministrator_Kind + "." + CRDGroupVersion.String() + ActiveDirectoryAdministrator_GroupVersionKind = CRDGroupVersion.WithKind(ActiveDirectoryAdministrator_Kind) +) + +func init() { + SchemeBuilder.Register(&ActiveDirectoryAdministrator{}, &ActiveDirectoryAdministratorList{}) +} diff --git a/apis/mysql/v1alpha1/zz_configuration_terraformed.go b/apis/mysql/v1alpha1/zz_configuration_terraformed.go new file mode 100755 index 000000000..03c358e1f --- /dev/null +++ b/apis/mysql/v1alpha1/zz_configuration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Configuration +func (mg *Configuration) GetTerraformResourceType() string { + return "azurerm_mysql_configuration" +} + +// GetConnectionDetailsMapping for this Configuration +func (tr *Configuration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Configuration +func (tr *Configuration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Configuration +func (tr *Configuration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Configuration +func (tr *Configuration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Configuration +func (tr *Configuration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Configuration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Configuration) LateInitialize(attrs []byte) (bool, error) { + params := &ConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Configuration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_configuration_types.go b/apis/mysql/v1alpha1/zz_configuration_types.go new file mode 100755 index 000000000..e11f29845 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_configuration_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConfigurationObservation struct { +} + +type ConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// ConfigurationSpec defines the desired state of Configuration +type ConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConfigurationParameters `json:"forProvider"` +} + +// ConfigurationStatus defines the observed state of Configuration. +type ConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Configuration is the Schema for the Configurations API +// +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,azurejet} +type Configuration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConfigurationSpec `json:"spec"` + Status ConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConfigurationList contains a list of Configurations +type ConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Configuration `json:"items"` +} + +// Repository type metadata. +var ( + Configuration_Kind = "Configuration" + Configuration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String() + Configuration_KindAPIVersion = Configuration_Kind + "." + CRDGroupVersion.String() + Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind) +) + +func init() { + SchemeBuilder.Register(&Configuration{}, &ConfigurationList{}) +} diff --git a/apis/mysql/v1alpha1/zz_database_terraformed.go b/apis/mysql/v1alpha1/zz_database_terraformed.go new file mode 100755 index 000000000..dd1e089fd --- /dev/null +++ b/apis/mysql/v1alpha1/zz_database_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Database +func (mg *Database) GetTerraformResourceType() string { + return "azurerm_mysql_database" +} + +// GetConnectionDetailsMapping for this Database +func (tr *Database) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Database +func (tr *Database) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Database +func (tr *Database) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Database +func (tr *Database) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Database +func (tr *Database) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Database using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Database) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Database) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_database_types.go b/apis/mysql/v1alpha1/zz_database_types.go new file mode 100755 index 000000000..3c612bb05 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_database_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabaseObservation struct { +} + +type DatabaseParameters struct { + + // +kubebuilder:validation:Required + Charset *string `json:"charset" tf:"charset,omitempty"` + + // +kubebuilder:validation:Required + Collation *string `json:"collation" tf:"collation,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` +} + +// DatabaseSpec defines the desired state of Database +type DatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseParameters `json:"forProvider"` +} + +// DatabaseStatus defines the observed state of Database. +type DatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Database is the Schema for the Databases API +// +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,azurejet} +type Database struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseSpec `json:"spec"` + Status DatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseList contains a list of Databases +type DatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Database `json:"items"` +} + +// Repository type metadata. +var ( + Database_Kind = "Database" + Database_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String() + Database_KindAPIVersion = Database_Kind + "." + CRDGroupVersion.String() + Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind) +) + +func init() { + SchemeBuilder.Register(&Database{}, &DatabaseList{}) +} diff --git a/apis/mysql/v1alpha1/zz_firewallrule_terraformed.go b/apis/mysql/v1alpha1/zz_firewallrule_terraformed.go new file mode 100755 index 000000000..1bc273e16 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_firewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallRule +func (mg *FirewallRule) GetTerraformResourceType() string { + return "azurerm_mysql_firewall_rule" +} + +// GetConnectionDetailsMapping for this FirewallRule +func (tr *FirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallRule +func (tr *FirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallRule +func (tr *FirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallRule +func (tr *FirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallRule +func (tr *FirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_firewallrule_types.go b/apis/mysql/v1alpha1/zz_firewallrule_types.go new file mode 100755 index 000000000..45764c716 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_firewallrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallRuleObservation struct { +} + +type FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` +} + +// FirewallRuleSpec defines the desired state of FirewallRule +type FirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallRuleParameters `json:"forProvider"` +} + +// FirewallRuleStatus defines the observed state of FirewallRule. +type FirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRule is the Schema for the FirewallRules API +// +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,azurejet} +type FirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallRuleSpec `json:"spec"` + Status FirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRuleList contains a list of FirewallRules +type FirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + FirewallRule_Kind = "FirewallRule" + FirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String() + FirewallRule_KindAPIVersion = FirewallRule_Kind + "." + CRDGroupVersion.String() + FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallRule{}, &FirewallRuleList{}) +} diff --git a/apis/mysql/v1alpha1/zz_generated.deepcopy.go b/apis/mysql/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..c996c2d3f --- /dev/null +++ b/apis/mysql/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1320 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministrator) DeepCopyInto(out *ActiveDirectoryAdministrator) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministrator. +func (in *ActiveDirectoryAdministrator) DeepCopy() *ActiveDirectoryAdministrator { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministrator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActiveDirectoryAdministrator) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorList) DeepCopyInto(out *ActiveDirectoryAdministratorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ActiveDirectoryAdministrator, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorList. +func (in *ActiveDirectoryAdministratorList) DeepCopy() *ActiveDirectoryAdministratorList { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActiveDirectoryAdministratorList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorObservation) DeepCopyInto(out *ActiveDirectoryAdministratorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorObservation. +func (in *ActiveDirectoryAdministratorObservation) DeepCopy() *ActiveDirectoryAdministratorObservation { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorParameters) DeepCopyInto(out *ActiveDirectoryAdministratorParameters) { + *out = *in + if in.Login != nil { + in, out := &in.Login, &out.Login + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorParameters. +func (in *ActiveDirectoryAdministratorParameters) DeepCopy() *ActiveDirectoryAdministratorParameters { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorSpec) DeepCopyInto(out *ActiveDirectoryAdministratorSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorSpec. +func (in *ActiveDirectoryAdministratorSpec) DeepCopy() *ActiveDirectoryAdministratorSpec { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorStatus) DeepCopyInto(out *ActiveDirectoryAdministratorStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorStatus. +func (in *ActiveDirectoryAdministratorStatus) DeepCopy() *ActiveDirectoryAdministratorStatus { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Configuration) DeepCopyInto(out *Configuration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { + return nil + } + out := new(Configuration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Configuration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList. +func (in *ConfigurationList) DeepCopy() *ConfigurationList { + if in == nil { + return nil + } + out := new(ConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec. +func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec { + if in == nil { + return nil + } + out := new(ConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus. +func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus { + if in == nil { + return nil + } + out := new(ConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Database) DeepCopyInto(out *Database) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database. +func (in *Database) DeepCopy() *Database { + if in == nil { + return nil + } + out := new(Database) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Database) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseList) DeepCopyInto(out *DatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Database, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList. +func (in *DatabaseList) DeepCopy() *DatabaseList { + if in == nil { + return nil + } + out := new(DatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation. +func (in *DatabaseObservation) DeepCopy() *DatabaseObservation { + if in == nil { + return nil + } + out := new(DatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { + *out = *in + if in.Charset != nil { + in, out := &in.Charset, &out.Charset + *out = new(string) + **out = **in + } + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters. +func (in *DatabaseParameters) DeepCopy() *DatabaseParameters { + if in == nil { + return nil + } + out := new(DatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec. +func (in *DatabaseSpec) DeepCopy() *DatabaseSpec { + if in == nil { + return nil + } + out := new(DatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus. +func (in *DatabaseStatus) DeepCopy() *DatabaseStatus { + if in == nil { + return nil + } + out := new(DatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRule) DeepCopyInto(out *FirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule. +func (in *FirewallRule) DeepCopy() *FirewallRule { + if in == nil { + return nil + } + out := new(FirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList. +func (in *FirewallRuleList) DeepCopy() *FirewallRuleList { + if in == nil { + return nil + } + out := new(FirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleObservation. +func (in *FirewallRuleObservation) DeepCopy() *FirewallRuleObservation { + if in == nil { + return nil + } + out := new(FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters) { + *out = *in + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleParameters. +func (in *FirewallRuleParameters) DeepCopy() *FirewallRuleParameters { + if in == nil { + return nil + } + out := new(FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec. +func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec { + if in == nil { + return nil + } + out := new(FirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus. +func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus { + if in == nil { + return nil + } + out := new(FirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Server) DeepCopyInto(out *Server) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server. +func (in *Server) DeepCopy() *Server { + if in == nil { + return nil + } + out := new(Server) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Server) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKey) DeepCopyInto(out *ServerKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKey. +func (in *ServerKey) DeepCopy() *ServerKey { + if in == nil { + return nil + } + out := new(ServerKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyList) DeepCopyInto(out *ServerKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServerKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKeyList. +func (in *ServerKeyList) DeepCopy() *ServerKeyList { + if in == nil { + return nil + } + out := new(ServerKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyObservation) DeepCopyInto(out *ServerKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKeyObservation. +func (in *ServerKeyObservation) DeepCopy() *ServerKeyObservation { + if in == nil { + return nil + } + out := new(ServerKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyParameters) DeepCopyInto(out *ServerKeyParameters) { + *out = *in + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } + if in.ServerID != nil { + in, out := &in.ServerID, &out.ServerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKeyParameters. +func (in *ServerKeyParameters) DeepCopy() *ServerKeyParameters { + if in == nil { + return nil + } + out := new(ServerKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeySpec) DeepCopyInto(out *ServerKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKeySpec. +func (in *ServerKeySpec) DeepCopy() *ServerKeySpec { + if in == nil { + return nil + } + out := new(ServerKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerKeyStatus) DeepCopyInto(out *ServerKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerKeyStatus. +func (in *ServerKeyStatus) DeepCopy() *ServerKeyStatus { + if in == nil { + return nil + } + out := new(ServerKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerList) DeepCopyInto(out *ServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Server, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerList. +func (in *ServerList) DeepCopy() *ServerList { + if in == nil { + return nil + } + out := new(ServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerObservation. +func (in *ServerObservation) DeepCopy() *ServerObservation { + if in == nil { + return nil + } + out := new(ServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + if in.AdministratorLoginPasswordSecretRef != nil { + in, out := &in.AdministratorLoginPasswordSecretRef, &out.AdministratorLoginPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AutoGrowEnabled != nil { + in, out := &in.AutoGrowEnabled, &out.AutoGrowEnabled + *out = new(bool) + **out = **in + } + if in.BackupRetentionDays != nil { + in, out := &in.BackupRetentionDays, &out.BackupRetentionDays + *out = new(int64) + **out = **in + } + if in.CreateMode != nil { + in, out := &in.CreateMode, &out.CreateMode + *out = new(string) + **out = **in + } + if in.CreationSourceServerID != nil { + in, out := &in.CreationSourceServerID, &out.CreationSourceServerID + *out = new(string) + **out = **in + } + if in.GeoRedundantBackupEnabled != nil { + in, out := &in.GeoRedundantBackupEnabled, &out.GeoRedundantBackupEnabled + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InfrastructureEncryptionEnabled != nil { + in, out := &in.InfrastructureEncryptionEnabled, &out.InfrastructureEncryptionEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RestorePointInTime != nil { + in, out := &in.RestorePointInTime, &out.RestorePointInTime + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SslEnforcement != nil { + in, out := &in.SslEnforcement, &out.SslEnforcement + *out = new(string) + **out = **in + } + if in.SslEnforcementEnabled != nil { + in, out := &in.SslEnforcementEnabled, &out.SslEnforcementEnabled + *out = new(bool) + **out = **in + } + if in.SslMinimalTLSVersionEnforced != nil { + in, out := &in.SslMinimalTLSVersionEnforced, &out.SslMinimalTLSVersionEnforced + *out = new(string) + **out = **in + } + if in.StorageMb != nil { + in, out := &in.StorageMb, &out.StorageMb + *out = new(int64) + **out = **in + } + if in.StorageProfile != nil { + in, out := &in.StorageProfile, &out.StorageProfile + *out = make([]StorageProfileParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ThreatDetectionPolicy != nil { + in, out := &in.ThreatDetectionPolicy, &out.ThreatDetectionPolicy + *out = make([]ThreatDetectionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters. +func (in *ServerParameters) DeepCopy() *ServerParameters { + if in == nil { + return nil + } + out := new(ServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerSpec) DeepCopyInto(out *ServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec. +func (in *ServerSpec) DeepCopy() *ServerSpec { + if in == nil { + return nil + } + out := new(ServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerStatus) DeepCopyInto(out *ServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStatus. +func (in *ServerStatus) DeepCopy() *ServerStatus { + if in == nil { + return nil + } + out := new(ServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageProfileObservation) DeepCopyInto(out *StorageProfileObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProfileObservation. +func (in *StorageProfileObservation) DeepCopy() *StorageProfileObservation { + if in == nil { + return nil + } + out := new(StorageProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageProfileParameters) DeepCopyInto(out *StorageProfileParameters) { + *out = *in + if in.AutoGrow != nil { + in, out := &in.AutoGrow, &out.AutoGrow + *out = new(string) + **out = **in + } + if in.BackupRetentionDays != nil { + in, out := &in.BackupRetentionDays, &out.BackupRetentionDays + *out = new(int64) + **out = **in + } + if in.GeoRedundantBackup != nil { + in, out := &in.GeoRedundantBackup, &out.GeoRedundantBackup + *out = new(string) + **out = **in + } + if in.StorageMb != nil { + in, out := &in.StorageMb, &out.StorageMb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProfileParameters. +func (in *StorageProfileParameters) DeepCopy() *StorageProfileParameters { + if in == nil { + return nil + } + out := new(StorageProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatDetectionPolicyObservation) DeepCopyInto(out *ThreatDetectionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatDetectionPolicyObservation. +func (in *ThreatDetectionPolicyObservation) DeepCopy() *ThreatDetectionPolicyObservation { + if in == nil { + return nil + } + out := new(ThreatDetectionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ThreatDetectionPolicyParameters) DeepCopyInto(out *ThreatDetectionPolicyParameters) { + *out = *in + if in.DisabledAlerts != nil { + in, out := &in.DisabledAlerts, &out.DisabledAlerts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EmailAccountAdmins != nil { + in, out := &in.EmailAccountAdmins, &out.EmailAccountAdmins + *out = new(bool) + **out = **in + } + if in.EmailAddresses != nil { + in, out := &in.EmailAddresses, &out.EmailAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatDetectionPolicyParameters. +func (in *ThreatDetectionPolicyParameters) DeepCopy() *ThreatDetectionPolicyParameters { + if in == nil { + return nil + } + out := new(ThreatDetectionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRule) DeepCopyInto(out *VirtualNetworkRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRule. +func (in *VirtualNetworkRule) DeepCopy() *VirtualNetworkRule { + if in == nil { + return nil + } + out := new(VirtualNetworkRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleList) DeepCopyInto(out *VirtualNetworkRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualNetworkRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleList. +func (in *VirtualNetworkRuleList) DeepCopy() *VirtualNetworkRuleList { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleObservation) DeepCopyInto(out *VirtualNetworkRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleObservation. +func (in *VirtualNetworkRuleObservation) DeepCopy() *VirtualNetworkRuleObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleParameters) DeepCopyInto(out *VirtualNetworkRuleParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleParameters. +func (in *VirtualNetworkRuleParameters) DeepCopy() *VirtualNetworkRuleParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleSpec) DeepCopyInto(out *VirtualNetworkRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleSpec. +func (in *VirtualNetworkRuleSpec) DeepCopy() *VirtualNetworkRuleSpec { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkRuleStatus) DeepCopyInto(out *VirtualNetworkRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkRuleStatus. +func (in *VirtualNetworkRuleStatus) DeepCopy() *VirtualNetworkRuleStatus { + if in == nil { + return nil + } + out := new(VirtualNetworkRuleStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/mysql/v1alpha1/zz_generated.managed.go b/apis/mysql/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..10da89800 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_generated.managed.go @@ -0,0 +1,412 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ActiveDirectoryAdministrator. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ActiveDirectoryAdministrator) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ActiveDirectoryAdministrator. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ActiveDirectoryAdministrator) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Configuration. +func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Configuration. +func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Configuration. +func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Configuration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Configuration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Configuration. +func (mg *Configuration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Configuration. +func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Configuration. +func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Configuration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Configuration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Configuration. +func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Database. +func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Database. +func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Database. +func (mg *Database) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Database. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Database) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Database. +func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Database. +func (mg *Database) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Database. +func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Database. +func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Database. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Database) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Database. +func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FirewallRule. +func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallRule. +func (mg *FirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Server. +func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Server. +func (mg *Server) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Server. +func (mg *Server) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Server. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Server) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Server. +func (mg *Server) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Server. +func (mg *Server) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Server. +func (mg *Server) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Server. +func (mg *Server) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Server. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Server) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Server. +func (mg *Server) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServerKey. +func (mg *ServerKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServerKey. +func (mg *ServerKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServerKey. +func (mg *ServerKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServerKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServerKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServerKey. +func (mg *ServerKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServerKey. +func (mg *ServerKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServerKey. +func (mg *ServerKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServerKey. +func (mg *ServerKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServerKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServerKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServerKey. +func (mg *ServerKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualNetworkRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualNetworkRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualNetworkRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualNetworkRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualNetworkRule. +func (mg *VirtualNetworkRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/mysql/v1alpha1/zz_generated.managedlist.go b/apis/mysql/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..62fcdb0f7 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,83 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ActiveDirectoryAdministratorList. +func (l *ActiveDirectoryAdministratorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ConfigurationList. +func (l *ConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabaseList. +func (l *DatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallRuleList. +func (l *FirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServerKeyList. +func (l *ServerKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServerList. +func (l *ServerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualNetworkRuleList. +func (l *VirtualNetworkRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/mysql/v1alpha1/zz_groupversion_info.go b/apis/mysql/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..5cba37fae --- /dev/null +++ b/apis/mysql/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=mysql.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "mysql.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/mysql/v1alpha1/zz_server_terraformed.go b/apis/mysql/v1alpha1/zz_server_terraformed.go new file mode 100755 index 000000000..39c81cec4 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_server_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Server +func (mg *Server) GetTerraformResourceType() string { + return "azurerm_mysql_server" +} + +// GetConnectionDetailsMapping for this Server +func (tr *Server) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"administrator_login_password": "spec.forProvider.administratorLoginPasswordSecretRef", "threat_detection_policy[*].storage_account_access_key": "spec.forProvider.threatDetectionPolicy[*].storageAccountAccessKeySecretRef"} +} + +// GetObservation of this Server +func (tr *Server) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Server +func (tr *Server) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Server +func (tr *Server) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Server +func (tr *Server) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Server using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Server) LateInitialize(attrs []byte) (bool, error) { + params := &ServerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Server) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_server_types.go b/apis/mysql/v1alpha1/zz_server_types.go new file mode 100755 index 000000000..ece830e40 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_server_types.go @@ -0,0 +1,208 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ServerObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type ServerParameters struct { + + // +kubebuilder:validation:Optional + AdministratorLogin *string `json:"administratorLogin,omitempty" tf:"administrator_login,omitempty"` + + // +kubebuilder:validation:Optional + AdministratorLoginPasswordSecretRef *v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AutoGrowEnabled *bool `json:"autoGrowEnabled,omitempty" tf:"auto_grow_enabled,omitempty"` + + // +kubebuilder:validation:Optional + BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"` + + // +kubebuilder:validation:Optional + CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"` + + // +kubebuilder:validation:Optional + CreationSourceServerID *string `json:"creationSourceServerId,omitempty" tf:"creation_source_server_id,omitempty"` + + // +kubebuilder:validation:Optional + GeoRedundantBackupEnabled *bool `json:"geoRedundantBackupEnabled,omitempty" tf:"geo_redundant_backup_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + InfrastructureEncryptionEnabled *bool `json:"infrastructureEncryptionEnabled,omitempty" tf:"infrastructure_encryption_enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + SslEnforcement *string `json:"sslEnforcement,omitempty" tf:"ssl_enforcement,omitempty"` + + // +kubebuilder:validation:Optional + SslEnforcementEnabled *bool `json:"sslEnforcementEnabled,omitempty" tf:"ssl_enforcement_enabled,omitempty"` + + // +kubebuilder:validation:Optional + SslMinimalTLSVersionEnforced *string `json:"sslMinimalTlsVersionEnforced,omitempty" tf:"ssl_minimal_tls_version_enforced,omitempty"` + + // +kubebuilder:validation:Optional + StorageMb *int64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"` + + // +kubebuilder:validation:Optional + StorageProfile []StorageProfileParameters `json:"storageProfile,omitempty" tf:"storage_profile,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ThreatDetectionPolicy []ThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type StorageProfileObservation struct { +} + +type StorageProfileParameters struct { + + // +kubebuilder:validation:Optional + AutoGrow *string `json:"autoGrow,omitempty" tf:"auto_grow,omitempty"` + + // +kubebuilder:validation:Optional + BackupRetentionDays *int64 `json:"backupRetentionDays,omitempty" tf:"backup_retention_days,omitempty"` + + // +kubebuilder:validation:Optional + GeoRedundantBackup *string `json:"geoRedundantBackup,omitempty" tf:"geo_redundant_backup,omitempty"` + + // +kubebuilder:validation:Optional + StorageMb *int64 `json:"storageMb,omitempty" tf:"storage_mb,omitempty"` +} + +type ThreatDetectionPolicyObservation struct { +} + +type ThreatDetectionPolicyParameters struct { + + // +kubebuilder:validation:Optional + DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` + + // +kubebuilder:validation:Optional + EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"` + + // +kubebuilder:validation:Optional + EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDays *int64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +// ServerSpec defines the desired state of Server +type ServerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerParameters `json:"forProvider"` +} + +// ServerStatus defines the observed state of Server. +type ServerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Server is the Schema for the Servers API +// +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,azurejet} +type Server struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerSpec `json:"spec"` + Status ServerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerList contains a list of Servers +type ServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Server `json:"items"` +} + +// Repository type metadata. +var ( + Server_Kind = "Server" + Server_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Server_Kind}.String() + Server_KindAPIVersion = Server_Kind + "." + CRDGroupVersion.String() + Server_GroupVersionKind = CRDGroupVersion.WithKind(Server_Kind) +) + +func init() { + SchemeBuilder.Register(&Server{}, &ServerList{}) +} diff --git a/apis/mysql/v1alpha1/zz_serverkey_terraformed.go b/apis/mysql/v1alpha1/zz_serverkey_terraformed.go new file mode 100755 index 000000000..8f0a22674 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_serverkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServerKey +func (mg *ServerKey) GetTerraformResourceType() string { + return "azurerm_mysql_server_key" +} + +// GetConnectionDetailsMapping for this ServerKey +func (tr *ServerKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServerKey +func (tr *ServerKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServerKey +func (tr *ServerKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServerKey +func (tr *ServerKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServerKey +func (tr *ServerKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServerKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServerKey) LateInitialize(attrs []byte) (bool, error) { + params := &ServerKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServerKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_serverkey_types.go b/apis/mysql/v1alpha1/zz_serverkey_types.go new file mode 100755 index 000000000..9cf8f3188 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_serverkey_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ServerKeyObservation struct { +} + +type ServerKeyParameters struct { + + // +kubebuilder:validation:Required + KeyVaultKeyID *string `json:"keyVaultKeyId" tf:"key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + ServerID *string `json:"serverId" tf:"server_id,omitempty"` +} + +// ServerKeySpec defines the desired state of ServerKey +type ServerKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerKeyParameters `json:"forProvider"` +} + +// ServerKeyStatus defines the observed state of ServerKey. +type ServerKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerKey is the Schema for the ServerKeys API +// +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,azurejet} +type ServerKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerKeySpec `json:"spec"` + Status ServerKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerKeyList contains a list of ServerKeys +type ServerKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServerKey `json:"items"` +} + +// Repository type metadata. +var ( + ServerKey_Kind = "ServerKey" + ServerKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServerKey_Kind}.String() + ServerKey_KindAPIVersion = ServerKey_Kind + "." + CRDGroupVersion.String() + ServerKey_GroupVersionKind = CRDGroupVersion.WithKind(ServerKey_Kind) +) + +func init() { + SchemeBuilder.Register(&ServerKey{}, &ServerKeyList{}) +} diff --git a/apis/mysql/v1alpha1/zz_virtualnetworkrule_terraformed.go b/apis/mysql/v1alpha1/zz_virtualnetworkrule_terraformed.go new file mode 100755 index 000000000..2936713c1 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_virtualnetworkrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualNetworkRule +func (mg *VirtualNetworkRule) GetTerraformResourceType() string { + return "azurerm_mysql_virtual_network_rule" +} + +// GetConnectionDetailsMapping for this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualNetworkRule +func (tr *VirtualNetworkRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualNetworkRule +func (tr *VirtualNetworkRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualNetworkRule +func (tr *VirtualNetworkRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualNetworkRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualNetworkRule) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualNetworkRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualNetworkRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/mysql/v1alpha1/zz_virtualnetworkrule_types.go b/apis/mysql/v1alpha1/zz_virtualnetworkrule_types.go new file mode 100755 index 000000000..ad45bb108 --- /dev/null +++ b/apis/mysql/v1alpha1/zz_virtualnetworkrule_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VirtualNetworkRuleObservation struct { +} + +type VirtualNetworkRuleParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule +type VirtualNetworkRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualNetworkRuleParameters `json:"forProvider"` +} + +// VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule. +type VirtualNetworkRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualNetworkRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualNetworkRule is the Schema for the VirtualNetworkRules API +// +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,azurejet} +type VirtualNetworkRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualNetworkRuleSpec `json:"spec"` + Status VirtualNetworkRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualNetworkRuleList contains a list of VirtualNetworkRules +type VirtualNetworkRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualNetworkRule `json:"items"` +} + +// Repository type metadata. +var ( + VirtualNetworkRule_Kind = "VirtualNetworkRule" + VirtualNetworkRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualNetworkRule_Kind}.String() + VirtualNetworkRule_KindAPIVersion = VirtualNetworkRule_Kind + "." + CRDGroupVersion.String() + VirtualNetworkRule_GroupVersionKind = CRDGroupVersion.WithKind(VirtualNetworkRule_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualNetworkRule{}, &VirtualNetworkRuleList{}) +} diff --git a/apis/nat/v1alpha1/zz_gateway_terraformed.go b/apis/nat/v1alpha1/zz_gateway_terraformed.go new file mode 100755 index 000000000..fa075c838 --- /dev/null +++ b/apis/nat/v1alpha1/zz_gateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Gateway +func (mg *Gateway) GetTerraformResourceType() string { + return "azurerm_nat_gateway" +} + +// GetConnectionDetailsMapping for this Gateway +func (tr *Gateway) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Gateway +func (tr *Gateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Gateway +func (tr *Gateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Gateway +func (tr *Gateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Gateway +func (tr *Gateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Gateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Gateway) LateInitialize(attrs []byte) (bool, error) { + params := &GatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Gateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/nat/v1alpha1/zz_gateway_types.go b/apis/nat/v1alpha1/zz_gateway_types.go new file mode 100755 index 000000000..559f04dd2 --- /dev/null +++ b/apis/nat/v1alpha1/zz_gateway_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GatewayObservation struct { + ResourceGUID *string `json:"resourceGuid,omitempty" tf:"resource_guid,omitempty"` +} + +type GatewayParameters struct { + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPAddressIds []*string `json:"publicIpAddressIds,omitempty" tf:"public_ip_address_ids,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPPrefixIds []*string `json:"publicIpPrefixIds,omitempty" tf:"public_ip_prefix_ids,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +// GatewaySpec defines the desired state of Gateway +type GatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GatewayParameters `json:"forProvider"` +} + +// GatewayStatus defines the observed state of Gateway. +type GatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Gateway is the Schema for the Gateways API +// +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,azurejet} +type Gateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GatewaySpec `json:"spec"` + Status GatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayList contains a list of Gateways +type GatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Gateway `json:"items"` +} + +// Repository type metadata. +var ( + Gateway_Kind = "Gateway" + Gateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Gateway_Kind}.String() + Gateway_KindAPIVersion = Gateway_Kind + "." + CRDGroupVersion.String() + Gateway_GroupVersionKind = CRDGroupVersion.WithKind(Gateway_Kind) +) + +func init() { + SchemeBuilder.Register(&Gateway{}, &GatewayList{}) +} diff --git a/apis/nat/v1alpha1/zz_gatewaypublicipassociation_terraformed.go b/apis/nat/v1alpha1/zz_gatewaypublicipassociation_terraformed.go new file mode 100755 index 000000000..0e812390f --- /dev/null +++ b/apis/nat/v1alpha1/zz_gatewaypublicipassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this GatewayPublicIpAssociation +func (mg *GatewayPublicIpAssociation) GetTerraformResourceType() string { + return "azurerm_nat_gateway_public_ip_association" +} + +// GetConnectionDetailsMapping for this GatewayPublicIpAssociation +func (tr *GatewayPublicIpAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this GatewayPublicIpAssociation +func (tr *GatewayPublicIpAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this GatewayPublicIpAssociation +func (tr *GatewayPublicIpAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this GatewayPublicIpAssociation +func (tr *GatewayPublicIpAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this GatewayPublicIpAssociation +func (tr *GatewayPublicIpAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this GatewayPublicIpAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *GatewayPublicIpAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &GatewayPublicIpAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *GatewayPublicIpAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/nat/v1alpha1/zz_gatewaypublicipassociation_types.go b/apis/nat/v1alpha1/zz_gatewaypublicipassociation_types.go new file mode 100755 index 000000000..3325f51de --- /dev/null +++ b/apis/nat/v1alpha1/zz_gatewaypublicipassociation_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GatewayPublicIpAssociationObservation struct { +} + +type GatewayPublicIpAssociationParameters struct { + + // +kubebuilder:validation:Required + NatGatewayID *string `json:"natGatewayId" tf:"nat_gateway_id,omitempty"` + + // +kubebuilder:validation:Required + PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` +} + +// GatewayPublicIpAssociationSpec defines the desired state of GatewayPublicIpAssociation +type GatewayPublicIpAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GatewayPublicIpAssociationParameters `json:"forProvider"` +} + +// GatewayPublicIpAssociationStatus defines the observed state of GatewayPublicIpAssociation. +type GatewayPublicIpAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GatewayPublicIpAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayPublicIpAssociation is the Schema for the GatewayPublicIpAssociations API +// +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,azurejet} +type GatewayPublicIpAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GatewayPublicIpAssociationSpec `json:"spec"` + Status GatewayPublicIpAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayPublicIpAssociationList contains a list of GatewayPublicIpAssociations +type GatewayPublicIpAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GatewayPublicIpAssociation `json:"items"` +} + +// Repository type metadata. +var ( + GatewayPublicIpAssociation_Kind = "GatewayPublicIpAssociation" + GatewayPublicIpAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GatewayPublicIpAssociation_Kind}.String() + GatewayPublicIpAssociation_KindAPIVersion = GatewayPublicIpAssociation_Kind + "." + CRDGroupVersion.String() + GatewayPublicIpAssociation_GroupVersionKind = CRDGroupVersion.WithKind(GatewayPublicIpAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&GatewayPublicIpAssociation{}, &GatewayPublicIpAssociationList{}) +} diff --git a/apis/nat/v1alpha1/zz_gatewaypublicipprefixassociation_terraformed.go b/apis/nat/v1alpha1/zz_gatewaypublicipprefixassociation_terraformed.go new file mode 100755 index 000000000..b319cd3be --- /dev/null +++ b/apis/nat/v1alpha1/zz_gatewaypublicipprefixassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this GatewayPublicIpPrefixAssociation +func (mg *GatewayPublicIpPrefixAssociation) GetTerraformResourceType() string { + return "azurerm_nat_gateway_public_ip_prefix_association" +} + +// GetConnectionDetailsMapping for this GatewayPublicIpPrefixAssociation +func (tr *GatewayPublicIpPrefixAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this GatewayPublicIpPrefixAssociation +func (tr *GatewayPublicIpPrefixAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this GatewayPublicIpPrefixAssociation +func (tr *GatewayPublicIpPrefixAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this GatewayPublicIpPrefixAssociation +func (tr *GatewayPublicIpPrefixAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this GatewayPublicIpPrefixAssociation +func (tr *GatewayPublicIpPrefixAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this GatewayPublicIpPrefixAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *GatewayPublicIpPrefixAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &GatewayPublicIpPrefixAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *GatewayPublicIpPrefixAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/nat/v1alpha1/zz_gatewaypublicipprefixassociation_types.go b/apis/nat/v1alpha1/zz_gatewaypublicipprefixassociation_types.go new file mode 100755 index 000000000..34f27305d --- /dev/null +++ b/apis/nat/v1alpha1/zz_gatewaypublicipprefixassociation_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GatewayPublicIpPrefixAssociationObservation struct { +} + +type GatewayPublicIpPrefixAssociationParameters struct { + + // +kubebuilder:validation:Required + NatGatewayID *string `json:"natGatewayId" tf:"nat_gateway_id,omitempty"` + + // +kubebuilder:validation:Required + PublicIPPrefixID *string `json:"publicIpPrefixId" tf:"public_ip_prefix_id,omitempty"` +} + +// GatewayPublicIpPrefixAssociationSpec defines the desired state of GatewayPublicIpPrefixAssociation +type GatewayPublicIpPrefixAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GatewayPublicIpPrefixAssociationParameters `json:"forProvider"` +} + +// GatewayPublicIpPrefixAssociationStatus defines the observed state of GatewayPublicIpPrefixAssociation. +type GatewayPublicIpPrefixAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GatewayPublicIpPrefixAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayPublicIpPrefixAssociation is the Schema for the GatewayPublicIpPrefixAssociations API +// +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,azurejet} +type GatewayPublicIpPrefixAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GatewayPublicIpPrefixAssociationSpec `json:"spec"` + Status GatewayPublicIpPrefixAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayPublicIpPrefixAssociationList contains a list of GatewayPublicIpPrefixAssociations +type GatewayPublicIpPrefixAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GatewayPublicIpPrefixAssociation `json:"items"` +} + +// Repository type metadata. +var ( + GatewayPublicIpPrefixAssociation_Kind = "GatewayPublicIpPrefixAssociation" + GatewayPublicIpPrefixAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GatewayPublicIpPrefixAssociation_Kind}.String() + GatewayPublicIpPrefixAssociation_KindAPIVersion = GatewayPublicIpPrefixAssociation_Kind + "." + CRDGroupVersion.String() + GatewayPublicIpPrefixAssociation_GroupVersionKind = CRDGroupVersion.WithKind(GatewayPublicIpPrefixAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&GatewayPublicIpPrefixAssociation{}, &GatewayPublicIpPrefixAssociationList{}) +} diff --git a/apis/nat/v1alpha1/zz_generated.deepcopy.go b/apis/nat/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..57a292ee0 --- /dev/null +++ b/apis/nat/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,492 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Gateway) DeepCopyInto(out *Gateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway. +func (in *Gateway) DeepCopy() *Gateway { + if in == nil { + return nil + } + out := new(Gateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Gateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayList) DeepCopyInto(out *GatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Gateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. +func (in *GatewayList) DeepCopy() *GatewayList { + if in == nil { + return nil + } + out := new(GatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation) { + *out = *in + if in.ResourceGUID != nil { + in, out := &in.ResourceGUID, &out.ResourceGUID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. +func (in *GatewayObservation) DeepCopy() *GatewayObservation { + if in == nil { + return nil + } + out := new(GatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { + *out = *in + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPAddressIds != nil { + in, out := &in.PublicIPAddressIds, &out.PublicIPAddressIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PublicIPPrefixIds != nil { + in, out := &in.PublicIPPrefixIds, &out.PublicIPPrefixIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. +func (in *GatewayParameters) DeepCopy() *GatewayParameters { + if in == nil { + return nil + } + out := new(GatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpAssociation) DeepCopyInto(out *GatewayPublicIpAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpAssociation. +func (in *GatewayPublicIpAssociation) DeepCopy() *GatewayPublicIpAssociation { + if in == nil { + return nil + } + out := new(GatewayPublicIpAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayPublicIpAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpAssociationList) DeepCopyInto(out *GatewayPublicIpAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GatewayPublicIpAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpAssociationList. +func (in *GatewayPublicIpAssociationList) DeepCopy() *GatewayPublicIpAssociationList { + if in == nil { + return nil + } + out := new(GatewayPublicIpAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayPublicIpAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpAssociationObservation) DeepCopyInto(out *GatewayPublicIpAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpAssociationObservation. +func (in *GatewayPublicIpAssociationObservation) DeepCopy() *GatewayPublicIpAssociationObservation { + if in == nil { + return nil + } + out := new(GatewayPublicIpAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpAssociationParameters) DeepCopyInto(out *GatewayPublicIpAssociationParameters) { + *out = *in + if in.NatGatewayID != nil { + in, out := &in.NatGatewayID, &out.NatGatewayID + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpAssociationParameters. +func (in *GatewayPublicIpAssociationParameters) DeepCopy() *GatewayPublicIpAssociationParameters { + if in == nil { + return nil + } + out := new(GatewayPublicIpAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpAssociationSpec) DeepCopyInto(out *GatewayPublicIpAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpAssociationSpec. +func (in *GatewayPublicIpAssociationSpec) DeepCopy() *GatewayPublicIpAssociationSpec { + if in == nil { + return nil + } + out := new(GatewayPublicIpAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpAssociationStatus) DeepCopyInto(out *GatewayPublicIpAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpAssociationStatus. +func (in *GatewayPublicIpAssociationStatus) DeepCopy() *GatewayPublicIpAssociationStatus { + if in == nil { + return nil + } + out := new(GatewayPublicIpAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpPrefixAssociation) DeepCopyInto(out *GatewayPublicIpPrefixAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpPrefixAssociation. +func (in *GatewayPublicIpPrefixAssociation) DeepCopy() *GatewayPublicIpPrefixAssociation { + if in == nil { + return nil + } + out := new(GatewayPublicIpPrefixAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayPublicIpPrefixAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpPrefixAssociationList) DeepCopyInto(out *GatewayPublicIpPrefixAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GatewayPublicIpPrefixAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpPrefixAssociationList. +func (in *GatewayPublicIpPrefixAssociationList) DeepCopy() *GatewayPublicIpPrefixAssociationList { + if in == nil { + return nil + } + out := new(GatewayPublicIpPrefixAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayPublicIpPrefixAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpPrefixAssociationObservation) DeepCopyInto(out *GatewayPublicIpPrefixAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpPrefixAssociationObservation. +func (in *GatewayPublicIpPrefixAssociationObservation) DeepCopy() *GatewayPublicIpPrefixAssociationObservation { + if in == nil { + return nil + } + out := new(GatewayPublicIpPrefixAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpPrefixAssociationParameters) DeepCopyInto(out *GatewayPublicIpPrefixAssociationParameters) { + *out = *in + if in.NatGatewayID != nil { + in, out := &in.NatGatewayID, &out.NatGatewayID + *out = new(string) + **out = **in + } + if in.PublicIPPrefixID != nil { + in, out := &in.PublicIPPrefixID, &out.PublicIPPrefixID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpPrefixAssociationParameters. +func (in *GatewayPublicIpPrefixAssociationParameters) DeepCopy() *GatewayPublicIpPrefixAssociationParameters { + if in == nil { + return nil + } + out := new(GatewayPublicIpPrefixAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpPrefixAssociationSpec) DeepCopyInto(out *GatewayPublicIpPrefixAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpPrefixAssociationSpec. +func (in *GatewayPublicIpPrefixAssociationSpec) DeepCopy() *GatewayPublicIpPrefixAssociationSpec { + if in == nil { + return nil + } + out := new(GatewayPublicIpPrefixAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayPublicIpPrefixAssociationStatus) DeepCopyInto(out *GatewayPublicIpPrefixAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayPublicIpPrefixAssociationStatus. +func (in *GatewayPublicIpPrefixAssociationStatus) DeepCopy() *GatewayPublicIpPrefixAssociationStatus { + if in == nil { + return nil + } + out := new(GatewayPublicIpPrefixAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. +func (in *GatewaySpec) DeepCopy() *GatewaySpec { + if in == nil { + return nil + } + out := new(GatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. +func (in *GatewayStatus) DeepCopy() *GatewayStatus { + if in == nil { + return nil + } + out := new(GatewayStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/nat/v1alpha1/zz_generated.managed.go b/apis/nat/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..05a4432cf --- /dev/null +++ b/apis/nat/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Gateway. +func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Gateway. +func (mg *Gateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Gateway. +func (mg *Gateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Gateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Gateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Gateway. +func (mg *Gateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Gateway. +func (mg *Gateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Gateway. +func (mg *Gateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Gateway. +func (mg *Gateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Gateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Gateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Gateway. +func (mg *Gateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this GatewayPublicIpAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *GatewayPublicIpAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this GatewayPublicIpAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *GatewayPublicIpAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this GatewayPublicIpAssociation. +func (mg *GatewayPublicIpAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this GatewayPublicIpPrefixAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *GatewayPublicIpPrefixAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this GatewayPublicIpPrefixAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *GatewayPublicIpPrefixAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this GatewayPublicIpPrefixAssociation. +func (mg *GatewayPublicIpPrefixAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/nat/v1alpha1/zz_generated.managedlist.go b/apis/nat/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..6dfb71571 --- /dev/null +++ b/apis/nat/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this GatewayList. +func (l *GatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this GatewayPublicIpAssociationList. +func (l *GatewayPublicIpAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this GatewayPublicIpPrefixAssociationList. +func (l *GatewayPublicIpPrefixAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/nat/v1alpha1/zz_groupversion_info.go b/apis/nat/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..66d456624 --- /dev/null +++ b/apis/nat/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=nat.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "nat.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/netapp/v1alpha1/zz_account_terraformed.go b/apis/netapp/v1alpha1/zz_account_terraformed.go new file mode 100755 index 000000000..3ddd36d95 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_account_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Account +func (mg *Account) GetTerraformResourceType() string { + return "azurerm_netapp_account" +} + +// GetConnectionDetailsMapping for this Account +func (tr *Account) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"active_directory[*].password": "spec.forProvider.activeDirectory[*].passwordSecretRef"} +} + +// GetObservation of this Account +func (tr *Account) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Account +func (tr *Account) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Account +func (tr *Account) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Account +func (tr *Account) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Account using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Account) LateInitialize(attrs []byte) (bool, error) { + params := &AccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Account) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/netapp/v1alpha1/zz_account_types.go b/apis/netapp/v1alpha1/zz_account_types.go new file mode 100755 index 000000000..952137ac5 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_account_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountObservation struct { +} + +type AccountParameters struct { + + // +kubebuilder:validation:Optional + ActiveDirectory []ActiveDirectoryParameters `json:"activeDirectory,omitempty" tf:"active_directory,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type ActiveDirectoryObservation struct { +} + +type ActiveDirectoryParameters struct { + + // +kubebuilder:validation:Required + DNSServers []*string `json:"dnsServers" tf:"dns_servers,omitempty"` + + // +kubebuilder:validation:Required + Domain *string `json:"domain" tf:"domain,omitempty"` + + // +kubebuilder:validation:Optional + OrganizationalUnit *string `json:"organizationalUnit,omitempty" tf:"organizational_unit,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SmbServerName *string `json:"smbServerName" tf:"smb_server_name,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// AccountSpec defines the desired state of Account +type AccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountParameters `json:"forProvider"` +} + +// AccountStatus defines the observed state of Account. +type AccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Account is the Schema for the Accounts API +// +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,azurejet} +type Account struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountSpec `json:"spec"` + Status AccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountList contains a list of Accounts +type AccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Account `json:"items"` +} + +// Repository type metadata. +var ( + Account_Kind = "Account" + Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() + Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() + Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) +) + +func init() { + SchemeBuilder.Register(&Account{}, &AccountList{}) +} diff --git a/apis/netapp/v1alpha1/zz_generated.deepcopy.go b/apis/netapp/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..c08325f86 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,954 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Account) DeepCopyInto(out *Account) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account. +func (in *Account) DeepCopy() *Account { + if in == nil { + return nil + } + out := new(Account) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Account) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil + } + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation. +func (in *AccountObservation) DeepCopy() *AccountObservation { + if in == nil { + return nil + } + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.ActiveDirectory != nil { + in, out := &in.ActiveDirectory, &out.ActiveDirectory + *out = make([]ActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryObservation) DeepCopyInto(out *ActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryObservation. +func (in *ActiveDirectoryObservation) DeepCopy() *ActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(ActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryParameters) DeepCopyInto(out *ActiveDirectoryParameters) { + *out = *in + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Domain != nil { + in, out := &in.Domain, &out.Domain + *out = new(string) + **out = **in + } + if in.OrganizationalUnit != nil { + in, out := &in.OrganizationalUnit, &out.OrganizationalUnit + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.SmbServerName != nil { + in, out := &in.SmbServerName, &out.SmbServerName + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryParameters. +func (in *ActiveDirectoryParameters) DeepCopy() *ActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(ActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataProtectionReplicationObservation) DeepCopyInto(out *DataProtectionReplicationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProtectionReplicationObservation. +func (in *DataProtectionReplicationObservation) DeepCopy() *DataProtectionReplicationObservation { + if in == nil { + return nil + } + out := new(DataProtectionReplicationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataProtectionReplicationParameters) DeepCopyInto(out *DataProtectionReplicationParameters) { + *out = *in + if in.EndpointType != nil { + in, out := &in.EndpointType, &out.EndpointType + *out = new(string) + **out = **in + } + if in.RemoteVolumeLocation != nil { + in, out := &in.RemoteVolumeLocation, &out.RemoteVolumeLocation + *out = new(string) + **out = **in + } + if in.RemoteVolumeResourceID != nil { + in, out := &in.RemoteVolumeResourceID, &out.RemoteVolumeResourceID + *out = new(string) + **out = **in + } + if in.ReplicationFrequency != nil { + in, out := &in.ReplicationFrequency, &out.ReplicationFrequency + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataProtectionReplicationParameters. +func (in *DataProtectionReplicationParameters) DeepCopy() *DataProtectionReplicationParameters { + if in == nil { + return nil + } + out := new(DataProtectionReplicationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExportPolicyRuleObservation) DeepCopyInto(out *ExportPolicyRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportPolicyRuleObservation. +func (in *ExportPolicyRuleObservation) DeepCopy() *ExportPolicyRuleObservation { + if in == nil { + return nil + } + out := new(ExportPolicyRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExportPolicyRuleParameters) DeepCopyInto(out *ExportPolicyRuleParameters) { + *out = *in + if in.AllowedClients != nil { + in, out := &in.AllowedClients, &out.AllowedClients + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.CifsEnabled != nil { + in, out := &in.CifsEnabled, &out.CifsEnabled + *out = new(bool) + **out = **in + } + if in.Nfsv3Enabled != nil { + in, out := &in.Nfsv3Enabled, &out.Nfsv3Enabled + *out = new(bool) + **out = **in + } + if in.Nfsv4Enabled != nil { + in, out := &in.Nfsv4Enabled, &out.Nfsv4Enabled + *out = new(bool) + **out = **in + } + if in.ProtocolsEnabled != nil { + in, out := &in.ProtocolsEnabled, &out.ProtocolsEnabled + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RootAccessEnabled != nil { + in, out := &in.RootAccessEnabled, &out.RootAccessEnabled + *out = new(bool) + **out = **in + } + if in.RuleIndex != nil { + in, out := &in.RuleIndex, &out.RuleIndex + *out = new(int64) + **out = **in + } + if in.UnixReadOnly != nil { + in, out := &in.UnixReadOnly, &out.UnixReadOnly + *out = new(bool) + **out = **in + } + if in.UnixReadWrite != nil { + in, out := &in.UnixReadWrite, &out.UnixReadWrite + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportPolicyRuleParameters. +func (in *ExportPolicyRuleParameters) DeepCopy() *ExportPolicyRuleParameters { + if in == nil { + return nil + } + out := new(ExportPolicyRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Pool) DeepCopyInto(out *Pool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pool. +func (in *Pool) DeepCopy() *Pool { + if in == nil { + return nil + } + out := new(Pool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Pool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolList) DeepCopyInto(out *PoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Pool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolList. +func (in *PoolList) DeepCopy() *PoolList { + if in == nil { + return nil + } + out := new(PoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolObservation) DeepCopyInto(out *PoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolObservation. +func (in *PoolObservation) DeepCopy() *PoolObservation { + if in == nil { + return nil + } + out := new(PoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolParameters) DeepCopyInto(out *PoolParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServiceLevel != nil { + in, out := &in.ServiceLevel, &out.ServiceLevel + *out = new(string) + **out = **in + } + if in.SizeInTb != nil { + in, out := &in.SizeInTb, &out.SizeInTb + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolParameters. +func (in *PoolParameters) DeepCopy() *PoolParameters { + if in == nil { + return nil + } + out := new(PoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolSpec) DeepCopyInto(out *PoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec. +func (in *PoolSpec) DeepCopy() *PoolSpec { + if in == nil { + return nil + } + out := new(PoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PoolStatus) DeepCopyInto(out *PoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus. +func (in *PoolStatus) DeepCopy() *PoolStatus { + if in == nil { + return nil + } + out := new(PoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Snapshot) DeepCopyInto(out *Snapshot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot. +func (in *Snapshot) DeepCopy() *Snapshot { + if in == nil { + return nil + } + out := new(Snapshot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Snapshot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotList) DeepCopyInto(out *SnapshotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Snapshot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList. +func (in *SnapshotList) DeepCopy() *SnapshotList { + if in == nil { + return nil + } + out := new(SnapshotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SnapshotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotObservation. +func (in *SnapshotObservation) DeepCopy() *SnapshotObservation { + if in == nil { + return nil + } + out := new(SnapshotObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PoolName != nil { + in, out := &in.PoolName, &out.PoolName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VolumeName != nil { + in, out := &in.VolumeName, &out.VolumeName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotParameters. +func (in *SnapshotParameters) DeepCopy() *SnapshotParameters { + if in == nil { + return nil + } + out := new(SnapshotParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec. +func (in *SnapshotSpec) DeepCopy() *SnapshotSpec { + if in == nil { + return nil + } + out := new(SnapshotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus. +func (in *SnapshotStatus) DeepCopy() *SnapshotStatus { + if in == nil { + return nil + } + out := new(SnapshotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Volume) DeepCopyInto(out *Volume) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. +func (in *Volume) DeepCopy() *Volume { + if in == nil { + return nil + } + out := new(Volume) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Volume) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeList) DeepCopyInto(out *VolumeList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Volume, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList. +func (in *VolumeList) DeepCopy() *VolumeList { + if in == nil { + return nil + } + out := new(VolumeList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeObservation) DeepCopyInto(out *VolumeObservation) { + *out = *in + if in.MountIPAddresses != nil { + in, out := &in.MountIPAddresses, &out.MountIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeObservation. +func (in *VolumeObservation) DeepCopy() *VolumeObservation { + if in == nil { + return nil + } + out := new(VolumeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeParameters) DeepCopyInto(out *VolumeParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.CreateFromSnapshotResourceID != nil { + in, out := &in.CreateFromSnapshotResourceID, &out.CreateFromSnapshotResourceID + *out = new(string) + **out = **in + } + if in.DataProtectionReplication != nil { + in, out := &in.DataProtectionReplication, &out.DataProtectionReplication + *out = make([]DataProtectionReplicationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExportPolicyRule != nil { + in, out := &in.ExportPolicyRule, &out.ExportPolicyRule + *out = make([]ExportPolicyRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PoolName != nil { + in, out := &in.PoolName, &out.PoolName + *out = new(string) + **out = **in + } + if in.Protocols != nil { + in, out := &in.Protocols, &out.Protocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SecurityStyle != nil { + in, out := &in.SecurityStyle, &out.SecurityStyle + *out = new(string) + **out = **in + } + if in.ServiceLevel != nil { + in, out := &in.ServiceLevel, &out.ServiceLevel + *out = new(string) + **out = **in + } + if in.SnapshotDirectoryVisible != nil { + in, out := &in.SnapshotDirectoryVisible, &out.SnapshotDirectoryVisible + *out = new(bool) + **out = **in + } + if in.StorageQuotaInGb != nil { + in, out := &in.StorageQuotaInGb, &out.StorageQuotaInGb + *out = new(int64) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VolumePath != nil { + in, out := &in.VolumePath, &out.VolumePath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeParameters. +func (in *VolumeParameters) DeepCopy() *VolumeParameters { + if in == nil { + return nil + } + out := new(VolumeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec. +func (in *VolumeSpec) DeepCopy() *VolumeSpec { + if in == nil { + return nil + } + out := new(VolumeSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus. +func (in *VolumeStatus) DeepCopy() *VolumeStatus { + if in == nil { + return nil + } + out := new(VolumeStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/netapp/v1alpha1/zz_generated.managed.go b/apis/netapp/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..b757487f9 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Account. +func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Account. +func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Account. +func (mg *Account) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Account. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Account) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Account. +func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Account. +func (mg *Account) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Account. +func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Account. +func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Account. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Account) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Account. +func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Pool. +func (mg *Pool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Pool. +func (mg *Pool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Pool. +func (mg *Pool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Pool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Pool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Pool. +func (mg *Pool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Pool. +func (mg *Pool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Pool. +func (mg *Pool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Pool. +func (mg *Pool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Pool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Pool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Pool. +func (mg *Pool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Snapshot. +func (mg *Snapshot) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Snapshot. +func (mg *Snapshot) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Snapshot. +func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Snapshot. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Snapshot) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Snapshot. +func (mg *Snapshot) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Snapshot. +func (mg *Snapshot) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Snapshot. +func (mg *Snapshot) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Snapshot. +func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Snapshot. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Snapshot) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Snapshot. +func (mg *Snapshot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Volume. +func (mg *Volume) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Volume. +func (mg *Volume) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Volume. +func (mg *Volume) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Volume. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Volume) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Volume. +func (mg *Volume) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Volume. +func (mg *Volume) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Volume. +func (mg *Volume) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Volume. +func (mg *Volume) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Volume. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Volume) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Volume. +func (mg *Volume) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/netapp/v1alpha1/zz_generated.managedlist.go b/apis/netapp/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..8c410be18 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccountList. +func (l *AccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PoolList. +func (l *PoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SnapshotList. +func (l *SnapshotList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VolumeList. +func (l *VolumeList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/netapp/v1alpha1/zz_groupversion_info.go b/apis/netapp/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..37086e776 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=netapp.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "netapp.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/netapp/v1alpha1/zz_pool_terraformed.go b/apis/netapp/v1alpha1/zz_pool_terraformed.go new file mode 100755 index 000000000..76a378fa4 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_pool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Pool +func (mg *Pool) GetTerraformResourceType() string { + return "azurerm_netapp_pool" +} + +// GetConnectionDetailsMapping for this Pool +func (tr *Pool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Pool +func (tr *Pool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Pool +func (tr *Pool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Pool +func (tr *Pool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Pool +func (tr *Pool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Pool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Pool) LateInitialize(attrs []byte) (bool, error) { + params := &PoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Pool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/netapp/v1alpha1/zz_pool_types.go b/apis/netapp/v1alpha1/zz_pool_types.go new file mode 100755 index 000000000..78e3483c1 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_pool_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PoolObservation struct { +} + +type PoolParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServiceLevel *string `json:"serviceLevel" tf:"service_level,omitempty"` + + // +kubebuilder:validation:Required + SizeInTb *int64 `json:"sizeInTb" tf:"size_in_tb,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// PoolSpec defines the desired state of Pool +type PoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PoolParameters `json:"forProvider"` +} + +// PoolStatus defines the observed state of Pool. +type PoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Pool is the Schema for the Pools API +// +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,azurejet} +type Pool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PoolSpec `json:"spec"` + Status PoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PoolList contains a list of Pools +type PoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Pool `json:"items"` +} + +// Repository type metadata. +var ( + Pool_Kind = "Pool" + Pool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Pool_Kind}.String() + Pool_KindAPIVersion = Pool_Kind + "." + CRDGroupVersion.String() + Pool_GroupVersionKind = CRDGroupVersion.WithKind(Pool_Kind) +) + +func init() { + SchemeBuilder.Register(&Pool{}, &PoolList{}) +} diff --git a/apis/netapp/v1alpha1/zz_snapshot_terraformed.go b/apis/netapp/v1alpha1/zz_snapshot_terraformed.go new file mode 100755 index 000000000..c5bef2cd8 --- /dev/null +++ b/apis/netapp/v1alpha1/zz_snapshot_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Snapshot +func (mg *Snapshot) GetTerraformResourceType() string { + return "azurerm_netapp_snapshot" +} + +// GetConnectionDetailsMapping for this Snapshot +func (tr *Snapshot) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Snapshot +func (tr *Snapshot) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Snapshot +func (tr *Snapshot) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Snapshot +func (tr *Snapshot) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Snapshot +func (tr *Snapshot) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Snapshot using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Snapshot) LateInitialize(attrs []byte) (bool, error) { + params := &SnapshotParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Snapshot) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/netapp/v1alpha1/zz_snapshot_types.go b/apis/netapp/v1alpha1/zz_snapshot_types.go new file mode 100755 index 000000000..5a99f8a0e --- /dev/null +++ b/apis/netapp/v1alpha1/zz_snapshot_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SnapshotObservation struct { +} + +type SnapshotParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PoolName *string `json:"poolName" tf:"pool_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VolumeName *string `json:"volumeName" tf:"volume_name,omitempty"` +} + +// SnapshotSpec defines the desired state of Snapshot +type SnapshotSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SnapshotParameters `json:"forProvider"` +} + +// SnapshotStatus defines the observed state of Snapshot. +type SnapshotStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SnapshotObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Snapshot is the Schema for the Snapshots API +// +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,azurejet} +type Snapshot struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SnapshotSpec `json:"spec"` + Status SnapshotStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SnapshotList contains a list of Snapshots +type SnapshotList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Snapshot `json:"items"` +} + +// Repository type metadata. +var ( + Snapshot_Kind = "Snapshot" + Snapshot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String() + Snapshot_KindAPIVersion = Snapshot_Kind + "." + CRDGroupVersion.String() + Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind) +) + +func init() { + SchemeBuilder.Register(&Snapshot{}, &SnapshotList{}) +} diff --git a/apis/netapp/v1alpha1/zz_volume_terraformed.go b/apis/netapp/v1alpha1/zz_volume_terraformed.go new file mode 100755 index 000000000..61c8925af --- /dev/null +++ b/apis/netapp/v1alpha1/zz_volume_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Volume +func (mg *Volume) GetTerraformResourceType() string { + return "azurerm_netapp_volume" +} + +// GetConnectionDetailsMapping for this Volume +func (tr *Volume) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Volume +func (tr *Volume) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Volume +func (tr *Volume) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Volume +func (tr *Volume) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Volume +func (tr *Volume) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Volume using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Volume) LateInitialize(attrs []byte) (bool, error) { + params := &VolumeParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Volume) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/netapp/v1alpha1/zz_volume_types.go b/apis/netapp/v1alpha1/zz_volume_types.go new file mode 100755 index 000000000..b9b84a22c --- /dev/null +++ b/apis/netapp/v1alpha1/zz_volume_types.go @@ -0,0 +1,181 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataProtectionReplicationObservation struct { +} + +type DataProtectionReplicationParameters struct { + + // +kubebuilder:validation:Optional + EndpointType *string `json:"endpointType,omitempty" tf:"endpoint_type,omitempty"` + + // +kubebuilder:validation:Required + RemoteVolumeLocation *string `json:"remoteVolumeLocation" tf:"remote_volume_location,omitempty"` + + // +kubebuilder:validation:Required + RemoteVolumeResourceID *string `json:"remoteVolumeResourceId" tf:"remote_volume_resource_id,omitempty"` + + // +kubebuilder:validation:Required + ReplicationFrequency *string `json:"replicationFrequency" tf:"replication_frequency,omitempty"` +} + +type ExportPolicyRuleObservation struct { +} + +type ExportPolicyRuleParameters struct { + + // +kubebuilder:validation:Required + AllowedClients []*string `json:"allowedClients" tf:"allowed_clients,omitempty"` + + // +kubebuilder:validation:Optional + CifsEnabled *bool `json:"cifsEnabled,omitempty" tf:"cifs_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Nfsv3Enabled *bool `json:"nfsv3Enabled,omitempty" tf:"nfsv3_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Nfsv4Enabled *bool `json:"nfsv4Enabled,omitempty" tf:"nfsv4_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ProtocolsEnabled []*string `json:"protocolsEnabled,omitempty" tf:"protocols_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RootAccessEnabled *bool `json:"rootAccessEnabled,omitempty" tf:"root_access_enabled,omitempty"` + + // +kubebuilder:validation:Required + RuleIndex *int64 `json:"ruleIndex" tf:"rule_index,omitempty"` + + // +kubebuilder:validation:Optional + UnixReadOnly *bool `json:"unixReadOnly,omitempty" tf:"unix_read_only,omitempty"` + + // +kubebuilder:validation:Optional + UnixReadWrite *bool `json:"unixReadWrite,omitempty" tf:"unix_read_write,omitempty"` +} + +type VolumeObservation struct { + MountIPAddresses []*string `json:"mountIpAddresses,omitempty" tf:"mount_ip_addresses,omitempty"` +} + +type VolumeParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Optional + CreateFromSnapshotResourceID *string `json:"createFromSnapshotResourceId,omitempty" tf:"create_from_snapshot_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + DataProtectionReplication []DataProtectionReplicationParameters `json:"dataProtectionReplication,omitempty" tf:"data_protection_replication,omitempty"` + + // +kubebuilder:validation:Optional + ExportPolicyRule []ExportPolicyRuleParameters `json:"exportPolicyRule,omitempty" tf:"export_policy_rule,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PoolName *string `json:"poolName" tf:"pool_name,omitempty"` + + // +kubebuilder:validation:Optional + Protocols []*string `json:"protocols,omitempty" tf:"protocols,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SecurityStyle *string `json:"securityStyle,omitempty" tf:"security_style,omitempty"` + + // +kubebuilder:validation:Required + ServiceLevel *string `json:"serviceLevel" tf:"service_level,omitempty"` + + // +kubebuilder:validation:Optional + SnapshotDirectoryVisible *bool `json:"snapshotDirectoryVisible,omitempty" tf:"snapshot_directory_visible,omitempty"` + + // +kubebuilder:validation:Required + StorageQuotaInGb *int64 `json:"storageQuotaInGb" tf:"storage_quota_in_gb,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VolumePath *string `json:"volumePath" tf:"volume_path,omitempty"` +} + +// VolumeSpec defines the desired state of Volume +type VolumeSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VolumeParameters `json:"forProvider"` +} + +// VolumeStatus defines the observed state of Volume. +type VolumeStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VolumeObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Volume is the Schema for the Volumes API +// +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,azurejet} +type Volume struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VolumeSpec `json:"spec"` + Status VolumeStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VolumeList contains a list of Volumes +type VolumeList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Volume `json:"items"` +} + +// Repository type metadata. +var ( + Volume_Kind = "Volume" + Volume_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Volume_Kind}.String() + Volume_KindAPIVersion = Volume_Kind + "." + CRDGroupVersion.String() + Volume_GroupVersionKind = CRDGroupVersion.WithKind(Volume_Kind) +) + +func init() { + SchemeBuilder.Register(&Volume{}, &VolumeList{}) +} diff --git a/apis/network/v1alpha1/zz_connectionmonitor_terraformed.go b/apis/network/v1alpha1/zz_connectionmonitor_terraformed.go new file mode 100755 index 000000000..07a109db2 --- /dev/null +++ b/apis/network/v1alpha1/zz_connectionmonitor_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ConnectionMonitor +func (mg *ConnectionMonitor) GetTerraformResourceType() string { + return "azurerm_network_connection_monitor" +} + +// GetConnectionDetailsMapping for this ConnectionMonitor +func (tr *ConnectionMonitor) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ConnectionMonitor +func (tr *ConnectionMonitor) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ConnectionMonitor +func (tr *ConnectionMonitor) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ConnectionMonitor +func (tr *ConnectionMonitor) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ConnectionMonitor +func (tr *ConnectionMonitor) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ConnectionMonitor using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ConnectionMonitor) LateInitialize(attrs []byte) (bool, error) { + params := &ConnectionMonitorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ConnectionMonitor) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_connectionmonitor_types.go b/apis/network/v1alpha1/zz_connectionmonitor_types.go new file mode 100755 index 000000000..dea636890 --- /dev/null +++ b/apis/network/v1alpha1/zz_connectionmonitor_types.go @@ -0,0 +1,324 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionMonitorObservation struct { +} + +type ConnectionMonitorParameters struct { + + // +kubebuilder:validation:Optional + AutoStart *bool `json:"autoStart,omitempty" tf:"auto_start,omitempty"` + + // +kubebuilder:validation:Optional + Destination []DestinationParameters `json:"destination,omitempty" tf:"destination,omitempty"` + + // +kubebuilder:validation:Required + Endpoint []EndpointParameters `json:"endpoint" tf:"endpoint,omitempty"` + + // +kubebuilder:validation:Optional + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty" tf:"interval_in_seconds,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkWatcherID *string `json:"networkWatcherId" tf:"network_watcher_id,omitempty"` + + // +kubebuilder:validation:Optional + Notes *string `json:"notes,omitempty" tf:"notes,omitempty"` + + // +kubebuilder:validation:Optional + OutputWorkspaceResourceIds []*string `json:"outputWorkspaceResourceIds,omitempty" tf:"output_workspace_resource_ids,omitempty"` + + // +kubebuilder:validation:Optional + Source []SourceParameters `json:"source,omitempty" tf:"source,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TestConfiguration []TestConfigurationParameters `json:"testConfiguration" tf:"test_configuration,omitempty"` + + // +kubebuilder:validation:Required + TestGroup []TestGroupParameters `json:"testGroup" tf:"test_group,omitempty"` +} + +type DestinationObservation struct { +} + +type DestinationParameters struct { + + // +kubebuilder:validation:Optional + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + // +kubebuilder:validation:Optional + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +type EndpointObservation struct { +} + +type EndpointParameters struct { + + // +kubebuilder:validation:Optional + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + CoverageLevel *string `json:"coverageLevel,omitempty" tf:"coverage_level,omitempty"` + + // +kubebuilder:validation:Optional + ExcludedIPAddresses []*string `json:"excludedIpAddresses,omitempty" tf:"excluded_ip_addresses,omitempty"` + + // +kubebuilder:validation:Optional + Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Optional + IncludedIPAddresses []*string `json:"includedIpAddresses,omitempty" tf:"included_ip_addresses,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceType *string `json:"targetResourceType,omitempty" tf:"target_resource_type,omitempty"` + + // +kubebuilder:validation:Optional + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +type FilterObservation struct { +} + +type FilterParameters struct { + + // +kubebuilder:validation:Optional + Item []ItemParameters `json:"item,omitempty" tf:"item,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type HTTPConfigurationObservation struct { +} + +type HTTPConfigurationParameters struct { + + // +kubebuilder:validation:Optional + Method *string `json:"method,omitempty" tf:"method,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Optional + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + // +kubebuilder:validation:Optional + PreferHTTPS *bool `json:"preferHttps,omitempty" tf:"prefer_https,omitempty"` + + // +kubebuilder:validation:Optional + RequestHeader []RequestHeaderParameters `json:"requestHeader,omitempty" tf:"request_header,omitempty"` + + // +kubebuilder:validation:Optional + ValidStatusCodeRanges []*string `json:"validStatusCodeRanges,omitempty" tf:"valid_status_code_ranges,omitempty"` +} + +type IcmpConfigurationObservation struct { +} + +type IcmpConfigurationParameters struct { + + // +kubebuilder:validation:Optional + TraceRouteEnabled *bool `json:"traceRouteEnabled,omitempty" tf:"trace_route_enabled,omitempty"` +} + +type ItemObservation struct { +} + +type ItemParameters struct { + + // +kubebuilder:validation:Optional + Address *string `json:"address,omitempty" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type RequestHeaderObservation struct { +} + +type RequestHeaderParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type SourceObservation struct { +} + +type SourceParameters struct { + + // +kubebuilder:validation:Optional + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + // +kubebuilder:validation:Optional + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +type SuccessThresholdObservation struct { +} + +type SuccessThresholdParameters struct { + + // +kubebuilder:validation:Optional + ChecksFailedPercent *int64 `json:"checksFailedPercent,omitempty" tf:"checks_failed_percent,omitempty"` + + // +kubebuilder:validation:Optional + RoundTripTimeMs *float64 `json:"roundTripTimeMs,omitempty" tf:"round_trip_time_ms,omitempty"` +} + +type TCPConfigurationObservation struct { +} + +type TCPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Optional + TraceRouteEnabled *bool `json:"traceRouteEnabled,omitempty" tf:"trace_route_enabled,omitempty"` +} + +type TestConfigurationObservation struct { +} + +type TestConfigurationParameters struct { + + // +kubebuilder:validation:Optional + HTTPConfiguration []HTTPConfigurationParameters `json:"httpConfiguration,omitempty" tf:"http_configuration,omitempty"` + + // +kubebuilder:validation:Optional + IcmpConfiguration []IcmpConfigurationParameters `json:"icmpConfiguration,omitempty" tf:"icmp_configuration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PreferredIPVersion *string `json:"preferredIpVersion,omitempty" tf:"preferred_ip_version,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + SuccessThreshold []SuccessThresholdParameters `json:"successThreshold,omitempty" tf:"success_threshold,omitempty"` + + // +kubebuilder:validation:Optional + TCPConfiguration []TCPConfigurationParameters `json:"tcpConfiguration,omitempty" tf:"tcp_configuration,omitempty"` + + // +kubebuilder:validation:Optional + TestFrequencyInSeconds *int64 `json:"testFrequencyInSeconds,omitempty" tf:"test_frequency_in_seconds,omitempty"` +} + +type TestGroupObservation struct { +} + +type TestGroupParameters struct { + + // +kubebuilder:validation:Required + DestinationEndpoints []*string `json:"destinationEndpoints" tf:"destination_endpoints,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SourceEndpoints []*string `json:"sourceEndpoints" tf:"source_endpoints,omitempty"` + + // +kubebuilder:validation:Required + TestConfigurationNames []*string `json:"testConfigurationNames" tf:"test_configuration_names,omitempty"` +} + +// ConnectionMonitorSpec defines the desired state of ConnectionMonitor +type ConnectionMonitorSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ConnectionMonitorParameters `json:"forProvider"` +} + +// ConnectionMonitorStatus defines the observed state of ConnectionMonitor. +type ConnectionMonitorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ConnectionMonitorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionMonitor is the Schema for the ConnectionMonitors API +// +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,azurejet} +type ConnectionMonitor struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectionMonitorSpec `json:"spec"` + Status ConnectionMonitorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ConnectionMonitorList contains a list of ConnectionMonitors +type ConnectionMonitorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ConnectionMonitor `json:"items"` +} + +// Repository type metadata. +var ( + ConnectionMonitor_Kind = "ConnectionMonitor" + ConnectionMonitor_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectionMonitor_Kind}.String() + ConnectionMonitor_KindAPIVersion = ConnectionMonitor_Kind + "." + CRDGroupVersion.String() + ConnectionMonitor_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionMonitor_Kind) +) + +func init() { + SchemeBuilder.Register(&ConnectionMonitor{}, &ConnectionMonitorList{}) +} diff --git a/apis/network/v1alpha1/zz_ddosprotectionplan_terraformed.go b/apis/network/v1alpha1/zz_ddosprotectionplan_terraformed.go new file mode 100755 index 000000000..9970a6df3 --- /dev/null +++ b/apis/network/v1alpha1/zz_ddosprotectionplan_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DdosProtectionPlan +func (mg *DdosProtectionPlan) GetTerraformResourceType() string { + return "azurerm_network_ddos_protection_plan" +} + +// GetConnectionDetailsMapping for this DdosProtectionPlan +func (tr *DdosProtectionPlan) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DdosProtectionPlan +func (tr *DdosProtectionPlan) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DdosProtectionPlan +func (tr *DdosProtectionPlan) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DdosProtectionPlan +func (tr *DdosProtectionPlan) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DdosProtectionPlan +func (tr *DdosProtectionPlan) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DdosProtectionPlan using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DdosProtectionPlan) LateInitialize(attrs []byte) (bool, error) { + params := &DdosProtectionPlanParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DdosProtectionPlan) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_ddosprotectionplan_types.go b/apis/network/v1alpha1/zz_ddosprotectionplan_types.go new file mode 100755 index 000000000..8bb20cdfb --- /dev/null +++ b/apis/network/v1alpha1/zz_ddosprotectionplan_types.go @@ -0,0 +1,94 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DdosProtectionPlanObservation struct { + VirtualNetworkIds []*string `json:"virtualNetworkIds,omitempty" tf:"virtual_network_ids,omitempty"` +} + +type DdosProtectionPlanParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// DdosProtectionPlanSpec defines the desired state of DdosProtectionPlan +type DdosProtectionPlanSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DdosProtectionPlanParameters `json:"forProvider"` +} + +// DdosProtectionPlanStatus defines the observed state of DdosProtectionPlan. +type DdosProtectionPlanStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DdosProtectionPlanObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DdosProtectionPlan is the Schema for the DdosProtectionPlans API +// +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,azurejet} +type DdosProtectionPlan struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DdosProtectionPlanSpec `json:"spec"` + Status DdosProtectionPlanStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DdosProtectionPlanList contains a list of DdosProtectionPlans +type DdosProtectionPlanList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DdosProtectionPlan `json:"items"` +} + +// Repository type metadata. +var ( + DdosProtectionPlan_Kind = "DdosProtectionPlan" + DdosProtectionPlan_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DdosProtectionPlan_Kind}.String() + DdosProtectionPlan_KindAPIVersion = DdosProtectionPlan_Kind + "." + CRDGroupVersion.String() + DdosProtectionPlan_GroupVersionKind = CRDGroupVersion.WithKind(DdosProtectionPlan_Kind) +) + +func init() { + SchemeBuilder.Register(&DdosProtectionPlan{}, &DdosProtectionPlanList{}) +} diff --git a/apis/network/v1alpha1/zz_generated.deepcopy.go b/apis/network/v1alpha1/zz_generated.deepcopy.go index 0149f2312..e476b343d 100644 --- a/apis/network/v1alpha1/zz_generated.deepcopy.go +++ b/apis/network/v1alpha1/zz_generated.deepcopy.go @@ -78,106 +78,108 @@ func (in *BgpSettingsParameters) DeepCopy() *BgpSettingsParameters { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomRouteObservation) DeepCopyInto(out *CustomRouteObservation) { +func (in *ConnectionMonitor) DeepCopyInto(out *ConnectionMonitor) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRouteObservation. -func (in *CustomRouteObservation) DeepCopy() *CustomRouteObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionMonitor. +func (in *ConnectionMonitor) DeepCopy() *ConnectionMonitor { if in == nil { return nil } - out := new(CustomRouteObservation) + out := new(ConnectionMonitor) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionMonitor) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomRouteParameters) DeepCopyInto(out *CustomRouteParameters) { +func (in *ConnectionMonitorList) DeepCopyInto(out *ConnectionMonitorList) { *out = *in - if in.AddressPrefixes != nil { - in, out := &in.AddressPrefixes, &out.AddressPrefixes - *out = make([]*string, len(*in)) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ConnectionMonitor, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRouteParameters. -func (in *CustomRouteParameters) DeepCopy() *CustomRouteParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionMonitorList. +func (in *ConnectionMonitorList) DeepCopy() *ConnectionMonitorList { if in == nil { return nil } - out := new(CustomRouteParameters) + out := new(ConnectionMonitorList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ConnectionMonitorList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DdosProtectionPlanObservation) DeepCopyInto(out *DdosProtectionPlanObservation) { +func (in *ConnectionMonitorObservation) DeepCopyInto(out *ConnectionMonitorObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanObservation. -func (in *DdosProtectionPlanObservation) DeepCopy() *DdosProtectionPlanObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionMonitorObservation. +func (in *ConnectionMonitorObservation) DeepCopy() *ConnectionMonitorObservation { if in == nil { return nil } - out := new(DdosProtectionPlanObservation) + out := new(ConnectionMonitorObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DdosProtectionPlanParameters) DeepCopyInto(out *DdosProtectionPlanParameters) { +func (in *ConnectionMonitorParameters) DeepCopyInto(out *ConnectionMonitorParameters) { *out = *in - if in.Enable != nil { - in, out := &in.Enable, &out.Enable + if in.AutoStart != nil { + in, out := &in.AutoStart, &out.AutoStart *out = new(bool) **out = **in } - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in + if in.Destination != nil { + in, out := &in.Destination, &out.Destination + *out = make([]DestinationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanParameters. -func (in *DdosProtectionPlanParameters) DeepCopy() *DdosProtectionPlanParameters { - if in == nil { - return nil + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = make([]EndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - out := new(DdosProtectionPlanParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. -func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { - if in == nil { - return nil + if in.IntervalInSeconds != nil { + in, out := &in.IntervalInSeconds, &out.IntervalInSeconds + *out = new(int64) + **out = **in } - out := new(DefinitionObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { - *out = *in - if in.Description != nil { - in, out := &in.Description, &out.Description + if in.Location != nil { + in, out := &in.Location, &out.Location *out = new(string) **out = **in } @@ -186,8 +188,18 @@ func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { *out = new(string) **out = **in } - if in.ServiceResources != nil { - in, out := &in.ServiceResources, &out.ServiceResources + if in.NetworkWatcherID != nil { + in, out := &in.NetworkWatcherID, &out.NetworkWatcherID + *out = new(string) + **out = **in + } + if in.Notes != nil { + in, out := &in.Notes, &out.Notes + *out = new(string) + **out = **in + } + if in.OutputWorkspaceResourceIds != nil { + in, out := &in.OutputWorkspaceResourceIds, &out.OutputWorkspaceResourceIds *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -197,301 +209,213 @@ func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { } } } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = make([]SourceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TestConfiguration != nil { + in, out := &in.TestConfiguration, &out.TestConfiguration + *out = make([]TestConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TestGroup != nil { + in, out := &in.TestGroup, &out.TestGroup + *out = make([]TestGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. -func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionMonitorParameters. +func (in *ConnectionMonitorParameters) DeepCopy() *ConnectionMonitorParameters { if in == nil { return nil } - out := new(DefinitionParameters) + out := new(ConnectionMonitorParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DelegationObservation) DeepCopyInto(out *DelegationObservation) { +func (in *ConnectionMonitorSpec) DeepCopyInto(out *ConnectionMonitorSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegationObservation. -func (in *DelegationObservation) DeepCopy() *DelegationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionMonitorSpec. +func (in *ConnectionMonitorSpec) DeepCopy() *ConnectionMonitorSpec { if in == nil { return nil } - out := new(DelegationObservation) + out := new(ConnectionMonitorSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DelegationParameters) DeepCopyInto(out *DelegationParameters) { +func (in *ConnectionMonitorStatus) DeepCopyInto(out *ConnectionMonitorStatus) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.ServiceDelegation != nil { - in, out := &in.ServiceDelegation, &out.ServiceDelegation - *out = make([]ServiceDelegationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegationParameters. -func (in *DelegationParameters) DeepCopy() *DelegationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionMonitorStatus. +func (in *ConnectionMonitorStatus) DeepCopy() *ConnectionMonitorStatus { if in == nil { return nil } - out := new(DelegationParameters) + out := new(ConnectionMonitorStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FrontendIPConfigurationObservation) DeepCopyInto(out *FrontendIPConfigurationObservation) { +func (in *ContainerNetworkInterfaceIPConfigurationObservation) DeepCopyInto(out *ContainerNetworkInterfaceIPConfigurationObservation) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } - if in.InboundNatRules != nil { - in, out := &in.InboundNatRules, &out.InboundNatRules - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.LoadBalancerRules != nil { - in, out := &in.LoadBalancerRules, &out.LoadBalancerRules - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.OutboundRules != nil { - in, out := &in.OutboundRules, &out.OutboundRules - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationObservation. -func (in *FrontendIPConfigurationObservation) DeepCopy() *FrontendIPConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerNetworkInterfaceIPConfigurationObservation. +func (in *ContainerNetworkInterfaceIPConfigurationObservation) DeepCopy() *ContainerNetworkInterfaceIPConfigurationObservation { if in == nil { return nil } - out := new(FrontendIPConfigurationObservation) + out := new(ContainerNetworkInterfaceIPConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FrontendIPConfigurationParameters) DeepCopyInto(out *FrontendIPConfigurationParameters) { +func (in *ContainerNetworkInterfaceIPConfigurationParameters) DeepCopyInto(out *ContainerNetworkInterfaceIPConfigurationParameters) { *out = *in - if in.AvailabilityZone != nil { - in, out := &in.AvailabilityZone, &out.AvailabilityZone - *out = new(string) - **out = **in - } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.PrivateIPAddress != nil { - in, out := &in.PrivateIPAddress, &out.PrivateIPAddress - *out = new(string) - **out = **in - } - if in.PrivateIPAddressAllocation != nil { - in, out := &in.PrivateIPAddressAllocation, &out.PrivateIPAddressAllocation - *out = new(string) - **out = **in - } - if in.PrivateIPAddressVersion != nil { - in, out := &in.PrivateIPAddressVersion, &out.PrivateIPAddressVersion - *out = new(string) - **out = **in - } - if in.PublicIPAddressID != nil { - in, out := &in.PublicIPAddressID, &out.PublicIPAddressID - *out = new(string) - **out = **in - } - if in.PublicIPPrefixID != nil { - in, out := &in.PublicIPPrefixID, &out.PublicIPPrefixID - *out = new(string) - **out = **in - } if in.SubnetID != nil { in, out := &in.SubnetID, &out.SubnetID *out = new(string) **out = **in } - if in.Zones != nil { - in, out := &in.Zones, &out.Zones - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationParameters. -func (in *FrontendIPConfigurationParameters) DeepCopy() *FrontendIPConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerNetworkInterfaceIPConfigurationParameters. +func (in *ContainerNetworkInterfaceIPConfigurationParameters) DeepCopy() *ContainerNetworkInterfaceIPConfigurationParameters { if in == nil { return nil } - out := new(FrontendIPConfigurationParameters) + out := new(ContainerNetworkInterfaceIPConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation) { +func (in *ContainerNetworkInterfaceObservation) DeepCopyInto(out *ContainerNetworkInterfaceObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation. -func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerNetworkInterfaceObservation. +func (in *ContainerNetworkInterfaceObservation) DeepCopy() *ContainerNetworkInterfaceObservation { if in == nil { return nil } - out := new(IPConfigurationObservation) + out := new(ContainerNetworkInterfaceObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters) { +func (in *ContainerNetworkInterfaceParameters) DeepCopyInto(out *ContainerNetworkInterfaceParameters) { *out = *in + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]ContainerNetworkInterfaceIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.PrivateIPAddressAllocation != nil { - in, out := &in.PrivateIPAddressAllocation, &out.PrivateIPAddressAllocation - *out = new(string) - **out = **in - } - if in.PublicIPAddressID != nil { - in, out := &in.PublicIPAddressID, &out.PublicIPAddressID - *out = new(string) - **out = **in - } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters. -func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerNetworkInterfaceParameters. +func (in *ContainerNetworkInterfaceParameters) DeepCopy() *ContainerNetworkInterfaceParameters { if in == nil { return nil } - out := new(IPConfigurationParameters) + out := new(ContainerNetworkInterfaceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IpsecPolicyObservation) DeepCopyInto(out *IpsecPolicyObservation) { +func (in *CustomRouteObservation) DeepCopyInto(out *CustomRouteObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpsecPolicyObservation. -func (in *IpsecPolicyObservation) DeepCopy() *IpsecPolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRouteObservation. +func (in *CustomRouteObservation) DeepCopy() *CustomRouteObservation { if in == nil { return nil } - out := new(IpsecPolicyObservation) + out := new(CustomRouteObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IpsecPolicyParameters) DeepCopyInto(out *IpsecPolicyParameters) { +func (in *CustomRouteParameters) DeepCopyInto(out *CustomRouteParameters) { *out = *in - if in.DhGroup != nil { - in, out := &in.DhGroup, &out.DhGroup - *out = new(string) - **out = **in - } - if in.IkeEncryption != nil { - in, out := &in.IkeEncryption, &out.IkeEncryption - *out = new(string) - **out = **in - } - if in.IkeIntegrity != nil { - in, out := &in.IkeIntegrity, &out.IkeIntegrity - *out = new(string) - **out = **in - } - if in.IpsecEncryption != nil { - in, out := &in.IpsecEncryption, &out.IpsecEncryption - *out = new(string) - **out = **in - } - if in.IpsecIntegrity != nil { - in, out := &in.IpsecIntegrity, &out.IpsecIntegrity - *out = new(string) - **out = **in - } - if in.PfsGroup != nil { - in, out := &in.PfsGroup, &out.PfsGroup - *out = new(string) - **out = **in - } - if in.SaDatasize != nil { - in, out := &in.SaDatasize, &out.SaDatasize - *out = new(int64) - **out = **in - } - if in.SaLifetime != nil { - in, out := &in.SaLifetime, &out.SaLifetime - *out = new(int64) - **out = **in + if in.AddressPrefixes != nil { + in, out := &in.AddressPrefixes, &out.AddressPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpsecPolicyParameters. -func (in *IpsecPolicyParameters) DeepCopy() *IpsecPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRouteParameters. +func (in *CustomRouteParameters) DeepCopy() *CustomRouteParameters { if in == nil { return nil } - out := new(IpsecPolicyParameters) + out := new(CustomRouteParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer) { +func (in *DdosProtectionPlan) DeepCopyInto(out *DdosProtectionPlan) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -499,18 +423,18 @@ func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer. -func (in *LoadBalancer) DeepCopy() *LoadBalancer { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlan. +func (in *DdosProtectionPlan) DeepCopy() *DdosProtectionPlan { if in == nil { return nil } - out := new(LoadBalancer) + out := new(DdosProtectionPlan) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *LoadBalancer) DeepCopyObject() runtime.Object { +func (in *DdosProtectionPlan) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -518,31 +442,31 @@ func (in *LoadBalancer) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerList) DeepCopyInto(out *LoadBalancerList) { +func (in *DdosProtectionPlanList) DeepCopyInto(out *DdosProtectionPlanList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]LoadBalancer, len(*in)) + *out = make([]DdosProtectionPlan, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerList. -func (in *LoadBalancerList) DeepCopy() *LoadBalancerList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanList. +func (in *DdosProtectionPlanList) DeepCopy() *DdosProtectionPlanList { if in == nil { return nil } - out := new(LoadBalancerList) + out := new(DdosProtectionPlanList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *LoadBalancerList) DeepCopyObject() runtime.Object { +func (in *DdosProtectionPlanList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -550,15 +474,10 @@ func (in *LoadBalancerList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerObservation) DeepCopyInto(out *LoadBalancerObservation) { +func (in *DdosProtectionPlanObservation) DeepCopyInto(out *DdosProtectionPlanObservation) { *out = *in - if in.PrivateIPAddress != nil { - in, out := &in.PrivateIPAddress, &out.PrivateIPAddress - *out = new(string) - **out = **in - } - if in.PrivateIPAddresses != nil { - in, out := &in.PrivateIPAddresses, &out.PrivateIPAddresses + if in.VirtualNetworkIds != nil { + in, out := &in.VirtualNetworkIds, &out.VirtualNetworkIds *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -570,48 +489,31 @@ func (in *LoadBalancerObservation) DeepCopyInto(out *LoadBalancerObservation) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerObservation. -func (in *LoadBalancerObservation) DeepCopy() *LoadBalancerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanObservation. +func (in *DdosProtectionPlanObservation) DeepCopy() *DdosProtectionPlanObservation { if in == nil { return nil } - out := new(LoadBalancerObservation) + out := new(DdosProtectionPlanObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerParameters) DeepCopyInto(out *LoadBalancerParameters) { +func (in *DdosProtectionPlanParameters) DeepCopyInto(out *DdosProtectionPlanParameters) { *out = *in - if in.FrontendIPConfiguration != nil { - in, out := &in.FrontendIPConfiguration, &out.FrontendIPConfiguration - *out = make([]FrontendIPConfigurationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.Location != nil { in, out := &in.Location, &out.Location *out = new(string) **out = **in } - if in.ResourceGroupName != nil { - in, out := &in.ResourceGroupName, &out.ResourceGroupName + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) - **out = **in - } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Sku != nil { - in, out := &in.Sku, &out.Sku + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName *out = new(string) **out = **in } @@ -632,92 +534,80 @@ func (in *LoadBalancerParameters) DeepCopyInto(out *LoadBalancerParameters) { } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerParameters. -func (in *LoadBalancerParameters) DeepCopy() *LoadBalancerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanParameters. +func (in *DdosProtectionPlanParameters) DeepCopy() *DdosProtectionPlanParameters { if in == nil { return nil } - out := new(LoadBalancerParameters) + out := new(DdosProtectionPlanParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec) { +func (in *DdosProtectionPlanSpec) DeepCopyInto(out *DdosProtectionPlanSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec. -func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanSpec. +func (in *DdosProtectionPlanSpec) DeepCopy() *DdosProtectionPlanSpec { if in == nil { return nil } - out := new(LoadBalancerSpec) + out := new(DdosProtectionPlanSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { +func (in *DdosProtectionPlanStatus) DeepCopyInto(out *DdosProtectionPlanStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. -func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DdosProtectionPlanStatus. +func (in *DdosProtectionPlanStatus) DeepCopy() *DdosProtectionPlanStatus { if in == nil { return nil } - out := new(LoadBalancerStatus) + out := new(DdosProtectionPlanStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PeeringAddressesObservation) DeepCopyInto(out *PeeringAddressesObservation) { +func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { *out = *in - if in.DefaultAddresses != nil { - in, out := &in.DefaultAddresses, &out.DefaultAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.TunnelIPAddresses != nil { - in, out := &in.TunnelIPAddresses, &out.TunnelIPAddresses - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringAddressesObservation. -func (in *PeeringAddressesObservation) DeepCopy() *PeeringAddressesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. +func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { if in == nil { return nil } - out := new(PeeringAddressesObservation) + out := new(DefinitionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PeeringAddressesParameters) DeepCopyInto(out *PeeringAddressesParameters) { +func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { *out = *in - if in.ApipaAddresses != nil { - in, out := &in.ApipaAddresses, &out.ApipaAddresses + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ServiceResources != nil { + in, out := &in.ServiceResources, &out.ServiceResources *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -727,123 +617,135 @@ func (in *PeeringAddressesParameters) DeepCopyInto(out *PeeringAddressesParamete } } } - if in.IPConfigurationName != nil { - in, out := &in.IPConfigurationName, &out.IPConfigurationName - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringAddressesParameters. -func (in *PeeringAddressesParameters) DeepCopy() *PeeringAddressesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. +func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { if in == nil { return nil } - out := new(PeeringAddressesParameters) + out := new(DefinitionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RevokedCertificateObservation) DeepCopyInto(out *RevokedCertificateObservation) { +func (in *DelegationObservation) DeepCopyInto(out *DelegationObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevokedCertificateObservation. -func (in *RevokedCertificateObservation) DeepCopy() *RevokedCertificateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegationObservation. +func (in *DelegationObservation) DeepCopy() *DelegationObservation { if in == nil { return nil } - out := new(RevokedCertificateObservation) + out := new(DelegationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RevokedCertificateParameters) DeepCopyInto(out *RevokedCertificateParameters) { +func (in *DelegationParameters) DeepCopyInto(out *DelegationParameters) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.Thumbprint != nil { - in, out := &in.Thumbprint, &out.Thumbprint - *out = new(string) - **out = **in + if in.ServiceDelegation != nil { + in, out := &in.ServiceDelegation, &out.ServiceDelegation + *out = make([]ServiceDelegationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevokedCertificateParameters. -func (in *RevokedCertificateParameters) DeepCopy() *RevokedCertificateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegationParameters. +func (in *DelegationParameters) DeepCopy() *DelegationParameters { if in == nil { return nil } - out := new(RevokedCertificateParameters) + out := new(DelegationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RootCertificateObservation) DeepCopyInto(out *RootCertificateObservation) { +func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootCertificateObservation. -func (in *RootCertificateObservation) DeepCopy() *RootCertificateObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationObservation. +func (in *DestinationObservation) DeepCopy() *DestinationObservation { if in == nil { return nil } - out := new(RootCertificateObservation) + out := new(DestinationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RootCertificateParameters) DeepCopyInto(out *RootCertificateParameters) { +func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name + if in.Address != nil { + in, out := &in.Address, &out.Address *out = new(string) **out = **in } - if in.PublicCertData != nil { - in, out := &in.PublicCertData, &out.PublicCertData + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootCertificateParameters. -func (in *RootCertificateParameters) DeepCopy() *RootCertificateParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationParameters. +func (in *DestinationParameters) DeepCopy() *DestinationParameters { if in == nil { return nil } - out := new(RootCertificateParameters) + out := new(DestinationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServiceDelegationObservation) DeepCopyInto(out *ServiceDelegationObservation) { +func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDelegationObservation. -func (in *ServiceDelegationObservation) DeepCopy() *ServiceDelegationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointObservation. +func (in *EndpointObservation) DeepCopy() *EndpointObservation { if in == nil { return nil } - out := new(ServiceDelegationObservation) + out := new(EndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ServiceDelegationParameters) DeepCopyInto(out *ServiceDelegationParameters) { +func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { *out = *in - if in.Actions != nil { - in, out := &in.Actions, &out.Actions + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.CoverageLevel != nil { + in, out := &in.CoverageLevel, &out.CoverageLevel + *out = new(string) + **out = **in + } + if in.ExcludedIPAddresses != nil { + in, out := &in.ExcludedIPAddresses, &out.ExcludedIPAddresses *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -853,236 +755,371 @@ func (in *ServiceDelegationParameters) DeepCopyInto(out *ServiceDelegationParame } } } - if in.Name != nil { + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IncludedIPAddresses != nil { + in, out := &in.IncludedIPAddresses, &out.IncludedIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } + if in.TargetResourceType != nil { + in, out := &in.TargetResourceType, &out.TargetResourceType + *out = new(string) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDelegationParameters. -func (in *ServiceDelegationParameters) DeepCopy() *ServiceDelegationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParameters. +func (in *EndpointParameters) DeepCopy() *EndpointParameters { if in == nil { return nil } - out := new(ServiceDelegationParameters) + out := new(EndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Subnet) DeepCopyInto(out *Subnet) { +func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet. -func (in *Subnet) DeepCopy() *Subnet { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation. +func (in *FilterObservation) DeepCopy() *FilterObservation { if in == nil { return nil } - out := new(Subnet) + out := new(FilterObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Subnet) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetList) DeepCopyInto(out *SubnetList) { +func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Subnet, len(*in)) + if in.Item != nil { + in, out := &in.Item, &out.Item + *out = make([]ItemParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetList. -func (in *SubnetList) DeepCopy() *SubnetList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters. +func (in *FilterParameters) DeepCopy() *FilterParameters { if in == nil { return nil } - out := new(SubnetList) + out := new(FilterParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNATGatewayAssociation) DeepCopyInto(out *SubnetNATGatewayAssociation) { +func (in *FrontendIPConfigurationObservation) DeepCopyInto(out *FrontendIPConfigurationObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.InboundNatRules != nil { + in, out := &in.InboundNatRules, &out.InboundNatRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LoadBalancerRules != nil { + in, out := &in.LoadBalancerRules, &out.LoadBalancerRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OutboundRules != nil { + in, out := &in.OutboundRules, &out.OutboundRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociation. -func (in *SubnetNATGatewayAssociation) DeepCopy() *SubnetNATGatewayAssociation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationObservation. +func (in *FrontendIPConfigurationObservation) DeepCopy() *FrontendIPConfigurationObservation { if in == nil { return nil } - out := new(SubnetNATGatewayAssociation) + out := new(FrontendIPConfigurationObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetNATGatewayAssociation) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNATGatewayAssociationList) DeepCopyInto(out *SubnetNATGatewayAssociationList) { +func (in *FrontendIPConfigurationParameters) DeepCopyInto(out *FrontendIPConfigurationParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]SubnetNATGatewayAssociation, len(*in)) + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddressAllocation != nil { + in, out := &in.PrivateIPAddressAllocation, &out.PrivateIPAddressAllocation + *out = new(string) + **out = **in + } + if in.PrivateIPAddressVersion != nil { + in, out := &in.PrivateIPAddressVersion, &out.PrivateIPAddressVersion + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.PublicIPPrefixID != nil { + in, out := &in.PublicIPPrefixID, &out.PublicIPPrefixID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationList. -func (in *SubnetNATGatewayAssociationList) DeepCopy() *SubnetNATGatewayAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FrontendIPConfigurationParameters. +func (in *FrontendIPConfigurationParameters) DeepCopy() *FrontendIPConfigurationParameters { if in == nil { return nil } - out := new(SubnetNATGatewayAssociationList) + out := new(FrontendIPConfigurationParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetNATGatewayAssociationList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNATGatewayAssociationObservation) DeepCopyInto(out *SubnetNATGatewayAssociationObservation) { +func (in *HTTPConfigurationObservation) DeepCopyInto(out *HTTPConfigurationObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationObservation. -func (in *SubnetNATGatewayAssociationObservation) DeepCopy() *SubnetNATGatewayAssociationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPConfigurationObservation. +func (in *HTTPConfigurationObservation) DeepCopy() *HTTPConfigurationObservation { if in == nil { return nil } - out := new(SubnetNATGatewayAssociationObservation) + out := new(HTTPConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNATGatewayAssociationParameters) DeepCopyInto(out *SubnetNATGatewayAssociationParameters) { +func (in *HTTPConfigurationParameters) DeepCopyInto(out *HTTPConfigurationParameters) { *out = *in - if in.NatGatewayID != nil { - in, out := &in.NatGatewayID, &out.NatGatewayID + if in.Method != nil { + in, out := &in.Method, &out.Method *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.Path != nil { + in, out := &in.Path, &out.Path *out = new(string) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationParameters. -func (in *SubnetNATGatewayAssociationParameters) DeepCopy() *SubnetNATGatewayAssociationParameters { - if in == nil { - return nil + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.PreferHTTPS != nil { + in, out := &in.PreferHTTPS, &out.PreferHTTPS + *out = new(bool) + **out = **in + } + if in.RequestHeader != nil { + in, out := &in.RequestHeader, &out.RequestHeader + *out = make([]RequestHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ValidStatusCodeRanges != nil { + in, out := &in.ValidStatusCodeRanges, &out.ValidStatusCodeRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - out := new(SubnetNATGatewayAssociationParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNATGatewayAssociationSpec) DeepCopyInto(out *SubnetNATGatewayAssociationSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationSpec. -func (in *SubnetNATGatewayAssociationSpec) DeepCopy() *SubnetNATGatewayAssociationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPConfigurationParameters. +func (in *HTTPConfigurationParameters) DeepCopy() *HTTPConfigurationParameters { if in == nil { return nil } - out := new(SubnetNATGatewayAssociationSpec) + out := new(HTTPConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNATGatewayAssociationStatus) DeepCopyInto(out *SubnetNATGatewayAssociationStatus) { +func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationStatus. -func (in *SubnetNATGatewayAssociationStatus) DeepCopy() *SubnetNATGatewayAssociationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation. +func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation { if in == nil { return nil } - out := new(SubnetNATGatewayAssociationStatus) + out := new(IPConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNetworkSecurityGroupAssociation) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociation) { +func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociation. -func (in *SubnetNetworkSecurityGroupAssociation) DeepCopy() *SubnetNetworkSecurityGroupAssociation { + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Primary != nil { + in, out := &in.Primary, &out.Primary + *out = new(bool) + **out = **in + } + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddressAllocation != nil { + in, out := &in.PrivateIPAddressAllocation, &out.PrivateIPAddressAllocation + *out = new(string) + **out = **in + } + if in.PrivateIPAddressVersion != nil { + in, out := &in.PrivateIPAddressVersion, &out.PrivateIPAddressVersion + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters. +func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters { if in == nil { return nil } - out := new(SubnetNetworkSecurityGroupAssociation) + out := new(IPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPGroup) DeepCopyInto(out *IPGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroup. +func (in *IPGroup) DeepCopy() *IPGroup { + if in == nil { + return nil + } + out := new(IPGroup) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetNetworkSecurityGroupAssociation) DeepCopyObject() runtime.Object { +func (in *IPGroup) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1090,31 +1127,31 @@ func (in *SubnetNetworkSecurityGroupAssociation) DeepCopyObject() runtime.Object } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationList) { +func (in *IPGroupList) DeepCopyInto(out *IPGroupList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]SubnetNetworkSecurityGroupAssociation, len(*in)) + *out = make([]IPGroup, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationList. -func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopy() *SubnetNetworkSecurityGroupAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroupList. +func (in *IPGroupList) DeepCopy() *IPGroupList { if in == nil { return nil } - out := new(SubnetNetworkSecurityGroupAssociationList) + out := new(IPGroupList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopyObject() runtime.Object { +func (in *IPGroupList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1122,196 +1159,152 @@ func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopyObject() runtime.Ob } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNetworkSecurityGroupAssociationObservation) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationObservation) { +func (in *IPGroupObservation) DeepCopyInto(out *IPGroupObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationObservation. -func (in *SubnetNetworkSecurityGroupAssociationObservation) DeepCopy() *SubnetNetworkSecurityGroupAssociationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroupObservation. +func (in *IPGroupObservation) DeepCopy() *IPGroupObservation { if in == nil { return nil } - out := new(SubnetNetworkSecurityGroupAssociationObservation) + out := new(IPGroupObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNetworkSecurityGroupAssociationParameters) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationParameters) { +func (in *IPGroupParameters) DeepCopyInto(out *IPGroupParameters) { *out = *in - if in.NetworkSecurityGroupID != nil { - in, out := &in.NetworkSecurityGroupID, &out.NetworkSecurityGroupID + if in.Cidrs != nil { + in, out := &in.Cidrs, &out.Cidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName *out = new(string) **out = **in } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationParameters. -func (in *SubnetNetworkSecurityGroupAssociationParameters) DeepCopy() *SubnetNetworkSecurityGroupAssociationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroupParameters. +func (in *IPGroupParameters) DeepCopy() *IPGroupParameters { if in == nil { return nil } - out := new(SubnetNetworkSecurityGroupAssociationParameters) + out := new(IPGroupParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNetworkSecurityGroupAssociationSpec) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationSpec) { +func (in *IPGroupSpec) DeepCopyInto(out *IPGroupSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationSpec. -func (in *SubnetNetworkSecurityGroupAssociationSpec) DeepCopy() *SubnetNetworkSecurityGroupAssociationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroupSpec. +func (in *IPGroupSpec) DeepCopy() *IPGroupSpec { if in == nil { return nil } - out := new(SubnetNetworkSecurityGroupAssociationSpec) + out := new(IPGroupSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetNetworkSecurityGroupAssociationStatus) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationStatus) { +func (in *IPGroupStatus) DeepCopyInto(out *IPGroupStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationStatus. -func (in *SubnetNetworkSecurityGroupAssociationStatus) DeepCopy() *SubnetNetworkSecurityGroupAssociationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPGroupStatus. +func (in *IPGroupStatus) DeepCopy() *IPGroupStatus { if in == nil { return nil } - out := new(SubnetNetworkSecurityGroupAssociationStatus) + out := new(IPGroupStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation) { +func (in *IcmpConfigurationObservation) DeepCopyInto(out *IcmpConfigurationObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetObservation. -func (in *SubnetObservation) DeepCopy() *SubnetObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IcmpConfigurationObservation. +func (in *IcmpConfigurationObservation) DeepCopy() *IcmpConfigurationObservation { if in == nil { return nil } - out := new(SubnetObservation) + out := new(IcmpConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters) { +func (in *IcmpConfigurationParameters) DeepCopyInto(out *IcmpConfigurationParameters) { *out = *in - if in.AddressPrefix != nil { - in, out := &in.AddressPrefix, &out.AddressPrefix - *out = new(string) - **out = **in - } - if in.AddressPrefixes != nil { - in, out := &in.AddressPrefixes, &out.AddressPrefixes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Delegation != nil { - in, out := &in.Delegation, &out.Delegation - *out = make([]DelegationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.EnforcePrivateLinkEndpointNetworkPolicies != nil { - in, out := &in.EnforcePrivateLinkEndpointNetworkPolicies, &out.EnforcePrivateLinkEndpointNetworkPolicies - *out = new(bool) - **out = **in - } - if in.EnforcePrivateLinkServiceNetworkPolicies != nil { - in, out := &in.EnforcePrivateLinkServiceNetworkPolicies, &out.EnforcePrivateLinkServiceNetworkPolicies + if in.TraceRouteEnabled != nil { + in, out := &in.TraceRouteEnabled, &out.TraceRouteEnabled *out = new(bool) **out = **in } - if in.ResourceGroupName != nil { - in, out := &in.ResourceGroupName, &out.ResourceGroupName - *out = new(string) - **out = **in - } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) - **out = **in - } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.ServiceEndpointPolicyIds != nil { - in, out := &in.ServiceEndpointPolicyIds, &out.ServiceEndpointPolicyIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.ServiceEndpoints != nil { - in, out := &in.ServiceEndpoints, &out.ServiceEndpoints - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.VirtualNetworkName != nil { - in, out := &in.VirtualNetworkName, &out.VirtualNetworkName - *out = new(string) - **out = **in - } - if in.VirtualNetworkNameRef != nil { - in, out := &in.VirtualNetworkNameRef, &out.VirtualNetworkNameRef - *out = new(v1.Reference) - **out = **in - } - if in.VirtualNetworkNameSelector != nil { - in, out := &in.VirtualNetworkNameSelector, &out.VirtualNetworkNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParameters. -func (in *SubnetParameters) DeepCopy() *SubnetParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IcmpConfigurationParameters. +func (in *IcmpConfigurationParameters) DeepCopy() *IcmpConfigurationParameters { if in == nil { return nil } - out := new(SubnetParameters) + out := new(IcmpConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetRouteTableAssociation) DeepCopyInto(out *SubnetRouteTableAssociation) { +func (in *InterfaceApplicationSecurityGroupAssociation) DeepCopyInto(out *InterfaceApplicationSecurityGroupAssociation) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -1319,18 +1312,18 @@ func (in *SubnetRouteTableAssociation) DeepCopyInto(out *SubnetRouteTableAssocia in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociation. -func (in *SubnetRouteTableAssociation) DeepCopy() *SubnetRouteTableAssociation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceApplicationSecurityGroupAssociation. +func (in *InterfaceApplicationSecurityGroupAssociation) DeepCopy() *InterfaceApplicationSecurityGroupAssociation { if in == nil { return nil } - out := new(SubnetRouteTableAssociation) + out := new(InterfaceApplicationSecurityGroupAssociation) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetRouteTableAssociation) DeepCopyObject() runtime.Object { +func (in *InterfaceApplicationSecurityGroupAssociation) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1338,31 +1331,31 @@ func (in *SubnetRouteTableAssociation) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetRouteTableAssociationList) DeepCopyInto(out *SubnetRouteTableAssociationList) { +func (in *InterfaceApplicationSecurityGroupAssociationList) DeepCopyInto(out *InterfaceApplicationSecurityGroupAssociationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]SubnetRouteTableAssociation, len(*in)) + *out = make([]InterfaceApplicationSecurityGroupAssociation, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationList. -func (in *SubnetRouteTableAssociationList) DeepCopy() *SubnetRouteTableAssociationList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceApplicationSecurityGroupAssociationList. +func (in *InterfaceApplicationSecurityGroupAssociationList) DeepCopy() *InterfaceApplicationSecurityGroupAssociationList { if in == nil { return nil } - out := new(SubnetRouteTableAssociationList) + out := new(InterfaceApplicationSecurityGroupAssociationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetRouteTableAssociationList) DeepCopyObject() runtime.Object { +func (in *InterfaceApplicationSecurityGroupAssociationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1370,132 +1363,3592 @@ func (in *SubnetRouteTableAssociationList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetRouteTableAssociationObservation) DeepCopyInto(out *SubnetRouteTableAssociationObservation) { +func (in *InterfaceApplicationSecurityGroupAssociationObservation) DeepCopyInto(out *InterfaceApplicationSecurityGroupAssociationObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationObservation. -func (in *SubnetRouteTableAssociationObservation) DeepCopy() *SubnetRouteTableAssociationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceApplicationSecurityGroupAssociationObservation. +func (in *InterfaceApplicationSecurityGroupAssociationObservation) DeepCopy() *InterfaceApplicationSecurityGroupAssociationObservation { + if in == nil { + return nil + } + out := new(InterfaceApplicationSecurityGroupAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceApplicationSecurityGroupAssociationParameters) DeepCopyInto(out *InterfaceApplicationSecurityGroupAssociationParameters) { + *out = *in + if in.ApplicationSecurityGroupID != nil { + in, out := &in.ApplicationSecurityGroupID, &out.ApplicationSecurityGroupID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceApplicationSecurityGroupAssociationParameters. +func (in *InterfaceApplicationSecurityGroupAssociationParameters) DeepCopy() *InterfaceApplicationSecurityGroupAssociationParameters { + if in == nil { + return nil + } + out := new(InterfaceApplicationSecurityGroupAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceApplicationSecurityGroupAssociationSpec) DeepCopyInto(out *InterfaceApplicationSecurityGroupAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceApplicationSecurityGroupAssociationSpec. +func (in *InterfaceApplicationSecurityGroupAssociationSpec) DeepCopy() *InterfaceApplicationSecurityGroupAssociationSpec { if in == nil { return nil } - out := new(SubnetRouteTableAssociationObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetRouteTableAssociationParameters) DeepCopyInto(out *SubnetRouteTableAssociationParameters) { - *out = *in - if in.RouteTableID != nil { - in, out := &in.RouteTableID, &out.RouteTableID + out := new(InterfaceApplicationSecurityGroupAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceApplicationSecurityGroupAssociationStatus) DeepCopyInto(out *InterfaceApplicationSecurityGroupAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceApplicationSecurityGroupAssociationStatus. +func (in *InterfaceApplicationSecurityGroupAssociationStatus) DeepCopy() *InterfaceApplicationSecurityGroupAssociationStatus { + if in == nil { + return nil + } + out := new(InterfaceApplicationSecurityGroupAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceBackendAddressPoolAssociation) DeepCopyInto(out *InterfaceBackendAddressPoolAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackendAddressPoolAssociation. +func (in *InterfaceBackendAddressPoolAssociation) DeepCopy() *InterfaceBackendAddressPoolAssociation { + if in == nil { + return nil + } + out := new(InterfaceBackendAddressPoolAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterfaceBackendAddressPoolAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceBackendAddressPoolAssociationList) DeepCopyInto(out *InterfaceBackendAddressPoolAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InterfaceBackendAddressPoolAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackendAddressPoolAssociationList. +func (in *InterfaceBackendAddressPoolAssociationList) DeepCopy() *InterfaceBackendAddressPoolAssociationList { + if in == nil { + return nil + } + out := new(InterfaceBackendAddressPoolAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterfaceBackendAddressPoolAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceBackendAddressPoolAssociationObservation) DeepCopyInto(out *InterfaceBackendAddressPoolAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackendAddressPoolAssociationObservation. +func (in *InterfaceBackendAddressPoolAssociationObservation) DeepCopy() *InterfaceBackendAddressPoolAssociationObservation { + if in == nil { + return nil + } + out := new(InterfaceBackendAddressPoolAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceBackendAddressPoolAssociationParameters) DeepCopyInto(out *InterfaceBackendAddressPoolAssociationParameters) { + *out = *in + if in.BackendAddressPoolID != nil { + in, out := &in.BackendAddressPoolID, &out.BackendAddressPoolID + *out = new(string) + **out = **in + } + if in.IPConfigurationName != nil { + in, out := &in.IPConfigurationName, &out.IPConfigurationName + *out = new(string) + **out = **in + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackendAddressPoolAssociationParameters. +func (in *InterfaceBackendAddressPoolAssociationParameters) DeepCopy() *InterfaceBackendAddressPoolAssociationParameters { + if in == nil { + return nil + } + out := new(InterfaceBackendAddressPoolAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceBackendAddressPoolAssociationSpec) DeepCopyInto(out *InterfaceBackendAddressPoolAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackendAddressPoolAssociationSpec. +func (in *InterfaceBackendAddressPoolAssociationSpec) DeepCopy() *InterfaceBackendAddressPoolAssociationSpec { + if in == nil { + return nil + } + out := new(InterfaceBackendAddressPoolAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceBackendAddressPoolAssociationStatus) DeepCopyInto(out *InterfaceBackendAddressPoolAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceBackendAddressPoolAssociationStatus. +func (in *InterfaceBackendAddressPoolAssociationStatus) DeepCopy() *InterfaceBackendAddressPoolAssociationStatus { + if in == nil { + return nil + } + out := new(InterfaceBackendAddressPoolAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceNatRuleAssociation) DeepCopyInto(out *InterfaceNatRuleAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceNatRuleAssociation. +func (in *InterfaceNatRuleAssociation) DeepCopy() *InterfaceNatRuleAssociation { + if in == nil { + return nil + } + out := new(InterfaceNatRuleAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterfaceNatRuleAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceNatRuleAssociationList) DeepCopyInto(out *InterfaceNatRuleAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InterfaceNatRuleAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceNatRuleAssociationList. +func (in *InterfaceNatRuleAssociationList) DeepCopy() *InterfaceNatRuleAssociationList { + if in == nil { + return nil + } + out := new(InterfaceNatRuleAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterfaceNatRuleAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceNatRuleAssociationObservation) DeepCopyInto(out *InterfaceNatRuleAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceNatRuleAssociationObservation. +func (in *InterfaceNatRuleAssociationObservation) DeepCopy() *InterfaceNatRuleAssociationObservation { + if in == nil { + return nil + } + out := new(InterfaceNatRuleAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceNatRuleAssociationParameters) DeepCopyInto(out *InterfaceNatRuleAssociationParameters) { + *out = *in + if in.IPConfigurationName != nil { + in, out := &in.IPConfigurationName, &out.IPConfigurationName + *out = new(string) + **out = **in + } + if in.NatRuleID != nil { + in, out := &in.NatRuleID, &out.NatRuleID + *out = new(string) + **out = **in + } + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceNatRuleAssociationParameters. +func (in *InterfaceNatRuleAssociationParameters) DeepCopy() *InterfaceNatRuleAssociationParameters { + if in == nil { + return nil + } + out := new(InterfaceNatRuleAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceNatRuleAssociationSpec) DeepCopyInto(out *InterfaceNatRuleAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceNatRuleAssociationSpec. +func (in *InterfaceNatRuleAssociationSpec) DeepCopy() *InterfaceNatRuleAssociationSpec { + if in == nil { + return nil + } + out := new(InterfaceNatRuleAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceNatRuleAssociationStatus) DeepCopyInto(out *InterfaceNatRuleAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceNatRuleAssociationStatus. +func (in *InterfaceNatRuleAssociationStatus) DeepCopy() *InterfaceNatRuleAssociationStatus { + if in == nil { + return nil + } + out := new(InterfaceNatRuleAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceSecurityGroupAssociation) DeepCopyInto(out *InterfaceSecurityGroupAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSecurityGroupAssociation. +func (in *InterfaceSecurityGroupAssociation) DeepCopy() *InterfaceSecurityGroupAssociation { + if in == nil { + return nil + } + out := new(InterfaceSecurityGroupAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterfaceSecurityGroupAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceSecurityGroupAssociationList) DeepCopyInto(out *InterfaceSecurityGroupAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]InterfaceSecurityGroupAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSecurityGroupAssociationList. +func (in *InterfaceSecurityGroupAssociationList) DeepCopy() *InterfaceSecurityGroupAssociationList { + if in == nil { + return nil + } + out := new(InterfaceSecurityGroupAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterfaceSecurityGroupAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceSecurityGroupAssociationObservation) DeepCopyInto(out *InterfaceSecurityGroupAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSecurityGroupAssociationObservation. +func (in *InterfaceSecurityGroupAssociationObservation) DeepCopy() *InterfaceSecurityGroupAssociationObservation { + if in == nil { + return nil + } + out := new(InterfaceSecurityGroupAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceSecurityGroupAssociationParameters) DeepCopyInto(out *InterfaceSecurityGroupAssociationParameters) { + *out = *in + if in.NetworkInterfaceID != nil { + in, out := &in.NetworkInterfaceID, &out.NetworkInterfaceID + *out = new(string) + **out = **in + } + if in.NetworkSecurityGroupID != nil { + in, out := &in.NetworkSecurityGroupID, &out.NetworkSecurityGroupID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSecurityGroupAssociationParameters. +func (in *InterfaceSecurityGroupAssociationParameters) DeepCopy() *InterfaceSecurityGroupAssociationParameters { + if in == nil { + return nil + } + out := new(InterfaceSecurityGroupAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceSecurityGroupAssociationSpec) DeepCopyInto(out *InterfaceSecurityGroupAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSecurityGroupAssociationSpec. +func (in *InterfaceSecurityGroupAssociationSpec) DeepCopy() *InterfaceSecurityGroupAssociationSpec { + if in == nil { + return nil + } + out := new(InterfaceSecurityGroupAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterfaceSecurityGroupAssociationStatus) DeepCopyInto(out *InterfaceSecurityGroupAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfaceSecurityGroupAssociationStatus. +func (in *InterfaceSecurityGroupAssociationStatus) DeepCopy() *InterfaceSecurityGroupAssociationStatus { + if in == nil { + return nil + } + out := new(InterfaceSecurityGroupAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpsecPolicyObservation) DeepCopyInto(out *IpsecPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpsecPolicyObservation. +func (in *IpsecPolicyObservation) DeepCopy() *IpsecPolicyObservation { + if in == nil { + return nil + } + out := new(IpsecPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpsecPolicyParameters) DeepCopyInto(out *IpsecPolicyParameters) { + *out = *in + if in.DhGroup != nil { + in, out := &in.DhGroup, &out.DhGroup + *out = new(string) + **out = **in + } + if in.IkeEncryption != nil { + in, out := &in.IkeEncryption, &out.IkeEncryption + *out = new(string) + **out = **in + } + if in.IkeIntegrity != nil { + in, out := &in.IkeIntegrity, &out.IkeIntegrity + *out = new(string) + **out = **in + } + if in.IpsecEncryption != nil { + in, out := &in.IpsecEncryption, &out.IpsecEncryption + *out = new(string) + **out = **in + } + if in.IpsecIntegrity != nil { + in, out := &in.IpsecIntegrity, &out.IpsecIntegrity + *out = new(string) + **out = **in + } + if in.PfsGroup != nil { + in, out := &in.PfsGroup, &out.PfsGroup + *out = new(string) + **out = **in + } + if in.SaDatasize != nil { + in, out := &in.SaDatasize, &out.SaDatasize + *out = new(int64) + **out = **in + } + if in.SaLifetime != nil { + in, out := &in.SaLifetime, &out.SaLifetime + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpsecPolicyParameters. +func (in *IpsecPolicyParameters) DeepCopy() *IpsecPolicyParameters { + if in == nil { + return nil + } + out := new(IpsecPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItemObservation) DeepCopyInto(out *ItemObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemObservation. +func (in *ItemObservation) DeepCopy() *ItemObservation { + if in == nil { + return nil + } + out := new(ItemObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ItemParameters) DeepCopyInto(out *ItemParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemParameters. +func (in *ItemParameters) DeepCopy() *ItemParameters { + if in == nil { + return nil + } + out := new(ItemParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer. +func (in *LoadBalancer) DeepCopy() *LoadBalancer { + if in == nil { + return nil + } + out := new(LoadBalancer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LoadBalancer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerList) DeepCopyInto(out *LoadBalancerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LoadBalancer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerList. +func (in *LoadBalancerList) DeepCopy() *LoadBalancerList { + if in == nil { + return nil + } + out := new(LoadBalancerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LoadBalancerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerObservation) DeepCopyInto(out *LoadBalancerObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddresses != nil { + in, out := &in.PrivateIPAddresses, &out.PrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerObservation. +func (in *LoadBalancerObservation) DeepCopy() *LoadBalancerObservation { + if in == nil { + return nil + } + out := new(LoadBalancerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerParameters) DeepCopyInto(out *LoadBalancerParameters) { + *out = *in + if in.FrontendIPConfiguration != nil { + in, out := &in.FrontendIPConfiguration, &out.FrontendIPConfiguration + *out = make([]FrontendIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerParameters. +func (in *LoadBalancerParameters) DeepCopy() *LoadBalancerParameters { + if in == nil { + return nil + } + out := new(LoadBalancerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec. +func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec { + if in == nil { + return nil + } + out := new(LoadBalancerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. +func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { + if in == nil { + return nil + } + out := new(LoadBalancerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface. +func (in *NetworkInterface) DeepCopy() *NetworkInterface { + if in == nil { + return nil + } + out := new(NetworkInterface) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInterface) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceList) DeepCopyInto(out *NetworkInterfaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NetworkInterface, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceList. +func (in *NetworkInterfaceList) DeepCopy() *NetworkInterfaceList { + if in == nil { + return nil + } + out := new(NetworkInterfaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NetworkInterfaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { + *out = *in + if in.AppliedDNSServers != nil { + in, out := &in.AppliedDNSServers, &out.AppliedDNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.InternalDomainNameSuffix != nil { + in, out := &in.InternalDomainNameSuffix, &out.InternalDomainNameSuffix + *out = new(string) + **out = **in + } + if in.MacAddress != nil { + in, out := &in.MacAddress, &out.MacAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddresses != nil { + in, out := &in.PrivateIPAddresses, &out.PrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. +func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { + if in == nil { + return nil + } + out := new(NetworkInterfaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { + *out = *in + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EnableAcceleratedNetworking != nil { + in, out := &in.EnableAcceleratedNetworking, &out.EnableAcceleratedNetworking + *out = new(bool) + **out = **in + } + if in.EnableIPForwarding != nil { + in, out := &in.EnableIPForwarding, &out.EnableIPForwarding + *out = new(bool) + **out = **in + } + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]IPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.InternalDNSNameLabel != nil { + in, out := &in.InternalDNSNameLabel, &out.InternalDNSNameLabel + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. +func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { + if in == nil { + return nil + } + out := new(NetworkInterfaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceSpec) DeepCopyInto(out *NetworkInterfaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceSpec. +func (in *NetworkInterfaceSpec) DeepCopy() *NetworkInterfaceSpec { + if in == nil { + return nil + } + out := new(NetworkInterfaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceStatus) DeepCopyInto(out *NetworkInterfaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceStatus. +func (in *NetworkInterfaceStatus) DeepCopy() *NetworkInterfaceStatus { + if in == nil { + return nil + } + out := new(NetworkInterfaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCapture) DeepCopyInto(out *PacketCapture) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCapture. +func (in *PacketCapture) DeepCopy() *PacketCapture { + if in == nil { + return nil + } + out := new(PacketCapture) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PacketCapture) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureFilterObservation) DeepCopyInto(out *PacketCaptureFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureFilterObservation. +func (in *PacketCaptureFilterObservation) DeepCopy() *PacketCaptureFilterObservation { + if in == nil { + return nil + } + out := new(PacketCaptureFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureFilterParameters) DeepCopyInto(out *PacketCaptureFilterParameters) { + *out = *in + if in.LocalIPAddress != nil { + in, out := &in.LocalIPAddress, &out.LocalIPAddress + *out = new(string) + **out = **in + } + if in.LocalPort != nil { + in, out := &in.LocalPort, &out.LocalPort + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.RemoteIPAddress != nil { + in, out := &in.RemoteIPAddress, &out.RemoteIPAddress + *out = new(string) + **out = **in + } + if in.RemotePort != nil { + in, out := &in.RemotePort, &out.RemotePort + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureFilterParameters. +func (in *PacketCaptureFilterParameters) DeepCopy() *PacketCaptureFilterParameters { + if in == nil { + return nil + } + out := new(PacketCaptureFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureList) DeepCopyInto(out *PacketCaptureList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PacketCapture, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureList. +func (in *PacketCaptureList) DeepCopy() *PacketCaptureList { + if in == nil { + return nil + } + out := new(PacketCaptureList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PacketCaptureList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureObservation) DeepCopyInto(out *PacketCaptureObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureObservation. +func (in *PacketCaptureObservation) DeepCopy() *PacketCaptureObservation { + if in == nil { + return nil + } + out := new(PacketCaptureObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureParameters) DeepCopyInto(out *PacketCaptureParameters) { + *out = *in + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]PacketCaptureFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaximumBytesPerPacket != nil { + in, out := &in.MaximumBytesPerPacket, &out.MaximumBytesPerPacket + *out = new(int64) + **out = **in + } + if in.MaximumBytesPerSession != nil { + in, out := &in.MaximumBytesPerSession, &out.MaximumBytesPerSession + *out = new(int64) + **out = **in + } + if in.MaximumCaptureDuration != nil { + in, out := &in.MaximumCaptureDuration, &out.MaximumCaptureDuration + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkWatcherName != nil { + in, out := &in.NetworkWatcherName, &out.NetworkWatcherName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageLocation != nil { + in, out := &in.StorageLocation, &out.StorageLocation + *out = make([]StorageLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureParameters. +func (in *PacketCaptureParameters) DeepCopy() *PacketCaptureParameters { + if in == nil { + return nil + } + out := new(PacketCaptureParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureSpec) DeepCopyInto(out *PacketCaptureSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureSpec. +func (in *PacketCaptureSpec) DeepCopy() *PacketCaptureSpec { + if in == nil { + return nil + } + out := new(PacketCaptureSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PacketCaptureStatus) DeepCopyInto(out *PacketCaptureStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PacketCaptureStatus. +func (in *PacketCaptureStatus) DeepCopy() *PacketCaptureStatus { + if in == nil { + return nil + } + out := new(PacketCaptureStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PeeringAddressesObservation) DeepCopyInto(out *PeeringAddressesObservation) { + *out = *in + if in.DefaultAddresses != nil { + in, out := &in.DefaultAddresses, &out.DefaultAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TunnelIPAddresses != nil { + in, out := &in.TunnelIPAddresses, &out.TunnelIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringAddressesObservation. +func (in *PeeringAddressesObservation) DeepCopy() *PeeringAddressesObservation { + if in == nil { + return nil + } + out := new(PeeringAddressesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PeeringAddressesParameters) DeepCopyInto(out *PeeringAddressesParameters) { + *out = *in + if in.ApipaAddresses != nil { + in, out := &in.ApipaAddresses, &out.ApipaAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPConfigurationName != nil { + in, out := &in.IPConfigurationName, &out.IPConfigurationName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringAddressesParameters. +func (in *PeeringAddressesParameters) DeepCopy() *PeeringAddressesParameters { + if in == nil { + return nil + } + out := new(PeeringAddressesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Profile) DeepCopyInto(out *Profile) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile. +func (in *Profile) DeepCopy() *Profile { + if in == nil { + return nil + } + out := new(Profile) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Profile) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileList) DeepCopyInto(out *ProfileList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Profile, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList. +func (in *ProfileList) DeepCopy() *ProfileList { + if in == nil { + return nil + } + out := new(ProfileList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProfileList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation) { + *out = *in + if in.ContainerNetworkInterfaceIds != nil { + in, out := &in.ContainerNetworkInterfaceIds, &out.ContainerNetworkInterfaceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileObservation. +func (in *ProfileObservation) DeepCopy() *ProfileObservation { + if in == nil { + return nil + } + out := new(ProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters) { + *out = *in + if in.ContainerNetworkInterface != nil { + in, out := &in.ContainerNetworkInterface, &out.ContainerNetworkInterface + *out = make([]ContainerNetworkInterfaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileParameters. +func (in *ProfileParameters) DeepCopy() *ProfileParameters { + if in == nil { + return nil + } + out := new(ProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec. +func (in *ProfileSpec) DeepCopy() *ProfileSpec { + if in == nil { + return nil + } + out := new(ProfileSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus. +func (in *ProfileStatus) DeepCopy() *ProfileStatus { + if in == nil { + return nil + } + out := new(ProfileStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderObservation) DeepCopyInto(out *RequestHeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderObservation. +func (in *RequestHeaderObservation) DeepCopy() *RequestHeaderObservation { + if in == nil { + return nil + } + out := new(RequestHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestHeaderParameters) DeepCopyInto(out *RequestHeaderParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderParameters. +func (in *RequestHeaderParameters) DeepCopy() *RequestHeaderParameters { + if in == nil { + return nil + } + out := new(RequestHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. +func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { + if in == nil { + return nil + } + out := new(RetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. +func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { + if in == nil { + return nil + } + out := new(RetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RevokedCertificateObservation) DeepCopyInto(out *RevokedCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevokedCertificateObservation. +func (in *RevokedCertificateObservation) DeepCopy() *RevokedCertificateObservation { + if in == nil { + return nil + } + out := new(RevokedCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RevokedCertificateParameters) DeepCopyInto(out *RevokedCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevokedCertificateParameters. +func (in *RevokedCertificateParameters) DeepCopy() *RevokedCertificateParameters { + if in == nil { + return nil + } + out := new(RevokedCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RootCertificateObservation) DeepCopyInto(out *RootCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootCertificateObservation. +func (in *RootCertificateObservation) DeepCopy() *RootCertificateObservation { + if in == nil { + return nil + } + out := new(RootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RootCertificateParameters) DeepCopyInto(out *RootCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicCertData != nil { + in, out := &in.PublicCertData, &out.PublicCertData + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootCertificateParameters. +func (in *RootCertificateParameters) DeepCopy() *RootCertificateParameters { + if in == nil { + return nil + } + out := new(RootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. +func (in *SecurityGroup) DeepCopy() *SecurityGroup { + if in == nil { + return nil + } + out := new(SecurityGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SecurityGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupList. +func (in *SecurityGroupList) DeepCopy() *SecurityGroupList { + if in == nil { + return nil + } + out := new(SecurityGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SecurityGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupObservation. +func (in *SecurityGroupObservation) DeepCopy() *SecurityGroupObservation { + if in == nil { + return nil + } + out := new(SecurityGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SecurityRule != nil { + in, out := &in.SecurityRule, &out.SecurityRule + *out = make([]SecurityRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParameters. +func (in *SecurityGroupParameters) DeepCopy() *SecurityGroupParameters { + if in == nil { + return nil + } + out := new(SecurityGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupSpec. +func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec { + if in == nil { + return nil + } + out := new(SecurityGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupStatus. +func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus { + if in == nil { + return nil + } + out := new(SecurityGroupStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityRuleObservation) DeepCopyInto(out *SecurityRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRuleObservation. +func (in *SecurityRuleObservation) DeepCopy() *SecurityRuleObservation { + if in == nil { + return nil + } + out := new(SecurityRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecurityRuleParameters) DeepCopyInto(out *SecurityRuleParameters) { + *out = *in + if in.Access != nil { + in, out := &in.Access, &out.Access + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DestinationAddressPrefix != nil { + in, out := &in.DestinationAddressPrefix, &out.DestinationAddressPrefix + *out = new(string) + **out = **in + } + if in.DestinationAddressPrefixes != nil { + in, out := &in.DestinationAddressPrefixes, &out.DestinationAddressPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationApplicationSecurityGroupIds != nil { + in, out := &in.DestinationApplicationSecurityGroupIds, &out.DestinationApplicationSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DestinationPortRange != nil { + in, out := &in.DestinationPortRange, &out.DestinationPortRange + *out = new(string) + **out = **in + } + if in.DestinationPortRanges != nil { + in, out := &in.DestinationPortRanges, &out.DestinationPortRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Direction != nil { + in, out := &in.Direction, &out.Direction + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.SourceAddressPrefix != nil { + in, out := &in.SourceAddressPrefix, &out.SourceAddressPrefix + *out = new(string) + **out = **in + } + if in.SourceAddressPrefixes != nil { + in, out := &in.SourceAddressPrefixes, &out.SourceAddressPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceApplicationSecurityGroupIds != nil { + in, out := &in.SourceApplicationSecurityGroupIds, &out.SourceApplicationSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourcePortRange != nil { + in, out := &in.SourcePortRange, &out.SourcePortRange + *out = new(string) + **out = **in + } + if in.SourcePortRanges != nil { + in, out := &in.SourcePortRanges, &out.SourcePortRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRuleParameters. +func (in *SecurityRuleParameters) DeepCopy() *SecurityRuleParameters { + if in == nil { + return nil + } + out := new(SecurityRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceDelegationObservation) DeepCopyInto(out *ServiceDelegationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDelegationObservation. +func (in *ServiceDelegationObservation) DeepCopy() *ServiceDelegationObservation { + if in == nil { + return nil + } + out := new(ServiceDelegationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceDelegationParameters) DeepCopyInto(out *ServiceDelegationParameters) { + *out = *in + if in.Actions != nil { + in, out := &in.Actions, &out.Actions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDelegationParameters. +func (in *ServiceDelegationParameters) DeepCopy() *ServiceDelegationParameters { + if in == nil { + return nil + } + out := new(ServiceDelegationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceObservation) DeepCopyInto(out *SourceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation. +func (in *SourceObservation) DeepCopy() *SourceObservation { + if in == nil { + return nil + } + out := new(SourceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceParameters) DeepCopyInto(out *SourceParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters. +func (in *SourceParameters) DeepCopy() *SourceParameters { + if in == nil { + return nil + } + out := new(SourceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageLocationObservation) DeepCopyInto(out *StorageLocationObservation) { + *out = *in + if in.StoragePath != nil { + in, out := &in.StoragePath, &out.StoragePath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageLocationObservation. +func (in *StorageLocationObservation) DeepCopy() *StorageLocationObservation { + if in == nil { + return nil + } + out := new(StorageLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageLocationParameters) DeepCopyInto(out *StorageLocationParameters) { + *out = *in + if in.FilePath != nil { + in, out := &in.FilePath, &out.FilePath + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageLocationParameters. +func (in *StorageLocationParameters) DeepCopy() *StorageLocationParameters { + if in == nil { + return nil + } + out := new(StorageLocationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Subnet) DeepCopyInto(out *Subnet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet. +func (in *Subnet) DeepCopy() *Subnet { + if in == nil { + return nil + } + out := new(Subnet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Subnet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetList) DeepCopyInto(out *SubnetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Subnet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetList. +func (in *SubnetList) DeepCopy() *SubnetList { + if in == nil { + return nil + } + out := new(SubnetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNATGatewayAssociation) DeepCopyInto(out *SubnetNATGatewayAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociation. +func (in *SubnetNATGatewayAssociation) DeepCopy() *SubnetNATGatewayAssociation { + if in == nil { + return nil + } + out := new(SubnetNATGatewayAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetNATGatewayAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNATGatewayAssociationList) DeepCopyInto(out *SubnetNATGatewayAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SubnetNATGatewayAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationList. +func (in *SubnetNATGatewayAssociationList) DeepCopy() *SubnetNATGatewayAssociationList { + if in == nil { + return nil + } + out := new(SubnetNATGatewayAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetNATGatewayAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNATGatewayAssociationObservation) DeepCopyInto(out *SubnetNATGatewayAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationObservation. +func (in *SubnetNATGatewayAssociationObservation) DeepCopy() *SubnetNATGatewayAssociationObservation { + if in == nil { + return nil + } + out := new(SubnetNATGatewayAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNATGatewayAssociationParameters) DeepCopyInto(out *SubnetNATGatewayAssociationParameters) { + *out = *in + if in.NatGatewayID != nil { + in, out := &in.NatGatewayID, &out.NatGatewayID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationParameters. +func (in *SubnetNATGatewayAssociationParameters) DeepCopy() *SubnetNATGatewayAssociationParameters { + if in == nil { + return nil + } + out := new(SubnetNATGatewayAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNATGatewayAssociationSpec) DeepCopyInto(out *SubnetNATGatewayAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationSpec. +func (in *SubnetNATGatewayAssociationSpec) DeepCopy() *SubnetNATGatewayAssociationSpec { + if in == nil { + return nil + } + out := new(SubnetNATGatewayAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNATGatewayAssociationStatus) DeepCopyInto(out *SubnetNATGatewayAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNATGatewayAssociationStatus. +func (in *SubnetNATGatewayAssociationStatus) DeepCopy() *SubnetNATGatewayAssociationStatus { + if in == nil { + return nil + } + out := new(SubnetNATGatewayAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNetworkSecurityGroupAssociation) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociation. +func (in *SubnetNetworkSecurityGroupAssociation) DeepCopy() *SubnetNetworkSecurityGroupAssociation { + if in == nil { + return nil + } + out := new(SubnetNetworkSecurityGroupAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetNetworkSecurityGroupAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SubnetNetworkSecurityGroupAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationList. +func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopy() *SubnetNetworkSecurityGroupAssociationList { + if in == nil { + return nil + } + out := new(SubnetNetworkSecurityGroupAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetNetworkSecurityGroupAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNetworkSecurityGroupAssociationObservation) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationObservation. +func (in *SubnetNetworkSecurityGroupAssociationObservation) DeepCopy() *SubnetNetworkSecurityGroupAssociationObservation { + if in == nil { + return nil + } + out := new(SubnetNetworkSecurityGroupAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNetworkSecurityGroupAssociationParameters) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationParameters) { + *out = *in + if in.NetworkSecurityGroupID != nil { + in, out := &in.NetworkSecurityGroupID, &out.NetworkSecurityGroupID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationParameters. +func (in *SubnetNetworkSecurityGroupAssociationParameters) DeepCopy() *SubnetNetworkSecurityGroupAssociationParameters { + if in == nil { + return nil + } + out := new(SubnetNetworkSecurityGroupAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNetworkSecurityGroupAssociationSpec) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationSpec. +func (in *SubnetNetworkSecurityGroupAssociationSpec) DeepCopy() *SubnetNetworkSecurityGroupAssociationSpec { + if in == nil { + return nil + } + out := new(SubnetNetworkSecurityGroupAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetNetworkSecurityGroupAssociationStatus) DeepCopyInto(out *SubnetNetworkSecurityGroupAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetNetworkSecurityGroupAssociationStatus. +func (in *SubnetNetworkSecurityGroupAssociationStatus) DeepCopy() *SubnetNetworkSecurityGroupAssociationStatus { + if in == nil { + return nil + } + out := new(SubnetNetworkSecurityGroupAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetObservation. +func (in *SubnetObservation) DeepCopy() *SubnetObservation { + if in == nil { + return nil + } + out := new(SubnetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters) { + *out = *in + if in.AddressPrefix != nil { + in, out := &in.AddressPrefix, &out.AddressPrefix + *out = new(string) + **out = **in + } + if in.AddressPrefixes != nil { + in, out := &in.AddressPrefixes, &out.AddressPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Delegation != nil { + in, out := &in.Delegation, &out.Delegation + *out = make([]DelegationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnforcePrivateLinkEndpointNetworkPolicies != nil { + in, out := &in.EnforcePrivateLinkEndpointNetworkPolicies, &out.EnforcePrivateLinkEndpointNetworkPolicies + *out = new(bool) + **out = **in + } + if in.EnforcePrivateLinkServiceNetworkPolicies != nil { + in, out := &in.EnforcePrivateLinkServiceNetworkPolicies, &out.EnforcePrivateLinkServiceNetworkPolicies + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.ServiceEndpointPolicyIds != nil { + in, out := &in.ServiceEndpointPolicyIds, &out.ServiceEndpointPolicyIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ServiceEndpoints != nil { + in, out := &in.ServiceEndpoints, &out.ServiceEndpoints + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualNetworkName != nil { + in, out := &in.VirtualNetworkName, &out.VirtualNetworkName + *out = new(string) + **out = **in + } + if in.VirtualNetworkNameRef != nil { + in, out := &in.VirtualNetworkNameRef, &out.VirtualNetworkNameRef + *out = new(v1.Reference) + **out = **in + } + if in.VirtualNetworkNameSelector != nil { + in, out := &in.VirtualNetworkNameSelector, &out.VirtualNetworkNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParameters. +func (in *SubnetParameters) DeepCopy() *SubnetParameters { + if in == nil { + return nil + } + out := new(SubnetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetRouteTableAssociation) DeepCopyInto(out *SubnetRouteTableAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociation. +func (in *SubnetRouteTableAssociation) DeepCopy() *SubnetRouteTableAssociation { + if in == nil { + return nil + } + out := new(SubnetRouteTableAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetRouteTableAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetRouteTableAssociationList) DeepCopyInto(out *SubnetRouteTableAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SubnetRouteTableAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationList. +func (in *SubnetRouteTableAssociationList) DeepCopy() *SubnetRouteTableAssociationList { + if in == nil { + return nil + } + out := new(SubnetRouteTableAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetRouteTableAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetRouteTableAssociationObservation) DeepCopyInto(out *SubnetRouteTableAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationObservation. +func (in *SubnetRouteTableAssociationObservation) DeepCopy() *SubnetRouteTableAssociationObservation { + if in == nil { + return nil + } + out := new(SubnetRouteTableAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetRouteTableAssociationParameters) DeepCopyInto(out *SubnetRouteTableAssociationParameters) { + *out = *in + if in.RouteTableID != nil { + in, out := &in.RouteTableID, &out.RouteTableID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationParameters. +func (in *SubnetRouteTableAssociationParameters) DeepCopy() *SubnetRouteTableAssociationParameters { + if in == nil { + return nil + } + out := new(SubnetRouteTableAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetRouteTableAssociationSpec) DeepCopyInto(out *SubnetRouteTableAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationSpec. +func (in *SubnetRouteTableAssociationSpec) DeepCopy() *SubnetRouteTableAssociationSpec { + if in == nil { + return nil + } + out := new(SubnetRouteTableAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetRouteTableAssociationStatus) DeepCopyInto(out *SubnetRouteTableAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationStatus. +func (in *SubnetRouteTableAssociationStatus) DeepCopy() *SubnetRouteTableAssociationStatus { + if in == nil { + return nil + } + out := new(SubnetRouteTableAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetServiceEndpointStoragePolicy) DeepCopyInto(out *SubnetServiceEndpointStoragePolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicy. +func (in *SubnetServiceEndpointStoragePolicy) DeepCopy() *SubnetServiceEndpointStoragePolicy { + if in == nil { + return nil + } + out := new(SubnetServiceEndpointStoragePolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetServiceEndpointStoragePolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetServiceEndpointStoragePolicyList) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SubnetServiceEndpointStoragePolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyList. +func (in *SubnetServiceEndpointStoragePolicyList) DeepCopy() *SubnetServiceEndpointStoragePolicyList { + if in == nil { + return nil + } + out := new(SubnetServiceEndpointStoragePolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubnetServiceEndpointStoragePolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetServiceEndpointStoragePolicyObservation) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyObservation. +func (in *SubnetServiceEndpointStoragePolicyObservation) DeepCopy() *SubnetServiceEndpointStoragePolicyObservation { + if in == nil { + return nil + } + out := new(SubnetServiceEndpointStoragePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetServiceEndpointStoragePolicyParameters) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyParameters) { + *out = *in + if in.Definition != nil { + in, out := &in.Definition, &out.Definition + *out = make([]DefinitionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyParameters. +func (in *SubnetServiceEndpointStoragePolicyParameters) DeepCopy() *SubnetServiceEndpointStoragePolicyParameters { + if in == nil { + return nil + } + out := new(SubnetServiceEndpointStoragePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetServiceEndpointStoragePolicySpec) DeepCopyInto(out *SubnetServiceEndpointStoragePolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicySpec. +func (in *SubnetServiceEndpointStoragePolicySpec) DeepCopy() *SubnetServiceEndpointStoragePolicySpec { + if in == nil { + return nil + } + out := new(SubnetServiceEndpointStoragePolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetServiceEndpointStoragePolicyStatus) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyStatus. +func (in *SubnetServiceEndpointStoragePolicyStatus) DeepCopy() *SubnetServiceEndpointStoragePolicyStatus { + if in == nil { + return nil + } + out := new(SubnetServiceEndpointStoragePolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec. +func (in *SubnetSpec) DeepCopy() *SubnetSpec { + if in == nil { + return nil + } + out := new(SubnetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetStatus. +func (in *SubnetStatus) DeepCopy() *SubnetStatus { + if in == nil { + return nil + } + out := new(SubnetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SuccessThresholdObservation) DeepCopyInto(out *SuccessThresholdObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessThresholdObservation. +func (in *SuccessThresholdObservation) DeepCopy() *SuccessThresholdObservation { + if in == nil { + return nil + } + out := new(SuccessThresholdObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SuccessThresholdParameters) DeepCopyInto(out *SuccessThresholdParameters) { + *out = *in + if in.ChecksFailedPercent != nil { + in, out := &in.ChecksFailedPercent, &out.ChecksFailedPercent + *out = new(int64) + **out = **in + } + if in.RoundTripTimeMs != nil { + in, out := &in.RoundTripTimeMs, &out.RoundTripTimeMs + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessThresholdParameters. +func (in *SuccessThresholdParameters) DeepCopy() *SuccessThresholdParameters { + if in == nil { + return nil + } + out := new(SuccessThresholdParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TCPConfigurationObservation) DeepCopyInto(out *TCPConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPConfigurationObservation. +func (in *TCPConfigurationObservation) DeepCopy() *TCPConfigurationObservation { + if in == nil { + return nil + } + out := new(TCPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TCPConfigurationParameters) DeepCopyInto(out *TCPConfigurationParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.TraceRouteEnabled != nil { + in, out := &in.TraceRouteEnabled, &out.TraceRouteEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPConfigurationParameters. +func (in *TCPConfigurationParameters) DeepCopy() *TCPConfigurationParameters { + if in == nil { + return nil + } + out := new(TCPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestConfigurationObservation) DeepCopyInto(out *TestConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestConfigurationObservation. +func (in *TestConfigurationObservation) DeepCopy() *TestConfigurationObservation { + if in == nil { + return nil + } + out := new(TestConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestConfigurationParameters) DeepCopyInto(out *TestConfigurationParameters) { + *out = *in + if in.HTTPConfiguration != nil { + in, out := &in.HTTPConfiguration, &out.HTTPConfiguration + *out = make([]HTTPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IcmpConfiguration != nil { + in, out := &in.IcmpConfiguration, &out.IcmpConfiguration + *out = make([]IcmpConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PreferredIPVersion != nil { + in, out := &in.PreferredIPVersion, &out.PreferredIPVersion + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.SuccessThreshold != nil { + in, out := &in.SuccessThreshold, &out.SuccessThreshold + *out = make([]SuccessThresholdParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TCPConfiguration != nil { + in, out := &in.TCPConfiguration, &out.TCPConfiguration + *out = make([]TCPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TestFrequencyInSeconds != nil { + in, out := &in.TestFrequencyInSeconds, &out.TestFrequencyInSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestConfigurationParameters. +func (in *TestConfigurationParameters) DeepCopy() *TestConfigurationParameters { + if in == nil { + return nil + } + out := new(TestConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGroupObservation) DeepCopyInto(out *TestGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGroupObservation. +func (in *TestGroupObservation) DeepCopy() *TestGroupObservation { + if in == nil { + return nil + } + out := new(TestGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TestGroupParameters) DeepCopyInto(out *TestGroupParameters) { + *out = *in + if in.DestinationEndpoints != nil { + in, out := &in.DestinationEndpoints, &out.DestinationEndpoints + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SourceEndpoints != nil { + in, out := &in.SourceEndpoints, &out.SourceEndpoints + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TestConfigurationNames != nil { + in, out := &in.TestConfigurationNames, &out.TestConfigurationNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestGroupParameters. +func (in *TestGroupParameters) DeepCopy() *TestGroupParameters { + if in == nil { + return nil + } + out := new(TestGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficAnalyticsObservation) DeepCopyInto(out *TrafficAnalyticsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficAnalyticsObservation. +func (in *TrafficAnalyticsObservation) DeepCopy() *TrafficAnalyticsObservation { + if in == nil { + return nil + } + out := new(TrafficAnalyticsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficAnalyticsParameters) DeepCopyInto(out *TrafficAnalyticsParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.IntervalInMinutes != nil { + in, out := &in.IntervalInMinutes, &out.IntervalInMinutes + *out = new(int64) + **out = **in + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } + if in.WorkspaceRegion != nil { + in, out := &in.WorkspaceRegion, &out.WorkspaceRegion + *out = new(string) + **out = **in + } + if in.WorkspaceResourceID != nil { + in, out := &in.WorkspaceResourceID, &out.WorkspaceResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficAnalyticsParameters. +func (in *TrafficAnalyticsParameters) DeepCopy() *TrafficAnalyticsParameters { + if in == nil { + return nil + } + out := new(TrafficAnalyticsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficSelectorPolicyObservation) DeepCopyInto(out *TrafficSelectorPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficSelectorPolicyObservation. +func (in *TrafficSelectorPolicyObservation) DeepCopy() *TrafficSelectorPolicyObservation { + if in == nil { + return nil + } + out := new(TrafficSelectorPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TrafficSelectorPolicyParameters) DeepCopyInto(out *TrafficSelectorPolicyParameters) { + *out = *in + if in.LocalAddressCidrs != nil { + in, out := &in.LocalAddressCidrs, &out.LocalAddressCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RemoteAddressCidrs != nil { + in, out := &in.RemoteAddressCidrs, &out.RemoteAddressCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficSelectorPolicyParameters. +func (in *TrafficSelectorPolicyParameters) DeepCopy() *TrafficSelectorPolicyParameters { + if in == nil { + return nil + } + out := new(TrafficSelectorPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetwork) DeepCopyInto(out *VirtualNetwork) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetwork. +func (in *VirtualNetwork) DeepCopy() *VirtualNetwork { + if in == nil { + return nil + } + out := new(VirtualNetwork) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetwork) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkDdosProtectionPlanObservation) DeepCopyInto(out *VirtualNetworkDdosProtectionPlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkDdosProtectionPlanObservation. +func (in *VirtualNetworkDdosProtectionPlanObservation) DeepCopy() *VirtualNetworkDdosProtectionPlanObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkDdosProtectionPlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkDdosProtectionPlanParameters) DeepCopyInto(out *VirtualNetworkDdosProtectionPlanParameters) { + *out = *in + if in.Enable != nil { + in, out := &in.Enable, &out.Enable + *out = new(bool) + **out = **in + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkDdosProtectionPlanParameters. +func (in *VirtualNetworkDdosProtectionPlanParameters) DeepCopy() *VirtualNetworkDdosProtectionPlanParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkDdosProtectionPlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkGateway) DeepCopyInto(out *VirtualNetworkGateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGateway. +func (in *VirtualNetworkGateway) DeepCopy() *VirtualNetworkGateway { + if in == nil { + return nil + } + out := new(VirtualNetworkGateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkGateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkGatewayConnection) DeepCopyInto(out *VirtualNetworkGatewayConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnection. +func (in *VirtualNetworkGatewayConnection) DeepCopy() *VirtualNetworkGatewayConnection { + if in == nil { + return nil + } + out := new(VirtualNetworkGatewayConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkGatewayConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkGatewayConnectionList) DeepCopyInto(out *VirtualNetworkGatewayConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualNetworkGatewayConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionList. +func (in *VirtualNetworkGatewayConnectionList) DeepCopy() *VirtualNetworkGatewayConnectionList { + if in == nil { + return nil + } + out := new(VirtualNetworkGatewayConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkGatewayConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkGatewayConnectionObservation) DeepCopyInto(out *VirtualNetworkGatewayConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionObservation. +func (in *VirtualNetworkGatewayConnectionObservation) DeepCopy() *VirtualNetworkGatewayConnectionObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkGatewayConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkGatewayConnectionParameters) DeepCopyInto(out *VirtualNetworkGatewayConnectionParameters) { + *out = *in + if in.AuthorizationKeySecretRef != nil { + in, out := &in.AuthorizationKeySecretRef, &out.AuthorizationKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ConnectionProtocol != nil { + in, out := &in.ConnectionProtocol, &out.ConnectionProtocol + *out = new(string) + **out = **in + } + if in.DpdTimeoutSeconds != nil { + in, out := &in.DpdTimeoutSeconds, &out.DpdTimeoutSeconds + *out = new(int64) + **out = **in + } + if in.EnableBgp != nil { + in, out := &in.EnableBgp, &out.EnableBgp + *out = new(bool) + **out = **in + } + if in.ExpressRouteCircuitID != nil { + in, out := &in.ExpressRouteCircuitID, &out.ExpressRouteCircuitID + *out = new(string) + **out = **in + } + if in.ExpressRouteGatewayBypass != nil { + in, out := &in.ExpressRouteGatewayBypass, &out.ExpressRouteGatewayBypass + *out = new(bool) + **out = **in + } + if in.IpsecPolicy != nil { + in, out := &in.IpsecPolicy, &out.IpsecPolicy + *out = make([]IpsecPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LocalAzureIPAddressEnabled != nil { + in, out := &in.LocalAzureIPAddressEnabled, &out.LocalAzureIPAddressEnabled + *out = new(bool) + **out = **in + } + if in.LocalNetworkGatewayID != nil { + in, out := &in.LocalNetworkGatewayID, &out.LocalNetworkGatewayID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.PeerVirtualNetworkGatewayID != nil { + in, out := &in.PeerVirtualNetworkGatewayID, &out.PeerVirtualNetworkGatewayID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.RoutingWeight != nil { + in, out := &in.RoutingWeight, &out.RoutingWeight + *out = new(int64) + **out = **in + } + if in.SharedKeySecretRef != nil { + in, out := &in.SharedKeySecretRef, &out.SharedKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TrafficSelectorPolicy != nil { + in, out := &in.TrafficSelectorPolicy, &out.TrafficSelectorPolicy + *out = make([]TrafficSelectorPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.SubnetID != nil { - in, out := &in.SubnetID, &out.SubnetID + if in.UsePolicyBasedTrafficSelectors != nil { + in, out := &in.UsePolicyBasedTrafficSelectors, &out.UsePolicyBasedTrafficSelectors + *out = new(bool) + **out = **in + } + if in.VirtualNetworkGatewayID != nil { + in, out := &in.VirtualNetworkGatewayID, &out.VirtualNetworkGatewayID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationParameters. -func (in *SubnetRouteTableAssociationParameters) DeepCopy() *SubnetRouteTableAssociationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionParameters. +func (in *VirtualNetworkGatewayConnectionParameters) DeepCopy() *VirtualNetworkGatewayConnectionParameters { if in == nil { return nil } - out := new(SubnetRouteTableAssociationParameters) + out := new(VirtualNetworkGatewayConnectionParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetRouteTableAssociationSpec) DeepCopyInto(out *SubnetRouteTableAssociationSpec) { +func (in *VirtualNetworkGatewayConnectionSpec) DeepCopyInto(out *VirtualNetworkGatewayConnectionSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationSpec. -func (in *SubnetRouteTableAssociationSpec) DeepCopy() *SubnetRouteTableAssociationSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionSpec. +func (in *VirtualNetworkGatewayConnectionSpec) DeepCopy() *VirtualNetworkGatewayConnectionSpec { if in == nil { return nil } - out := new(SubnetRouteTableAssociationSpec) + out := new(VirtualNetworkGatewayConnectionSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetRouteTableAssociationStatus) DeepCopyInto(out *SubnetRouteTableAssociationStatus) { +func (in *VirtualNetworkGatewayConnectionStatus) DeepCopyInto(out *VirtualNetworkGatewayConnectionStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetRouteTableAssociationStatus. -func (in *SubnetRouteTableAssociationStatus) DeepCopy() *SubnetRouteTableAssociationStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionStatus. +func (in *VirtualNetworkGatewayConnectionStatus) DeepCopy() *VirtualNetworkGatewayConnectionStatus { if in == nil { return nil } - out := new(SubnetRouteTableAssociationStatus) + out := new(VirtualNetworkGatewayConnectionStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetServiceEndpointStoragePolicy) DeepCopyInto(out *SubnetServiceEndpointStoragePolicy) { +func (in *VirtualNetworkGatewayIPConfigurationObservation) DeepCopyInto(out *VirtualNetworkGatewayIPConfigurationObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicy. -func (in *SubnetServiceEndpointStoragePolicy) DeepCopy() *SubnetServiceEndpointStoragePolicy { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayIPConfigurationObservation. +func (in *VirtualNetworkGatewayIPConfigurationObservation) DeepCopy() *VirtualNetworkGatewayIPConfigurationObservation { if in == nil { return nil } - out := new(SubnetServiceEndpointStoragePolicy) + out := new(VirtualNetworkGatewayIPConfigurationObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetServiceEndpointStoragePolicy) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkGatewayIPConfigurationParameters) DeepCopyInto(out *VirtualNetworkGatewayIPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - return nil + if in.PrivateIPAddressAllocation != nil { + in, out := &in.PrivateIPAddressAllocation, &out.PrivateIPAddressAllocation + *out = new(string) + **out = **in + } + if in.PublicIPAddressID != nil { + in, out := &in.PublicIPAddressID, &out.PublicIPAddressID + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayIPConfigurationParameters. +func (in *VirtualNetworkGatewayIPConfigurationParameters) DeepCopy() *VirtualNetworkGatewayIPConfigurationParameters { + if in == nil { + return nil + } + out := new(VirtualNetworkGatewayIPConfigurationParameters) + in.DeepCopyInto(out) + return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetServiceEndpointStoragePolicyList) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyList) { +func (in *VirtualNetworkGatewayList) DeepCopyInto(out *VirtualNetworkGatewayList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]SubnetServiceEndpointStoragePolicy, len(*in)) + *out = make([]VirtualNetworkGateway, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyList. -func (in *SubnetServiceEndpointStoragePolicyList) DeepCopy() *SubnetServiceEndpointStoragePolicyList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayList. +func (in *VirtualNetworkGatewayList) DeepCopy() *VirtualNetworkGatewayList { if in == nil { return nil } - out := new(SubnetServiceEndpointStoragePolicyList) + out := new(VirtualNetworkGatewayList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *SubnetServiceEndpointStoragePolicyList) DeepCopyObject() runtime.Object { +func (in *VirtualNetworkGatewayList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1503,26 +4956,60 @@ func (in *SubnetServiceEndpointStoragePolicyList) DeepCopyObject() runtime.Objec } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetServiceEndpointStoragePolicyObservation) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyObservation) { +func (in *VirtualNetworkGatewayObservation) DeepCopyInto(out *VirtualNetworkGatewayObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyObservation. -func (in *SubnetServiceEndpointStoragePolicyObservation) DeepCopy() *SubnetServiceEndpointStoragePolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayObservation. +func (in *VirtualNetworkGatewayObservation) DeepCopy() *VirtualNetworkGatewayObservation { if in == nil { return nil } - out := new(SubnetServiceEndpointStoragePolicyObservation) + out := new(VirtualNetworkGatewayObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetServiceEndpointStoragePolicyParameters) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyParameters) { +func (in *VirtualNetworkGatewayParameters) DeepCopyInto(out *VirtualNetworkGatewayParameters) { *out = *in - if in.Definition != nil { - in, out := &in.Definition, &out.Definition - *out = make([]DefinitionParameters, len(*in)) + if in.ActiveActive != nil { + in, out := &in.ActiveActive, &out.ActiveActive + *out = new(bool) + **out = **in + } + if in.BgpSettings != nil { + in, out := &in.BgpSettings, &out.BgpSettings + *out = make([]BgpSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomRoute != nil { + in, out := &in.CustomRoute, &out.CustomRoute + *out = make([]CustomRouteParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultLocalNetworkGatewayID != nil { + in, out := &in.DefaultLocalNetworkGatewayID, &out.DefaultLocalNetworkGatewayID + *out = new(string) + **out = **in + } + if in.EnableBgp != nil { + in, out := &in.EnableBgp, &out.EnableBgp + *out = new(bool) + **out = **in + } + if in.Generation != nil { + in, out := &in.Generation, &out.Generation + *out = new(string) + **out = **in + } + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]VirtualNetworkGatewayIPConfigurationParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1532,6 +5019,11 @@ func (in *SubnetServiceEndpointStoragePolicyParameters) DeepCopyInto(out *Subnet *out = new(string) **out = **in } + if in.PrivateIPAddressEnabled != nil { + in, out := &in.PrivateIPAddressEnabled, &out.PrivateIPAddressEnabled + *out = new(bool) + **out = **in + } if in.ResourceGroupName != nil { in, out := &in.ResourceGroupName, &out.ResourceGroupName *out = new(string) @@ -1547,260 +5039,115 @@ func (in *SubnetServiceEndpointStoragePolicyParameters) DeepCopyInto(out *Subnet *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyParameters. -func (in *SubnetServiceEndpointStoragePolicyParameters) DeepCopy() *SubnetServiceEndpointStoragePolicyParameters { - if in == nil { - return nil - } - out := new(SubnetServiceEndpointStoragePolicyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetServiceEndpointStoragePolicySpec) DeepCopyInto(out *SubnetServiceEndpointStoragePolicySpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicySpec. -func (in *SubnetServiceEndpointStoragePolicySpec) DeepCopy() *SubnetServiceEndpointStoragePolicySpec { - if in == nil { - return nil - } - out := new(SubnetServiceEndpointStoragePolicySpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetServiceEndpointStoragePolicyStatus) DeepCopyInto(out *SubnetServiceEndpointStoragePolicyStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - out.AtProvider = in.AtProvider -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetServiceEndpointStoragePolicyStatus. -func (in *SubnetServiceEndpointStoragePolicyStatus) DeepCopy() *SubnetServiceEndpointStoragePolicyStatus { - if in == nil { - return nil - } - out := new(SubnetServiceEndpointStoragePolicyStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec) { - *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec. -func (in *SubnetSpec) DeepCopy() *SubnetSpec { - if in == nil { - return nil - } - out := new(SubnetSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - out.AtProvider = in.AtProvider -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetStatus. -func (in *SubnetStatus) DeepCopy() *SubnetStatus { - if in == nil { - return nil - } - out := new(SubnetStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TrafficSelectorPolicyObservation) DeepCopyInto(out *TrafficSelectorPolicyObservation) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficSelectorPolicyObservation. -func (in *TrafficSelectorPolicyObservation) DeepCopy() *TrafficSelectorPolicyObservation { - if in == nil { - return nil + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in } - out := new(TrafficSelectorPolicyObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TrafficSelectorPolicyParameters) DeepCopyInto(out *TrafficSelectorPolicyParameters) { - *out = *in - if in.LocalAddressCidrs != nil { - in, out := &in.LocalAddressCidrs, &out.LocalAddressCidrs - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } - if in.RemoteAddressCidrs != nil { - in, out := &in.RemoteAddressCidrs, &out.RemoteAddressCidrs - *out = make([]*string, len(*in)) + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.VpnClientConfiguration != nil { + in, out := &in.VpnClientConfiguration, &out.VpnClientConfiguration + *out = make([]VpnClientConfigurationParameters, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrafficSelectorPolicyParameters. -func (in *TrafficSelectorPolicyParameters) DeepCopy() *TrafficSelectorPolicyParameters { - if in == nil { - return nil + if in.VpnType != nil { + in, out := &in.VpnType, &out.VpnType + *out = new(string) + **out = **in } - out := new(TrafficSelectorPolicyParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetwork) DeepCopyInto(out *VirtualNetwork) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetwork. -func (in *VirtualNetwork) DeepCopy() *VirtualNetwork { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayParameters. +func (in *VirtualNetworkGatewayParameters) DeepCopy() *VirtualNetworkGatewayParameters { if in == nil { return nil } - out := new(VirtualNetwork) + out := new(VirtualNetworkGatewayParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetwork) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGateway) DeepCopyInto(out *VirtualNetworkGateway) { +func (in *VirtualNetworkGatewaySpec) DeepCopyInto(out *VirtualNetworkGatewaySpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGateway. -func (in *VirtualNetworkGateway) DeepCopy() *VirtualNetworkGateway { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewaySpec. +func (in *VirtualNetworkGatewaySpec) DeepCopy() *VirtualNetworkGatewaySpec { if in == nil { return nil } - out := new(VirtualNetworkGateway) + out := new(VirtualNetworkGatewaySpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkGateway) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayConnection) DeepCopyInto(out *VirtualNetworkGatewayConnection) { +func (in *VirtualNetworkGatewayStatus) DeepCopyInto(out *VirtualNetworkGatewayStatus) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnection. -func (in *VirtualNetworkGatewayConnection) DeepCopy() *VirtualNetworkGatewayConnection { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayStatus. +func (in *VirtualNetworkGatewayStatus) DeepCopy() *VirtualNetworkGatewayStatus { if in == nil { return nil } - out := new(VirtualNetworkGatewayConnection) + out := new(VirtualNetworkGatewayStatus) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkGatewayConnection) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayConnectionList) DeepCopyInto(out *VirtualNetworkGatewayConnectionList) { +func (in *VirtualNetworkList) DeepCopyInto(out *VirtualNetworkList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VirtualNetworkGatewayConnection, len(*in)) + *out = make([]VirtualNetwork, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionList. -func (in *VirtualNetworkGatewayConnectionList) DeepCopy() *VirtualNetworkGatewayConnectionList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkList. +func (in *VirtualNetworkList) DeepCopy() *VirtualNetworkList { if in == nil { return nil } - out := new(VirtualNetworkGatewayConnectionList) + out := new(VirtualNetworkList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkGatewayConnectionList) DeepCopyObject() runtime.Object { +func (in *VirtualNetworkList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1808,80 +5155,67 @@ func (in *VirtualNetworkGatewayConnectionList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayConnectionObservation) DeepCopyInto(out *VirtualNetworkGatewayConnectionObservation) { +func (in *VirtualNetworkObservation) DeepCopyInto(out *VirtualNetworkObservation) { *out = *in + if in.GUID != nil { + in, out := &in.GUID, &out.GUID + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionObservation. -func (in *VirtualNetworkGatewayConnectionObservation) DeepCopy() *VirtualNetworkGatewayConnectionObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkObservation. +func (in *VirtualNetworkObservation) DeepCopy() *VirtualNetworkObservation { if in == nil { return nil } - out := new(VirtualNetworkGatewayConnectionObservation) + out := new(VirtualNetworkObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayConnectionParameters) DeepCopyInto(out *VirtualNetworkGatewayConnectionParameters) { +func (in *VirtualNetworkParameters) DeepCopyInto(out *VirtualNetworkParameters) { *out = *in - if in.AuthorizationKeySecretRef != nil { - in, out := &in.AuthorizationKeySecretRef, &out.AuthorizationKeySecretRef - *out = new(v1.SecretKeySelector) - **out = **in - } - if in.ConnectionProtocol != nil { - in, out := &in.ConnectionProtocol, &out.ConnectionProtocol - *out = new(string) - **out = **in - } - if in.DpdTimeoutSeconds != nil { - in, out := &in.DpdTimeoutSeconds, &out.DpdTimeoutSeconds - *out = new(int64) - **out = **in - } - if in.EnableBgp != nil { - in, out := &in.EnableBgp, &out.EnableBgp - *out = new(bool) - **out = **in + if in.AddressSpace != nil { + in, out := &in.AddressSpace, &out.AddressSpace + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.ExpressRouteCircuitID != nil { - in, out := &in.ExpressRouteCircuitID, &out.ExpressRouteCircuitID + if in.BgpCommunity != nil { + in, out := &in.BgpCommunity, &out.BgpCommunity *out = new(string) **out = **in } - if in.ExpressRouteGatewayBypass != nil { - in, out := &in.ExpressRouteGatewayBypass, &out.ExpressRouteGatewayBypass - *out = new(bool) - **out = **in + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } } - if in.IpsecPolicy != nil { - in, out := &in.IpsecPolicy, &out.IpsecPolicy - *out = make([]IpsecPolicyParameters, len(*in)) + if in.DdosProtectionPlan != nil { + in, out := &in.DdosProtectionPlan, &out.DdosProtectionPlan + *out = make([]VirtualNetworkDdosProtectionPlanParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.LocalAzureIPAddressEnabled != nil { - in, out := &in.LocalAzureIPAddressEnabled, &out.LocalAzureIPAddressEnabled - *out = new(bool) - **out = **in - } - if in.LocalNetworkGatewayID != nil { - in, out := &in.LocalNetworkGatewayID, &out.LocalNetworkGatewayID - *out = new(string) - **out = **in - } if in.Location != nil { in, out := &in.Location, &out.Location *out = new(string) **out = **in } - if in.PeerVirtualNetworkGatewayID != nil { - in, out := &in.PeerVirtualNetworkGatewayID, &out.PeerVirtualNetworkGatewayID - *out = new(string) - **out = **in - } if in.ResourceGroupName != nil { in, out := &in.ResourceGroupName, &out.ResourceGroupName *out = new(string) @@ -1897,15 +5231,12 @@ func (in *VirtualNetworkGatewayConnectionParameters) DeepCopyInto(out *VirtualNe *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.RoutingWeight != nil { - in, out := &in.RoutingWeight, &out.RoutingWeight - *out = new(int64) - **out = **in - } - if in.SharedKeySecretRef != nil { - in, out := &in.SharedKeySecretRef, &out.SharedKeySecretRef - *out = new(v1.SecretKeySelector) - **out = **in + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = make([]VirtualNetworkSubnetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -1922,100 +5253,76 @@ func (in *VirtualNetworkGatewayConnectionParameters) DeepCopyInto(out *VirtualNe (*out)[key] = outVal } } - if in.TrafficSelectorPolicy != nil { - in, out := &in.TrafficSelectorPolicy, &out.TrafficSelectorPolicy - *out = make([]TrafficSelectorPolicyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } - if in.UsePolicyBasedTrafficSelectors != nil { - in, out := &in.UsePolicyBasedTrafficSelectors, &out.UsePolicyBasedTrafficSelectors - *out = new(bool) - **out = **in - } - if in.VirtualNetworkGatewayID != nil { - in, out := &in.VirtualNetworkGatewayID, &out.VirtualNetworkGatewayID - *out = new(string) + if in.VMProtectionEnabled != nil { + in, out := &in.VMProtectionEnabled, &out.VMProtectionEnabled + *out = new(bool) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionParameters. -func (in *VirtualNetworkGatewayConnectionParameters) DeepCopy() *VirtualNetworkGatewayConnectionParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkParameters. +func (in *VirtualNetworkParameters) DeepCopy() *VirtualNetworkParameters { if in == nil { return nil } - out := new(VirtualNetworkGatewayConnectionParameters) + out := new(VirtualNetworkParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayConnectionSpec) DeepCopyInto(out *VirtualNetworkGatewayConnectionSpec) { +func (in *VirtualNetworkPeering) DeepCopyInto(out *VirtualNetworkPeering) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionSpec. -func (in *VirtualNetworkGatewayConnectionSpec) DeepCopy() *VirtualNetworkGatewayConnectionSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeering. +func (in *VirtualNetworkPeering) DeepCopy() *VirtualNetworkPeering { if in == nil { return nil } - out := new(VirtualNetworkGatewayConnectionSpec) + out := new(VirtualNetworkPeering) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayConnectionStatus) DeepCopyInto(out *VirtualNetworkGatewayConnectionStatus) { - *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - out.AtProvider = in.AtProvider -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayConnectionStatus. -func (in *VirtualNetworkGatewayConnectionStatus) DeepCopy() *VirtualNetworkGatewayConnectionStatus { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualNetworkPeering) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(VirtualNetworkGatewayConnectionStatus) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayList) DeepCopyInto(out *VirtualNetworkGatewayList) { +func (in *VirtualNetworkPeeringList) DeepCopyInto(out *VirtualNetworkPeeringList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VirtualNetworkGateway, len(*in)) + *out = make([]VirtualNetworkPeering, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayList. -func (in *VirtualNetworkGatewayList) DeepCopy() *VirtualNetworkGatewayList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringList. +func (in *VirtualNetworkPeeringList) DeepCopy() *VirtualNetworkPeeringList { if in == nil { return nil } - out := new(VirtualNetworkGatewayList) + out := new(VirtualNetworkPeeringList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkGatewayList) DeepCopyObject() runtime.Object { +func (in *VirtualNetworkPeeringList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2023,74 +5330,43 @@ func (in *VirtualNetworkGatewayList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayObservation) DeepCopyInto(out *VirtualNetworkGatewayObservation) { +func (in *VirtualNetworkPeeringObservation) DeepCopyInto(out *VirtualNetworkPeeringObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayObservation. -func (in *VirtualNetworkGatewayObservation) DeepCopy() *VirtualNetworkGatewayObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringObservation. +func (in *VirtualNetworkPeeringObservation) DeepCopy() *VirtualNetworkPeeringObservation { if in == nil { return nil } - out := new(VirtualNetworkGatewayObservation) + out := new(VirtualNetworkPeeringObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayParameters) DeepCopyInto(out *VirtualNetworkGatewayParameters) { +func (in *VirtualNetworkPeeringParameters) DeepCopyInto(out *VirtualNetworkPeeringParameters) { *out = *in - if in.ActiveActive != nil { - in, out := &in.ActiveActive, &out.ActiveActive + if in.AllowForwardedTraffic != nil { + in, out := &in.AllowForwardedTraffic, &out.AllowForwardedTraffic *out = new(bool) **out = **in } - if in.BgpSettings != nil { - in, out := &in.BgpSettings, &out.BgpSettings - *out = make([]BgpSettingsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CustomRoute != nil { - in, out := &in.CustomRoute, &out.CustomRoute - *out = make([]CustomRouteParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultLocalNetworkGatewayID != nil { - in, out := &in.DefaultLocalNetworkGatewayID, &out.DefaultLocalNetworkGatewayID - *out = new(string) - **out = **in - } - if in.EnableBgp != nil { - in, out := &in.EnableBgp, &out.EnableBgp + if in.AllowGatewayTransit != nil { + in, out := &in.AllowGatewayTransit, &out.AllowGatewayTransit *out = new(bool) **out = **in } - if in.Generation != nil { - in, out := &in.Generation, &out.Generation - *out = new(string) + if in.AllowVirtualNetworkAccess != nil { + in, out := &in.AllowVirtualNetworkAccess, &out.AllowVirtualNetworkAccess + *out = new(bool) **out = **in } - if in.IPConfiguration != nil { - in, out := &in.IPConfiguration, &out.IPConfiguration - *out = make([]IPConfigurationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Location != nil { - in, out := &in.Location, &out.Location + if in.RemoteVirtualNetworkID != nil { + in, out := &in.RemoteVirtualNetworkID, &out.RemoteVirtualNetworkID *out = new(string) **out = **in } - if in.PrivateIPAddressEnabled != nil { - in, out := &in.PrivateIPAddressEnabled, &out.PrivateIPAddressEnabled - *out = new(bool) - **out = **in - } if in.ResourceGroupName != nil { in, out := &in.ResourceGroupName, &out.ResourceGroupName *out = new(string) @@ -2106,239 +5382,158 @@ func (in *VirtualNetworkGatewayParameters) DeepCopyInto(out *VirtualNetworkGatew *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.Sku != nil { - in, out := &in.Sku, &out.Sku - *out = new(string) + if in.UseRemoteGateways != nil { + in, out := &in.UseRemoteGateways, &out.UseRemoteGateways + *out = new(bool) **out = **in } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.VirtualNetworkName != nil { + in, out := &in.VirtualNetworkName, &out.VirtualNetworkName *out = new(string) **out = **in } - if in.VpnClientConfiguration != nil { - in, out := &in.VpnClientConfiguration, &out.VpnClientConfiguration - *out = make([]VpnClientConfigurationParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VpnType != nil { - in, out := &in.VpnType, &out.VpnType - *out = new(string) + if in.VirtualNetworkNameRef != nil { + in, out := &in.VirtualNetworkNameRef, &out.VirtualNetworkNameRef + *out = new(v1.Reference) **out = **in } + if in.VirtualNetworkNameSelector != nil { + in, out := &in.VirtualNetworkNameSelector, &out.VirtualNetworkNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayParameters. -func (in *VirtualNetworkGatewayParameters) DeepCopy() *VirtualNetworkGatewayParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringParameters. +func (in *VirtualNetworkPeeringParameters) DeepCopy() *VirtualNetworkPeeringParameters { if in == nil { return nil } - out := new(VirtualNetworkGatewayParameters) + out := new(VirtualNetworkPeeringParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewaySpec) DeepCopyInto(out *VirtualNetworkGatewaySpec) { +func (in *VirtualNetworkPeeringSpec) DeepCopyInto(out *VirtualNetworkPeeringSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewaySpec. -func (in *VirtualNetworkGatewaySpec) DeepCopy() *VirtualNetworkGatewaySpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringSpec. +func (in *VirtualNetworkPeeringSpec) DeepCopy() *VirtualNetworkPeeringSpec { if in == nil { return nil } - out := new(VirtualNetworkGatewaySpec) + out := new(VirtualNetworkPeeringSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkGatewayStatus) DeepCopyInto(out *VirtualNetworkGatewayStatus) { +func (in *VirtualNetworkPeeringStatus) DeepCopyInto(out *VirtualNetworkPeeringStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkGatewayStatus. -func (in *VirtualNetworkGatewayStatus) DeepCopy() *VirtualNetworkGatewayStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringStatus. +func (in *VirtualNetworkPeeringStatus) DeepCopy() *VirtualNetworkPeeringStatus { if in == nil { return nil } - out := new(VirtualNetworkGatewayStatus) + out := new(VirtualNetworkPeeringStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkList) DeepCopyInto(out *VirtualNetworkList) { +func (in *VirtualNetworkSpec) DeepCopyInto(out *VirtualNetworkSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VirtualNetwork, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkList. -func (in *VirtualNetworkList) DeepCopy() *VirtualNetworkList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSpec. +func (in *VirtualNetworkSpec) DeepCopy() *VirtualNetworkSpec { if in == nil { return nil } - out := new(VirtualNetworkList) + out := new(VirtualNetworkSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkObservation) DeepCopyInto(out *VirtualNetworkObservation) { +func (in *VirtualNetworkStatus) DeepCopyInto(out *VirtualNetworkStatus) { *out = *in - if in.GUID != nil { - in, out := &in.GUID, &out.GUID - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkObservation. -func (in *VirtualNetworkObservation) DeepCopy() *VirtualNetworkObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkStatus. +func (in *VirtualNetworkStatus) DeepCopy() *VirtualNetworkStatus { if in == nil { return nil } - out := new(VirtualNetworkObservation) + out := new(VirtualNetworkStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkParameters) DeepCopyInto(out *VirtualNetworkParameters) { +func (in *VirtualNetworkSubnetObservation) DeepCopyInto(out *VirtualNetworkSubnetObservation) { *out = *in - if in.AddressSpace != nil { - in, out := &in.AddressSpace, &out.AddressSpace - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.BgpCommunity != nil { - in, out := &in.BgpCommunity, &out.BgpCommunity - *out = new(string) - **out = **in - } - if in.DNSServers != nil { - in, out := &in.DNSServers, &out.DNSServers - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.DdosProtectionPlan != nil { - in, out := &in.DdosProtectionPlan, &out.DdosProtectionPlan - *out = make([]DdosProtectionPlanParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Location != nil { - in, out := &in.Location, &out.Location + if in.ID != nil { + in, out := &in.ID, &out.ID *out = new(string) **out = **in } - if in.ResourceGroupName != nil { - in, out := &in.ResourceGroupName, &out.ResourceGroupName +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSubnetObservation. +func (in *VirtualNetworkSubnetObservation) DeepCopy() *VirtualNetworkSubnetObservation { + if in == nil { + return nil + } + out := new(VirtualNetworkSubnetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualNetworkSubnetParameters) DeepCopyInto(out *VirtualNetworkSubnetParameters) { + *out = *in + if in.AddressPrefix != nil { + in, out := &in.AddressPrefix, &out.AddressPrefix *out = new(string) **out = **in } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Subnet != nil { - in, out := &in.Subnet, &out.Subnet - *out = make([]VirtualNetworkSubnetParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } - if in.VMProtectionEnabled != nil { - in, out := &in.VMProtectionEnabled, &out.VMProtectionEnabled - *out = new(bool) + if in.SecurityGroup != nil { + in, out := &in.SecurityGroup, &out.SecurityGroup + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkParameters. -func (in *VirtualNetworkParameters) DeepCopy() *VirtualNetworkParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSubnetParameters. +func (in *VirtualNetworkSubnetParameters) DeepCopy() *VirtualNetworkSubnetParameters { if in == nil { return nil } - out := new(VirtualNetworkParameters) + out := new(VirtualNetworkSubnetParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkPeering) DeepCopyInto(out *VirtualNetworkPeering) { +func (in *VirtualWAN) DeepCopyInto(out *VirtualWAN) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -2346,18 +5541,18 @@ func (in *VirtualNetworkPeering) DeepCopyInto(out *VirtualNetworkPeering) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeering. -func (in *VirtualNetworkPeering) DeepCopy() *VirtualNetworkPeering { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWAN. +func (in *VirtualWAN) DeepCopy() *VirtualWAN { if in == nil { return nil } - out := new(VirtualNetworkPeering) + out := new(VirtualWAN) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkPeering) DeepCopyObject() runtime.Object { +func (in *VirtualWAN) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2365,31 +5560,31 @@ func (in *VirtualNetworkPeering) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkPeeringList) DeepCopyInto(out *VirtualNetworkPeeringList) { +func (in *VirtualWANList) DeepCopyInto(out *VirtualWANList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VirtualNetworkPeering, len(*in)) + *out = make([]VirtualWAN, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringList. -func (in *VirtualNetworkPeeringList) DeepCopy() *VirtualNetworkPeeringList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANList. +func (in *VirtualWANList) DeepCopy() *VirtualWANList { if in == nil { return nil } - out := new(VirtualNetworkPeeringList) + out := new(VirtualWANList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualNetworkPeeringList) DeepCopyObject() runtime.Object { +func (in *VirtualWANList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2397,40 +5592,45 @@ func (in *VirtualNetworkPeeringList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkPeeringObservation) DeepCopyInto(out *VirtualNetworkPeeringObservation) { +func (in *VirtualWANObservation) DeepCopyInto(out *VirtualWANObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringObservation. -func (in *VirtualNetworkPeeringObservation) DeepCopy() *VirtualNetworkPeeringObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANObservation. +func (in *VirtualWANObservation) DeepCopy() *VirtualWANObservation { if in == nil { return nil } - out := new(VirtualNetworkPeeringObservation) + out := new(VirtualWANObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkPeeringParameters) DeepCopyInto(out *VirtualNetworkPeeringParameters) { +func (in *VirtualWANParameters) DeepCopyInto(out *VirtualWANParameters) { *out = *in - if in.AllowForwardedTraffic != nil { - in, out := &in.AllowForwardedTraffic, &out.AllowForwardedTraffic + if in.AllowBranchToBranchTraffic != nil { + in, out := &in.AllowBranchToBranchTraffic, &out.AllowBranchToBranchTraffic *out = new(bool) **out = **in } - if in.AllowGatewayTransit != nil { - in, out := &in.AllowGatewayTransit, &out.AllowGatewayTransit + if in.AllowVnetToVnetTraffic != nil { + in, out := &in.AllowVnetToVnetTraffic, &out.AllowVnetToVnetTraffic *out = new(bool) **out = **in } - if in.AllowVirtualNetworkAccess != nil { - in, out := &in.AllowVirtualNetworkAccess, &out.AllowVirtualNetworkAccess + if in.DisableVpnEncryption != nil { + in, out := &in.DisableVpnEncryption, &out.DisableVpnEncryption *out = new(bool) **out = **in } - if in.RemoteVirtualNetworkID != nil { - in, out := &in.RemoteVirtualNetworkID, &out.RemoteVirtualNetworkID + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Office365LocalBreakoutCategory != nil { + in, out := &in.Office365LocalBreakoutCategory, &out.Office365LocalBreakoutCategory *out = new(string) **out = **in } @@ -2449,158 +5649,203 @@ func (in *VirtualNetworkPeeringParameters) DeepCopyInto(out *VirtualNetworkPeeri *out = new(v1.Selector) (*in).DeepCopyInto(*out) } - if in.UseRemoteGateways != nil { - in, out := &in.UseRemoteGateways, &out.UseRemoteGateways - *out = new(bool) - **out = **in + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } } - if in.VirtualNetworkName != nil { - in, out := &in.VirtualNetworkName, &out.VirtualNetworkName + if in.Type != nil { + in, out := &in.Type, &out.Type *out = new(string) **out = **in } - if in.VirtualNetworkNameRef != nil { - in, out := &in.VirtualNetworkNameRef, &out.VirtualNetworkNameRef - *out = new(v1.Reference) - **out = **in - } - if in.VirtualNetworkNameSelector != nil { - in, out := &in.VirtualNetworkNameSelector, &out.VirtualNetworkNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringParameters. -func (in *VirtualNetworkPeeringParameters) DeepCopy() *VirtualNetworkPeeringParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANParameters. +func (in *VirtualWANParameters) DeepCopy() *VirtualWANParameters { if in == nil { return nil } - out := new(VirtualNetworkPeeringParameters) + out := new(VirtualWANParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkPeeringSpec) DeepCopyInto(out *VirtualNetworkPeeringSpec) { +func (in *VirtualWANSpec) DeepCopyInto(out *VirtualWANSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringSpec. -func (in *VirtualNetworkPeeringSpec) DeepCopy() *VirtualNetworkPeeringSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANSpec. +func (in *VirtualWANSpec) DeepCopy() *VirtualWANSpec { if in == nil { return nil } - out := new(VirtualNetworkPeeringSpec) + out := new(VirtualWANSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkPeeringStatus) DeepCopyInto(out *VirtualNetworkPeeringStatus) { +func (in *VirtualWANStatus) DeepCopyInto(out *VirtualWANStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkPeeringStatus. -func (in *VirtualNetworkPeeringStatus) DeepCopy() *VirtualNetworkPeeringStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANStatus. +func (in *VirtualWANStatus) DeepCopy() *VirtualWANStatus { if in == nil { return nil } - out := new(VirtualNetworkPeeringStatus) + out := new(VirtualWANStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkSpec) DeepCopyInto(out *VirtualNetworkSpec) { +func (in *VpnClientConfigurationObservation) DeepCopyInto(out *VpnClientConfigurationObservation) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSpec. -func (in *VirtualNetworkSpec) DeepCopy() *VirtualNetworkSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnClientConfigurationObservation. +func (in *VpnClientConfigurationObservation) DeepCopy() *VpnClientConfigurationObservation { if in == nil { return nil } - out := new(VirtualNetworkSpec) + out := new(VpnClientConfigurationObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkStatus) DeepCopyInto(out *VirtualNetworkStatus) { +func (in *VpnClientConfigurationParameters) DeepCopyInto(out *VpnClientConfigurationParameters) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + if in.AadAudience != nil { + in, out := &in.AadAudience, &out.AadAudience + *out = new(string) + **out = **in + } + if in.AadIssuer != nil { + in, out := &in.AadIssuer, &out.AadIssuer + *out = new(string) + **out = **in + } + if in.AadTenant != nil { + in, out := &in.AadTenant, &out.AadTenant + *out = new(string) + **out = **in + } + if in.AddressSpace != nil { + in, out := &in.AddressSpace, &out.AddressSpace + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RadiusServerAddress != nil { + in, out := &in.RadiusServerAddress, &out.RadiusServerAddress + *out = new(string) + **out = **in + } + if in.RadiusServerSecret != nil { + in, out := &in.RadiusServerSecret, &out.RadiusServerSecret + *out = new(string) + **out = **in + } + if in.RevokedCertificate != nil { + in, out := &in.RevokedCertificate, &out.RevokedCertificate + *out = make([]RevokedCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RootCertificate != nil { + in, out := &in.RootCertificate, &out.RootCertificate + *out = make([]RootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VpnAuthTypes != nil { + in, out := &in.VpnAuthTypes, &out.VpnAuthTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VpnClientProtocols != nil { + in, out := &in.VpnClientProtocols, &out.VpnClientProtocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkStatus. -func (in *VirtualNetworkStatus) DeepCopy() *VirtualNetworkStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnClientConfigurationParameters. +func (in *VpnClientConfigurationParameters) DeepCopy() *VpnClientConfigurationParameters { if in == nil { return nil } - out := new(VirtualNetworkStatus) + out := new(VpnClientConfigurationParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkSubnetObservation) DeepCopyInto(out *VirtualNetworkSubnetObservation) { +func (in *Watcher) DeepCopyInto(out *Watcher) { *out = *in - if in.ID != nil { - in, out := &in.ID, &out.ID - *out = new(string) - **out = **in - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSubnetObservation. -func (in *VirtualNetworkSubnetObservation) DeepCopy() *VirtualNetworkSubnetObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Watcher. +func (in *Watcher) DeepCopy() *Watcher { if in == nil { return nil } - out := new(VirtualNetworkSubnetObservation) + out := new(Watcher) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualNetworkSubnetParameters) DeepCopyInto(out *VirtualNetworkSubnetParameters) { - *out = *in - if in.AddressPrefix != nil { - in, out := &in.AddressPrefix, &out.AddressPrefix - *out = new(string) - **out = **in - } - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) - **out = **in - } - if in.SecurityGroup != nil { - in, out := &in.SecurityGroup, &out.SecurityGroup - *out = new(string) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNetworkSubnetParameters. -func (in *VirtualNetworkSubnetParameters) DeepCopy() *VirtualNetworkSubnetParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Watcher) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(VirtualNetworkSubnetParameters) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualWAN) DeepCopyInto(out *VirtualWAN) { +func (in *WatcherFlowLog) DeepCopyInto(out *WatcherFlowLog) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -2608,18 +5853,18 @@ func (in *VirtualWAN) DeepCopyInto(out *VirtualWAN) { in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWAN. -func (in *VirtualWAN) DeepCopy() *VirtualWAN { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherFlowLog. +func (in *WatcherFlowLog) DeepCopy() *WatcherFlowLog { if in == nil { return nil } - out := new(VirtualWAN) + out := new(WatcherFlowLog) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualWAN) DeepCopyObject() runtime.Object { +func (in *WatcherFlowLog) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2627,31 +5872,31 @@ func (in *VirtualWAN) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualWANList) DeepCopyInto(out *VirtualWANList) { +func (in *WatcherFlowLogList) DeepCopyInto(out *WatcherFlowLogList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]VirtualWAN, len(*in)) + *out = make([]WatcherFlowLog, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANList. -func (in *VirtualWANList) DeepCopy() *VirtualWANList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherFlowLogList. +func (in *WatcherFlowLogList) DeepCopy() *WatcherFlowLogList { if in == nil { return nil } - out := new(VirtualWANList) + out := new(WatcherFlowLogList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VirtualWANList) DeepCopyObject() runtime.Object { +func (in *WatcherFlowLogList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2659,35 +5904,30 @@ func (in *VirtualWANList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualWANObservation) DeepCopyInto(out *VirtualWANObservation) { +func (in *WatcherFlowLogObservation) DeepCopyInto(out *WatcherFlowLogObservation) { *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANObservation. -func (in *VirtualWANObservation) DeepCopy() *VirtualWANObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherFlowLogObservation. +func (in *WatcherFlowLogObservation) DeepCopy() *WatcherFlowLogObservation { if in == nil { return nil } - out := new(VirtualWANObservation) + out := new(WatcherFlowLogObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualWANParameters) DeepCopyInto(out *VirtualWANParameters) { +func (in *WatcherFlowLogParameters) DeepCopyInto(out *WatcherFlowLogParameters) { *out = *in - if in.AllowBranchToBranchTraffic != nil { - in, out := &in.AllowBranchToBranchTraffic, &out.AllowBranchToBranchTraffic - *out = new(bool) - **out = **in - } - if in.AllowVnetToVnetTraffic != nil { - in, out := &in.AllowVnetToVnetTraffic, &out.AllowVnetToVnetTraffic - *out = new(bool) - **out = **in - } - if in.DisableVpnEncryption != nil { - in, out := &in.DisableVpnEncryption, &out.DisableVpnEncryption + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in } @@ -2696,8 +5936,13 @@ func (in *VirtualWANParameters) DeepCopyInto(out *VirtualWANParameters) { *out = new(string) **out = **in } - if in.Office365LocalBreakoutCategory != nil { - in, out := &in.Office365LocalBreakoutCategory, &out.Office365LocalBreakoutCategory + if in.NetworkSecurityGroupID != nil { + in, out := &in.NetworkSecurityGroupID, &out.NetworkSecurityGroupID + *out = new(string) + **out = **in + } + if in.NetworkWatcherName != nil { + in, out := &in.NetworkWatcherName, &out.NetworkWatcherName *out = new(string) **out = **in } @@ -2706,15 +5951,17 @@ func (in *VirtualWANParameters) DeepCopyInto(out *VirtualWANParameters) { *out = new(string) **out = **in } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) - **out = **in + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags @@ -2731,155 +5978,186 @@ func (in *VirtualWANParameters) DeepCopyInto(out *VirtualWANParameters) { (*out)[key] = outVal } } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) + if in.TrafficAnalytics != nil { + in, out := &in.TrafficAnalytics, &out.TrafficAnalytics + *out = make([]TrafficAnalyticsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(int64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANParameters. -func (in *VirtualWANParameters) DeepCopy() *VirtualWANParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherFlowLogParameters. +func (in *WatcherFlowLogParameters) DeepCopy() *WatcherFlowLogParameters { if in == nil { return nil } - out := new(VirtualWANParameters) + out := new(WatcherFlowLogParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualWANSpec) DeepCopyInto(out *VirtualWANSpec) { +func (in *WatcherFlowLogSpec) DeepCopyInto(out *WatcherFlowLogSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANSpec. -func (in *VirtualWANSpec) DeepCopy() *VirtualWANSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherFlowLogSpec. +func (in *WatcherFlowLogSpec) DeepCopy() *WatcherFlowLogSpec { if in == nil { return nil } - out := new(VirtualWANSpec) + out := new(WatcherFlowLogSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VirtualWANStatus) DeepCopyInto(out *VirtualWANStatus) { +func (in *WatcherFlowLogStatus) DeepCopyInto(out *WatcherFlowLogStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - out.AtProvider = in.AtProvider + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualWANStatus. -func (in *VirtualWANStatus) DeepCopy() *VirtualWANStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherFlowLogStatus. +func (in *WatcherFlowLogStatus) DeepCopy() *WatcherFlowLogStatus { if in == nil { return nil } - out := new(VirtualWANStatus) + out := new(WatcherFlowLogStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VpnClientConfigurationObservation) DeepCopyInto(out *VpnClientConfigurationObservation) { +func (in *WatcherList) DeepCopyInto(out *WatcherList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Watcher, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherList. +func (in *WatcherList) DeepCopy() *WatcherList { + if in == nil { + return nil + } + out := new(WatcherList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WatcherList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WatcherObservation) DeepCopyInto(out *WatcherObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnClientConfigurationObservation. -func (in *VpnClientConfigurationObservation) DeepCopy() *VpnClientConfigurationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherObservation. +func (in *WatcherObservation) DeepCopy() *WatcherObservation { if in == nil { return nil } - out := new(VpnClientConfigurationObservation) + out := new(WatcherObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VpnClientConfigurationParameters) DeepCopyInto(out *VpnClientConfigurationParameters) { +func (in *WatcherParameters) DeepCopyInto(out *WatcherParameters) { *out = *in - if in.AadAudience != nil { - in, out := &in.AadAudience, &out.AadAudience + if in.Location != nil { + in, out := &in.Location, &out.Location *out = new(string) **out = **in } - if in.AadIssuer != nil { - in, out := &in.AadIssuer, &out.AadIssuer + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } - if in.AadTenant != nil { - in, out := &in.AadTenant, &out.AadTenant + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName *out = new(string) **out = **in } - if in.AddressSpace != nil { - in, out := &in.AddressSpace, &out.AddressSpace - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal *out = new(string) **out = **in } + (*out)[key] = outVal } } - if in.RadiusServerAddress != nil { - in, out := &in.RadiusServerAddress, &out.RadiusServerAddress - *out = new(string) - **out = **in - } - if in.RadiusServerSecret != nil { - in, out := &in.RadiusServerSecret, &out.RadiusServerSecret - *out = new(string) - **out = **in - } - if in.RevokedCertificate != nil { - in, out := &in.RevokedCertificate, &out.RevokedCertificate - *out = make([]RevokedCertificateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.RootCertificate != nil { - in, out := &in.RootCertificate, &out.RootCertificate - *out = make([]RootCertificateParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.VpnAuthTypes != nil { - in, out := &in.VpnAuthTypes, &out.VpnAuthTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherParameters. +func (in *WatcherParameters) DeepCopy() *WatcherParameters { + if in == nil { + return nil } - if in.VpnClientProtocols != nil { - in, out := &in.VpnClientProtocols, &out.VpnClientProtocols - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + out := new(WatcherParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WatcherSpec) DeepCopyInto(out *WatcherSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherSpec. +func (in *WatcherSpec) DeepCopy() *WatcherSpec { + if in == nil { + return nil } + out := new(WatcherSpec) + in.DeepCopyInto(out) + return out } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnClientConfigurationParameters. -func (in *VpnClientConfigurationParameters) DeepCopy() *VpnClientConfigurationParameters { +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WatcherStatus) DeepCopyInto(out *WatcherStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatcherStatus. +func (in *WatcherStatus) DeepCopy() *WatcherStatus { if in == nil { return nil } - out := new(VpnClientConfigurationParameters) + out := new(WatcherStatus) in.DeepCopyInto(out) return out } diff --git a/apis/network/v1alpha1/zz_generated.managed.go b/apis/network/v1alpha1/zz_generated.managed.go index c685ec627..ec48cac65 100644 --- a/apis/network/v1alpha1/zz_generated.managed.go +++ b/apis/network/v1alpha1/zz_generated.managed.go @@ -19,6 +19,398 @@ package v1alpha1 import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +// GetCondition of this ConnectionMonitor. +func (mg *ConnectionMonitor) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ConnectionMonitor. +func (mg *ConnectionMonitor) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ConnectionMonitor. +func (mg *ConnectionMonitor) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ConnectionMonitor. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ConnectionMonitor) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ConnectionMonitor. +func (mg *ConnectionMonitor) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ConnectionMonitor. +func (mg *ConnectionMonitor) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ConnectionMonitor. +func (mg *ConnectionMonitor) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ConnectionMonitor. +func (mg *ConnectionMonitor) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ConnectionMonitor. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ConnectionMonitor) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ConnectionMonitor. +func (mg *ConnectionMonitor) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DdosProtectionPlan. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DdosProtectionPlan) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DdosProtectionPlan. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DdosProtectionPlan) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DdosProtectionPlan. +func (mg *DdosProtectionPlan) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this IPGroup. +func (mg *IPGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this IPGroup. +func (mg *IPGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this IPGroup. +func (mg *IPGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this IPGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *IPGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this IPGroup. +func (mg *IPGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this IPGroup. +func (mg *IPGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this IPGroup. +func (mg *IPGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this IPGroup. +func (mg *IPGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this IPGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *IPGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this IPGroup. +func (mg *IPGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InterfaceApplicationSecurityGroupAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InterfaceApplicationSecurityGroupAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InterfaceApplicationSecurityGroupAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InterfaceApplicationSecurityGroupAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InterfaceApplicationSecurityGroupAssociation. +func (mg *InterfaceApplicationSecurityGroupAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InterfaceBackendAddressPoolAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InterfaceBackendAddressPoolAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InterfaceBackendAddressPoolAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InterfaceBackendAddressPoolAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InterfaceBackendAddressPoolAssociation. +func (mg *InterfaceBackendAddressPoolAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InterfaceNatRuleAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InterfaceNatRuleAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InterfaceNatRuleAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InterfaceNatRuleAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InterfaceNatRuleAssociation. +func (mg *InterfaceNatRuleAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this InterfaceSecurityGroupAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *InterfaceSecurityGroupAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this InterfaceSecurityGroupAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *InterfaceSecurityGroupAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this InterfaceSecurityGroupAssociation. +func (mg *InterfaceSecurityGroupAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this LoadBalancer. func (mg *LoadBalancer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -75,6 +467,230 @@ func (mg *LoadBalancer) SetWriteConnectionSecretToReference(r *xpv1.SecretRefere mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this NetworkInterface. +func (mg *NetworkInterface) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NetworkInterface. +func (mg *NetworkInterface) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NetworkInterface. +func (mg *NetworkInterface) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NetworkInterface. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NetworkInterface) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NetworkInterface. +func (mg *NetworkInterface) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NetworkInterface. +func (mg *NetworkInterface) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NetworkInterface. +func (mg *NetworkInterface) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NetworkInterface. +func (mg *NetworkInterface) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NetworkInterface. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NetworkInterface) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NetworkInterface. +func (mg *NetworkInterface) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PacketCapture. +func (mg *PacketCapture) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PacketCapture. +func (mg *PacketCapture) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PacketCapture. +func (mg *PacketCapture) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PacketCapture. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PacketCapture) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PacketCapture. +func (mg *PacketCapture) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PacketCapture. +func (mg *PacketCapture) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PacketCapture. +func (mg *PacketCapture) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PacketCapture. +func (mg *PacketCapture) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PacketCapture. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PacketCapture) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PacketCapture. +func (mg *PacketCapture) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Profile. +func (mg *Profile) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Profile. +func (mg *Profile) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Profile. +func (mg *Profile) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Profile. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Profile) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Profile. +func (mg *Profile) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Profile. +func (mg *Profile) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Profile. +func (mg *Profile) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Profile. +func (mg *Profile) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Profile. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Profile) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Profile. +func (mg *Profile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SecurityGroup. +func (mg *SecurityGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SecurityGroup. +func (mg *SecurityGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SecurityGroup. +func (mg *SecurityGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SecurityGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SecurityGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SecurityGroup. +func (mg *SecurityGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SecurityGroup. +func (mg *SecurityGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SecurityGroup. +func (mg *SecurityGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SecurityGroup. +func (mg *SecurityGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SecurityGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SecurityGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SecurityGroup. +func (mg *SecurityGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Subnet. func (mg *Subnet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -634,3 +1250,115 @@ func (mg *VirtualWAN) SetProviderReference(r *xpv1.Reference) { func (mg *VirtualWAN) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } + +// GetCondition of this Watcher. +func (mg *Watcher) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Watcher. +func (mg *Watcher) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Watcher. +func (mg *Watcher) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Watcher. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Watcher) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Watcher. +func (mg *Watcher) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Watcher. +func (mg *Watcher) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Watcher. +func (mg *Watcher) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Watcher. +func (mg *Watcher) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Watcher. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Watcher) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Watcher. +func (mg *Watcher) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WatcherFlowLog. +func (mg *WatcherFlowLog) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WatcherFlowLog. +func (mg *WatcherFlowLog) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WatcherFlowLog. +func (mg *WatcherFlowLog) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WatcherFlowLog. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WatcherFlowLog) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WatcherFlowLog. +func (mg *WatcherFlowLog) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WatcherFlowLog. +func (mg *WatcherFlowLog) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WatcherFlowLog. +func (mg *WatcherFlowLog) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WatcherFlowLog. +func (mg *WatcherFlowLog) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WatcherFlowLog. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WatcherFlowLog) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WatcherFlowLog. +func (mg *WatcherFlowLog) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/network/v1alpha1/zz_generated.managedlist.go b/apis/network/v1alpha1/zz_generated.managedlist.go index 93766edf4..86e826738 100644 --- a/apis/network/v1alpha1/zz_generated.managedlist.go +++ b/apis/network/v1alpha1/zz_generated.managedlist.go @@ -19,6 +19,69 @@ package v1alpha1 import resource "github.com/crossplane/crossplane-runtime/pkg/resource" +// GetItems of this ConnectionMonitorList. +func (l *ConnectionMonitorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DdosProtectionPlanList. +func (l *DdosProtectionPlanList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this IPGroupList. +func (l *IPGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InterfaceApplicationSecurityGroupAssociationList. +func (l *InterfaceApplicationSecurityGroupAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InterfaceBackendAddressPoolAssociationList. +func (l *InterfaceBackendAddressPoolAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InterfaceNatRuleAssociationList. +func (l *InterfaceNatRuleAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this InterfaceSecurityGroupAssociationList. +func (l *InterfaceSecurityGroupAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this LoadBalancerList. func (l *LoadBalancerList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -28,6 +91,42 @@ func (l *LoadBalancerList) GetItems() []resource.Managed { return items } +// GetItems of this NetworkInterfaceList. +func (l *NetworkInterfaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PacketCaptureList. +func (l *PacketCaptureList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProfileList. +func (l *ProfileList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SecurityGroupList. +func (l *SecurityGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this SubnetList. func (l *SubnetList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -117,3 +216,21 @@ func (l *VirtualWANList) GetItems() []resource.Managed { } return items } + +// GetItems of this WatcherFlowLogList. +func (l *WatcherFlowLogList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WatcherList. +func (l *WatcherList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/network/v1alpha1/zz_generated.resolvers.go b/apis/network/v1alpha1/zz_generated.resolvers.go index 105db2e57..f7e75f218 100644 --- a/apis/network/v1alpha1/zz_generated.resolvers.go +++ b/apis/network/v1alpha1/zz_generated.resolvers.go @@ -25,6 +25,32 @@ import ( client "sigs.k8s.io/controller-runtime/pkg/client" ) +// ResolveReferences of this IPGroup. +func (mg *IPGroup) ResolveReferences(ctx context.Context, c client.Reader) error { + r := reference.NewAPIResolver(c, mg) + + var rsp reference.ResolutionResponse + var err error + + rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ + CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.ResourceGroupName), + Extract: reference.ExternalName(), + Reference: mg.Spec.ForProvider.ResourceGroupNameRef, + Selector: mg.Spec.ForProvider.ResourceGroupNameSelector, + To: reference.To{ + List: &v1alpha1.ResourceGroupList{}, + Managed: &v1alpha1.ResourceGroup{}, + }, + }) + if err != nil { + return errors.Wrap(err, "mg.Spec.ForProvider.ResourceGroupName") + } + mg.Spec.ForProvider.ResourceGroupName = reference.ToPtrValue(rsp.ResolvedValue) + mg.Spec.ForProvider.ResourceGroupNameRef = rsp.ResolvedReference + + return nil +} + // ResolveReferences of this LoadBalancer. func (mg *LoadBalancer) ResolveReferences(ctx context.Context, c client.Reader) error { r := reference.NewAPIResolver(c, mg) diff --git a/apis/network/v1alpha1/zz_interfaceapplicationsecuritygroupassociation_terraformed.go b/apis/network/v1alpha1/zz_interfaceapplicationsecuritygroupassociation_terraformed.go new file mode 100755 index 000000000..05c543c74 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfaceapplicationsecuritygroupassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InterfaceApplicationSecurityGroupAssociation +func (mg *InterfaceApplicationSecurityGroupAssociation) GetTerraformResourceType() string { + return "azurerm_network_interface_application_security_group_association" +} + +// GetConnectionDetailsMapping for this InterfaceApplicationSecurityGroupAssociation +func (tr *InterfaceApplicationSecurityGroupAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InterfaceApplicationSecurityGroupAssociation +func (tr *InterfaceApplicationSecurityGroupAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InterfaceApplicationSecurityGroupAssociation +func (tr *InterfaceApplicationSecurityGroupAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InterfaceApplicationSecurityGroupAssociation +func (tr *InterfaceApplicationSecurityGroupAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InterfaceApplicationSecurityGroupAssociation +func (tr *InterfaceApplicationSecurityGroupAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InterfaceApplicationSecurityGroupAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InterfaceApplicationSecurityGroupAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &InterfaceApplicationSecurityGroupAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InterfaceApplicationSecurityGroupAssociation) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/network/v1alpha1/zz_interfaceapplicationsecuritygroupassociation_types.go b/apis/network/v1alpha1/zz_interfaceapplicationsecuritygroupassociation_types.go new file mode 100755 index 000000000..511c36769 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfaceapplicationsecuritygroupassociation_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InterfaceApplicationSecurityGroupAssociationObservation struct { +} + +type InterfaceApplicationSecurityGroupAssociationParameters struct { + + // +kubebuilder:validation:Required + ApplicationSecurityGroupID *string `json:"applicationSecurityGroupId" tf:"application_security_group_id,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterfaceID *string `json:"networkInterfaceId" tf:"network_interface_id,omitempty"` +} + +// InterfaceApplicationSecurityGroupAssociationSpec defines the desired state of InterfaceApplicationSecurityGroupAssociation +type InterfaceApplicationSecurityGroupAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InterfaceApplicationSecurityGroupAssociationParameters `json:"forProvider"` +} + +// InterfaceApplicationSecurityGroupAssociationStatus defines the observed state of InterfaceApplicationSecurityGroupAssociation. +type InterfaceApplicationSecurityGroupAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InterfaceApplicationSecurityGroupAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceApplicationSecurityGroupAssociation is the Schema for the InterfaceApplicationSecurityGroupAssociations API +// +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,azurejet} +type InterfaceApplicationSecurityGroupAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InterfaceApplicationSecurityGroupAssociationSpec `json:"spec"` + Status InterfaceApplicationSecurityGroupAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceApplicationSecurityGroupAssociationList contains a list of InterfaceApplicationSecurityGroupAssociations +type InterfaceApplicationSecurityGroupAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InterfaceApplicationSecurityGroupAssociation `json:"items"` +} + +// Repository type metadata. +var ( + InterfaceApplicationSecurityGroupAssociation_Kind = "InterfaceApplicationSecurityGroupAssociation" + InterfaceApplicationSecurityGroupAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InterfaceApplicationSecurityGroupAssociation_Kind}.String() + InterfaceApplicationSecurityGroupAssociation_KindAPIVersion = InterfaceApplicationSecurityGroupAssociation_Kind + "." + CRDGroupVersion.String() + InterfaceApplicationSecurityGroupAssociation_GroupVersionKind = CRDGroupVersion.WithKind(InterfaceApplicationSecurityGroupAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&InterfaceApplicationSecurityGroupAssociation{}, &InterfaceApplicationSecurityGroupAssociationList{}) +} diff --git a/apis/network/v1alpha1/zz_interfacebackendaddresspoolassociation_terraformed.go b/apis/network/v1alpha1/zz_interfacebackendaddresspoolassociation_terraformed.go new file mode 100755 index 000000000..13c161d21 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfacebackendaddresspoolassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InterfaceBackendAddressPoolAssociation +func (mg *InterfaceBackendAddressPoolAssociation) GetTerraformResourceType() string { + return "azurerm_network_interface_backend_address_pool_association" +} + +// GetConnectionDetailsMapping for this InterfaceBackendAddressPoolAssociation +func (tr *InterfaceBackendAddressPoolAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InterfaceBackendAddressPoolAssociation +func (tr *InterfaceBackendAddressPoolAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InterfaceBackendAddressPoolAssociation +func (tr *InterfaceBackendAddressPoolAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InterfaceBackendAddressPoolAssociation +func (tr *InterfaceBackendAddressPoolAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InterfaceBackendAddressPoolAssociation +func (tr *InterfaceBackendAddressPoolAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InterfaceBackendAddressPoolAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InterfaceBackendAddressPoolAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &InterfaceBackendAddressPoolAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InterfaceBackendAddressPoolAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_interfacebackendaddresspoolassociation_types.go b/apis/network/v1alpha1/zz_interfacebackendaddresspoolassociation_types.go new file mode 100755 index 000000000..b85fa4602 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfacebackendaddresspoolassociation_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InterfaceBackendAddressPoolAssociationObservation struct { +} + +type InterfaceBackendAddressPoolAssociationParameters struct { + + // +kubebuilder:validation:Required + BackendAddressPoolID *string `json:"backendAddressPoolId" tf:"backend_address_pool_id,omitempty"` + + // +kubebuilder:validation:Required + IPConfigurationName *string `json:"ipConfigurationName" tf:"ip_configuration_name,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterfaceID *string `json:"networkInterfaceId" tf:"network_interface_id,omitempty"` +} + +// InterfaceBackendAddressPoolAssociationSpec defines the desired state of InterfaceBackendAddressPoolAssociation +type InterfaceBackendAddressPoolAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InterfaceBackendAddressPoolAssociationParameters `json:"forProvider"` +} + +// InterfaceBackendAddressPoolAssociationStatus defines the observed state of InterfaceBackendAddressPoolAssociation. +type InterfaceBackendAddressPoolAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InterfaceBackendAddressPoolAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceBackendAddressPoolAssociation is the Schema for the InterfaceBackendAddressPoolAssociations API +// +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,azurejet} +type InterfaceBackendAddressPoolAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InterfaceBackendAddressPoolAssociationSpec `json:"spec"` + Status InterfaceBackendAddressPoolAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceBackendAddressPoolAssociationList contains a list of InterfaceBackendAddressPoolAssociations +type InterfaceBackendAddressPoolAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InterfaceBackendAddressPoolAssociation `json:"items"` +} + +// Repository type metadata. +var ( + InterfaceBackendAddressPoolAssociation_Kind = "InterfaceBackendAddressPoolAssociation" + InterfaceBackendAddressPoolAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InterfaceBackendAddressPoolAssociation_Kind}.String() + InterfaceBackendAddressPoolAssociation_KindAPIVersion = InterfaceBackendAddressPoolAssociation_Kind + "." + CRDGroupVersion.String() + InterfaceBackendAddressPoolAssociation_GroupVersionKind = CRDGroupVersion.WithKind(InterfaceBackendAddressPoolAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&InterfaceBackendAddressPoolAssociation{}, &InterfaceBackendAddressPoolAssociationList{}) +} diff --git a/apis/network/v1alpha1/zz_interfacenatruleassociation_terraformed.go b/apis/network/v1alpha1/zz_interfacenatruleassociation_terraformed.go new file mode 100755 index 000000000..dc2e19540 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfacenatruleassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InterfaceNatRuleAssociation +func (mg *InterfaceNatRuleAssociation) GetTerraformResourceType() string { + return "azurerm_network_interface_nat_rule_association" +} + +// GetConnectionDetailsMapping for this InterfaceNatRuleAssociation +func (tr *InterfaceNatRuleAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InterfaceNatRuleAssociation +func (tr *InterfaceNatRuleAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InterfaceNatRuleAssociation +func (tr *InterfaceNatRuleAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InterfaceNatRuleAssociation +func (tr *InterfaceNatRuleAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InterfaceNatRuleAssociation +func (tr *InterfaceNatRuleAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InterfaceNatRuleAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InterfaceNatRuleAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &InterfaceNatRuleAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InterfaceNatRuleAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_interfacenatruleassociation_types.go b/apis/network/v1alpha1/zz_interfacenatruleassociation_types.go new file mode 100755 index 000000000..246054c8f --- /dev/null +++ b/apis/network/v1alpha1/zz_interfacenatruleassociation_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InterfaceNatRuleAssociationObservation struct { +} + +type InterfaceNatRuleAssociationParameters struct { + + // +kubebuilder:validation:Required + IPConfigurationName *string `json:"ipConfigurationName" tf:"ip_configuration_name,omitempty"` + + // +kubebuilder:validation:Required + NatRuleID *string `json:"natRuleId" tf:"nat_rule_id,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterfaceID *string `json:"networkInterfaceId" tf:"network_interface_id,omitempty"` +} + +// InterfaceNatRuleAssociationSpec defines the desired state of InterfaceNatRuleAssociation +type InterfaceNatRuleAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InterfaceNatRuleAssociationParameters `json:"forProvider"` +} + +// InterfaceNatRuleAssociationStatus defines the observed state of InterfaceNatRuleAssociation. +type InterfaceNatRuleAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InterfaceNatRuleAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceNatRuleAssociation is the Schema for the InterfaceNatRuleAssociations API +// +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,azurejet} +type InterfaceNatRuleAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InterfaceNatRuleAssociationSpec `json:"spec"` + Status InterfaceNatRuleAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceNatRuleAssociationList contains a list of InterfaceNatRuleAssociations +type InterfaceNatRuleAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InterfaceNatRuleAssociation `json:"items"` +} + +// Repository type metadata. +var ( + InterfaceNatRuleAssociation_Kind = "InterfaceNatRuleAssociation" + InterfaceNatRuleAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InterfaceNatRuleAssociation_Kind}.String() + InterfaceNatRuleAssociation_KindAPIVersion = InterfaceNatRuleAssociation_Kind + "." + CRDGroupVersion.String() + InterfaceNatRuleAssociation_GroupVersionKind = CRDGroupVersion.WithKind(InterfaceNatRuleAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&InterfaceNatRuleAssociation{}, &InterfaceNatRuleAssociationList{}) +} diff --git a/apis/network/v1alpha1/zz_interfacesecuritygroupassociation_terraformed.go b/apis/network/v1alpha1/zz_interfacesecuritygroupassociation_terraformed.go new file mode 100755 index 000000000..95505f009 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfacesecuritygroupassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this InterfaceSecurityGroupAssociation +func (mg *InterfaceSecurityGroupAssociation) GetTerraformResourceType() string { + return "azurerm_network_interface_security_group_association" +} + +// GetConnectionDetailsMapping for this InterfaceSecurityGroupAssociation +func (tr *InterfaceSecurityGroupAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this InterfaceSecurityGroupAssociation +func (tr *InterfaceSecurityGroupAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this InterfaceSecurityGroupAssociation +func (tr *InterfaceSecurityGroupAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this InterfaceSecurityGroupAssociation +func (tr *InterfaceSecurityGroupAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this InterfaceSecurityGroupAssociation +func (tr *InterfaceSecurityGroupAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this InterfaceSecurityGroupAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *InterfaceSecurityGroupAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &InterfaceSecurityGroupAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *InterfaceSecurityGroupAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_interfacesecuritygroupassociation_types.go b/apis/network/v1alpha1/zz_interfacesecuritygroupassociation_types.go new file mode 100755 index 000000000..bde540e18 --- /dev/null +++ b/apis/network/v1alpha1/zz_interfacesecuritygroupassociation_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type InterfaceSecurityGroupAssociationObservation struct { +} + +type InterfaceSecurityGroupAssociationParameters struct { + + // +kubebuilder:validation:Required + NetworkInterfaceID *string `json:"networkInterfaceId" tf:"network_interface_id,omitempty"` + + // +kubebuilder:validation:Required + NetworkSecurityGroupID *string `json:"networkSecurityGroupId" tf:"network_security_group_id,omitempty"` +} + +// InterfaceSecurityGroupAssociationSpec defines the desired state of InterfaceSecurityGroupAssociation +type InterfaceSecurityGroupAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider InterfaceSecurityGroupAssociationParameters `json:"forProvider"` +} + +// InterfaceSecurityGroupAssociationStatus defines the observed state of InterfaceSecurityGroupAssociation. +type InterfaceSecurityGroupAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider InterfaceSecurityGroupAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceSecurityGroupAssociation is the Schema for the InterfaceSecurityGroupAssociations API +// +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,azurejet} +type InterfaceSecurityGroupAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec InterfaceSecurityGroupAssociationSpec `json:"spec"` + Status InterfaceSecurityGroupAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// InterfaceSecurityGroupAssociationList contains a list of InterfaceSecurityGroupAssociations +type InterfaceSecurityGroupAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []InterfaceSecurityGroupAssociation `json:"items"` +} + +// Repository type metadata. +var ( + InterfaceSecurityGroupAssociation_Kind = "InterfaceSecurityGroupAssociation" + InterfaceSecurityGroupAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: InterfaceSecurityGroupAssociation_Kind}.String() + InterfaceSecurityGroupAssociation_KindAPIVersion = InterfaceSecurityGroupAssociation_Kind + "." + CRDGroupVersion.String() + InterfaceSecurityGroupAssociation_GroupVersionKind = CRDGroupVersion.WithKind(InterfaceSecurityGroupAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&InterfaceSecurityGroupAssociation{}, &InterfaceSecurityGroupAssociationList{}) +} diff --git a/apis/network/v1alpha1/zz_ipgroup_terraformed.go b/apis/network/v1alpha1/zz_ipgroup_terraformed.go new file mode 100755 index 000000000..dec086bd3 --- /dev/null +++ b/apis/network/v1alpha1/zz_ipgroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this IPGroup +func (mg *IPGroup) GetTerraformResourceType() string { + return "azurerm_ip_group" +} + +// GetConnectionDetailsMapping for this IPGroup +func (tr *IPGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this IPGroup +func (tr *IPGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this IPGroup +func (tr *IPGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this IPGroup +func (tr *IPGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this IPGroup +func (tr *IPGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this IPGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *IPGroup) LateInitialize(attrs []byte) (bool, error) { + params := &IPGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *IPGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_ipgroup_types.go b/apis/network/v1alpha1/zz_ipgroup_types.go new file mode 100755 index 000000000..e8c96ed73 --- /dev/null +++ b/apis/network/v1alpha1/zz_ipgroup_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IPGroupObservation struct { +} + +type IPGroupParameters struct { + + // +kubebuilder:validation:Optional + Cidrs []*string `json:"cidrs,omitempty" tf:"cidrs,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-azure/apis/azure/v1alpha1.ResourceGroup + // +kubebuilder:validation:Optional + ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// IPGroupSpec defines the desired state of IPGroup +type IPGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider IPGroupParameters `json:"forProvider"` +} + +// IPGroupStatus defines the observed state of IPGroup. +type IPGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider IPGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// IPGroup is the Schema for the IPGroups API +// +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,azurejet} +type IPGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec IPGroupSpec `json:"spec"` + Status IPGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// IPGroupList contains a list of IPGroups +type IPGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []IPGroup `json:"items"` +} + +// Repository type metadata. +var ( + IPGroup_Kind = "IPGroup" + IPGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IPGroup_Kind}.String() + IPGroup_KindAPIVersion = IPGroup_Kind + "." + CRDGroupVersion.String() + IPGroup_GroupVersionKind = CRDGroupVersion.WithKind(IPGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&IPGroup{}, &IPGroupList{}) +} diff --git a/apis/network/v1alpha1/zz_networkinterface_terraformed.go b/apis/network/v1alpha1/zz_networkinterface_terraformed.go new file mode 100755 index 000000000..de62bcb1a --- /dev/null +++ b/apis/network/v1alpha1/zz_networkinterface_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NetworkInterface +func (mg *NetworkInterface) GetTerraformResourceType() string { + return "azurerm_network_interface" +} + +// GetConnectionDetailsMapping for this NetworkInterface +func (tr *NetworkInterface) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NetworkInterface +func (tr *NetworkInterface) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NetworkInterface +func (tr *NetworkInterface) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NetworkInterface +func (tr *NetworkInterface) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NetworkInterface +func (tr *NetworkInterface) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NetworkInterface using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NetworkInterface) LateInitialize(attrs []byte) (bool, error) { + params := &NetworkInterfaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NetworkInterface) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_networkinterface_types.go b/apis/network/v1alpha1/zz_networkinterface_types.go new file mode 100755 index 000000000..ed1a36891 --- /dev/null +++ b/apis/network/v1alpha1/zz_networkinterface_types.go @@ -0,0 +1,143 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IPConfigurationObservation struct { +} + +type IPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Primary *bool `json:"primary,omitempty" tf:"primary,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + // +kubebuilder:validation:Required + PrivateIPAddressAllocation *string `json:"privateIpAddressAllocation" tf:"private_ip_address_allocation,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddressVersion *string `json:"privateIpAddressVersion,omitempty" tf:"private_ip_address_version,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPAddressID *string `json:"publicIpAddressId,omitempty" tf:"public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` +} + +type NetworkInterfaceObservation struct { + AppliedDNSServers []*string `json:"appliedDnsServers,omitempty" tf:"applied_dns_servers,omitempty"` + + InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty" tf:"internal_domain_name_suffix,omitempty"` + + MacAddress *string `json:"macAddress,omitempty" tf:"mac_address,omitempty"` + + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + PrivateIPAddresses []*string `json:"privateIpAddresses,omitempty" tf:"private_ip_addresses,omitempty"` + + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +type NetworkInterfaceParameters struct { + + // +kubebuilder:validation:Optional + DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` + + // +kubebuilder:validation:Optional + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty" tf:"enable_accelerated_networking,omitempty"` + + // +kubebuilder:validation:Optional + EnableIPForwarding *bool `json:"enableIpForwarding,omitempty" tf:"enable_ip_forwarding,omitempty"` + + // +kubebuilder:validation:Required + IPConfiguration []IPConfigurationParameters `json:"ipConfiguration" tf:"ip_configuration,omitempty"` + + // +kubebuilder:validation:Optional + InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty" tf:"internal_dns_name_label,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// NetworkInterfaceSpec defines the desired state of NetworkInterface +type NetworkInterfaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NetworkInterfaceParameters `json:"forProvider"` +} + +// NetworkInterfaceStatus defines the observed state of NetworkInterface. +type NetworkInterfaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NetworkInterfaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NetworkInterface is the Schema for the NetworkInterfaces API +// +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,azurejet} +type NetworkInterface struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NetworkInterfaceSpec `json:"spec"` + Status NetworkInterfaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NetworkInterfaceList contains a list of NetworkInterfaces +type NetworkInterfaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NetworkInterface `json:"items"` +} + +// Repository type metadata. +var ( + NetworkInterface_Kind = "NetworkInterface" + NetworkInterface_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NetworkInterface_Kind}.String() + NetworkInterface_KindAPIVersion = NetworkInterface_Kind + "." + CRDGroupVersion.String() + NetworkInterface_GroupVersionKind = CRDGroupVersion.WithKind(NetworkInterface_Kind) +) + +func init() { + SchemeBuilder.Register(&NetworkInterface{}, &NetworkInterfaceList{}) +} diff --git a/apis/network/v1alpha1/zz_packetcapture_terraformed.go b/apis/network/v1alpha1/zz_packetcapture_terraformed.go new file mode 100755 index 000000000..79d535378 --- /dev/null +++ b/apis/network/v1alpha1/zz_packetcapture_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PacketCapture +func (mg *PacketCapture) GetTerraformResourceType() string { + return "azurerm_network_packet_capture" +} + +// GetConnectionDetailsMapping for this PacketCapture +func (tr *PacketCapture) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PacketCapture +func (tr *PacketCapture) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PacketCapture +func (tr *PacketCapture) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PacketCapture +func (tr *PacketCapture) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PacketCapture +func (tr *PacketCapture) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PacketCapture using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PacketCapture) LateInitialize(attrs []byte) (bool, error) { + params := &PacketCaptureParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PacketCapture) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/network/v1alpha1/zz_packetcapture_types.go b/apis/network/v1alpha1/zz_packetcapture_types.go new file mode 100755 index 000000000..5459d1bdf --- /dev/null +++ b/apis/network/v1alpha1/zz_packetcapture_types.go @@ -0,0 +1,142 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PacketCaptureFilterObservation struct { +} + +type PacketCaptureFilterParameters struct { + + // +kubebuilder:validation:Optional + LocalIPAddress *string `json:"localIpAddress,omitempty" tf:"local_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + LocalPort *string `json:"localPort,omitempty" tf:"local_port,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + RemoteIPAddress *string `json:"remoteIpAddress,omitempty" tf:"remote_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + RemotePort *string `json:"remotePort,omitempty" tf:"remote_port,omitempty"` +} + +type PacketCaptureObservation struct { +} + +type PacketCaptureParameters struct { + + // +kubebuilder:validation:Optional + Filter []PacketCaptureFilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Optional + MaximumBytesPerPacket *int64 `json:"maximumBytesPerPacket,omitempty" tf:"maximum_bytes_per_packet,omitempty"` + + // +kubebuilder:validation:Optional + MaximumBytesPerSession *int64 `json:"maximumBytesPerSession,omitempty" tf:"maximum_bytes_per_session,omitempty"` + + // +kubebuilder:validation:Optional + MaximumCaptureDuration *int64 `json:"maximumCaptureDuration,omitempty" tf:"maximum_capture_duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkWatcherName *string `json:"networkWatcherName" tf:"network_watcher_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageLocation []StorageLocationParameters `json:"storageLocation" tf:"storage_location,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +type StorageLocationObservation struct { + StoragePath *string `json:"storagePath,omitempty" tf:"storage_path,omitempty"` +} + +type StorageLocationParameters struct { + + // +kubebuilder:validation:Optional + FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` +} + +// PacketCaptureSpec defines the desired state of PacketCapture +type PacketCaptureSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PacketCaptureParameters `json:"forProvider"` +} + +// PacketCaptureStatus defines the observed state of PacketCapture. +type PacketCaptureStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PacketCaptureObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PacketCapture is the Schema for the PacketCaptures API +// +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,azurejet} +type PacketCapture struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PacketCaptureSpec `json:"spec"` + Status PacketCaptureStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PacketCaptureList contains a list of PacketCaptures +type PacketCaptureList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PacketCapture `json:"items"` +} + +// Repository type metadata. +var ( + PacketCapture_Kind = "PacketCapture" + PacketCapture_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PacketCapture_Kind}.String() + PacketCapture_KindAPIVersion = PacketCapture_Kind + "." + CRDGroupVersion.String() + PacketCapture_GroupVersionKind = CRDGroupVersion.WithKind(PacketCapture_Kind) +) + +func init() { + SchemeBuilder.Register(&PacketCapture{}, &PacketCaptureList{}) +} diff --git a/apis/network/v1alpha1/zz_profile_terraformed.go b/apis/network/v1alpha1/zz_profile_terraformed.go new file mode 100755 index 000000000..a8b402d69 --- /dev/null +++ b/apis/network/v1alpha1/zz_profile_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Profile +func (mg *Profile) GetTerraformResourceType() string { + return "azurerm_network_profile" +} + +// GetConnectionDetailsMapping for this Profile +func (tr *Profile) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Profile +func (tr *Profile) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Profile +func (tr *Profile) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Profile +func (tr *Profile) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Profile +func (tr *Profile) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Profile using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Profile) LateInitialize(attrs []byte) (bool, error) { + params := &ProfileParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Profile) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_profile_types.go b/apis/network/v1alpha1/zz_profile_types.go new file mode 100755 index 000000000..c232a0f36 --- /dev/null +++ b/apis/network/v1alpha1/zz_profile_types.go @@ -0,0 +1,121 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ContainerNetworkInterfaceIPConfigurationObservation struct { +} + +type ContainerNetworkInterfaceIPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +type ContainerNetworkInterfaceObservation struct { +} + +type ContainerNetworkInterfaceParameters struct { + + // +kubebuilder:validation:Required + IPConfiguration []ContainerNetworkInterfaceIPConfigurationParameters `json:"ipConfiguration" tf:"ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type ProfileObservation struct { + ContainerNetworkInterfaceIds []*string `json:"containerNetworkInterfaceIds,omitempty" tf:"container_network_interface_ids,omitempty"` +} + +type ProfileParameters struct { + + // +kubebuilder:validation:Required + ContainerNetworkInterface []ContainerNetworkInterfaceParameters `json:"containerNetworkInterface" tf:"container_network_interface,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ProfileSpec defines the desired state of Profile +type ProfileSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProfileParameters `json:"forProvider"` +} + +// ProfileStatus defines the observed state of Profile. +type ProfileStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProfileObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Profile is the Schema for the Profiles API +// +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,azurejet} +type Profile struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProfileSpec `json:"spec"` + Status ProfileStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProfileList contains a list of Profiles +type ProfileList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Profile `json:"items"` +} + +// Repository type metadata. +var ( + Profile_Kind = "Profile" + Profile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Profile_Kind}.String() + Profile_KindAPIVersion = Profile_Kind + "." + CRDGroupVersion.String() + Profile_GroupVersionKind = CRDGroupVersion.WithKind(Profile_Kind) +) + +func init() { + SchemeBuilder.Register(&Profile{}, &ProfileList{}) +} diff --git a/apis/network/v1alpha1/zz_securitygroup_terraformed.go b/apis/network/v1alpha1/zz_securitygroup_terraformed.go new file mode 100755 index 000000000..963b722fe --- /dev/null +++ b/apis/network/v1alpha1/zz_securitygroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SecurityGroup +func (mg *SecurityGroup) GetTerraformResourceType() string { + return "azurerm_network_security_group" +} + +// GetConnectionDetailsMapping for this SecurityGroup +func (tr *SecurityGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SecurityGroup +func (tr *SecurityGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SecurityGroup +func (tr *SecurityGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SecurityGroup +func (tr *SecurityGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SecurityGroup +func (tr *SecurityGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SecurityGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SecurityGroup) LateInitialize(attrs []byte) (bool, error) { + params := &SecurityGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SecurityGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_securitygroup_types.go b/apis/network/v1alpha1/zz_securitygroup_types.go new file mode 100755 index 000000000..bdc5ec000 --- /dev/null +++ b/apis/network/v1alpha1/zz_securitygroup_types.go @@ -0,0 +1,150 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SecurityGroupObservation struct { +} + +type SecurityGroupParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SecurityRule []SecurityRuleParameters `json:"securityRule,omitempty" tf:"security_rule,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type SecurityRuleObservation struct { +} + +type SecurityRuleParameters struct { + + // +kubebuilder:validation:Required + Access *string `json:"access" tf:"access,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty" tf:"destination_address_prefix,omitempty"` + + // +kubebuilder:validation:Optional + DestinationAddressPrefixes []*string `json:"destinationAddressPrefixes,omitempty" tf:"destination_address_prefixes,omitempty"` + + // +kubebuilder:validation:Optional + DestinationApplicationSecurityGroupIds []*string `json:"destinationApplicationSecurityGroupIds,omitempty" tf:"destination_application_security_group_ids,omitempty"` + + // +kubebuilder:validation:Optional + DestinationPortRange *string `json:"destinationPortRange,omitempty" tf:"destination_port_range,omitempty"` + + // +kubebuilder:validation:Optional + DestinationPortRanges []*string `json:"destinationPortRanges,omitempty" tf:"destination_port_ranges,omitempty"` + + // +kubebuilder:validation:Required + Direction *string `json:"direction" tf:"direction,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty" tf:"source_address_prefix,omitempty"` + + // +kubebuilder:validation:Optional + SourceAddressPrefixes []*string `json:"sourceAddressPrefixes,omitempty" tf:"source_address_prefixes,omitempty"` + + // +kubebuilder:validation:Optional + SourceApplicationSecurityGroupIds []*string `json:"sourceApplicationSecurityGroupIds,omitempty" tf:"source_application_security_group_ids,omitempty"` + + // +kubebuilder:validation:Optional + SourcePortRange *string `json:"sourcePortRange,omitempty" tf:"source_port_range,omitempty"` + + // +kubebuilder:validation:Optional + SourcePortRanges []*string `json:"sourcePortRanges,omitempty" tf:"source_port_ranges,omitempty"` +} + +// SecurityGroupSpec defines the desired state of SecurityGroup +type SecurityGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SecurityGroupParameters `json:"forProvider"` +} + +// SecurityGroupStatus defines the observed state of SecurityGroup. +type SecurityGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SecurityGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecurityGroup is the Schema for the SecurityGroups API +// +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,azurejet} +type SecurityGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SecurityGroupSpec `json:"spec"` + Status SecurityGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SecurityGroupList contains a list of SecurityGroups +type SecurityGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SecurityGroup `json:"items"` +} + +// Repository type metadata. +var ( + SecurityGroup_Kind = "SecurityGroup" + SecurityGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroup_Kind}.String() + SecurityGroup_KindAPIVersion = SecurityGroup_Kind + "." + CRDGroupVersion.String() + SecurityGroup_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&SecurityGroup{}, &SecurityGroupList{}) +} diff --git a/apis/network/v1alpha1/zz_virtualnetwork_types.go b/apis/network/v1alpha1/zz_virtualnetwork_types.go index ad3bde029..90c507e7a 100755 --- a/apis/network/v1alpha1/zz_virtualnetwork_types.go +++ b/apis/network/v1alpha1/zz_virtualnetwork_types.go @@ -25,10 +25,10 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type DdosProtectionPlanObservation struct { +type VirtualNetworkDdosProtectionPlanObservation struct { } -type DdosProtectionPlanParameters struct { +type VirtualNetworkDdosProtectionPlanParameters struct { // +kubebuilder:validation:Required Enable *bool `json:"enable" tf:"enable,omitempty"` @@ -53,7 +53,7 @@ type VirtualNetworkParameters struct { DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` // +kubebuilder:validation:Optional - DdosProtectionPlan []DdosProtectionPlanParameters `json:"ddosProtectionPlan,omitempty" tf:"ddos_protection_plan,omitempty"` + DdosProtectionPlan []VirtualNetworkDdosProtectionPlanParameters `json:"ddosProtectionPlan,omitempty" tf:"ddos_protection_plan,omitempty"` // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` diff --git a/apis/network/v1alpha1/zz_virtualnetworkgateway_types.go b/apis/network/v1alpha1/zz_virtualnetworkgateway_types.go index 538a04ce9..1721e3b94 100755 --- a/apis/network/v1alpha1/zz_virtualnetworkgateway_types.go +++ b/apis/network/v1alpha1/zz_virtualnetworkgateway_types.go @@ -52,24 +52,6 @@ type CustomRouteParameters struct { AddressPrefixes []*string `json:"addressPrefixes,omitempty" tf:"address_prefixes,omitempty"` } -type IPConfigurationObservation struct { -} - -type IPConfigurationParameters struct { - - // +kubebuilder:validation:Optional - Name *string `json:"name,omitempty" tf:"name,omitempty"` - - // +kubebuilder:validation:Optional - PrivateIPAddressAllocation *string `json:"privateIpAddressAllocation,omitempty" tf:"private_ip_address_allocation,omitempty"` - - // +kubebuilder:validation:Required - PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` - - // +kubebuilder:validation:Required - SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` -} - type PeeringAddressesObservation struct { DefaultAddresses []*string `json:"defaultAddresses,omitempty" tf:"default_addresses,omitempty"` @@ -109,6 +91,24 @@ type RootCertificateParameters struct { PublicCertData *string `json:"publicCertData" tf:"public_cert_data,omitempty"` } +type VirtualNetworkGatewayIPConfigurationObservation struct { +} + +type VirtualNetworkGatewayIPConfigurationParameters struct { + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddressAllocation *string `json:"privateIpAddressAllocation,omitempty" tf:"private_ip_address_allocation,omitempty"` + + // +kubebuilder:validation:Required + PublicIPAddressID *string `json:"publicIpAddressId" tf:"public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + type VirtualNetworkGatewayObservation struct { } @@ -133,7 +133,7 @@ type VirtualNetworkGatewayParameters struct { Generation *string `json:"generation,omitempty" tf:"generation,omitempty"` // +kubebuilder:validation:Required - IPConfiguration []IPConfigurationParameters `json:"ipConfiguration" tf:"ip_configuration,omitempty"` + IPConfiguration []VirtualNetworkGatewayIPConfigurationParameters `json:"ipConfiguration" tf:"ip_configuration,omitempty"` // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` diff --git a/apis/network/v1alpha1/zz_watcher_terraformed.go b/apis/network/v1alpha1/zz_watcher_terraformed.go new file mode 100755 index 000000000..bae393f94 --- /dev/null +++ b/apis/network/v1alpha1/zz_watcher_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Watcher +func (mg *Watcher) GetTerraformResourceType() string { + return "azurerm_network_watcher" +} + +// GetConnectionDetailsMapping for this Watcher +func (tr *Watcher) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Watcher +func (tr *Watcher) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Watcher +func (tr *Watcher) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Watcher +func (tr *Watcher) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Watcher +func (tr *Watcher) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Watcher using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Watcher) LateInitialize(attrs []byte) (bool, error) { + params := &WatcherParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Watcher) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_watcher_types.go b/apis/network/v1alpha1/zz_watcher_types.go new file mode 100755 index 000000000..a124199af --- /dev/null +++ b/apis/network/v1alpha1/zz_watcher_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WatcherObservation struct { +} + +type WatcherParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// WatcherSpec defines the desired state of Watcher +type WatcherSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WatcherParameters `json:"forProvider"` +} + +// WatcherStatus defines the observed state of Watcher. +type WatcherStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WatcherObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Watcher is the Schema for the Watchers API +// +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,azurejet} +type Watcher struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WatcherSpec `json:"spec"` + Status WatcherStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WatcherList contains a list of Watchers +type WatcherList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Watcher `json:"items"` +} + +// Repository type metadata. +var ( + Watcher_Kind = "Watcher" + Watcher_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Watcher_Kind}.String() + Watcher_KindAPIVersion = Watcher_Kind + "." + CRDGroupVersion.String() + Watcher_GroupVersionKind = CRDGroupVersion.WithKind(Watcher_Kind) +) + +func init() { + SchemeBuilder.Register(&Watcher{}, &WatcherList{}) +} diff --git a/apis/network/v1alpha1/zz_watcherflowlog_terraformed.go b/apis/network/v1alpha1/zz_watcherflowlog_terraformed.go new file mode 100755 index 000000000..20119acfa --- /dev/null +++ b/apis/network/v1alpha1/zz_watcherflowlog_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WatcherFlowLog +func (mg *WatcherFlowLog) GetTerraformResourceType() string { + return "azurerm_network_watcher_flow_log" +} + +// GetConnectionDetailsMapping for this WatcherFlowLog +func (tr *WatcherFlowLog) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this WatcherFlowLog +func (tr *WatcherFlowLog) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WatcherFlowLog +func (tr *WatcherFlowLog) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WatcherFlowLog +func (tr *WatcherFlowLog) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WatcherFlowLog +func (tr *WatcherFlowLog) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WatcherFlowLog using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WatcherFlowLog) LateInitialize(attrs []byte) (bool, error) { + params := &WatcherFlowLogParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WatcherFlowLog) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/network/v1alpha1/zz_watcherflowlog_types.go b/apis/network/v1alpha1/zz_watcherflowlog_types.go new file mode 100755 index 000000000..976a90fc1 --- /dev/null +++ b/apis/network/v1alpha1/zz_watcherflowlog_types.go @@ -0,0 +1,145 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RetentionPolicyObservation struct { +} + +type RetentionPolicyParameters struct { + + // +kubebuilder:validation:Required + Days *int64 `json:"days" tf:"days,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` +} + +type TrafficAnalyticsObservation struct { +} + +type TrafficAnalyticsParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + IntervalInMinutes *int64 `json:"intervalInMinutes,omitempty" tf:"interval_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceID *string `json:"workspaceId" tf:"workspace_id,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceRegion *string `json:"workspaceRegion" tf:"workspace_region,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceResourceID *string `json:"workspaceResourceId" tf:"workspace_resource_id,omitempty"` +} + +type WatcherFlowLogObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type WatcherFlowLogParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + NetworkSecurityGroupID *string `json:"networkSecurityGroupId" tf:"network_security_group_id,omitempty"` + + // +kubebuilder:validation:Required + NetworkWatcherName *string `json:"networkWatcherName" tf:"network_watcher_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + RetentionPolicy []RetentionPolicyParameters `json:"retentionPolicy" tf:"retention_policy,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TrafficAnalytics []TrafficAnalyticsParameters `json:"trafficAnalytics,omitempty" tf:"traffic_analytics,omitempty"` + + // +kubebuilder:validation:Optional + Version *int64 `json:"version,omitempty" tf:"version,omitempty"` +} + +// WatcherFlowLogSpec defines the desired state of WatcherFlowLog +type WatcherFlowLogSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WatcherFlowLogParameters `json:"forProvider"` +} + +// WatcherFlowLogStatus defines the observed state of WatcherFlowLog. +type WatcherFlowLogStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WatcherFlowLogObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WatcherFlowLog is the Schema for the WatcherFlowLogs API +// +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,azurejet} +type WatcherFlowLog struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WatcherFlowLogSpec `json:"spec"` + Status WatcherFlowLogStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WatcherFlowLogList contains a list of WatcherFlowLogs +type WatcherFlowLogList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WatcherFlowLog `json:"items"` +} + +// Repository type metadata. +var ( + WatcherFlowLog_Kind = "WatcherFlowLog" + WatcherFlowLog_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WatcherFlowLog_Kind}.String() + WatcherFlowLog_KindAPIVersion = WatcherFlowLog_Kind + "." + CRDGroupVersion.String() + WatcherFlowLog_GroupVersionKind = CRDGroupVersion.WithKind(WatcherFlowLog_Kind) +) + +func init() { + SchemeBuilder.Register(&WatcherFlowLog{}, &WatcherFlowLogList{}) +} diff --git a/apis/notification/v1alpha1/zz_generated.deepcopy.go b/apis/notification/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..7012327f0 --- /dev/null +++ b/apis/notification/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,618 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApnsCredentialObservation) DeepCopyInto(out *ApnsCredentialObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApnsCredentialObservation. +func (in *ApnsCredentialObservation) DeepCopy() *ApnsCredentialObservation { + if in == nil { + return nil + } + out := new(ApnsCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApnsCredentialParameters) DeepCopyInto(out *ApnsCredentialParameters) { + *out = *in + if in.ApplicationMode != nil { + in, out := &in.ApplicationMode, &out.ApplicationMode + *out = new(string) + **out = **in + } + if in.BundleID != nil { + in, out := &in.BundleID, &out.BundleID + *out = new(string) + **out = **in + } + if in.KeyID != nil { + in, out := &in.KeyID, &out.KeyID + *out = new(string) + **out = **in + } + if in.TeamID != nil { + in, out := &in.TeamID, &out.TeamID + *out = new(string) + **out = **in + } + out.TokenSecretRef = in.TokenSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApnsCredentialParameters. +func (in *ApnsCredentialParameters) DeepCopy() *ApnsCredentialParameters { + if in == nil { + return nil + } + out := new(ApnsCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GcmCredentialObservation) DeepCopyInto(out *GcmCredentialObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcmCredentialObservation. +func (in *GcmCredentialObservation) DeepCopy() *GcmCredentialObservation { + if in == nil { + return nil + } + out := new(GcmCredentialObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GcmCredentialParameters) DeepCopyInto(out *GcmCredentialParameters) { + *out = *in + out.APIKeySecretRef = in.APIKeySecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcmCredentialParameters. +func (in *GcmCredentialParameters) DeepCopy() *GcmCredentialParameters { + if in == nil { + return nil + } + out := new(GcmCredentialParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Hub) DeepCopyInto(out *Hub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hub. +func (in *Hub) DeepCopy() *Hub { + if in == nil { + return nil + } + out := new(Hub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Hub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubAuthorizationRule) DeepCopyInto(out *HubAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubAuthorizationRule. +func (in *HubAuthorizationRule) DeepCopy() *HubAuthorizationRule { + if in == nil { + return nil + } + out := new(HubAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HubAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubAuthorizationRuleList) DeepCopyInto(out *HubAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HubAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubAuthorizationRuleList. +func (in *HubAuthorizationRuleList) DeepCopy() *HubAuthorizationRuleList { + if in == nil { + return nil + } + out := new(HubAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HubAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubAuthorizationRuleObservation) DeepCopyInto(out *HubAuthorizationRuleObservation) { + *out = *in + if in.PrimaryAccessKey != nil { + in, out := &in.PrimaryAccessKey, &out.PrimaryAccessKey + *out = new(string) + **out = **in + } + if in.SecondaryAccessKey != nil { + in, out := &in.SecondaryAccessKey, &out.SecondaryAccessKey + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubAuthorizationRuleObservation. +func (in *HubAuthorizationRuleObservation) DeepCopy() *HubAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(HubAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubAuthorizationRuleParameters) DeepCopyInto(out *HubAuthorizationRuleParameters) { + *out = *in + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.NotificationHubName != nil { + in, out := &in.NotificationHubName, &out.NotificationHubName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubAuthorizationRuleParameters. +func (in *HubAuthorizationRuleParameters) DeepCopy() *HubAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(HubAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubAuthorizationRuleSpec) DeepCopyInto(out *HubAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubAuthorizationRuleSpec. +func (in *HubAuthorizationRuleSpec) DeepCopy() *HubAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(HubAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubAuthorizationRuleStatus) DeepCopyInto(out *HubAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubAuthorizationRuleStatus. +func (in *HubAuthorizationRuleStatus) DeepCopy() *HubAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(HubAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubList) DeepCopyInto(out *HubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Hub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubList. +func (in *HubList) DeepCopy() *HubList { + if in == nil { + return nil + } + out := new(HubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubNamespace) DeepCopyInto(out *HubNamespace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubNamespace. +func (in *HubNamespace) DeepCopy() *HubNamespace { + if in == nil { + return nil + } + out := new(HubNamespace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HubNamespace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubNamespaceList) DeepCopyInto(out *HubNamespaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HubNamespace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubNamespaceList. +func (in *HubNamespaceList) DeepCopy() *HubNamespaceList { + if in == nil { + return nil + } + out := new(HubNamespaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HubNamespaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubNamespaceObservation) DeepCopyInto(out *HubNamespaceObservation) { + *out = *in + if in.ServicebusEndpoint != nil { + in, out := &in.ServicebusEndpoint, &out.ServicebusEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubNamespaceObservation. +func (in *HubNamespaceObservation) DeepCopy() *HubNamespaceObservation { + if in == nil { + return nil + } + out := new(HubNamespaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubNamespaceParameters) DeepCopyInto(out *HubNamespaceParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceType != nil { + in, out := &in.NamespaceType, &out.NamespaceType + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubNamespaceParameters. +func (in *HubNamespaceParameters) DeepCopy() *HubNamespaceParameters { + if in == nil { + return nil + } + out := new(HubNamespaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubNamespaceSpec) DeepCopyInto(out *HubNamespaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubNamespaceSpec. +func (in *HubNamespaceSpec) DeepCopy() *HubNamespaceSpec { + if in == nil { + return nil + } + out := new(HubNamespaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubNamespaceStatus) DeepCopyInto(out *HubNamespaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubNamespaceStatus. +func (in *HubNamespaceStatus) DeepCopy() *HubNamespaceStatus { + if in == nil { + return nil + } + out := new(HubNamespaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubObservation) DeepCopyInto(out *HubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubObservation. +func (in *HubObservation) DeepCopy() *HubObservation { + if in == nil { + return nil + } + out := new(HubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubParameters) DeepCopyInto(out *HubParameters) { + *out = *in + if in.ApnsCredential != nil { + in, out := &in.ApnsCredential, &out.ApnsCredential + *out = make([]ApnsCredentialParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.GcmCredential != nil { + in, out := &in.GcmCredential, &out.GcmCredential + *out = make([]GcmCredentialParameters, len(*in)) + copy(*out, *in) + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubParameters. +func (in *HubParameters) DeepCopy() *HubParameters { + if in == nil { + return nil + } + out := new(HubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubSpec) DeepCopyInto(out *HubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSpec. +func (in *HubSpec) DeepCopy() *HubSpec { + if in == nil { + return nil + } + out := new(HubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HubStatus) DeepCopyInto(out *HubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubStatus. +func (in *HubStatus) DeepCopy() *HubStatus { + if in == nil { + return nil + } + out := new(HubStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/notification/v1alpha1/zz_generated.managed.go b/apis/notification/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..bf44478ac --- /dev/null +++ b/apis/notification/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Hub. +func (mg *Hub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Hub. +func (mg *Hub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Hub. +func (mg *Hub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Hub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Hub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Hub. +func (mg *Hub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Hub. +func (mg *Hub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Hub. +func (mg *Hub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Hub. +func (mg *Hub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Hub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Hub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Hub. +func (mg *Hub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HubAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HubAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HubAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HubAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HubAuthorizationRule. +func (mg *HubAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this HubNamespace. +func (mg *HubNamespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HubNamespace. +func (mg *HubNamespace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HubNamespace. +func (mg *HubNamespace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HubNamespace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HubNamespace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HubNamespace. +func (mg *HubNamespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HubNamespace. +func (mg *HubNamespace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HubNamespace. +func (mg *HubNamespace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HubNamespace. +func (mg *HubNamespace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HubNamespace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HubNamespace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HubNamespace. +func (mg *HubNamespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/notification/v1alpha1/zz_generated.managedlist.go b/apis/notification/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..f854e9560 --- /dev/null +++ b/apis/notification/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this HubAuthorizationRuleList. +func (l *HubAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this HubList. +func (l *HubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this HubNamespaceList. +func (l *HubNamespaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/notification/v1alpha1/zz_groupversion_info.go b/apis/notification/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..61dbb2a40 --- /dev/null +++ b/apis/notification/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=notification.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "notification.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/notification/v1alpha1/zz_hub_terraformed.go b/apis/notification/v1alpha1/zz_hub_terraformed.go new file mode 100755 index 000000000..1c42f417a --- /dev/null +++ b/apis/notification/v1alpha1/zz_hub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Hub +func (mg *Hub) GetTerraformResourceType() string { + return "azurerm_notification_hub" +} + +// GetConnectionDetailsMapping for this Hub +func (tr *Hub) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"apns_credential[*].token": "spec.forProvider.apnsCredential[*].tokenSecretRef", "gcm_credential[*].api_key": "spec.forProvider.gcmCredential[*].apiKeySecretRef"} +} + +// GetObservation of this Hub +func (tr *Hub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Hub +func (tr *Hub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Hub +func (tr *Hub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Hub +func (tr *Hub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Hub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Hub) LateInitialize(attrs []byte) (bool, error) { + params := &HubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Hub) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/notification/v1alpha1/zz_hub_types.go b/apis/notification/v1alpha1/zz_hub_types.go new file mode 100755 index 000000000..4ca03dfd6 --- /dev/null +++ b/apis/notification/v1alpha1/zz_hub_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApnsCredentialObservation struct { +} + +type ApnsCredentialParameters struct { + + // +kubebuilder:validation:Required + ApplicationMode *string `json:"applicationMode" tf:"application_mode,omitempty"` + + // +kubebuilder:validation:Required + BundleID *string `json:"bundleId" tf:"bundle_id,omitempty"` + + // +kubebuilder:validation:Required + KeyID *string `json:"keyId" tf:"key_id,omitempty"` + + // +kubebuilder:validation:Required + TeamID *string `json:"teamId" tf:"team_id,omitempty"` + + // +kubebuilder:validation:Required + TokenSecretRef v1.SecretKeySelector `json:"tokenSecretRef" tf:"-"` +} + +type GcmCredentialObservation struct { +} + +type GcmCredentialParameters struct { + + // +kubebuilder:validation:Required + APIKeySecretRef v1.SecretKeySelector `json:"apiKeySecretRef" tf:"-"` +} + +type HubObservation struct { +} + +type HubParameters struct { + + // +kubebuilder:validation:Optional + ApnsCredential []ApnsCredentialParameters `json:"apnsCredential,omitempty" tf:"apns_credential,omitempty"` + + // +kubebuilder:validation:Optional + GcmCredential []GcmCredentialParameters `json:"gcmCredential,omitempty" tf:"gcm_credential,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// HubSpec defines the desired state of Hub +type HubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HubParameters `json:"forProvider"` +} + +// HubStatus defines the observed state of Hub. +type HubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Hub is the Schema for the Hubs API +// +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,azurejet} +type Hub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HubSpec `json:"spec"` + Status HubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HubList contains a list of Hubs +type HubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Hub `json:"items"` +} + +// Repository type metadata. +var ( + Hub_Kind = "Hub" + Hub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Hub_Kind}.String() + Hub_KindAPIVersion = Hub_Kind + "." + CRDGroupVersion.String() + Hub_GroupVersionKind = CRDGroupVersion.WithKind(Hub_Kind) +) + +func init() { + SchemeBuilder.Register(&Hub{}, &HubList{}) +} diff --git a/apis/notification/v1alpha1/zz_hubauthorizationrule_terraformed.go b/apis/notification/v1alpha1/zz_hubauthorizationrule_terraformed.go new file mode 100755 index 000000000..dd5d42de9 --- /dev/null +++ b/apis/notification/v1alpha1/zz_hubauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HubAuthorizationRule +func (mg *HubAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_notification_hub_authorization_rule" +} + +// GetConnectionDetailsMapping for this HubAuthorizationRule +func (tr *HubAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this HubAuthorizationRule +func (tr *HubAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HubAuthorizationRule +func (tr *HubAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HubAuthorizationRule +func (tr *HubAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HubAuthorizationRule +func (tr *HubAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HubAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HubAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &HubAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HubAuthorizationRule) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/notification/v1alpha1/zz_hubauthorizationrule_types.go b/apis/notification/v1alpha1/zz_hubauthorizationrule_types.go new file mode 100755 index 000000000..ac6293191 --- /dev/null +++ b/apis/notification/v1alpha1/zz_hubauthorizationrule_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HubAuthorizationRuleObservation struct { + PrimaryAccessKey *string `json:"primaryAccessKey,omitempty" tf:"primary_access_key,omitempty"` + + SecondaryAccessKey *string `json:"secondaryAccessKey,omitempty" tf:"secondary_access_key,omitempty"` +} + +type HubAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + NotificationHubName *string `json:"notificationHubName" tf:"notification_hub_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// HubAuthorizationRuleSpec defines the desired state of HubAuthorizationRule +type HubAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HubAuthorizationRuleParameters `json:"forProvider"` +} + +// HubAuthorizationRuleStatus defines the observed state of HubAuthorizationRule. +type HubAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HubAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HubAuthorizationRule is the Schema for the HubAuthorizationRules API +// +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,azurejet} +type HubAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HubAuthorizationRuleSpec `json:"spec"` + Status HubAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HubAuthorizationRuleList contains a list of HubAuthorizationRules +type HubAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HubAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + HubAuthorizationRule_Kind = "HubAuthorizationRule" + HubAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HubAuthorizationRule_Kind}.String() + HubAuthorizationRule_KindAPIVersion = HubAuthorizationRule_Kind + "." + CRDGroupVersion.String() + HubAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(HubAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&HubAuthorizationRule{}, &HubAuthorizationRuleList{}) +} diff --git a/apis/notification/v1alpha1/zz_hubnamespace_terraformed.go b/apis/notification/v1alpha1/zz_hubnamespace_terraformed.go new file mode 100755 index 000000000..8ffa3f605 --- /dev/null +++ b/apis/notification/v1alpha1/zz_hubnamespace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HubNamespace +func (mg *HubNamespace) GetTerraformResourceType() string { + return "azurerm_notification_hub_namespace" +} + +// GetConnectionDetailsMapping for this HubNamespace +func (tr *HubNamespace) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this HubNamespace +func (tr *HubNamespace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HubNamespace +func (tr *HubNamespace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HubNamespace +func (tr *HubNamespace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HubNamespace +func (tr *HubNamespace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HubNamespace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HubNamespace) LateInitialize(attrs []byte) (bool, error) { + params := &HubNamespaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HubNamespace) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/notification/v1alpha1/zz_hubnamespace_types.go b/apis/notification/v1alpha1/zz_hubnamespace_types.go new file mode 100755 index 000000000..e8c07054f --- /dev/null +++ b/apis/notification/v1alpha1/zz_hubnamespace_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HubNamespaceObservation struct { + ServicebusEndpoint *string `json:"servicebusEndpoint,omitempty" tf:"servicebus_endpoint,omitempty"` +} + +type HubNamespaceParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceType *string `json:"namespaceType" tf:"namespace_type,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// HubNamespaceSpec defines the desired state of HubNamespace +type HubNamespaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HubNamespaceParameters `json:"forProvider"` +} + +// HubNamespaceStatus defines the observed state of HubNamespace. +type HubNamespaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HubNamespaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HubNamespace is the Schema for the HubNamespaces API +// +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,azurejet} +type HubNamespace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HubNamespaceSpec `json:"spec"` + Status HubNamespaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HubNamespaceList contains a list of HubNamespaces +type HubNamespaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HubNamespace `json:"items"` +} + +// Repository type metadata. +var ( + HubNamespace_Kind = "HubNamespace" + HubNamespace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HubNamespace_Kind}.String() + HubNamespace_KindAPIVersion = HubNamespace_Kind + "." + CRDGroupVersion.String() + HubNamespace_GroupVersionKind = CRDGroupVersion.WithKind(HubNamespace_Kind) +) + +func init() { + SchemeBuilder.Register(&HubNamespace{}, &HubNamespaceList{}) +} diff --git a/apis/orchestrated/v1alpha1/zz_generated.deepcopy.go b/apis/orchestrated/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..23f17bfa3 --- /dev/null +++ b/apis/orchestrated/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,209 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSet) DeepCopyInto(out *VirtualMachineScaleSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSet. +func (in *VirtualMachineScaleSet) DeepCopy() *VirtualMachineScaleSet { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineScaleSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetList) DeepCopyInto(out *VirtualMachineScaleSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachineScaleSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetList. +func (in *VirtualMachineScaleSetList) DeepCopy() *VirtualMachineScaleSetList { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineScaleSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetObservation) DeepCopyInto(out *VirtualMachineScaleSetObservation) { + *out = *in + if in.UniqueID != nil { + in, out := &in.UniqueID, &out.UniqueID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetObservation. +func (in *VirtualMachineScaleSetObservation) DeepCopy() *VirtualMachineScaleSetObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetParameters) DeepCopyInto(out *VirtualMachineScaleSetParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PlatformFaultDomainCount != nil { + in, out := &in.PlatformFaultDomainCount, &out.PlatformFaultDomainCount + *out = new(int64) + **out = **in + } + if in.ProximityPlacementGroupID != nil { + in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SinglePlacementGroup != nil { + in, out := &in.SinglePlacementGroup, &out.SinglePlacementGroup + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetParameters. +func (in *VirtualMachineScaleSetParameters) DeepCopy() *VirtualMachineScaleSetParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSpec) DeepCopyInto(out *VirtualMachineScaleSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSpec. +func (in *VirtualMachineScaleSetSpec) DeepCopy() *VirtualMachineScaleSetSpec { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetStatus) DeepCopyInto(out *VirtualMachineScaleSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetStatus. +func (in *VirtualMachineScaleSetStatus) DeepCopy() *VirtualMachineScaleSetStatus { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/orchestrated/v1alpha1/zz_generated.managed.go b/apis/orchestrated/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..1bd6e3286 --- /dev/null +++ b/apis/orchestrated/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachineScaleSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachineScaleSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachineScaleSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachineScaleSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/orchestrated/v1alpha1/zz_generated.managedlist.go b/apis/orchestrated/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..d36f8717e --- /dev/null +++ b/apis/orchestrated/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this VirtualMachineScaleSetList. +func (l *VirtualMachineScaleSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/orchestrated/v1alpha1/zz_groupversion_info.go b/apis/orchestrated/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..46740422d --- /dev/null +++ b/apis/orchestrated/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=orchestrated.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "orchestrated.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/orchestrated/v1alpha1/zz_virtualmachinescaleset_terraformed.go b/apis/orchestrated/v1alpha1/zz_virtualmachinescaleset_terraformed.go new file mode 100755 index 000000000..d3f2f7954 --- /dev/null +++ b/apis/orchestrated/v1alpha1/zz_virtualmachinescaleset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachineScaleSet +func (mg *VirtualMachineScaleSet) GetTerraformResourceType() string { + return "azurerm_orchestrated_virtual_machine_scale_set" +} + +// GetConnectionDetailsMapping for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachineScaleSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachineScaleSet) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineScaleSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachineScaleSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/orchestrated/v1alpha1/zz_virtualmachinescaleset_types.go b/apis/orchestrated/v1alpha1/zz_virtualmachinescaleset_types.go new file mode 100755 index 000000000..68e5bd133 --- /dev/null +++ b/apis/orchestrated/v1alpha1/zz_virtualmachinescaleset_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type VirtualMachineScaleSetObservation struct { + UniqueID *string `json:"uniqueId,omitempty" tf:"unique_id,omitempty"` +} + +type VirtualMachineScaleSetParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PlatformFaultDomainCount *int64 `json:"platformFaultDomainCount" tf:"platform_fault_domain_count,omitempty"` + + // +kubebuilder:validation:Optional + ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty" tf:"single_placement_group,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +// VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet +type VirtualMachineScaleSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineScaleSetParameters `json:"forProvider"` +} + +// VirtualMachineScaleSetStatus defines the observed state of VirtualMachineScaleSet. +type VirtualMachineScaleSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineScaleSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineScaleSet is the Schema for the VirtualMachineScaleSets API +// +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,azurejet} +type VirtualMachineScaleSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineScaleSetSpec `json:"spec"` + Status VirtualMachineScaleSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineScaleSetList contains a list of VirtualMachineScaleSets +type VirtualMachineScaleSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachineScaleSet `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachineScaleSet_Kind = "VirtualMachineScaleSet" + VirtualMachineScaleSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachineScaleSet_Kind}.String() + VirtualMachineScaleSet_KindAPIVersion = VirtualMachineScaleSet_Kind + "." + CRDGroupVersion.String() + VirtualMachineScaleSet_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachineScaleSet_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachineScaleSet{}, &VirtualMachineScaleSetList{}) +} diff --git a/apis/packet/v1alpha1/zz_capture_terraformed.go b/apis/packet/v1alpha1/zz_capture_terraformed.go new file mode 100755 index 000000000..5bd8d3b51 --- /dev/null +++ b/apis/packet/v1alpha1/zz_capture_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Capture +func (mg *Capture) GetTerraformResourceType() string { + return "azurerm_packet_capture" +} + +// GetConnectionDetailsMapping for this Capture +func (tr *Capture) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Capture +func (tr *Capture) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Capture +func (tr *Capture) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Capture +func (tr *Capture) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Capture +func (tr *Capture) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Capture using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Capture) LateInitialize(attrs []byte) (bool, error) { + params := &CaptureParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Capture) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/packet/v1alpha1/zz_capture_types.go b/apis/packet/v1alpha1/zz_capture_types.go new file mode 100755 index 000000000..0f0218734 --- /dev/null +++ b/apis/packet/v1alpha1/zz_capture_types.go @@ -0,0 +1,142 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CaptureObservation struct { +} + +type CaptureParameters struct { + + // +kubebuilder:validation:Optional + Filter []FilterParameters `json:"filter,omitempty" tf:"filter,omitempty"` + + // +kubebuilder:validation:Optional + MaximumBytesPerPacket *int64 `json:"maximumBytesPerPacket,omitempty" tf:"maximum_bytes_per_packet,omitempty"` + + // +kubebuilder:validation:Optional + MaximumBytesPerSession *int64 `json:"maximumBytesPerSession,omitempty" tf:"maximum_bytes_per_session,omitempty"` + + // +kubebuilder:validation:Optional + MaximumCaptureDuration *int64 `json:"maximumCaptureDuration,omitempty" tf:"maximum_capture_duration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkWatcherName *string `json:"networkWatcherName" tf:"network_watcher_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageLocation []StorageLocationParameters `json:"storageLocation" tf:"storage_location,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +type FilterObservation struct { +} + +type FilterParameters struct { + + // +kubebuilder:validation:Optional + LocalIPAddress *string `json:"localIpAddress,omitempty" tf:"local_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + LocalPort *string `json:"localPort,omitempty" tf:"local_port,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + RemoteIPAddress *string `json:"remoteIpAddress,omitempty" tf:"remote_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + RemotePort *string `json:"remotePort,omitempty" tf:"remote_port,omitempty"` +} + +type StorageLocationObservation struct { + StoragePath *string `json:"storagePath,omitempty" tf:"storage_path,omitempty"` +} + +type StorageLocationParameters struct { + + // +kubebuilder:validation:Optional + FilePath *string `json:"filePath,omitempty" tf:"file_path,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` +} + +// CaptureSpec defines the desired state of Capture +type CaptureSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CaptureParameters `json:"forProvider"` +} + +// CaptureStatus defines the observed state of Capture. +type CaptureStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CaptureObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Capture is the Schema for the Captures API +// +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,azurejet} +type Capture struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CaptureSpec `json:"spec"` + Status CaptureStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CaptureList contains a list of Captures +type CaptureList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Capture `json:"items"` +} + +// Repository type metadata. +var ( + Capture_Kind = "Capture" + Capture_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Capture_Kind}.String() + Capture_KindAPIVersion = Capture_Kind + "." + CRDGroupVersion.String() + Capture_GroupVersionKind = CRDGroupVersion.WithKind(Capture_Kind) +) + +func init() { + SchemeBuilder.Register(&Capture{}, &CaptureList{}) +} diff --git a/apis/packet/v1alpha1/zz_generated.deepcopy.go b/apis/packet/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2c26ab9ca --- /dev/null +++ b/apis/packet/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,297 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Capture) DeepCopyInto(out *Capture) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capture. +func (in *Capture) DeepCopy() *Capture { + if in == nil { + return nil + } + out := new(Capture) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Capture) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureList) DeepCopyInto(out *CaptureList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Capture, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureList. +func (in *CaptureList) DeepCopy() *CaptureList { + if in == nil { + return nil + } + out := new(CaptureList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CaptureList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureObservation) DeepCopyInto(out *CaptureObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureObservation. +func (in *CaptureObservation) DeepCopy() *CaptureObservation { + if in == nil { + return nil + } + out := new(CaptureObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureParameters) DeepCopyInto(out *CaptureParameters) { + *out = *in + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaximumBytesPerPacket != nil { + in, out := &in.MaximumBytesPerPacket, &out.MaximumBytesPerPacket + *out = new(int64) + **out = **in + } + if in.MaximumBytesPerSession != nil { + in, out := &in.MaximumBytesPerSession, &out.MaximumBytesPerSession + *out = new(int64) + **out = **in + } + if in.MaximumCaptureDuration != nil { + in, out := &in.MaximumCaptureDuration, &out.MaximumCaptureDuration + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkWatcherName != nil { + in, out := &in.NetworkWatcherName, &out.NetworkWatcherName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageLocation != nil { + in, out := &in.StorageLocation, &out.StorageLocation + *out = make([]StorageLocationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureParameters. +func (in *CaptureParameters) DeepCopy() *CaptureParameters { + if in == nil { + return nil + } + out := new(CaptureParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureSpec) DeepCopyInto(out *CaptureSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureSpec. +func (in *CaptureSpec) DeepCopy() *CaptureSpec { + if in == nil { + return nil + } + out := new(CaptureSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CaptureStatus) DeepCopyInto(out *CaptureStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureStatus. +func (in *CaptureStatus) DeepCopy() *CaptureStatus { + if in == nil { + return nil + } + out := new(CaptureStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation. +func (in *FilterObservation) DeepCopy() *FilterObservation { + if in == nil { + return nil + } + out := new(FilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { + *out = *in + if in.LocalIPAddress != nil { + in, out := &in.LocalIPAddress, &out.LocalIPAddress + *out = new(string) + **out = **in + } + if in.LocalPort != nil { + in, out := &in.LocalPort, &out.LocalPort + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.RemoteIPAddress != nil { + in, out := &in.RemoteIPAddress, &out.RemoteIPAddress + *out = new(string) + **out = **in + } + if in.RemotePort != nil { + in, out := &in.RemotePort, &out.RemotePort + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters. +func (in *FilterParameters) DeepCopy() *FilterParameters { + if in == nil { + return nil + } + out := new(FilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageLocationObservation) DeepCopyInto(out *StorageLocationObservation) { + *out = *in + if in.StoragePath != nil { + in, out := &in.StoragePath, &out.StoragePath + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageLocationObservation. +func (in *StorageLocationObservation) DeepCopy() *StorageLocationObservation { + if in == nil { + return nil + } + out := new(StorageLocationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageLocationParameters) DeepCopyInto(out *StorageLocationParameters) { + *out = *in + if in.FilePath != nil { + in, out := &in.FilePath, &out.FilePath + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageLocationParameters. +func (in *StorageLocationParameters) DeepCopy() *StorageLocationParameters { + if in == nil { + return nil + } + out := new(StorageLocationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/packet/v1alpha1/zz_generated.managed.go b/apis/packet/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e2aa676c2 --- /dev/null +++ b/apis/packet/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Capture. +func (mg *Capture) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Capture. +func (mg *Capture) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Capture. +func (mg *Capture) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Capture. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Capture) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Capture. +func (mg *Capture) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Capture. +func (mg *Capture) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Capture. +func (mg *Capture) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Capture. +func (mg *Capture) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Capture. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Capture) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Capture. +func (mg *Capture) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/packet/v1alpha1/zz_generated.managedlist.go b/apis/packet/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..79316afc4 --- /dev/null +++ b/apis/packet/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this CaptureList. +func (l *CaptureList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/packet/v1alpha1/zz_groupversion_info.go b/apis/packet/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f893396f2 --- /dev/null +++ b/apis/packet/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=packet.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "packet.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/point/v1alpha1/zz_generated.deepcopy.go b/apis/point/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..144f8bafd --- /dev/null +++ b/apis/point/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,395 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionConfigurationObservation) DeepCopyInto(out *ConnectionConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionConfigurationObservation. +func (in *ConnectionConfigurationObservation) DeepCopy() *ConnectionConfigurationObservation { + if in == nil { + return nil + } + out := new(ConnectionConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConnectionConfigurationParameters) DeepCopyInto(out *ConnectionConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Route != nil { + in, out := &in.Route, &out.Route + *out = make([]RouteParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VpnClientAddressPool != nil { + in, out := &in.VpnClientAddressPool, &out.VpnClientAddressPool + *out = make([]VpnClientAddressPoolParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionConfigurationParameters. +func (in *ConnectionConfigurationParameters) DeepCopy() *ConnectionConfigurationParameters { + if in == nil { + return nil + } + out := new(ConnectionConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PropagatedRouteTableObservation) DeepCopyInto(out *PropagatedRouteTableObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedRouteTableObservation. +func (in *PropagatedRouteTableObservation) DeepCopy() *PropagatedRouteTableObservation { + if in == nil { + return nil + } + out := new(PropagatedRouteTableObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PropagatedRouteTableParameters) DeepCopyInto(out *PropagatedRouteTableParameters) { + *out = *in + if in.Ids != nil { + in, out := &in.Ids, &out.Ids + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropagatedRouteTableParameters. +func (in *PropagatedRouteTableParameters) DeepCopy() *PropagatedRouteTableParameters { + if in == nil { + return nil + } + out := new(PropagatedRouteTableParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteObservation) DeepCopyInto(out *RouteObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteObservation. +func (in *RouteObservation) DeepCopy() *RouteObservation { + if in == nil { + return nil + } + out := new(RouteObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RouteParameters) DeepCopyInto(out *RouteParameters) { + *out = *in + if in.AssociatedRouteTableID != nil { + in, out := &in.AssociatedRouteTableID, &out.AssociatedRouteTableID + *out = new(string) + **out = **in + } + if in.PropagatedRouteTable != nil { + in, out := &in.PropagatedRouteTable, &out.PropagatedRouteTable + *out = make([]PropagatedRouteTableParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteParameters. +func (in *RouteParameters) DeepCopy() *RouteParameters { + if in == nil { + return nil + } + out := new(RouteParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToSiteVpnGateway) DeepCopyInto(out *ToSiteVpnGateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSiteVpnGateway. +func (in *ToSiteVpnGateway) DeepCopy() *ToSiteVpnGateway { + if in == nil { + return nil + } + out := new(ToSiteVpnGateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ToSiteVpnGateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToSiteVpnGatewayList) DeepCopyInto(out *ToSiteVpnGatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ToSiteVpnGateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSiteVpnGatewayList. +func (in *ToSiteVpnGatewayList) DeepCopy() *ToSiteVpnGatewayList { + if in == nil { + return nil + } + out := new(ToSiteVpnGatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ToSiteVpnGatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToSiteVpnGatewayObservation) DeepCopyInto(out *ToSiteVpnGatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSiteVpnGatewayObservation. +func (in *ToSiteVpnGatewayObservation) DeepCopy() *ToSiteVpnGatewayObservation { + if in == nil { + return nil + } + out := new(ToSiteVpnGatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToSiteVpnGatewayParameters) DeepCopyInto(out *ToSiteVpnGatewayParameters) { + *out = *in + if in.ConnectionConfiguration != nil { + in, out := &in.ConnectionConfiguration, &out.ConnectionConfiguration + *out = make([]ConnectionConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ScaleUnit != nil { + in, out := &in.ScaleUnit, &out.ScaleUnit + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualHubID != nil { + in, out := &in.VirtualHubID, &out.VirtualHubID + *out = new(string) + **out = **in + } + if in.VpnServerConfigurationID != nil { + in, out := &in.VpnServerConfigurationID, &out.VpnServerConfigurationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSiteVpnGatewayParameters. +func (in *ToSiteVpnGatewayParameters) DeepCopy() *ToSiteVpnGatewayParameters { + if in == nil { + return nil + } + out := new(ToSiteVpnGatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToSiteVpnGatewaySpec) DeepCopyInto(out *ToSiteVpnGatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSiteVpnGatewaySpec. +func (in *ToSiteVpnGatewaySpec) DeepCopy() *ToSiteVpnGatewaySpec { + if in == nil { + return nil + } + out := new(ToSiteVpnGatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ToSiteVpnGatewayStatus) DeepCopyInto(out *ToSiteVpnGatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToSiteVpnGatewayStatus. +func (in *ToSiteVpnGatewayStatus) DeepCopy() *ToSiteVpnGatewayStatus { + if in == nil { + return nil + } + out := new(ToSiteVpnGatewayStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VpnClientAddressPoolObservation) DeepCopyInto(out *VpnClientAddressPoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnClientAddressPoolObservation. +func (in *VpnClientAddressPoolObservation) DeepCopy() *VpnClientAddressPoolObservation { + if in == nil { + return nil + } + out := new(VpnClientAddressPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VpnClientAddressPoolParameters) DeepCopyInto(out *VpnClientAddressPoolParameters) { + *out = *in + if in.AddressPrefixes != nil { + in, out := &in.AddressPrefixes, &out.AddressPrefixes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnClientAddressPoolParameters. +func (in *VpnClientAddressPoolParameters) DeepCopy() *VpnClientAddressPoolParameters { + if in == nil { + return nil + } + out := new(VpnClientAddressPoolParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/point/v1alpha1/zz_generated.managed.go b/apis/point/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..887834e89 --- /dev/null +++ b/apis/point/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ToSiteVpnGateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ToSiteVpnGateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ToSiteVpnGateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ToSiteVpnGateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ToSiteVpnGateway. +func (mg *ToSiteVpnGateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/point/v1alpha1/zz_generated.managedlist.go b/apis/point/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b19e27d77 --- /dev/null +++ b/apis/point/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ToSiteVpnGatewayList. +func (l *ToSiteVpnGatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/point/v1alpha1/zz_groupversion_info.go b/apis/point/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..b6ec0a5bb --- /dev/null +++ b/apis/point/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=point.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "point.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/point/v1alpha1/zz_tositevpngateway_terraformed.go b/apis/point/v1alpha1/zz_tositevpngateway_terraformed.go new file mode 100755 index 000000000..fa213d15a --- /dev/null +++ b/apis/point/v1alpha1/zz_tositevpngateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ToSiteVpnGateway +func (mg *ToSiteVpnGateway) GetTerraformResourceType() string { + return "azurerm_point_to_site_vpn_gateway" +} + +// GetConnectionDetailsMapping for this ToSiteVpnGateway +func (tr *ToSiteVpnGateway) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ToSiteVpnGateway +func (tr *ToSiteVpnGateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ToSiteVpnGateway +func (tr *ToSiteVpnGateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ToSiteVpnGateway +func (tr *ToSiteVpnGateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ToSiteVpnGateway +func (tr *ToSiteVpnGateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ToSiteVpnGateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ToSiteVpnGateway) LateInitialize(attrs []byte) (bool, error) { + params := &ToSiteVpnGatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ToSiteVpnGateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/point/v1alpha1/zz_tositevpngateway_types.go b/apis/point/v1alpha1/zz_tositevpngateway_types.go new file mode 100755 index 000000000..be989b1f6 --- /dev/null +++ b/apis/point/v1alpha1/zz_tositevpngateway_types.go @@ -0,0 +1,156 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConnectionConfigurationObservation struct { +} + +type ConnectionConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Route []RouteParameters `json:"route,omitempty" tf:"route,omitempty"` + + // +kubebuilder:validation:Required + VpnClientAddressPool []VpnClientAddressPoolParameters `json:"vpnClientAddressPool" tf:"vpn_client_address_pool,omitempty"` +} + +type PropagatedRouteTableObservation struct { +} + +type PropagatedRouteTableParameters struct { + + // +kubebuilder:validation:Required + Ids []*string `json:"ids" tf:"ids,omitempty"` + + // +kubebuilder:validation:Optional + Labels []*string `json:"labels,omitempty" tf:"labels,omitempty"` +} + +type RouteObservation struct { +} + +type RouteParameters struct { + + // +kubebuilder:validation:Required + AssociatedRouteTableID *string `json:"associatedRouteTableId" tf:"associated_route_table_id,omitempty"` + + // +kubebuilder:validation:Optional + PropagatedRouteTable []PropagatedRouteTableParameters `json:"propagatedRouteTable,omitempty" tf:"propagated_route_table,omitempty"` +} + +type ToSiteVpnGatewayObservation struct { +} + +type ToSiteVpnGatewayParameters struct { + + // +kubebuilder:validation:Required + ConnectionConfiguration []ConnectionConfigurationParameters `json:"connectionConfiguration" tf:"connection_configuration,omitempty"` + + // +kubebuilder:validation:Optional + DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ScaleUnit *int64 `json:"scaleUnit" tf:"scale_unit,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualHubID *string `json:"virtualHubId" tf:"virtual_hub_id,omitempty"` + + // +kubebuilder:validation:Required + VpnServerConfigurationID *string `json:"vpnServerConfigurationId" tf:"vpn_server_configuration_id,omitempty"` +} + +type VpnClientAddressPoolObservation struct { +} + +type VpnClientAddressPoolParameters struct { + + // +kubebuilder:validation:Required + AddressPrefixes []*string `json:"addressPrefixes" tf:"address_prefixes,omitempty"` +} + +// ToSiteVpnGatewaySpec defines the desired state of ToSiteVpnGateway +type ToSiteVpnGatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ToSiteVpnGatewayParameters `json:"forProvider"` +} + +// ToSiteVpnGatewayStatus defines the observed state of ToSiteVpnGateway. +type ToSiteVpnGatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ToSiteVpnGatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ToSiteVpnGateway is the Schema for the ToSiteVpnGateways API +// +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,azurejet} +type ToSiteVpnGateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ToSiteVpnGatewaySpec `json:"spec"` + Status ToSiteVpnGatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ToSiteVpnGatewayList contains a list of ToSiteVpnGateways +type ToSiteVpnGatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ToSiteVpnGateway `json:"items"` +} + +// Repository type metadata. +var ( + ToSiteVpnGateway_Kind = "ToSiteVpnGateway" + ToSiteVpnGateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ToSiteVpnGateway_Kind}.String() + ToSiteVpnGateway_KindAPIVersion = ToSiteVpnGateway_Kind + "." + CRDGroupVersion.String() + ToSiteVpnGateway_GroupVersionKind = CRDGroupVersion.WithKind(ToSiteVpnGateway_Kind) +) + +func init() { + SchemeBuilder.Register(&ToSiteVpnGateway{}, &ToSiteVpnGatewayList{}) +} diff --git a/apis/policy/v1alpha1/zz_assignment_terraformed.go b/apis/policy/v1alpha1/zz_assignment_terraformed.go new file mode 100755 index 000000000..f90a16bd8 --- /dev/null +++ b/apis/policy/v1alpha1/zz_assignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Assignment +func (mg *Assignment) GetTerraformResourceType() string { + return "azurerm_policy_assignment" +} + +// GetConnectionDetailsMapping for this Assignment +func (tr *Assignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Assignment +func (tr *Assignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Assignment +func (tr *Assignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Assignment +func (tr *Assignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Assignment +func (tr *Assignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Assignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Assignment) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Assignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/policy/v1alpha1/zz_assignment_types.go b/apis/policy/v1alpha1/zz_assignment_types.go new file mode 100755 index 000000000..04cace182 --- /dev/null +++ b/apis/policy/v1alpha1/zz_assignment_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentObservation struct { +} + +type AssignmentParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + EnforcementMode *bool `json:"enforcementMode,omitempty" tf:"enforcement_mode,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + PolicyDefinitionID *string `json:"policyDefinitionId" tf:"policy_definition_id,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +// AssignmentSpec defines the desired state of Assignment +type AssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentParameters `json:"forProvider"` +} + +// AssignmentStatus defines the observed state of Assignment. +type AssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Assignment is the Schema for the Assignments API +// +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,azurejet} +type Assignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentSpec `json:"spec"` + Status AssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentList contains a list of Assignments +type AssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Assignment `json:"items"` +} + +// Repository type metadata. +var ( + Assignment_Kind = "Assignment" + Assignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Assignment_Kind}.String() + Assignment_KindAPIVersion = Assignment_Kind + "." + CRDGroupVersion.String() + Assignment_GroupVersionKind = CRDGroupVersion.WithKind(Assignment_Kind) +) + +func init() { + SchemeBuilder.Register(&Assignment{}, &AssignmentList{}) +} diff --git a/apis/policy/v1alpha1/zz_definition_terraformed.go b/apis/policy/v1alpha1/zz_definition_terraformed.go new file mode 100755 index 000000000..ca852cd2b --- /dev/null +++ b/apis/policy/v1alpha1/zz_definition_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Definition +func (mg *Definition) GetTerraformResourceType() string { + return "azurerm_policy_definition" +} + +// GetConnectionDetailsMapping for this Definition +func (tr *Definition) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Definition +func (tr *Definition) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Definition +func (tr *Definition) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Definition +func (tr *Definition) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Definition +func (tr *Definition) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Definition using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Definition) LateInitialize(attrs []byte) (bool, error) { + params := &DefinitionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Definition) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/policy/v1alpha1/zz_definition_types.go b/apis/policy/v1alpha1/zz_definition_types.go new file mode 100755 index 000000000..4ca4cd028 --- /dev/null +++ b/apis/policy/v1alpha1/zz_definition_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DefinitionObservation struct { +} + +type DefinitionParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"` + + // +kubebuilder:validation:Optional + ManagementGroupName *string `json:"managementGroupName,omitempty" tf:"management_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Mode *string `json:"mode" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + PolicyRule *string `json:"policyRule,omitempty" tf:"policy_rule,omitempty"` + + // +kubebuilder:validation:Required + PolicyType *string `json:"policyType" tf:"policy_type,omitempty"` +} + +// DefinitionSpec defines the desired state of Definition +type DefinitionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DefinitionParameters `json:"forProvider"` +} + +// DefinitionStatus defines the observed state of Definition. +type DefinitionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DefinitionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Definition is the Schema for the Definitions API +// +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,azurejet} +type Definition struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DefinitionSpec `json:"spec"` + Status DefinitionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DefinitionList contains a list of Definitions +type DefinitionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Definition `json:"items"` +} + +// Repository type metadata. +var ( + Definition_Kind = "Definition" + Definition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Definition_Kind}.String() + Definition_KindAPIVersion = Definition_Kind + "." + CRDGroupVersion.String() + Definition_GroupVersionKind = CRDGroupVersion.WithKind(Definition_Kind) +) + +func init() { + SchemeBuilder.Register(&Definition{}, &DefinitionList{}) +} diff --git a/apis/policy/v1alpha1/zz_generated.deepcopy.go b/apis/policy/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..98c4ed788 --- /dev/null +++ b/apis/policy/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1143 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Assignment) DeepCopyInto(out *Assignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assignment. +func (in *Assignment) DeepCopy() *Assignment { + if in == nil { + return nil + } + out := new(Assignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Assignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentList) DeepCopyInto(out *AssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Assignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentList. +func (in *AssignmentList) DeepCopy() *AssignmentList { + if in == nil { + return nil + } + out := new(AssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentObservation) DeepCopyInto(out *AssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentObservation. +func (in *AssignmentObservation) DeepCopy() *AssignmentObservation { + if in == nil { + return nil + } + out := new(AssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentParameters) DeepCopyInto(out *AssignmentParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.EnforcementMode != nil { + in, out := &in.EnforcementMode, &out.EnforcementMode + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotScopes != nil { + in, out := &in.NotScopes, &out.NotScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } + if in.PolicyDefinitionID != nil { + in, out := &in.PolicyDefinitionID, &out.PolicyDefinitionID + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentParameters. +func (in *AssignmentParameters) DeepCopy() *AssignmentParameters { + if in == nil { + return nil + } + out := new(AssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentSpec. +func (in *AssignmentSpec) DeepCopy() *AssignmentSpec { + if in == nil { + return nil + } + out := new(AssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentStatus. +func (in *AssignmentStatus) DeepCopy() *AssignmentStatus { + if in == nil { + return nil + } + out := new(AssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation. +func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation { + if in == nil { + return nil + } + out := new(ConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters) { + *out = *in + if in.AssignmentType != nil { + in, out := &in.AssignmentType, &out.AssignmentType + *out = new(string) + **out = **in + } + if in.ContentHash != nil { + in, out := &in.ContentHash, &out.ContentHash + *out = new(string) + **out = **in + } + if in.ContentURI != nil { + in, out := &in.ContentURI, &out.ContentURI + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameter != nil { + in, out := &in.Parameter, &out.Parameter + *out = make([]ParameterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters. +func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters { + if in == nil { + return nil + } + out := new(ConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Definition) DeepCopyInto(out *Definition) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Definition. +func (in *Definition) DeepCopy() *Definition { + if in == nil { + return nil + } + out := new(Definition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Definition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionList) DeepCopyInto(out *DefinitionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Definition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionList. +func (in *DefinitionList) DeepCopy() *DefinitionList { + if in == nil { + return nil + } + out := new(DefinitionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. +func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { + if in == nil { + return nil + } + out := new(DefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.ManagementGroupID != nil { + in, out := &in.ManagementGroupID, &out.ManagementGroupID + *out = new(string) + **out = **in + } + if in.ManagementGroupName != nil { + in, out := &in.ManagementGroupName, &out.ManagementGroupName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } + if in.PolicyRule != nil { + in, out := &in.PolicyRule, &out.PolicyRule + *out = new(string) + **out = **in + } + if in.PolicyType != nil { + in, out := &in.PolicyType, &out.PolicyType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. +func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { + if in == nil { + return nil + } + out := new(DefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionSpec) DeepCopyInto(out *DefinitionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionSpec. +func (in *DefinitionSpec) DeepCopy() *DefinitionSpec { + if in == nil { + return nil + } + out := new(DefinitionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionStatus) DeepCopyInto(out *DefinitionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionStatus. +func (in *DefinitionStatus) DeepCopy() *DefinitionStatus { + if in == nil { + return nil + } + out := new(DefinitionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ParameterObservation) DeepCopyInto(out *ParameterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterObservation. +func (in *ParameterObservation) DeepCopy() *ParameterObservation { + if in == nil { + return nil + } + out := new(ParameterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ParameterParameters) DeepCopyInto(out *ParameterParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterParameters. +func (in *ParameterParameters) DeepCopy() *ParameterParameters { + if in == nil { + return nil + } + out := new(ParameterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyDefinitionGroupObservation) DeepCopyInto(out *PolicyDefinitionGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionGroupObservation. +func (in *PolicyDefinitionGroupObservation) DeepCopy() *PolicyDefinitionGroupObservation { + if in == nil { + return nil + } + out := new(PolicyDefinitionGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyDefinitionGroupParameters) DeepCopyInto(out *PolicyDefinitionGroupParameters) { + *out = *in + if in.AdditionalMetadataResourceID != nil { + in, out := &in.AdditionalMetadataResourceID, &out.AdditionalMetadataResourceID + *out = new(string) + **out = **in + } + if in.Category != nil { + in, out := &in.Category, &out.Category + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionGroupParameters. +func (in *PolicyDefinitionGroupParameters) DeepCopy() *PolicyDefinitionGroupParameters { + if in == nil { + return nil + } + out := new(PolicyDefinitionGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyDefinitionReferenceObservation) DeepCopyInto(out *PolicyDefinitionReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionReferenceObservation. +func (in *PolicyDefinitionReferenceObservation) DeepCopy() *PolicyDefinitionReferenceObservation { + if in == nil { + return nil + } + out := new(PolicyDefinitionReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyDefinitionReferenceParameters) DeepCopyInto(out *PolicyDefinitionReferenceParameters) { + *out = *in + if in.ParameterValues != nil { + in, out := &in.ParameterValues, &out.ParameterValues + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PolicyDefinitionID != nil { + in, out := &in.PolicyDefinitionID, &out.PolicyDefinitionID + *out = new(string) + **out = **in + } + if in.PolicyGroupNames != nil { + in, out := &in.PolicyGroupNames, &out.PolicyGroupNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ReferenceID != nil { + in, out := &in.ReferenceID, &out.ReferenceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionReferenceParameters. +func (in *PolicyDefinitionReferenceParameters) DeepCopy() *PolicyDefinitionReferenceParameters { + if in == nil { + return nil + } + out := new(PolicyDefinitionReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Remediation) DeepCopyInto(out *Remediation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Remediation. +func (in *Remediation) DeepCopy() *Remediation { + if in == nil { + return nil + } + out := new(Remediation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Remediation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemediationList) DeepCopyInto(out *RemediationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Remediation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemediationList. +func (in *RemediationList) DeepCopy() *RemediationList { + if in == nil { + return nil + } + out := new(RemediationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RemediationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemediationObservation) DeepCopyInto(out *RemediationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemediationObservation. +func (in *RemediationObservation) DeepCopy() *RemediationObservation { + if in == nil { + return nil + } + out := new(RemediationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemediationParameters) DeepCopyInto(out *RemediationParameters) { + *out = *in + if in.LocationFilters != nil { + in, out := &in.LocationFilters, &out.LocationFilters + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyAssignmentID != nil { + in, out := &in.PolicyAssignmentID, &out.PolicyAssignmentID + *out = new(string) + **out = **in + } + if in.PolicyDefinitionReferenceID != nil { + in, out := &in.PolicyDefinitionReferenceID, &out.PolicyDefinitionReferenceID + *out = new(string) + **out = **in + } + if in.ResourceDiscoveryMode != nil { + in, out := &in.ResourceDiscoveryMode, &out.ResourceDiscoveryMode + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemediationParameters. +func (in *RemediationParameters) DeepCopy() *RemediationParameters { + if in == nil { + return nil + } + out := new(RemediationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemediationSpec) DeepCopyInto(out *RemediationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemediationSpec. +func (in *RemediationSpec) DeepCopy() *RemediationSpec { + if in == nil { + return nil + } + out := new(RemediationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RemediationStatus) DeepCopyInto(out *RemediationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemediationStatus. +func (in *RemediationStatus) DeepCopy() *RemediationStatus { + if in == nil { + return nil + } + out := new(RemediationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetDefinition) DeepCopyInto(out *SetDefinition) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetDefinition. +func (in *SetDefinition) DeepCopy() *SetDefinition { + if in == nil { + return nil + } + out := new(SetDefinition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SetDefinition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetDefinitionList) DeepCopyInto(out *SetDefinitionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SetDefinition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetDefinitionList. +func (in *SetDefinitionList) DeepCopy() *SetDefinitionList { + if in == nil { + return nil + } + out := new(SetDefinitionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SetDefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetDefinitionObservation) DeepCopyInto(out *SetDefinitionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetDefinitionObservation. +func (in *SetDefinitionObservation) DeepCopy() *SetDefinitionObservation { + if in == nil { + return nil + } + out := new(SetDefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetDefinitionParameters) DeepCopyInto(out *SetDefinitionParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.ManagementGroupID != nil { + in, out := &in.ManagementGroupID, &out.ManagementGroupID + *out = new(string) + **out = **in + } + if in.ManagementGroupName != nil { + in, out := &in.ManagementGroupName, &out.ManagementGroupName + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } + if in.PolicyDefinitionGroup != nil { + in, out := &in.PolicyDefinitionGroup, &out.PolicyDefinitionGroup + *out = make([]PolicyDefinitionGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PolicyDefinitionReference != nil { + in, out := &in.PolicyDefinitionReference, &out.PolicyDefinitionReference + *out = make([]PolicyDefinitionReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PolicyDefinitions != nil { + in, out := &in.PolicyDefinitions, &out.PolicyDefinitions + *out = new(string) + **out = **in + } + if in.PolicyType != nil { + in, out := &in.PolicyType, &out.PolicyType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetDefinitionParameters. +func (in *SetDefinitionParameters) DeepCopy() *SetDefinitionParameters { + if in == nil { + return nil + } + out := new(SetDefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetDefinitionSpec) DeepCopyInto(out *SetDefinitionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetDefinitionSpec. +func (in *SetDefinitionSpec) DeepCopy() *SetDefinitionSpec { + if in == nil { + return nil + } + out := new(SetDefinitionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SetDefinitionStatus) DeepCopyInto(out *SetDefinitionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetDefinitionStatus. +func (in *SetDefinitionStatus) DeepCopy() *SetDefinitionStatus { + if in == nil { + return nil + } + out := new(SetDefinitionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineConfigurationAssignment) DeepCopyInto(out *VirtualMachineConfigurationAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineConfigurationAssignment. +func (in *VirtualMachineConfigurationAssignment) DeepCopy() *VirtualMachineConfigurationAssignment { + if in == nil { + return nil + } + out := new(VirtualMachineConfigurationAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineConfigurationAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineConfigurationAssignmentList) DeepCopyInto(out *VirtualMachineConfigurationAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachineConfigurationAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineConfigurationAssignmentList. +func (in *VirtualMachineConfigurationAssignmentList) DeepCopy() *VirtualMachineConfigurationAssignmentList { + if in == nil { + return nil + } + out := new(VirtualMachineConfigurationAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineConfigurationAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineConfigurationAssignmentObservation) DeepCopyInto(out *VirtualMachineConfigurationAssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineConfigurationAssignmentObservation. +func (in *VirtualMachineConfigurationAssignmentObservation) DeepCopy() *VirtualMachineConfigurationAssignmentObservation { + if in == nil { + return nil + } + out := new(VirtualMachineConfigurationAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineConfigurationAssignmentParameters) DeepCopyInto(out *VirtualMachineConfigurationAssignmentParameters) { + *out = *in + if in.Configuration != nil { + in, out := &in.Configuration, &out.Configuration + *out = make([]ConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineConfigurationAssignmentParameters. +func (in *VirtualMachineConfigurationAssignmentParameters) DeepCopy() *VirtualMachineConfigurationAssignmentParameters { + if in == nil { + return nil + } + out := new(VirtualMachineConfigurationAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineConfigurationAssignmentSpec) DeepCopyInto(out *VirtualMachineConfigurationAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineConfigurationAssignmentSpec. +func (in *VirtualMachineConfigurationAssignmentSpec) DeepCopy() *VirtualMachineConfigurationAssignmentSpec { + if in == nil { + return nil + } + out := new(VirtualMachineConfigurationAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineConfigurationAssignmentStatus) DeepCopyInto(out *VirtualMachineConfigurationAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineConfigurationAssignmentStatus. +func (in *VirtualMachineConfigurationAssignmentStatus) DeepCopy() *VirtualMachineConfigurationAssignmentStatus { + if in == nil { + return nil + } + out := new(VirtualMachineConfigurationAssignmentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/policy/v1alpha1/zz_generated.managed.go b/apis/policy/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..19de44b94 --- /dev/null +++ b/apis/policy/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Assignment. +func (mg *Assignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Assignment. +func (mg *Assignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Assignment. +func (mg *Assignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Assignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Assignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Assignment. +func (mg *Assignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Assignment. +func (mg *Assignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Assignment. +func (mg *Assignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Assignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Assignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Definition. +func (mg *Definition) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Definition. +func (mg *Definition) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Definition. +func (mg *Definition) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Definition. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Definition) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Definition. +func (mg *Definition) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Definition. +func (mg *Definition) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Definition. +func (mg *Definition) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Definition. +func (mg *Definition) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Definition. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Definition) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Definition. +func (mg *Definition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Remediation. +func (mg *Remediation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Remediation. +func (mg *Remediation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Remediation. +func (mg *Remediation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Remediation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Remediation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Remediation. +func (mg *Remediation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Remediation. +func (mg *Remediation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Remediation. +func (mg *Remediation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Remediation. +func (mg *Remediation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Remediation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Remediation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Remediation. +func (mg *Remediation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SetDefinition. +func (mg *SetDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SetDefinition. +func (mg *SetDefinition) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SetDefinition. +func (mg *SetDefinition) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SetDefinition. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SetDefinition) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SetDefinition. +func (mg *SetDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SetDefinition. +func (mg *SetDefinition) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SetDefinition. +func (mg *SetDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SetDefinition. +func (mg *SetDefinition) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SetDefinition. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SetDefinition) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SetDefinition. +func (mg *SetDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachineConfigurationAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachineConfigurationAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachineConfigurationAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachineConfigurationAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachineConfigurationAssignment. +func (mg *VirtualMachineConfigurationAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/policy/v1alpha1/zz_generated.managedlist.go b/apis/policy/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..00fc015a5 --- /dev/null +++ b/apis/policy/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssignmentList. +func (l *AssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DefinitionList. +func (l *DefinitionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RemediationList. +func (l *RemediationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SetDefinitionList. +func (l *SetDefinitionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualMachineConfigurationAssignmentList. +func (l *VirtualMachineConfigurationAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/policy/v1alpha1/zz_groupversion_info.go b/apis/policy/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..26f4ea49c --- /dev/null +++ b/apis/policy/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=policy.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "policy.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/policy/v1alpha1/zz_remediation_terraformed.go b/apis/policy/v1alpha1/zz_remediation_terraformed.go new file mode 100755 index 000000000..4ae6020e8 --- /dev/null +++ b/apis/policy/v1alpha1/zz_remediation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Remediation +func (mg *Remediation) GetTerraformResourceType() string { + return "azurerm_policy_remediation" +} + +// GetConnectionDetailsMapping for this Remediation +func (tr *Remediation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Remediation +func (tr *Remediation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Remediation +func (tr *Remediation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Remediation +func (tr *Remediation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Remediation +func (tr *Remediation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Remediation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Remediation) LateInitialize(attrs []byte) (bool, error) { + params := &RemediationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Remediation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/policy/v1alpha1/zz_remediation_types.go b/apis/policy/v1alpha1/zz_remediation_types.go new file mode 100755 index 000000000..daab41198 --- /dev/null +++ b/apis/policy/v1alpha1/zz_remediation_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RemediationObservation struct { +} + +type RemediationParameters struct { + + // +kubebuilder:validation:Optional + LocationFilters []*string `json:"locationFilters,omitempty" tf:"location_filters,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PolicyAssignmentID *string `json:"policyAssignmentId" tf:"policy_assignment_id,omitempty"` + + // +kubebuilder:validation:Optional + PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceId,omitempty" tf:"policy_definition_reference_id,omitempty"` + + // +kubebuilder:validation:Optional + ResourceDiscoveryMode *string `json:"resourceDiscoveryMode,omitempty" tf:"resource_discovery_mode,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` +} + +// RemediationSpec defines the desired state of Remediation +type RemediationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RemediationParameters `json:"forProvider"` +} + +// RemediationStatus defines the observed state of Remediation. +type RemediationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RemediationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Remediation is the Schema for the Remediations API +// +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,azurejet} +type Remediation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RemediationSpec `json:"spec"` + Status RemediationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RemediationList contains a list of Remediations +type RemediationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Remediation `json:"items"` +} + +// Repository type metadata. +var ( + Remediation_Kind = "Remediation" + Remediation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Remediation_Kind}.String() + Remediation_KindAPIVersion = Remediation_Kind + "." + CRDGroupVersion.String() + Remediation_GroupVersionKind = CRDGroupVersion.WithKind(Remediation_Kind) +) + +func init() { + SchemeBuilder.Register(&Remediation{}, &RemediationList{}) +} diff --git a/apis/policy/v1alpha1/zz_setdefinition_terraformed.go b/apis/policy/v1alpha1/zz_setdefinition_terraformed.go new file mode 100755 index 000000000..270f34834 --- /dev/null +++ b/apis/policy/v1alpha1/zz_setdefinition_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SetDefinition +func (mg *SetDefinition) GetTerraformResourceType() string { + return "azurerm_policy_set_definition" +} + +// GetConnectionDetailsMapping for this SetDefinition +func (tr *SetDefinition) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SetDefinition +func (tr *SetDefinition) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SetDefinition +func (tr *SetDefinition) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SetDefinition +func (tr *SetDefinition) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SetDefinition +func (tr *SetDefinition) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SetDefinition using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SetDefinition) LateInitialize(attrs []byte) (bool, error) { + params := &SetDefinitionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SetDefinition) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/policy/v1alpha1/zz_setdefinition_types.go b/apis/policy/v1alpha1/zz_setdefinition_types.go new file mode 100755 index 000000000..2eba41d59 --- /dev/null +++ b/apis/policy/v1alpha1/zz_setdefinition_types.go @@ -0,0 +1,156 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PolicyDefinitionGroupObservation struct { +} + +type PolicyDefinitionGroupParameters struct { + + // +kubebuilder:validation:Optional + AdditionalMetadataResourceID *string `json:"additionalMetadataResourceId,omitempty" tf:"additional_metadata_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Category *string `json:"category,omitempty" tf:"category,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type PolicyDefinitionReferenceObservation struct { +} + +type PolicyDefinitionReferenceParameters struct { + + // +kubebuilder:validation:Optional + ParameterValues *string `json:"parameterValues,omitempty" tf:"parameter_values,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + PolicyDefinitionID *string `json:"policyDefinitionId" tf:"policy_definition_id,omitempty"` + + // +kubebuilder:validation:Optional + PolicyGroupNames []*string `json:"policyGroupNames,omitempty" tf:"policy_group_names,omitempty"` + + // +kubebuilder:validation:Optional + ReferenceID *string `json:"referenceId,omitempty" tf:"reference_id,omitempty"` +} + +type SetDefinitionObservation struct { +} + +type SetDefinitionParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + ManagementGroupID *string `json:"managementGroupId,omitempty" tf:"management_group_id,omitempty"` + + // +kubebuilder:validation:Optional + ManagementGroupName *string `json:"managementGroupName,omitempty" tf:"management_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + PolicyDefinitionGroup []PolicyDefinitionGroupParameters `json:"policyDefinitionGroup,omitempty" tf:"policy_definition_group,omitempty"` + + // +kubebuilder:validation:Optional + PolicyDefinitionReference []PolicyDefinitionReferenceParameters `json:"policyDefinitionReference,omitempty" tf:"policy_definition_reference,omitempty"` + + // +kubebuilder:validation:Optional + PolicyDefinitions *string `json:"policyDefinitions,omitempty" tf:"policy_definitions,omitempty"` + + // +kubebuilder:validation:Required + PolicyType *string `json:"policyType" tf:"policy_type,omitempty"` +} + +// SetDefinitionSpec defines the desired state of SetDefinition +type SetDefinitionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SetDefinitionParameters `json:"forProvider"` +} + +// SetDefinitionStatus defines the observed state of SetDefinition. +type SetDefinitionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SetDefinitionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SetDefinition is the Schema for the SetDefinitions API +// +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,azurejet} +type SetDefinition struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SetDefinitionSpec `json:"spec"` + Status SetDefinitionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SetDefinitionList contains a list of SetDefinitions +type SetDefinitionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SetDefinition `json:"items"` +} + +// Repository type metadata. +var ( + SetDefinition_Kind = "SetDefinition" + SetDefinition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SetDefinition_Kind}.String() + SetDefinition_KindAPIVersion = SetDefinition_Kind + "." + CRDGroupVersion.String() + SetDefinition_GroupVersionKind = CRDGroupVersion.WithKind(SetDefinition_Kind) +) + +func init() { + SchemeBuilder.Register(&SetDefinition{}, &SetDefinitionList{}) +} diff --git a/apis/policy/v1alpha1/zz_virtualmachineconfigurationassignment_terraformed.go b/apis/policy/v1alpha1/zz_virtualmachineconfigurationassignment_terraformed.go new file mode 100755 index 000000000..aee86c3e3 --- /dev/null +++ b/apis/policy/v1alpha1/zz_virtualmachineconfigurationassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachineConfigurationAssignment +func (mg *VirtualMachineConfigurationAssignment) GetTerraformResourceType() string { + return "azurerm_policy_virtual_machine_configuration_assignment" +} + +// GetConnectionDetailsMapping for this VirtualMachineConfigurationAssignment +func (tr *VirtualMachineConfigurationAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this VirtualMachineConfigurationAssignment +func (tr *VirtualMachineConfigurationAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachineConfigurationAssignment +func (tr *VirtualMachineConfigurationAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachineConfigurationAssignment +func (tr *VirtualMachineConfigurationAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachineConfigurationAssignment +func (tr *VirtualMachineConfigurationAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachineConfigurationAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachineConfigurationAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineConfigurationAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachineConfigurationAssignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/policy/v1alpha1/zz_virtualmachineconfigurationassignment_types.go b/apis/policy/v1alpha1/zz_virtualmachineconfigurationassignment_types.go new file mode 100755 index 000000000..85f71b87c --- /dev/null +++ b/apis/policy/v1alpha1/zz_virtualmachineconfigurationassignment_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ConfigurationObservation struct { +} + +type ConfigurationParameters struct { + + // +kubebuilder:validation:Optional + AssignmentType *string `json:"assignmentType,omitempty" tf:"assignment_type,omitempty"` + + // +kubebuilder:validation:Optional + ContentHash *string `json:"contentHash,omitempty" tf:"content_hash,omitempty"` + + // +kubebuilder:validation:Optional + ContentURI *string `json:"contentUri,omitempty" tf:"content_uri,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameter []ParameterParameters `json:"parameter,omitempty" tf:"parameter,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type ParameterObservation struct { +} + +type ParameterParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type VirtualMachineConfigurationAssignmentObservation struct { +} + +type VirtualMachineConfigurationAssignmentParameters struct { + + // +kubebuilder:validation:Required + Configuration []ConfigurationParameters `json:"configuration" tf:"configuration,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + VirtualMachineID *string `json:"virtualMachineId" tf:"virtual_machine_id,omitempty"` +} + +// VirtualMachineConfigurationAssignmentSpec defines the desired state of VirtualMachineConfigurationAssignment +type VirtualMachineConfigurationAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineConfigurationAssignmentParameters `json:"forProvider"` +} + +// VirtualMachineConfigurationAssignmentStatus defines the observed state of VirtualMachineConfigurationAssignment. +type VirtualMachineConfigurationAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineConfigurationAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineConfigurationAssignment is the Schema for the VirtualMachineConfigurationAssignments API +// +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,azurejet} +type VirtualMachineConfigurationAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineConfigurationAssignmentSpec `json:"spec"` + Status VirtualMachineConfigurationAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineConfigurationAssignmentList contains a list of VirtualMachineConfigurationAssignments +type VirtualMachineConfigurationAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachineConfigurationAssignment `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachineConfigurationAssignment_Kind = "VirtualMachineConfigurationAssignment" + VirtualMachineConfigurationAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachineConfigurationAssignment_Kind}.String() + VirtualMachineConfigurationAssignment_KindAPIVersion = VirtualMachineConfigurationAssignment_Kind + "." + CRDGroupVersion.String() + VirtualMachineConfigurationAssignment_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachineConfigurationAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachineConfigurationAssignment{}, &VirtualMachineConfigurationAssignmentList{}) +} diff --git a/apis/portal/v1alpha1/zz_generated.deepcopy.go b/apis/portal/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..b73ed5032 --- /dev/null +++ b/apis/portal/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,153 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantConfiguration) DeepCopyInto(out *TenantConfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantConfiguration. +func (in *TenantConfiguration) DeepCopy() *TenantConfiguration { + if in == nil { + return nil + } + out := new(TenantConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TenantConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantConfigurationList) DeepCopyInto(out *TenantConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TenantConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantConfigurationList. +func (in *TenantConfigurationList) DeepCopy() *TenantConfigurationList { + if in == nil { + return nil + } + out := new(TenantConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TenantConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantConfigurationObservation) DeepCopyInto(out *TenantConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantConfigurationObservation. +func (in *TenantConfigurationObservation) DeepCopy() *TenantConfigurationObservation { + if in == nil { + return nil + } + out := new(TenantConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantConfigurationParameters) DeepCopyInto(out *TenantConfigurationParameters) { + *out = *in + if in.PrivateMarkdownStorageEnforced != nil { + in, out := &in.PrivateMarkdownStorageEnforced, &out.PrivateMarkdownStorageEnforced + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantConfigurationParameters. +func (in *TenantConfigurationParameters) DeepCopy() *TenantConfigurationParameters { + if in == nil { + return nil + } + out := new(TenantConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantConfigurationSpec) DeepCopyInto(out *TenantConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantConfigurationSpec. +func (in *TenantConfigurationSpec) DeepCopy() *TenantConfigurationSpec { + if in == nil { + return nil + } + out := new(TenantConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TenantConfigurationStatus) DeepCopyInto(out *TenantConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantConfigurationStatus. +func (in *TenantConfigurationStatus) DeepCopy() *TenantConfigurationStatus { + if in == nil { + return nil + } + out := new(TenantConfigurationStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/portal/v1alpha1/zz_generated.managed.go b/apis/portal/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..f5de4c89c --- /dev/null +++ b/apis/portal/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this TenantConfiguration. +func (mg *TenantConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TenantConfiguration. +func (mg *TenantConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TenantConfiguration. +func (mg *TenantConfiguration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TenantConfiguration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TenantConfiguration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TenantConfiguration. +func (mg *TenantConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TenantConfiguration. +func (mg *TenantConfiguration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TenantConfiguration. +func (mg *TenantConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TenantConfiguration. +func (mg *TenantConfiguration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TenantConfiguration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TenantConfiguration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TenantConfiguration. +func (mg *TenantConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/portal/v1alpha1/zz_generated.managedlist.go b/apis/portal/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b51fc8eeb --- /dev/null +++ b/apis/portal/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this TenantConfigurationList. +func (l *TenantConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/portal/v1alpha1/zz_groupversion_info.go b/apis/portal/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..a6973ec8a --- /dev/null +++ b/apis/portal/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=portal.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "portal.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/portal/v1alpha1/zz_tenantconfiguration_terraformed.go b/apis/portal/v1alpha1/zz_tenantconfiguration_terraformed.go new file mode 100755 index 000000000..779ed5f94 --- /dev/null +++ b/apis/portal/v1alpha1/zz_tenantconfiguration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TenantConfiguration +func (mg *TenantConfiguration) GetTerraformResourceType() string { + return "azurerm_portal_tenant_configuration" +} + +// GetConnectionDetailsMapping for this TenantConfiguration +func (tr *TenantConfiguration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TenantConfiguration +func (tr *TenantConfiguration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TenantConfiguration +func (tr *TenantConfiguration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TenantConfiguration +func (tr *TenantConfiguration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TenantConfiguration +func (tr *TenantConfiguration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TenantConfiguration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TenantConfiguration) LateInitialize(attrs []byte) (bool, error) { + params := &TenantConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TenantConfiguration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/portal/v1alpha1/zz_tenantconfiguration_types.go b/apis/portal/v1alpha1/zz_tenantconfiguration_types.go new file mode 100755 index 000000000..570ab254e --- /dev/null +++ b/apis/portal/v1alpha1/zz_tenantconfiguration_types.go @@ -0,0 +1,84 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TenantConfigurationObservation struct { +} + +type TenantConfigurationParameters struct { + + // +kubebuilder:validation:Required + PrivateMarkdownStorageEnforced *bool `json:"privateMarkdownStorageEnforced" tf:"private_markdown_storage_enforced,omitempty"` +} + +// TenantConfigurationSpec defines the desired state of TenantConfiguration +type TenantConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TenantConfigurationParameters `json:"forProvider"` +} + +// TenantConfigurationStatus defines the observed state of TenantConfiguration. +type TenantConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TenantConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TenantConfiguration is the Schema for the TenantConfigurations API +// +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,azurejet} +type TenantConfiguration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TenantConfigurationSpec `json:"spec"` + Status TenantConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TenantConfigurationList contains a list of TenantConfigurations +type TenantConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TenantConfiguration `json:"items"` +} + +// Repository type metadata. +var ( + TenantConfiguration_Kind = "TenantConfiguration" + TenantConfiguration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TenantConfiguration_Kind}.String() + TenantConfiguration_KindAPIVersion = TenantConfiguration_Kind + "." + CRDGroupVersion.String() + TenantConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(TenantConfiguration_Kind) +) + +func init() { + SchemeBuilder.Register(&TenantConfiguration{}, &TenantConfigurationList{}) +} diff --git a/apis/powerbi/v1alpha1/zz_embedded_terraformed.go b/apis/powerbi/v1alpha1/zz_embedded_terraformed.go new file mode 100755 index 000000000..83746efee --- /dev/null +++ b/apis/powerbi/v1alpha1/zz_embedded_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Embedded +func (mg *Embedded) GetTerraformResourceType() string { + return "azurerm_powerbi_embedded" +} + +// GetConnectionDetailsMapping for this Embedded +func (tr *Embedded) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Embedded +func (tr *Embedded) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Embedded +func (tr *Embedded) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Embedded +func (tr *Embedded) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Embedded +func (tr *Embedded) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Embedded using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Embedded) LateInitialize(attrs []byte) (bool, error) { + params := &EmbeddedParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Embedded) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/powerbi/v1alpha1/zz_embedded_types.go b/apis/powerbi/v1alpha1/zz_embedded_types.go new file mode 100755 index 000000000..3263e2a30 --- /dev/null +++ b/apis/powerbi/v1alpha1/zz_embedded_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EmbeddedObservation struct { +} + +type EmbeddedParameters struct { + + // +kubebuilder:validation:Required + Administrators []*string `json:"administrators" tf:"administrators,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// EmbeddedSpec defines the desired state of Embedded +type EmbeddedSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EmbeddedParameters `json:"forProvider"` +} + +// EmbeddedStatus defines the observed state of Embedded. +type EmbeddedStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EmbeddedObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Embedded is the Schema for the Embeddeds API +// +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,azurejet} +type Embedded struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EmbeddedSpec `json:"spec"` + Status EmbeddedStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EmbeddedList contains a list of Embeddeds +type EmbeddedList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Embedded `json:"items"` +} + +// Repository type metadata. +var ( + Embedded_Kind = "Embedded" + Embedded_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Embedded_Kind}.String() + Embedded_KindAPIVersion = Embedded_Kind + "." + CRDGroupVersion.String() + Embedded_GroupVersionKind = CRDGroupVersion.WithKind(Embedded_Kind) +) + +func init() { + SchemeBuilder.Register(&Embedded{}, &EmbeddedList{}) +} diff --git a/apis/powerbi/v1alpha1/zz_generated.deepcopy.go b/apis/powerbi/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..40e83f6eb --- /dev/null +++ b/apis/powerbi/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,199 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Embedded) DeepCopyInto(out *Embedded) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Embedded. +func (in *Embedded) DeepCopy() *Embedded { + if in == nil { + return nil + } + out := new(Embedded) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Embedded) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmbeddedList) DeepCopyInto(out *EmbeddedList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Embedded, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedList. +func (in *EmbeddedList) DeepCopy() *EmbeddedList { + if in == nil { + return nil + } + out := new(EmbeddedList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EmbeddedList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmbeddedObservation) DeepCopyInto(out *EmbeddedObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedObservation. +func (in *EmbeddedObservation) DeepCopy() *EmbeddedObservation { + if in == nil { + return nil + } + out := new(EmbeddedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmbeddedParameters) DeepCopyInto(out *EmbeddedParameters) { + *out = *in + if in.Administrators != nil { + in, out := &in.Administrators, &out.Administrators + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedParameters. +func (in *EmbeddedParameters) DeepCopy() *EmbeddedParameters { + if in == nil { + return nil + } + out := new(EmbeddedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmbeddedSpec) DeepCopyInto(out *EmbeddedSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedSpec. +func (in *EmbeddedSpec) DeepCopy() *EmbeddedSpec { + if in == nil { + return nil + } + out := new(EmbeddedSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EmbeddedStatus) DeepCopyInto(out *EmbeddedStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedStatus. +func (in *EmbeddedStatus) DeepCopy() *EmbeddedStatus { + if in == nil { + return nil + } + out := new(EmbeddedStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/powerbi/v1alpha1/zz_generated.managed.go b/apis/powerbi/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..a1e4a3d58 --- /dev/null +++ b/apis/powerbi/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Embedded. +func (mg *Embedded) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Embedded. +func (mg *Embedded) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Embedded. +func (mg *Embedded) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Embedded. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Embedded) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Embedded. +func (mg *Embedded) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Embedded. +func (mg *Embedded) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Embedded. +func (mg *Embedded) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Embedded. +func (mg *Embedded) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Embedded. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Embedded) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Embedded. +func (mg *Embedded) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/powerbi/v1alpha1/zz_generated.managedlist.go b/apis/powerbi/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..d481dfaf1 --- /dev/null +++ b/apis/powerbi/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this EmbeddedList. +func (l *EmbeddedList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/powerbi/v1alpha1/zz_groupversion_info.go b/apis/powerbi/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..a4e73f582 --- /dev/null +++ b/apis/powerbi/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=powerbi.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "powerbi.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/private/v1alpha1/zz_dnsaaaarecord_terraformed.go b/apis/private/v1alpha1/zz_dnsaaaarecord_terraformed.go new file mode 100755 index 000000000..afe4d8798 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsaaaarecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsAaaaRecord +func (mg *DnsAaaaRecord) GetTerraformResourceType() string { + return "azurerm_private_dns_aaaa_record" +} + +// GetConnectionDetailsMapping for this DnsAaaaRecord +func (tr *DnsAaaaRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsAaaaRecord +func (tr *DnsAaaaRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsAaaaRecord +func (tr *DnsAaaaRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsAaaaRecord +func (tr *DnsAaaaRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsAaaaRecord +func (tr *DnsAaaaRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsAaaaRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsAaaaRecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsAaaaRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsAaaaRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnsaaaarecord_types.go b/apis/private/v1alpha1/zz_dnsaaaarecord_types.go new file mode 100755 index 000000000..af92595e2 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsaaaarecord_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsAaaaRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsAaaaRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Records []*string `json:"records" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// DnsAaaaRecordSpec defines the desired state of DnsAaaaRecord +type DnsAaaaRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsAaaaRecordParameters `json:"forProvider"` +} + +// DnsAaaaRecordStatus defines the observed state of DnsAaaaRecord. +type DnsAaaaRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsAaaaRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsAaaaRecord is the Schema for the DnsAaaaRecords API +// +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,azurejet} +type DnsAaaaRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsAaaaRecordSpec `json:"spec"` + Status DnsAaaaRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsAaaaRecordList contains a list of DnsAaaaRecords +type DnsAaaaRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsAaaaRecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsAaaaRecord_Kind = "DnsAaaaRecord" + DnsAaaaRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsAaaaRecord_Kind}.String() + DnsAaaaRecord_KindAPIVersion = DnsAaaaRecord_Kind + "." + CRDGroupVersion.String() + DnsAaaaRecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsAaaaRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsAaaaRecord{}, &DnsAaaaRecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnsarecord_terraformed.go b/apis/private/v1alpha1/zz_dnsarecord_terraformed.go new file mode 100755 index 000000000..b043e5fff --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsarecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsARecord +func (mg *DnsARecord) GetTerraformResourceType() string { + return "azurerm_private_dns_a_record" +} + +// GetConnectionDetailsMapping for this DnsARecord +func (tr *DnsARecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsARecord +func (tr *DnsARecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsARecord +func (tr *DnsARecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsARecord +func (tr *DnsARecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsARecord +func (tr *DnsARecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsARecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsARecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsARecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsARecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnsarecord_types.go b/apis/private/v1alpha1/zz_dnsarecord_types.go new file mode 100755 index 000000000..5bb88e945 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsarecord_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsARecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsARecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Records []*string `json:"records" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// DnsARecordSpec defines the desired state of DnsARecord +type DnsARecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsARecordParameters `json:"forProvider"` +} + +// DnsARecordStatus defines the observed state of DnsARecord. +type DnsARecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsARecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsARecord is the Schema for the DnsARecords API +// +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,azurejet} +type DnsARecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsARecordSpec `json:"spec"` + Status DnsARecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsARecordList contains a list of DnsARecords +type DnsARecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsARecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsARecord_Kind = "DnsARecord" + DnsARecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsARecord_Kind}.String() + DnsARecord_KindAPIVersion = DnsARecord_Kind + "." + CRDGroupVersion.String() + DnsARecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsARecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsARecord{}, &DnsARecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnscnamerecord_terraformed.go b/apis/private/v1alpha1/zz_dnscnamerecord_terraformed.go new file mode 100755 index 000000000..c29b19cc8 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnscnamerecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsCnameRecord +func (mg *DnsCnameRecord) GetTerraformResourceType() string { + return "azurerm_private_dns_cname_record" +} + +// GetConnectionDetailsMapping for this DnsCnameRecord +func (tr *DnsCnameRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsCnameRecord +func (tr *DnsCnameRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsCnameRecord +func (tr *DnsCnameRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsCnameRecord +func (tr *DnsCnameRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsCnameRecord +func (tr *DnsCnameRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsCnameRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsCnameRecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsCnameRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsCnameRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnscnamerecord_types.go b/apis/private/v1alpha1/zz_dnscnamerecord_types.go new file mode 100755 index 000000000..86d4e3300 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnscnamerecord_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsCnameRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsCnameRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record *string `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// DnsCnameRecordSpec defines the desired state of DnsCnameRecord +type DnsCnameRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsCnameRecordParameters `json:"forProvider"` +} + +// DnsCnameRecordStatus defines the observed state of DnsCnameRecord. +type DnsCnameRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsCnameRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsCnameRecord is the Schema for the DnsCnameRecords API +// +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,azurejet} +type DnsCnameRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsCnameRecordSpec `json:"spec"` + Status DnsCnameRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsCnameRecordList contains a list of DnsCnameRecords +type DnsCnameRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsCnameRecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsCnameRecord_Kind = "DnsCnameRecord" + DnsCnameRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsCnameRecord_Kind}.String() + DnsCnameRecord_KindAPIVersion = DnsCnameRecord_Kind + "." + CRDGroupVersion.String() + DnsCnameRecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsCnameRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsCnameRecord{}, &DnsCnameRecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnsmxrecord_terraformed.go b/apis/private/v1alpha1/zz_dnsmxrecord_terraformed.go new file mode 100755 index 000000000..a53b5b780 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsmxrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsMxRecord +func (mg *DnsMxRecord) GetTerraformResourceType() string { + return "azurerm_private_dns_mx_record" +} + +// GetConnectionDetailsMapping for this DnsMxRecord +func (tr *DnsMxRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsMxRecord +func (tr *DnsMxRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsMxRecord +func (tr *DnsMxRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsMxRecord +func (tr *DnsMxRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsMxRecord +func (tr *DnsMxRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsMxRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsMxRecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsMxRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsMxRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnsmxrecord_types.go b/apis/private/v1alpha1/zz_dnsmxrecord_types.go new file mode 100755 index 000000000..d9d27a098 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsmxrecord_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsMxRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsMxRecordParameters struct { + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []RecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type RecordObservation struct { +} + +type RecordParameters struct { + + // +kubebuilder:validation:Required + Exchange *string `json:"exchange" tf:"exchange,omitempty"` + + // +kubebuilder:validation:Required + Preference *int64 `json:"preference" tf:"preference,omitempty"` +} + +// DnsMxRecordSpec defines the desired state of DnsMxRecord +type DnsMxRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsMxRecordParameters `json:"forProvider"` +} + +// DnsMxRecordStatus defines the observed state of DnsMxRecord. +type DnsMxRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsMxRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsMxRecord is the Schema for the DnsMxRecords API +// +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,azurejet} +type DnsMxRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsMxRecordSpec `json:"spec"` + Status DnsMxRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsMxRecordList contains a list of DnsMxRecords +type DnsMxRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsMxRecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsMxRecord_Kind = "DnsMxRecord" + DnsMxRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsMxRecord_Kind}.String() + DnsMxRecord_KindAPIVersion = DnsMxRecord_Kind + "." + CRDGroupVersion.String() + DnsMxRecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsMxRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsMxRecord{}, &DnsMxRecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnsptrrecord_terraformed.go b/apis/private/v1alpha1/zz_dnsptrrecord_terraformed.go new file mode 100755 index 000000000..65b9cf59d --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsptrrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsPtrRecord +func (mg *DnsPtrRecord) GetTerraformResourceType() string { + return "azurerm_private_dns_ptr_record" +} + +// GetConnectionDetailsMapping for this DnsPtrRecord +func (tr *DnsPtrRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsPtrRecord +func (tr *DnsPtrRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsPtrRecord +func (tr *DnsPtrRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsPtrRecord +func (tr *DnsPtrRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsPtrRecord +func (tr *DnsPtrRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsPtrRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsPtrRecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsPtrRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsPtrRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnsptrrecord_types.go b/apis/private/v1alpha1/zz_dnsptrrecord_types.go new file mode 100755 index 000000000..e15c7aff6 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnsptrrecord_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsPtrRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsPtrRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Records []*string `json:"records" tf:"records,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +// DnsPtrRecordSpec defines the desired state of DnsPtrRecord +type DnsPtrRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsPtrRecordParameters `json:"forProvider"` +} + +// DnsPtrRecordStatus defines the observed state of DnsPtrRecord. +type DnsPtrRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsPtrRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsPtrRecord is the Schema for the DnsPtrRecords API +// +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,azurejet} +type DnsPtrRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsPtrRecordSpec `json:"spec"` + Status DnsPtrRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsPtrRecordList contains a list of DnsPtrRecords +type DnsPtrRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsPtrRecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsPtrRecord_Kind = "DnsPtrRecord" + DnsPtrRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsPtrRecord_Kind}.String() + DnsPtrRecord_KindAPIVersion = DnsPtrRecord_Kind + "." + CRDGroupVersion.String() + DnsPtrRecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsPtrRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsPtrRecord{}, &DnsPtrRecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnssrvrecord_terraformed.go b/apis/private/v1alpha1/zz_dnssrvrecord_terraformed.go new file mode 100755 index 000000000..4c6124167 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnssrvrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsSrvRecord +func (mg *DnsSrvRecord) GetTerraformResourceType() string { + return "azurerm_private_dns_srv_record" +} + +// GetConnectionDetailsMapping for this DnsSrvRecord +func (tr *DnsSrvRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsSrvRecord +func (tr *DnsSrvRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsSrvRecord +func (tr *DnsSrvRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsSrvRecord +func (tr *DnsSrvRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsSrvRecord +func (tr *DnsSrvRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsSrvRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsSrvRecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsSrvRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsSrvRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnssrvrecord_types.go b/apis/private/v1alpha1/zz_dnssrvrecord_types.go new file mode 100755 index 000000000..1d24179e9 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnssrvrecord_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsSrvRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsSrvRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []DnsSrvRecordRecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type DnsSrvRecordRecordObservation struct { +} + +type DnsSrvRecordRecordParameters struct { + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + Target *string `json:"target" tf:"target,omitempty"` + + // +kubebuilder:validation:Required + Weight *int64 `json:"weight" tf:"weight,omitempty"` +} + +// DnsSrvRecordSpec defines the desired state of DnsSrvRecord +type DnsSrvRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsSrvRecordParameters `json:"forProvider"` +} + +// DnsSrvRecordStatus defines the observed state of DnsSrvRecord. +type DnsSrvRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsSrvRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsSrvRecord is the Schema for the DnsSrvRecords API +// +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,azurejet} +type DnsSrvRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsSrvRecordSpec `json:"spec"` + Status DnsSrvRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsSrvRecordList contains a list of DnsSrvRecords +type DnsSrvRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsSrvRecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsSrvRecord_Kind = "DnsSrvRecord" + DnsSrvRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsSrvRecord_Kind}.String() + DnsSrvRecord_KindAPIVersion = DnsSrvRecord_Kind + "." + CRDGroupVersion.String() + DnsSrvRecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsSrvRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsSrvRecord{}, &DnsSrvRecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnstxtrecord_terraformed.go b/apis/private/v1alpha1/zz_dnstxtrecord_terraformed.go new file mode 100755 index 000000000..274e76ebd --- /dev/null +++ b/apis/private/v1alpha1/zz_dnstxtrecord_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsTxtRecord +func (mg *DnsTxtRecord) GetTerraformResourceType() string { + return "azurerm_private_dns_txt_record" +} + +// GetConnectionDetailsMapping for this DnsTxtRecord +func (tr *DnsTxtRecord) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsTxtRecord +func (tr *DnsTxtRecord) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsTxtRecord +func (tr *DnsTxtRecord) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsTxtRecord +func (tr *DnsTxtRecord) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsTxtRecord +func (tr *DnsTxtRecord) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsTxtRecord using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsTxtRecord) LateInitialize(attrs []byte) (bool, error) { + params := &DnsTxtRecordParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsTxtRecord) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnstxtrecord_types.go b/apis/private/v1alpha1/zz_dnstxtrecord_types.go new file mode 100755 index 000000000..d5ad40a1e --- /dev/null +++ b/apis/private/v1alpha1/zz_dnstxtrecord_types.go @@ -0,0 +1,109 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsTxtRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type DnsTxtRecordParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Record []DnsTxtRecordRecordParameters `json:"record" tf:"record,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + ZoneName *string `json:"zoneName" tf:"zone_name,omitempty"` +} + +type DnsTxtRecordRecordObservation struct { +} + +type DnsTxtRecordRecordParameters struct { + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// DnsTxtRecordSpec defines the desired state of DnsTxtRecord +type DnsTxtRecordSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsTxtRecordParameters `json:"forProvider"` +} + +// DnsTxtRecordStatus defines the observed state of DnsTxtRecord. +type DnsTxtRecordStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsTxtRecordObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsTxtRecord is the Schema for the DnsTxtRecords API +// +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,azurejet} +type DnsTxtRecord struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsTxtRecordSpec `json:"spec"` + Status DnsTxtRecordStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsTxtRecordList contains a list of DnsTxtRecords +type DnsTxtRecordList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsTxtRecord `json:"items"` +} + +// Repository type metadata. +var ( + DnsTxtRecord_Kind = "DnsTxtRecord" + DnsTxtRecord_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsTxtRecord_Kind}.String() + DnsTxtRecord_KindAPIVersion = DnsTxtRecord_Kind + "." + CRDGroupVersion.String() + DnsTxtRecord_GroupVersionKind = CRDGroupVersion.WithKind(DnsTxtRecord_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsTxtRecord{}, &DnsTxtRecordList{}) +} diff --git a/apis/private/v1alpha1/zz_dnszone_terraformed.go b/apis/private/v1alpha1/zz_dnszone_terraformed.go new file mode 100755 index 000000000..a0f2f0cd6 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnszone_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsZone +func (mg *DnsZone) GetTerraformResourceType() string { + return "azurerm_private_dns_zone" +} + +// GetConnectionDetailsMapping for this DnsZone +func (tr *DnsZone) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsZone +func (tr *DnsZone) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsZone +func (tr *DnsZone) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsZone +func (tr *DnsZone) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsZone +func (tr *DnsZone) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsZone using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsZone) LateInitialize(attrs []byte) (bool, error) { + params := &DnsZoneParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsZone) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnszone_types.go b/apis/private/v1alpha1/zz_dnszone_types.go new file mode 100755 index 000000000..7c2daf547 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnszone_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsZoneObservation struct { + MaxNumberOfRecordSets *int64 `json:"maxNumberOfRecordSets,omitempty" tf:"max_number_of_record_sets,omitempty"` + + MaxNumberOfVirtualNetworkLinks *int64 `json:"maxNumberOfVirtualNetworkLinks,omitempty" tf:"max_number_of_virtual_network_links,omitempty"` + + MaxNumberOfVirtualNetworkLinksWithRegistration *int64 `json:"maxNumberOfVirtualNetworkLinksWithRegistration,omitempty" tf:"max_number_of_virtual_network_links_with_registration,omitempty"` + + NumberOfRecordSets *int64 `json:"numberOfRecordSets,omitempty" tf:"number_of_record_sets,omitempty"` +} + +type DnsZoneParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SoaRecord []SoaRecordParameters `json:"soaRecord,omitempty" tf:"soa_record,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type SoaRecordObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"` + + SerialNumber *int64 `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` +} + +type SoaRecordParameters struct { + + // +kubebuilder:validation:Required + Email *string `json:"email" tf:"email,omitempty"` + + // +kubebuilder:validation:Optional + ExpireTime *int64 `json:"expireTime,omitempty" tf:"expire_time,omitempty"` + + // +kubebuilder:validation:Optional + MinimumTTL *int64 `json:"minimumTtl,omitempty" tf:"minimum_ttl,omitempty"` + + // +kubebuilder:validation:Optional + RefreshTime *int64 `json:"refreshTime,omitempty" tf:"refresh_time,omitempty"` + + // +kubebuilder:validation:Optional + RetryTime *int64 `json:"retryTime,omitempty" tf:"retry_time,omitempty"` + + // +kubebuilder:validation:Optional + TTL *int64 `json:"ttl,omitempty" tf:"ttl,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// DnsZoneSpec defines the desired state of DnsZone +type DnsZoneSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsZoneParameters `json:"forProvider"` +} + +// DnsZoneStatus defines the observed state of DnsZone. +type DnsZoneStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsZoneObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsZone is the Schema for the DnsZones API +// +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,azurejet} +type DnsZone struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsZoneSpec `json:"spec"` + Status DnsZoneStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsZoneList contains a list of DnsZones +type DnsZoneList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsZone `json:"items"` +} + +// Repository type metadata. +var ( + DnsZone_Kind = "DnsZone" + DnsZone_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsZone_Kind}.String() + DnsZone_KindAPIVersion = DnsZone_Kind + "." + CRDGroupVersion.String() + DnsZone_GroupVersionKind = CRDGroupVersion.WithKind(DnsZone_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsZone{}, &DnsZoneList{}) +} diff --git a/apis/private/v1alpha1/zz_dnszonevirtualnetworklink_terraformed.go b/apis/private/v1alpha1/zz_dnszonevirtualnetworklink_terraformed.go new file mode 100755 index 000000000..5aaba47e7 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnszonevirtualnetworklink_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DnsZoneVirtualNetworkLink +func (mg *DnsZoneVirtualNetworkLink) GetTerraformResourceType() string { + return "azurerm_private_dns_zone_virtual_network_link" +} + +// GetConnectionDetailsMapping for this DnsZoneVirtualNetworkLink +func (tr *DnsZoneVirtualNetworkLink) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DnsZoneVirtualNetworkLink +func (tr *DnsZoneVirtualNetworkLink) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DnsZoneVirtualNetworkLink +func (tr *DnsZoneVirtualNetworkLink) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DnsZoneVirtualNetworkLink +func (tr *DnsZoneVirtualNetworkLink) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DnsZoneVirtualNetworkLink +func (tr *DnsZoneVirtualNetworkLink) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DnsZoneVirtualNetworkLink using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DnsZoneVirtualNetworkLink) LateInitialize(attrs []byte) (bool, error) { + params := &DnsZoneVirtualNetworkLinkParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DnsZoneVirtualNetworkLink) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_dnszonevirtualnetworklink_types.go b/apis/private/v1alpha1/zz_dnszonevirtualnetworklink_types.go new file mode 100755 index 000000000..c4cbe5862 --- /dev/null +++ b/apis/private/v1alpha1/zz_dnszonevirtualnetworklink_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DnsZoneVirtualNetworkLinkObservation struct { +} + +type DnsZoneVirtualNetworkLinkParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrivateDNSZoneName *string `json:"privateDnsZoneName" tf:"private_dns_zone_name,omitempty"` + + // +kubebuilder:validation:Optional + RegistrationEnabled *bool `json:"registrationEnabled,omitempty" tf:"registration_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualNetworkID *string `json:"virtualNetworkId" tf:"virtual_network_id,omitempty"` +} + +// DnsZoneVirtualNetworkLinkSpec defines the desired state of DnsZoneVirtualNetworkLink +type DnsZoneVirtualNetworkLinkSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DnsZoneVirtualNetworkLinkParameters `json:"forProvider"` +} + +// DnsZoneVirtualNetworkLinkStatus defines the observed state of DnsZoneVirtualNetworkLink. +type DnsZoneVirtualNetworkLinkStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DnsZoneVirtualNetworkLinkObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsZoneVirtualNetworkLink is the Schema for the DnsZoneVirtualNetworkLinks API +// +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,azurejet} +type DnsZoneVirtualNetworkLink struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DnsZoneVirtualNetworkLinkSpec `json:"spec"` + Status DnsZoneVirtualNetworkLinkStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DnsZoneVirtualNetworkLinkList contains a list of DnsZoneVirtualNetworkLinks +type DnsZoneVirtualNetworkLinkList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DnsZoneVirtualNetworkLink `json:"items"` +} + +// Repository type metadata. +var ( + DnsZoneVirtualNetworkLink_Kind = "DnsZoneVirtualNetworkLink" + DnsZoneVirtualNetworkLink_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DnsZoneVirtualNetworkLink_Kind}.String() + DnsZoneVirtualNetworkLink_KindAPIVersion = DnsZoneVirtualNetworkLink_Kind + "." + CRDGroupVersion.String() + DnsZoneVirtualNetworkLink_GroupVersionKind = CRDGroupVersion.WithKind(DnsZoneVirtualNetworkLink_Kind) +) + +func init() { + SchemeBuilder.Register(&DnsZoneVirtualNetworkLink{}, &DnsZoneVirtualNetworkLinkList{}) +} diff --git a/apis/private/v1alpha1/zz_endpoint_terraformed.go b/apis/private/v1alpha1/zz_endpoint_terraformed.go new file mode 100755 index 000000000..c60da28f1 --- /dev/null +++ b/apis/private/v1alpha1/zz_endpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Endpoint +func (mg *Endpoint) GetTerraformResourceType() string { + return "azurerm_private_endpoint" +} + +// GetConnectionDetailsMapping for this Endpoint +func (tr *Endpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Endpoint +func (tr *Endpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Endpoint +func (tr *Endpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Endpoint +func (tr *Endpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Endpoint +func (tr *Endpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Endpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Endpoint) LateInitialize(attrs []byte) (bool, error) { + params := &EndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Endpoint) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_endpoint_types.go b/apis/private/v1alpha1/zz_endpoint_types.go new file mode 100755 index 000000000..a5bc00e60 --- /dev/null +++ b/apis/private/v1alpha1/zz_endpoint_types.go @@ -0,0 +1,191 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CustomDNSConfigsObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` +} + +type CustomDNSConfigsParameters struct { +} + +type EndpointObservation struct { + CustomDNSConfigs []CustomDNSConfigsObservation `json:"customDnsConfigs,omitempty" tf:"custom_dns_configs,omitempty"` + + NetworkInterface []NetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"` + + PrivateDNSZoneConfigs []PrivateDNSZoneConfigsObservation `json:"privateDnsZoneConfigs,omitempty" tf:"private_dns_zone_configs,omitempty"` +} + +type EndpointParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateDNSZoneGroup []PrivateDNSZoneGroupParameters `json:"privateDnsZoneGroup,omitempty" tf:"private_dns_zone_group,omitempty"` + + // +kubebuilder:validation:Required + PrivateServiceConnection []PrivateServiceConnectionParameters `json:"privateServiceConnection" tf:"private_service_connection,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type NetworkInterfaceObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type NetworkInterfaceParameters struct { +} + +type PrivateDNSZoneConfigsObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + PrivateDNSZoneID *string `json:"privateDnsZoneId,omitempty" tf:"private_dns_zone_id,omitempty"` + + RecordSets []RecordSetsObservation `json:"recordSets,omitempty" tf:"record_sets,omitempty"` +} + +type PrivateDNSZoneConfigsParameters struct { +} + +type PrivateDNSZoneGroupObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type PrivateDNSZoneGroupParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrivateDNSZoneIds []*string `json:"privateDnsZoneIds" tf:"private_dns_zone_ids,omitempty"` +} + +type PrivateServiceConnectionObservation struct { + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` +} + +type PrivateServiceConnectionParameters struct { + + // +kubebuilder:validation:Required + IsManualConnection *bool `json:"isManualConnection" tf:"is_manual_connection,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrivateConnectionResourceAlias *string `json:"privateConnectionResourceAlias,omitempty" tf:"private_connection_resource_alias,omitempty"` + + // +kubebuilder:validation:Optional + PrivateConnectionResourceID *string `json:"privateConnectionResourceId,omitempty" tf:"private_connection_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + RequestMessage *string `json:"requestMessage,omitempty" tf:"request_message,omitempty"` + + // +kubebuilder:validation:Optional + SubresourceNames []*string `json:"subresourceNames,omitempty" tf:"subresource_names,omitempty"` +} + +type RecordSetsObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` + + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + TTL *int64 `json:"ttl,omitempty" tf:"ttl,omitempty"` + + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type RecordSetsParameters struct { +} + +// EndpointSpec defines the desired state of Endpoint +type EndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EndpointParameters `json:"forProvider"` +} + +// EndpointStatus defines the observed state of Endpoint. +type EndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Endpoint is the Schema for the Endpoints API +// +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,azurejet} +type Endpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EndpointSpec `json:"spec"` + Status EndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EndpointList contains a list of Endpoints +type EndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Endpoint `json:"items"` +} + +// Repository type metadata. +var ( + Endpoint_Kind = "Endpoint" + Endpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Endpoint_Kind}.String() + Endpoint_KindAPIVersion = Endpoint_Kind + "." + CRDGroupVersion.String() + Endpoint_GroupVersionKind = CRDGroupVersion.WithKind(Endpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&Endpoint{}, &EndpointList{}) +} diff --git a/apis/private/v1alpha1/zz_generated.deepcopy.go b/apis/private/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..eb62d0de5 --- /dev/null +++ b/apis/private/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2550 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomDNSConfigsObservation) DeepCopyInto(out *CustomDNSConfigsObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.IPAddresses != nil { + in, out := &in.IPAddresses, &out.IPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDNSConfigsObservation. +func (in *CustomDNSConfigsObservation) DeepCopy() *CustomDNSConfigsObservation { + if in == nil { + return nil + } + out := new(CustomDNSConfigsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomDNSConfigsParameters) DeepCopyInto(out *CustomDNSConfigsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDNSConfigsParameters. +func (in *CustomDNSConfigsParameters) DeepCopy() *CustomDNSConfigsParameters { + if in == nil { + return nil + } + out := new(CustomDNSConfigsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsARecord) DeepCopyInto(out *DnsARecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsARecord. +func (in *DnsARecord) DeepCopy() *DnsARecord { + if in == nil { + return nil + } + out := new(DnsARecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsARecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsARecordList) DeepCopyInto(out *DnsARecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsARecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsARecordList. +func (in *DnsARecordList) DeepCopy() *DnsARecordList { + if in == nil { + return nil + } + out := new(DnsARecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsARecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsARecordObservation) DeepCopyInto(out *DnsARecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsARecordObservation. +func (in *DnsARecordObservation) DeepCopy() *DnsARecordObservation { + if in == nil { + return nil + } + out := new(DnsARecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsARecordParameters) DeepCopyInto(out *DnsARecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsARecordParameters. +func (in *DnsARecordParameters) DeepCopy() *DnsARecordParameters { + if in == nil { + return nil + } + out := new(DnsARecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsARecordSpec) DeepCopyInto(out *DnsARecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsARecordSpec. +func (in *DnsARecordSpec) DeepCopy() *DnsARecordSpec { + if in == nil { + return nil + } + out := new(DnsARecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsARecordStatus) DeepCopyInto(out *DnsARecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsARecordStatus. +func (in *DnsARecordStatus) DeepCopy() *DnsARecordStatus { + if in == nil { + return nil + } + out := new(DnsARecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsAaaaRecord) DeepCopyInto(out *DnsAaaaRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsAaaaRecord. +func (in *DnsAaaaRecord) DeepCopy() *DnsAaaaRecord { + if in == nil { + return nil + } + out := new(DnsAaaaRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsAaaaRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsAaaaRecordList) DeepCopyInto(out *DnsAaaaRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsAaaaRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsAaaaRecordList. +func (in *DnsAaaaRecordList) DeepCopy() *DnsAaaaRecordList { + if in == nil { + return nil + } + out := new(DnsAaaaRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsAaaaRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsAaaaRecordObservation) DeepCopyInto(out *DnsAaaaRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsAaaaRecordObservation. +func (in *DnsAaaaRecordObservation) DeepCopy() *DnsAaaaRecordObservation { + if in == nil { + return nil + } + out := new(DnsAaaaRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsAaaaRecordParameters) DeepCopyInto(out *DnsAaaaRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsAaaaRecordParameters. +func (in *DnsAaaaRecordParameters) DeepCopy() *DnsAaaaRecordParameters { + if in == nil { + return nil + } + out := new(DnsAaaaRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsAaaaRecordSpec) DeepCopyInto(out *DnsAaaaRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsAaaaRecordSpec. +func (in *DnsAaaaRecordSpec) DeepCopy() *DnsAaaaRecordSpec { + if in == nil { + return nil + } + out := new(DnsAaaaRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsAaaaRecordStatus) DeepCopyInto(out *DnsAaaaRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsAaaaRecordStatus. +func (in *DnsAaaaRecordStatus) DeepCopy() *DnsAaaaRecordStatus { + if in == nil { + return nil + } + out := new(DnsAaaaRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsCnameRecord) DeepCopyInto(out *DnsCnameRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsCnameRecord. +func (in *DnsCnameRecord) DeepCopy() *DnsCnameRecord { + if in == nil { + return nil + } + out := new(DnsCnameRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsCnameRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsCnameRecordList) DeepCopyInto(out *DnsCnameRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsCnameRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsCnameRecordList. +func (in *DnsCnameRecordList) DeepCopy() *DnsCnameRecordList { + if in == nil { + return nil + } + out := new(DnsCnameRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsCnameRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsCnameRecordObservation) DeepCopyInto(out *DnsCnameRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsCnameRecordObservation. +func (in *DnsCnameRecordObservation) DeepCopy() *DnsCnameRecordObservation { + if in == nil { + return nil + } + out := new(DnsCnameRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsCnameRecordParameters) DeepCopyInto(out *DnsCnameRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsCnameRecordParameters. +func (in *DnsCnameRecordParameters) DeepCopy() *DnsCnameRecordParameters { + if in == nil { + return nil + } + out := new(DnsCnameRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsCnameRecordSpec) DeepCopyInto(out *DnsCnameRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsCnameRecordSpec. +func (in *DnsCnameRecordSpec) DeepCopy() *DnsCnameRecordSpec { + if in == nil { + return nil + } + out := new(DnsCnameRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsCnameRecordStatus) DeepCopyInto(out *DnsCnameRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsCnameRecordStatus. +func (in *DnsCnameRecordStatus) DeepCopy() *DnsCnameRecordStatus { + if in == nil { + return nil + } + out := new(DnsCnameRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsMxRecord) DeepCopyInto(out *DnsMxRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsMxRecord. +func (in *DnsMxRecord) DeepCopy() *DnsMxRecord { + if in == nil { + return nil + } + out := new(DnsMxRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsMxRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsMxRecordList) DeepCopyInto(out *DnsMxRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsMxRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsMxRecordList. +func (in *DnsMxRecordList) DeepCopy() *DnsMxRecordList { + if in == nil { + return nil + } + out := new(DnsMxRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsMxRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsMxRecordObservation) DeepCopyInto(out *DnsMxRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsMxRecordObservation. +func (in *DnsMxRecordObservation) DeepCopy() *DnsMxRecordObservation { + if in == nil { + return nil + } + out := new(DnsMxRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsMxRecordParameters) DeepCopyInto(out *DnsMxRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]RecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsMxRecordParameters. +func (in *DnsMxRecordParameters) DeepCopy() *DnsMxRecordParameters { + if in == nil { + return nil + } + out := new(DnsMxRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsMxRecordSpec) DeepCopyInto(out *DnsMxRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsMxRecordSpec. +func (in *DnsMxRecordSpec) DeepCopy() *DnsMxRecordSpec { + if in == nil { + return nil + } + out := new(DnsMxRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsMxRecordStatus) DeepCopyInto(out *DnsMxRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsMxRecordStatus. +func (in *DnsMxRecordStatus) DeepCopy() *DnsMxRecordStatus { + if in == nil { + return nil + } + out := new(DnsMxRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsPtrRecord) DeepCopyInto(out *DnsPtrRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsPtrRecord. +func (in *DnsPtrRecord) DeepCopy() *DnsPtrRecord { + if in == nil { + return nil + } + out := new(DnsPtrRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsPtrRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsPtrRecordList) DeepCopyInto(out *DnsPtrRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsPtrRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsPtrRecordList. +func (in *DnsPtrRecordList) DeepCopy() *DnsPtrRecordList { + if in == nil { + return nil + } + out := new(DnsPtrRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsPtrRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsPtrRecordObservation) DeepCopyInto(out *DnsPtrRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsPtrRecordObservation. +func (in *DnsPtrRecordObservation) DeepCopy() *DnsPtrRecordObservation { + if in == nil { + return nil + } + out := new(DnsPtrRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsPtrRecordParameters) DeepCopyInto(out *DnsPtrRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Records != nil { + in, out := &in.Records, &out.Records + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsPtrRecordParameters. +func (in *DnsPtrRecordParameters) DeepCopy() *DnsPtrRecordParameters { + if in == nil { + return nil + } + out := new(DnsPtrRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsPtrRecordSpec) DeepCopyInto(out *DnsPtrRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsPtrRecordSpec. +func (in *DnsPtrRecordSpec) DeepCopy() *DnsPtrRecordSpec { + if in == nil { + return nil + } + out := new(DnsPtrRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsPtrRecordStatus) DeepCopyInto(out *DnsPtrRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsPtrRecordStatus. +func (in *DnsPtrRecordStatus) DeepCopy() *DnsPtrRecordStatus { + if in == nil { + return nil + } + out := new(DnsPtrRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecord) DeepCopyInto(out *DnsSrvRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecord. +func (in *DnsSrvRecord) DeepCopy() *DnsSrvRecord { + if in == nil { + return nil + } + out := new(DnsSrvRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsSrvRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordList) DeepCopyInto(out *DnsSrvRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsSrvRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordList. +func (in *DnsSrvRecordList) DeepCopy() *DnsSrvRecordList { + if in == nil { + return nil + } + out := new(DnsSrvRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsSrvRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordObservation) DeepCopyInto(out *DnsSrvRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordObservation. +func (in *DnsSrvRecordObservation) DeepCopy() *DnsSrvRecordObservation { + if in == nil { + return nil + } + out := new(DnsSrvRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordParameters) DeepCopyInto(out *DnsSrvRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]DnsSrvRecordRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordParameters. +func (in *DnsSrvRecordParameters) DeepCopy() *DnsSrvRecordParameters { + if in == nil { + return nil + } + out := new(DnsSrvRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordRecordObservation) DeepCopyInto(out *DnsSrvRecordRecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordRecordObservation. +func (in *DnsSrvRecordRecordObservation) DeepCopy() *DnsSrvRecordRecordObservation { + if in == nil { + return nil + } + out := new(DnsSrvRecordRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordRecordParameters) DeepCopyInto(out *DnsSrvRecordRecordParameters) { + *out = *in + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.Target != nil { + in, out := &in.Target, &out.Target + *out = new(string) + **out = **in + } + if in.Weight != nil { + in, out := &in.Weight, &out.Weight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordRecordParameters. +func (in *DnsSrvRecordRecordParameters) DeepCopy() *DnsSrvRecordRecordParameters { + if in == nil { + return nil + } + out := new(DnsSrvRecordRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordSpec) DeepCopyInto(out *DnsSrvRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordSpec. +func (in *DnsSrvRecordSpec) DeepCopy() *DnsSrvRecordSpec { + if in == nil { + return nil + } + out := new(DnsSrvRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsSrvRecordStatus) DeepCopyInto(out *DnsSrvRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSrvRecordStatus. +func (in *DnsSrvRecordStatus) DeepCopy() *DnsSrvRecordStatus { + if in == nil { + return nil + } + out := new(DnsSrvRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecord) DeepCopyInto(out *DnsTxtRecord) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecord. +func (in *DnsTxtRecord) DeepCopy() *DnsTxtRecord { + if in == nil { + return nil + } + out := new(DnsTxtRecord) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsTxtRecord) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordList) DeepCopyInto(out *DnsTxtRecordList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsTxtRecord, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordList. +func (in *DnsTxtRecordList) DeepCopy() *DnsTxtRecordList { + if in == nil { + return nil + } + out := new(DnsTxtRecordList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsTxtRecordList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordObservation) DeepCopyInto(out *DnsTxtRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordObservation. +func (in *DnsTxtRecordObservation) DeepCopy() *DnsTxtRecordObservation { + if in == nil { + return nil + } + out := new(DnsTxtRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordParameters) DeepCopyInto(out *DnsTxtRecordParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Record != nil { + in, out := &in.Record, &out.Record + *out = make([]DnsTxtRecordRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneName != nil { + in, out := &in.ZoneName, &out.ZoneName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordParameters. +func (in *DnsTxtRecordParameters) DeepCopy() *DnsTxtRecordParameters { + if in == nil { + return nil + } + out := new(DnsTxtRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordRecordObservation) DeepCopyInto(out *DnsTxtRecordRecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordRecordObservation. +func (in *DnsTxtRecordRecordObservation) DeepCopy() *DnsTxtRecordRecordObservation { + if in == nil { + return nil + } + out := new(DnsTxtRecordRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordRecordParameters) DeepCopyInto(out *DnsTxtRecordRecordParameters) { + *out = *in + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordRecordParameters. +func (in *DnsTxtRecordRecordParameters) DeepCopy() *DnsTxtRecordRecordParameters { + if in == nil { + return nil + } + out := new(DnsTxtRecordRecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordSpec) DeepCopyInto(out *DnsTxtRecordSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordSpec. +func (in *DnsTxtRecordSpec) DeepCopy() *DnsTxtRecordSpec { + if in == nil { + return nil + } + out := new(DnsTxtRecordSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsTxtRecordStatus) DeepCopyInto(out *DnsTxtRecordStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsTxtRecordStatus. +func (in *DnsTxtRecordStatus) DeepCopy() *DnsTxtRecordStatus { + if in == nil { + return nil + } + out := new(DnsTxtRecordStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZone) DeepCopyInto(out *DnsZone) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZone. +func (in *DnsZone) DeepCopy() *DnsZone { + if in == nil { + return nil + } + out := new(DnsZone) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsZone) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneList) DeepCopyInto(out *DnsZoneList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsZone, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneList. +func (in *DnsZoneList) DeepCopy() *DnsZoneList { + if in == nil { + return nil + } + out := new(DnsZoneList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsZoneList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneObservation) DeepCopyInto(out *DnsZoneObservation) { + *out = *in + if in.MaxNumberOfRecordSets != nil { + in, out := &in.MaxNumberOfRecordSets, &out.MaxNumberOfRecordSets + *out = new(int64) + **out = **in + } + if in.MaxNumberOfVirtualNetworkLinks != nil { + in, out := &in.MaxNumberOfVirtualNetworkLinks, &out.MaxNumberOfVirtualNetworkLinks + *out = new(int64) + **out = **in + } + if in.MaxNumberOfVirtualNetworkLinksWithRegistration != nil { + in, out := &in.MaxNumberOfVirtualNetworkLinksWithRegistration, &out.MaxNumberOfVirtualNetworkLinksWithRegistration + *out = new(int64) + **out = **in + } + if in.NumberOfRecordSets != nil { + in, out := &in.NumberOfRecordSets, &out.NumberOfRecordSets + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneObservation. +func (in *DnsZoneObservation) DeepCopy() *DnsZoneObservation { + if in == nil { + return nil + } + out := new(DnsZoneObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneParameters) DeepCopyInto(out *DnsZoneParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SoaRecord != nil { + in, out := &in.SoaRecord, &out.SoaRecord + *out = make([]SoaRecordParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneParameters. +func (in *DnsZoneParameters) DeepCopy() *DnsZoneParameters { + if in == nil { + return nil + } + out := new(DnsZoneParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneSpec) DeepCopyInto(out *DnsZoneSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneSpec. +func (in *DnsZoneSpec) DeepCopy() *DnsZoneSpec { + if in == nil { + return nil + } + out := new(DnsZoneSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneStatus) DeepCopyInto(out *DnsZoneStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneStatus. +func (in *DnsZoneStatus) DeepCopy() *DnsZoneStatus { + if in == nil { + return nil + } + out := new(DnsZoneStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneVirtualNetworkLink) DeepCopyInto(out *DnsZoneVirtualNetworkLink) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneVirtualNetworkLink. +func (in *DnsZoneVirtualNetworkLink) DeepCopy() *DnsZoneVirtualNetworkLink { + if in == nil { + return nil + } + out := new(DnsZoneVirtualNetworkLink) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsZoneVirtualNetworkLink) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneVirtualNetworkLinkList) DeepCopyInto(out *DnsZoneVirtualNetworkLinkList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DnsZoneVirtualNetworkLink, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneVirtualNetworkLinkList. +func (in *DnsZoneVirtualNetworkLinkList) DeepCopy() *DnsZoneVirtualNetworkLinkList { + if in == nil { + return nil + } + out := new(DnsZoneVirtualNetworkLinkList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DnsZoneVirtualNetworkLinkList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneVirtualNetworkLinkObservation) DeepCopyInto(out *DnsZoneVirtualNetworkLinkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneVirtualNetworkLinkObservation. +func (in *DnsZoneVirtualNetworkLinkObservation) DeepCopy() *DnsZoneVirtualNetworkLinkObservation { + if in == nil { + return nil + } + out := new(DnsZoneVirtualNetworkLinkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneVirtualNetworkLinkParameters) DeepCopyInto(out *DnsZoneVirtualNetworkLinkParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateDNSZoneName != nil { + in, out := &in.PrivateDNSZoneName, &out.PrivateDNSZoneName + *out = new(string) + **out = **in + } + if in.RegistrationEnabled != nil { + in, out := &in.RegistrationEnabled, &out.RegistrationEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualNetworkID != nil { + in, out := &in.VirtualNetworkID, &out.VirtualNetworkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneVirtualNetworkLinkParameters. +func (in *DnsZoneVirtualNetworkLinkParameters) DeepCopy() *DnsZoneVirtualNetworkLinkParameters { + if in == nil { + return nil + } + out := new(DnsZoneVirtualNetworkLinkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneVirtualNetworkLinkSpec) DeepCopyInto(out *DnsZoneVirtualNetworkLinkSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneVirtualNetworkLinkSpec. +func (in *DnsZoneVirtualNetworkLinkSpec) DeepCopy() *DnsZoneVirtualNetworkLinkSpec { + if in == nil { + return nil + } + out := new(DnsZoneVirtualNetworkLinkSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DnsZoneVirtualNetworkLinkStatus) DeepCopyInto(out *DnsZoneVirtualNetworkLinkStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsZoneVirtualNetworkLinkStatus. +func (in *DnsZoneVirtualNetworkLinkStatus) DeepCopy() *DnsZoneVirtualNetworkLinkStatus { + if in == nil { + return nil + } + out := new(DnsZoneVirtualNetworkLinkStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Endpoint) DeepCopyInto(out *Endpoint) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. +func (in *Endpoint) DeepCopy() *Endpoint { + if in == nil { + return nil + } + out := new(Endpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Endpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointList) DeepCopyInto(out *EndpointList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Endpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList. +func (in *EndpointList) DeepCopy() *EndpointList { + if in == nil { + return nil + } + out := new(EndpointList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { + *out = *in + if in.CustomDNSConfigs != nil { + in, out := &in.CustomDNSConfigs, &out.CustomDNSConfigs + *out = make([]CustomDNSConfigsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = make([]NetworkInterfaceObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrivateDNSZoneConfigs != nil { + in, out := &in.PrivateDNSZoneConfigs, &out.PrivateDNSZoneConfigs + *out = make([]PrivateDNSZoneConfigsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointObservation. +func (in *EndpointObservation) DeepCopy() *EndpointObservation { + if in == nil { + return nil + } + out := new(EndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateDNSZoneGroup != nil { + in, out := &in.PrivateDNSZoneGroup, &out.PrivateDNSZoneGroup + *out = make([]PrivateDNSZoneGroupParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrivateServiceConnection != nil { + in, out := &in.PrivateServiceConnection, &out.PrivateServiceConnection + *out = make([]PrivateServiceConnectionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParameters. +func (in *EndpointParameters) DeepCopy() *EndpointParameters { + if in == nil { + return nil + } + out := new(EndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpec. +func (in *EndpointSpec) DeepCopy() *EndpointSpec { + if in == nil { + return nil + } + out := new(EndpointSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatus. +func (in *EndpointStatus) DeepCopy() *EndpointStatus { + if in == nil { + return nil + } + out := new(EndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkService) DeepCopyInto(out *LinkService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkService. +func (in *LinkService) DeepCopy() *LinkService { + if in == nil { + return nil + } + out := new(LinkService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LinkService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkServiceList) DeepCopyInto(out *LinkServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LinkService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkServiceList. +func (in *LinkServiceList) DeepCopy() *LinkServiceList { + if in == nil { + return nil + } + out := new(LinkServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LinkServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkServiceObservation) DeepCopyInto(out *LinkServiceObservation) { + *out = *in + if in.Alias != nil { + in, out := &in.Alias, &out.Alias + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkServiceObservation. +func (in *LinkServiceObservation) DeepCopy() *LinkServiceObservation { + if in == nil { + return nil + } + out := new(LinkServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkServiceParameters) DeepCopyInto(out *LinkServiceParameters) { + *out = *in + if in.AutoApprovalSubscriptionIds != nil { + in, out := &in.AutoApprovalSubscriptionIds, &out.AutoApprovalSubscriptionIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EnableProxyProtocol != nil { + in, out := &in.EnableProxyProtocol, &out.EnableProxyProtocol + *out = new(bool) + **out = **in + } + if in.LoadBalancerFrontendIPConfigurationIds != nil { + in, out := &in.LoadBalancerFrontendIPConfigurationIds, &out.LoadBalancerFrontendIPConfigurationIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NatIPConfiguration != nil { + in, out := &in.NatIPConfiguration, &out.NatIPConfiguration + *out = make([]NatIPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VisibilitySubscriptionIds != nil { + in, out := &in.VisibilitySubscriptionIds, &out.VisibilitySubscriptionIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkServiceParameters. +func (in *LinkServiceParameters) DeepCopy() *LinkServiceParameters { + if in == nil { + return nil + } + out := new(LinkServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkServiceSpec) DeepCopyInto(out *LinkServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkServiceSpec. +func (in *LinkServiceSpec) DeepCopy() *LinkServiceSpec { + if in == nil { + return nil + } + out := new(LinkServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkServiceStatus) DeepCopyInto(out *LinkServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkServiceStatus. +func (in *LinkServiceStatus) DeepCopy() *LinkServiceStatus { + if in == nil { + return nil + } + out := new(LinkServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatIPConfigurationObservation) DeepCopyInto(out *NatIPConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatIPConfigurationObservation. +func (in *NatIPConfigurationObservation) DeepCopy() *NatIPConfigurationObservation { + if in == nil { + return nil + } + out := new(NatIPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NatIPConfigurationParameters) DeepCopyInto(out *NatIPConfigurationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Primary != nil { + in, out := &in.Primary, &out.Primary + *out = new(bool) + **out = **in + } + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddressVersion != nil { + in, out := &in.PrivateIPAddressVersion, &out.PrivateIPAddressVersion + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatIPConfigurationParameters. +func (in *NatIPConfigurationParameters) DeepCopy() *NatIPConfigurationParameters { + if in == nil { + return nil + } + out := new(NatIPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. +func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { + if in == nil { + return nil + } + out := new(NetworkInterfaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. +func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { + if in == nil { + return nil + } + out := new(NetworkInterfaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateDNSZoneConfigsObservation) DeepCopyInto(out *PrivateDNSZoneConfigsObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateDNSZoneID != nil { + in, out := &in.PrivateDNSZoneID, &out.PrivateDNSZoneID + *out = new(string) + **out = **in + } + if in.RecordSets != nil { + in, out := &in.RecordSets, &out.RecordSets + *out = make([]RecordSetsObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateDNSZoneConfigsObservation. +func (in *PrivateDNSZoneConfigsObservation) DeepCopy() *PrivateDNSZoneConfigsObservation { + if in == nil { + return nil + } + out := new(PrivateDNSZoneConfigsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateDNSZoneConfigsParameters) DeepCopyInto(out *PrivateDNSZoneConfigsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateDNSZoneConfigsParameters. +func (in *PrivateDNSZoneConfigsParameters) DeepCopy() *PrivateDNSZoneConfigsParameters { + if in == nil { + return nil + } + out := new(PrivateDNSZoneConfigsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateDNSZoneGroupObservation) DeepCopyInto(out *PrivateDNSZoneGroupObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateDNSZoneGroupObservation. +func (in *PrivateDNSZoneGroupObservation) DeepCopy() *PrivateDNSZoneGroupObservation { + if in == nil { + return nil + } + out := new(PrivateDNSZoneGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateDNSZoneGroupParameters) DeepCopyInto(out *PrivateDNSZoneGroupParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateDNSZoneIds != nil { + in, out := &in.PrivateDNSZoneIds, &out.PrivateDNSZoneIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateDNSZoneGroupParameters. +func (in *PrivateDNSZoneGroupParameters) DeepCopy() *PrivateDNSZoneGroupParameters { + if in == nil { + return nil + } + out := new(PrivateDNSZoneGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateServiceConnectionObservation) DeepCopyInto(out *PrivateServiceConnectionObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateServiceConnectionObservation. +func (in *PrivateServiceConnectionObservation) DeepCopy() *PrivateServiceConnectionObservation { + if in == nil { + return nil + } + out := new(PrivateServiceConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateServiceConnectionParameters) DeepCopyInto(out *PrivateServiceConnectionParameters) { + *out = *in + if in.IsManualConnection != nil { + in, out := &in.IsManualConnection, &out.IsManualConnection + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateConnectionResourceAlias != nil { + in, out := &in.PrivateConnectionResourceAlias, &out.PrivateConnectionResourceAlias + *out = new(string) + **out = **in + } + if in.PrivateConnectionResourceID != nil { + in, out := &in.PrivateConnectionResourceID, &out.PrivateConnectionResourceID + *out = new(string) + **out = **in + } + if in.RequestMessage != nil { + in, out := &in.RequestMessage, &out.RequestMessage + *out = new(string) + **out = **in + } + if in.SubresourceNames != nil { + in, out := &in.SubresourceNames, &out.SubresourceNames + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateServiceConnectionParameters. +func (in *PrivateServiceConnectionParameters) DeepCopy() *PrivateServiceConnectionParameters { + if in == nil { + return nil + } + out := new(PrivateServiceConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordObservation) DeepCopyInto(out *RecordObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordObservation. +func (in *RecordObservation) DeepCopy() *RecordObservation { + if in == nil { + return nil + } + out := new(RecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordParameters) DeepCopyInto(out *RecordParameters) { + *out = *in + if in.Exchange != nil { + in, out := &in.Exchange, &out.Exchange + *out = new(string) + **out = **in + } + if in.Preference != nil { + in, out := &in.Preference, &out.Preference + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordParameters. +func (in *RecordParameters) DeepCopy() *RecordParameters { + if in == nil { + return nil + } + out := new(RecordParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordSetsObservation) DeepCopyInto(out *RecordSetsObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.IPAddresses != nil { + in, out := &in.IPAddresses, &out.IPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSetsObservation. +func (in *RecordSetsObservation) DeepCopy() *RecordSetsObservation { + if in == nil { + return nil + } + out := new(RecordSetsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecordSetsParameters) DeepCopyInto(out *RecordSetsParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSetsParameters. +func (in *RecordSetsParameters) DeepCopy() *RecordSetsParameters { + if in == nil { + return nil + } + out := new(RecordSetsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SoaRecordObservation) DeepCopyInto(out *SoaRecordObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.HostName != nil { + in, out := &in.HostName, &out.HostName + *out = new(string) + **out = **in + } + if in.SerialNumber != nil { + in, out := &in.SerialNumber, &out.SerialNumber + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoaRecordObservation. +func (in *SoaRecordObservation) DeepCopy() *SoaRecordObservation { + if in == nil { + return nil + } + out := new(SoaRecordObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SoaRecordParameters) DeepCopyInto(out *SoaRecordParameters) { + *out = *in + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.ExpireTime != nil { + in, out := &in.ExpireTime, &out.ExpireTime + *out = new(int64) + **out = **in + } + if in.MinimumTTL != nil { + in, out := &in.MinimumTTL, &out.MinimumTTL + *out = new(int64) + **out = **in + } + if in.RefreshTime != nil { + in, out := &in.RefreshTime, &out.RefreshTime + *out = new(int64) + **out = **in + } + if in.RetryTime != nil { + in, out := &in.RetryTime, &out.RetryTime + *out = new(int64) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoaRecordParameters. +func (in *SoaRecordParameters) DeepCopy() *SoaRecordParameters { + if in == nil { + return nil + } + out := new(SoaRecordParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/private/v1alpha1/zz_generated.managed.go b/apis/private/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..4d676bf93 --- /dev/null +++ b/apis/private/v1alpha1/zz_generated.managed.go @@ -0,0 +1,636 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this DnsARecord. +func (mg *DnsARecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsARecord. +func (mg *DnsARecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsARecord. +func (mg *DnsARecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsARecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsARecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsARecord. +func (mg *DnsARecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsARecord. +func (mg *DnsARecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsARecord. +func (mg *DnsARecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsARecord. +func (mg *DnsARecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsARecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsARecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsARecord. +func (mg *DnsARecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsAaaaRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsAaaaRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsAaaaRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsAaaaRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsAaaaRecord. +func (mg *DnsAaaaRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsCnameRecord. +func (mg *DnsCnameRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsCnameRecord. +func (mg *DnsCnameRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsCnameRecord. +func (mg *DnsCnameRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsCnameRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsCnameRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsCnameRecord. +func (mg *DnsCnameRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsCnameRecord. +func (mg *DnsCnameRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsCnameRecord. +func (mg *DnsCnameRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsCnameRecord. +func (mg *DnsCnameRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsCnameRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsCnameRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsCnameRecord. +func (mg *DnsCnameRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsMxRecord. +func (mg *DnsMxRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsMxRecord. +func (mg *DnsMxRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsMxRecord. +func (mg *DnsMxRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsMxRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsMxRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsMxRecord. +func (mg *DnsMxRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsMxRecord. +func (mg *DnsMxRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsMxRecord. +func (mg *DnsMxRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsMxRecord. +func (mg *DnsMxRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsMxRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsMxRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsMxRecord. +func (mg *DnsMxRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsPtrRecord. +func (mg *DnsPtrRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsPtrRecord. +func (mg *DnsPtrRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsPtrRecord. +func (mg *DnsPtrRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsPtrRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsPtrRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsPtrRecord. +func (mg *DnsPtrRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsPtrRecord. +func (mg *DnsPtrRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsPtrRecord. +func (mg *DnsPtrRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsPtrRecord. +func (mg *DnsPtrRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsPtrRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsPtrRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsPtrRecord. +func (mg *DnsPtrRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsSrvRecord. +func (mg *DnsSrvRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsSrvRecord. +func (mg *DnsSrvRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsSrvRecord. +func (mg *DnsSrvRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsSrvRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsSrvRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsSrvRecord. +func (mg *DnsSrvRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsSrvRecord. +func (mg *DnsSrvRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsSrvRecord. +func (mg *DnsSrvRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsSrvRecord. +func (mg *DnsSrvRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsSrvRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsSrvRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsSrvRecord. +func (mg *DnsSrvRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsTxtRecord. +func (mg *DnsTxtRecord) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsTxtRecord. +func (mg *DnsTxtRecord) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsTxtRecord. +func (mg *DnsTxtRecord) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsTxtRecord. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsTxtRecord) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsTxtRecord. +func (mg *DnsTxtRecord) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsTxtRecord. +func (mg *DnsTxtRecord) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsTxtRecord. +func (mg *DnsTxtRecord) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsTxtRecord. +func (mg *DnsTxtRecord) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsTxtRecord. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsTxtRecord) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsTxtRecord. +func (mg *DnsTxtRecord) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsZone. +func (mg *DnsZone) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsZone. +func (mg *DnsZone) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsZone. +func (mg *DnsZone) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsZone. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsZone) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsZone. +func (mg *DnsZone) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsZone. +func (mg *DnsZone) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsZone. +func (mg *DnsZone) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsZone. +func (mg *DnsZone) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsZone. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsZone) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsZone. +func (mg *DnsZone) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DnsZoneVirtualNetworkLink. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DnsZoneVirtualNetworkLink) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DnsZoneVirtualNetworkLink. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DnsZoneVirtualNetworkLink) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DnsZoneVirtualNetworkLink. +func (mg *DnsZoneVirtualNetworkLink) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Endpoint. +func (mg *Endpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Endpoint. +func (mg *Endpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Endpoint. +func (mg *Endpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Endpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Endpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Endpoint. +func (mg *Endpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Endpoint. +func (mg *Endpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Endpoint. +func (mg *Endpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Endpoint. +func (mg *Endpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Endpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Endpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Endpoint. +func (mg *Endpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LinkService. +func (mg *LinkService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LinkService. +func (mg *LinkService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LinkService. +func (mg *LinkService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LinkService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LinkService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LinkService. +func (mg *LinkService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LinkService. +func (mg *LinkService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LinkService. +func (mg *LinkService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LinkService. +func (mg *LinkService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LinkService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LinkService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LinkService. +func (mg *LinkService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/private/v1alpha1/zz_generated.managedlist.go b/apis/private/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..48a861075 --- /dev/null +++ b/apis/private/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,119 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this DnsARecordList. +func (l *DnsARecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsAaaaRecordList. +func (l *DnsAaaaRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsCnameRecordList. +func (l *DnsCnameRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsMxRecordList. +func (l *DnsMxRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsPtrRecordList. +func (l *DnsPtrRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsSrvRecordList. +func (l *DnsSrvRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsTxtRecordList. +func (l *DnsTxtRecordList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsZoneList. +func (l *DnsZoneList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DnsZoneVirtualNetworkLinkList. +func (l *DnsZoneVirtualNetworkLinkList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EndpointList. +func (l *EndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LinkServiceList. +func (l *LinkServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/private/v1alpha1/zz_groupversion_info.go b/apis/private/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..9273f3e21 --- /dev/null +++ b/apis/private/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=private.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "private.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/private/v1alpha1/zz_linkservice_terraformed.go b/apis/private/v1alpha1/zz_linkservice_terraformed.go new file mode 100755 index 000000000..452a0add9 --- /dev/null +++ b/apis/private/v1alpha1/zz_linkservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LinkService +func (mg *LinkService) GetTerraformResourceType() string { + return "azurerm_private_link_service" +} + +// GetConnectionDetailsMapping for this LinkService +func (tr *LinkService) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LinkService +func (tr *LinkService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LinkService +func (tr *LinkService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LinkService +func (tr *LinkService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LinkService +func (tr *LinkService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LinkService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LinkService) LateInitialize(attrs []byte) (bool, error) { + params := &LinkServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LinkService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/private/v1alpha1/zz_linkservice_types.go b/apis/private/v1alpha1/zz_linkservice_types.go new file mode 100755 index 000000000..7f2f3419b --- /dev/null +++ b/apis/private/v1alpha1/zz_linkservice_types.go @@ -0,0 +1,130 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LinkServiceObservation struct { + Alias *string `json:"alias,omitempty" tf:"alias,omitempty"` +} + +type LinkServiceParameters struct { + + // +kubebuilder:validation:Optional + AutoApprovalSubscriptionIds []*string `json:"autoApprovalSubscriptionIds,omitempty" tf:"auto_approval_subscription_ids,omitempty"` + + // +kubebuilder:validation:Optional + EnableProxyProtocol *bool `json:"enableProxyProtocol,omitempty" tf:"enable_proxy_protocol,omitempty"` + + // +kubebuilder:validation:Required + LoadBalancerFrontendIPConfigurationIds []*string `json:"loadBalancerFrontendIpConfigurationIds" tf:"load_balancer_frontend_ip_configuration_ids,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NatIPConfiguration []NatIPConfigurationParameters `json:"natIpConfiguration" tf:"nat_ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + VisibilitySubscriptionIds []*string `json:"visibilitySubscriptionIds,omitempty" tf:"visibility_subscription_ids,omitempty"` +} + +type NatIPConfigurationObservation struct { +} + +type NatIPConfigurationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Primary *bool `json:"primary" tf:"primary,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + PrivateIPAddressVersion *string `json:"privateIpAddressVersion,omitempty" tf:"private_ip_address_version,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// LinkServiceSpec defines the desired state of LinkService +type LinkServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LinkServiceParameters `json:"forProvider"` +} + +// LinkServiceStatus defines the observed state of LinkService. +type LinkServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LinkServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LinkService is the Schema for the LinkServices API +// +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,azurejet} +type LinkService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LinkServiceSpec `json:"spec"` + Status LinkServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LinkServiceList contains a list of LinkServices +type LinkServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LinkService `json:"items"` +} + +// Repository type metadata. +var ( + LinkService_Kind = "LinkService" + LinkService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LinkService_Kind}.String() + LinkService_KindAPIVersion = LinkService_Kind + "." + CRDGroupVersion.String() + LinkService_GroupVersionKind = CRDGroupVersion.WithKind(LinkService_Kind) +) + +func init() { + SchemeBuilder.Register(&LinkService{}, &LinkServiceList{}) +} diff --git a/apis/proximity/v1alpha1/zz_generated.deepcopy.go b/apis/proximity/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..cf4a091e9 --- /dev/null +++ b/apis/proximity/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,178 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlacementGroup) DeepCopyInto(out *PlacementGroup) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroup. +func (in *PlacementGroup) DeepCopy() *PlacementGroup { + if in == nil { + return nil + } + out := new(PlacementGroup) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PlacementGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlacementGroupList) DeepCopyInto(out *PlacementGroupList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PlacementGroup, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupList. +func (in *PlacementGroupList) DeepCopy() *PlacementGroupList { + if in == nil { + return nil + } + out := new(PlacementGroupList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PlacementGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlacementGroupObservation) DeepCopyInto(out *PlacementGroupObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupObservation. +func (in *PlacementGroupObservation) DeepCopy() *PlacementGroupObservation { + if in == nil { + return nil + } + out := new(PlacementGroupObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlacementGroupParameters) DeepCopyInto(out *PlacementGroupParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupParameters. +func (in *PlacementGroupParameters) DeepCopy() *PlacementGroupParameters { + if in == nil { + return nil + } + out := new(PlacementGroupParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlacementGroupSpec) DeepCopyInto(out *PlacementGroupSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupSpec. +func (in *PlacementGroupSpec) DeepCopy() *PlacementGroupSpec { + if in == nil { + return nil + } + out := new(PlacementGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlacementGroupStatus) DeepCopyInto(out *PlacementGroupStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementGroupStatus. +func (in *PlacementGroupStatus) DeepCopy() *PlacementGroupStatus { + if in == nil { + return nil + } + out := new(PlacementGroupStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/proximity/v1alpha1/zz_generated.managed.go b/apis/proximity/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..c860d7622 --- /dev/null +++ b/apis/proximity/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this PlacementGroup. +func (mg *PlacementGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PlacementGroup. +func (mg *PlacementGroup) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PlacementGroup. +func (mg *PlacementGroup) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PlacementGroup. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PlacementGroup) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PlacementGroup. +func (mg *PlacementGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PlacementGroup. +func (mg *PlacementGroup) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PlacementGroup. +func (mg *PlacementGroup) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PlacementGroup. +func (mg *PlacementGroup) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PlacementGroup. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PlacementGroup) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PlacementGroup. +func (mg *PlacementGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/proximity/v1alpha1/zz_generated.managedlist.go b/apis/proximity/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..a46c26e1d --- /dev/null +++ b/apis/proximity/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this PlacementGroupList. +func (l *PlacementGroupList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/proximity/v1alpha1/zz_groupversion_info.go b/apis/proximity/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f2f3f1d4b --- /dev/null +++ b/apis/proximity/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=proximity.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "proximity.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/proximity/v1alpha1/zz_placementgroup_terraformed.go b/apis/proximity/v1alpha1/zz_placementgroup_terraformed.go new file mode 100755 index 000000000..2a61d85ae --- /dev/null +++ b/apis/proximity/v1alpha1/zz_placementgroup_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PlacementGroup +func (mg *PlacementGroup) GetTerraformResourceType() string { + return "azurerm_proximity_placement_group" +} + +// GetConnectionDetailsMapping for this PlacementGroup +func (tr *PlacementGroup) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PlacementGroup +func (tr *PlacementGroup) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PlacementGroup +func (tr *PlacementGroup) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PlacementGroup +func (tr *PlacementGroup) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PlacementGroup +func (tr *PlacementGroup) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PlacementGroup using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PlacementGroup) LateInitialize(attrs []byte) (bool, error) { + params := &PlacementGroupParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PlacementGroup) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/proximity/v1alpha1/zz_placementgroup_types.go b/apis/proximity/v1alpha1/zz_placementgroup_types.go new file mode 100755 index 000000000..80a786609 --- /dev/null +++ b/apis/proximity/v1alpha1/zz_placementgroup_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PlacementGroupObservation struct { +} + +type PlacementGroupParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// PlacementGroupSpec defines the desired state of PlacementGroup +type PlacementGroupSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PlacementGroupParameters `json:"forProvider"` +} + +// PlacementGroupStatus defines the observed state of PlacementGroup. +type PlacementGroupStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PlacementGroupObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PlacementGroup is the Schema for the PlacementGroups API +// +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,azurejet} +type PlacementGroup struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PlacementGroupSpec `json:"spec"` + Status PlacementGroupStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PlacementGroupList contains a list of PlacementGroups +type PlacementGroupList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PlacementGroup `json:"items"` +} + +// Repository type metadata. +var ( + PlacementGroup_Kind = "PlacementGroup" + PlacementGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PlacementGroup_Kind}.String() + PlacementGroup_KindAPIVersion = PlacementGroup_Kind + "." + CRDGroupVersion.String() + PlacementGroup_GroupVersionKind = CRDGroupVersion.WithKind(PlacementGroup_Kind) +) + +func init() { + SchemeBuilder.Register(&PlacementGroup{}, &PlacementGroupList{}) +} diff --git a/apis/public/v1alpha1/zz_generated.deepcopy.go b/apis/public/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..bb15fc34c --- /dev/null +++ b/apis/public/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,443 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Ip) DeepCopyInto(out *Ip) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ip. +func (in *Ip) DeepCopy() *Ip { + if in == nil { + return nil + } + out := new(Ip) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Ip) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpList) DeepCopyInto(out *IpList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Ip, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpList. +func (in *IpList) DeepCopy() *IpList { + if in == nil { + return nil + } + out := new(IpList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IpList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpObservation) DeepCopyInto(out *IpObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpObservation. +func (in *IpObservation) DeepCopy() *IpObservation { + if in == nil { + return nil + } + out := new(IpObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpParameters) DeepCopyInto(out *IpParameters) { + *out = *in + if in.AllocationMethod != nil { + in, out := &in.AllocationMethod, &out.AllocationMethod + *out = new(string) + **out = **in + } + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.DomainNameLabel != nil { + in, out := &in.DomainNameLabel, &out.DomainNameLabel + *out = new(string) + **out = **in + } + if in.IPTags != nil { + in, out := &in.IPTags, &out.IPTags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.IPVersion != nil { + in, out := &in.IPVersion, &out.IPVersion + *out = new(string) + **out = **in + } + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPPrefixID != nil { + in, out := &in.PublicIPPrefixID, &out.PublicIPPrefixID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ReverseFqdn != nil { + in, out := &in.ReverseFqdn, &out.ReverseFqdn + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.SkuTier != nil { + in, out := &in.SkuTier, &out.SkuTier + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpParameters. +func (in *IpParameters) DeepCopy() *IpParameters { + if in == nil { + return nil + } + out := new(IpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpPrefix) DeepCopyInto(out *IpPrefix) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpPrefix. +func (in *IpPrefix) DeepCopy() *IpPrefix { + if in == nil { + return nil + } + out := new(IpPrefix) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IpPrefix) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpPrefixList) DeepCopyInto(out *IpPrefixList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]IpPrefix, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpPrefixList. +func (in *IpPrefixList) DeepCopy() *IpPrefixList { + if in == nil { + return nil + } + out := new(IpPrefixList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IpPrefixList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpPrefixObservation) DeepCopyInto(out *IpPrefixObservation) { + *out = *in + if in.IPPrefix != nil { + in, out := &in.IPPrefix, &out.IPPrefix + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpPrefixObservation. +func (in *IpPrefixObservation) DeepCopy() *IpPrefixObservation { + if in == nil { + return nil + } + out := new(IpPrefixObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpPrefixParameters) DeepCopyInto(out *IpPrefixParameters) { + *out = *in + if in.AvailabilityZone != nil { + in, out := &in.AvailabilityZone, &out.AvailabilityZone + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrefixLength != nil { + in, out := &in.PrefixLength, &out.PrefixLength + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpPrefixParameters. +func (in *IpPrefixParameters) DeepCopy() *IpPrefixParameters { + if in == nil { + return nil + } + out := new(IpPrefixParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpPrefixSpec) DeepCopyInto(out *IpPrefixSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpPrefixSpec. +func (in *IpPrefixSpec) DeepCopy() *IpPrefixSpec { + if in == nil { + return nil + } + out := new(IpPrefixSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpPrefixStatus) DeepCopyInto(out *IpPrefixStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpPrefixStatus. +func (in *IpPrefixStatus) DeepCopy() *IpPrefixStatus { + if in == nil { + return nil + } + out := new(IpPrefixStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpSpec) DeepCopyInto(out *IpSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpSpec. +func (in *IpSpec) DeepCopy() *IpSpec { + if in == nil { + return nil + } + out := new(IpSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpStatus) DeepCopyInto(out *IpStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpStatus. +func (in *IpStatus) DeepCopy() *IpStatus { + if in == nil { + return nil + } + out := new(IpStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/public/v1alpha1/zz_generated.managed.go b/apis/public/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..a546c464f --- /dev/null +++ b/apis/public/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Ip. +func (mg *Ip) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Ip. +func (mg *Ip) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Ip. +func (mg *Ip) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Ip. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Ip) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Ip. +func (mg *Ip) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Ip. +func (mg *Ip) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Ip. +func (mg *Ip) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Ip. +func (mg *Ip) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Ip. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Ip) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Ip. +func (mg *Ip) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this IpPrefix. +func (mg *IpPrefix) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this IpPrefix. +func (mg *IpPrefix) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this IpPrefix. +func (mg *IpPrefix) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this IpPrefix. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *IpPrefix) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this IpPrefix. +func (mg *IpPrefix) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this IpPrefix. +func (mg *IpPrefix) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this IpPrefix. +func (mg *IpPrefix) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this IpPrefix. +func (mg *IpPrefix) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this IpPrefix. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *IpPrefix) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this IpPrefix. +func (mg *IpPrefix) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/public/v1alpha1/zz_generated.managedlist.go b/apis/public/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..93fe74ab3 --- /dev/null +++ b/apis/public/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this IpList. +func (l *IpList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this IpPrefixList. +func (l *IpPrefixList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/public/v1alpha1/zz_groupversion_info.go b/apis/public/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..10b260679 --- /dev/null +++ b/apis/public/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=public.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "public.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/public/v1alpha1/zz_ip_terraformed.go b/apis/public/v1alpha1/zz_ip_terraformed.go new file mode 100755 index 000000000..5736c1860 --- /dev/null +++ b/apis/public/v1alpha1/zz_ip_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Ip +func (mg *Ip) GetTerraformResourceType() string { + return "azurerm_public_ip" +} + +// GetConnectionDetailsMapping for this Ip +func (tr *Ip) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Ip +func (tr *Ip) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Ip +func (tr *Ip) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Ip +func (tr *Ip) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Ip +func (tr *Ip) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Ip using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Ip) LateInitialize(attrs []byte) (bool, error) { + params := &IpParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Ip) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/public/v1alpha1/zz_ip_types.go b/apis/public/v1alpha1/zz_ip_types.go new file mode 100755 index 000000000..475d816b3 --- /dev/null +++ b/apis/public/v1alpha1/zz_ip_types.go @@ -0,0 +1,129 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IpObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` +} + +type IpParameters struct { + + // +kubebuilder:validation:Required + AllocationMethod *string `json:"allocationMethod" tf:"allocation_method,omitempty"` + + // +kubebuilder:validation:Optional + AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + + // +kubebuilder:validation:Optional + DomainNameLabel *string `json:"domainNameLabel,omitempty" tf:"domain_name_label,omitempty"` + + // +kubebuilder:validation:Optional + IPTags map[string]*string `json:"ipTags,omitempty" tf:"ip_tags,omitempty"` + + // +kubebuilder:validation:Optional + IPVersion *string `json:"ipVersion,omitempty" tf:"ip_version,omitempty"` + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPPrefixID *string `json:"publicIpPrefixId,omitempty" tf:"public_ip_prefix_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ReverseFqdn *string `json:"reverseFqdn,omitempty" tf:"reverse_fqdn,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + SkuTier *string `json:"skuTier,omitempty" tf:"sku_tier,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +// IpSpec defines the desired state of Ip +type IpSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider IpParameters `json:"forProvider"` +} + +// IpStatus defines the observed state of Ip. +type IpStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider IpObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Ip is the Schema for the Ips API +// +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,azurejet} +type Ip struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec IpSpec `json:"spec"` + Status IpStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// IpList contains a list of Ips +type IpList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Ip `json:"items"` +} + +// Repository type metadata. +var ( + Ip_Kind = "Ip" + Ip_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Ip_Kind}.String() + Ip_KindAPIVersion = Ip_Kind + "." + CRDGroupVersion.String() + Ip_GroupVersionKind = CRDGroupVersion.WithKind(Ip_Kind) +) + +func init() { + SchemeBuilder.Register(&Ip{}, &IpList{}) +} diff --git a/apis/public/v1alpha1/zz_ipprefix_terraformed.go b/apis/public/v1alpha1/zz_ipprefix_terraformed.go new file mode 100755 index 000000000..a4b2e5ac9 --- /dev/null +++ b/apis/public/v1alpha1/zz_ipprefix_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this IpPrefix +func (mg *IpPrefix) GetTerraformResourceType() string { + return "azurerm_public_ip_prefix" +} + +// GetConnectionDetailsMapping for this IpPrefix +func (tr *IpPrefix) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this IpPrefix +func (tr *IpPrefix) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this IpPrefix +func (tr *IpPrefix) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this IpPrefix +func (tr *IpPrefix) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this IpPrefix +func (tr *IpPrefix) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this IpPrefix using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *IpPrefix) LateInitialize(attrs []byte) (bool, error) { + params := &IpPrefixParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *IpPrefix) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/public/v1alpha1/zz_ipprefix_types.go b/apis/public/v1alpha1/zz_ipprefix_types.go new file mode 100755 index 000000000..f6e0c4d2e --- /dev/null +++ b/apis/public/v1alpha1/zz_ipprefix_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IpPrefixObservation struct { + IPPrefix *string `json:"ipPrefix,omitempty" tf:"ip_prefix,omitempty"` +} + +type IpPrefixParameters struct { + + // +kubebuilder:validation:Optional + AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PrefixLength *int64 `json:"prefixLength,omitempty" tf:"prefix_length,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Sku *string `json:"sku,omitempty" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +// IpPrefixSpec defines the desired state of IpPrefix +type IpPrefixSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider IpPrefixParameters `json:"forProvider"` +} + +// IpPrefixStatus defines the observed state of IpPrefix. +type IpPrefixStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider IpPrefixObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// IpPrefix is the Schema for the IpPrefixs API +// +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,azurejet} +type IpPrefix struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec IpPrefixSpec `json:"spec"` + Status IpPrefixStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// IpPrefixList contains a list of IpPrefixs +type IpPrefixList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []IpPrefix `json:"items"` +} + +// Repository type metadata. +var ( + IpPrefix_Kind = "IpPrefix" + IpPrefix_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IpPrefix_Kind}.String() + IpPrefix_KindAPIVersion = IpPrefix_Kind + "." + CRDGroupVersion.String() + IpPrefix_GroupVersionKind = CRDGroupVersion.WithKind(IpPrefix_Kind) +) + +func init() { + SchemeBuilder.Register(&IpPrefix{}, &IpPrefixList{}) +} diff --git a/apis/purview/v1alpha1/zz_account_terraformed.go b/apis/purview/v1alpha1/zz_account_terraformed.go new file mode 100755 index 000000000..4686a9c4c --- /dev/null +++ b/apis/purview/v1alpha1/zz_account_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Account +func (mg *Account) GetTerraformResourceType() string { + return "azurerm_purview_account" +} + +// GetConnectionDetailsMapping for this Account +func (tr *Account) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"atlas_kafka_endpoint_primary_connection_string": "status.atProvider.atlasKafkaEndpointPrimaryConnectionString", "atlas_kafka_endpoint_secondary_connection_string": "status.atProvider.atlasKafkaEndpointSecondaryConnectionString"} +} + +// GetObservation of this Account +func (tr *Account) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Account +func (tr *Account) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Account +func (tr *Account) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Account +func (tr *Account) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Account using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Account) LateInitialize(attrs []byte) (bool, error) { + params := &AccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Account) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/purview/v1alpha1/zz_account_types.go b/apis/purview/v1alpha1/zz_account_types.go new file mode 100755 index 000000000..f92fada5f --- /dev/null +++ b/apis/purview/v1alpha1/zz_account_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountObservation struct { + CatalogEndpoint *string `json:"catalogEndpoint,omitempty" tf:"catalog_endpoint,omitempty"` + + GuardianEndpoint *string `json:"guardianEndpoint,omitempty" tf:"guardian_endpoint,omitempty"` + + Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"` + + ScanEndpoint *string `json:"scanEndpoint,omitempty" tf:"scan_endpoint,omitempty"` +} + +type AccountParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkEnabled *bool `json:"publicNetworkEnabled,omitempty" tf:"public_network_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` + + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type IdentityParameters struct { +} + +// AccountSpec defines the desired state of Account +type AccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountParameters `json:"forProvider"` +} + +// AccountStatus defines the observed state of Account. +type AccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Account is the Schema for the Accounts API +// +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,azurejet} +type Account struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountSpec `json:"spec"` + Status AccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountList contains a list of Accounts +type AccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Account `json:"items"` +} + +// Repository type metadata. +var ( + Account_Kind = "Account" + Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() + Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() + Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) +) + +func init() { + SchemeBuilder.Register(&Account{}, &AccountList{}) +} diff --git a/apis/purview/v1alpha1/zz_generated.deepcopy.go b/apis/purview/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..500bb5c76 --- /dev/null +++ b/apis/purview/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,255 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Account) DeepCopyInto(out *Account) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account. +func (in *Account) DeepCopy() *Account { + if in == nil { + return nil + } + out := new(Account) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Account) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil + } + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in + if in.CatalogEndpoint != nil { + in, out := &in.CatalogEndpoint, &out.CatalogEndpoint + *out = new(string) + **out = **in + } + if in.GuardianEndpoint != nil { + in, out := &in.GuardianEndpoint, &out.GuardianEndpoint + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScanEndpoint != nil { + in, out := &in.ScanEndpoint, &out.ScanEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation. +func (in *AccountObservation) DeepCopy() *AccountObservation { + if in == nil { + return nil + } + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicNetworkEnabled != nil { + in, out := &in.PublicNetworkEnabled, &out.PublicNetworkEnabled + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/purview/v1alpha1/zz_generated.managed.go b/apis/purview/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..a959e9d53 --- /dev/null +++ b/apis/purview/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Account. +func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Account. +func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Account. +func (mg *Account) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Account. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Account) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Account. +func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Account. +func (mg *Account) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Account. +func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Account. +func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Account. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Account) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Account. +func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/purview/v1alpha1/zz_generated.managedlist.go b/apis/purview/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..a6ccbde6d --- /dev/null +++ b/apis/purview/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AccountList. +func (l *AccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/purview/v1alpha1/zz_groupversion_info.go b/apis/purview/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..6f158ffa1 --- /dev/null +++ b/apis/purview/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=purview.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "purview.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/recovery/v1alpha1/zz_generated.deepcopy.go b/apis/recovery/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..8ced9cee8 --- /dev/null +++ b/apis/recovery/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,240 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesVault) DeepCopyInto(out *ServicesVault) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesVault. +func (in *ServicesVault) DeepCopy() *ServicesVault { + if in == nil { + return nil + } + out := new(ServicesVault) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicesVault) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesVaultList) DeepCopyInto(out *ServicesVaultList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServicesVault, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesVaultList. +func (in *ServicesVaultList) DeepCopy() *ServicesVaultList { + if in == nil { + return nil + } + out := new(ServicesVaultList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServicesVaultList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesVaultObservation) DeepCopyInto(out *ServicesVaultObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesVaultObservation. +func (in *ServicesVaultObservation) DeepCopy() *ServicesVaultObservation { + if in == nil { + return nil + } + out := new(ServicesVaultObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesVaultParameters) DeepCopyInto(out *ServicesVaultParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.SoftDeleteEnabled != nil { + in, out := &in.SoftDeleteEnabled, &out.SoftDeleteEnabled + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesVaultParameters. +func (in *ServicesVaultParameters) DeepCopy() *ServicesVaultParameters { + if in == nil { + return nil + } + out := new(ServicesVaultParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesVaultSpec) DeepCopyInto(out *ServicesVaultSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesVaultSpec. +func (in *ServicesVaultSpec) DeepCopy() *ServicesVaultSpec { + if in == nil { + return nil + } + out := new(ServicesVaultSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServicesVaultStatus) DeepCopyInto(out *ServicesVaultStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesVaultStatus. +func (in *ServicesVaultStatus) DeepCopy() *ServicesVaultStatus { + if in == nil { + return nil + } + out := new(ServicesVaultStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/recovery/v1alpha1/zz_generated.managed.go b/apis/recovery/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..530125b2f --- /dev/null +++ b/apis/recovery/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ServicesVault. +func (mg *ServicesVault) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServicesVault. +func (mg *ServicesVault) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServicesVault. +func (mg *ServicesVault) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServicesVault. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServicesVault) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServicesVault. +func (mg *ServicesVault) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServicesVault. +func (mg *ServicesVault) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServicesVault. +func (mg *ServicesVault) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServicesVault. +func (mg *ServicesVault) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServicesVault. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServicesVault) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServicesVault. +func (mg *ServicesVault) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/recovery/v1alpha1/zz_generated.managedlist.go b/apis/recovery/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..e5a229a89 --- /dev/null +++ b/apis/recovery/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServicesVaultList. +func (l *ServicesVaultList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/recovery/v1alpha1/zz_groupversion_info.go b/apis/recovery/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..6b156096f --- /dev/null +++ b/apis/recovery/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=recovery.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "recovery.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/recovery/v1alpha1/zz_servicesvault_terraformed.go b/apis/recovery/v1alpha1/zz_servicesvault_terraformed.go new file mode 100755 index 000000000..f391908eb --- /dev/null +++ b/apis/recovery/v1alpha1/zz_servicesvault_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServicesVault +func (mg *ServicesVault) GetTerraformResourceType() string { + return "azurerm_recovery_services_vault" +} + +// GetConnectionDetailsMapping for this ServicesVault +func (tr *ServicesVault) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServicesVault +func (tr *ServicesVault) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServicesVault +func (tr *ServicesVault) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServicesVault +func (tr *ServicesVault) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServicesVault +func (tr *ServicesVault) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServicesVault using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServicesVault) LateInitialize(attrs []byte) (bool, error) { + params := &ServicesVaultParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServicesVault) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/recovery/v1alpha1/zz_servicesvault_types.go b/apis/recovery/v1alpha1/zz_servicesvault_types.go new file mode 100755 index 000000000..412e5c149 --- /dev/null +++ b/apis/recovery/v1alpha1/zz_servicesvault_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ServicesVaultObservation struct { +} + +type ServicesVaultParameters struct { + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + SoftDeleteEnabled *bool `json:"softDeleteEnabled,omitempty" tf:"soft_delete_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServicesVaultSpec defines the desired state of ServicesVault +type ServicesVaultSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServicesVaultParameters `json:"forProvider"` +} + +// ServicesVaultStatus defines the observed state of ServicesVault. +type ServicesVaultStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServicesVaultObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicesVault is the Schema for the ServicesVaults API +// +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,azurejet} +type ServicesVault struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServicesVaultSpec `json:"spec"` + Status ServicesVaultStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServicesVaultList contains a list of ServicesVaults +type ServicesVaultList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServicesVault `json:"items"` +} + +// Repository type metadata. +var ( + ServicesVault_Kind = "ServicesVault" + ServicesVault_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServicesVault_Kind}.String() + ServicesVault_KindAPIVersion = ServicesVault_Kind + "." + CRDGroupVersion.String() + ServicesVault_GroupVersionKind = CRDGroupVersion.WithKind(ServicesVault_Kind) +) + +func init() { + SchemeBuilder.Register(&ServicesVault{}, &ServicesVaultList{}) +} diff --git a/apis/redis/v1alpha1/zz_cache_terraformed.go b/apis/redis/v1alpha1/zz_cache_terraformed.go new file mode 100755 index 000000000..5f16e053a --- /dev/null +++ b/apis/redis/v1alpha1/zz_cache_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Cache +func (mg *Cache) GetTerraformResourceType() string { + return "azurerm_redis_cache" +} + +// GetConnectionDetailsMapping for this Cache +func (tr *Cache) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "primary_connection_string": "status.atProvider.primaryConnectionString", "redis_configuration[*].aof_storage_connection_string_0": "spec.forProvider.redisConfiguration[*].aofStorageConnectionString0SecretRef", "redis_configuration[*].aof_storage_connection_string_1": "spec.forProvider.redisConfiguration[*].aofStorageConnectionString1SecretRef", "redis_configuration[*].rdb_storage_connection_string": "spec.forProvider.redisConfiguration[*].rdbStorageConnectionStringSecretRef", "secondary_access_key": "status.atProvider.secondaryAccessKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString"} +} + +// GetObservation of this Cache +func (tr *Cache) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Cache +func (tr *Cache) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Cache +func (tr *Cache) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Cache +func (tr *Cache) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Cache using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Cache) LateInitialize(attrs []byte) (bool, error) { + params := &CacheParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Cache) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/redis/v1alpha1/zz_cache_types.go b/apis/redis/v1alpha1/zz_cache_types.go new file mode 100755 index 000000000..bf5c3d979 --- /dev/null +++ b/apis/redis/v1alpha1/zz_cache_types.go @@ -0,0 +1,207 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CacheObservation struct { + Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` + + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + SslPort *int64 `json:"sslPort,omitempty" tf:"ssl_port,omitempty"` +} + +type CacheParameters struct { + + // +kubebuilder:validation:Required + Capacity *int64 `json:"capacity" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Optional + EnableNonSslPort *bool `json:"enableNonSslPort,omitempty" tf:"enable_non_ssl_port,omitempty"` + + // +kubebuilder:validation:Required + Family *string `json:"family" tf:"family,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PatchSchedule []PatchScheduleParameters `json:"patchSchedule,omitempty" tf:"patch_schedule,omitempty"` + + // +kubebuilder:validation:Optional + PrivateStaticIPAddress *string `json:"privateStaticIpAddress,omitempty" tf:"private_static_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RedisConfiguration []RedisConfigurationParameters `json:"redisConfiguration,omitempty" tf:"redis_configuration,omitempty"` + + // +kubebuilder:validation:Optional + RedisVersion *string `json:"redisVersion,omitempty" tf:"redis_version,omitempty"` + + // +kubebuilder:validation:Optional + ReplicasPerMaster *int64 `json:"replicasPerMaster,omitempty" tf:"replicas_per_master,omitempty"` + + // +kubebuilder:validation:Optional + ReplicasPerPrimary *int64 `json:"replicasPerPrimary,omitempty" tf:"replicas_per_primary,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ShardCount *int64 `json:"shardCount,omitempty" tf:"shard_count,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TenantSettings map[string]*string `json:"tenantSettings,omitempty" tf:"tenant_settings,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type PatchScheduleObservation struct { +} + +type PatchScheduleParameters struct { + + // +kubebuilder:validation:Required + DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"` + + // +kubebuilder:validation:Optional + MaintenanceWindow *string `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"` + + // +kubebuilder:validation:Optional + StartHourUtc *int64 `json:"startHourUtc,omitempty" tf:"start_hour_utc,omitempty"` +} + +type RedisConfigurationObservation struct { + Maxclients *int64 `json:"maxclients,omitempty" tf:"maxclients,omitempty"` +} + +type RedisConfigurationParameters struct { + + // +kubebuilder:validation:Optional + AofBackupEnabled *bool `json:"aofBackupEnabled,omitempty" tf:"aof_backup_enabled,omitempty"` + + // +kubebuilder:validation:Optional + AofStorageConnectionString0SecretRef *v1.SecretKeySelector `json:"aofStorageConnectionString0SecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + AofStorageConnectionString1SecretRef *v1.SecretKeySelector `json:"aofStorageConnectionString1SecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + EnableAuthentication *bool `json:"enableAuthentication,omitempty" tf:"enable_authentication,omitempty"` + + // +kubebuilder:validation:Optional + MaxfragmentationmemoryReserved *int64 `json:"maxfragmentationmemoryReserved,omitempty" tf:"maxfragmentationmemory_reserved,omitempty"` + + // +kubebuilder:validation:Optional + MaxmemoryDelta *int64 `json:"maxmemoryDelta,omitempty" tf:"maxmemory_delta,omitempty"` + + // +kubebuilder:validation:Optional + MaxmemoryPolicy *string `json:"maxmemoryPolicy,omitempty" tf:"maxmemory_policy,omitempty"` + + // +kubebuilder:validation:Optional + MaxmemoryReserved *int64 `json:"maxmemoryReserved,omitempty" tf:"maxmemory_reserved,omitempty"` + + // +kubebuilder:validation:Optional + NotifyKeyspaceEvents *string `json:"notifyKeyspaceEvents,omitempty" tf:"notify_keyspace_events,omitempty"` + + // +kubebuilder:validation:Optional + RdbBackupEnabled *bool `json:"rdbBackupEnabled,omitempty" tf:"rdb_backup_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RdbBackupFrequency *int64 `json:"rdbBackupFrequency,omitempty" tf:"rdb_backup_frequency,omitempty"` + + // +kubebuilder:validation:Optional + RdbBackupMaxSnapshotCount *int64 `json:"rdbBackupMaxSnapshotCount,omitempty" tf:"rdb_backup_max_snapshot_count,omitempty"` + + // +kubebuilder:validation:Optional + RdbStorageConnectionStringSecretRef *v1.SecretKeySelector `json:"rdbStorageConnectionStringSecretRef,omitempty" tf:"-"` +} + +// CacheSpec defines the desired state of Cache +type CacheSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CacheParameters `json:"forProvider"` +} + +// CacheStatus defines the observed state of Cache. +type CacheStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CacheObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Cache is the Schema for the Caches API +// +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,azurejet} +type Cache struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CacheSpec `json:"spec"` + Status CacheStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CacheList contains a list of Caches +type CacheList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Cache `json:"items"` +} + +// Repository type metadata. +var ( + Cache_Kind = "Cache" + Cache_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cache_Kind}.String() + Cache_KindAPIVersion = Cache_Kind + "." + CRDGroupVersion.String() + Cache_GroupVersionKind = CRDGroupVersion.WithKind(Cache_Kind) +) + +func init() { + SchemeBuilder.Register(&Cache{}, &CacheList{}) +} diff --git a/apis/redis/v1alpha1/zz_enterprisecluster_terraformed.go b/apis/redis/v1alpha1/zz_enterprisecluster_terraformed.go new file mode 100755 index 000000000..8eec57d5d --- /dev/null +++ b/apis/redis/v1alpha1/zz_enterprisecluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EnterpriseCluster +func (mg *EnterpriseCluster) GetTerraformResourceType() string { + return "azurerm_redis_enterprise_cluster" +} + +// GetConnectionDetailsMapping for this EnterpriseCluster +func (tr *EnterpriseCluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EnterpriseCluster +func (tr *EnterpriseCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EnterpriseCluster +func (tr *EnterpriseCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EnterpriseCluster +func (tr *EnterpriseCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EnterpriseCluster +func (tr *EnterpriseCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EnterpriseCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EnterpriseCluster) LateInitialize(attrs []byte) (bool, error) { + params := &EnterpriseClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EnterpriseCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/redis/v1alpha1/zz_enterprisecluster_types.go b/apis/redis/v1alpha1/zz_enterprisecluster_types.go new file mode 100755 index 000000000..ed3adcac9 --- /dev/null +++ b/apis/redis/v1alpha1/zz_enterprisecluster_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EnterpriseClusterObservation struct { + Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` + + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type EnterpriseClusterParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +// EnterpriseClusterSpec defines the desired state of EnterpriseCluster +type EnterpriseClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EnterpriseClusterParameters `json:"forProvider"` +} + +// EnterpriseClusterStatus defines the observed state of EnterpriseCluster. +type EnterpriseClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EnterpriseClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EnterpriseCluster is the Schema for the EnterpriseClusters API +// +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,azurejet} +type EnterpriseCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EnterpriseClusterSpec `json:"spec"` + Status EnterpriseClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EnterpriseClusterList contains a list of EnterpriseClusters +type EnterpriseClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EnterpriseCluster `json:"items"` +} + +// Repository type metadata. +var ( + EnterpriseCluster_Kind = "EnterpriseCluster" + EnterpriseCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EnterpriseCluster_Kind}.String() + EnterpriseCluster_KindAPIVersion = EnterpriseCluster_Kind + "." + CRDGroupVersion.String() + EnterpriseCluster_GroupVersionKind = CRDGroupVersion.WithKind(EnterpriseCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&EnterpriseCluster{}, &EnterpriseClusterList{}) +} diff --git a/apis/redis/v1alpha1/zz_enterprisedatabase_terraformed.go b/apis/redis/v1alpha1/zz_enterprisedatabase_terraformed.go new file mode 100755 index 000000000..48542a476 --- /dev/null +++ b/apis/redis/v1alpha1/zz_enterprisedatabase_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EnterpriseDatabase +func (mg *EnterpriseDatabase) GetTerraformResourceType() string { + return "azurerm_redis_enterprise_database" +} + +// GetConnectionDetailsMapping for this EnterpriseDatabase +func (tr *EnterpriseDatabase) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "secondary_access_key": "status.atProvider.secondaryAccessKey"} +} + +// GetObservation of this EnterpriseDatabase +func (tr *EnterpriseDatabase) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EnterpriseDatabase +func (tr *EnterpriseDatabase) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EnterpriseDatabase +func (tr *EnterpriseDatabase) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EnterpriseDatabase +func (tr *EnterpriseDatabase) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EnterpriseDatabase using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EnterpriseDatabase) LateInitialize(attrs []byte) (bool, error) { + params := &EnterpriseDatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EnterpriseDatabase) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/redis/v1alpha1/zz_enterprisedatabase_types.go b/apis/redis/v1alpha1/zz_enterprisedatabase_types.go new file mode 100755 index 000000000..b7423158a --- /dev/null +++ b/apis/redis/v1alpha1/zz_enterprisedatabase_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EnterpriseDatabaseObservation struct { +} + +type EnterpriseDatabaseParameters struct { + + // +kubebuilder:validation:Optional + ClientProtocol *string `json:"clientProtocol,omitempty" tf:"client_protocol,omitempty"` + + // +kubebuilder:validation:Required + ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"` + + // +kubebuilder:validation:Optional + ClusteringPolicy *string `json:"clusteringPolicy,omitempty" tf:"clustering_policy,omitempty"` + + // +kubebuilder:validation:Optional + EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"` + + // +kubebuilder:validation:Optional + Module []ModuleParameters `json:"module,omitempty" tf:"module,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type ModuleObservation struct { + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type ModuleParameters struct { + + // +kubebuilder:validation:Optional + Args *string `json:"args,omitempty" tf:"args,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// EnterpriseDatabaseSpec defines the desired state of EnterpriseDatabase +type EnterpriseDatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EnterpriseDatabaseParameters `json:"forProvider"` +} + +// EnterpriseDatabaseStatus defines the observed state of EnterpriseDatabase. +type EnterpriseDatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EnterpriseDatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EnterpriseDatabase is the Schema for the EnterpriseDatabases API +// +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,azurejet} +type EnterpriseDatabase struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EnterpriseDatabaseSpec `json:"spec"` + Status EnterpriseDatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EnterpriseDatabaseList contains a list of EnterpriseDatabases +type EnterpriseDatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EnterpriseDatabase `json:"items"` +} + +// Repository type metadata. +var ( + EnterpriseDatabase_Kind = "EnterpriseDatabase" + EnterpriseDatabase_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EnterpriseDatabase_Kind}.String() + EnterpriseDatabase_KindAPIVersion = EnterpriseDatabase_Kind + "." + CRDGroupVersion.String() + EnterpriseDatabase_GroupVersionKind = CRDGroupVersion.WithKind(EnterpriseDatabase_Kind) +) + +func init() { + SchemeBuilder.Register(&EnterpriseDatabase{}, &EnterpriseDatabaseList{}) +} diff --git a/apis/redis/v1alpha1/zz_firewallrule_terraformed.go b/apis/redis/v1alpha1/zz_firewallrule_terraformed.go new file mode 100755 index 000000000..d63a12f54 --- /dev/null +++ b/apis/redis/v1alpha1/zz_firewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallRule +func (mg *FirewallRule) GetTerraformResourceType() string { + return "azurerm_redis_firewall_rule" +} + +// GetConnectionDetailsMapping for this FirewallRule +func (tr *FirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallRule +func (tr *FirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallRule +func (tr *FirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallRule +func (tr *FirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallRule +func (tr *FirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/redis/v1alpha1/zz_firewallrule_types.go b/apis/redis/v1alpha1/zz_firewallrule_types.go new file mode 100755 index 000000000..a0797e2f6 --- /dev/null +++ b/apis/redis/v1alpha1/zz_firewallrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallRuleObservation struct { +} + +type FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + EndIP *string `json:"endIp" tf:"end_ip,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RedisCacheName *string `json:"redisCacheName" tf:"redis_cache_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StartIP *string `json:"startIp" tf:"start_ip,omitempty"` +} + +// FirewallRuleSpec defines the desired state of FirewallRule +type FirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallRuleParameters `json:"forProvider"` +} + +// FirewallRuleStatus defines the observed state of FirewallRule. +type FirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRule is the Schema for the FirewallRules API +// +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,azurejet} +type FirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallRuleSpec `json:"spec"` + Status FirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRuleList contains a list of FirewallRules +type FirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + FirewallRule_Kind = "FirewallRule" + FirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String() + FirewallRule_KindAPIVersion = FirewallRule_Kind + "." + CRDGroupVersion.String() + FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallRule{}, &FirewallRuleList{}) +} diff --git a/apis/redis/v1alpha1/zz_generated.deepcopy.go b/apis/redis/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..fbd0aac2c --- /dev/null +++ b/apis/redis/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1134 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Cache) DeepCopyInto(out *Cache) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cache. +func (in *Cache) DeepCopy() *Cache { + if in == nil { + return nil + } + out := new(Cache) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Cache) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheList) DeepCopyInto(out *CacheList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Cache, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheList. +func (in *CacheList) DeepCopy() *CacheList { + if in == nil { + return nil + } + out := new(CacheList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CacheList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheObservation) DeepCopyInto(out *CacheObservation) { + *out = *in + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.SslPort != nil { + in, out := &in.SslPort, &out.SslPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheObservation. +func (in *CacheObservation) DeepCopy() *CacheObservation { + if in == nil { + return nil + } + out := new(CacheObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheParameters) DeepCopyInto(out *CacheParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.EnableNonSslPort != nil { + in, out := &in.EnableNonSslPort, &out.EnableNonSslPort + *out = new(bool) + **out = **in + } + if in.Family != nil { + in, out := &in.Family, &out.Family + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MinimumTLSVersion != nil { + in, out := &in.MinimumTLSVersion, &out.MinimumTLSVersion + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PatchSchedule != nil { + in, out := &in.PatchSchedule, &out.PatchSchedule + *out = make([]PatchScheduleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrivateStaticIPAddress != nil { + in, out := &in.PrivateStaticIPAddress, &out.PrivateStaticIPAddress + *out = new(string) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.RedisConfiguration != nil { + in, out := &in.RedisConfiguration, &out.RedisConfiguration + *out = make([]RedisConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RedisVersion != nil { + in, out := &in.RedisVersion, &out.RedisVersion + *out = new(string) + **out = **in + } + if in.ReplicasPerMaster != nil { + in, out := &in.ReplicasPerMaster, &out.ReplicasPerMaster + *out = new(int64) + **out = **in + } + if in.ReplicasPerPrimary != nil { + in, out := &in.ReplicasPerPrimary, &out.ReplicasPerPrimary + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ShardCount != nil { + in, out := &in.ShardCount, &out.ShardCount + *out = new(int64) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TenantSettings != nil { + in, out := &in.TenantSettings, &out.TenantSettings + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheParameters. +func (in *CacheParameters) DeepCopy() *CacheParameters { + if in == nil { + return nil + } + out := new(CacheParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheSpec) DeepCopyInto(out *CacheSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheSpec. +func (in *CacheSpec) DeepCopy() *CacheSpec { + if in == nil { + return nil + } + out := new(CacheSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CacheStatus) DeepCopyInto(out *CacheStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheStatus. +func (in *CacheStatus) DeepCopy() *CacheStatus { + if in == nil { + return nil + } + out := new(CacheStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseCluster) DeepCopyInto(out *EnterpriseCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseCluster. +func (in *EnterpriseCluster) DeepCopy() *EnterpriseCluster { + if in == nil { + return nil + } + out := new(EnterpriseCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EnterpriseCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseClusterList) DeepCopyInto(out *EnterpriseClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EnterpriseCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseClusterList. +func (in *EnterpriseClusterList) DeepCopy() *EnterpriseClusterList { + if in == nil { + return nil + } + out := new(EnterpriseClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EnterpriseClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseClusterObservation) DeepCopyInto(out *EnterpriseClusterObservation) { + *out = *in + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseClusterObservation. +func (in *EnterpriseClusterObservation) DeepCopy() *EnterpriseClusterObservation { + if in == nil { + return nil + } + out := new(EnterpriseClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseClusterParameters) DeepCopyInto(out *EnterpriseClusterParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MinimumTLSVersion != nil { + in, out := &in.MinimumTLSVersion, &out.MinimumTLSVersion + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseClusterParameters. +func (in *EnterpriseClusterParameters) DeepCopy() *EnterpriseClusterParameters { + if in == nil { + return nil + } + out := new(EnterpriseClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseClusterSpec) DeepCopyInto(out *EnterpriseClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseClusterSpec. +func (in *EnterpriseClusterSpec) DeepCopy() *EnterpriseClusterSpec { + if in == nil { + return nil + } + out := new(EnterpriseClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseClusterStatus) DeepCopyInto(out *EnterpriseClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseClusterStatus. +func (in *EnterpriseClusterStatus) DeepCopy() *EnterpriseClusterStatus { + if in == nil { + return nil + } + out := new(EnterpriseClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseDatabase) DeepCopyInto(out *EnterpriseDatabase) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseDatabase. +func (in *EnterpriseDatabase) DeepCopy() *EnterpriseDatabase { + if in == nil { + return nil + } + out := new(EnterpriseDatabase) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EnterpriseDatabase) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseDatabaseList) DeepCopyInto(out *EnterpriseDatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EnterpriseDatabase, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseDatabaseList. +func (in *EnterpriseDatabaseList) DeepCopy() *EnterpriseDatabaseList { + if in == nil { + return nil + } + out := new(EnterpriseDatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EnterpriseDatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseDatabaseObservation) DeepCopyInto(out *EnterpriseDatabaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseDatabaseObservation. +func (in *EnterpriseDatabaseObservation) DeepCopy() *EnterpriseDatabaseObservation { + if in == nil { + return nil + } + out := new(EnterpriseDatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseDatabaseParameters) DeepCopyInto(out *EnterpriseDatabaseParameters) { + *out = *in + if in.ClientProtocol != nil { + in, out := &in.ClientProtocol, &out.ClientProtocol + *out = new(string) + **out = **in + } + if in.ClusterID != nil { + in, out := &in.ClusterID, &out.ClusterID + *out = new(string) + **out = **in + } + if in.ClusteringPolicy != nil { + in, out := &in.ClusteringPolicy, &out.ClusteringPolicy + *out = new(string) + **out = **in + } + if in.EvictionPolicy != nil { + in, out := &in.EvictionPolicy, &out.EvictionPolicy + *out = new(string) + **out = **in + } + if in.Module != nil { + in, out := &in.Module, &out.Module + *out = make([]ModuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseDatabaseParameters. +func (in *EnterpriseDatabaseParameters) DeepCopy() *EnterpriseDatabaseParameters { + if in == nil { + return nil + } + out := new(EnterpriseDatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseDatabaseSpec) DeepCopyInto(out *EnterpriseDatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseDatabaseSpec. +func (in *EnterpriseDatabaseSpec) DeepCopy() *EnterpriseDatabaseSpec { + if in == nil { + return nil + } + out := new(EnterpriseDatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EnterpriseDatabaseStatus) DeepCopyInto(out *EnterpriseDatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnterpriseDatabaseStatus. +func (in *EnterpriseDatabaseStatus) DeepCopy() *EnterpriseDatabaseStatus { + if in == nil { + return nil + } + out := new(EnterpriseDatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRule) DeepCopyInto(out *FirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule. +func (in *FirewallRule) DeepCopy() *FirewallRule { + if in == nil { + return nil + } + out := new(FirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList. +func (in *FirewallRuleList) DeepCopy() *FirewallRuleList { + if in == nil { + return nil + } + out := new(FirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleObservation. +func (in *FirewallRuleObservation) DeepCopy() *FirewallRuleObservation { + if in == nil { + return nil + } + out := new(FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters) { + *out = *in + if in.EndIP != nil { + in, out := &in.EndIP, &out.EndIP + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RedisCacheName != nil { + in, out := &in.RedisCacheName, &out.RedisCacheName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StartIP != nil { + in, out := &in.StartIP, &out.StartIP + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleParameters. +func (in *FirewallRuleParameters) DeepCopy() *FirewallRuleParameters { + if in == nil { + return nil + } + out := new(FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec. +func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec { + if in == nil { + return nil + } + out := new(FirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus. +func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus { + if in == nil { + return nil + } + out := new(FirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServer) DeepCopyInto(out *LinkedServer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServer. +func (in *LinkedServer) DeepCopy() *LinkedServer { + if in == nil { + return nil + } + out := new(LinkedServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LinkedServer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServerList) DeepCopyInto(out *LinkedServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LinkedServer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServerList. +func (in *LinkedServerList) DeepCopy() *LinkedServerList { + if in == nil { + return nil + } + out := new(LinkedServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LinkedServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServerObservation) DeepCopyInto(out *LinkedServerObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServerObservation. +func (in *LinkedServerObservation) DeepCopy() *LinkedServerObservation { + if in == nil { + return nil + } + out := new(LinkedServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServerParameters) DeepCopyInto(out *LinkedServerParameters) { + *out = *in + if in.LinkedRedisCacheID != nil { + in, out := &in.LinkedRedisCacheID, &out.LinkedRedisCacheID + *out = new(string) + **out = **in + } + if in.LinkedRedisCacheLocation != nil { + in, out := &in.LinkedRedisCacheLocation, &out.LinkedRedisCacheLocation + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerRole != nil { + in, out := &in.ServerRole, &out.ServerRole + *out = new(string) + **out = **in + } + if in.TargetRedisCacheName != nil { + in, out := &in.TargetRedisCacheName, &out.TargetRedisCacheName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServerParameters. +func (in *LinkedServerParameters) DeepCopy() *LinkedServerParameters { + if in == nil { + return nil + } + out := new(LinkedServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServerSpec) DeepCopyInto(out *LinkedServerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServerSpec. +func (in *LinkedServerSpec) DeepCopy() *LinkedServerSpec { + if in == nil { + return nil + } + out := new(LinkedServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServerStatus) DeepCopyInto(out *LinkedServerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServerStatus. +func (in *LinkedServerStatus) DeepCopy() *LinkedServerStatus { + if in == nil { + return nil + } + out := new(LinkedServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleObservation) DeepCopyInto(out *ModuleObservation) { + *out = *in + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleObservation. +func (in *ModuleObservation) DeepCopy() *ModuleObservation { + if in == nil { + return nil + } + out := new(ModuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ModuleParameters) DeepCopyInto(out *ModuleParameters) { + *out = *in + if in.Args != nil { + in, out := &in.Args, &out.Args + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleParameters. +func (in *ModuleParameters) DeepCopy() *ModuleParameters { + if in == nil { + return nil + } + out := new(ModuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PatchScheduleObservation) DeepCopyInto(out *PatchScheduleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchScheduleObservation. +func (in *PatchScheduleObservation) DeepCopy() *PatchScheduleObservation { + if in == nil { + return nil + } + out := new(PatchScheduleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PatchScheduleParameters) DeepCopyInto(out *PatchScheduleParameters) { + *out = *in + if in.DayOfWeek != nil { + in, out := &in.DayOfWeek, &out.DayOfWeek + *out = new(string) + **out = **in + } + if in.MaintenanceWindow != nil { + in, out := &in.MaintenanceWindow, &out.MaintenanceWindow + *out = new(string) + **out = **in + } + if in.StartHourUtc != nil { + in, out := &in.StartHourUtc, &out.StartHourUtc + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchScheduleParameters. +func (in *PatchScheduleParameters) DeepCopy() *PatchScheduleParameters { + if in == nil { + return nil + } + out := new(PatchScheduleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisConfigurationObservation) DeepCopyInto(out *RedisConfigurationObservation) { + *out = *in + if in.Maxclients != nil { + in, out := &in.Maxclients, &out.Maxclients + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisConfigurationObservation. +func (in *RedisConfigurationObservation) DeepCopy() *RedisConfigurationObservation { + if in == nil { + return nil + } + out := new(RedisConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RedisConfigurationParameters) DeepCopyInto(out *RedisConfigurationParameters) { + *out = *in + if in.AofBackupEnabled != nil { + in, out := &in.AofBackupEnabled, &out.AofBackupEnabled + *out = new(bool) + **out = **in + } + if in.AofStorageConnectionString0SecretRef != nil { + in, out := &in.AofStorageConnectionString0SecretRef, &out.AofStorageConnectionString0SecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.AofStorageConnectionString1SecretRef != nil { + in, out := &in.AofStorageConnectionString1SecretRef, &out.AofStorageConnectionString1SecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.EnableAuthentication != nil { + in, out := &in.EnableAuthentication, &out.EnableAuthentication + *out = new(bool) + **out = **in + } + if in.MaxfragmentationmemoryReserved != nil { + in, out := &in.MaxfragmentationmemoryReserved, &out.MaxfragmentationmemoryReserved + *out = new(int64) + **out = **in + } + if in.MaxmemoryDelta != nil { + in, out := &in.MaxmemoryDelta, &out.MaxmemoryDelta + *out = new(int64) + **out = **in + } + if in.MaxmemoryPolicy != nil { + in, out := &in.MaxmemoryPolicy, &out.MaxmemoryPolicy + *out = new(string) + **out = **in + } + if in.MaxmemoryReserved != nil { + in, out := &in.MaxmemoryReserved, &out.MaxmemoryReserved + *out = new(int64) + **out = **in + } + if in.NotifyKeyspaceEvents != nil { + in, out := &in.NotifyKeyspaceEvents, &out.NotifyKeyspaceEvents + *out = new(string) + **out = **in + } + if in.RdbBackupEnabled != nil { + in, out := &in.RdbBackupEnabled, &out.RdbBackupEnabled + *out = new(bool) + **out = **in + } + if in.RdbBackupFrequency != nil { + in, out := &in.RdbBackupFrequency, &out.RdbBackupFrequency + *out = new(int64) + **out = **in + } + if in.RdbBackupMaxSnapshotCount != nil { + in, out := &in.RdbBackupMaxSnapshotCount, &out.RdbBackupMaxSnapshotCount + *out = new(int64) + **out = **in + } + if in.RdbStorageConnectionStringSecretRef != nil { + in, out := &in.RdbStorageConnectionStringSecretRef, &out.RdbStorageConnectionStringSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisConfigurationParameters. +func (in *RedisConfigurationParameters) DeepCopy() *RedisConfigurationParameters { + if in == nil { + return nil + } + out := new(RedisConfigurationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/redis/v1alpha1/zz_generated.managed.go b/apis/redis/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..3bb5feda2 --- /dev/null +++ b/apis/redis/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Cache. +func (mg *Cache) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Cache. +func (mg *Cache) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Cache. +func (mg *Cache) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Cache. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Cache) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Cache. +func (mg *Cache) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Cache. +func (mg *Cache) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Cache. +func (mg *Cache) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Cache. +func (mg *Cache) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Cache. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Cache) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Cache. +func (mg *Cache) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EnterpriseCluster. +func (mg *EnterpriseCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EnterpriseCluster. +func (mg *EnterpriseCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EnterpriseCluster. +func (mg *EnterpriseCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EnterpriseCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EnterpriseCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EnterpriseCluster. +func (mg *EnterpriseCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EnterpriseCluster. +func (mg *EnterpriseCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EnterpriseCluster. +func (mg *EnterpriseCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EnterpriseCluster. +func (mg *EnterpriseCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EnterpriseCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EnterpriseCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EnterpriseCluster. +func (mg *EnterpriseCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EnterpriseDatabase. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EnterpriseDatabase) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EnterpriseDatabase. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EnterpriseDatabase) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EnterpriseDatabase. +func (mg *EnterpriseDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FirewallRule. +func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallRule. +func (mg *FirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LinkedServer. +func (mg *LinkedServer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LinkedServer. +func (mg *LinkedServer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LinkedServer. +func (mg *LinkedServer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LinkedServer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LinkedServer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LinkedServer. +func (mg *LinkedServer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LinkedServer. +func (mg *LinkedServer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LinkedServer. +func (mg *LinkedServer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LinkedServer. +func (mg *LinkedServer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LinkedServer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LinkedServer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LinkedServer. +func (mg *LinkedServer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/redis/v1alpha1/zz_generated.managedlist.go b/apis/redis/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..136a279bf --- /dev/null +++ b/apis/redis/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this CacheList. +func (l *CacheList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EnterpriseClusterList. +func (l *EnterpriseClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EnterpriseDatabaseList. +func (l *EnterpriseDatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallRuleList. +func (l *FirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LinkedServerList. +func (l *LinkedServerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/redis/v1alpha1/zz_groupversion_info.go b/apis/redis/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..847adcec8 --- /dev/null +++ b/apis/redis/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=redis.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "redis.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/redis/v1alpha1/zz_linkedserver_terraformed.go b/apis/redis/v1alpha1/zz_linkedserver_terraformed.go new file mode 100755 index 000000000..10f6f90a8 --- /dev/null +++ b/apis/redis/v1alpha1/zz_linkedserver_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LinkedServer +func (mg *LinkedServer) GetTerraformResourceType() string { + return "azurerm_redis_linked_server" +} + +// GetConnectionDetailsMapping for this LinkedServer +func (tr *LinkedServer) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LinkedServer +func (tr *LinkedServer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LinkedServer +func (tr *LinkedServer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LinkedServer +func (tr *LinkedServer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LinkedServer +func (tr *LinkedServer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LinkedServer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LinkedServer) LateInitialize(attrs []byte) (bool, error) { + params := &LinkedServerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LinkedServer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/redis/v1alpha1/zz_linkedserver_types.go b/apis/redis/v1alpha1/zz_linkedserver_types.go new file mode 100755 index 000000000..4174a2ace --- /dev/null +++ b/apis/redis/v1alpha1/zz_linkedserver_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type LinkedServerObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type LinkedServerParameters struct { + + // +kubebuilder:validation:Required + LinkedRedisCacheID *string `json:"linkedRedisCacheId" tf:"linked_redis_cache_id,omitempty"` + + // +kubebuilder:validation:Required + LinkedRedisCacheLocation *string `json:"linkedRedisCacheLocation" tf:"linked_redis_cache_location,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerRole *string `json:"serverRole" tf:"server_role,omitempty"` + + // +kubebuilder:validation:Required + TargetRedisCacheName *string `json:"targetRedisCacheName" tf:"target_redis_cache_name,omitempty"` +} + +// LinkedServerSpec defines the desired state of LinkedServer +type LinkedServerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LinkedServerParameters `json:"forProvider"` +} + +// LinkedServerStatus defines the observed state of LinkedServer. +type LinkedServerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LinkedServerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LinkedServer is the Schema for the LinkedServers API +// +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,azurejet} +type LinkedServer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LinkedServerSpec `json:"spec"` + Status LinkedServerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LinkedServerList contains a list of LinkedServers +type LinkedServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LinkedServer `json:"items"` +} + +// Repository type metadata. +var ( + LinkedServer_Kind = "LinkedServer" + LinkedServer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LinkedServer_Kind}.String() + LinkedServer_KindAPIVersion = LinkedServer_Kind + "." + CRDGroupVersion.String() + LinkedServer_GroupVersionKind = CRDGroupVersion.WithKind(LinkedServer_Kind) +) + +func init() { + SchemeBuilder.Register(&LinkedServer{}, &LinkedServerList{}) +} diff --git a/apis/relay/v1alpha1/zz_generated.deepcopy.go b/apis/relay/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..d3f7e738e --- /dev/null +++ b/apis/relay/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,647 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnection) DeepCopyInto(out *HybridConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnection. +func (in *HybridConnection) DeepCopy() *HybridConnection { + if in == nil { + return nil + } + out := new(HybridConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HybridConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionAuthorizationRule) DeepCopyInto(out *HybridConnectionAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionAuthorizationRule. +func (in *HybridConnectionAuthorizationRule) DeepCopy() *HybridConnectionAuthorizationRule { + if in == nil { + return nil + } + out := new(HybridConnectionAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HybridConnectionAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionAuthorizationRuleList) DeepCopyInto(out *HybridConnectionAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HybridConnectionAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionAuthorizationRuleList. +func (in *HybridConnectionAuthorizationRuleList) DeepCopy() *HybridConnectionAuthorizationRuleList { + if in == nil { + return nil + } + out := new(HybridConnectionAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HybridConnectionAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionAuthorizationRuleObservation) DeepCopyInto(out *HybridConnectionAuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionAuthorizationRuleObservation. +func (in *HybridConnectionAuthorizationRuleObservation) DeepCopy() *HybridConnectionAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(HybridConnectionAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionAuthorizationRuleParameters) DeepCopyInto(out *HybridConnectionAuthorizationRuleParameters) { + *out = *in + if in.HybridConnectionName != nil { + in, out := &in.HybridConnectionName, &out.HybridConnectionName + *out = new(string) + **out = **in + } + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionAuthorizationRuleParameters. +func (in *HybridConnectionAuthorizationRuleParameters) DeepCopy() *HybridConnectionAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(HybridConnectionAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionAuthorizationRuleSpec) DeepCopyInto(out *HybridConnectionAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionAuthorizationRuleSpec. +func (in *HybridConnectionAuthorizationRuleSpec) DeepCopy() *HybridConnectionAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(HybridConnectionAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionAuthorizationRuleStatus) DeepCopyInto(out *HybridConnectionAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionAuthorizationRuleStatus. +func (in *HybridConnectionAuthorizationRuleStatus) DeepCopy() *HybridConnectionAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(HybridConnectionAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionList) DeepCopyInto(out *HybridConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HybridConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionList. +func (in *HybridConnectionList) DeepCopy() *HybridConnectionList { + if in == nil { + return nil + } + out := new(HybridConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HybridConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionObservation) DeepCopyInto(out *HybridConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionObservation. +func (in *HybridConnectionObservation) DeepCopy() *HybridConnectionObservation { + if in == nil { + return nil + } + out := new(HybridConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionParameters) DeepCopyInto(out *HybridConnectionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RelayNamespaceName != nil { + in, out := &in.RelayNamespaceName, &out.RelayNamespaceName + *out = new(string) + **out = **in + } + if in.RequiresClientAuthorization != nil { + in, out := &in.RequiresClientAuthorization, &out.RequiresClientAuthorization + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.UserMetadata != nil { + in, out := &in.UserMetadata, &out.UserMetadata + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionParameters. +func (in *HybridConnectionParameters) DeepCopy() *HybridConnectionParameters { + if in == nil { + return nil + } + out := new(HybridConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionSpec) DeepCopyInto(out *HybridConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionSpec. +func (in *HybridConnectionSpec) DeepCopy() *HybridConnectionSpec { + if in == nil { + return nil + } + out := new(HybridConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HybridConnectionStatus) DeepCopyInto(out *HybridConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybridConnectionStatus. +func (in *HybridConnectionStatus) DeepCopy() *HybridConnectionStatus { + if in == nil { + return nil + } + out := new(HybridConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace) DeepCopyInto(out *Namespace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. +func (in *Namespace) DeepCopy() *Namespace { + if in == nil { + return nil + } + out := new(Namespace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Namespace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRule) DeepCopyInto(out *NamespaceAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRule. +func (in *NamespaceAuthorizationRule) DeepCopy() *NamespaceAuthorizationRule { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleList) DeepCopyInto(out *NamespaceAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleList. +func (in *NamespaceAuthorizationRuleList) DeepCopy() *NamespaceAuthorizationRuleList { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleObservation) DeepCopyInto(out *NamespaceAuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleObservation. +func (in *NamespaceAuthorizationRuleObservation) DeepCopy() *NamespaceAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleParameters) DeepCopyInto(out *NamespaceAuthorizationRuleParameters) { + *out = *in + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleParameters. +func (in *NamespaceAuthorizationRuleParameters) DeepCopy() *NamespaceAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleSpec) DeepCopyInto(out *NamespaceAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleSpec. +func (in *NamespaceAuthorizationRuleSpec) DeepCopy() *NamespaceAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleStatus) DeepCopyInto(out *NamespaceAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleStatus. +func (in *NamespaceAuthorizationRuleStatus) DeepCopy() *NamespaceAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Namespace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. +func (in *NamespaceList) DeepCopy() *NamespaceList { + if in == nil { + return nil + } + out := new(NamespaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceObservation) DeepCopyInto(out *NamespaceObservation) { + *out = *in + if in.MetricID != nil { + in, out := &in.MetricID, &out.MetricID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation. +func (in *NamespaceObservation) DeepCopy() *NamespaceObservation { + if in == nil { + return nil + } + out := new(NamespaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters. +func (in *NamespaceParameters) DeepCopy() *NamespaceParameters { + if in == nil { + return nil + } + out := new(NamespaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. +func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { + if in == nil { + return nil + } + out := new(NamespaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. +func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { + if in == nil { + return nil + } + out := new(NamespaceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/relay/v1alpha1/zz_generated.managed.go b/apis/relay/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..7af72c2b6 --- /dev/null +++ b/apis/relay/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this HybridConnection. +func (mg *HybridConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HybridConnection. +func (mg *HybridConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HybridConnection. +func (mg *HybridConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HybridConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HybridConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HybridConnection. +func (mg *HybridConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HybridConnection. +func (mg *HybridConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HybridConnection. +func (mg *HybridConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HybridConnection. +func (mg *HybridConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HybridConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HybridConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HybridConnection. +func (mg *HybridConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HybridConnectionAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HybridConnectionAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HybridConnectionAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HybridConnectionAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HybridConnectionAuthorizationRule. +func (mg *HybridConnectionAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Namespace. +func (mg *Namespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Namespace. +func (mg *Namespace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Namespace. +func (mg *Namespace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Namespace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Namespace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Namespace. +func (mg *Namespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Namespace. +func (mg *Namespace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Namespace. +func (mg *Namespace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Namespace. +func (mg *Namespace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Namespace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Namespace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Namespace. +func (mg *Namespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/relay/v1alpha1/zz_generated.managedlist.go b/apis/relay/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b46c95788 --- /dev/null +++ b/apis/relay/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this HybridConnectionAuthorizationRuleList. +func (l *HybridConnectionAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this HybridConnectionList. +func (l *HybridConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceAuthorizationRuleList. +func (l *NamespaceAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceList. +func (l *NamespaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/relay/v1alpha1/zz_groupversion_info.go b/apis/relay/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..33815a61b --- /dev/null +++ b/apis/relay/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=relay.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "relay.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/relay/v1alpha1/zz_hybridconnection_terraformed.go b/apis/relay/v1alpha1/zz_hybridconnection_terraformed.go new file mode 100755 index 000000000..8192f0676 --- /dev/null +++ b/apis/relay/v1alpha1/zz_hybridconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HybridConnection +func (mg *HybridConnection) GetTerraformResourceType() string { + return "azurerm_relay_hybrid_connection" +} + +// GetConnectionDetailsMapping for this HybridConnection +func (tr *HybridConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this HybridConnection +func (tr *HybridConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HybridConnection +func (tr *HybridConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HybridConnection +func (tr *HybridConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HybridConnection +func (tr *HybridConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HybridConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HybridConnection) LateInitialize(attrs []byte) (bool, error) { + params := &HybridConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HybridConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/relay/v1alpha1/zz_hybridconnection_types.go b/apis/relay/v1alpha1/zz_hybridconnection_types.go new file mode 100755 index 000000000..4ea7199c1 --- /dev/null +++ b/apis/relay/v1alpha1/zz_hybridconnection_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HybridConnectionObservation struct { +} + +type HybridConnectionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RelayNamespaceName *string `json:"relayNamespaceName" tf:"relay_namespace_name,omitempty"` + + // +kubebuilder:validation:Optional + RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty" tf:"requires_client_authorization,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + UserMetadata *string `json:"userMetadata,omitempty" tf:"user_metadata,omitempty"` +} + +// HybridConnectionSpec defines the desired state of HybridConnection +type HybridConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HybridConnectionParameters `json:"forProvider"` +} + +// HybridConnectionStatus defines the observed state of HybridConnection. +type HybridConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HybridConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HybridConnection is the Schema for the HybridConnections API +// +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,azurejet} +type HybridConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HybridConnectionSpec `json:"spec"` + Status HybridConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HybridConnectionList contains a list of HybridConnections +type HybridConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HybridConnection `json:"items"` +} + +// Repository type metadata. +var ( + HybridConnection_Kind = "HybridConnection" + HybridConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HybridConnection_Kind}.String() + HybridConnection_KindAPIVersion = HybridConnection_Kind + "." + CRDGroupVersion.String() + HybridConnection_GroupVersionKind = CRDGroupVersion.WithKind(HybridConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&HybridConnection{}, &HybridConnectionList{}) +} diff --git a/apis/relay/v1alpha1/zz_hybridconnectionauthorizationrule_terraformed.go b/apis/relay/v1alpha1/zz_hybridconnectionauthorizationrule_terraformed.go new file mode 100755 index 000000000..16ca386d7 --- /dev/null +++ b/apis/relay/v1alpha1/zz_hybridconnectionauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HybridConnectionAuthorizationRule +func (mg *HybridConnectionAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_relay_hybrid_connection_authorization_rule" +} + +// GetConnectionDetailsMapping for this HybridConnectionAuthorizationRule +func (tr *HybridConnectionAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this HybridConnectionAuthorizationRule +func (tr *HybridConnectionAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HybridConnectionAuthorizationRule +func (tr *HybridConnectionAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HybridConnectionAuthorizationRule +func (tr *HybridConnectionAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HybridConnectionAuthorizationRule +func (tr *HybridConnectionAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HybridConnectionAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HybridConnectionAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &HybridConnectionAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HybridConnectionAuthorizationRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/relay/v1alpha1/zz_hybridconnectionauthorizationrule_types.go b/apis/relay/v1alpha1/zz_hybridconnectionauthorizationrule_types.go new file mode 100755 index 000000000..e1107a84b --- /dev/null +++ b/apis/relay/v1alpha1/zz_hybridconnectionauthorizationrule_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HybridConnectionAuthorizationRuleObservation struct { +} + +type HybridConnectionAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Required + HybridConnectionName *string `json:"hybridConnectionName" tf:"hybrid_connection_name,omitempty"` + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// HybridConnectionAuthorizationRuleSpec defines the desired state of HybridConnectionAuthorizationRule +type HybridConnectionAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HybridConnectionAuthorizationRuleParameters `json:"forProvider"` +} + +// HybridConnectionAuthorizationRuleStatus defines the observed state of HybridConnectionAuthorizationRule. +type HybridConnectionAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HybridConnectionAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HybridConnectionAuthorizationRule is the Schema for the HybridConnectionAuthorizationRules API +// +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,azurejet} +type HybridConnectionAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HybridConnectionAuthorizationRuleSpec `json:"spec"` + Status HybridConnectionAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HybridConnectionAuthorizationRuleList contains a list of HybridConnectionAuthorizationRules +type HybridConnectionAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HybridConnectionAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + HybridConnectionAuthorizationRule_Kind = "HybridConnectionAuthorizationRule" + HybridConnectionAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HybridConnectionAuthorizationRule_Kind}.String() + HybridConnectionAuthorizationRule_KindAPIVersion = HybridConnectionAuthorizationRule_Kind + "." + CRDGroupVersion.String() + HybridConnectionAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(HybridConnectionAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&HybridConnectionAuthorizationRule{}, &HybridConnectionAuthorizationRuleList{}) +} diff --git a/apis/relay/v1alpha1/zz_namespace_terraformed.go b/apis/relay/v1alpha1/zz_namespace_terraformed.go new file mode 100755 index 000000000..a4f3565eb --- /dev/null +++ b/apis/relay/v1alpha1/zz_namespace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Namespace +func (mg *Namespace) GetTerraformResourceType() string { + return "azurerm_relay_namespace" +} + +// GetConnectionDetailsMapping for this Namespace +func (tr *Namespace) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this Namespace +func (tr *Namespace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Namespace +func (tr *Namespace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Namespace +func (tr *Namespace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Namespace +func (tr *Namespace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Namespace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Namespace) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Namespace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/relay/v1alpha1/zz_namespace_types.go b/apis/relay/v1alpha1/zz_namespace_types.go new file mode 100755 index 000000000..a9b697673 --- /dev/null +++ b/apis/relay/v1alpha1/zz_namespace_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceObservation struct { + MetricID *string `json:"metricId,omitempty" tf:"metric_id,omitempty"` +} + +type NamespaceParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// NamespaceSpec defines the desired state of Namespace +type NamespaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceParameters `json:"forProvider"` +} + +// NamespaceStatus defines the observed state of Namespace. +type NamespaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Namespace is the Schema for the Namespaces API +// +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,azurejet} +type Namespace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceSpec `json:"spec"` + Status NamespaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceList contains a list of Namespaces +type NamespaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Namespace `json:"items"` +} + +// Repository type metadata. +var ( + Namespace_Kind = "Namespace" + Namespace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Namespace_Kind}.String() + Namespace_KindAPIVersion = Namespace_Kind + "." + CRDGroupVersion.String() + Namespace_GroupVersionKind = CRDGroupVersion.WithKind(Namespace_Kind) +) + +func init() { + SchemeBuilder.Register(&Namespace{}, &NamespaceList{}) +} diff --git a/apis/relay/v1alpha1/zz_namespaceauthorizationrule_terraformed.go b/apis/relay/v1alpha1/zz_namespaceauthorizationrule_terraformed.go new file mode 100755 index 000000000..7459f924f --- /dev/null +++ b/apis/relay/v1alpha1/zz_namespaceauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceAuthorizationRule +func (mg *NamespaceAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_relay_namespace_authorization_rule" +} + +// GetConnectionDetailsMapping for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceAuthorizationRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/relay/v1alpha1/zz_namespaceauthorizationrule_types.go b/apis/relay/v1alpha1/zz_namespaceauthorizationrule_types.go new file mode 100755 index 000000000..57a18f7b3 --- /dev/null +++ b/apis/relay/v1alpha1/zz_namespaceauthorizationrule_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceAuthorizationRuleObservation struct { +} + +type NamespaceAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// NamespaceAuthorizationRuleSpec defines the desired state of NamespaceAuthorizationRule +type NamespaceAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceAuthorizationRuleParameters `json:"forProvider"` +} + +// NamespaceAuthorizationRuleStatus defines the observed state of NamespaceAuthorizationRule. +type NamespaceAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceAuthorizationRule is the Schema for the NamespaceAuthorizationRules API +// +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,azurejet} +type NamespaceAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceAuthorizationRuleSpec `json:"spec"` + Status NamespaceAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceAuthorizationRuleList contains a list of NamespaceAuthorizationRules +type NamespaceAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceAuthorizationRule_Kind = "NamespaceAuthorizationRule" + NamespaceAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceAuthorizationRule_Kind}.String() + NamespaceAuthorizationRule_KindAPIVersion = NamespaceAuthorizationRule_Kind + "." + CRDGroupVersion.String() + NamespaceAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceAuthorizationRule{}, &NamespaceAuthorizationRuleList{}) +} diff --git a/apis/resource/v1alpha1/zz_generated.deepcopy.go b/apis/resource/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2edc06c56 --- /dev/null +++ b/apis/resource/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,384 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignment) DeepCopyInto(out *PolicyAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignment. +func (in *PolicyAssignment) DeepCopy() *PolicyAssignment { + if in == nil { + return nil + } + out := new(PolicyAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentList) DeepCopyInto(out *PolicyAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PolicyAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentList. +func (in *PolicyAssignmentList) DeepCopy() *PolicyAssignmentList { + if in == nil { + return nil + } + out := new(PolicyAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentObservation) DeepCopyInto(out *PolicyAssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentObservation. +func (in *PolicyAssignmentObservation) DeepCopy() *PolicyAssignmentObservation { + if in == nil { + return nil + } + out := new(PolicyAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentParameters) DeepCopyInto(out *PolicyAssignmentParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Enforce != nil { + in, out := &in.Enforce, &out.Enforce + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotScopes != nil { + in, out := &in.NotScopes, &out.NotScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } + if in.PolicyDefinitionID != nil { + in, out := &in.PolicyDefinitionID, &out.PolicyDefinitionID + *out = new(string) + **out = **in + } + if in.ResourceID != nil { + in, out := &in.ResourceID, &out.ResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentParameters. +func (in *PolicyAssignmentParameters) DeepCopy() *PolicyAssignmentParameters { + if in == nil { + return nil + } + out := new(PolicyAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentSpec) DeepCopyInto(out *PolicyAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentSpec. +func (in *PolicyAssignmentSpec) DeepCopy() *PolicyAssignmentSpec { + if in == nil { + return nil + } + out := new(PolicyAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentStatus) DeepCopyInto(out *PolicyAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentStatus. +func (in *PolicyAssignmentStatus) DeepCopy() *PolicyAssignmentStatus { + if in == nil { + return nil + } + out := new(PolicyAssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderRegistration) DeepCopyInto(out *ProviderRegistration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRegistration. +func (in *ProviderRegistration) DeepCopy() *ProviderRegistration { + if in == nil { + return nil + } + out := new(ProviderRegistration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProviderRegistration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderRegistrationList) DeepCopyInto(out *ProviderRegistrationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ProviderRegistration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRegistrationList. +func (in *ProviderRegistrationList) DeepCopy() *ProviderRegistrationList { + if in == nil { + return nil + } + out := new(ProviderRegistrationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ProviderRegistrationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderRegistrationObservation) DeepCopyInto(out *ProviderRegistrationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRegistrationObservation. +func (in *ProviderRegistrationObservation) DeepCopy() *ProviderRegistrationObservation { + if in == nil { + return nil + } + out := new(ProviderRegistrationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderRegistrationParameters) DeepCopyInto(out *ProviderRegistrationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRegistrationParameters. +func (in *ProviderRegistrationParameters) DeepCopy() *ProviderRegistrationParameters { + if in == nil { + return nil + } + out := new(ProviderRegistrationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderRegistrationSpec) DeepCopyInto(out *ProviderRegistrationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRegistrationSpec. +func (in *ProviderRegistrationSpec) DeepCopy() *ProviderRegistrationSpec { + if in == nil { + return nil + } + out := new(ProviderRegistrationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProviderRegistrationStatus) DeepCopyInto(out *ProviderRegistrationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderRegistrationStatus. +func (in *ProviderRegistrationStatus) DeepCopy() *ProviderRegistrationStatus { + if in == nil { + return nil + } + out := new(ProviderRegistrationStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/resource/v1alpha1/zz_generated.managed.go b/apis/resource/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e77a4467b --- /dev/null +++ b/apis/resource/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this PolicyAssignment. +func (mg *PolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PolicyAssignment. +func (mg *PolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PolicyAssignment. +func (mg *PolicyAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PolicyAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PolicyAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PolicyAssignment. +func (mg *PolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyAssignment. +func (mg *PolicyAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PolicyAssignment. +func (mg *PolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PolicyAssignment. +func (mg *PolicyAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PolicyAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PolicyAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyAssignment. +func (mg *PolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ProviderRegistration. +func (mg *ProviderRegistration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ProviderRegistration. +func (mg *ProviderRegistration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ProviderRegistration. +func (mg *ProviderRegistration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ProviderRegistration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ProviderRegistration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ProviderRegistration. +func (mg *ProviderRegistration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ProviderRegistration. +func (mg *ProviderRegistration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ProviderRegistration. +func (mg *ProviderRegistration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ProviderRegistration. +func (mg *ProviderRegistration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ProviderRegistration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ProviderRegistration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ProviderRegistration. +func (mg *ProviderRegistration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/resource/v1alpha1/zz_generated.managedlist.go b/apis/resource/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..94f40c4a6 --- /dev/null +++ b/apis/resource/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this PolicyAssignmentList. +func (l *PolicyAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ProviderRegistrationList. +func (l *ProviderRegistrationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/resource/v1alpha1/zz_groupversion_info.go b/apis/resource/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..12ee361c7 --- /dev/null +++ b/apis/resource/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=resource.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "resource.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/resource/v1alpha1/zz_policyassignment_terraformed.go b/apis/resource/v1alpha1/zz_policyassignment_terraformed.go new file mode 100755 index 000000000..cc672945e --- /dev/null +++ b/apis/resource/v1alpha1/zz_policyassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyAssignment +func (mg *PolicyAssignment) GetTerraformResourceType() string { + return "azurerm_resource_policy_assignment" +} + +// GetConnectionDetailsMapping for this PolicyAssignment +func (tr *PolicyAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyAssignment +func (tr *PolicyAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyAssignment +func (tr *PolicyAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PolicyAssignment +func (tr *PolicyAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyAssignment +func (tr *PolicyAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PolicyAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyAssignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/resource/v1alpha1/zz_policyassignment_types.go b/apis/resource/v1alpha1/zz_policyassignment_types.go new file mode 100755 index 000000000..654da409e --- /dev/null +++ b/apis/resource/v1alpha1/zz_policyassignment_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type PolicyAssignmentObservation struct { +} + +type PolicyAssignmentParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + PolicyDefinitionID *string `json:"policyDefinitionId" tf:"policy_definition_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceID *string `json:"resourceId" tf:"resource_id,omitempty"` +} + +// PolicyAssignmentSpec defines the desired state of PolicyAssignment +type PolicyAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyAssignmentParameters `json:"forProvider"` +} + +// PolicyAssignmentStatus defines the observed state of PolicyAssignment. +type PolicyAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyAssignment is the Schema for the PolicyAssignments API +// +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,azurejet} +type PolicyAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PolicyAssignmentSpec `json:"spec"` + Status PolicyAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyAssignmentList contains a list of PolicyAssignments +type PolicyAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyAssignment `json:"items"` +} + +// Repository type metadata. +var ( + PolicyAssignment_Kind = "PolicyAssignment" + PolicyAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyAssignment_Kind}.String() + PolicyAssignment_KindAPIVersion = PolicyAssignment_Kind + "." + CRDGroupVersion.String() + PolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(PolicyAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyAssignment{}, &PolicyAssignmentList{}) +} diff --git a/apis/resource/v1alpha1/zz_providerregistration_terraformed.go b/apis/resource/v1alpha1/zz_providerregistration_terraformed.go new file mode 100755 index 000000000..e66e0e13d --- /dev/null +++ b/apis/resource/v1alpha1/zz_providerregistration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ProviderRegistration +func (mg *ProviderRegistration) GetTerraformResourceType() string { + return "azurerm_resource_provider_registration" +} + +// GetConnectionDetailsMapping for this ProviderRegistration +func (tr *ProviderRegistration) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ProviderRegistration +func (tr *ProviderRegistration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ProviderRegistration +func (tr *ProviderRegistration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ProviderRegistration +func (tr *ProviderRegistration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ProviderRegistration +func (tr *ProviderRegistration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ProviderRegistration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ProviderRegistration) LateInitialize(attrs []byte) (bool, error) { + params := &ProviderRegistrationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ProviderRegistration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/resource/v1alpha1/zz_providerregistration_types.go b/apis/resource/v1alpha1/zz_providerregistration_types.go new file mode 100755 index 000000000..7805411fb --- /dev/null +++ b/apis/resource/v1alpha1/zz_providerregistration_types.go @@ -0,0 +1,84 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ProviderRegistrationObservation struct { +} + +type ProviderRegistrationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// ProviderRegistrationSpec defines the desired state of ProviderRegistration +type ProviderRegistrationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ProviderRegistrationParameters `json:"forProvider"` +} + +// ProviderRegistrationStatus defines the observed state of ProviderRegistration. +type ProviderRegistrationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ProviderRegistrationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProviderRegistration is the Schema for the ProviderRegistrations API +// +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,azurejet} +type ProviderRegistration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ProviderRegistrationSpec `json:"spec"` + Status ProviderRegistrationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ProviderRegistrationList contains a list of ProviderRegistrations +type ProviderRegistrationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ProviderRegistration `json:"items"` +} + +// Repository type metadata. +var ( + ProviderRegistration_Kind = "ProviderRegistration" + ProviderRegistration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ProviderRegistration_Kind}.String() + ProviderRegistration_KindAPIVersion = ProviderRegistration_Kind + "." + CRDGroupVersion.String() + ProviderRegistration_GroupVersionKind = CRDGroupVersion.WithKind(ProviderRegistration_Kind) +) + +func init() { + SchemeBuilder.Register(&ProviderRegistration{}, &ProviderRegistrationList{}) +} diff --git a/apis/role/v1alpha1/zz_assignment_terraformed.go b/apis/role/v1alpha1/zz_assignment_terraformed.go new file mode 100755 index 000000000..a72509d0e --- /dev/null +++ b/apis/role/v1alpha1/zz_assignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Assignment +func (mg *Assignment) GetTerraformResourceType() string { + return "azurerm_role_assignment" +} + +// GetConnectionDetailsMapping for this Assignment +func (tr *Assignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Assignment +func (tr *Assignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Assignment +func (tr *Assignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Assignment +func (tr *Assignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Assignment +func (tr *Assignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Assignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Assignment) LateInitialize(attrs []byte) (bool, error) { + params := &AssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Assignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/role/v1alpha1/zz_assignment_types.go b/apis/role/v1alpha1/zz_assignment_types.go new file mode 100755 index 000000000..352ef7ca1 --- /dev/null +++ b/apis/role/v1alpha1/zz_assignment_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignmentObservation struct { + PrincipalType *string `json:"principalType,omitempty" tf:"principal_type,omitempty"` +} + +type AssignmentParameters struct { + + // +kubebuilder:validation:Optional + Condition *string `json:"condition,omitempty" tf:"condition,omitempty"` + + // +kubebuilder:validation:Optional + ConditionVersion *string `json:"conditionVersion,omitempty" tf:"condition_version,omitempty"` + + // +kubebuilder:validation:Optional + DelegatedManagedIdentityResourceID *string `json:"delegatedManagedIdentityResourceId,omitempty" tf:"delegated_managed_identity_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrincipalID *string `json:"principalId" tf:"principal_id,omitempty"` + + // +kubebuilder:validation:Optional + RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"` + + // +kubebuilder:validation:Optional + RoleDefinitionName *string `json:"roleDefinitionName,omitempty" tf:"role_definition_name,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` + + // +kubebuilder:validation:Optional + SkipServicePrincipalAadCheck *bool `json:"skipServicePrincipalAadCheck,omitempty" tf:"skip_service_principal_aad_check,omitempty"` +} + +// AssignmentSpec defines the desired state of Assignment +type AssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignmentParameters `json:"forProvider"` +} + +// AssignmentStatus defines the observed state of Assignment. +type AssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Assignment is the Schema for the Assignments API +// +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,azurejet} +type Assignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignmentSpec `json:"spec"` + Status AssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignmentList contains a list of Assignments +type AssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Assignment `json:"items"` +} + +// Repository type metadata. +var ( + Assignment_Kind = "Assignment" + Assignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Assignment_Kind}.String() + Assignment_KindAPIVersion = Assignment_Kind + "." + CRDGroupVersion.String() + Assignment_GroupVersionKind = CRDGroupVersion.WithKind(Assignment_Kind) +) + +func init() { + SchemeBuilder.Register(&Assignment{}, &AssignmentList{}) +} diff --git a/apis/role/v1alpha1/zz_definition_terraformed.go b/apis/role/v1alpha1/zz_definition_terraformed.go new file mode 100755 index 000000000..9f43f42cf --- /dev/null +++ b/apis/role/v1alpha1/zz_definition_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Definition +func (mg *Definition) GetTerraformResourceType() string { + return "azurerm_role_definition" +} + +// GetConnectionDetailsMapping for this Definition +func (tr *Definition) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Definition +func (tr *Definition) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Definition +func (tr *Definition) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Definition +func (tr *Definition) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Definition +func (tr *Definition) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Definition using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Definition) LateInitialize(attrs []byte) (bool, error) { + params := &DefinitionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Definition) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/role/v1alpha1/zz_definition_types.go b/apis/role/v1alpha1/zz_definition_types.go new file mode 100755 index 000000000..d9da8a539 --- /dev/null +++ b/apis/role/v1alpha1/zz_definition_types.go @@ -0,0 +1,118 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DefinitionObservation struct { + RoleDefinitionResourceID *string `json:"roleDefinitionResourceId,omitempty" tf:"role_definition_resource_id,omitempty"` +} + +type DefinitionParameters struct { + + // +kubebuilder:validation:Optional + AssignableScopes []*string `json:"assignableScopes,omitempty" tf:"assignable_scopes,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Permissions []PermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` + + // +kubebuilder:validation:Optional + RoleDefinitionID *string `json:"roleDefinitionId,omitempty" tf:"role_definition_id,omitempty"` + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` +} + +type PermissionsObservation struct { +} + +type PermissionsParameters struct { + + // +kubebuilder:validation:Optional + Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"` + + // +kubebuilder:validation:Optional + DataActions []*string `json:"dataActions,omitempty" tf:"data_actions,omitempty"` + + // +kubebuilder:validation:Optional + NotActions []*string `json:"notActions,omitempty" tf:"not_actions,omitempty"` + + // +kubebuilder:validation:Optional + NotDataActions []*string `json:"notDataActions,omitempty" tf:"not_data_actions,omitempty"` +} + +// DefinitionSpec defines the desired state of Definition +type DefinitionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DefinitionParameters `json:"forProvider"` +} + +// DefinitionStatus defines the observed state of Definition. +type DefinitionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DefinitionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Definition is the Schema for the Definitions API +// +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,azurejet} +type Definition struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DefinitionSpec `json:"spec"` + Status DefinitionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DefinitionList contains a list of Definitions +type DefinitionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Definition `json:"items"` +} + +// Repository type metadata. +var ( + Definition_Kind = "Definition" + Definition_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Definition_Kind}.String() + Definition_KindAPIVersion = Definition_Kind + "." + CRDGroupVersion.String() + Definition_GroupVersionKind = CRDGroupVersion.WithKind(Definition_Kind) +) + +func init() { + SchemeBuilder.Register(&Definition{}, &DefinitionList{}) +} diff --git a/apis/role/v1alpha1/zz_generated.deepcopy.go b/apis/role/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..c8ea085c5 --- /dev/null +++ b/apis/role/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,443 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Assignment) DeepCopyInto(out *Assignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assignment. +func (in *Assignment) DeepCopy() *Assignment { + if in == nil { + return nil + } + out := new(Assignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Assignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentList) DeepCopyInto(out *AssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Assignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentList. +func (in *AssignmentList) DeepCopy() *AssignmentList { + if in == nil { + return nil + } + out := new(AssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentObservation) DeepCopyInto(out *AssignmentObservation) { + *out = *in + if in.PrincipalType != nil { + in, out := &in.PrincipalType, &out.PrincipalType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentObservation. +func (in *AssignmentObservation) DeepCopy() *AssignmentObservation { + if in == nil { + return nil + } + out := new(AssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentParameters) DeepCopyInto(out *AssignmentParameters) { + *out = *in + if in.Condition != nil { + in, out := &in.Condition, &out.Condition + *out = new(string) + **out = **in + } + if in.ConditionVersion != nil { + in, out := &in.ConditionVersion, &out.ConditionVersion + *out = new(string) + **out = **in + } + if in.DelegatedManagedIdentityResourceID != nil { + in, out := &in.DelegatedManagedIdentityResourceID, &out.DelegatedManagedIdentityResourceID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.RoleDefinitionID != nil { + in, out := &in.RoleDefinitionID, &out.RoleDefinitionID + *out = new(string) + **out = **in + } + if in.RoleDefinitionName != nil { + in, out := &in.RoleDefinitionName, &out.RoleDefinitionName + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.SkipServicePrincipalAadCheck != nil { + in, out := &in.SkipServicePrincipalAadCheck, &out.SkipServicePrincipalAadCheck + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentParameters. +func (in *AssignmentParameters) DeepCopy() *AssignmentParameters { + if in == nil { + return nil + } + out := new(AssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentSpec. +func (in *AssignmentSpec) DeepCopy() *AssignmentSpec { + if in == nil { + return nil + } + out := new(AssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignmentStatus. +func (in *AssignmentStatus) DeepCopy() *AssignmentStatus { + if in == nil { + return nil + } + out := new(AssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Definition) DeepCopyInto(out *Definition) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Definition. +func (in *Definition) DeepCopy() *Definition { + if in == nil { + return nil + } + out := new(Definition) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Definition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionList) DeepCopyInto(out *DefinitionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Definition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionList. +func (in *DefinitionList) DeepCopy() *DefinitionList { + if in == nil { + return nil + } + out := new(DefinitionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionObservation) DeepCopyInto(out *DefinitionObservation) { + *out = *in + if in.RoleDefinitionResourceID != nil { + in, out := &in.RoleDefinitionResourceID, &out.RoleDefinitionResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionObservation. +func (in *DefinitionObservation) DeepCopy() *DefinitionObservation { + if in == nil { + return nil + } + out := new(DefinitionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionParameters) DeepCopyInto(out *DefinitionParameters) { + *out = *in + if in.AssignableScopes != nil { + in, out := &in.AssignableScopes, &out.AssignableScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Permissions != nil { + in, out := &in.Permissions, &out.Permissions + *out = make([]PermissionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RoleDefinitionID != nil { + in, out := &in.RoleDefinitionID, &out.RoleDefinitionID + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionParameters. +func (in *DefinitionParameters) DeepCopy() *DefinitionParameters { + if in == nil { + return nil + } + out := new(DefinitionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionSpec) DeepCopyInto(out *DefinitionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionSpec. +func (in *DefinitionSpec) DeepCopy() *DefinitionSpec { + if in == nil { + return nil + } + out := new(DefinitionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefinitionStatus) DeepCopyInto(out *DefinitionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionStatus. +func (in *DefinitionStatus) DeepCopy() *DefinitionStatus { + if in == nil { + return nil + } + out := new(DefinitionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsObservation. +func (in *PermissionsObservation) DeepCopy() *PermissionsObservation { + if in == nil { + return nil + } + out := new(PermissionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters) { + *out = *in + if in.Actions != nil { + in, out := &in.Actions, &out.Actions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DataActions != nil { + in, out := &in.DataActions, &out.DataActions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NotActions != nil { + in, out := &in.NotActions, &out.NotActions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NotDataActions != nil { + in, out := &in.NotDataActions, &out.NotDataActions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsParameters. +func (in *PermissionsParameters) DeepCopy() *PermissionsParameters { + if in == nil { + return nil + } + out := new(PermissionsParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/role/v1alpha1/zz_generated.managed.go b/apis/role/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..8aa89af99 --- /dev/null +++ b/apis/role/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Assignment. +func (mg *Assignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Assignment. +func (mg *Assignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Assignment. +func (mg *Assignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Assignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Assignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Assignment. +func (mg *Assignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Assignment. +func (mg *Assignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Assignment. +func (mg *Assignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Assignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Assignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Assignment. +func (mg *Assignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Definition. +func (mg *Definition) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Definition. +func (mg *Definition) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Definition. +func (mg *Definition) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Definition. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Definition) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Definition. +func (mg *Definition) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Definition. +func (mg *Definition) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Definition. +func (mg *Definition) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Definition. +func (mg *Definition) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Definition. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Definition) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Definition. +func (mg *Definition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/role/v1alpha1/zz_generated.managedlist.go b/apis/role/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..ef3a319dd --- /dev/null +++ b/apis/role/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssignmentList. +func (l *AssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DefinitionList. +func (l *DefinitionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/role/v1alpha1/zz_groupversion_info.go b/apis/role/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..d958087cd --- /dev/null +++ b/apis/role/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=role.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "role.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/search/v1alpha1/zz_generated.deepcopy.go b/apis/search/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..1843f9b94 --- /dev/null +++ b/apis/search/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,318 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryKeysObservation) DeepCopyInto(out *QueryKeysObservation) { + *out = *in + if in.Key != nil { + in, out := &in.Key, &out.Key + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryKeysObservation. +func (in *QueryKeysObservation) DeepCopy() *QueryKeysObservation { + if in == nil { + return nil + } + out := new(QueryKeysObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueryKeysParameters) DeepCopyInto(out *QueryKeysParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryKeysParameters. +func (in *QueryKeysParameters) DeepCopy() *QueryKeysParameters { + if in == nil { + return nil + } + out := new(QueryKeysParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Service) DeepCopyInto(out *Service) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { + return nil + } + out := new(Service) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceList) DeepCopyInto(out *ServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Service, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { + return nil + } + out := new(ServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { + *out = *in + if in.PrimaryKey != nil { + in, out := &in.PrimaryKey, &out.PrimaryKey + *out = new(string) + **out = **in + } + if in.QueryKeys != nil { + in, out := &in.QueryKeys, &out.QueryKeys + *out = make([]QueryKeysObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SecondaryKey != nil { + in, out := &in.SecondaryKey, &out.SecondaryKey + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation. +func (in *ServiceObservation) DeepCopy() *ServiceObservation { + if in == nil { + return nil + } + out := new(ServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { + *out = *in + if in.AllowedIps != nil { + in, out := &in.AllowedIps, &out.AllowedIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PartitionCount != nil { + in, out := &in.PartitionCount, &out.PartitionCount + *out = new(int64) + **out = **in + } + if in.PublicNetworkAccessEnabled != nil { + in, out := &in.PublicNetworkAccessEnabled, &out.PublicNetworkAccessEnabled + *out = new(bool) + **out = **in + } + if in.ReplicaCount != nil { + in, out := &in.ReplicaCount, &out.ReplicaCount + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters. +func (in *ServiceParameters) DeepCopy() *ServiceParameters { + if in == nil { + return nil + } + out := new(ServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { + return nil + } + out := new(ServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { + return nil + } + out := new(ServiceStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/search/v1alpha1/zz_generated.managed.go b/apis/search/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..2660651d6 --- /dev/null +++ b/apis/search/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Service. +func (mg *Service) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Service. +func (mg *Service) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Service. +func (mg *Service) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Service. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Service) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Service. +func (mg *Service) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Service. +func (mg *Service) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Service. +func (mg *Service) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Service. +func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Service. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Service) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Service. +func (mg *Service) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/search/v1alpha1/zz_generated.managedlist.go b/apis/search/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..8d822c98b --- /dev/null +++ b/apis/search/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServiceList. +func (l *ServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/search/v1alpha1/zz_groupversion_info.go b/apis/search/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..03df6c2c7 --- /dev/null +++ b/apis/search/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=search.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "search.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/search/v1alpha1/zz_service_terraformed.go b/apis/search/v1alpha1/zz_service_terraformed.go new file mode 100755 index 000000000..44772e249 --- /dev/null +++ b/apis/search/v1alpha1/zz_service_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Service +func (mg *Service) GetTerraformResourceType() string { + return "azurerm_search_service" +} + +// GetConnectionDetailsMapping for this Service +func (tr *Service) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Service +func (tr *Service) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Service +func (tr *Service) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Service +func (tr *Service) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Service +func (tr *Service) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Service using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Service) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Service) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/search/v1alpha1/zz_service_types.go b/apis/search/v1alpha1/zz_service_types.go new file mode 100755 index 000000000..8e9ae0402 --- /dev/null +++ b/apis/search/v1alpha1/zz_service_types.go @@ -0,0 +1,137 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type QueryKeysObservation struct { + Key *string `json:"key,omitempty" tf:"key,omitempty"` + + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type QueryKeysParameters struct { +} + +type ServiceObservation struct { + PrimaryKey *string `json:"primaryKey,omitempty" tf:"primary_key,omitempty"` + + QueryKeys []QueryKeysObservation `json:"queryKeys,omitempty" tf:"query_keys,omitempty"` + + SecondaryKey *string `json:"secondaryKey,omitempty" tf:"secondary_key,omitempty"` +} + +type ServiceParameters struct { + + // +kubebuilder:validation:Optional + AllowedIps []*string `json:"allowedIps,omitempty" tf:"allowed_ips,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PartitionCount *int64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"` + + // +kubebuilder:validation:Optional + PublicNetworkAccessEnabled *bool `json:"publicNetworkAccessEnabled,omitempty" tf:"public_network_access_enabled,omitempty"` + + // +kubebuilder:validation:Optional + ReplicaCount *int64 `json:"replicaCount,omitempty" tf:"replica_count,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ServiceSpec defines the desired state of Service +type ServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceParameters `json:"forProvider"` +} + +// ServiceStatus defines the observed state of Service. +type ServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Service is the Schema for the Services API +// +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,azurejet} +type Service struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSpec `json:"spec"` + Status ServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceList contains a list of Services +type ServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Service `json:"items"` +} + +// Repository type metadata. +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) +) + +func init() { + SchemeBuilder.Register(&Service{}, &ServiceList{}) +} diff --git a/apis/security/v1alpha1/zz_centerassessment_terraformed.go b/apis/security/v1alpha1/zz_centerassessment_terraformed.go new file mode 100755 index 000000000..5ae962651 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerassessment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterAssessment +func (mg *CenterAssessment) GetTerraformResourceType() string { + return "azurerm_security_center_assessment" +} + +// GetConnectionDetailsMapping for this CenterAssessment +func (tr *CenterAssessment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterAssessment +func (tr *CenterAssessment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterAssessment +func (tr *CenterAssessment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterAssessment +func (tr *CenterAssessment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterAssessment +func (tr *CenterAssessment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterAssessment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterAssessment) LateInitialize(attrs []byte) (bool, error) { + params := &CenterAssessmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterAssessment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centerassessment_types.go b/apis/security/v1alpha1/zz_centerassessment_types.go new file mode 100755 index 000000000..1eef9b48a --- /dev/null +++ b/apis/security/v1alpha1/zz_centerassessment_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterAssessmentObservation struct { +} + +type CenterAssessmentParameters struct { + + // +kubebuilder:validation:Optional + AdditionalData map[string]*string `json:"additionalData,omitempty" tf:"additional_data,omitempty"` + + // +kubebuilder:validation:Required + AssessmentPolicyID *string `json:"assessmentPolicyId" tf:"assessment_policy_id,omitempty"` + + // +kubebuilder:validation:Required + Status []StatusParameters `json:"status" tf:"status,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +type StatusObservation struct { +} + +type StatusParameters struct { + + // +kubebuilder:validation:Optional + Cause *string `json:"cause,omitempty" tf:"cause,omitempty"` + + // +kubebuilder:validation:Required + Code *string `json:"code" tf:"code,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` +} + +// CenterAssessmentSpec defines the desired state of CenterAssessment +type CenterAssessmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterAssessmentParameters `json:"forProvider"` +} + +// CenterAssessmentStatus defines the observed state of CenterAssessment. +type CenterAssessmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterAssessmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAssessment is the Schema for the CenterAssessments API +// +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,azurejet} +type CenterAssessment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterAssessmentSpec `json:"spec"` + Status CenterAssessmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAssessmentList contains a list of CenterAssessments +type CenterAssessmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterAssessment `json:"items"` +} + +// Repository type metadata. +var ( + CenterAssessment_Kind = "CenterAssessment" + CenterAssessment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterAssessment_Kind}.String() + CenterAssessment_KindAPIVersion = CenterAssessment_Kind + "." + CRDGroupVersion.String() + CenterAssessment_GroupVersionKind = CRDGroupVersion.WithKind(CenterAssessment_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterAssessment{}, &CenterAssessmentList{}) +} diff --git a/apis/security/v1alpha1/zz_centerassessmentmetadata_terraformed.go b/apis/security/v1alpha1/zz_centerassessmentmetadata_terraformed.go new file mode 100755 index 000000000..777261de2 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerassessmentmetadata_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterAssessmentMetadata +func (mg *CenterAssessmentMetadata) GetTerraformResourceType() string { + return "azurerm_security_center_assessment_metadata" +} + +// GetConnectionDetailsMapping for this CenterAssessmentMetadata +func (tr *CenterAssessmentMetadata) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterAssessmentMetadata +func (tr *CenterAssessmentMetadata) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterAssessmentMetadata +func (tr *CenterAssessmentMetadata) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterAssessmentMetadata +func (tr *CenterAssessmentMetadata) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterAssessmentMetadata +func (tr *CenterAssessmentMetadata) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterAssessmentMetadata using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterAssessmentMetadata) LateInitialize(attrs []byte) (bool, error) { + params := &CenterAssessmentMetadataParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterAssessmentMetadata) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centerassessmentmetadata_types.go b/apis/security/v1alpha1/zz_centerassessmentmetadata_types.go new file mode 100755 index 000000000..dec3dff8d --- /dev/null +++ b/apis/security/v1alpha1/zz_centerassessmentmetadata_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterAssessmentMetadataObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type CenterAssessmentMetadataParameters struct { + + // +kubebuilder:validation:Optional + Categories []*string `json:"categories,omitempty" tf:"categories,omitempty"` + + // +kubebuilder:validation:Required + Description *string `json:"description" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + ImplementationEffort *string `json:"implementationEffort,omitempty" tf:"implementation_effort,omitempty"` + + // +kubebuilder:validation:Optional + RemediationDescription *string `json:"remediationDescription,omitempty" tf:"remediation_description,omitempty"` + + // +kubebuilder:validation:Optional + Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + Threats []*string `json:"threats,omitempty" tf:"threats,omitempty"` + + // +kubebuilder:validation:Optional + UserImpact *string `json:"userImpact,omitempty" tf:"user_impact,omitempty"` +} + +// CenterAssessmentMetadataSpec defines the desired state of CenterAssessmentMetadata +type CenterAssessmentMetadataSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterAssessmentMetadataParameters `json:"forProvider"` +} + +// CenterAssessmentMetadataStatus defines the observed state of CenterAssessmentMetadata. +type CenterAssessmentMetadataStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterAssessmentMetadataObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAssessmentMetadata is the Schema for the CenterAssessmentMetadatas API +// +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,azurejet} +type CenterAssessmentMetadata struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterAssessmentMetadataSpec `json:"spec"` + Status CenterAssessmentMetadataStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAssessmentMetadataList contains a list of CenterAssessmentMetadatas +type CenterAssessmentMetadataList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterAssessmentMetadata `json:"items"` +} + +// Repository type metadata. +var ( + CenterAssessmentMetadata_Kind = "CenterAssessmentMetadata" + CenterAssessmentMetadata_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterAssessmentMetadata_Kind}.String() + CenterAssessmentMetadata_KindAPIVersion = CenterAssessmentMetadata_Kind + "." + CRDGroupVersion.String() + CenterAssessmentMetadata_GroupVersionKind = CRDGroupVersion.WithKind(CenterAssessmentMetadata_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterAssessmentMetadata{}, &CenterAssessmentMetadataList{}) +} diff --git a/apis/security/v1alpha1/zz_centerassessmentpolicy_terraformed.go b/apis/security/v1alpha1/zz_centerassessmentpolicy_terraformed.go new file mode 100755 index 000000000..c63c586a8 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerassessmentpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterAssessmentPolicy +func (mg *CenterAssessmentPolicy) GetTerraformResourceType() string { + return "azurerm_security_center_assessment_policy" +} + +// GetConnectionDetailsMapping for this CenterAssessmentPolicy +func (tr *CenterAssessmentPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterAssessmentPolicy +func (tr *CenterAssessmentPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterAssessmentPolicy +func (tr *CenterAssessmentPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterAssessmentPolicy +func (tr *CenterAssessmentPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterAssessmentPolicy +func (tr *CenterAssessmentPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterAssessmentPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterAssessmentPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &CenterAssessmentPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterAssessmentPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centerassessmentpolicy_types.go b/apis/security/v1alpha1/zz_centerassessmentpolicy_types.go new file mode 100755 index 000000000..b908010a2 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerassessmentpolicy_types.go @@ -0,0 +1,106 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterAssessmentPolicyObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type CenterAssessmentPolicyParameters struct { + + // +kubebuilder:validation:Optional + Categories []*string `json:"categories,omitempty" tf:"categories,omitempty"` + + // +kubebuilder:validation:Required + Description *string `json:"description" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + ImplementationEffort *string `json:"implementationEffort,omitempty" tf:"implementation_effort,omitempty"` + + // +kubebuilder:validation:Optional + RemediationDescription *string `json:"remediationDescription,omitempty" tf:"remediation_description,omitempty"` + + // +kubebuilder:validation:Optional + Severity *string `json:"severity,omitempty" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + Threats []*string `json:"threats,omitempty" tf:"threats,omitempty"` + + // +kubebuilder:validation:Optional + UserImpact *string `json:"userImpact,omitempty" tf:"user_impact,omitempty"` +} + +// CenterAssessmentPolicySpec defines the desired state of CenterAssessmentPolicy +type CenterAssessmentPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterAssessmentPolicyParameters `json:"forProvider"` +} + +// CenterAssessmentPolicyStatus defines the observed state of CenterAssessmentPolicy. +type CenterAssessmentPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterAssessmentPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAssessmentPolicy is the Schema for the CenterAssessmentPolicys API +// +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,azurejet} +type CenterAssessmentPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterAssessmentPolicySpec `json:"spec"` + Status CenterAssessmentPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAssessmentPolicyList contains a list of CenterAssessmentPolicys +type CenterAssessmentPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterAssessmentPolicy `json:"items"` +} + +// Repository type metadata. +var ( + CenterAssessmentPolicy_Kind = "CenterAssessmentPolicy" + CenterAssessmentPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterAssessmentPolicy_Kind}.String() + CenterAssessmentPolicy_KindAPIVersion = CenterAssessmentPolicy_Kind + "." + CRDGroupVersion.String() + CenterAssessmentPolicy_GroupVersionKind = CRDGroupVersion.WithKind(CenterAssessmentPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterAssessmentPolicy{}, &CenterAssessmentPolicyList{}) +} diff --git a/apis/security/v1alpha1/zz_centerautoprovisioning_terraformed.go b/apis/security/v1alpha1/zz_centerautoprovisioning_terraformed.go new file mode 100755 index 000000000..7be2cc86c --- /dev/null +++ b/apis/security/v1alpha1/zz_centerautoprovisioning_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterAutoProvisioning +func (mg *CenterAutoProvisioning) GetTerraformResourceType() string { + return "azurerm_security_center_auto_provisioning" +} + +// GetConnectionDetailsMapping for this CenterAutoProvisioning +func (tr *CenterAutoProvisioning) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterAutoProvisioning +func (tr *CenterAutoProvisioning) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterAutoProvisioning +func (tr *CenterAutoProvisioning) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterAutoProvisioning +func (tr *CenterAutoProvisioning) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterAutoProvisioning +func (tr *CenterAutoProvisioning) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterAutoProvisioning using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterAutoProvisioning) LateInitialize(attrs []byte) (bool, error) { + params := &CenterAutoProvisioningParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterAutoProvisioning) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centerautoprovisioning_types.go b/apis/security/v1alpha1/zz_centerautoprovisioning_types.go new file mode 100755 index 000000000..3fdfeea01 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerautoprovisioning_types.go @@ -0,0 +1,84 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterAutoProvisioningObservation struct { +} + +type CenterAutoProvisioningParameters struct { + + // +kubebuilder:validation:Required + AutoProvision *string `json:"autoProvision" tf:"auto_provision,omitempty"` +} + +// CenterAutoProvisioningSpec defines the desired state of CenterAutoProvisioning +type CenterAutoProvisioningSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterAutoProvisioningParameters `json:"forProvider"` +} + +// CenterAutoProvisioningStatus defines the observed state of CenterAutoProvisioning. +type CenterAutoProvisioningStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterAutoProvisioningObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAutoProvisioning is the Schema for the CenterAutoProvisionings API +// +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,azurejet} +type CenterAutoProvisioning struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterAutoProvisioningSpec `json:"spec"` + Status CenterAutoProvisioningStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterAutoProvisioningList contains a list of CenterAutoProvisionings +type CenterAutoProvisioningList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterAutoProvisioning `json:"items"` +} + +// Repository type metadata. +var ( + CenterAutoProvisioning_Kind = "CenterAutoProvisioning" + CenterAutoProvisioning_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterAutoProvisioning_Kind}.String() + CenterAutoProvisioning_KindAPIVersion = CenterAutoProvisioning_Kind + "." + CRDGroupVersion.String() + CenterAutoProvisioning_GroupVersionKind = CRDGroupVersion.WithKind(CenterAutoProvisioning_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterAutoProvisioning{}, &CenterAutoProvisioningList{}) +} diff --git a/apis/security/v1alpha1/zz_centercontact_terraformed.go b/apis/security/v1alpha1/zz_centercontact_terraformed.go new file mode 100755 index 000000000..f22bdb9a9 --- /dev/null +++ b/apis/security/v1alpha1/zz_centercontact_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterContact +func (mg *CenterContact) GetTerraformResourceType() string { + return "azurerm_security_center_contact" +} + +// GetConnectionDetailsMapping for this CenterContact +func (tr *CenterContact) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterContact +func (tr *CenterContact) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterContact +func (tr *CenterContact) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterContact +func (tr *CenterContact) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterContact +func (tr *CenterContact) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterContact using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterContact) LateInitialize(attrs []byte) (bool, error) { + params := &CenterContactParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterContact) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centercontact_types.go b/apis/security/v1alpha1/zz_centercontact_types.go new file mode 100755 index 000000000..2f3e5f9aa --- /dev/null +++ b/apis/security/v1alpha1/zz_centercontact_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterContactObservation struct { +} + +type CenterContactParameters struct { + + // +kubebuilder:validation:Required + AlertNotifications *bool `json:"alertNotifications" tf:"alert_notifications,omitempty"` + + // +kubebuilder:validation:Required + AlertsToAdmins *bool `json:"alertsToAdmins" tf:"alerts_to_admins,omitempty"` + + // +kubebuilder:validation:Required + Email *string `json:"email" tf:"email,omitempty"` + + // +kubebuilder:validation:Optional + Phone *string `json:"phone,omitempty" tf:"phone,omitempty"` +} + +// CenterContactSpec defines the desired state of CenterContact +type CenterContactSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterContactParameters `json:"forProvider"` +} + +// CenterContactStatus defines the observed state of CenterContact. +type CenterContactStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterContactObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterContact is the Schema for the CenterContacts API +// +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,azurejet} +type CenterContact struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterContactSpec `json:"spec"` + Status CenterContactStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterContactList contains a list of CenterContacts +type CenterContactList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterContact `json:"items"` +} + +// Repository type metadata. +var ( + CenterContact_Kind = "CenterContact" + CenterContact_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterContact_Kind}.String() + CenterContact_KindAPIVersion = CenterContact_Kind + "." + CRDGroupVersion.String() + CenterContact_GroupVersionKind = CRDGroupVersion.WithKind(CenterContact_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterContact{}, &CenterContactList{}) +} diff --git a/apis/security/v1alpha1/zz_centerservervulnerabilityassessment_terraformed.go b/apis/security/v1alpha1/zz_centerservervulnerabilityassessment_terraformed.go new file mode 100755 index 000000000..45f688ebd --- /dev/null +++ b/apis/security/v1alpha1/zz_centerservervulnerabilityassessment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterServerVulnerabilityAssessment +func (mg *CenterServerVulnerabilityAssessment) GetTerraformResourceType() string { + return "azurerm_security_center_server_vulnerability_assessment" +} + +// GetConnectionDetailsMapping for this CenterServerVulnerabilityAssessment +func (tr *CenterServerVulnerabilityAssessment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterServerVulnerabilityAssessment +func (tr *CenterServerVulnerabilityAssessment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterServerVulnerabilityAssessment +func (tr *CenterServerVulnerabilityAssessment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterServerVulnerabilityAssessment +func (tr *CenterServerVulnerabilityAssessment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterServerVulnerabilityAssessment +func (tr *CenterServerVulnerabilityAssessment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterServerVulnerabilityAssessment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterServerVulnerabilityAssessment) LateInitialize(attrs []byte) (bool, error) { + params := &CenterServerVulnerabilityAssessmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterServerVulnerabilityAssessment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centerservervulnerabilityassessment_types.go b/apis/security/v1alpha1/zz_centerservervulnerabilityassessment_types.go new file mode 100755 index 000000000..618177517 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerservervulnerabilityassessment_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterServerVulnerabilityAssessmentObservation struct { +} + +type CenterServerVulnerabilityAssessmentParameters struct { + + // +kubebuilder:validation:Optional + HybridMachineID *string `json:"hybridMachineId,omitempty" tf:"hybrid_machine_id,omitempty"` + + // +kubebuilder:validation:Optional + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +// CenterServerVulnerabilityAssessmentSpec defines the desired state of CenterServerVulnerabilityAssessment +type CenterServerVulnerabilityAssessmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterServerVulnerabilityAssessmentParameters `json:"forProvider"` +} + +// CenterServerVulnerabilityAssessmentStatus defines the observed state of CenterServerVulnerabilityAssessment. +type CenterServerVulnerabilityAssessmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterServerVulnerabilityAssessmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterServerVulnerabilityAssessment is the Schema for the CenterServerVulnerabilityAssessments API +// +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,azurejet} +type CenterServerVulnerabilityAssessment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterServerVulnerabilityAssessmentSpec `json:"spec"` + Status CenterServerVulnerabilityAssessmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterServerVulnerabilityAssessmentList contains a list of CenterServerVulnerabilityAssessments +type CenterServerVulnerabilityAssessmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterServerVulnerabilityAssessment `json:"items"` +} + +// Repository type metadata. +var ( + CenterServerVulnerabilityAssessment_Kind = "CenterServerVulnerabilityAssessment" + CenterServerVulnerabilityAssessment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterServerVulnerabilityAssessment_Kind}.String() + CenterServerVulnerabilityAssessment_KindAPIVersion = CenterServerVulnerabilityAssessment_Kind + "." + CRDGroupVersion.String() + CenterServerVulnerabilityAssessment_GroupVersionKind = CRDGroupVersion.WithKind(CenterServerVulnerabilityAssessment_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterServerVulnerabilityAssessment{}, &CenterServerVulnerabilityAssessmentList{}) +} diff --git a/apis/security/v1alpha1/zz_centersetting_terraformed.go b/apis/security/v1alpha1/zz_centersetting_terraformed.go new file mode 100755 index 000000000..fd845eb5f --- /dev/null +++ b/apis/security/v1alpha1/zz_centersetting_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterSetting +func (mg *CenterSetting) GetTerraformResourceType() string { + return "azurerm_security_center_setting" +} + +// GetConnectionDetailsMapping for this CenterSetting +func (tr *CenterSetting) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterSetting +func (tr *CenterSetting) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterSetting +func (tr *CenterSetting) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterSetting +func (tr *CenterSetting) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterSetting +func (tr *CenterSetting) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterSetting using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterSetting) LateInitialize(attrs []byte) (bool, error) { + params := &CenterSettingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterSetting) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centersetting_types.go b/apis/security/v1alpha1/zz_centersetting_types.go new file mode 100755 index 000000000..4a74117f6 --- /dev/null +++ b/apis/security/v1alpha1/zz_centersetting_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterSettingObservation struct { +} + +type CenterSettingParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + SettingName *string `json:"settingName" tf:"setting_name,omitempty"` +} + +// CenterSettingSpec defines the desired state of CenterSetting +type CenterSettingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterSettingParameters `json:"forProvider"` +} + +// CenterSettingStatus defines the observed state of CenterSetting. +type CenterSettingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterSettingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterSetting is the Schema for the CenterSettings API +// +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,azurejet} +type CenterSetting struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterSettingSpec `json:"spec"` + Status CenterSettingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterSettingList contains a list of CenterSettings +type CenterSettingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterSetting `json:"items"` +} + +// Repository type metadata. +var ( + CenterSetting_Kind = "CenterSetting" + CenterSetting_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterSetting_Kind}.String() + CenterSetting_KindAPIVersion = CenterSetting_Kind + "." + CRDGroupVersion.String() + CenterSetting_GroupVersionKind = CRDGroupVersion.WithKind(CenterSetting_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterSetting{}, &CenterSettingList{}) +} diff --git a/apis/security/v1alpha1/zz_centersubscriptionpricing_terraformed.go b/apis/security/v1alpha1/zz_centersubscriptionpricing_terraformed.go new file mode 100755 index 000000000..222963e80 --- /dev/null +++ b/apis/security/v1alpha1/zz_centersubscriptionpricing_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterSubscriptionPricing +func (mg *CenterSubscriptionPricing) GetTerraformResourceType() string { + return "azurerm_security_center_subscription_pricing" +} + +// GetConnectionDetailsMapping for this CenterSubscriptionPricing +func (tr *CenterSubscriptionPricing) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterSubscriptionPricing +func (tr *CenterSubscriptionPricing) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterSubscriptionPricing +func (tr *CenterSubscriptionPricing) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterSubscriptionPricing +func (tr *CenterSubscriptionPricing) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterSubscriptionPricing +func (tr *CenterSubscriptionPricing) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterSubscriptionPricing using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterSubscriptionPricing) LateInitialize(attrs []byte) (bool, error) { + params := &CenterSubscriptionPricingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterSubscriptionPricing) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/security/v1alpha1/zz_centersubscriptionpricing_types.go b/apis/security/v1alpha1/zz_centersubscriptionpricing_types.go new file mode 100755 index 000000000..a654b770a --- /dev/null +++ b/apis/security/v1alpha1/zz_centersubscriptionpricing_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterSubscriptionPricingObservation struct { +} + +type CenterSubscriptionPricingParameters struct { + + // +kubebuilder:validation:Optional + ResourceType *string `json:"resourceType,omitempty" tf:"resource_type,omitempty"` + + // +kubebuilder:validation:Required + Tier *string `json:"tier" tf:"tier,omitempty"` +} + +// CenterSubscriptionPricingSpec defines the desired state of CenterSubscriptionPricing +type CenterSubscriptionPricingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterSubscriptionPricingParameters `json:"forProvider"` +} + +// CenterSubscriptionPricingStatus defines the observed state of CenterSubscriptionPricing. +type CenterSubscriptionPricingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterSubscriptionPricingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterSubscriptionPricing is the Schema for the CenterSubscriptionPricings API +// +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,azurejet} +type CenterSubscriptionPricing struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterSubscriptionPricingSpec `json:"spec"` + Status CenterSubscriptionPricingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterSubscriptionPricingList contains a list of CenterSubscriptionPricings +type CenterSubscriptionPricingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterSubscriptionPricing `json:"items"` +} + +// Repository type metadata. +var ( + CenterSubscriptionPricing_Kind = "CenterSubscriptionPricing" + CenterSubscriptionPricing_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterSubscriptionPricing_Kind}.String() + CenterSubscriptionPricing_KindAPIVersion = CenterSubscriptionPricing_Kind + "." + CRDGroupVersion.String() + CenterSubscriptionPricing_GroupVersionKind = CRDGroupVersion.WithKind(CenterSubscriptionPricing_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterSubscriptionPricing{}, &CenterSubscriptionPricingList{}) +} diff --git a/apis/security/v1alpha1/zz_centerworkspace_terraformed.go b/apis/security/v1alpha1/zz_centerworkspace_terraformed.go new file mode 100755 index 000000000..7c4aa8ec9 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerworkspace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CenterWorkspace +func (mg *CenterWorkspace) GetTerraformResourceType() string { + return "azurerm_security_center_workspace" +} + +// GetConnectionDetailsMapping for this CenterWorkspace +func (tr *CenterWorkspace) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CenterWorkspace +func (tr *CenterWorkspace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CenterWorkspace +func (tr *CenterWorkspace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CenterWorkspace +func (tr *CenterWorkspace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CenterWorkspace +func (tr *CenterWorkspace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CenterWorkspace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CenterWorkspace) LateInitialize(attrs []byte) (bool, error) { + params := &CenterWorkspaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CenterWorkspace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/security/v1alpha1/zz_centerworkspace_types.go b/apis/security/v1alpha1/zz_centerworkspace_types.go new file mode 100755 index 000000000..d39cde8e3 --- /dev/null +++ b/apis/security/v1alpha1/zz_centerworkspace_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CenterWorkspaceObservation struct { +} + +type CenterWorkspaceParameters struct { + + // +kubebuilder:validation:Required + Scope *string `json:"scope" tf:"scope,omitempty"` + + // +kubebuilder:validation:Required + WorkspaceID *string `json:"workspaceId" tf:"workspace_id,omitempty"` +} + +// CenterWorkspaceSpec defines the desired state of CenterWorkspace +type CenterWorkspaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CenterWorkspaceParameters `json:"forProvider"` +} + +// CenterWorkspaceStatus defines the observed state of CenterWorkspace. +type CenterWorkspaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CenterWorkspaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterWorkspace is the Schema for the CenterWorkspaces API +// +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,azurejet} +type CenterWorkspace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CenterWorkspaceSpec `json:"spec"` + Status CenterWorkspaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CenterWorkspaceList contains a list of CenterWorkspaces +type CenterWorkspaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CenterWorkspace `json:"items"` +} + +// Repository type metadata. +var ( + CenterWorkspace_Kind = "CenterWorkspace" + CenterWorkspace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CenterWorkspace_Kind}.String() + CenterWorkspace_KindAPIVersion = CenterWorkspace_Kind + "." + CRDGroupVersion.String() + CenterWorkspace_GroupVersionKind = CRDGroupVersion.WithKind(CenterWorkspace_Kind) +) + +func init() { + SchemeBuilder.Register(&CenterWorkspace{}, &CenterWorkspaceList{}) +} diff --git a/apis/security/v1alpha1/zz_generated.deepcopy.go b/apis/security/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..82a727a09 --- /dev/null +++ b/apis/security/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1388 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessment) DeepCopyInto(out *CenterAssessment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessment. +func (in *CenterAssessment) DeepCopy() *CenterAssessment { + if in == nil { + return nil + } + out := new(CenterAssessment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAssessment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentList) DeepCopyInto(out *CenterAssessmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterAssessment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentList. +func (in *CenterAssessmentList) DeepCopy() *CenterAssessmentList { + if in == nil { + return nil + } + out := new(CenterAssessmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAssessmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentMetadata) DeepCopyInto(out *CenterAssessmentMetadata) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentMetadata. +func (in *CenterAssessmentMetadata) DeepCopy() *CenterAssessmentMetadata { + if in == nil { + return nil + } + out := new(CenterAssessmentMetadata) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAssessmentMetadata) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentMetadataList) DeepCopyInto(out *CenterAssessmentMetadataList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterAssessmentMetadata, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentMetadataList. +func (in *CenterAssessmentMetadataList) DeepCopy() *CenterAssessmentMetadataList { + if in == nil { + return nil + } + out := new(CenterAssessmentMetadataList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAssessmentMetadataList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentMetadataObservation) DeepCopyInto(out *CenterAssessmentMetadataObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentMetadataObservation. +func (in *CenterAssessmentMetadataObservation) DeepCopy() *CenterAssessmentMetadataObservation { + if in == nil { + return nil + } + out := new(CenterAssessmentMetadataObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentMetadataParameters) DeepCopyInto(out *CenterAssessmentMetadataParameters) { + *out = *in + if in.Categories != nil { + in, out := &in.Categories, &out.Categories + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.ImplementationEffort != nil { + in, out := &in.ImplementationEffort, &out.ImplementationEffort + *out = new(string) + **out = **in + } + if in.RemediationDescription != nil { + in, out := &in.RemediationDescription, &out.RemediationDescription + *out = new(string) + **out = **in + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = new(string) + **out = **in + } + if in.Threats != nil { + in, out := &in.Threats, &out.Threats + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.UserImpact != nil { + in, out := &in.UserImpact, &out.UserImpact + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentMetadataParameters. +func (in *CenterAssessmentMetadataParameters) DeepCopy() *CenterAssessmentMetadataParameters { + if in == nil { + return nil + } + out := new(CenterAssessmentMetadataParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentMetadataSpec) DeepCopyInto(out *CenterAssessmentMetadataSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentMetadataSpec. +func (in *CenterAssessmentMetadataSpec) DeepCopy() *CenterAssessmentMetadataSpec { + if in == nil { + return nil + } + out := new(CenterAssessmentMetadataSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentMetadataStatus) DeepCopyInto(out *CenterAssessmentMetadataStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentMetadataStatus. +func (in *CenterAssessmentMetadataStatus) DeepCopy() *CenterAssessmentMetadataStatus { + if in == nil { + return nil + } + out := new(CenterAssessmentMetadataStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentObservation) DeepCopyInto(out *CenterAssessmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentObservation. +func (in *CenterAssessmentObservation) DeepCopy() *CenterAssessmentObservation { + if in == nil { + return nil + } + out := new(CenterAssessmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentParameters) DeepCopyInto(out *CenterAssessmentParameters) { + *out = *in + if in.AdditionalData != nil { + in, out := &in.AdditionalData, &out.AdditionalData + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.AssessmentPolicyID != nil { + in, out := &in.AssessmentPolicyID, &out.AssessmentPolicyID + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = make([]StatusParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentParameters. +func (in *CenterAssessmentParameters) DeepCopy() *CenterAssessmentParameters { + if in == nil { + return nil + } + out := new(CenterAssessmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentPolicy) DeepCopyInto(out *CenterAssessmentPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentPolicy. +func (in *CenterAssessmentPolicy) DeepCopy() *CenterAssessmentPolicy { + if in == nil { + return nil + } + out := new(CenterAssessmentPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAssessmentPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentPolicyList) DeepCopyInto(out *CenterAssessmentPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterAssessmentPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentPolicyList. +func (in *CenterAssessmentPolicyList) DeepCopy() *CenterAssessmentPolicyList { + if in == nil { + return nil + } + out := new(CenterAssessmentPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAssessmentPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentPolicyObservation) DeepCopyInto(out *CenterAssessmentPolicyObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentPolicyObservation. +func (in *CenterAssessmentPolicyObservation) DeepCopy() *CenterAssessmentPolicyObservation { + if in == nil { + return nil + } + out := new(CenterAssessmentPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentPolicyParameters) DeepCopyInto(out *CenterAssessmentPolicyParameters) { + *out = *in + if in.Categories != nil { + in, out := &in.Categories, &out.Categories + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.ImplementationEffort != nil { + in, out := &in.ImplementationEffort, &out.ImplementationEffort + *out = new(string) + **out = **in + } + if in.RemediationDescription != nil { + in, out := &in.RemediationDescription, &out.RemediationDescription + *out = new(string) + **out = **in + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = new(string) + **out = **in + } + if in.Threats != nil { + in, out := &in.Threats, &out.Threats + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.UserImpact != nil { + in, out := &in.UserImpact, &out.UserImpact + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentPolicyParameters. +func (in *CenterAssessmentPolicyParameters) DeepCopy() *CenterAssessmentPolicyParameters { + if in == nil { + return nil + } + out := new(CenterAssessmentPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentPolicySpec) DeepCopyInto(out *CenterAssessmentPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentPolicySpec. +func (in *CenterAssessmentPolicySpec) DeepCopy() *CenterAssessmentPolicySpec { + if in == nil { + return nil + } + out := new(CenterAssessmentPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentPolicyStatus) DeepCopyInto(out *CenterAssessmentPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentPolicyStatus. +func (in *CenterAssessmentPolicyStatus) DeepCopy() *CenterAssessmentPolicyStatus { + if in == nil { + return nil + } + out := new(CenterAssessmentPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentSpec) DeepCopyInto(out *CenterAssessmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentSpec. +func (in *CenterAssessmentSpec) DeepCopy() *CenterAssessmentSpec { + if in == nil { + return nil + } + out := new(CenterAssessmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAssessmentStatus) DeepCopyInto(out *CenterAssessmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAssessmentStatus. +func (in *CenterAssessmentStatus) DeepCopy() *CenterAssessmentStatus { + if in == nil { + return nil + } + out := new(CenterAssessmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAutoProvisioning) DeepCopyInto(out *CenterAutoProvisioning) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAutoProvisioning. +func (in *CenterAutoProvisioning) DeepCopy() *CenterAutoProvisioning { + if in == nil { + return nil + } + out := new(CenterAutoProvisioning) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAutoProvisioning) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAutoProvisioningList) DeepCopyInto(out *CenterAutoProvisioningList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterAutoProvisioning, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAutoProvisioningList. +func (in *CenterAutoProvisioningList) DeepCopy() *CenterAutoProvisioningList { + if in == nil { + return nil + } + out := new(CenterAutoProvisioningList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterAutoProvisioningList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAutoProvisioningObservation) DeepCopyInto(out *CenterAutoProvisioningObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAutoProvisioningObservation. +func (in *CenterAutoProvisioningObservation) DeepCopy() *CenterAutoProvisioningObservation { + if in == nil { + return nil + } + out := new(CenterAutoProvisioningObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAutoProvisioningParameters) DeepCopyInto(out *CenterAutoProvisioningParameters) { + *out = *in + if in.AutoProvision != nil { + in, out := &in.AutoProvision, &out.AutoProvision + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAutoProvisioningParameters. +func (in *CenterAutoProvisioningParameters) DeepCopy() *CenterAutoProvisioningParameters { + if in == nil { + return nil + } + out := new(CenterAutoProvisioningParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAutoProvisioningSpec) DeepCopyInto(out *CenterAutoProvisioningSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAutoProvisioningSpec. +func (in *CenterAutoProvisioningSpec) DeepCopy() *CenterAutoProvisioningSpec { + if in == nil { + return nil + } + out := new(CenterAutoProvisioningSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterAutoProvisioningStatus) DeepCopyInto(out *CenterAutoProvisioningStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterAutoProvisioningStatus. +func (in *CenterAutoProvisioningStatus) DeepCopy() *CenterAutoProvisioningStatus { + if in == nil { + return nil + } + out := new(CenterAutoProvisioningStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterContact) DeepCopyInto(out *CenterContact) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterContact. +func (in *CenterContact) DeepCopy() *CenterContact { + if in == nil { + return nil + } + out := new(CenterContact) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterContact) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterContactList) DeepCopyInto(out *CenterContactList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterContact, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterContactList. +func (in *CenterContactList) DeepCopy() *CenterContactList { + if in == nil { + return nil + } + out := new(CenterContactList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterContactList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterContactObservation) DeepCopyInto(out *CenterContactObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterContactObservation. +func (in *CenterContactObservation) DeepCopy() *CenterContactObservation { + if in == nil { + return nil + } + out := new(CenterContactObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterContactParameters) DeepCopyInto(out *CenterContactParameters) { + *out = *in + if in.AlertNotifications != nil { + in, out := &in.AlertNotifications, &out.AlertNotifications + *out = new(bool) + **out = **in + } + if in.AlertsToAdmins != nil { + in, out := &in.AlertsToAdmins, &out.AlertsToAdmins + *out = new(bool) + **out = **in + } + if in.Email != nil { + in, out := &in.Email, &out.Email + *out = new(string) + **out = **in + } + if in.Phone != nil { + in, out := &in.Phone, &out.Phone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterContactParameters. +func (in *CenterContactParameters) DeepCopy() *CenterContactParameters { + if in == nil { + return nil + } + out := new(CenterContactParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterContactSpec) DeepCopyInto(out *CenterContactSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterContactSpec. +func (in *CenterContactSpec) DeepCopy() *CenterContactSpec { + if in == nil { + return nil + } + out := new(CenterContactSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterContactStatus) DeepCopyInto(out *CenterContactStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterContactStatus. +func (in *CenterContactStatus) DeepCopy() *CenterContactStatus { + if in == nil { + return nil + } + out := new(CenterContactStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterServerVulnerabilityAssessment) DeepCopyInto(out *CenterServerVulnerabilityAssessment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterServerVulnerabilityAssessment. +func (in *CenterServerVulnerabilityAssessment) DeepCopy() *CenterServerVulnerabilityAssessment { + if in == nil { + return nil + } + out := new(CenterServerVulnerabilityAssessment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterServerVulnerabilityAssessment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterServerVulnerabilityAssessmentList) DeepCopyInto(out *CenterServerVulnerabilityAssessmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterServerVulnerabilityAssessment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterServerVulnerabilityAssessmentList. +func (in *CenterServerVulnerabilityAssessmentList) DeepCopy() *CenterServerVulnerabilityAssessmentList { + if in == nil { + return nil + } + out := new(CenterServerVulnerabilityAssessmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterServerVulnerabilityAssessmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterServerVulnerabilityAssessmentObservation) DeepCopyInto(out *CenterServerVulnerabilityAssessmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterServerVulnerabilityAssessmentObservation. +func (in *CenterServerVulnerabilityAssessmentObservation) DeepCopy() *CenterServerVulnerabilityAssessmentObservation { + if in == nil { + return nil + } + out := new(CenterServerVulnerabilityAssessmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterServerVulnerabilityAssessmentParameters) DeepCopyInto(out *CenterServerVulnerabilityAssessmentParameters) { + *out = *in + if in.HybridMachineID != nil { + in, out := &in.HybridMachineID, &out.HybridMachineID + *out = new(string) + **out = **in + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterServerVulnerabilityAssessmentParameters. +func (in *CenterServerVulnerabilityAssessmentParameters) DeepCopy() *CenterServerVulnerabilityAssessmentParameters { + if in == nil { + return nil + } + out := new(CenterServerVulnerabilityAssessmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterServerVulnerabilityAssessmentSpec) DeepCopyInto(out *CenterServerVulnerabilityAssessmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterServerVulnerabilityAssessmentSpec. +func (in *CenterServerVulnerabilityAssessmentSpec) DeepCopy() *CenterServerVulnerabilityAssessmentSpec { + if in == nil { + return nil + } + out := new(CenterServerVulnerabilityAssessmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterServerVulnerabilityAssessmentStatus) DeepCopyInto(out *CenterServerVulnerabilityAssessmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterServerVulnerabilityAssessmentStatus. +func (in *CenterServerVulnerabilityAssessmentStatus) DeepCopy() *CenterServerVulnerabilityAssessmentStatus { + if in == nil { + return nil + } + out := new(CenterServerVulnerabilityAssessmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSetting) DeepCopyInto(out *CenterSetting) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSetting. +func (in *CenterSetting) DeepCopy() *CenterSetting { + if in == nil { + return nil + } + out := new(CenterSetting) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterSetting) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSettingList) DeepCopyInto(out *CenterSettingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterSetting, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSettingList. +func (in *CenterSettingList) DeepCopy() *CenterSettingList { + if in == nil { + return nil + } + out := new(CenterSettingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterSettingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSettingObservation) DeepCopyInto(out *CenterSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSettingObservation. +func (in *CenterSettingObservation) DeepCopy() *CenterSettingObservation { + if in == nil { + return nil + } + out := new(CenterSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSettingParameters) DeepCopyInto(out *CenterSettingParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.SettingName != nil { + in, out := &in.SettingName, &out.SettingName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSettingParameters. +func (in *CenterSettingParameters) DeepCopy() *CenterSettingParameters { + if in == nil { + return nil + } + out := new(CenterSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSettingSpec) DeepCopyInto(out *CenterSettingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSettingSpec. +func (in *CenterSettingSpec) DeepCopy() *CenterSettingSpec { + if in == nil { + return nil + } + out := new(CenterSettingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSettingStatus) DeepCopyInto(out *CenterSettingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSettingStatus. +func (in *CenterSettingStatus) DeepCopy() *CenterSettingStatus { + if in == nil { + return nil + } + out := new(CenterSettingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSubscriptionPricing) DeepCopyInto(out *CenterSubscriptionPricing) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSubscriptionPricing. +func (in *CenterSubscriptionPricing) DeepCopy() *CenterSubscriptionPricing { + if in == nil { + return nil + } + out := new(CenterSubscriptionPricing) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterSubscriptionPricing) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSubscriptionPricingList) DeepCopyInto(out *CenterSubscriptionPricingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterSubscriptionPricing, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSubscriptionPricingList. +func (in *CenterSubscriptionPricingList) DeepCopy() *CenterSubscriptionPricingList { + if in == nil { + return nil + } + out := new(CenterSubscriptionPricingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterSubscriptionPricingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSubscriptionPricingObservation) DeepCopyInto(out *CenterSubscriptionPricingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSubscriptionPricingObservation. +func (in *CenterSubscriptionPricingObservation) DeepCopy() *CenterSubscriptionPricingObservation { + if in == nil { + return nil + } + out := new(CenterSubscriptionPricingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSubscriptionPricingParameters) DeepCopyInto(out *CenterSubscriptionPricingParameters) { + *out = *in + if in.ResourceType != nil { + in, out := &in.ResourceType, &out.ResourceType + *out = new(string) + **out = **in + } + if in.Tier != nil { + in, out := &in.Tier, &out.Tier + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSubscriptionPricingParameters. +func (in *CenterSubscriptionPricingParameters) DeepCopy() *CenterSubscriptionPricingParameters { + if in == nil { + return nil + } + out := new(CenterSubscriptionPricingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSubscriptionPricingSpec) DeepCopyInto(out *CenterSubscriptionPricingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSubscriptionPricingSpec. +func (in *CenterSubscriptionPricingSpec) DeepCopy() *CenterSubscriptionPricingSpec { + if in == nil { + return nil + } + out := new(CenterSubscriptionPricingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterSubscriptionPricingStatus) DeepCopyInto(out *CenterSubscriptionPricingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterSubscriptionPricingStatus. +func (in *CenterSubscriptionPricingStatus) DeepCopy() *CenterSubscriptionPricingStatus { + if in == nil { + return nil + } + out := new(CenterSubscriptionPricingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterWorkspace) DeepCopyInto(out *CenterWorkspace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterWorkspace. +func (in *CenterWorkspace) DeepCopy() *CenterWorkspace { + if in == nil { + return nil + } + out := new(CenterWorkspace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterWorkspace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterWorkspaceList) DeepCopyInto(out *CenterWorkspaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CenterWorkspace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterWorkspaceList. +func (in *CenterWorkspaceList) DeepCopy() *CenterWorkspaceList { + if in == nil { + return nil + } + out := new(CenterWorkspaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CenterWorkspaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterWorkspaceObservation) DeepCopyInto(out *CenterWorkspaceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterWorkspaceObservation. +func (in *CenterWorkspaceObservation) DeepCopy() *CenterWorkspaceObservation { + if in == nil { + return nil + } + out := new(CenterWorkspaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterWorkspaceParameters) DeepCopyInto(out *CenterWorkspaceParameters) { + *out = *in + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.WorkspaceID != nil { + in, out := &in.WorkspaceID, &out.WorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterWorkspaceParameters. +func (in *CenterWorkspaceParameters) DeepCopy() *CenterWorkspaceParameters { + if in == nil { + return nil + } + out := new(CenterWorkspaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterWorkspaceSpec) DeepCopyInto(out *CenterWorkspaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterWorkspaceSpec. +func (in *CenterWorkspaceSpec) DeepCopy() *CenterWorkspaceSpec { + if in == nil { + return nil + } + out := new(CenterWorkspaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CenterWorkspaceStatus) DeepCopyInto(out *CenterWorkspaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CenterWorkspaceStatus. +func (in *CenterWorkspaceStatus) DeepCopy() *CenterWorkspaceStatus { + if in == nil { + return nil + } + out := new(CenterWorkspaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StatusObservation) DeepCopyInto(out *StatusObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusObservation. +func (in *StatusObservation) DeepCopy() *StatusObservation { + if in == nil { + return nil + } + out := new(StatusObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StatusParameters) DeepCopyInto(out *StatusParameters) { + *out = *in + if in.Cause != nil { + in, out := &in.Cause, &out.Cause + *out = new(string) + **out = **in + } + if in.Code != nil { + in, out := &in.Code, &out.Code + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusParameters. +func (in *StatusParameters) DeepCopy() *StatusParameters { + if in == nil { + return nil + } + out := new(StatusParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/security/v1alpha1/zz_generated.managed.go b/apis/security/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..514ffa7e2 --- /dev/null +++ b/apis/security/v1alpha1/zz_generated.managed.go @@ -0,0 +1,524 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this CenterAssessment. +func (mg *CenterAssessment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterAssessment. +func (mg *CenterAssessment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterAssessment. +func (mg *CenterAssessment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterAssessment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterAssessment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterAssessment. +func (mg *CenterAssessment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterAssessment. +func (mg *CenterAssessment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterAssessment. +func (mg *CenterAssessment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterAssessment. +func (mg *CenterAssessment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterAssessment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterAssessment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterAssessment. +func (mg *CenterAssessment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterAssessmentMetadata. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterAssessmentMetadata) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterAssessmentMetadata. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterAssessmentMetadata) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterAssessmentMetadata. +func (mg *CenterAssessmentMetadata) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterAssessmentPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterAssessmentPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterAssessmentPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterAssessmentPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterAssessmentPolicy. +func (mg *CenterAssessmentPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterAutoProvisioning. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterAutoProvisioning) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterAutoProvisioning. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterAutoProvisioning) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterAutoProvisioning. +func (mg *CenterAutoProvisioning) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterContact. +func (mg *CenterContact) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterContact. +func (mg *CenterContact) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterContact. +func (mg *CenterContact) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterContact. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterContact) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterContact. +func (mg *CenterContact) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterContact. +func (mg *CenterContact) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterContact. +func (mg *CenterContact) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterContact. +func (mg *CenterContact) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterContact. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterContact) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterContact. +func (mg *CenterContact) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterServerVulnerabilityAssessment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterServerVulnerabilityAssessment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterServerVulnerabilityAssessment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterServerVulnerabilityAssessment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterServerVulnerabilityAssessment. +func (mg *CenterServerVulnerabilityAssessment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterSetting. +func (mg *CenterSetting) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterSetting. +func (mg *CenterSetting) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterSetting. +func (mg *CenterSetting) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterSetting. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterSetting) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterSetting. +func (mg *CenterSetting) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterSetting. +func (mg *CenterSetting) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterSetting. +func (mg *CenterSetting) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterSetting. +func (mg *CenterSetting) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterSetting. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterSetting) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterSetting. +func (mg *CenterSetting) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterSubscriptionPricing. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterSubscriptionPricing) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterSubscriptionPricing. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterSubscriptionPricing) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterSubscriptionPricing. +func (mg *CenterSubscriptionPricing) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CenterWorkspace. +func (mg *CenterWorkspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CenterWorkspace. +func (mg *CenterWorkspace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CenterWorkspace. +func (mg *CenterWorkspace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CenterWorkspace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CenterWorkspace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CenterWorkspace. +func (mg *CenterWorkspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CenterWorkspace. +func (mg *CenterWorkspace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CenterWorkspace. +func (mg *CenterWorkspace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CenterWorkspace. +func (mg *CenterWorkspace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CenterWorkspace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CenterWorkspace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CenterWorkspace. +func (mg *CenterWorkspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/security/v1alpha1/zz_generated.managedlist.go b/apis/security/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..815bc572f --- /dev/null +++ b/apis/security/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,101 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this CenterAssessmentList. +func (l *CenterAssessmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterAssessmentMetadataList. +func (l *CenterAssessmentMetadataList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterAssessmentPolicyList. +func (l *CenterAssessmentPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterAutoProvisioningList. +func (l *CenterAutoProvisioningList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterContactList. +func (l *CenterContactList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterServerVulnerabilityAssessmentList. +func (l *CenterServerVulnerabilityAssessmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterSettingList. +func (l *CenterSettingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterSubscriptionPricingList. +func (l *CenterSubscriptionPricingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CenterWorkspaceList. +func (l *CenterWorkspaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/security/v1alpha1/zz_groupversion_info.go b/apis/security/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..44edf71c6 --- /dev/null +++ b/apis/security/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=security.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "security.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/sentinel/v1alpha1/zz_alertrulefusion_terraformed.go b/apis/sentinel/v1alpha1/zz_alertrulefusion_terraformed.go new file mode 100755 index 000000000..a8138ae12 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulefusion_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AlertRuleFusion +func (mg *AlertRuleFusion) GetTerraformResourceType() string { + return "azurerm_sentinel_alert_rule_fusion" +} + +// GetConnectionDetailsMapping for this AlertRuleFusion +func (tr *AlertRuleFusion) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AlertRuleFusion +func (tr *AlertRuleFusion) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AlertRuleFusion +func (tr *AlertRuleFusion) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AlertRuleFusion +func (tr *AlertRuleFusion) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AlertRuleFusion +func (tr *AlertRuleFusion) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AlertRuleFusion using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AlertRuleFusion) LateInitialize(attrs []byte) (bool, error) { + params := &AlertRuleFusionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AlertRuleFusion) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulefusion_types.go b/apis/sentinel/v1alpha1/zz_alertrulefusion_types.go new file mode 100755 index 000000000..fa6d3cdb8 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulefusion_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AlertRuleFusionObservation struct { +} + +type AlertRuleFusionParameters struct { + + // +kubebuilder:validation:Required + AlertRuleTemplateGUID *string `json:"alertRuleTemplateGuid" tf:"alert_rule_template_guid,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// AlertRuleFusionSpec defines the desired state of AlertRuleFusion +type AlertRuleFusionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AlertRuleFusionParameters `json:"forProvider"` +} + +// AlertRuleFusionStatus defines the observed state of AlertRuleFusion. +type AlertRuleFusionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AlertRuleFusionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleFusion is the Schema for the AlertRuleFusions API +// +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,azurejet} +type AlertRuleFusion struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AlertRuleFusionSpec `json:"spec"` + Status AlertRuleFusionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleFusionList contains a list of AlertRuleFusions +type AlertRuleFusionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AlertRuleFusion `json:"items"` +} + +// Repository type metadata. +var ( + AlertRuleFusion_Kind = "AlertRuleFusion" + AlertRuleFusion_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AlertRuleFusion_Kind}.String() + AlertRuleFusion_KindAPIVersion = AlertRuleFusion_Kind + "." + CRDGroupVersion.String() + AlertRuleFusion_GroupVersionKind = CRDGroupVersion.WithKind(AlertRuleFusion_Kind) +) + +func init() { + SchemeBuilder.Register(&AlertRuleFusion{}, &AlertRuleFusionList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulemachinelearningbehavioranalytics_terraformed.go b/apis/sentinel/v1alpha1/zz_alertrulemachinelearningbehavioranalytics_terraformed.go new file mode 100755 index 000000000..99ad117c4 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulemachinelearningbehavioranalytics_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AlertRuleMachineLearningBehaviorAnalytics +func (mg *AlertRuleMachineLearningBehaviorAnalytics) GetTerraformResourceType() string { + return "azurerm_sentinel_alert_rule_machine_learning_behavior_analytics" +} + +// GetConnectionDetailsMapping for this AlertRuleMachineLearningBehaviorAnalytics +func (tr *AlertRuleMachineLearningBehaviorAnalytics) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AlertRuleMachineLearningBehaviorAnalytics +func (tr *AlertRuleMachineLearningBehaviorAnalytics) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AlertRuleMachineLearningBehaviorAnalytics +func (tr *AlertRuleMachineLearningBehaviorAnalytics) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AlertRuleMachineLearningBehaviorAnalytics +func (tr *AlertRuleMachineLearningBehaviorAnalytics) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AlertRuleMachineLearningBehaviorAnalytics +func (tr *AlertRuleMachineLearningBehaviorAnalytics) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AlertRuleMachineLearningBehaviorAnalytics using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AlertRuleMachineLearningBehaviorAnalytics) LateInitialize(attrs []byte) (bool, error) { + params := &AlertRuleMachineLearningBehaviorAnalyticsParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AlertRuleMachineLearningBehaviorAnalytics) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulemachinelearningbehavioranalytics_types.go b/apis/sentinel/v1alpha1/zz_alertrulemachinelearningbehavioranalytics_types.go new file mode 100755 index 000000000..ba1596d18 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulemachinelearningbehavioranalytics_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AlertRuleMachineLearningBehaviorAnalyticsObservation struct { +} + +type AlertRuleMachineLearningBehaviorAnalyticsParameters struct { + + // +kubebuilder:validation:Required + AlertRuleTemplateGUID *string `json:"alertRuleTemplateGuid" tf:"alert_rule_template_guid,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// AlertRuleMachineLearningBehaviorAnalyticsSpec defines the desired state of AlertRuleMachineLearningBehaviorAnalytics +type AlertRuleMachineLearningBehaviorAnalyticsSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AlertRuleMachineLearningBehaviorAnalyticsParameters `json:"forProvider"` +} + +// AlertRuleMachineLearningBehaviorAnalyticsStatus defines the observed state of AlertRuleMachineLearningBehaviorAnalytics. +type AlertRuleMachineLearningBehaviorAnalyticsStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AlertRuleMachineLearningBehaviorAnalyticsObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleMachineLearningBehaviorAnalytics is the Schema for the AlertRuleMachineLearningBehaviorAnalyticss API +// +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,azurejet} +type AlertRuleMachineLearningBehaviorAnalytics struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AlertRuleMachineLearningBehaviorAnalyticsSpec `json:"spec"` + Status AlertRuleMachineLearningBehaviorAnalyticsStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleMachineLearningBehaviorAnalyticsList contains a list of AlertRuleMachineLearningBehaviorAnalyticss +type AlertRuleMachineLearningBehaviorAnalyticsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AlertRuleMachineLearningBehaviorAnalytics `json:"items"` +} + +// Repository type metadata. +var ( + AlertRuleMachineLearningBehaviorAnalytics_Kind = "AlertRuleMachineLearningBehaviorAnalytics" + AlertRuleMachineLearningBehaviorAnalytics_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AlertRuleMachineLearningBehaviorAnalytics_Kind}.String() + AlertRuleMachineLearningBehaviorAnalytics_KindAPIVersion = AlertRuleMachineLearningBehaviorAnalytics_Kind + "." + CRDGroupVersion.String() + AlertRuleMachineLearningBehaviorAnalytics_GroupVersionKind = CRDGroupVersion.WithKind(AlertRuleMachineLearningBehaviorAnalytics_Kind) +) + +func init() { + SchemeBuilder.Register(&AlertRuleMachineLearningBehaviorAnalytics{}, &AlertRuleMachineLearningBehaviorAnalyticsList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulemssecurityincident_terraformed.go b/apis/sentinel/v1alpha1/zz_alertrulemssecurityincident_terraformed.go new file mode 100755 index 000000000..cdec1ba6d --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulemssecurityincident_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AlertRuleMsSecurityIncident +func (mg *AlertRuleMsSecurityIncident) GetTerraformResourceType() string { + return "azurerm_sentinel_alert_rule_ms_security_incident" +} + +// GetConnectionDetailsMapping for this AlertRuleMsSecurityIncident +func (tr *AlertRuleMsSecurityIncident) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AlertRuleMsSecurityIncident +func (tr *AlertRuleMsSecurityIncident) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AlertRuleMsSecurityIncident +func (tr *AlertRuleMsSecurityIncident) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AlertRuleMsSecurityIncident +func (tr *AlertRuleMsSecurityIncident) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AlertRuleMsSecurityIncident +func (tr *AlertRuleMsSecurityIncident) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AlertRuleMsSecurityIncident using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AlertRuleMsSecurityIncident) LateInitialize(attrs []byte) (bool, error) { + params := &AlertRuleMsSecurityIncidentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AlertRuleMsSecurityIncident) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulemssecurityincident_types.go b/apis/sentinel/v1alpha1/zz_alertrulemssecurityincident_types.go new file mode 100755 index 000000000..1531a7d44 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulemssecurityincident_types.go @@ -0,0 +1,114 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AlertRuleMsSecurityIncidentObservation struct { +} + +type AlertRuleMsSecurityIncidentParameters struct { + + // +kubebuilder:validation:Optional + AlertRuleTemplateGUID *string `json:"alertRuleTemplateGuid,omitempty" tf:"alert_rule_template_guid,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + DisplayNameExcludeFilter []*string `json:"displayNameExcludeFilter,omitempty" tf:"display_name_exclude_filter,omitempty"` + + // +kubebuilder:validation:Optional + DisplayNameFilter []*string `json:"displayNameFilter,omitempty" tf:"display_name_filter,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ProductFilter *string `json:"productFilter" tf:"product_filter,omitempty"` + + // +kubebuilder:validation:Required + SeverityFilter []*string `json:"severityFilter" tf:"severity_filter,omitempty"` + + // +kubebuilder:validation:Optional + TextWhitelist []*string `json:"textWhitelist,omitempty" tf:"text_whitelist,omitempty"` +} + +// AlertRuleMsSecurityIncidentSpec defines the desired state of AlertRuleMsSecurityIncident +type AlertRuleMsSecurityIncidentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AlertRuleMsSecurityIncidentParameters `json:"forProvider"` +} + +// AlertRuleMsSecurityIncidentStatus defines the observed state of AlertRuleMsSecurityIncident. +type AlertRuleMsSecurityIncidentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AlertRuleMsSecurityIncidentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleMsSecurityIncident is the Schema for the AlertRuleMsSecurityIncidents API +// +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,azurejet} +type AlertRuleMsSecurityIncident struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AlertRuleMsSecurityIncidentSpec `json:"spec"` + Status AlertRuleMsSecurityIncidentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleMsSecurityIncidentList contains a list of AlertRuleMsSecurityIncidents +type AlertRuleMsSecurityIncidentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AlertRuleMsSecurityIncident `json:"items"` +} + +// Repository type metadata. +var ( + AlertRuleMsSecurityIncident_Kind = "AlertRuleMsSecurityIncident" + AlertRuleMsSecurityIncident_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AlertRuleMsSecurityIncident_Kind}.String() + AlertRuleMsSecurityIncident_KindAPIVersion = AlertRuleMsSecurityIncident_Kind + "." + CRDGroupVersion.String() + AlertRuleMsSecurityIncident_GroupVersionKind = CRDGroupVersion.WithKind(AlertRuleMsSecurityIncident_Kind) +) + +func init() { + SchemeBuilder.Register(&AlertRuleMsSecurityIncident{}, &AlertRuleMsSecurityIncidentList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulescheduled_terraformed.go b/apis/sentinel/v1alpha1/zz_alertrulescheduled_terraformed.go new file mode 100755 index 000000000..3aa81af40 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulescheduled_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AlertRuleScheduled +func (mg *AlertRuleScheduled) GetTerraformResourceType() string { + return "azurerm_sentinel_alert_rule_scheduled" +} + +// GetConnectionDetailsMapping for this AlertRuleScheduled +func (tr *AlertRuleScheduled) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AlertRuleScheduled +func (tr *AlertRuleScheduled) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AlertRuleScheduled +func (tr *AlertRuleScheduled) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AlertRuleScheduled +func (tr *AlertRuleScheduled) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AlertRuleScheduled +func (tr *AlertRuleScheduled) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AlertRuleScheduled using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AlertRuleScheduled) LateInitialize(attrs []byte) (bool, error) { + params := &AlertRuleScheduledParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AlertRuleScheduled) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_alertrulescheduled_types.go b/apis/sentinel/v1alpha1/zz_alertrulescheduled_types.go new file mode 100755 index 000000000..ae4fb7467 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_alertrulescheduled_types.go @@ -0,0 +1,174 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AlertRuleScheduledObservation struct { +} + +type AlertRuleScheduledParameters struct { + + // +kubebuilder:validation:Optional + AlertRuleTemplateGUID *string `json:"alertRuleTemplateGuid,omitempty" tf:"alert_rule_template_guid,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + DisplayName *string `json:"displayName" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + EventGrouping []EventGroupingParameters `json:"eventGrouping,omitempty" tf:"event_grouping,omitempty"` + + // +kubebuilder:validation:Optional + IncidentConfiguration []IncidentConfigurationParameters `json:"incidentConfiguration,omitempty" tf:"incident_configuration,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Query *string `json:"query" tf:"query,omitempty"` + + // +kubebuilder:validation:Optional + QueryFrequency *string `json:"queryFrequency,omitempty" tf:"query_frequency,omitempty"` + + // +kubebuilder:validation:Optional + QueryPeriod *string `json:"queryPeriod,omitempty" tf:"query_period,omitempty"` + + // +kubebuilder:validation:Required + Severity *string `json:"severity" tf:"severity,omitempty"` + + // +kubebuilder:validation:Optional + SuppressionDuration *string `json:"suppressionDuration,omitempty" tf:"suppression_duration,omitempty"` + + // +kubebuilder:validation:Optional + SuppressionEnabled *bool `json:"suppressionEnabled,omitempty" tf:"suppression_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Tactics []*string `json:"tactics,omitempty" tf:"tactics,omitempty"` + + // +kubebuilder:validation:Optional + TriggerOperator *string `json:"triggerOperator,omitempty" tf:"trigger_operator,omitempty"` + + // +kubebuilder:validation:Optional + TriggerThreshold *int64 `json:"triggerThreshold,omitempty" tf:"trigger_threshold,omitempty"` +} + +type EventGroupingObservation struct { +} + +type EventGroupingParameters struct { + + // +kubebuilder:validation:Required + AggregationMethod *string `json:"aggregationMethod" tf:"aggregation_method,omitempty"` +} + +type GroupingObservation struct { +} + +type GroupingParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + EntityMatchingMethod *string `json:"entityMatchingMethod,omitempty" tf:"entity_matching_method,omitempty"` + + // +kubebuilder:validation:Optional + GroupBy []*string `json:"groupBy,omitempty" tf:"group_by,omitempty"` + + // +kubebuilder:validation:Optional + LookbackDuration *string `json:"lookbackDuration,omitempty" tf:"lookback_duration,omitempty"` + + // +kubebuilder:validation:Optional + ReopenClosedIncidents *bool `json:"reopenClosedIncidents,omitempty" tf:"reopen_closed_incidents,omitempty"` +} + +type IncidentConfigurationObservation struct { +} + +type IncidentConfigurationParameters struct { + + // +kubebuilder:validation:Required + CreateIncident *bool `json:"createIncident" tf:"create_incident,omitempty"` + + // +kubebuilder:validation:Required + Grouping []GroupingParameters `json:"grouping" tf:"grouping,omitempty"` +} + +// AlertRuleScheduledSpec defines the desired state of AlertRuleScheduled +type AlertRuleScheduledSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AlertRuleScheduledParameters `json:"forProvider"` +} + +// AlertRuleScheduledStatus defines the observed state of AlertRuleScheduled. +type AlertRuleScheduledStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AlertRuleScheduledObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleScheduled is the Schema for the AlertRuleScheduleds API +// +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,azurejet} +type AlertRuleScheduled struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AlertRuleScheduledSpec `json:"spec"` + Status AlertRuleScheduledStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AlertRuleScheduledList contains a list of AlertRuleScheduleds +type AlertRuleScheduledList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AlertRuleScheduled `json:"items"` +} + +// Repository type metadata. +var ( + AlertRuleScheduled_Kind = "AlertRuleScheduled" + AlertRuleScheduled_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AlertRuleScheduled_Kind}.String() + AlertRuleScheduled_KindAPIVersion = AlertRuleScheduled_Kind + "." + CRDGroupVersion.String() + AlertRuleScheduled_GroupVersionKind = CRDGroupVersion.WithKind(AlertRuleScheduled_Kind) +) + +func init() { + SchemeBuilder.Register(&AlertRuleScheduled{}, &AlertRuleScheduledList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorawscloudtrail_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectorawscloudtrail_terraformed.go new file mode 100755 index 000000000..fdd16b258 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorawscloudtrail_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorAwsCloudTrail +func (mg *DataConnectorAwsCloudTrail) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_aws_cloud_trail" +} + +// GetConnectionDetailsMapping for this DataConnectorAwsCloudTrail +func (tr *DataConnectorAwsCloudTrail) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorAwsCloudTrail +func (tr *DataConnectorAwsCloudTrail) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorAwsCloudTrail +func (tr *DataConnectorAwsCloudTrail) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorAwsCloudTrail +func (tr *DataConnectorAwsCloudTrail) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorAwsCloudTrail +func (tr *DataConnectorAwsCloudTrail) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorAwsCloudTrail using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorAwsCloudTrail) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorAwsCloudTrailParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorAwsCloudTrail) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorawscloudtrail_types.go b/apis/sentinel/v1alpha1/zz_dataconnectorawscloudtrail_types.go new file mode 100755 index 000000000..35af3d9db --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorawscloudtrail_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorAwsCloudTrailObservation struct { +} + +type DataConnectorAwsCloudTrailParameters struct { + + // +kubebuilder:validation:Required + AwsRoleArn *string `json:"awsRoleArn" tf:"aws_role_arn,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// DataConnectorAwsCloudTrailSpec defines the desired state of DataConnectorAwsCloudTrail +type DataConnectorAwsCloudTrailSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorAwsCloudTrailParameters `json:"forProvider"` +} + +// DataConnectorAwsCloudTrailStatus defines the observed state of DataConnectorAwsCloudTrail. +type DataConnectorAwsCloudTrailStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorAwsCloudTrailObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAwsCloudTrail is the Schema for the DataConnectorAwsCloudTrails API +// +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,azurejet} +type DataConnectorAwsCloudTrail struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorAwsCloudTrailSpec `json:"spec"` + Status DataConnectorAwsCloudTrailStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAwsCloudTrailList contains a list of DataConnectorAwsCloudTrails +type DataConnectorAwsCloudTrailList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorAwsCloudTrail `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorAwsCloudTrail_Kind = "DataConnectorAwsCloudTrail" + DataConnectorAwsCloudTrail_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorAwsCloudTrail_Kind}.String() + DataConnectorAwsCloudTrail_KindAPIVersion = DataConnectorAwsCloudTrail_Kind + "." + CRDGroupVersion.String() + DataConnectorAwsCloudTrail_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorAwsCloudTrail_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorAwsCloudTrail{}, &DataConnectorAwsCloudTrailList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorazureactivedirectory_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectorazureactivedirectory_terraformed.go new file mode 100755 index 000000000..1924d5223 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorazureactivedirectory_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorAzureActiveDirectory +func (mg *DataConnectorAzureActiveDirectory) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_azure_active_directory" +} + +// GetConnectionDetailsMapping for this DataConnectorAzureActiveDirectory +func (tr *DataConnectorAzureActiveDirectory) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorAzureActiveDirectory +func (tr *DataConnectorAzureActiveDirectory) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorAzureActiveDirectory +func (tr *DataConnectorAzureActiveDirectory) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorAzureActiveDirectory +func (tr *DataConnectorAzureActiveDirectory) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorAzureActiveDirectory +func (tr *DataConnectorAzureActiveDirectory) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorAzureActiveDirectory using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorAzureActiveDirectory) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorAzureActiveDirectoryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorAzureActiveDirectory) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorazureactivedirectory_types.go b/apis/sentinel/v1alpha1/zz_dataconnectorazureactivedirectory_types.go new file mode 100755 index 000000000..f619f8b46 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorazureactivedirectory_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorAzureActiveDirectoryObservation struct { +} + +type DataConnectorAzureActiveDirectoryParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +// DataConnectorAzureActiveDirectorySpec defines the desired state of DataConnectorAzureActiveDirectory +type DataConnectorAzureActiveDirectorySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorAzureActiveDirectoryParameters `json:"forProvider"` +} + +// DataConnectorAzureActiveDirectoryStatus defines the observed state of DataConnectorAzureActiveDirectory. +type DataConnectorAzureActiveDirectoryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorAzureActiveDirectoryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAzureActiveDirectory is the Schema for the DataConnectorAzureActiveDirectorys API +// +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,azurejet} +type DataConnectorAzureActiveDirectory struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorAzureActiveDirectorySpec `json:"spec"` + Status DataConnectorAzureActiveDirectoryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAzureActiveDirectoryList contains a list of DataConnectorAzureActiveDirectorys +type DataConnectorAzureActiveDirectoryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorAzureActiveDirectory `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorAzureActiveDirectory_Kind = "DataConnectorAzureActiveDirectory" + DataConnectorAzureActiveDirectory_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorAzureActiveDirectory_Kind}.String() + DataConnectorAzureActiveDirectory_KindAPIVersion = DataConnectorAzureActiveDirectory_Kind + "." + CRDGroupVersion.String() + DataConnectorAzureActiveDirectory_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorAzureActiveDirectory_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorAzureActiveDirectory{}, &DataConnectorAzureActiveDirectoryList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorazureadvancedthreatprotection_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectorazureadvancedthreatprotection_terraformed.go new file mode 100755 index 000000000..ddaacc296 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorazureadvancedthreatprotection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorAzureAdvancedThreatProtection +func (mg *DataConnectorAzureAdvancedThreatProtection) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_azure_advanced_threat_protection" +} + +// GetConnectionDetailsMapping for this DataConnectorAzureAdvancedThreatProtection +func (tr *DataConnectorAzureAdvancedThreatProtection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorAzureAdvancedThreatProtection +func (tr *DataConnectorAzureAdvancedThreatProtection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorAzureAdvancedThreatProtection +func (tr *DataConnectorAzureAdvancedThreatProtection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorAzureAdvancedThreatProtection +func (tr *DataConnectorAzureAdvancedThreatProtection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorAzureAdvancedThreatProtection +func (tr *DataConnectorAzureAdvancedThreatProtection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorAzureAdvancedThreatProtection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorAzureAdvancedThreatProtection) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorAzureAdvancedThreatProtectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorAzureAdvancedThreatProtection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorazureadvancedthreatprotection_types.go b/apis/sentinel/v1alpha1/zz_dataconnectorazureadvancedthreatprotection_types.go new file mode 100755 index 000000000..dc1508dbe --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorazureadvancedthreatprotection_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorAzureAdvancedThreatProtectionObservation struct { +} + +type DataConnectorAzureAdvancedThreatProtectionParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +// DataConnectorAzureAdvancedThreatProtectionSpec defines the desired state of DataConnectorAzureAdvancedThreatProtection +type DataConnectorAzureAdvancedThreatProtectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorAzureAdvancedThreatProtectionParameters `json:"forProvider"` +} + +// DataConnectorAzureAdvancedThreatProtectionStatus defines the observed state of DataConnectorAzureAdvancedThreatProtection. +type DataConnectorAzureAdvancedThreatProtectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorAzureAdvancedThreatProtectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAzureAdvancedThreatProtection is the Schema for the DataConnectorAzureAdvancedThreatProtections API +// +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,azurejet} +type DataConnectorAzureAdvancedThreatProtection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorAzureAdvancedThreatProtectionSpec `json:"spec"` + Status DataConnectorAzureAdvancedThreatProtectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAzureAdvancedThreatProtectionList contains a list of DataConnectorAzureAdvancedThreatProtections +type DataConnectorAzureAdvancedThreatProtectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorAzureAdvancedThreatProtection `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorAzureAdvancedThreatProtection_Kind = "DataConnectorAzureAdvancedThreatProtection" + DataConnectorAzureAdvancedThreatProtection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorAzureAdvancedThreatProtection_Kind}.String() + DataConnectorAzureAdvancedThreatProtection_KindAPIVersion = DataConnectorAzureAdvancedThreatProtection_Kind + "." + CRDGroupVersion.String() + DataConnectorAzureAdvancedThreatProtection_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorAzureAdvancedThreatProtection_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorAzureAdvancedThreatProtection{}, &DataConnectorAzureAdvancedThreatProtectionList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorazuresecuritycenter_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectorazuresecuritycenter_terraformed.go new file mode 100755 index 000000000..129ef10b6 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorazuresecuritycenter_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorAzureSecurityCenter +func (mg *DataConnectorAzureSecurityCenter) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_azure_security_center" +} + +// GetConnectionDetailsMapping for this DataConnectorAzureSecurityCenter +func (tr *DataConnectorAzureSecurityCenter) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorAzureSecurityCenter +func (tr *DataConnectorAzureSecurityCenter) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorAzureSecurityCenter +func (tr *DataConnectorAzureSecurityCenter) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorAzureSecurityCenter +func (tr *DataConnectorAzureSecurityCenter) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorAzureSecurityCenter +func (tr *DataConnectorAzureSecurityCenter) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorAzureSecurityCenter using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorAzureSecurityCenter) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorAzureSecurityCenterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorAzureSecurityCenter) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorazuresecuritycenter_types.go b/apis/sentinel/v1alpha1/zz_dataconnectorazuresecuritycenter_types.go new file mode 100755 index 000000000..61fdee028 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorazuresecuritycenter_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorAzureSecurityCenterObservation struct { +} + +type DataConnectorAzureSecurityCenterParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SubscriptionID *string `json:"subscriptionId,omitempty" tf:"subscription_id,omitempty"` +} + +// DataConnectorAzureSecurityCenterSpec defines the desired state of DataConnectorAzureSecurityCenter +type DataConnectorAzureSecurityCenterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorAzureSecurityCenterParameters `json:"forProvider"` +} + +// DataConnectorAzureSecurityCenterStatus defines the observed state of DataConnectorAzureSecurityCenter. +type DataConnectorAzureSecurityCenterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorAzureSecurityCenterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAzureSecurityCenter is the Schema for the DataConnectorAzureSecurityCenters API +// +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,azurejet} +type DataConnectorAzureSecurityCenter struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorAzureSecurityCenterSpec `json:"spec"` + Status DataConnectorAzureSecurityCenterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorAzureSecurityCenterList contains a list of DataConnectorAzureSecurityCenters +type DataConnectorAzureSecurityCenterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorAzureSecurityCenter `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorAzureSecurityCenter_Kind = "DataConnectorAzureSecurityCenter" + DataConnectorAzureSecurityCenter_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorAzureSecurityCenter_Kind}.String() + DataConnectorAzureSecurityCenter_KindAPIVersion = DataConnectorAzureSecurityCenter_Kind + "." + CRDGroupVersion.String() + DataConnectorAzureSecurityCenter_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorAzureSecurityCenter_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorAzureSecurityCenter{}, &DataConnectorAzureSecurityCenterList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectormicrosoftcloudappsecurity_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectormicrosoftcloudappsecurity_terraformed.go new file mode 100755 index 000000000..0e1886c09 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectormicrosoftcloudappsecurity_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorMicrosoftCloudAppSecurity +func (mg *DataConnectorMicrosoftCloudAppSecurity) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_microsoft_cloud_app_security" +} + +// GetConnectionDetailsMapping for this DataConnectorMicrosoftCloudAppSecurity +func (tr *DataConnectorMicrosoftCloudAppSecurity) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorMicrosoftCloudAppSecurity +func (tr *DataConnectorMicrosoftCloudAppSecurity) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorMicrosoftCloudAppSecurity +func (tr *DataConnectorMicrosoftCloudAppSecurity) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorMicrosoftCloudAppSecurity +func (tr *DataConnectorMicrosoftCloudAppSecurity) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorMicrosoftCloudAppSecurity +func (tr *DataConnectorMicrosoftCloudAppSecurity) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorMicrosoftCloudAppSecurity using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorMicrosoftCloudAppSecurity) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorMicrosoftCloudAppSecurityParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorMicrosoftCloudAppSecurity) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectormicrosoftcloudappsecurity_types.go b/apis/sentinel/v1alpha1/zz_dataconnectormicrosoftcloudappsecurity_types.go new file mode 100755 index 000000000..847896adc --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectormicrosoftcloudappsecurity_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorMicrosoftCloudAppSecurityObservation struct { +} + +type DataConnectorMicrosoftCloudAppSecurityParameters struct { + + // +kubebuilder:validation:Optional + AlertsEnabled *bool `json:"alertsEnabled,omitempty" tf:"alerts_enabled,omitempty"` + + // +kubebuilder:validation:Optional + DiscoveryLogsEnabled *bool `json:"discoveryLogsEnabled,omitempty" tf:"discovery_logs_enabled,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +// DataConnectorMicrosoftCloudAppSecuritySpec defines the desired state of DataConnectorMicrosoftCloudAppSecurity +type DataConnectorMicrosoftCloudAppSecuritySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorMicrosoftCloudAppSecurityParameters `json:"forProvider"` +} + +// DataConnectorMicrosoftCloudAppSecurityStatus defines the observed state of DataConnectorMicrosoftCloudAppSecurity. +type DataConnectorMicrosoftCloudAppSecurityStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorMicrosoftCloudAppSecurityObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorMicrosoftCloudAppSecurity is the Schema for the DataConnectorMicrosoftCloudAppSecuritys API +// +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,azurejet} +type DataConnectorMicrosoftCloudAppSecurity struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorMicrosoftCloudAppSecuritySpec `json:"spec"` + Status DataConnectorMicrosoftCloudAppSecurityStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorMicrosoftCloudAppSecurityList contains a list of DataConnectorMicrosoftCloudAppSecuritys +type DataConnectorMicrosoftCloudAppSecurityList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorMicrosoftCloudAppSecurity `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorMicrosoftCloudAppSecurity_Kind = "DataConnectorMicrosoftCloudAppSecurity" + DataConnectorMicrosoftCloudAppSecurity_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorMicrosoftCloudAppSecurity_Kind}.String() + DataConnectorMicrosoftCloudAppSecurity_KindAPIVersion = DataConnectorMicrosoftCloudAppSecurity_Kind + "." + CRDGroupVersion.String() + DataConnectorMicrosoftCloudAppSecurity_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorMicrosoftCloudAppSecurity_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorMicrosoftCloudAppSecurity{}, &DataConnectorMicrosoftCloudAppSecurityList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectoroffice365_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectoroffice365_terraformed.go new file mode 100755 index 000000000..46244b4e8 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectoroffice365_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorOffice365 +func (mg *DataConnectorOffice365) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_office_365" +} + +// GetConnectionDetailsMapping for this DataConnectorOffice365 +func (tr *DataConnectorOffice365) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorOffice365 +func (tr *DataConnectorOffice365) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorOffice365 +func (tr *DataConnectorOffice365) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorOffice365 +func (tr *DataConnectorOffice365) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorOffice365 +func (tr *DataConnectorOffice365) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorOffice365 using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorOffice365) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorOffice365Parameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorOffice365) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectoroffice365_types.go b/apis/sentinel/v1alpha1/zz_dataconnectoroffice365_types.go new file mode 100755 index 000000000..539edd36d --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectoroffice365_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorOffice365Observation struct { +} + +type DataConnectorOffice365Parameters struct { + + // +kubebuilder:validation:Optional + ExchangeEnabled *bool `json:"exchangeEnabled,omitempty" tf:"exchange_enabled,omitempty"` + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + SharepointEnabled *bool `json:"sharepointEnabled,omitempty" tf:"sharepoint_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TeamsEnabled *bool `json:"teamsEnabled,omitempty" tf:"teams_enabled,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +// DataConnectorOffice365Spec defines the desired state of DataConnectorOffice365 +type DataConnectorOffice365Spec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorOffice365Parameters `json:"forProvider"` +} + +// DataConnectorOffice365Status defines the observed state of DataConnectorOffice365. +type DataConnectorOffice365Status struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorOffice365Observation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorOffice365 is the Schema for the DataConnectorOffice365s API +// +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,azurejet} +type DataConnectorOffice365 struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorOffice365Spec `json:"spec"` + Status DataConnectorOffice365Status `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorOffice365List contains a list of DataConnectorOffice365s +type DataConnectorOffice365List struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorOffice365 `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorOffice365_Kind = "DataConnectorOffice365" + DataConnectorOffice365_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorOffice365_Kind}.String() + DataConnectorOffice365_KindAPIVersion = DataConnectorOffice365_Kind + "." + CRDGroupVersion.String() + DataConnectorOffice365_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorOffice365_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorOffice365{}, &DataConnectorOffice365List{}) +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorthreatintelligence_terraformed.go b/apis/sentinel/v1alpha1/zz_dataconnectorthreatintelligence_terraformed.go new file mode 100755 index 000000000..7206885c0 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorthreatintelligence_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataConnectorThreatIntelligence +func (mg *DataConnectorThreatIntelligence) GetTerraformResourceType() string { + return "azurerm_sentinel_data_connector_threat_intelligence" +} + +// GetConnectionDetailsMapping for this DataConnectorThreatIntelligence +func (tr *DataConnectorThreatIntelligence) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataConnectorThreatIntelligence +func (tr *DataConnectorThreatIntelligence) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataConnectorThreatIntelligence +func (tr *DataConnectorThreatIntelligence) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataConnectorThreatIntelligence +func (tr *DataConnectorThreatIntelligence) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataConnectorThreatIntelligence +func (tr *DataConnectorThreatIntelligence) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataConnectorThreatIntelligence using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataConnectorThreatIntelligence) LateInitialize(attrs []byte) (bool, error) { + params := &DataConnectorThreatIntelligenceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataConnectorThreatIntelligence) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sentinel/v1alpha1/zz_dataconnectorthreatintelligence_types.go b/apis/sentinel/v1alpha1/zz_dataconnectorthreatintelligence_types.go new file mode 100755 index 000000000..bb9f8782e --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_dataconnectorthreatintelligence_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataConnectorThreatIntelligenceObservation struct { +} + +type DataConnectorThreatIntelligenceParameters struct { + + // +kubebuilder:validation:Required + LogAnalyticsWorkspaceID *string `json:"logAnalyticsWorkspaceId" tf:"log_analytics_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +// DataConnectorThreatIntelligenceSpec defines the desired state of DataConnectorThreatIntelligence +type DataConnectorThreatIntelligenceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataConnectorThreatIntelligenceParameters `json:"forProvider"` +} + +// DataConnectorThreatIntelligenceStatus defines the observed state of DataConnectorThreatIntelligence. +type DataConnectorThreatIntelligenceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataConnectorThreatIntelligenceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorThreatIntelligence is the Schema for the DataConnectorThreatIntelligences API +// +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,azurejet} +type DataConnectorThreatIntelligence struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataConnectorThreatIntelligenceSpec `json:"spec"` + Status DataConnectorThreatIntelligenceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataConnectorThreatIntelligenceList contains a list of DataConnectorThreatIntelligences +type DataConnectorThreatIntelligenceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataConnectorThreatIntelligence `json:"items"` +} + +// Repository type metadata. +var ( + DataConnectorThreatIntelligence_Kind = "DataConnectorThreatIntelligence" + DataConnectorThreatIntelligence_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataConnectorThreatIntelligence_Kind}.String() + DataConnectorThreatIntelligence_KindAPIVersion = DataConnectorThreatIntelligence_Kind + "." + CRDGroupVersion.String() + DataConnectorThreatIntelligence_GroupVersionKind = CRDGroupVersion.WithKind(DataConnectorThreatIntelligence_Kind) +) + +func init() { + SchemeBuilder.Register(&DataConnectorThreatIntelligence{}, &DataConnectorThreatIntelligenceList{}) +} diff --git a/apis/sentinel/v1alpha1/zz_generated.deepcopy.go b/apis/sentinel/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..2dac5a2a7 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1860 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleFusion) DeepCopyInto(out *AlertRuleFusion) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleFusion. +func (in *AlertRuleFusion) DeepCopy() *AlertRuleFusion { + if in == nil { + return nil + } + out := new(AlertRuleFusion) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleFusion) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleFusionList) DeepCopyInto(out *AlertRuleFusionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AlertRuleFusion, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleFusionList. +func (in *AlertRuleFusionList) DeepCopy() *AlertRuleFusionList { + if in == nil { + return nil + } + out := new(AlertRuleFusionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleFusionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleFusionObservation) DeepCopyInto(out *AlertRuleFusionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleFusionObservation. +func (in *AlertRuleFusionObservation) DeepCopy() *AlertRuleFusionObservation { + if in == nil { + return nil + } + out := new(AlertRuleFusionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleFusionParameters) DeepCopyInto(out *AlertRuleFusionParameters) { + *out = *in + if in.AlertRuleTemplateGUID != nil { + in, out := &in.AlertRuleTemplateGUID, &out.AlertRuleTemplateGUID + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleFusionParameters. +func (in *AlertRuleFusionParameters) DeepCopy() *AlertRuleFusionParameters { + if in == nil { + return nil + } + out := new(AlertRuleFusionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleFusionSpec) DeepCopyInto(out *AlertRuleFusionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleFusionSpec. +func (in *AlertRuleFusionSpec) DeepCopy() *AlertRuleFusionSpec { + if in == nil { + return nil + } + out := new(AlertRuleFusionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleFusionStatus) DeepCopyInto(out *AlertRuleFusionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleFusionStatus. +func (in *AlertRuleFusionStatus) DeepCopy() *AlertRuleFusionStatus { + if in == nil { + return nil + } + out := new(AlertRuleFusionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMachineLearningBehaviorAnalytics) DeepCopyInto(out *AlertRuleMachineLearningBehaviorAnalytics) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMachineLearningBehaviorAnalytics. +func (in *AlertRuleMachineLearningBehaviorAnalytics) DeepCopy() *AlertRuleMachineLearningBehaviorAnalytics { + if in == nil { + return nil + } + out := new(AlertRuleMachineLearningBehaviorAnalytics) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleMachineLearningBehaviorAnalytics) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMachineLearningBehaviorAnalyticsList) DeepCopyInto(out *AlertRuleMachineLearningBehaviorAnalyticsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AlertRuleMachineLearningBehaviorAnalytics, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMachineLearningBehaviorAnalyticsList. +func (in *AlertRuleMachineLearningBehaviorAnalyticsList) DeepCopy() *AlertRuleMachineLearningBehaviorAnalyticsList { + if in == nil { + return nil + } + out := new(AlertRuleMachineLearningBehaviorAnalyticsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleMachineLearningBehaviorAnalyticsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMachineLearningBehaviorAnalyticsObservation) DeepCopyInto(out *AlertRuleMachineLearningBehaviorAnalyticsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMachineLearningBehaviorAnalyticsObservation. +func (in *AlertRuleMachineLearningBehaviorAnalyticsObservation) DeepCopy() *AlertRuleMachineLearningBehaviorAnalyticsObservation { + if in == nil { + return nil + } + out := new(AlertRuleMachineLearningBehaviorAnalyticsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMachineLearningBehaviorAnalyticsParameters) DeepCopyInto(out *AlertRuleMachineLearningBehaviorAnalyticsParameters) { + *out = *in + if in.AlertRuleTemplateGUID != nil { + in, out := &in.AlertRuleTemplateGUID, &out.AlertRuleTemplateGUID + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMachineLearningBehaviorAnalyticsParameters. +func (in *AlertRuleMachineLearningBehaviorAnalyticsParameters) DeepCopy() *AlertRuleMachineLearningBehaviorAnalyticsParameters { + if in == nil { + return nil + } + out := new(AlertRuleMachineLearningBehaviorAnalyticsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMachineLearningBehaviorAnalyticsSpec) DeepCopyInto(out *AlertRuleMachineLearningBehaviorAnalyticsSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMachineLearningBehaviorAnalyticsSpec. +func (in *AlertRuleMachineLearningBehaviorAnalyticsSpec) DeepCopy() *AlertRuleMachineLearningBehaviorAnalyticsSpec { + if in == nil { + return nil + } + out := new(AlertRuleMachineLearningBehaviorAnalyticsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMachineLearningBehaviorAnalyticsStatus) DeepCopyInto(out *AlertRuleMachineLearningBehaviorAnalyticsStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMachineLearningBehaviorAnalyticsStatus. +func (in *AlertRuleMachineLearningBehaviorAnalyticsStatus) DeepCopy() *AlertRuleMachineLearningBehaviorAnalyticsStatus { + if in == nil { + return nil + } + out := new(AlertRuleMachineLearningBehaviorAnalyticsStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMsSecurityIncident) DeepCopyInto(out *AlertRuleMsSecurityIncident) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMsSecurityIncident. +func (in *AlertRuleMsSecurityIncident) DeepCopy() *AlertRuleMsSecurityIncident { + if in == nil { + return nil + } + out := new(AlertRuleMsSecurityIncident) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleMsSecurityIncident) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMsSecurityIncidentList) DeepCopyInto(out *AlertRuleMsSecurityIncidentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AlertRuleMsSecurityIncident, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMsSecurityIncidentList. +func (in *AlertRuleMsSecurityIncidentList) DeepCopy() *AlertRuleMsSecurityIncidentList { + if in == nil { + return nil + } + out := new(AlertRuleMsSecurityIncidentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleMsSecurityIncidentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMsSecurityIncidentObservation) DeepCopyInto(out *AlertRuleMsSecurityIncidentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMsSecurityIncidentObservation. +func (in *AlertRuleMsSecurityIncidentObservation) DeepCopy() *AlertRuleMsSecurityIncidentObservation { + if in == nil { + return nil + } + out := new(AlertRuleMsSecurityIncidentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMsSecurityIncidentParameters) DeepCopyInto(out *AlertRuleMsSecurityIncidentParameters) { + *out = *in + if in.AlertRuleTemplateGUID != nil { + in, out := &in.AlertRuleTemplateGUID, &out.AlertRuleTemplateGUID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.DisplayNameExcludeFilter != nil { + in, out := &in.DisplayNameExcludeFilter, &out.DisplayNameExcludeFilter + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DisplayNameFilter != nil { + in, out := &in.DisplayNameFilter, &out.DisplayNameFilter + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProductFilter != nil { + in, out := &in.ProductFilter, &out.ProductFilter + *out = new(string) + **out = **in + } + if in.SeverityFilter != nil { + in, out := &in.SeverityFilter, &out.SeverityFilter + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TextWhitelist != nil { + in, out := &in.TextWhitelist, &out.TextWhitelist + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMsSecurityIncidentParameters. +func (in *AlertRuleMsSecurityIncidentParameters) DeepCopy() *AlertRuleMsSecurityIncidentParameters { + if in == nil { + return nil + } + out := new(AlertRuleMsSecurityIncidentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMsSecurityIncidentSpec) DeepCopyInto(out *AlertRuleMsSecurityIncidentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMsSecurityIncidentSpec. +func (in *AlertRuleMsSecurityIncidentSpec) DeepCopy() *AlertRuleMsSecurityIncidentSpec { + if in == nil { + return nil + } + out := new(AlertRuleMsSecurityIncidentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleMsSecurityIncidentStatus) DeepCopyInto(out *AlertRuleMsSecurityIncidentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleMsSecurityIncidentStatus. +func (in *AlertRuleMsSecurityIncidentStatus) DeepCopy() *AlertRuleMsSecurityIncidentStatus { + if in == nil { + return nil + } + out := new(AlertRuleMsSecurityIncidentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleScheduled) DeepCopyInto(out *AlertRuleScheduled) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleScheduled. +func (in *AlertRuleScheduled) DeepCopy() *AlertRuleScheduled { + if in == nil { + return nil + } + out := new(AlertRuleScheduled) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleScheduled) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleScheduledList) DeepCopyInto(out *AlertRuleScheduledList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AlertRuleScheduled, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleScheduledList. +func (in *AlertRuleScheduledList) DeepCopy() *AlertRuleScheduledList { + if in == nil { + return nil + } + out := new(AlertRuleScheduledList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AlertRuleScheduledList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleScheduledObservation) DeepCopyInto(out *AlertRuleScheduledObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleScheduledObservation. +func (in *AlertRuleScheduledObservation) DeepCopy() *AlertRuleScheduledObservation { + if in == nil { + return nil + } + out := new(AlertRuleScheduledObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleScheduledParameters) DeepCopyInto(out *AlertRuleScheduledParameters) { + *out = *in + if in.AlertRuleTemplateGUID != nil { + in, out := &in.AlertRuleTemplateGUID, &out.AlertRuleTemplateGUID + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.EventGrouping != nil { + in, out := &in.EventGrouping, &out.EventGrouping + *out = make([]EventGroupingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IncidentConfiguration != nil { + in, out := &in.IncidentConfiguration, &out.IncidentConfiguration + *out = make([]IncidentConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Query != nil { + in, out := &in.Query, &out.Query + *out = new(string) + **out = **in + } + if in.QueryFrequency != nil { + in, out := &in.QueryFrequency, &out.QueryFrequency + *out = new(string) + **out = **in + } + if in.QueryPeriod != nil { + in, out := &in.QueryPeriod, &out.QueryPeriod + *out = new(string) + **out = **in + } + if in.Severity != nil { + in, out := &in.Severity, &out.Severity + *out = new(string) + **out = **in + } + if in.SuppressionDuration != nil { + in, out := &in.SuppressionDuration, &out.SuppressionDuration + *out = new(string) + **out = **in + } + if in.SuppressionEnabled != nil { + in, out := &in.SuppressionEnabled, &out.SuppressionEnabled + *out = new(bool) + **out = **in + } + if in.Tactics != nil { + in, out := &in.Tactics, &out.Tactics + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.TriggerOperator != nil { + in, out := &in.TriggerOperator, &out.TriggerOperator + *out = new(string) + **out = **in + } + if in.TriggerThreshold != nil { + in, out := &in.TriggerThreshold, &out.TriggerThreshold + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleScheduledParameters. +func (in *AlertRuleScheduledParameters) DeepCopy() *AlertRuleScheduledParameters { + if in == nil { + return nil + } + out := new(AlertRuleScheduledParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleScheduledSpec) DeepCopyInto(out *AlertRuleScheduledSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleScheduledSpec. +func (in *AlertRuleScheduledSpec) DeepCopy() *AlertRuleScheduledSpec { + if in == nil { + return nil + } + out := new(AlertRuleScheduledSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AlertRuleScheduledStatus) DeepCopyInto(out *AlertRuleScheduledStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertRuleScheduledStatus. +func (in *AlertRuleScheduledStatus) DeepCopy() *AlertRuleScheduledStatus { + if in == nil { + return nil + } + out := new(AlertRuleScheduledStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAwsCloudTrail) DeepCopyInto(out *DataConnectorAwsCloudTrail) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAwsCloudTrail. +func (in *DataConnectorAwsCloudTrail) DeepCopy() *DataConnectorAwsCloudTrail { + if in == nil { + return nil + } + out := new(DataConnectorAwsCloudTrail) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAwsCloudTrail) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAwsCloudTrailList) DeepCopyInto(out *DataConnectorAwsCloudTrailList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorAwsCloudTrail, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAwsCloudTrailList. +func (in *DataConnectorAwsCloudTrailList) DeepCopy() *DataConnectorAwsCloudTrailList { + if in == nil { + return nil + } + out := new(DataConnectorAwsCloudTrailList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAwsCloudTrailList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAwsCloudTrailObservation) DeepCopyInto(out *DataConnectorAwsCloudTrailObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAwsCloudTrailObservation. +func (in *DataConnectorAwsCloudTrailObservation) DeepCopy() *DataConnectorAwsCloudTrailObservation { + if in == nil { + return nil + } + out := new(DataConnectorAwsCloudTrailObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAwsCloudTrailParameters) DeepCopyInto(out *DataConnectorAwsCloudTrailParameters) { + *out = *in + if in.AwsRoleArn != nil { + in, out := &in.AwsRoleArn, &out.AwsRoleArn + *out = new(string) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAwsCloudTrailParameters. +func (in *DataConnectorAwsCloudTrailParameters) DeepCopy() *DataConnectorAwsCloudTrailParameters { + if in == nil { + return nil + } + out := new(DataConnectorAwsCloudTrailParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAwsCloudTrailSpec) DeepCopyInto(out *DataConnectorAwsCloudTrailSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAwsCloudTrailSpec. +func (in *DataConnectorAwsCloudTrailSpec) DeepCopy() *DataConnectorAwsCloudTrailSpec { + if in == nil { + return nil + } + out := new(DataConnectorAwsCloudTrailSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAwsCloudTrailStatus) DeepCopyInto(out *DataConnectorAwsCloudTrailStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAwsCloudTrailStatus. +func (in *DataConnectorAwsCloudTrailStatus) DeepCopy() *DataConnectorAwsCloudTrailStatus { + if in == nil { + return nil + } + out := new(DataConnectorAwsCloudTrailStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureActiveDirectory) DeepCopyInto(out *DataConnectorAzureActiveDirectory) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureActiveDirectory. +func (in *DataConnectorAzureActiveDirectory) DeepCopy() *DataConnectorAzureActiveDirectory { + if in == nil { + return nil + } + out := new(DataConnectorAzureActiveDirectory) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAzureActiveDirectory) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureActiveDirectoryList) DeepCopyInto(out *DataConnectorAzureActiveDirectoryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorAzureActiveDirectory, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureActiveDirectoryList. +func (in *DataConnectorAzureActiveDirectoryList) DeepCopy() *DataConnectorAzureActiveDirectoryList { + if in == nil { + return nil + } + out := new(DataConnectorAzureActiveDirectoryList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAzureActiveDirectoryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureActiveDirectoryObservation) DeepCopyInto(out *DataConnectorAzureActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureActiveDirectoryObservation. +func (in *DataConnectorAzureActiveDirectoryObservation) DeepCopy() *DataConnectorAzureActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(DataConnectorAzureActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureActiveDirectoryParameters) DeepCopyInto(out *DataConnectorAzureActiveDirectoryParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureActiveDirectoryParameters. +func (in *DataConnectorAzureActiveDirectoryParameters) DeepCopy() *DataConnectorAzureActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(DataConnectorAzureActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureActiveDirectorySpec) DeepCopyInto(out *DataConnectorAzureActiveDirectorySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureActiveDirectorySpec. +func (in *DataConnectorAzureActiveDirectorySpec) DeepCopy() *DataConnectorAzureActiveDirectorySpec { + if in == nil { + return nil + } + out := new(DataConnectorAzureActiveDirectorySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureActiveDirectoryStatus) DeepCopyInto(out *DataConnectorAzureActiveDirectoryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureActiveDirectoryStatus. +func (in *DataConnectorAzureActiveDirectoryStatus) DeepCopy() *DataConnectorAzureActiveDirectoryStatus { + if in == nil { + return nil + } + out := new(DataConnectorAzureActiveDirectoryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureAdvancedThreatProtection) DeepCopyInto(out *DataConnectorAzureAdvancedThreatProtection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureAdvancedThreatProtection. +func (in *DataConnectorAzureAdvancedThreatProtection) DeepCopy() *DataConnectorAzureAdvancedThreatProtection { + if in == nil { + return nil + } + out := new(DataConnectorAzureAdvancedThreatProtection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAzureAdvancedThreatProtection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureAdvancedThreatProtectionList) DeepCopyInto(out *DataConnectorAzureAdvancedThreatProtectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorAzureAdvancedThreatProtection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureAdvancedThreatProtectionList. +func (in *DataConnectorAzureAdvancedThreatProtectionList) DeepCopy() *DataConnectorAzureAdvancedThreatProtectionList { + if in == nil { + return nil + } + out := new(DataConnectorAzureAdvancedThreatProtectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAzureAdvancedThreatProtectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureAdvancedThreatProtectionObservation) DeepCopyInto(out *DataConnectorAzureAdvancedThreatProtectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureAdvancedThreatProtectionObservation. +func (in *DataConnectorAzureAdvancedThreatProtectionObservation) DeepCopy() *DataConnectorAzureAdvancedThreatProtectionObservation { + if in == nil { + return nil + } + out := new(DataConnectorAzureAdvancedThreatProtectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureAdvancedThreatProtectionParameters) DeepCopyInto(out *DataConnectorAzureAdvancedThreatProtectionParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureAdvancedThreatProtectionParameters. +func (in *DataConnectorAzureAdvancedThreatProtectionParameters) DeepCopy() *DataConnectorAzureAdvancedThreatProtectionParameters { + if in == nil { + return nil + } + out := new(DataConnectorAzureAdvancedThreatProtectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureAdvancedThreatProtectionSpec) DeepCopyInto(out *DataConnectorAzureAdvancedThreatProtectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureAdvancedThreatProtectionSpec. +func (in *DataConnectorAzureAdvancedThreatProtectionSpec) DeepCopy() *DataConnectorAzureAdvancedThreatProtectionSpec { + if in == nil { + return nil + } + out := new(DataConnectorAzureAdvancedThreatProtectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureAdvancedThreatProtectionStatus) DeepCopyInto(out *DataConnectorAzureAdvancedThreatProtectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureAdvancedThreatProtectionStatus. +func (in *DataConnectorAzureAdvancedThreatProtectionStatus) DeepCopy() *DataConnectorAzureAdvancedThreatProtectionStatus { + if in == nil { + return nil + } + out := new(DataConnectorAzureAdvancedThreatProtectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureSecurityCenter) DeepCopyInto(out *DataConnectorAzureSecurityCenter) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureSecurityCenter. +func (in *DataConnectorAzureSecurityCenter) DeepCopy() *DataConnectorAzureSecurityCenter { + if in == nil { + return nil + } + out := new(DataConnectorAzureSecurityCenter) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAzureSecurityCenter) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureSecurityCenterList) DeepCopyInto(out *DataConnectorAzureSecurityCenterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorAzureSecurityCenter, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureSecurityCenterList. +func (in *DataConnectorAzureSecurityCenterList) DeepCopy() *DataConnectorAzureSecurityCenterList { + if in == nil { + return nil + } + out := new(DataConnectorAzureSecurityCenterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorAzureSecurityCenterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureSecurityCenterObservation) DeepCopyInto(out *DataConnectorAzureSecurityCenterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureSecurityCenterObservation. +func (in *DataConnectorAzureSecurityCenterObservation) DeepCopy() *DataConnectorAzureSecurityCenterObservation { + if in == nil { + return nil + } + out := new(DataConnectorAzureSecurityCenterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureSecurityCenterParameters) DeepCopyInto(out *DataConnectorAzureSecurityCenterParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureSecurityCenterParameters. +func (in *DataConnectorAzureSecurityCenterParameters) DeepCopy() *DataConnectorAzureSecurityCenterParameters { + if in == nil { + return nil + } + out := new(DataConnectorAzureSecurityCenterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureSecurityCenterSpec) DeepCopyInto(out *DataConnectorAzureSecurityCenterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureSecurityCenterSpec. +func (in *DataConnectorAzureSecurityCenterSpec) DeepCopy() *DataConnectorAzureSecurityCenterSpec { + if in == nil { + return nil + } + out := new(DataConnectorAzureSecurityCenterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorAzureSecurityCenterStatus) DeepCopyInto(out *DataConnectorAzureSecurityCenterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorAzureSecurityCenterStatus. +func (in *DataConnectorAzureSecurityCenterStatus) DeepCopy() *DataConnectorAzureSecurityCenterStatus { + if in == nil { + return nil + } + out := new(DataConnectorAzureSecurityCenterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorMicrosoftCloudAppSecurity) DeepCopyInto(out *DataConnectorMicrosoftCloudAppSecurity) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorMicrosoftCloudAppSecurity. +func (in *DataConnectorMicrosoftCloudAppSecurity) DeepCopy() *DataConnectorMicrosoftCloudAppSecurity { + if in == nil { + return nil + } + out := new(DataConnectorMicrosoftCloudAppSecurity) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorMicrosoftCloudAppSecurity) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorMicrosoftCloudAppSecurityList) DeepCopyInto(out *DataConnectorMicrosoftCloudAppSecurityList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorMicrosoftCloudAppSecurity, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorMicrosoftCloudAppSecurityList. +func (in *DataConnectorMicrosoftCloudAppSecurityList) DeepCopy() *DataConnectorMicrosoftCloudAppSecurityList { + if in == nil { + return nil + } + out := new(DataConnectorMicrosoftCloudAppSecurityList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorMicrosoftCloudAppSecurityList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorMicrosoftCloudAppSecurityObservation) DeepCopyInto(out *DataConnectorMicrosoftCloudAppSecurityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorMicrosoftCloudAppSecurityObservation. +func (in *DataConnectorMicrosoftCloudAppSecurityObservation) DeepCopy() *DataConnectorMicrosoftCloudAppSecurityObservation { + if in == nil { + return nil + } + out := new(DataConnectorMicrosoftCloudAppSecurityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorMicrosoftCloudAppSecurityParameters) DeepCopyInto(out *DataConnectorMicrosoftCloudAppSecurityParameters) { + *out = *in + if in.AlertsEnabled != nil { + in, out := &in.AlertsEnabled, &out.AlertsEnabled + *out = new(bool) + **out = **in + } + if in.DiscoveryLogsEnabled != nil { + in, out := &in.DiscoveryLogsEnabled, &out.DiscoveryLogsEnabled + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorMicrosoftCloudAppSecurityParameters. +func (in *DataConnectorMicrosoftCloudAppSecurityParameters) DeepCopy() *DataConnectorMicrosoftCloudAppSecurityParameters { + if in == nil { + return nil + } + out := new(DataConnectorMicrosoftCloudAppSecurityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorMicrosoftCloudAppSecuritySpec) DeepCopyInto(out *DataConnectorMicrosoftCloudAppSecuritySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorMicrosoftCloudAppSecuritySpec. +func (in *DataConnectorMicrosoftCloudAppSecuritySpec) DeepCopy() *DataConnectorMicrosoftCloudAppSecuritySpec { + if in == nil { + return nil + } + out := new(DataConnectorMicrosoftCloudAppSecuritySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorMicrosoftCloudAppSecurityStatus) DeepCopyInto(out *DataConnectorMicrosoftCloudAppSecurityStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorMicrosoftCloudAppSecurityStatus. +func (in *DataConnectorMicrosoftCloudAppSecurityStatus) DeepCopy() *DataConnectorMicrosoftCloudAppSecurityStatus { + if in == nil { + return nil + } + out := new(DataConnectorMicrosoftCloudAppSecurityStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorOffice365) DeepCopyInto(out *DataConnectorOffice365) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorOffice365. +func (in *DataConnectorOffice365) DeepCopy() *DataConnectorOffice365 { + if in == nil { + return nil + } + out := new(DataConnectorOffice365) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorOffice365) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorOffice365List) DeepCopyInto(out *DataConnectorOffice365List) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorOffice365, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorOffice365List. +func (in *DataConnectorOffice365List) DeepCopy() *DataConnectorOffice365List { + if in == nil { + return nil + } + out := new(DataConnectorOffice365List) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorOffice365List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorOffice365Observation) DeepCopyInto(out *DataConnectorOffice365Observation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorOffice365Observation. +func (in *DataConnectorOffice365Observation) DeepCopy() *DataConnectorOffice365Observation { + if in == nil { + return nil + } + out := new(DataConnectorOffice365Observation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorOffice365Parameters) DeepCopyInto(out *DataConnectorOffice365Parameters) { + *out = *in + if in.ExchangeEnabled != nil { + in, out := &in.ExchangeEnabled, &out.ExchangeEnabled + *out = new(bool) + **out = **in + } + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SharepointEnabled != nil { + in, out := &in.SharepointEnabled, &out.SharepointEnabled + *out = new(bool) + **out = **in + } + if in.TeamsEnabled != nil { + in, out := &in.TeamsEnabled, &out.TeamsEnabled + *out = new(bool) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorOffice365Parameters. +func (in *DataConnectorOffice365Parameters) DeepCopy() *DataConnectorOffice365Parameters { + if in == nil { + return nil + } + out := new(DataConnectorOffice365Parameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorOffice365Spec) DeepCopyInto(out *DataConnectorOffice365Spec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorOffice365Spec. +func (in *DataConnectorOffice365Spec) DeepCopy() *DataConnectorOffice365Spec { + if in == nil { + return nil + } + out := new(DataConnectorOffice365Spec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorOffice365Status) DeepCopyInto(out *DataConnectorOffice365Status) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorOffice365Status. +func (in *DataConnectorOffice365Status) DeepCopy() *DataConnectorOffice365Status { + if in == nil { + return nil + } + out := new(DataConnectorOffice365Status) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorThreatIntelligence) DeepCopyInto(out *DataConnectorThreatIntelligence) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorThreatIntelligence. +func (in *DataConnectorThreatIntelligence) DeepCopy() *DataConnectorThreatIntelligence { + if in == nil { + return nil + } + out := new(DataConnectorThreatIntelligence) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorThreatIntelligence) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorThreatIntelligenceList) DeepCopyInto(out *DataConnectorThreatIntelligenceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataConnectorThreatIntelligence, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorThreatIntelligenceList. +func (in *DataConnectorThreatIntelligenceList) DeepCopy() *DataConnectorThreatIntelligenceList { + if in == nil { + return nil + } + out := new(DataConnectorThreatIntelligenceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataConnectorThreatIntelligenceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorThreatIntelligenceObservation) DeepCopyInto(out *DataConnectorThreatIntelligenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorThreatIntelligenceObservation. +func (in *DataConnectorThreatIntelligenceObservation) DeepCopy() *DataConnectorThreatIntelligenceObservation { + if in == nil { + return nil + } + out := new(DataConnectorThreatIntelligenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorThreatIntelligenceParameters) DeepCopyInto(out *DataConnectorThreatIntelligenceParameters) { + *out = *in + if in.LogAnalyticsWorkspaceID != nil { + in, out := &in.LogAnalyticsWorkspaceID, &out.LogAnalyticsWorkspaceID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorThreatIntelligenceParameters. +func (in *DataConnectorThreatIntelligenceParameters) DeepCopy() *DataConnectorThreatIntelligenceParameters { + if in == nil { + return nil + } + out := new(DataConnectorThreatIntelligenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorThreatIntelligenceSpec) DeepCopyInto(out *DataConnectorThreatIntelligenceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorThreatIntelligenceSpec. +func (in *DataConnectorThreatIntelligenceSpec) DeepCopy() *DataConnectorThreatIntelligenceSpec { + if in == nil { + return nil + } + out := new(DataConnectorThreatIntelligenceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataConnectorThreatIntelligenceStatus) DeepCopyInto(out *DataConnectorThreatIntelligenceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConnectorThreatIntelligenceStatus. +func (in *DataConnectorThreatIntelligenceStatus) DeepCopy() *DataConnectorThreatIntelligenceStatus { + if in == nil { + return nil + } + out := new(DataConnectorThreatIntelligenceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventGroupingObservation) DeepCopyInto(out *EventGroupingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventGroupingObservation. +func (in *EventGroupingObservation) DeepCopy() *EventGroupingObservation { + if in == nil { + return nil + } + out := new(EventGroupingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EventGroupingParameters) DeepCopyInto(out *EventGroupingParameters) { + *out = *in + if in.AggregationMethod != nil { + in, out := &in.AggregationMethod, &out.AggregationMethod + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventGroupingParameters. +func (in *EventGroupingParameters) DeepCopy() *EventGroupingParameters { + if in == nil { + return nil + } + out := new(EventGroupingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupingObservation) DeepCopyInto(out *GroupingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupingObservation. +func (in *GroupingObservation) DeepCopy() *GroupingObservation { + if in == nil { + return nil + } + out := new(GroupingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupingParameters) DeepCopyInto(out *GroupingParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.EntityMatchingMethod != nil { + in, out := &in.EntityMatchingMethod, &out.EntityMatchingMethod + *out = new(string) + **out = **in + } + if in.GroupBy != nil { + in, out := &in.GroupBy, &out.GroupBy + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LookbackDuration != nil { + in, out := &in.LookbackDuration, &out.LookbackDuration + *out = new(string) + **out = **in + } + if in.ReopenClosedIncidents != nil { + in, out := &in.ReopenClosedIncidents, &out.ReopenClosedIncidents + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupingParameters. +func (in *GroupingParameters) DeepCopy() *GroupingParameters { + if in == nil { + return nil + } + out := new(GroupingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IncidentConfigurationObservation) DeepCopyInto(out *IncidentConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncidentConfigurationObservation. +func (in *IncidentConfigurationObservation) DeepCopy() *IncidentConfigurationObservation { + if in == nil { + return nil + } + out := new(IncidentConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IncidentConfigurationParameters) DeepCopyInto(out *IncidentConfigurationParameters) { + *out = *in + if in.CreateIncident != nil { + in, out := &in.CreateIncident, &out.CreateIncident + *out = new(bool) + **out = **in + } + if in.Grouping != nil { + in, out := &in.Grouping, &out.Grouping + *out = make([]GroupingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncidentConfigurationParameters. +func (in *IncidentConfigurationParameters) DeepCopy() *IncidentConfigurationParameters { + if in == nil { + return nil + } + out := new(IncidentConfigurationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/sentinel/v1alpha1/zz_generated.managed.go b/apis/sentinel/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..5e9f8254a --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_generated.managed.go @@ -0,0 +1,636 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AlertRuleFusion. +func (mg *AlertRuleFusion) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AlertRuleFusion. +func (mg *AlertRuleFusion) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AlertRuleFusion. +func (mg *AlertRuleFusion) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AlertRuleFusion. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AlertRuleFusion) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AlertRuleFusion. +func (mg *AlertRuleFusion) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AlertRuleFusion. +func (mg *AlertRuleFusion) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AlertRuleFusion. +func (mg *AlertRuleFusion) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AlertRuleFusion. +func (mg *AlertRuleFusion) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AlertRuleFusion. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AlertRuleFusion) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AlertRuleFusion. +func (mg *AlertRuleFusion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AlertRuleMachineLearningBehaviorAnalytics. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AlertRuleMachineLearningBehaviorAnalytics) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AlertRuleMachineLearningBehaviorAnalytics. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AlertRuleMachineLearningBehaviorAnalytics) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AlertRuleMachineLearningBehaviorAnalytics. +func (mg *AlertRuleMachineLearningBehaviorAnalytics) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AlertRuleMsSecurityIncident. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AlertRuleMsSecurityIncident) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AlertRuleMsSecurityIncident. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AlertRuleMsSecurityIncident) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AlertRuleMsSecurityIncident. +func (mg *AlertRuleMsSecurityIncident) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AlertRuleScheduled. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AlertRuleScheduled) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AlertRuleScheduled. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AlertRuleScheduled) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AlertRuleScheduled. +func (mg *AlertRuleScheduled) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorAwsCloudTrail. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorAwsCloudTrail) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorAwsCloudTrail. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorAwsCloudTrail) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorAwsCloudTrail. +func (mg *DataConnectorAwsCloudTrail) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorAzureActiveDirectory. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorAzureActiveDirectory) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorAzureActiveDirectory. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorAzureActiveDirectory) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorAzureActiveDirectory. +func (mg *DataConnectorAzureActiveDirectory) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorAzureAdvancedThreatProtection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorAzureAdvancedThreatProtection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorAzureAdvancedThreatProtection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorAzureAdvancedThreatProtection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorAzureAdvancedThreatProtection. +func (mg *DataConnectorAzureAdvancedThreatProtection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorAzureSecurityCenter. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorAzureSecurityCenter) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorAzureSecurityCenter. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorAzureSecurityCenter) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorAzureSecurityCenter. +func (mg *DataConnectorAzureSecurityCenter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorMicrosoftCloudAppSecurity. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorMicrosoftCloudAppSecurity) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorMicrosoftCloudAppSecurity. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorMicrosoftCloudAppSecurity) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorMicrosoftCloudAppSecurity. +func (mg *DataConnectorMicrosoftCloudAppSecurity) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorOffice365. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorOffice365) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorOffice365. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorOffice365) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorOffice365. +func (mg *DataConnectorOffice365) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataConnectorThreatIntelligence. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataConnectorThreatIntelligence) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataConnectorThreatIntelligence. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataConnectorThreatIntelligence) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataConnectorThreatIntelligence. +func (mg *DataConnectorThreatIntelligence) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/sentinel/v1alpha1/zz_generated.managedlist.go b/apis/sentinel/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..24684f506 --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,119 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AlertRuleFusionList. +func (l *AlertRuleFusionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AlertRuleMachineLearningBehaviorAnalyticsList. +func (l *AlertRuleMachineLearningBehaviorAnalyticsList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AlertRuleMsSecurityIncidentList. +func (l *AlertRuleMsSecurityIncidentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AlertRuleScheduledList. +func (l *AlertRuleScheduledList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorAwsCloudTrailList. +func (l *DataConnectorAwsCloudTrailList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorAzureActiveDirectoryList. +func (l *DataConnectorAzureActiveDirectoryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorAzureAdvancedThreatProtectionList. +func (l *DataConnectorAzureAdvancedThreatProtectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorAzureSecurityCenterList. +func (l *DataConnectorAzureSecurityCenterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorMicrosoftCloudAppSecurityList. +func (l *DataConnectorMicrosoftCloudAppSecurityList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorOffice365List. +func (l *DataConnectorOffice365List) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataConnectorThreatIntelligenceList. +func (l *DataConnectorThreatIntelligenceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/sentinel/v1alpha1/zz_groupversion_info.go b/apis/sentinel/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..d0ae4b65d --- /dev/null +++ b/apis/sentinel/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=sentinel.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "sentinel.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/service/v1alpha1/zz_fabriccluster_terraformed.go b/apis/service/v1alpha1/zz_fabriccluster_terraformed.go new file mode 100755 index 000000000..38fab846a --- /dev/null +++ b/apis/service/v1alpha1/zz_fabriccluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FabricCluster +func (mg *FabricCluster) GetTerraformResourceType() string { + return "azurerm_service_fabric_cluster" +} + +// GetConnectionDetailsMapping for this FabricCluster +func (tr *FabricCluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FabricCluster +func (tr *FabricCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FabricCluster +func (tr *FabricCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FabricCluster +func (tr *FabricCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FabricCluster +func (tr *FabricCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FabricCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FabricCluster) LateInitialize(attrs []byte) (bool, error) { + params := &FabricClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FabricCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/service/v1alpha1/zz_fabriccluster_types.go b/apis/service/v1alpha1/zz_fabriccluster_types.go new file mode 100755 index 000000000..86060300e --- /dev/null +++ b/apis/service/v1alpha1/zz_fabriccluster_types.go @@ -0,0 +1,421 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationPortsObservation struct { +} + +type ApplicationPortsParameters struct { + + // +kubebuilder:validation:Required + EndPort *int64 `json:"endPort" tf:"end_port,omitempty"` + + // +kubebuilder:validation:Required + StartPort *int64 `json:"startPort" tf:"start_port,omitempty"` +} + +type AzureActiveDirectoryObservation struct { +} + +type AzureActiveDirectoryParameters struct { + + // +kubebuilder:validation:Required + ClientApplicationID *string `json:"clientApplicationId" tf:"client_application_id,omitempty"` + + // +kubebuilder:validation:Required + ClusterApplicationID *string `json:"clusterApplicationId" tf:"cluster_application_id,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +type CertificateCommonNamesObservation struct { +} + +type CertificateCommonNamesParameters struct { + + // +kubebuilder:validation:Required + CommonNames []CommonNamesParameters `json:"commonNames" tf:"common_names,omitempty"` + + // +kubebuilder:validation:Required + X509StoreName *string `json:"x509StoreName" tf:"x509_store_name,omitempty"` +} + +type CertificateObservation struct { +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` + + // +kubebuilder:validation:Optional + ThumbprintSecondary *string `json:"thumbprintSecondary,omitempty" tf:"thumbprint_secondary,omitempty"` + + // +kubebuilder:validation:Required + X509StoreName *string `json:"x509StoreName" tf:"x509_store_name,omitempty"` +} + +type ClientCertificateCommonNameObservation struct { +} + +type ClientCertificateCommonNameParameters struct { + + // +kubebuilder:validation:Required + CommonName *string `json:"commonName" tf:"common_name,omitempty"` + + // +kubebuilder:validation:Required + IsAdmin *bool `json:"isAdmin" tf:"is_admin,omitempty"` + + // +kubebuilder:validation:Optional + IssuerThumbprint *string `json:"issuerThumbprint,omitempty" tf:"issuer_thumbprint,omitempty"` +} + +type ClientCertificateThumbprintObservation struct { +} + +type ClientCertificateThumbprintParameters struct { + + // +kubebuilder:validation:Required + IsAdmin *bool `json:"isAdmin" tf:"is_admin,omitempty"` + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` +} + +type CommonNamesObservation struct { +} + +type CommonNamesParameters struct { + + // +kubebuilder:validation:Required + CertificateCommonName *string `json:"certificateCommonName" tf:"certificate_common_name,omitempty"` + + // +kubebuilder:validation:Optional + CertificateIssuerThumbprint *string `json:"certificateIssuerThumbprint,omitempty" tf:"certificate_issuer_thumbprint,omitempty"` +} + +type DeltaHealthPolicyObservation struct { +} + +type DeltaHealthPolicyParameters struct { + + // +kubebuilder:validation:Optional + MaxDeltaUnhealthyApplicationsPercent *int64 `json:"maxDeltaUnhealthyApplicationsPercent,omitempty" tf:"max_delta_unhealthy_applications_percent,omitempty"` + + // +kubebuilder:validation:Optional + MaxDeltaUnhealthyNodesPercent *int64 `json:"maxDeltaUnhealthyNodesPercent,omitempty" tf:"max_delta_unhealthy_nodes_percent,omitempty"` + + // +kubebuilder:validation:Optional + MaxUpgradeDomainDeltaUnhealthyNodesPercent *int64 `json:"maxUpgradeDomainDeltaUnhealthyNodesPercent,omitempty" tf:"max_upgrade_domain_delta_unhealthy_nodes_percent,omitempty"` +} + +type DiagnosticsConfigObservation struct { +} + +type DiagnosticsConfigParameters struct { + + // +kubebuilder:validation:Required + BlobEndpoint *string `json:"blobEndpoint" tf:"blob_endpoint,omitempty"` + + // +kubebuilder:validation:Required + ProtectedAccountKeyName *string `json:"protectedAccountKeyName" tf:"protected_account_key_name,omitempty"` + + // +kubebuilder:validation:Required + QueueEndpoint *string `json:"queueEndpoint" tf:"queue_endpoint,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Required + TableEndpoint *string `json:"tableEndpoint" tf:"table_endpoint,omitempty"` +} + +type EphemeralPortsObservation struct { +} + +type EphemeralPortsParameters struct { + + // +kubebuilder:validation:Required + EndPort *int64 `json:"endPort" tf:"end_port,omitempty"` + + // +kubebuilder:validation:Required + StartPort *int64 `json:"startPort" tf:"start_port,omitempty"` +} + +type FabricClusterObservation struct { + ClusterEndpoint *string `json:"clusterEndpoint,omitempty" tf:"cluster_endpoint,omitempty"` +} + +type FabricClusterParameters struct { + + // +kubebuilder:validation:Optional + AddOnFeatures []*string `json:"addOnFeatures,omitempty" tf:"add_on_features,omitempty"` + + // +kubebuilder:validation:Optional + AzureActiveDirectory []AzureActiveDirectoryParameters `json:"azureActiveDirectory,omitempty" tf:"azure_active_directory,omitempty"` + + // +kubebuilder:validation:Optional + Certificate []CertificateParameters `json:"certificate,omitempty" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Optional + CertificateCommonNames []CertificateCommonNamesParameters `json:"certificateCommonNames,omitempty" tf:"certificate_common_names,omitempty"` + + // +kubebuilder:validation:Optional + ClientCertificateCommonName []ClientCertificateCommonNameParameters `json:"clientCertificateCommonName,omitempty" tf:"client_certificate_common_name,omitempty"` + + // +kubebuilder:validation:Optional + ClientCertificateThumbprint []ClientCertificateThumbprintParameters `json:"clientCertificateThumbprint,omitempty" tf:"client_certificate_thumbprint,omitempty"` + + // +kubebuilder:validation:Optional + ClusterCodeVersion *string `json:"clusterCodeVersion,omitempty" tf:"cluster_code_version,omitempty"` + + // +kubebuilder:validation:Optional + DiagnosticsConfig []DiagnosticsConfigParameters `json:"diagnosticsConfig,omitempty" tf:"diagnostics_config,omitempty"` + + // +kubebuilder:validation:Optional + FabricSettings []FabricSettingsParameters `json:"fabricSettings,omitempty" tf:"fabric_settings,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ManagementEndpoint *string `json:"managementEndpoint" tf:"management_endpoint,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NodeType []NodeTypeParameters `json:"nodeType" tf:"node_type,omitempty"` + + // +kubebuilder:validation:Required + ReliabilityLevel *string `json:"reliabilityLevel" tf:"reliability_level,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ReverseProxyCertificate []ReverseProxyCertificateParameters `json:"reverseProxyCertificate,omitempty" tf:"reverse_proxy_certificate,omitempty"` + + // +kubebuilder:validation:Optional + ReverseProxyCertificateCommonNames []ReverseProxyCertificateCommonNamesParameters `json:"reverseProxyCertificateCommonNames,omitempty" tf:"reverse_proxy_certificate_common_names,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + UpgradeMode *string `json:"upgradeMode" tf:"upgrade_mode,omitempty"` + + // +kubebuilder:validation:Optional + UpgradePolicy []UpgradePolicyParameters `json:"upgradePolicy,omitempty" tf:"upgrade_policy,omitempty"` + + // +kubebuilder:validation:Required + VMImage *string `json:"vmImage" tf:"vm_image,omitempty"` +} + +type FabricSettingsObservation struct { +} + +type FabricSettingsParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type HealthPolicyObservation struct { +} + +type HealthPolicyParameters struct { + + // +kubebuilder:validation:Optional + MaxUnhealthyApplicationsPercent *int64 `json:"maxUnhealthyApplicationsPercent,omitempty" tf:"max_unhealthy_applications_percent,omitempty"` + + // +kubebuilder:validation:Optional + MaxUnhealthyNodesPercent *int64 `json:"maxUnhealthyNodesPercent,omitempty" tf:"max_unhealthy_nodes_percent,omitempty"` +} + +type NodeTypeObservation struct { +} + +type NodeTypeParameters struct { + + // +kubebuilder:validation:Optional + ApplicationPorts []ApplicationPortsParameters `json:"applicationPorts,omitempty" tf:"application_ports,omitempty"` + + // +kubebuilder:validation:Optional + Capacities map[string]*string `json:"capacities,omitempty" tf:"capacities,omitempty"` + + // +kubebuilder:validation:Required + ClientEndpointPort *int64 `json:"clientEndpointPort" tf:"client_endpoint_port,omitempty"` + + // +kubebuilder:validation:Optional + DurabilityLevel *string `json:"durabilityLevel,omitempty" tf:"durability_level,omitempty"` + + // +kubebuilder:validation:Optional + EphemeralPorts []EphemeralPortsParameters `json:"ephemeralPorts,omitempty" tf:"ephemeral_ports,omitempty"` + + // +kubebuilder:validation:Required + HTTPEndpointPort *int64 `json:"httpEndpointPort" tf:"http_endpoint_port,omitempty"` + + // +kubebuilder:validation:Required + InstanceCount *int64 `json:"instanceCount" tf:"instance_count,omitempty"` + + // +kubebuilder:validation:Required + IsPrimary *bool `json:"isPrimary" tf:"is_primary,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PlacementProperties map[string]*string `json:"placementProperties,omitempty" tf:"placement_properties,omitempty"` + + // +kubebuilder:validation:Optional + ReverseProxyEndpointPort *int64 `json:"reverseProxyEndpointPort,omitempty" tf:"reverse_proxy_endpoint_port,omitempty"` +} + +type ReverseProxyCertificateCommonNamesCommonNamesObservation struct { +} + +type ReverseProxyCertificateCommonNamesCommonNamesParameters struct { + + // +kubebuilder:validation:Required + CertificateCommonName *string `json:"certificateCommonName" tf:"certificate_common_name,omitempty"` + + // +kubebuilder:validation:Optional + CertificateIssuerThumbprint *string `json:"certificateIssuerThumbprint,omitempty" tf:"certificate_issuer_thumbprint,omitempty"` +} + +type ReverseProxyCertificateCommonNamesObservation struct { +} + +type ReverseProxyCertificateCommonNamesParameters struct { + + // +kubebuilder:validation:Required + CommonNames []ReverseProxyCertificateCommonNamesCommonNamesParameters `json:"commonNames" tf:"common_names,omitempty"` + + // +kubebuilder:validation:Required + X509StoreName *string `json:"x509StoreName" tf:"x509_store_name,omitempty"` +} + +type ReverseProxyCertificateObservation struct { +} + +type ReverseProxyCertificateParameters struct { + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` + + // +kubebuilder:validation:Optional + ThumbprintSecondary *string `json:"thumbprintSecondary,omitempty" tf:"thumbprint_secondary,omitempty"` + + // +kubebuilder:validation:Required + X509StoreName *string `json:"x509StoreName" tf:"x509_store_name,omitempty"` +} + +type UpgradePolicyObservation struct { +} + +type UpgradePolicyParameters struct { + + // +kubebuilder:validation:Optional + DeltaHealthPolicy []DeltaHealthPolicyParameters `json:"deltaHealthPolicy,omitempty" tf:"delta_health_policy,omitempty"` + + // +kubebuilder:validation:Optional + ForceRestartEnabled *bool `json:"forceRestartEnabled,omitempty" tf:"force_restart_enabled,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckRetryTimeout *string `json:"healthCheckRetryTimeout,omitempty" tf:"health_check_retry_timeout,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckStableDuration *string `json:"healthCheckStableDuration,omitempty" tf:"health_check_stable_duration,omitempty"` + + // +kubebuilder:validation:Optional + HealthCheckWaitDuration *string `json:"healthCheckWaitDuration,omitempty" tf:"health_check_wait_duration,omitempty"` + + // +kubebuilder:validation:Optional + HealthPolicy []HealthPolicyParameters `json:"healthPolicy,omitempty" tf:"health_policy,omitempty"` + + // +kubebuilder:validation:Optional + UpgradeDomainTimeout *string `json:"upgradeDomainTimeout,omitempty" tf:"upgrade_domain_timeout,omitempty"` + + // +kubebuilder:validation:Optional + UpgradeReplicaSetCheckTimeout *string `json:"upgradeReplicaSetCheckTimeout,omitempty" tf:"upgrade_replica_set_check_timeout,omitempty"` + + // +kubebuilder:validation:Optional + UpgradeTimeout *string `json:"upgradeTimeout,omitempty" tf:"upgrade_timeout,omitempty"` +} + +// FabricClusterSpec defines the desired state of FabricCluster +type FabricClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FabricClusterParameters `json:"forProvider"` +} + +// FabricClusterStatus defines the observed state of FabricCluster. +type FabricClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FabricClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricCluster is the Schema for the FabricClusters API +// +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,azurejet} +type FabricCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FabricClusterSpec `json:"spec"` + Status FabricClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricClusterList contains a list of FabricClusters +type FabricClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FabricCluster `json:"items"` +} + +// Repository type metadata. +var ( + FabricCluster_Kind = "FabricCluster" + FabricCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FabricCluster_Kind}.String() + FabricCluster_KindAPIVersion = FabricCluster_Kind + "." + CRDGroupVersion.String() + FabricCluster_GroupVersionKind = CRDGroupVersion.WithKind(FabricCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&FabricCluster{}, &FabricClusterList{}) +} diff --git a/apis/service/v1alpha1/zz_fabricmeshapplication_terraformed.go b/apis/service/v1alpha1/zz_fabricmeshapplication_terraformed.go new file mode 100755 index 000000000..0ba44872c --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshapplication_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FabricMeshApplication +func (mg *FabricMeshApplication) GetTerraformResourceType() string { + return "azurerm_service_fabric_mesh_application" +} + +// GetConnectionDetailsMapping for this FabricMeshApplication +func (tr *FabricMeshApplication) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FabricMeshApplication +func (tr *FabricMeshApplication) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FabricMeshApplication +func (tr *FabricMeshApplication) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FabricMeshApplication +func (tr *FabricMeshApplication) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FabricMeshApplication +func (tr *FabricMeshApplication) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FabricMeshApplication using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FabricMeshApplication) LateInitialize(attrs []byte) (bool, error) { + params := &FabricMeshApplicationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FabricMeshApplication) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/service/v1alpha1/zz_fabricmeshapplication_types.go b/apis/service/v1alpha1/zz_fabricmeshapplication_types.go new file mode 100755 index 000000000..1ec856efe --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshapplication_types.go @@ -0,0 +1,162 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CodePackageObservation struct { +} + +type CodePackageParameters struct { + + // +kubebuilder:validation:Required + ImageName *string `json:"imageName" tf:"image_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Resources []ResourcesParameters `json:"resources" tf:"resources,omitempty"` +} + +type FabricMeshApplicationObservation struct { +} + +type FabricMeshApplicationParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Service []ServiceParameters `json:"service" tf:"service,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type LimitsObservation struct { +} + +type LimitsParameters struct { + + // +kubebuilder:validation:Required + CPU *float64 `json:"cpu" tf:"cpu,omitempty"` + + // +kubebuilder:validation:Required + Memory *float64 `json:"memory" tf:"memory,omitempty"` +} + +type RequestsObservation struct { +} + +type RequestsParameters struct { + + // +kubebuilder:validation:Required + CPU *float64 `json:"cpu" tf:"cpu,omitempty"` + + // +kubebuilder:validation:Required + Memory *float64 `json:"memory" tf:"memory,omitempty"` +} + +type ResourcesObservation struct { +} + +type ResourcesParameters struct { + + // +kubebuilder:validation:Optional + Limits []LimitsParameters `json:"limits,omitempty" tf:"limits,omitempty"` + + // +kubebuilder:validation:Required + Requests []RequestsParameters `json:"requests" tf:"requests,omitempty"` +} + +type ServiceObservation struct { +} + +type ServiceParameters struct { + + // +kubebuilder:validation:Required + CodePackage []CodePackageParameters `json:"codePackage" tf:"code_package,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + OsType *string `json:"osType" tf:"os_type,omitempty"` +} + +// FabricMeshApplicationSpec defines the desired state of FabricMeshApplication +type FabricMeshApplicationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FabricMeshApplicationParameters `json:"forProvider"` +} + +// FabricMeshApplicationStatus defines the observed state of FabricMeshApplication. +type FabricMeshApplicationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FabricMeshApplicationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshApplication is the Schema for the FabricMeshApplications API +// +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,azurejet} +type FabricMeshApplication struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FabricMeshApplicationSpec `json:"spec"` + Status FabricMeshApplicationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshApplicationList contains a list of FabricMeshApplications +type FabricMeshApplicationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FabricMeshApplication `json:"items"` +} + +// Repository type metadata. +var ( + FabricMeshApplication_Kind = "FabricMeshApplication" + FabricMeshApplication_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FabricMeshApplication_Kind}.String() + FabricMeshApplication_KindAPIVersion = FabricMeshApplication_Kind + "." + CRDGroupVersion.String() + FabricMeshApplication_GroupVersionKind = CRDGroupVersion.WithKind(FabricMeshApplication_Kind) +) + +func init() { + SchemeBuilder.Register(&FabricMeshApplication{}, &FabricMeshApplicationList{}) +} diff --git a/apis/service/v1alpha1/zz_fabricmeshlocalnetwork_terraformed.go b/apis/service/v1alpha1/zz_fabricmeshlocalnetwork_terraformed.go new file mode 100755 index 000000000..f12e2e338 --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshlocalnetwork_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FabricMeshLocalNetwork +func (mg *FabricMeshLocalNetwork) GetTerraformResourceType() string { + return "azurerm_service_fabric_mesh_local_network" +} + +// GetConnectionDetailsMapping for this FabricMeshLocalNetwork +func (tr *FabricMeshLocalNetwork) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FabricMeshLocalNetwork +func (tr *FabricMeshLocalNetwork) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FabricMeshLocalNetwork +func (tr *FabricMeshLocalNetwork) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FabricMeshLocalNetwork +func (tr *FabricMeshLocalNetwork) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FabricMeshLocalNetwork +func (tr *FabricMeshLocalNetwork) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FabricMeshLocalNetwork using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FabricMeshLocalNetwork) LateInitialize(attrs []byte) (bool, error) { + params := &FabricMeshLocalNetworkParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FabricMeshLocalNetwork) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/service/v1alpha1/zz_fabricmeshlocalnetwork_types.go b/apis/service/v1alpha1/zz_fabricmeshlocalnetwork_types.go new file mode 100755 index 000000000..b08b4c2ae --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshlocalnetwork_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FabricMeshLocalNetworkObservation struct { +} + +type FabricMeshLocalNetworkParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkAddressPrefix *string `json:"networkAddressPrefix" tf:"network_address_prefix,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// FabricMeshLocalNetworkSpec defines the desired state of FabricMeshLocalNetwork +type FabricMeshLocalNetworkSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FabricMeshLocalNetworkParameters `json:"forProvider"` +} + +// FabricMeshLocalNetworkStatus defines the observed state of FabricMeshLocalNetwork. +type FabricMeshLocalNetworkStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FabricMeshLocalNetworkObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshLocalNetwork is the Schema for the FabricMeshLocalNetworks API +// +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,azurejet} +type FabricMeshLocalNetwork struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FabricMeshLocalNetworkSpec `json:"spec"` + Status FabricMeshLocalNetworkStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshLocalNetworkList contains a list of FabricMeshLocalNetworks +type FabricMeshLocalNetworkList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FabricMeshLocalNetwork `json:"items"` +} + +// Repository type metadata. +var ( + FabricMeshLocalNetwork_Kind = "FabricMeshLocalNetwork" + FabricMeshLocalNetwork_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FabricMeshLocalNetwork_Kind}.String() + FabricMeshLocalNetwork_KindAPIVersion = FabricMeshLocalNetwork_Kind + "." + CRDGroupVersion.String() + FabricMeshLocalNetwork_GroupVersionKind = CRDGroupVersion.WithKind(FabricMeshLocalNetwork_Kind) +) + +func init() { + SchemeBuilder.Register(&FabricMeshLocalNetwork{}, &FabricMeshLocalNetworkList{}) +} diff --git a/apis/service/v1alpha1/zz_fabricmeshsecret_terraformed.go b/apis/service/v1alpha1/zz_fabricmeshsecret_terraformed.go new file mode 100755 index 000000000..9364e4f2a --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshsecret_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FabricMeshSecret +func (mg *FabricMeshSecret) GetTerraformResourceType() string { + return "azurerm_service_fabric_mesh_secret" +} + +// GetConnectionDetailsMapping for this FabricMeshSecret +func (tr *FabricMeshSecret) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FabricMeshSecret +func (tr *FabricMeshSecret) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FabricMeshSecret +func (tr *FabricMeshSecret) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FabricMeshSecret +func (tr *FabricMeshSecret) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FabricMeshSecret +func (tr *FabricMeshSecret) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FabricMeshSecret using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FabricMeshSecret) LateInitialize(attrs []byte) (bool, error) { + params := &FabricMeshSecretParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FabricMeshSecret) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/service/v1alpha1/zz_fabricmeshsecret_types.go b/apis/service/v1alpha1/zz_fabricmeshsecret_types.go new file mode 100755 index 000000000..d40dece08 --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshsecret_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FabricMeshSecretObservation struct { +} + +type FabricMeshSecretParameters struct { + + // +kubebuilder:validation:Optional + ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// FabricMeshSecretSpec defines the desired state of FabricMeshSecret +type FabricMeshSecretSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FabricMeshSecretParameters `json:"forProvider"` +} + +// FabricMeshSecretStatus defines the observed state of FabricMeshSecret. +type FabricMeshSecretStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FabricMeshSecretObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshSecret is the Schema for the FabricMeshSecrets API +// +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,azurejet} +type FabricMeshSecret struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FabricMeshSecretSpec `json:"spec"` + Status FabricMeshSecretStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshSecretList contains a list of FabricMeshSecrets +type FabricMeshSecretList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FabricMeshSecret `json:"items"` +} + +// Repository type metadata. +var ( + FabricMeshSecret_Kind = "FabricMeshSecret" + FabricMeshSecret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FabricMeshSecret_Kind}.String() + FabricMeshSecret_KindAPIVersion = FabricMeshSecret_Kind + "." + CRDGroupVersion.String() + FabricMeshSecret_GroupVersionKind = CRDGroupVersion.WithKind(FabricMeshSecret_Kind) +) + +func init() { + SchemeBuilder.Register(&FabricMeshSecret{}, &FabricMeshSecretList{}) +} diff --git a/apis/service/v1alpha1/zz_fabricmeshsecretvalue_terraformed.go b/apis/service/v1alpha1/zz_fabricmeshsecretvalue_terraformed.go new file mode 100755 index 000000000..a241a3932 --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshsecretvalue_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FabricMeshSecretValue +func (mg *FabricMeshSecretValue) GetTerraformResourceType() string { + return "azurerm_service_fabric_mesh_secret_value" +} + +// GetConnectionDetailsMapping for this FabricMeshSecretValue +func (tr *FabricMeshSecretValue) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FabricMeshSecretValue +func (tr *FabricMeshSecretValue) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FabricMeshSecretValue +func (tr *FabricMeshSecretValue) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FabricMeshSecretValue +func (tr *FabricMeshSecretValue) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FabricMeshSecretValue +func (tr *FabricMeshSecretValue) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FabricMeshSecretValue using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FabricMeshSecretValue) LateInitialize(attrs []byte) (bool, error) { + params := &FabricMeshSecretValueParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FabricMeshSecretValue) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/service/v1alpha1/zz_fabricmeshsecretvalue_types.go b/apis/service/v1alpha1/zz_fabricmeshsecretvalue_types.go new file mode 100755 index 000000000..d631774a1 --- /dev/null +++ b/apis/service/v1alpha1/zz_fabricmeshsecretvalue_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FabricMeshSecretValueObservation struct { +} + +type FabricMeshSecretValueParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ServiceFabricMeshSecretID *string `json:"serviceFabricMeshSecretId" tf:"service_fabric_mesh_secret_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +// FabricMeshSecretValueSpec defines the desired state of FabricMeshSecretValue +type FabricMeshSecretValueSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FabricMeshSecretValueParameters `json:"forProvider"` +} + +// FabricMeshSecretValueStatus defines the observed state of FabricMeshSecretValue. +type FabricMeshSecretValueStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FabricMeshSecretValueObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshSecretValue is the Schema for the FabricMeshSecretValues API +// +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,azurejet} +type FabricMeshSecretValue struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FabricMeshSecretValueSpec `json:"spec"` + Status FabricMeshSecretValueStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FabricMeshSecretValueList contains a list of FabricMeshSecretValues +type FabricMeshSecretValueList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FabricMeshSecretValue `json:"items"` +} + +// Repository type metadata. +var ( + FabricMeshSecretValue_Kind = "FabricMeshSecretValue" + FabricMeshSecretValue_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FabricMeshSecretValue_Kind}.String() + FabricMeshSecretValue_KindAPIVersion = FabricMeshSecretValue_Kind + "." + CRDGroupVersion.String() + FabricMeshSecretValue_GroupVersionKind = CRDGroupVersion.WithKind(FabricMeshSecretValue_Kind) +) + +func init() { + SchemeBuilder.Register(&FabricMeshSecretValue{}, &FabricMeshSecretValueList{}) +} diff --git a/apis/service/v1alpha1/zz_generated.deepcopy.go b/apis/service/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..74d105d3e --- /dev/null +++ b/apis/service/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2000 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationPortsObservation) DeepCopyInto(out *ApplicationPortsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPortsObservation. +func (in *ApplicationPortsObservation) DeepCopy() *ApplicationPortsObservation { + if in == nil { + return nil + } + out := new(ApplicationPortsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationPortsParameters) DeepCopyInto(out *ApplicationPortsParameters) { + *out = *in + if in.EndPort != nil { + in, out := &in.EndPort, &out.EndPort + *out = new(int64) + **out = **in + } + if in.StartPort != nil { + in, out := &in.StartPort, &out.StartPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationPortsParameters. +func (in *ApplicationPortsParameters) DeepCopy() *ApplicationPortsParameters { + if in == nil { + return nil + } + out := new(ApplicationPortsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureActiveDirectoryObservation) DeepCopyInto(out *AzureActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureActiveDirectoryObservation. +func (in *AzureActiveDirectoryObservation) DeepCopy() *AzureActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(AzureActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureActiveDirectoryParameters) DeepCopyInto(out *AzureActiveDirectoryParameters) { + *out = *in + if in.ClientApplicationID != nil { + in, out := &in.ClientApplicationID, &out.ClientApplicationID + *out = new(string) + **out = **in + } + if in.ClusterApplicationID != nil { + in, out := &in.ClusterApplicationID, &out.ClusterApplicationID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureActiveDirectoryParameters. +func (in *AzureActiveDirectoryParameters) DeepCopy() *AzureActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(AzureActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateCommonNamesObservation) DeepCopyInto(out *CertificateCommonNamesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateCommonNamesObservation. +func (in *CertificateCommonNamesObservation) DeepCopy() *CertificateCommonNamesObservation { + if in == nil { + return nil + } + out := new(CertificateCommonNamesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateCommonNamesParameters) DeepCopyInto(out *CertificateCommonNamesParameters) { + *out = *in + if in.CommonNames != nil { + in, out := &in.CommonNames, &out.CommonNames + *out = make([]CommonNamesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.X509StoreName != nil { + in, out := &in.X509StoreName, &out.X509StoreName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateCommonNamesParameters. +func (in *CertificateCommonNamesParameters) DeepCopy() *CertificateCommonNamesParameters { + if in == nil { + return nil + } + out := new(CertificateCommonNamesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } + if in.ThumbprintSecondary != nil { + in, out := &in.ThumbprintSecondary, &out.ThumbprintSecondary + *out = new(string) + **out = **in + } + if in.X509StoreName != nil { + in, out := &in.X509StoreName, &out.X509StoreName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientCertificateCommonNameObservation) DeepCopyInto(out *ClientCertificateCommonNameObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientCertificateCommonNameObservation. +func (in *ClientCertificateCommonNameObservation) DeepCopy() *ClientCertificateCommonNameObservation { + if in == nil { + return nil + } + out := new(ClientCertificateCommonNameObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientCertificateCommonNameParameters) DeepCopyInto(out *ClientCertificateCommonNameParameters) { + *out = *in + if in.CommonName != nil { + in, out := &in.CommonName, &out.CommonName + *out = new(string) + **out = **in + } + if in.IsAdmin != nil { + in, out := &in.IsAdmin, &out.IsAdmin + *out = new(bool) + **out = **in + } + if in.IssuerThumbprint != nil { + in, out := &in.IssuerThumbprint, &out.IssuerThumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientCertificateCommonNameParameters. +func (in *ClientCertificateCommonNameParameters) DeepCopy() *ClientCertificateCommonNameParameters { + if in == nil { + return nil + } + out := new(ClientCertificateCommonNameParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientCertificateThumbprintObservation) DeepCopyInto(out *ClientCertificateThumbprintObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientCertificateThumbprintObservation. +func (in *ClientCertificateThumbprintObservation) DeepCopy() *ClientCertificateThumbprintObservation { + if in == nil { + return nil + } + out := new(ClientCertificateThumbprintObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientCertificateThumbprintParameters) DeepCopyInto(out *ClientCertificateThumbprintParameters) { + *out = *in + if in.IsAdmin != nil { + in, out := &in.IsAdmin, &out.IsAdmin + *out = new(bool) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientCertificateThumbprintParameters. +func (in *ClientCertificateThumbprintParameters) DeepCopy() *ClientCertificateThumbprintParameters { + if in == nil { + return nil + } + out := new(ClientCertificateThumbprintParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodePackageObservation) DeepCopyInto(out *CodePackageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodePackageObservation. +func (in *CodePackageObservation) DeepCopy() *CodePackageObservation { + if in == nil { + return nil + } + out := new(CodePackageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CodePackageParameters) DeepCopyInto(out *CodePackageParameters) { + *out = *in + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Resources != nil { + in, out := &in.Resources, &out.Resources + *out = make([]ResourcesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodePackageParameters. +func (in *CodePackageParameters) DeepCopy() *CodePackageParameters { + if in == nil { + return nil + } + out := new(CodePackageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonNamesObservation) DeepCopyInto(out *CommonNamesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonNamesObservation. +func (in *CommonNamesObservation) DeepCopy() *CommonNamesObservation { + if in == nil { + return nil + } + out := new(CommonNamesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CommonNamesParameters) DeepCopyInto(out *CommonNamesParameters) { + *out = *in + if in.CertificateCommonName != nil { + in, out := &in.CertificateCommonName, &out.CertificateCommonName + *out = new(string) + **out = **in + } + if in.CertificateIssuerThumbprint != nil { + in, out := &in.CertificateIssuerThumbprint, &out.CertificateIssuerThumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonNamesParameters. +func (in *CommonNamesParameters) DeepCopy() *CommonNamesParameters { + if in == nil { + return nil + } + out := new(CommonNamesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeltaHealthPolicyObservation) DeepCopyInto(out *DeltaHealthPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeltaHealthPolicyObservation. +func (in *DeltaHealthPolicyObservation) DeepCopy() *DeltaHealthPolicyObservation { + if in == nil { + return nil + } + out := new(DeltaHealthPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeltaHealthPolicyParameters) DeepCopyInto(out *DeltaHealthPolicyParameters) { + *out = *in + if in.MaxDeltaUnhealthyApplicationsPercent != nil { + in, out := &in.MaxDeltaUnhealthyApplicationsPercent, &out.MaxDeltaUnhealthyApplicationsPercent + *out = new(int64) + **out = **in + } + if in.MaxDeltaUnhealthyNodesPercent != nil { + in, out := &in.MaxDeltaUnhealthyNodesPercent, &out.MaxDeltaUnhealthyNodesPercent + *out = new(int64) + **out = **in + } + if in.MaxUpgradeDomainDeltaUnhealthyNodesPercent != nil { + in, out := &in.MaxUpgradeDomainDeltaUnhealthyNodesPercent, &out.MaxUpgradeDomainDeltaUnhealthyNodesPercent + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeltaHealthPolicyParameters. +func (in *DeltaHealthPolicyParameters) DeepCopy() *DeltaHealthPolicyParameters { + if in == nil { + return nil + } + out := new(DeltaHealthPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticsConfigObservation) DeepCopyInto(out *DiagnosticsConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticsConfigObservation. +func (in *DiagnosticsConfigObservation) DeepCopy() *DiagnosticsConfigObservation { + if in == nil { + return nil + } + out := new(DiagnosticsConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiagnosticsConfigParameters) DeepCopyInto(out *DiagnosticsConfigParameters) { + *out = *in + if in.BlobEndpoint != nil { + in, out := &in.BlobEndpoint, &out.BlobEndpoint + *out = new(string) + **out = **in + } + if in.ProtectedAccountKeyName != nil { + in, out := &in.ProtectedAccountKeyName, &out.ProtectedAccountKeyName + *out = new(string) + **out = **in + } + if in.QueueEndpoint != nil { + in, out := &in.QueueEndpoint, &out.QueueEndpoint + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.TableEndpoint != nil { + in, out := &in.TableEndpoint, &out.TableEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiagnosticsConfigParameters. +func (in *DiagnosticsConfigParameters) DeepCopy() *DiagnosticsConfigParameters { + if in == nil { + return nil + } + out := new(DiagnosticsConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EphemeralPortsObservation) DeepCopyInto(out *EphemeralPortsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralPortsObservation. +func (in *EphemeralPortsObservation) DeepCopy() *EphemeralPortsObservation { + if in == nil { + return nil + } + out := new(EphemeralPortsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EphemeralPortsParameters) DeepCopyInto(out *EphemeralPortsParameters) { + *out = *in + if in.EndPort != nil { + in, out := &in.EndPort, &out.EndPort + *out = new(int64) + **out = **in + } + if in.StartPort != nil { + in, out := &in.StartPort, &out.StartPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralPortsParameters. +func (in *EphemeralPortsParameters) DeepCopy() *EphemeralPortsParameters { + if in == nil { + return nil + } + out := new(EphemeralPortsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricCluster) DeepCopyInto(out *FabricCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricCluster. +func (in *FabricCluster) DeepCopy() *FabricCluster { + if in == nil { + return nil + } + out := new(FabricCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricClusterList) DeepCopyInto(out *FabricClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FabricCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricClusterList. +func (in *FabricClusterList) DeepCopy() *FabricClusterList { + if in == nil { + return nil + } + out := new(FabricClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricClusterObservation) DeepCopyInto(out *FabricClusterObservation) { + *out = *in + if in.ClusterEndpoint != nil { + in, out := &in.ClusterEndpoint, &out.ClusterEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricClusterObservation. +func (in *FabricClusterObservation) DeepCopy() *FabricClusterObservation { + if in == nil { + return nil + } + out := new(FabricClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricClusterParameters) DeepCopyInto(out *FabricClusterParameters) { + *out = *in + if in.AddOnFeatures != nil { + in, out := &in.AddOnFeatures, &out.AddOnFeatures + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AzureActiveDirectory != nil { + in, out := &in.AzureActiveDirectory, &out.AzureActiveDirectory + *out = make([]AzureActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CertificateCommonNames != nil { + in, out := &in.CertificateCommonNames, &out.CertificateCommonNames + *out = make([]CertificateCommonNamesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientCertificateCommonName != nil { + in, out := &in.ClientCertificateCommonName, &out.ClientCertificateCommonName + *out = make([]ClientCertificateCommonNameParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientCertificateThumbprint != nil { + in, out := &in.ClientCertificateThumbprint, &out.ClientCertificateThumbprint + *out = make([]ClientCertificateThumbprintParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClusterCodeVersion != nil { + in, out := &in.ClusterCodeVersion, &out.ClusterCodeVersion + *out = new(string) + **out = **in + } + if in.DiagnosticsConfig != nil { + in, out := &in.DiagnosticsConfig, &out.DiagnosticsConfig + *out = make([]DiagnosticsConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FabricSettings != nil { + in, out := &in.FabricSettings, &out.FabricSettings + *out = make([]FabricSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagementEndpoint != nil { + in, out := &in.ManagementEndpoint, &out.ManagementEndpoint + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NodeType != nil { + in, out := &in.NodeType, &out.NodeType + *out = make([]NodeTypeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReliabilityLevel != nil { + in, out := &in.ReliabilityLevel, &out.ReliabilityLevel + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ReverseProxyCertificate != nil { + in, out := &in.ReverseProxyCertificate, &out.ReverseProxyCertificate + *out = make([]ReverseProxyCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReverseProxyCertificateCommonNames != nil { + in, out := &in.ReverseProxyCertificateCommonNames, &out.ReverseProxyCertificateCommonNames + *out = make([]ReverseProxyCertificateCommonNamesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.UpgradeMode != nil { + in, out := &in.UpgradeMode, &out.UpgradeMode + *out = new(string) + **out = **in + } + if in.UpgradePolicy != nil { + in, out := &in.UpgradePolicy, &out.UpgradePolicy + *out = make([]UpgradePolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VMImage != nil { + in, out := &in.VMImage, &out.VMImage + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricClusterParameters. +func (in *FabricClusterParameters) DeepCopy() *FabricClusterParameters { + if in == nil { + return nil + } + out := new(FabricClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricClusterSpec) DeepCopyInto(out *FabricClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricClusterSpec. +func (in *FabricClusterSpec) DeepCopy() *FabricClusterSpec { + if in == nil { + return nil + } + out := new(FabricClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricClusterStatus) DeepCopyInto(out *FabricClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricClusterStatus. +func (in *FabricClusterStatus) DeepCopy() *FabricClusterStatus { + if in == nil { + return nil + } + out := new(FabricClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshApplication) DeepCopyInto(out *FabricMeshApplication) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshApplication. +func (in *FabricMeshApplication) DeepCopy() *FabricMeshApplication { + if in == nil { + return nil + } + out := new(FabricMeshApplication) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshApplication) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshApplicationList) DeepCopyInto(out *FabricMeshApplicationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FabricMeshApplication, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshApplicationList. +func (in *FabricMeshApplicationList) DeepCopy() *FabricMeshApplicationList { + if in == nil { + return nil + } + out := new(FabricMeshApplicationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshApplicationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshApplicationObservation) DeepCopyInto(out *FabricMeshApplicationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshApplicationObservation. +func (in *FabricMeshApplicationObservation) DeepCopy() *FabricMeshApplicationObservation { + if in == nil { + return nil + } + out := new(FabricMeshApplicationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshApplicationParameters) DeepCopyInto(out *FabricMeshApplicationParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Service != nil { + in, out := &in.Service, &out.Service + *out = make([]ServiceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshApplicationParameters. +func (in *FabricMeshApplicationParameters) DeepCopy() *FabricMeshApplicationParameters { + if in == nil { + return nil + } + out := new(FabricMeshApplicationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshApplicationSpec) DeepCopyInto(out *FabricMeshApplicationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshApplicationSpec. +func (in *FabricMeshApplicationSpec) DeepCopy() *FabricMeshApplicationSpec { + if in == nil { + return nil + } + out := new(FabricMeshApplicationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshApplicationStatus) DeepCopyInto(out *FabricMeshApplicationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshApplicationStatus. +func (in *FabricMeshApplicationStatus) DeepCopy() *FabricMeshApplicationStatus { + if in == nil { + return nil + } + out := new(FabricMeshApplicationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshLocalNetwork) DeepCopyInto(out *FabricMeshLocalNetwork) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshLocalNetwork. +func (in *FabricMeshLocalNetwork) DeepCopy() *FabricMeshLocalNetwork { + if in == nil { + return nil + } + out := new(FabricMeshLocalNetwork) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshLocalNetwork) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshLocalNetworkList) DeepCopyInto(out *FabricMeshLocalNetworkList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FabricMeshLocalNetwork, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshLocalNetworkList. +func (in *FabricMeshLocalNetworkList) DeepCopy() *FabricMeshLocalNetworkList { + if in == nil { + return nil + } + out := new(FabricMeshLocalNetworkList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshLocalNetworkList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshLocalNetworkObservation) DeepCopyInto(out *FabricMeshLocalNetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshLocalNetworkObservation. +func (in *FabricMeshLocalNetworkObservation) DeepCopy() *FabricMeshLocalNetworkObservation { + if in == nil { + return nil + } + out := new(FabricMeshLocalNetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshLocalNetworkParameters) DeepCopyInto(out *FabricMeshLocalNetworkParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkAddressPrefix != nil { + in, out := &in.NetworkAddressPrefix, &out.NetworkAddressPrefix + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshLocalNetworkParameters. +func (in *FabricMeshLocalNetworkParameters) DeepCopy() *FabricMeshLocalNetworkParameters { + if in == nil { + return nil + } + out := new(FabricMeshLocalNetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshLocalNetworkSpec) DeepCopyInto(out *FabricMeshLocalNetworkSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshLocalNetworkSpec. +func (in *FabricMeshLocalNetworkSpec) DeepCopy() *FabricMeshLocalNetworkSpec { + if in == nil { + return nil + } + out := new(FabricMeshLocalNetworkSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshLocalNetworkStatus) DeepCopyInto(out *FabricMeshLocalNetworkStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshLocalNetworkStatus. +func (in *FabricMeshLocalNetworkStatus) DeepCopy() *FabricMeshLocalNetworkStatus { + if in == nil { + return nil + } + out := new(FabricMeshLocalNetworkStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecret) DeepCopyInto(out *FabricMeshSecret) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecret. +func (in *FabricMeshSecret) DeepCopy() *FabricMeshSecret { + if in == nil { + return nil + } + out := new(FabricMeshSecret) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshSecret) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretList) DeepCopyInto(out *FabricMeshSecretList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FabricMeshSecret, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretList. +func (in *FabricMeshSecretList) DeepCopy() *FabricMeshSecretList { + if in == nil { + return nil + } + out := new(FabricMeshSecretList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshSecretList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretObservation) DeepCopyInto(out *FabricMeshSecretObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretObservation. +func (in *FabricMeshSecretObservation) DeepCopy() *FabricMeshSecretObservation { + if in == nil { + return nil + } + out := new(FabricMeshSecretObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretParameters) DeepCopyInto(out *FabricMeshSecretParameters) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretParameters. +func (in *FabricMeshSecretParameters) DeepCopy() *FabricMeshSecretParameters { + if in == nil { + return nil + } + out := new(FabricMeshSecretParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretSpec) DeepCopyInto(out *FabricMeshSecretSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretSpec. +func (in *FabricMeshSecretSpec) DeepCopy() *FabricMeshSecretSpec { + if in == nil { + return nil + } + out := new(FabricMeshSecretSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretStatus) DeepCopyInto(out *FabricMeshSecretStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretStatus. +func (in *FabricMeshSecretStatus) DeepCopy() *FabricMeshSecretStatus { + if in == nil { + return nil + } + out := new(FabricMeshSecretStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretValue) DeepCopyInto(out *FabricMeshSecretValue) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretValue. +func (in *FabricMeshSecretValue) DeepCopy() *FabricMeshSecretValue { + if in == nil { + return nil + } + out := new(FabricMeshSecretValue) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshSecretValue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretValueList) DeepCopyInto(out *FabricMeshSecretValueList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FabricMeshSecretValue, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretValueList. +func (in *FabricMeshSecretValueList) DeepCopy() *FabricMeshSecretValueList { + if in == nil { + return nil + } + out := new(FabricMeshSecretValueList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FabricMeshSecretValueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretValueObservation) DeepCopyInto(out *FabricMeshSecretValueObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretValueObservation. +func (in *FabricMeshSecretValueObservation) DeepCopy() *FabricMeshSecretValueObservation { + if in == nil { + return nil + } + out := new(FabricMeshSecretValueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretValueParameters) DeepCopyInto(out *FabricMeshSecretValueParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ServiceFabricMeshSecretID != nil { + in, out := &in.ServiceFabricMeshSecretID, &out.ServiceFabricMeshSecretID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretValueParameters. +func (in *FabricMeshSecretValueParameters) DeepCopy() *FabricMeshSecretValueParameters { + if in == nil { + return nil + } + out := new(FabricMeshSecretValueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretValueSpec) DeepCopyInto(out *FabricMeshSecretValueSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretValueSpec. +func (in *FabricMeshSecretValueSpec) DeepCopy() *FabricMeshSecretValueSpec { + if in == nil { + return nil + } + out := new(FabricMeshSecretValueSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricMeshSecretValueStatus) DeepCopyInto(out *FabricMeshSecretValueStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricMeshSecretValueStatus. +func (in *FabricMeshSecretValueStatus) DeepCopy() *FabricMeshSecretValueStatus { + if in == nil { + return nil + } + out := new(FabricMeshSecretValueStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricSettingsObservation) DeepCopyInto(out *FabricSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricSettingsObservation. +func (in *FabricSettingsObservation) DeepCopy() *FabricSettingsObservation { + if in == nil { + return nil + } + out := new(FabricSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FabricSettingsParameters) DeepCopyInto(out *FabricSettingsParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricSettingsParameters. +func (in *FabricSettingsParameters) DeepCopy() *FabricSettingsParameters { + if in == nil { + return nil + } + out := new(FabricSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthPolicyObservation) DeepCopyInto(out *HealthPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthPolicyObservation. +func (in *HealthPolicyObservation) DeepCopy() *HealthPolicyObservation { + if in == nil { + return nil + } + out := new(HealthPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HealthPolicyParameters) DeepCopyInto(out *HealthPolicyParameters) { + *out = *in + if in.MaxUnhealthyApplicationsPercent != nil { + in, out := &in.MaxUnhealthyApplicationsPercent, &out.MaxUnhealthyApplicationsPercent + *out = new(int64) + **out = **in + } + if in.MaxUnhealthyNodesPercent != nil { + in, out := &in.MaxUnhealthyNodesPercent, &out.MaxUnhealthyNodesPercent + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthPolicyParameters. +func (in *HealthPolicyParameters) DeepCopy() *HealthPolicyParameters { + if in == nil { + return nil + } + out := new(HealthPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LimitsObservation) DeepCopyInto(out *LimitsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitsObservation. +func (in *LimitsObservation) DeepCopy() *LimitsObservation { + if in == nil { + return nil + } + out := new(LimitsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LimitsParameters) DeepCopyInto(out *LimitsParameters) { + *out = *in + if in.CPU != nil { + in, out := &in.CPU, &out.CPU + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitsParameters. +func (in *LimitsParameters) DeepCopy() *LimitsParameters { + if in == nil { + return nil + } + out := new(LimitsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodeTypeObservation) DeepCopyInto(out *NodeTypeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTypeObservation. +func (in *NodeTypeObservation) DeepCopy() *NodeTypeObservation { + if in == nil { + return nil + } + out := new(NodeTypeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodeTypeParameters) DeepCopyInto(out *NodeTypeParameters) { + *out = *in + if in.ApplicationPorts != nil { + in, out := &in.ApplicationPorts, &out.ApplicationPorts + *out = make([]ApplicationPortsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Capacities != nil { + in, out := &in.Capacities, &out.Capacities + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ClientEndpointPort != nil { + in, out := &in.ClientEndpointPort, &out.ClientEndpointPort + *out = new(int64) + **out = **in + } + if in.DurabilityLevel != nil { + in, out := &in.DurabilityLevel, &out.DurabilityLevel + *out = new(string) + **out = **in + } + if in.EphemeralPorts != nil { + in, out := &in.EphemeralPorts, &out.EphemeralPorts + *out = make([]EphemeralPortsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HTTPEndpointPort != nil { + in, out := &in.HTTPEndpointPort, &out.HTTPEndpointPort + *out = new(int64) + **out = **in + } + if in.InstanceCount != nil { + in, out := &in.InstanceCount, &out.InstanceCount + *out = new(int64) + **out = **in + } + if in.IsPrimary != nil { + in, out := &in.IsPrimary, &out.IsPrimary + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PlacementProperties != nil { + in, out := &in.PlacementProperties, &out.PlacementProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ReverseProxyEndpointPort != nil { + in, out := &in.ReverseProxyEndpointPort, &out.ReverseProxyEndpointPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTypeParameters. +func (in *NodeTypeParameters) DeepCopy() *NodeTypeParameters { + if in == nil { + return nil + } + out := new(NodeTypeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestsObservation) DeepCopyInto(out *RequestsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestsObservation. +func (in *RequestsObservation) DeepCopy() *RequestsObservation { + if in == nil { + return nil + } + out := new(RequestsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestsParameters) DeepCopyInto(out *RequestsParameters) { + *out = *in + if in.CPU != nil { + in, out := &in.CPU, &out.CPU + *out = new(float64) + **out = **in + } + if in.Memory != nil { + in, out := &in.Memory, &out.Memory + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestsParameters. +func (in *RequestsParameters) DeepCopy() *RequestsParameters { + if in == nil { + return nil + } + out := new(RequestsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesObservation. +func (in *ResourcesObservation) DeepCopy() *ResourcesObservation { + if in == nil { + return nil + } + out := new(ResourcesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters) { + *out = *in + if in.Limits != nil { + in, out := &in.Limits, &out.Limits + *out = make([]LimitsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Requests != nil { + in, out := &in.Requests, &out.Requests + *out = make([]RequestsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesParameters. +func (in *ResourcesParameters) DeepCopy() *ResourcesParameters { + if in == nil { + return nil + } + out := new(ResourcesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReverseProxyCertificateCommonNamesCommonNamesObservation) DeepCopyInto(out *ReverseProxyCertificateCommonNamesCommonNamesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyCertificateCommonNamesCommonNamesObservation. +func (in *ReverseProxyCertificateCommonNamesCommonNamesObservation) DeepCopy() *ReverseProxyCertificateCommonNamesCommonNamesObservation { + if in == nil { + return nil + } + out := new(ReverseProxyCertificateCommonNamesCommonNamesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReverseProxyCertificateCommonNamesCommonNamesParameters) DeepCopyInto(out *ReverseProxyCertificateCommonNamesCommonNamesParameters) { + *out = *in + if in.CertificateCommonName != nil { + in, out := &in.CertificateCommonName, &out.CertificateCommonName + *out = new(string) + **out = **in + } + if in.CertificateIssuerThumbprint != nil { + in, out := &in.CertificateIssuerThumbprint, &out.CertificateIssuerThumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyCertificateCommonNamesCommonNamesParameters. +func (in *ReverseProxyCertificateCommonNamesCommonNamesParameters) DeepCopy() *ReverseProxyCertificateCommonNamesCommonNamesParameters { + if in == nil { + return nil + } + out := new(ReverseProxyCertificateCommonNamesCommonNamesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReverseProxyCertificateCommonNamesObservation) DeepCopyInto(out *ReverseProxyCertificateCommonNamesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyCertificateCommonNamesObservation. +func (in *ReverseProxyCertificateCommonNamesObservation) DeepCopy() *ReverseProxyCertificateCommonNamesObservation { + if in == nil { + return nil + } + out := new(ReverseProxyCertificateCommonNamesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReverseProxyCertificateCommonNamesParameters) DeepCopyInto(out *ReverseProxyCertificateCommonNamesParameters) { + *out = *in + if in.CommonNames != nil { + in, out := &in.CommonNames, &out.CommonNames + *out = make([]ReverseProxyCertificateCommonNamesCommonNamesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.X509StoreName != nil { + in, out := &in.X509StoreName, &out.X509StoreName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyCertificateCommonNamesParameters. +func (in *ReverseProxyCertificateCommonNamesParameters) DeepCopy() *ReverseProxyCertificateCommonNamesParameters { + if in == nil { + return nil + } + out := new(ReverseProxyCertificateCommonNamesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReverseProxyCertificateObservation) DeepCopyInto(out *ReverseProxyCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyCertificateObservation. +func (in *ReverseProxyCertificateObservation) DeepCopy() *ReverseProxyCertificateObservation { + if in == nil { + return nil + } + out := new(ReverseProxyCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ReverseProxyCertificateParameters) DeepCopyInto(out *ReverseProxyCertificateParameters) { + *out = *in + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } + if in.ThumbprintSecondary != nil { + in, out := &in.ThumbprintSecondary, &out.ThumbprintSecondary + *out = new(string) + **out = **in + } + if in.X509StoreName != nil { + in, out := &in.X509StoreName, &out.X509StoreName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReverseProxyCertificateParameters. +func (in *ReverseProxyCertificateParameters) DeepCopy() *ReverseProxyCertificateParameters { + if in == nil { + return nil + } + out := new(ReverseProxyCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation. +func (in *ServiceObservation) DeepCopy() *ServiceObservation { + if in == nil { + return nil + } + out := new(ServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { + *out = *in + if in.CodePackage != nil { + in, out := &in.CodePackage, &out.CodePackage + *out = make([]CodePackageParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters. +func (in *ServiceParameters) DeepCopy() *ServiceParameters { + if in == nil { + return nil + } + out := new(ServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UpgradePolicyObservation) DeepCopyInto(out *UpgradePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePolicyObservation. +func (in *UpgradePolicyObservation) DeepCopy() *UpgradePolicyObservation { + if in == nil { + return nil + } + out := new(UpgradePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UpgradePolicyParameters) DeepCopyInto(out *UpgradePolicyParameters) { + *out = *in + if in.DeltaHealthPolicy != nil { + in, out := &in.DeltaHealthPolicy, &out.DeltaHealthPolicy + *out = make([]DeltaHealthPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ForceRestartEnabled != nil { + in, out := &in.ForceRestartEnabled, &out.ForceRestartEnabled + *out = new(bool) + **out = **in + } + if in.HealthCheckRetryTimeout != nil { + in, out := &in.HealthCheckRetryTimeout, &out.HealthCheckRetryTimeout + *out = new(string) + **out = **in + } + if in.HealthCheckStableDuration != nil { + in, out := &in.HealthCheckStableDuration, &out.HealthCheckStableDuration + *out = new(string) + **out = **in + } + if in.HealthCheckWaitDuration != nil { + in, out := &in.HealthCheckWaitDuration, &out.HealthCheckWaitDuration + *out = new(string) + **out = **in + } + if in.HealthPolicy != nil { + in, out := &in.HealthPolicy, &out.HealthPolicy + *out = make([]HealthPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.UpgradeDomainTimeout != nil { + in, out := &in.UpgradeDomainTimeout, &out.UpgradeDomainTimeout + *out = new(string) + **out = **in + } + if in.UpgradeReplicaSetCheckTimeout != nil { + in, out := &in.UpgradeReplicaSetCheckTimeout, &out.UpgradeReplicaSetCheckTimeout + *out = new(string) + **out = **in + } + if in.UpgradeTimeout != nil { + in, out := &in.UpgradeTimeout, &out.UpgradeTimeout + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePolicyParameters. +func (in *UpgradePolicyParameters) DeepCopy() *UpgradePolicyParameters { + if in == nil { + return nil + } + out := new(UpgradePolicyParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/service/v1alpha1/zz_generated.managed.go b/apis/service/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..73c444aee --- /dev/null +++ b/apis/service/v1alpha1/zz_generated.managed.go @@ -0,0 +1,300 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this FabricCluster. +func (mg *FabricCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FabricCluster. +func (mg *FabricCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FabricCluster. +func (mg *FabricCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FabricCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FabricCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FabricCluster. +func (mg *FabricCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FabricCluster. +func (mg *FabricCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FabricCluster. +func (mg *FabricCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FabricCluster. +func (mg *FabricCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FabricCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FabricCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FabricCluster. +func (mg *FabricCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FabricMeshApplication. +func (mg *FabricMeshApplication) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FabricMeshApplication. +func (mg *FabricMeshApplication) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FabricMeshApplication. +func (mg *FabricMeshApplication) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FabricMeshApplication. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FabricMeshApplication) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FabricMeshApplication. +func (mg *FabricMeshApplication) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FabricMeshApplication. +func (mg *FabricMeshApplication) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FabricMeshApplication. +func (mg *FabricMeshApplication) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FabricMeshApplication. +func (mg *FabricMeshApplication) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FabricMeshApplication. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FabricMeshApplication) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FabricMeshApplication. +func (mg *FabricMeshApplication) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FabricMeshLocalNetwork. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FabricMeshLocalNetwork) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FabricMeshLocalNetwork. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FabricMeshLocalNetwork) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FabricMeshLocalNetwork. +func (mg *FabricMeshLocalNetwork) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FabricMeshSecret. +func (mg *FabricMeshSecret) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FabricMeshSecret. +func (mg *FabricMeshSecret) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FabricMeshSecret. +func (mg *FabricMeshSecret) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FabricMeshSecret. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FabricMeshSecret) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FabricMeshSecret. +func (mg *FabricMeshSecret) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FabricMeshSecret. +func (mg *FabricMeshSecret) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FabricMeshSecret. +func (mg *FabricMeshSecret) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FabricMeshSecret. +func (mg *FabricMeshSecret) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FabricMeshSecret. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FabricMeshSecret) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FabricMeshSecret. +func (mg *FabricMeshSecret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FabricMeshSecretValue. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FabricMeshSecretValue) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FabricMeshSecretValue. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FabricMeshSecretValue) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FabricMeshSecretValue. +func (mg *FabricMeshSecretValue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/service/v1alpha1/zz_generated.managedlist.go b/apis/service/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..af1750077 --- /dev/null +++ b/apis/service/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,65 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this FabricClusterList. +func (l *FabricClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FabricMeshApplicationList. +func (l *FabricMeshApplicationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FabricMeshLocalNetworkList. +func (l *FabricMeshLocalNetworkList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FabricMeshSecretList. +func (l *FabricMeshSecretList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FabricMeshSecretValueList. +func (l *FabricMeshSecretValueList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/service/v1alpha1/zz_groupversion_info.go b/apis/service/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..fe45fcda2 --- /dev/null +++ b/apis/service/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=service.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "service.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/servicebus/v1alpha1/zz_generated.deepcopy.go b/apis/servicebus/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..44e8d1431 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1850 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorrelationFilterObservation) DeepCopyInto(out *CorrelationFilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorrelationFilterObservation. +func (in *CorrelationFilterObservation) DeepCopy() *CorrelationFilterObservation { + if in == nil { + return nil + } + out := new(CorrelationFilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorrelationFilterParameters) DeepCopyInto(out *CorrelationFilterParameters) { + *out = *in + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.CorrelationID != nil { + in, out := &in.CorrelationID, &out.CorrelationID + *out = new(string) + **out = **in + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.MessageID != nil { + in, out := &in.MessageID, &out.MessageID + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ReplyTo != nil { + in, out := &in.ReplyTo, &out.ReplyTo + *out = new(string) + **out = **in + } + if in.ReplyToSessionID != nil { + in, out := &in.ReplyToSessionID, &out.ReplyToSessionID + *out = new(string) + **out = **in + } + if in.SessionID != nil { + in, out := &in.SessionID, &out.SessionID + *out = new(string) + **out = **in + } + if in.To != nil { + in, out := &in.To, &out.To + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorrelationFilterParameters. +func (in *CorrelationFilterParameters) DeepCopy() *CorrelationFilterParameters { + if in == nil { + return nil + } + out := new(CorrelationFilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Namespace) DeepCopyInto(out *Namespace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. +func (in *Namespace) DeepCopy() *Namespace { + if in == nil { + return nil + } + out := new(Namespace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Namespace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRule) DeepCopyInto(out *NamespaceAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRule. +func (in *NamespaceAuthorizationRule) DeepCopy() *NamespaceAuthorizationRule { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleList) DeepCopyInto(out *NamespaceAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleList. +func (in *NamespaceAuthorizationRuleList) DeepCopy() *NamespaceAuthorizationRuleList { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleObservation) DeepCopyInto(out *NamespaceAuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleObservation. +func (in *NamespaceAuthorizationRuleObservation) DeepCopy() *NamespaceAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleParameters) DeepCopyInto(out *NamespaceAuthorizationRuleParameters) { + *out = *in + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleParameters. +func (in *NamespaceAuthorizationRuleParameters) DeepCopy() *NamespaceAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleSpec) DeepCopyInto(out *NamespaceAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleSpec. +func (in *NamespaceAuthorizationRuleSpec) DeepCopy() *NamespaceAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceAuthorizationRuleStatus) DeepCopyInto(out *NamespaceAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceAuthorizationRuleStatus. +func (in *NamespaceAuthorizationRuleStatus) DeepCopy() *NamespaceAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(NamespaceAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfig) DeepCopyInto(out *NamespaceDisasterRecoveryConfig) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfig. +func (in *NamespaceDisasterRecoveryConfig) DeepCopy() *NamespaceDisasterRecoveryConfig { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceDisasterRecoveryConfig) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigList) DeepCopyInto(out *NamespaceDisasterRecoveryConfigList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceDisasterRecoveryConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigList. +func (in *NamespaceDisasterRecoveryConfigList) DeepCopy() *NamespaceDisasterRecoveryConfigList { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceDisasterRecoveryConfigList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigObservation) DeepCopyInto(out *NamespaceDisasterRecoveryConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigObservation. +func (in *NamespaceDisasterRecoveryConfigObservation) DeepCopy() *NamespaceDisasterRecoveryConfigObservation { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigParameters) DeepCopyInto(out *NamespaceDisasterRecoveryConfigParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PartnerNamespaceID != nil { + in, out := &in.PartnerNamespaceID, &out.PartnerNamespaceID + *out = new(string) + **out = **in + } + if in.PrimaryNamespaceID != nil { + in, out := &in.PrimaryNamespaceID, &out.PrimaryNamespaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigParameters. +func (in *NamespaceDisasterRecoveryConfigParameters) DeepCopy() *NamespaceDisasterRecoveryConfigParameters { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigSpec) DeepCopyInto(out *NamespaceDisasterRecoveryConfigSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigSpec. +func (in *NamespaceDisasterRecoveryConfigSpec) DeepCopy() *NamespaceDisasterRecoveryConfigSpec { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceDisasterRecoveryConfigStatus) DeepCopyInto(out *NamespaceDisasterRecoveryConfigStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceDisasterRecoveryConfigStatus. +func (in *NamespaceDisasterRecoveryConfigStatus) DeepCopy() *NamespaceDisasterRecoveryConfigStatus { + if in == nil { + return nil + } + out := new(NamespaceDisasterRecoveryConfigStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Namespace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. +func (in *NamespaceList) DeepCopy() *NamespaceList { + if in == nil { + return nil + } + out := new(NamespaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceNetworkRuleSet) DeepCopyInto(out *NamespaceNetworkRuleSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceNetworkRuleSet. +func (in *NamespaceNetworkRuleSet) DeepCopy() *NamespaceNetworkRuleSet { + if in == nil { + return nil + } + out := new(NamespaceNetworkRuleSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceNetworkRuleSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceNetworkRuleSetList) DeepCopyInto(out *NamespaceNetworkRuleSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]NamespaceNetworkRuleSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceNetworkRuleSetList. +func (in *NamespaceNetworkRuleSetList) DeepCopy() *NamespaceNetworkRuleSetList { + if in == nil { + return nil + } + out := new(NamespaceNetworkRuleSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NamespaceNetworkRuleSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceNetworkRuleSetObservation) DeepCopyInto(out *NamespaceNetworkRuleSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceNetworkRuleSetObservation. +func (in *NamespaceNetworkRuleSetObservation) DeepCopy() *NamespaceNetworkRuleSetObservation { + if in == nil { + return nil + } + out := new(NamespaceNetworkRuleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceNetworkRuleSetParameters) DeepCopyInto(out *NamespaceNetworkRuleSetParameters) { + *out = *in + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRules != nil { + in, out := &in.IPRules, &out.IPRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.NetworkRules != nil { + in, out := &in.NetworkRules, &out.NetworkRules + *out = make([]NetworkRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceNetworkRuleSetParameters. +func (in *NamespaceNetworkRuleSetParameters) DeepCopy() *NamespaceNetworkRuleSetParameters { + if in == nil { + return nil + } + out := new(NamespaceNetworkRuleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceNetworkRuleSetSpec) DeepCopyInto(out *NamespaceNetworkRuleSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceNetworkRuleSetSpec. +func (in *NamespaceNetworkRuleSetSpec) DeepCopy() *NamespaceNetworkRuleSetSpec { + if in == nil { + return nil + } + out := new(NamespaceNetworkRuleSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceNetworkRuleSetStatus) DeepCopyInto(out *NamespaceNetworkRuleSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceNetworkRuleSetStatus. +func (in *NamespaceNetworkRuleSetStatus) DeepCopy() *NamespaceNetworkRuleSetStatus { + if in == nil { + return nil + } + out := new(NamespaceNetworkRuleSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceObservation) DeepCopyInto(out *NamespaceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceObservation. +func (in *NamespaceObservation) DeepCopy() *NamespaceObservation { + if in == nil { + return nil + } + out := new(NamespaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceParameters) DeepCopyInto(out *NamespaceParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceParameters. +func (in *NamespaceParameters) DeepCopy() *NamespaceParameters { + if in == nil { + return nil + } + out := new(NamespaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. +func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { + if in == nil { + return nil + } + out := new(NamespaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. +func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { + if in == nil { + return nil + } + out := new(NamespaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRulesObservation) DeepCopyInto(out *NetworkRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesObservation. +func (in *NetworkRulesObservation) DeepCopy() *NetworkRulesObservation { + if in == nil { + return nil + } + out := new(NetworkRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRulesParameters) DeepCopyInto(out *NetworkRulesParameters) { + *out = *in + if in.IgnoreMissingVnetServiceEndpoint != nil { + in, out := &in.IgnoreMissingVnetServiceEndpoint, &out.IgnoreMissingVnetServiceEndpoint + *out = new(bool) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesParameters. +func (in *NetworkRulesParameters) DeepCopy() *NetworkRulesParameters { + if in == nil { + return nil + } + out := new(NetworkRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Queue) DeepCopyInto(out *Queue) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Queue. +func (in *Queue) DeepCopy() *Queue { + if in == nil { + return nil + } + out := new(Queue) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Queue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueAuthorizationRule) DeepCopyInto(out *QueueAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueAuthorizationRule. +func (in *QueueAuthorizationRule) DeepCopy() *QueueAuthorizationRule { + if in == nil { + return nil + } + out := new(QueueAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *QueueAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueAuthorizationRuleList) DeepCopyInto(out *QueueAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]QueueAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueAuthorizationRuleList. +func (in *QueueAuthorizationRuleList) DeepCopy() *QueueAuthorizationRuleList { + if in == nil { + return nil + } + out := new(QueueAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *QueueAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueAuthorizationRuleObservation) DeepCopyInto(out *QueueAuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueAuthorizationRuleObservation. +func (in *QueueAuthorizationRuleObservation) DeepCopy() *QueueAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(QueueAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueAuthorizationRuleParameters) DeepCopyInto(out *QueueAuthorizationRuleParameters) { + *out = *in + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.QueueName != nil { + in, out := &in.QueueName, &out.QueueName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueAuthorizationRuleParameters. +func (in *QueueAuthorizationRuleParameters) DeepCopy() *QueueAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(QueueAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueAuthorizationRuleSpec) DeepCopyInto(out *QueueAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueAuthorizationRuleSpec. +func (in *QueueAuthorizationRuleSpec) DeepCopy() *QueueAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(QueueAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueAuthorizationRuleStatus) DeepCopyInto(out *QueueAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueAuthorizationRuleStatus. +func (in *QueueAuthorizationRuleStatus) DeepCopy() *QueueAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(QueueAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueList) DeepCopyInto(out *QueueList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Queue, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueList. +func (in *QueueList) DeepCopy() *QueueList { + if in == nil { + return nil + } + out := new(QueueList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *QueueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueObservation. +func (in *QueueObservation) DeepCopy() *QueueObservation { + if in == nil { + return nil + } + out := new(QueueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueParameters) DeepCopyInto(out *QueueParameters) { + *out = *in + if in.AutoDeleteOnIdle != nil { + in, out := &in.AutoDeleteOnIdle, &out.AutoDeleteOnIdle + *out = new(string) + **out = **in + } + if in.DeadLetteringOnMessageExpiration != nil { + in, out := &in.DeadLetteringOnMessageExpiration, &out.DeadLetteringOnMessageExpiration + *out = new(bool) + **out = **in + } + if in.DefaultMessageTTL != nil { + in, out := &in.DefaultMessageTTL, &out.DefaultMessageTTL + *out = new(string) + **out = **in + } + if in.DuplicateDetectionHistoryTimeWindow != nil { + in, out := &in.DuplicateDetectionHistoryTimeWindow, &out.DuplicateDetectionHistoryTimeWindow + *out = new(string) + **out = **in + } + if in.EnableBatchedOperations != nil { + in, out := &in.EnableBatchedOperations, &out.EnableBatchedOperations + *out = new(bool) + **out = **in + } + if in.EnableExpress != nil { + in, out := &in.EnableExpress, &out.EnableExpress + *out = new(bool) + **out = **in + } + if in.EnablePartitioning != nil { + in, out := &in.EnablePartitioning, &out.EnablePartitioning + *out = new(bool) + **out = **in + } + if in.ForwardDeadLetteredMessagesTo != nil { + in, out := &in.ForwardDeadLetteredMessagesTo, &out.ForwardDeadLetteredMessagesTo + *out = new(string) + **out = **in + } + if in.ForwardTo != nil { + in, out := &in.ForwardTo, &out.ForwardTo + *out = new(string) + **out = **in + } + if in.LockDuration != nil { + in, out := &in.LockDuration, &out.LockDuration + *out = new(string) + **out = **in + } + if in.MaxDeliveryCount != nil { + in, out := &in.MaxDeliveryCount, &out.MaxDeliveryCount + *out = new(int64) + **out = **in + } + if in.MaxSizeInMegabytes != nil { + in, out := &in.MaxSizeInMegabytes, &out.MaxSizeInMegabytes + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.RequiresDuplicateDetection != nil { + in, out := &in.RequiresDuplicateDetection, &out.RequiresDuplicateDetection + *out = new(bool) + **out = **in + } + if in.RequiresSession != nil { + in, out := &in.RequiresSession, &out.RequiresSession + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueParameters. +func (in *QueueParameters) DeepCopy() *QueueParameters { + if in == nil { + return nil + } + out := new(QueueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueSpec) DeepCopyInto(out *QueueSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueSpec. +func (in *QueueSpec) DeepCopy() *QueueSpec { + if in == nil { + return nil + } + out := new(QueueSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueStatus) DeepCopyInto(out *QueueStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueStatus. +func (in *QueueStatus) DeepCopy() *QueueStatus { + if in == nil { + return nil + } + out := new(QueueStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Subscription) DeepCopyInto(out *Subscription) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription. +func (in *Subscription) DeepCopy() *Subscription { + if in == nil { + return nil + } + out := new(Subscription) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Subscription) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Subscription, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionList. +func (in *SubscriptionList) DeepCopy() *SubscriptionList { + if in == nil { + return nil + } + out := new(SubscriptionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubscriptionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionObservation) DeepCopyInto(out *SubscriptionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionObservation. +func (in *SubscriptionObservation) DeepCopy() *SubscriptionObservation { + if in == nil { + return nil + } + out := new(SubscriptionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionParameters) DeepCopyInto(out *SubscriptionParameters) { + *out = *in + if in.AutoDeleteOnIdle != nil { + in, out := &in.AutoDeleteOnIdle, &out.AutoDeleteOnIdle + *out = new(string) + **out = **in + } + if in.DeadLetteringOnFilterEvaluationError != nil { + in, out := &in.DeadLetteringOnFilterEvaluationError, &out.DeadLetteringOnFilterEvaluationError + *out = new(bool) + **out = **in + } + if in.DeadLetteringOnMessageExpiration != nil { + in, out := &in.DeadLetteringOnMessageExpiration, &out.DeadLetteringOnMessageExpiration + *out = new(bool) + **out = **in + } + if in.DefaultMessageTTL != nil { + in, out := &in.DefaultMessageTTL, &out.DefaultMessageTTL + *out = new(string) + **out = **in + } + if in.EnableBatchedOperations != nil { + in, out := &in.EnableBatchedOperations, &out.EnableBatchedOperations + *out = new(bool) + **out = **in + } + if in.ForwardDeadLetteredMessagesTo != nil { + in, out := &in.ForwardDeadLetteredMessagesTo, &out.ForwardDeadLetteredMessagesTo + *out = new(string) + **out = **in + } + if in.ForwardTo != nil { + in, out := &in.ForwardTo, &out.ForwardTo + *out = new(string) + **out = **in + } + if in.LockDuration != nil { + in, out := &in.LockDuration, &out.LockDuration + *out = new(string) + **out = **in + } + if in.MaxDeliveryCount != nil { + in, out := &in.MaxDeliveryCount, &out.MaxDeliveryCount + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.RequiresSession != nil { + in, out := &in.RequiresSession, &out.RequiresSession + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionParameters. +func (in *SubscriptionParameters) DeepCopy() *SubscriptionParameters { + if in == nil { + return nil + } + out := new(SubscriptionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionRule) DeepCopyInto(out *SubscriptionRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionRule. +func (in *SubscriptionRule) DeepCopy() *SubscriptionRule { + if in == nil { + return nil + } + out := new(SubscriptionRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubscriptionRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionRuleList) DeepCopyInto(out *SubscriptionRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SubscriptionRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionRuleList. +func (in *SubscriptionRuleList) DeepCopy() *SubscriptionRuleList { + if in == nil { + return nil + } + out := new(SubscriptionRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SubscriptionRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionRuleObservation) DeepCopyInto(out *SubscriptionRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionRuleObservation. +func (in *SubscriptionRuleObservation) DeepCopy() *SubscriptionRuleObservation { + if in == nil { + return nil + } + out := new(SubscriptionRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionRuleParameters) DeepCopyInto(out *SubscriptionRuleParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.CorrelationFilter != nil { + in, out := &in.CorrelationFilter, &out.CorrelationFilter + *out = make([]CorrelationFilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FilterType != nil { + in, out := &in.FilterType, &out.FilterType + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SQLFilter != nil { + in, out := &in.SQLFilter, &out.SQLFilter + *out = new(string) + **out = **in + } + if in.SubscriptionName != nil { + in, out := &in.SubscriptionName, &out.SubscriptionName + *out = new(string) + **out = **in + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionRuleParameters. +func (in *SubscriptionRuleParameters) DeepCopy() *SubscriptionRuleParameters { + if in == nil { + return nil + } + out := new(SubscriptionRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionRuleSpec) DeepCopyInto(out *SubscriptionRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionRuleSpec. +func (in *SubscriptionRuleSpec) DeepCopy() *SubscriptionRuleSpec { + if in == nil { + return nil + } + out := new(SubscriptionRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionRuleStatus) DeepCopyInto(out *SubscriptionRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionRuleStatus. +func (in *SubscriptionRuleStatus) DeepCopy() *SubscriptionRuleStatus { + if in == nil { + return nil + } + out := new(SubscriptionRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionSpec. +func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec { + if in == nil { + return nil + } + out := new(SubscriptionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionStatus. +func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus { + if in == nil { + return nil + } + out := new(SubscriptionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Topic) DeepCopyInto(out *Topic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topic. +func (in *Topic) DeepCopy() *Topic { + if in == nil { + return nil + } + out := new(Topic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Topic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicAuthorizationRule) DeepCopyInto(out *TopicAuthorizationRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicAuthorizationRule. +func (in *TopicAuthorizationRule) DeepCopy() *TopicAuthorizationRule { + if in == nil { + return nil + } + out := new(TopicAuthorizationRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TopicAuthorizationRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicAuthorizationRuleList) DeepCopyInto(out *TopicAuthorizationRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TopicAuthorizationRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicAuthorizationRuleList. +func (in *TopicAuthorizationRuleList) DeepCopy() *TopicAuthorizationRuleList { + if in == nil { + return nil + } + out := new(TopicAuthorizationRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TopicAuthorizationRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicAuthorizationRuleObservation) DeepCopyInto(out *TopicAuthorizationRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicAuthorizationRuleObservation. +func (in *TopicAuthorizationRuleObservation) DeepCopy() *TopicAuthorizationRuleObservation { + if in == nil { + return nil + } + out := new(TopicAuthorizationRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicAuthorizationRuleParameters) DeepCopyInto(out *TopicAuthorizationRuleParameters) { + *out = *in + if in.Listen != nil { + in, out := &in.Listen, &out.Listen + *out = new(bool) + **out = **in + } + if in.Manage != nil { + in, out := &in.Manage, &out.Manage + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Send != nil { + in, out := &in.Send, &out.Send + *out = new(bool) + **out = **in + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicAuthorizationRuleParameters. +func (in *TopicAuthorizationRuleParameters) DeepCopy() *TopicAuthorizationRuleParameters { + if in == nil { + return nil + } + out := new(TopicAuthorizationRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicAuthorizationRuleSpec) DeepCopyInto(out *TopicAuthorizationRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicAuthorizationRuleSpec. +func (in *TopicAuthorizationRuleSpec) DeepCopy() *TopicAuthorizationRuleSpec { + if in == nil { + return nil + } + out := new(TopicAuthorizationRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicAuthorizationRuleStatus) DeepCopyInto(out *TopicAuthorizationRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicAuthorizationRuleStatus. +func (in *TopicAuthorizationRuleStatus) DeepCopy() *TopicAuthorizationRuleStatus { + if in == nil { + return nil + } + out := new(TopicAuthorizationRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicList) DeepCopyInto(out *TopicList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Topic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicList. +func (in *TopicList) DeepCopy() *TopicList { + if in == nil { + return nil + } + out := new(TopicList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TopicList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicObservation) DeepCopyInto(out *TopicObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicObservation. +func (in *TopicObservation) DeepCopy() *TopicObservation { + if in == nil { + return nil + } + out := new(TopicObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicParameters) DeepCopyInto(out *TopicParameters) { + *out = *in + if in.AutoDeleteOnIdle != nil { + in, out := &in.AutoDeleteOnIdle, &out.AutoDeleteOnIdle + *out = new(string) + **out = **in + } + if in.DefaultMessageTTL != nil { + in, out := &in.DefaultMessageTTL, &out.DefaultMessageTTL + *out = new(string) + **out = **in + } + if in.DuplicateDetectionHistoryTimeWindow != nil { + in, out := &in.DuplicateDetectionHistoryTimeWindow, &out.DuplicateDetectionHistoryTimeWindow + *out = new(string) + **out = **in + } + if in.EnableBatchedOperations != nil { + in, out := &in.EnableBatchedOperations, &out.EnableBatchedOperations + *out = new(bool) + **out = **in + } + if in.EnableExpress != nil { + in, out := &in.EnableExpress, &out.EnableExpress + *out = new(bool) + **out = **in + } + if in.EnablePartitioning != nil { + in, out := &in.EnablePartitioning, &out.EnablePartitioning + *out = new(bool) + **out = **in + } + if in.MaxSizeInMegabytes != nil { + in, out := &in.MaxSizeInMegabytes, &out.MaxSizeInMegabytes + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NamespaceName != nil { + in, out := &in.NamespaceName, &out.NamespaceName + *out = new(string) + **out = **in + } + if in.RequiresDuplicateDetection != nil { + in, out := &in.RequiresDuplicateDetection, &out.RequiresDuplicateDetection + *out = new(bool) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(string) + **out = **in + } + if in.SupportOrdering != nil { + in, out := &in.SupportOrdering, &out.SupportOrdering + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicParameters. +func (in *TopicParameters) DeepCopy() *TopicParameters { + if in == nil { + return nil + } + out := new(TopicParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicSpec) DeepCopyInto(out *TopicSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicSpec. +func (in *TopicSpec) DeepCopy() *TopicSpec { + if in == nil { + return nil + } + out := new(TopicSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TopicStatus) DeepCopyInto(out *TopicStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicStatus. +func (in *TopicStatus) DeepCopy() *TopicStatus { + if in == nil { + return nil + } + out := new(TopicStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/servicebus/v1alpha1/zz_generated.managed.go b/apis/servicebus/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..143568b94 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_generated.managed.go @@ -0,0 +1,580 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Namespace. +func (mg *Namespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Namespace. +func (mg *Namespace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Namespace. +func (mg *Namespace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Namespace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Namespace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Namespace. +func (mg *Namespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Namespace. +func (mg *Namespace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Namespace. +func (mg *Namespace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Namespace. +func (mg *Namespace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Namespace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Namespace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Namespace. +func (mg *Namespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceAuthorizationRule. +func (mg *NamespaceAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceDisasterRecoveryConfig. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceDisasterRecoveryConfig) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceDisasterRecoveryConfig. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceDisasterRecoveryConfig) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceDisasterRecoveryConfig. +func (mg *NamespaceDisasterRecoveryConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this NamespaceNetworkRuleSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *NamespaceNetworkRuleSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this NamespaceNetworkRuleSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *NamespaceNetworkRuleSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this NamespaceNetworkRuleSet. +func (mg *NamespaceNetworkRuleSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Queue. +func (mg *Queue) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Queue. +func (mg *Queue) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Queue. +func (mg *Queue) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Queue. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Queue) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Queue. +func (mg *Queue) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Queue. +func (mg *Queue) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Queue. +func (mg *Queue) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Queue. +func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Queue. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Queue) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Queue. +func (mg *Queue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this QueueAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *QueueAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this QueueAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *QueueAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this QueueAuthorizationRule. +func (mg *QueueAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Subscription. +func (mg *Subscription) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Subscription. +func (mg *Subscription) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Subscription. +func (mg *Subscription) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Subscription. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Subscription) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Subscription. +func (mg *Subscription) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Subscription. +func (mg *Subscription) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Subscription. +func (mg *Subscription) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Subscription. +func (mg *Subscription) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Subscription. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Subscription) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Subscription. +func (mg *Subscription) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SubscriptionRule. +func (mg *SubscriptionRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SubscriptionRule. +func (mg *SubscriptionRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SubscriptionRule. +func (mg *SubscriptionRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SubscriptionRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SubscriptionRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SubscriptionRule. +func (mg *SubscriptionRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SubscriptionRule. +func (mg *SubscriptionRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SubscriptionRule. +func (mg *SubscriptionRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SubscriptionRule. +func (mg *SubscriptionRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SubscriptionRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SubscriptionRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SubscriptionRule. +func (mg *SubscriptionRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Topic. +func (mg *Topic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Topic. +func (mg *Topic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Topic. +func (mg *Topic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Topic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Topic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Topic. +func (mg *Topic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Topic. +func (mg *Topic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Topic. +func (mg *Topic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Topic. +func (mg *Topic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Topic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Topic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Topic. +func (mg *Topic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TopicAuthorizationRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TopicAuthorizationRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TopicAuthorizationRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TopicAuthorizationRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TopicAuthorizationRule. +func (mg *TopicAuthorizationRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/servicebus/v1alpha1/zz_generated.managedlist.go b/apis/servicebus/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..32d9efe7f --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,110 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this NamespaceAuthorizationRuleList. +func (l *NamespaceAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceDisasterRecoveryConfigList. +func (l *NamespaceDisasterRecoveryConfigList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceList. +func (l *NamespaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this NamespaceNetworkRuleSetList. +func (l *NamespaceNetworkRuleSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this QueueAuthorizationRuleList. +func (l *QueueAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this QueueList. +func (l *QueueList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SubscriptionList. +func (l *SubscriptionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SubscriptionRuleList. +func (l *SubscriptionRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TopicAuthorizationRuleList. +func (l *TopicAuthorizationRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TopicList. +func (l *TopicList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/servicebus/v1alpha1/zz_groupversion_info.go b/apis/servicebus/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..e6204bf96 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=servicebus.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "servicebus.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/servicebus/v1alpha1/zz_namespace_terraformed.go b/apis/servicebus/v1alpha1/zz_namespace_terraformed.go new file mode 100755 index 000000000..5376d8bac --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Namespace +func (mg *Namespace) GetTerraformResourceType() string { + return "azurerm_servicebus_namespace" +} + +// GetConnectionDetailsMapping for this Namespace +func (tr *Namespace) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"default_primary_connection_string": "status.atProvider.defaultPrimaryConnectionString", "default_primary_key": "status.atProvider.defaultPrimaryKey", "default_secondary_connection_string": "status.atProvider.defaultSecondaryConnectionString", "default_secondary_key": "status.atProvider.defaultSecondaryKey"} +} + +// GetObservation of this Namespace +func (tr *Namespace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Namespace +func (tr *Namespace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Namespace +func (tr *Namespace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Namespace +func (tr *Namespace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Namespace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Namespace) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Namespace) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/servicebus/v1alpha1/zz_namespace_types.go b/apis/servicebus/v1alpha1/zz_namespace_types.go new file mode 100755 index 000000000..118c874ab --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespace_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceObservation struct { +} + +type NamespaceParameters struct { + + // +kubebuilder:validation:Optional + Capacity *int64 `json:"capacity,omitempty" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +// NamespaceSpec defines the desired state of Namespace +type NamespaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceParameters `json:"forProvider"` +} + +// NamespaceStatus defines the observed state of Namespace. +type NamespaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Namespace is the Schema for the Namespaces API +// +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,azurejet} +type Namespace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceSpec `json:"spec"` + Status NamespaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceList contains a list of Namespaces +type NamespaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Namespace `json:"items"` +} + +// Repository type metadata. +var ( + Namespace_Kind = "Namespace" + Namespace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Namespace_Kind}.String() + Namespace_KindAPIVersion = Namespace_Kind + "." + CRDGroupVersion.String() + Namespace_GroupVersionKind = CRDGroupVersion.WithKind(Namespace_Kind) +) + +func init() { + SchemeBuilder.Register(&Namespace{}, &NamespaceList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_namespaceauthorizationrule_terraformed.go b/apis/servicebus/v1alpha1/zz_namespaceauthorizationrule_terraformed.go new file mode 100755 index 000000000..82b375ea9 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespaceauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceAuthorizationRule +func (mg *NamespaceAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_servicebus_namespace_authorization_rule" +} + +// GetConnectionDetailsMapping for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_connection_string_alias": "status.atProvider.primaryConnectionStringAlias", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_connection_string_alias": "status.atProvider.secondaryConnectionStringAlias", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceAuthorizationRule +func (tr *NamespaceAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceAuthorizationRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_namespaceauthorizationrule_types.go b/apis/servicebus/v1alpha1/zz_namespaceauthorizationrule_types.go new file mode 100755 index 000000000..57a18f7b3 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespaceauthorizationrule_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceAuthorizationRuleObservation struct { +} + +type NamespaceAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// NamespaceAuthorizationRuleSpec defines the desired state of NamespaceAuthorizationRule +type NamespaceAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceAuthorizationRuleParameters `json:"forProvider"` +} + +// NamespaceAuthorizationRuleStatus defines the observed state of NamespaceAuthorizationRule. +type NamespaceAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceAuthorizationRule is the Schema for the NamespaceAuthorizationRules API +// +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,azurejet} +type NamespaceAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceAuthorizationRuleSpec `json:"spec"` + Status NamespaceAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceAuthorizationRuleList contains a list of NamespaceAuthorizationRules +type NamespaceAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceAuthorizationRule_Kind = "NamespaceAuthorizationRule" + NamespaceAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceAuthorizationRule_Kind}.String() + NamespaceAuthorizationRule_KindAPIVersion = NamespaceAuthorizationRule_Kind + "." + CRDGroupVersion.String() + NamespaceAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceAuthorizationRule{}, &NamespaceAuthorizationRuleList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_namespacedisasterrecoveryconfig_terraformed.go b/apis/servicebus/v1alpha1/zz_namespacedisasterrecoveryconfig_terraformed.go new file mode 100755 index 000000000..7432454f9 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespacedisasterrecoveryconfig_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceDisasterRecoveryConfig +func (mg *NamespaceDisasterRecoveryConfig) GetTerraformResourceType() string { + return "azurerm_servicebus_namespace_disaster_recovery_config" +} + +// GetConnectionDetailsMapping for this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"default_primary_key": "status.atProvider.defaultPrimaryKey", "default_secondary_key": "status.atProvider.defaultSecondaryKey", "primary_connection_string_alias": "status.atProvider.primaryConnectionStringAlias", "secondary_connection_string_alias": "status.atProvider.secondaryConnectionStringAlias"} +} + +// GetObservation of this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceDisasterRecoveryConfig +func (tr *NamespaceDisasterRecoveryConfig) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceDisasterRecoveryConfig using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceDisasterRecoveryConfig) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceDisasterRecoveryConfigParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceDisasterRecoveryConfig) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_namespacedisasterrecoveryconfig_types.go b/apis/servicebus/v1alpha1/zz_namespacedisasterrecoveryconfig_types.go new file mode 100755 index 000000000..e3d15d65f --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespacedisasterrecoveryconfig_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceDisasterRecoveryConfigObservation struct { +} + +type NamespaceDisasterRecoveryConfigParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PartnerNamespaceID *string `json:"partnerNamespaceId" tf:"partner_namespace_id,omitempty"` + + // +kubebuilder:validation:Required + PrimaryNamespaceID *string `json:"primaryNamespaceId" tf:"primary_namespace_id,omitempty"` +} + +// NamespaceDisasterRecoveryConfigSpec defines the desired state of NamespaceDisasterRecoveryConfig +type NamespaceDisasterRecoveryConfigSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceDisasterRecoveryConfigParameters `json:"forProvider"` +} + +// NamespaceDisasterRecoveryConfigStatus defines the observed state of NamespaceDisasterRecoveryConfig. +type NamespaceDisasterRecoveryConfigStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceDisasterRecoveryConfigObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceDisasterRecoveryConfig is the Schema for the NamespaceDisasterRecoveryConfigs API +// +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,azurejet} +type NamespaceDisasterRecoveryConfig struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceDisasterRecoveryConfigSpec `json:"spec"` + Status NamespaceDisasterRecoveryConfigStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceDisasterRecoveryConfigList contains a list of NamespaceDisasterRecoveryConfigs +type NamespaceDisasterRecoveryConfigList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceDisasterRecoveryConfig `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceDisasterRecoveryConfig_Kind = "NamespaceDisasterRecoveryConfig" + NamespaceDisasterRecoveryConfig_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceDisasterRecoveryConfig_Kind}.String() + NamespaceDisasterRecoveryConfig_KindAPIVersion = NamespaceDisasterRecoveryConfig_Kind + "." + CRDGroupVersion.String() + NamespaceDisasterRecoveryConfig_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceDisasterRecoveryConfig_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceDisasterRecoveryConfig{}, &NamespaceDisasterRecoveryConfigList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_namespacenetworkruleset_terraformed.go b/apis/servicebus/v1alpha1/zz_namespacenetworkruleset_terraformed.go new file mode 100755 index 000000000..8114e0b9f --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespacenetworkruleset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this NamespaceNetworkRuleSet +func (mg *NamespaceNetworkRuleSet) GetTerraformResourceType() string { + return "azurerm_servicebus_namespace_network_rule_set" +} + +// GetConnectionDetailsMapping for this NamespaceNetworkRuleSet +func (tr *NamespaceNetworkRuleSet) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this NamespaceNetworkRuleSet +func (tr *NamespaceNetworkRuleSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this NamespaceNetworkRuleSet +func (tr *NamespaceNetworkRuleSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this NamespaceNetworkRuleSet +func (tr *NamespaceNetworkRuleSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this NamespaceNetworkRuleSet +func (tr *NamespaceNetworkRuleSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this NamespaceNetworkRuleSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *NamespaceNetworkRuleSet) LateInitialize(attrs []byte) (bool, error) { + params := &NamespaceNetworkRuleSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *NamespaceNetworkRuleSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_namespacenetworkruleset_types.go b/apis/servicebus/v1alpha1/zz_namespacenetworkruleset_types.go new file mode 100755 index 000000000..bab689a13 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_namespacenetworkruleset_types.go @@ -0,0 +1,108 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type NamespaceNetworkRuleSetObservation struct { +} + +type NamespaceNetworkRuleSetParameters struct { + + // +kubebuilder:validation:Optional + DefaultAction *string `json:"defaultAction,omitempty" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPRules []*string `json:"ipRules,omitempty" tf:"ip_rules,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkRules []NetworkRulesParameters `json:"networkRules,omitempty" tf:"network_rules,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +type NetworkRulesObservation struct { +} + +type NetworkRulesParameters struct { + + // +kubebuilder:validation:Optional + IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty" tf:"ignore_missing_vnet_service_endpoint,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` +} + +// NamespaceNetworkRuleSetSpec defines the desired state of NamespaceNetworkRuleSet +type NamespaceNetworkRuleSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider NamespaceNetworkRuleSetParameters `json:"forProvider"` +} + +// NamespaceNetworkRuleSetStatus defines the observed state of NamespaceNetworkRuleSet. +type NamespaceNetworkRuleSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider NamespaceNetworkRuleSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceNetworkRuleSet is the Schema for the NamespaceNetworkRuleSets API +// +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,azurejet} +type NamespaceNetworkRuleSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec NamespaceNetworkRuleSetSpec `json:"spec"` + Status NamespaceNetworkRuleSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// NamespaceNetworkRuleSetList contains a list of NamespaceNetworkRuleSets +type NamespaceNetworkRuleSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []NamespaceNetworkRuleSet `json:"items"` +} + +// Repository type metadata. +var ( + NamespaceNetworkRuleSet_Kind = "NamespaceNetworkRuleSet" + NamespaceNetworkRuleSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: NamespaceNetworkRuleSet_Kind}.String() + NamespaceNetworkRuleSet_KindAPIVersion = NamespaceNetworkRuleSet_Kind + "." + CRDGroupVersion.String() + NamespaceNetworkRuleSet_GroupVersionKind = CRDGroupVersion.WithKind(NamespaceNetworkRuleSet_Kind) +) + +func init() { + SchemeBuilder.Register(&NamespaceNetworkRuleSet{}, &NamespaceNetworkRuleSetList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_queue_terraformed.go b/apis/servicebus/v1alpha1/zz_queue_terraformed.go new file mode 100755 index 000000000..dcd4906b0 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_queue_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Queue +func (mg *Queue) GetTerraformResourceType() string { + return "azurerm_servicebus_queue" +} + +// GetConnectionDetailsMapping for this Queue +func (tr *Queue) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Queue +func (tr *Queue) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Queue +func (tr *Queue) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Queue +func (tr *Queue) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Queue +func (tr *Queue) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Queue using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Queue) LateInitialize(attrs []byte) (bool, error) { + params := &QueueParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Queue) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_queue_types.go b/apis/servicebus/v1alpha1/zz_queue_types.go new file mode 100755 index 000000000..cc90a359e --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_queue_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type QueueObservation struct { +} + +type QueueParameters struct { + + // +kubebuilder:validation:Optional + AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty" tf:"auto_delete_on_idle,omitempty"` + + // +kubebuilder:validation:Optional + DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty" tf:"dead_lettering_on_message_expiration,omitempty"` + + // +kubebuilder:validation:Optional + DefaultMessageTTL *string `json:"defaultMessageTtl,omitempty" tf:"default_message_ttl,omitempty"` + + // +kubebuilder:validation:Optional + DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty" tf:"duplicate_detection_history_time_window,omitempty"` + + // +kubebuilder:validation:Optional + EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty" tf:"enable_batched_operations,omitempty"` + + // +kubebuilder:validation:Optional + EnableExpress *bool `json:"enableExpress,omitempty" tf:"enable_express,omitempty"` + + // +kubebuilder:validation:Optional + EnablePartitioning *bool `json:"enablePartitioning,omitempty" tf:"enable_partitioning,omitempty"` + + // +kubebuilder:validation:Optional + ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty" tf:"forward_dead_lettered_messages_to,omitempty"` + + // +kubebuilder:validation:Optional + ForwardTo *string `json:"forwardTo,omitempty" tf:"forward_to,omitempty"` + + // +kubebuilder:validation:Optional + LockDuration *string `json:"lockDuration,omitempty" tf:"lock_duration,omitempty"` + + // +kubebuilder:validation:Optional + MaxDeliveryCount *int64 `json:"maxDeliveryCount,omitempty" tf:"max_delivery_count,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeInMegabytes *int64 `json:"maxSizeInMegabytes,omitempty" tf:"max_size_in_megabytes,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Optional + RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty" tf:"requires_duplicate_detection,omitempty"` + + // +kubebuilder:validation:Optional + RequiresSession *bool `json:"requiresSession,omitempty" tf:"requires_session,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` +} + +// QueueSpec defines the desired state of Queue +type QueueSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider QueueParameters `json:"forProvider"` +} + +// QueueStatus defines the observed state of Queue. +type QueueStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider QueueObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Queue is the Schema for the Queues API +// +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,azurejet} +type Queue struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec QueueSpec `json:"spec"` + Status QueueStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// QueueList contains a list of Queues +type QueueList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Queue `json:"items"` +} + +// Repository type metadata. +var ( + Queue_Kind = "Queue" + Queue_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Queue_Kind}.String() + Queue_KindAPIVersion = Queue_Kind + "." + CRDGroupVersion.String() + Queue_GroupVersionKind = CRDGroupVersion.WithKind(Queue_Kind) +) + +func init() { + SchemeBuilder.Register(&Queue{}, &QueueList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_queueauthorizationrule_terraformed.go b/apis/servicebus/v1alpha1/zz_queueauthorizationrule_terraformed.go new file mode 100755 index 000000000..22733acf8 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_queueauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this QueueAuthorizationRule +func (mg *QueueAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_servicebus_queue_authorization_rule" +} + +// GetConnectionDetailsMapping for this QueueAuthorizationRule +func (tr *QueueAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_connection_string_alias": "status.atProvider.primaryConnectionStringAlias", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_connection_string_alias": "status.atProvider.secondaryConnectionStringAlias", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this QueueAuthorizationRule +func (tr *QueueAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this QueueAuthorizationRule +func (tr *QueueAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this QueueAuthorizationRule +func (tr *QueueAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this QueueAuthorizationRule +func (tr *QueueAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this QueueAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *QueueAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &QueueAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *QueueAuthorizationRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_queueauthorizationrule_types.go b/apis/servicebus/v1alpha1/zz_queueauthorizationrule_types.go new file mode 100755 index 000000000..86f3054f6 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_queueauthorizationrule_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type QueueAuthorizationRuleObservation struct { +} + +type QueueAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + QueueName *string `json:"queueName" tf:"queue_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` +} + +// QueueAuthorizationRuleSpec defines the desired state of QueueAuthorizationRule +type QueueAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider QueueAuthorizationRuleParameters `json:"forProvider"` +} + +// QueueAuthorizationRuleStatus defines the observed state of QueueAuthorizationRule. +type QueueAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider QueueAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// QueueAuthorizationRule is the Schema for the QueueAuthorizationRules API +// +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,azurejet} +type QueueAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec QueueAuthorizationRuleSpec `json:"spec"` + Status QueueAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// QueueAuthorizationRuleList contains a list of QueueAuthorizationRules +type QueueAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []QueueAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + QueueAuthorizationRule_Kind = "QueueAuthorizationRule" + QueueAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: QueueAuthorizationRule_Kind}.String() + QueueAuthorizationRule_KindAPIVersion = QueueAuthorizationRule_Kind + "." + CRDGroupVersion.String() + QueueAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(QueueAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&QueueAuthorizationRule{}, &QueueAuthorizationRuleList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_subscription_terraformed.go b/apis/servicebus/v1alpha1/zz_subscription_terraformed.go new file mode 100755 index 000000000..4ad9a9ce9 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_subscription_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Subscription +func (mg *Subscription) GetTerraformResourceType() string { + return "azurerm_servicebus_subscription" +} + +// GetConnectionDetailsMapping for this Subscription +func (tr *Subscription) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Subscription +func (tr *Subscription) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Subscription +func (tr *Subscription) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Subscription +func (tr *Subscription) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Subscription +func (tr *Subscription) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Subscription using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Subscription) LateInitialize(attrs []byte) (bool, error) { + params := &SubscriptionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Subscription) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_subscription_types.go b/apis/servicebus/v1alpha1/zz_subscription_types.go new file mode 100755 index 000000000..8d80b53c9 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_subscription_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SubscriptionObservation struct { +} + +type SubscriptionParameters struct { + + // +kubebuilder:validation:Optional + AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty" tf:"auto_delete_on_idle,omitempty"` + + // +kubebuilder:validation:Optional + DeadLetteringOnFilterEvaluationError *bool `json:"deadLetteringOnFilterEvaluationError,omitempty" tf:"dead_lettering_on_filter_evaluation_error,omitempty"` + + // +kubebuilder:validation:Optional + DeadLetteringOnMessageExpiration *bool `json:"deadLetteringOnMessageExpiration,omitempty" tf:"dead_lettering_on_message_expiration,omitempty"` + + // +kubebuilder:validation:Optional + DefaultMessageTTL *string `json:"defaultMessageTtl,omitempty" tf:"default_message_ttl,omitempty"` + + // +kubebuilder:validation:Optional + EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty" tf:"enable_batched_operations,omitempty"` + + // +kubebuilder:validation:Optional + ForwardDeadLetteredMessagesTo *string `json:"forwardDeadLetteredMessagesTo,omitempty" tf:"forward_dead_lettered_messages_to,omitempty"` + + // +kubebuilder:validation:Optional + ForwardTo *string `json:"forwardTo,omitempty" tf:"forward_to,omitempty"` + + // +kubebuilder:validation:Optional + LockDuration *string `json:"lockDuration,omitempty" tf:"lock_duration,omitempty"` + + // +kubebuilder:validation:Required + MaxDeliveryCount *int64 `json:"maxDeliveryCount" tf:"max_delivery_count,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Optional + RequiresSession *bool `json:"requiresSession,omitempty" tf:"requires_session,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // +kubebuilder:validation:Required + TopicName *string `json:"topicName" tf:"topic_name,omitempty"` +} + +// SubscriptionSpec defines the desired state of Subscription +type SubscriptionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SubscriptionParameters `json:"forProvider"` +} + +// SubscriptionStatus defines the observed state of Subscription. +type SubscriptionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SubscriptionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Subscription is the Schema for the Subscriptions API +// +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,azurejet} +type Subscription struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SubscriptionSpec `json:"spec"` + Status SubscriptionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SubscriptionList contains a list of Subscriptions +type SubscriptionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Subscription `json:"items"` +} + +// Repository type metadata. +var ( + Subscription_Kind = "Subscription" + Subscription_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Subscription_Kind}.String() + Subscription_KindAPIVersion = Subscription_Kind + "." + CRDGroupVersion.String() + Subscription_GroupVersionKind = CRDGroupVersion.WithKind(Subscription_Kind) +) + +func init() { + SchemeBuilder.Register(&Subscription{}, &SubscriptionList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_subscriptionrule_terraformed.go b/apis/servicebus/v1alpha1/zz_subscriptionrule_terraformed.go new file mode 100755 index 000000000..009b2a9cd --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_subscriptionrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SubscriptionRule +func (mg *SubscriptionRule) GetTerraformResourceType() string { + return "azurerm_servicebus_subscription_rule" +} + +// GetConnectionDetailsMapping for this SubscriptionRule +func (tr *SubscriptionRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SubscriptionRule +func (tr *SubscriptionRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SubscriptionRule +func (tr *SubscriptionRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SubscriptionRule +func (tr *SubscriptionRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SubscriptionRule +func (tr *SubscriptionRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SubscriptionRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SubscriptionRule) LateInitialize(attrs []byte) (bool, error) { + params := &SubscriptionRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SubscriptionRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_subscriptionrule_types.go b/apis/servicebus/v1alpha1/zz_subscriptionrule_types.go new file mode 100755 index 000000000..139eeede1 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_subscriptionrule_types.go @@ -0,0 +1,141 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CorrelationFilterObservation struct { +} + +type CorrelationFilterParameters struct { + + // +kubebuilder:validation:Optional + ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` + + // +kubebuilder:validation:Optional + CorrelationID *string `json:"correlationId,omitempty" tf:"correlation_id,omitempty"` + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Optional + MessageID *string `json:"messageId,omitempty" tf:"message_id,omitempty"` + + // +kubebuilder:validation:Optional + Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` + + // +kubebuilder:validation:Optional + ReplyTo *string `json:"replyTo,omitempty" tf:"reply_to,omitempty"` + + // +kubebuilder:validation:Optional + ReplyToSessionID *string `json:"replyToSessionId,omitempty" tf:"reply_to_session_id,omitempty"` + + // +kubebuilder:validation:Optional + SessionID *string `json:"sessionId,omitempty" tf:"session_id,omitempty"` + + // +kubebuilder:validation:Optional + To *string `json:"to,omitempty" tf:"to,omitempty"` +} + +type SubscriptionRuleObservation struct { +} + +type SubscriptionRuleParameters struct { + + // +kubebuilder:validation:Optional + Action *string `json:"action,omitempty" tf:"action,omitempty"` + + // +kubebuilder:validation:Optional + CorrelationFilter []CorrelationFilterParameters `json:"correlationFilter,omitempty" tf:"correlation_filter,omitempty"` + + // +kubebuilder:validation:Required + FilterType *string `json:"filterType" tf:"filter_type,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SQLFilter *string `json:"sqlFilter,omitempty" tf:"sql_filter,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionName *string `json:"subscriptionName" tf:"subscription_name,omitempty"` + + // +kubebuilder:validation:Required + TopicName *string `json:"topicName" tf:"topic_name,omitempty"` +} + +// SubscriptionRuleSpec defines the desired state of SubscriptionRule +type SubscriptionRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SubscriptionRuleParameters `json:"forProvider"` +} + +// SubscriptionRuleStatus defines the observed state of SubscriptionRule. +type SubscriptionRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SubscriptionRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SubscriptionRule is the Schema for the SubscriptionRules API +// +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,azurejet} +type SubscriptionRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SubscriptionRuleSpec `json:"spec"` + Status SubscriptionRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SubscriptionRuleList contains a list of SubscriptionRules +type SubscriptionRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SubscriptionRule `json:"items"` +} + +// Repository type metadata. +var ( + SubscriptionRule_Kind = "SubscriptionRule" + SubscriptionRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SubscriptionRule_Kind}.String() + SubscriptionRule_KindAPIVersion = SubscriptionRule_Kind + "." + CRDGroupVersion.String() + SubscriptionRule_GroupVersionKind = CRDGroupVersion.WithKind(SubscriptionRule_Kind) +) + +func init() { + SchemeBuilder.Register(&SubscriptionRule{}, &SubscriptionRuleList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_topic_terraformed.go b/apis/servicebus/v1alpha1/zz_topic_terraformed.go new file mode 100755 index 000000000..bb9cee160 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_topic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Topic +func (mg *Topic) GetTerraformResourceType() string { + return "azurerm_servicebus_topic" +} + +// GetConnectionDetailsMapping for this Topic +func (tr *Topic) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Topic +func (tr *Topic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Topic +func (tr *Topic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Topic +func (tr *Topic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Topic +func (tr *Topic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Topic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Topic) LateInitialize(attrs []byte) (bool, error) { + params := &TopicParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Topic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_topic_types.go b/apis/servicebus/v1alpha1/zz_topic_types.go new file mode 100755 index 000000000..d2bc09037 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_topic_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TopicObservation struct { +} + +type TopicParameters struct { + + // +kubebuilder:validation:Optional + AutoDeleteOnIdle *string `json:"autoDeleteOnIdle,omitempty" tf:"auto_delete_on_idle,omitempty"` + + // +kubebuilder:validation:Optional + DefaultMessageTTL *string `json:"defaultMessageTtl,omitempty" tf:"default_message_ttl,omitempty"` + + // +kubebuilder:validation:Optional + DuplicateDetectionHistoryTimeWindow *string `json:"duplicateDetectionHistoryTimeWindow,omitempty" tf:"duplicate_detection_history_time_window,omitempty"` + + // +kubebuilder:validation:Optional + EnableBatchedOperations *bool `json:"enableBatchedOperations,omitempty" tf:"enable_batched_operations,omitempty"` + + // +kubebuilder:validation:Optional + EnableExpress *bool `json:"enableExpress,omitempty" tf:"enable_express,omitempty"` + + // +kubebuilder:validation:Optional + EnablePartitioning *bool `json:"enablePartitioning,omitempty" tf:"enable_partitioning,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeInMegabytes *int64 `json:"maxSizeInMegabytes,omitempty" tf:"max_size_in_megabytes,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Optional + RequiresDuplicateDetection *bool `json:"requiresDuplicateDetection,omitempty" tf:"requires_duplicate_detection,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Status *string `json:"status,omitempty" tf:"status,omitempty"` + + // +kubebuilder:validation:Optional + SupportOrdering *bool `json:"supportOrdering,omitempty" tf:"support_ordering,omitempty"` +} + +// TopicSpec defines the desired state of Topic +type TopicSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TopicParameters `json:"forProvider"` +} + +// TopicStatus defines the observed state of Topic. +type TopicStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TopicObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Topic is the Schema for the Topics API +// +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,azurejet} +type Topic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TopicSpec `json:"spec"` + Status TopicStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TopicList contains a list of Topics +type TopicList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Topic `json:"items"` +} + +// Repository type metadata. +var ( + Topic_Kind = "Topic" + Topic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Topic_Kind}.String() + Topic_KindAPIVersion = Topic_Kind + "." + CRDGroupVersion.String() + Topic_GroupVersionKind = CRDGroupVersion.WithKind(Topic_Kind) +) + +func init() { + SchemeBuilder.Register(&Topic{}, &TopicList{}) +} diff --git a/apis/servicebus/v1alpha1/zz_topicauthorizationrule_terraformed.go b/apis/servicebus/v1alpha1/zz_topicauthorizationrule_terraformed.go new file mode 100755 index 000000000..bf509ee00 --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_topicauthorizationrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TopicAuthorizationRule +func (mg *TopicAuthorizationRule) GetTerraformResourceType() string { + return "azurerm_servicebus_topic_authorization_rule" +} + +// GetConnectionDetailsMapping for this TopicAuthorizationRule +func (tr *TopicAuthorizationRule) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_connection_string": "status.atProvider.primaryConnectionString", "primary_connection_string_alias": "status.atProvider.primaryConnectionStringAlias", "primary_key": "status.atProvider.primaryKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString", "secondary_connection_string_alias": "status.atProvider.secondaryConnectionStringAlias", "secondary_key": "status.atProvider.secondaryKey"} +} + +// GetObservation of this TopicAuthorizationRule +func (tr *TopicAuthorizationRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TopicAuthorizationRule +func (tr *TopicAuthorizationRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TopicAuthorizationRule +func (tr *TopicAuthorizationRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TopicAuthorizationRule +func (tr *TopicAuthorizationRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TopicAuthorizationRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TopicAuthorizationRule) LateInitialize(attrs []byte) (bool, error) { + params := &TopicAuthorizationRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TopicAuthorizationRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/servicebus/v1alpha1/zz_topicauthorizationrule_types.go b/apis/servicebus/v1alpha1/zz_topicauthorizationrule_types.go new file mode 100755 index 000000000..bf25617cc --- /dev/null +++ b/apis/servicebus/v1alpha1/zz_topicauthorizationrule_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TopicAuthorizationRuleObservation struct { +} + +type TopicAuthorizationRuleParameters struct { + + // +kubebuilder:validation:Optional + Listen *bool `json:"listen,omitempty" tf:"listen,omitempty"` + + // +kubebuilder:validation:Optional + Manage *bool `json:"manage,omitempty" tf:"manage,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NamespaceName *string `json:"namespaceName" tf:"namespace_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Send *bool `json:"send,omitempty" tf:"send,omitempty"` + + // +kubebuilder:validation:Required + TopicName *string `json:"topicName" tf:"topic_name,omitempty"` +} + +// TopicAuthorizationRuleSpec defines the desired state of TopicAuthorizationRule +type TopicAuthorizationRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TopicAuthorizationRuleParameters `json:"forProvider"` +} + +// TopicAuthorizationRuleStatus defines the observed state of TopicAuthorizationRule. +type TopicAuthorizationRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TopicAuthorizationRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TopicAuthorizationRule is the Schema for the TopicAuthorizationRules API +// +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,azurejet} +type TopicAuthorizationRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TopicAuthorizationRuleSpec `json:"spec"` + Status TopicAuthorizationRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TopicAuthorizationRuleList contains a list of TopicAuthorizationRules +type TopicAuthorizationRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TopicAuthorizationRule `json:"items"` +} + +// Repository type metadata. +var ( + TopicAuthorizationRule_Kind = "TopicAuthorizationRule" + TopicAuthorizationRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TopicAuthorizationRule_Kind}.String() + TopicAuthorizationRule_KindAPIVersion = TopicAuthorizationRule_Kind + "." + CRDGroupVersion.String() + TopicAuthorizationRule_GroupVersionKind = CRDGroupVersion.WithKind(TopicAuthorizationRule_Kind) +) + +func init() { + SchemeBuilder.Register(&TopicAuthorizationRule{}, &TopicAuthorizationRuleList{}) +} diff --git a/apis/shared/v1alpha1/zz_generated.deepcopy.go b/apis/shared/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..613b5d432 --- /dev/null +++ b/apis/shared/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,715 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentifierObservation) DeepCopyInto(out *IdentifierObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentifierObservation. +func (in *IdentifierObservation) DeepCopy() *IdentifierObservation { + if in == nil { + return nil + } + out := new(IdentifierObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentifierParameters) DeepCopyInto(out *IdentifierParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentifierParameters. +func (in *IdentifierParameters) DeepCopy() *IdentifierParameters { + if in == nil { + return nil + } + out := new(IdentifierParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Image) DeepCopyInto(out *Image) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image. +func (in *Image) DeepCopy() *Image { + if in == nil { + return nil + } + out := new(Image) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Image) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageGallery) DeepCopyInto(out *ImageGallery) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGallery. +func (in *ImageGallery) DeepCopy() *ImageGallery { + if in == nil { + return nil + } + out := new(ImageGallery) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageGallery) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageGalleryList) DeepCopyInto(out *ImageGalleryList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ImageGallery, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGalleryList. +func (in *ImageGalleryList) DeepCopy() *ImageGalleryList { + if in == nil { + return nil + } + out := new(ImageGalleryList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageGalleryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageGalleryObservation) DeepCopyInto(out *ImageGalleryObservation) { + *out = *in + if in.UniqueName != nil { + in, out := &in.UniqueName, &out.UniqueName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGalleryObservation. +func (in *ImageGalleryObservation) DeepCopy() *ImageGalleryObservation { + if in == nil { + return nil + } + out := new(ImageGalleryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageGalleryParameters) DeepCopyInto(out *ImageGalleryParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGalleryParameters. +func (in *ImageGalleryParameters) DeepCopy() *ImageGalleryParameters { + if in == nil { + return nil + } + out := new(ImageGalleryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageGallerySpec) DeepCopyInto(out *ImageGallerySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGallerySpec. +func (in *ImageGallerySpec) DeepCopy() *ImageGallerySpec { + if in == nil { + return nil + } + out := new(ImageGallerySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageGalleryStatus) DeepCopyInto(out *ImageGalleryStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageGalleryStatus. +func (in *ImageGalleryStatus) DeepCopy() *ImageGalleryStatus { + if in == nil { + return nil + } + out := new(ImageGalleryStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageList) DeepCopyInto(out *ImageList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Image, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList. +func (in *ImageList) DeepCopy() *ImageList { + if in == nil { + return nil + } + out := new(ImageList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageObservation. +func (in *ImageObservation) DeepCopy() *ImageObservation { + if in == nil { + return nil + } + out := new(ImageObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Eula != nil { + in, out := &in.Eula, &out.Eula + *out = new(string) + **out = **in + } + if in.GalleryName != nil { + in, out := &in.GalleryName, &out.GalleryName + *out = new(string) + **out = **in + } + if in.HyperVGeneration != nil { + in, out := &in.HyperVGeneration, &out.HyperVGeneration + *out = new(string) + **out = **in + } + if in.Identifier != nil { + in, out := &in.Identifier, &out.Identifier + *out = make([]IdentifierParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OsType != nil { + in, out := &in.OsType, &out.OsType + *out = new(string) + **out = **in + } + if in.PrivacyStatementURI != nil { + in, out := &in.PrivacyStatementURI, &out.PrivacyStatementURI + *out = new(string) + **out = **in + } + if in.PurchasePlan != nil { + in, out := &in.PurchasePlan, &out.PurchasePlan + *out = make([]PurchasePlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ReleaseNoteURI != nil { + in, out := &in.ReleaseNoteURI, &out.ReleaseNoteURI + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Specialized != nil { + in, out := &in.Specialized, &out.Specialized + *out = new(bool) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParameters. +func (in *ImageParameters) DeepCopy() *ImageParameters { + if in == nil { + return nil + } + out := new(ImageParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageSpec) DeepCopyInto(out *ImageSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec. +func (in *ImageSpec) DeepCopy() *ImageSpec { + if in == nil { + return nil + } + out := new(ImageSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageStatus) DeepCopyInto(out *ImageStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus. +func (in *ImageStatus) DeepCopy() *ImageStatus { + if in == nil { + return nil + } + out := new(ImageStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersion) DeepCopyInto(out *ImageVersion) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersion. +func (in *ImageVersion) DeepCopy() *ImageVersion { + if in == nil { + return nil + } + out := new(ImageVersion) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageVersion) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersionList) DeepCopyInto(out *ImageVersionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ImageVersion, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionList. +func (in *ImageVersionList) DeepCopy() *ImageVersionList { + if in == nil { + return nil + } + out := new(ImageVersionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ImageVersionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersionObservation) DeepCopyInto(out *ImageVersionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionObservation. +func (in *ImageVersionObservation) DeepCopy() *ImageVersionObservation { + if in == nil { + return nil + } + out := new(ImageVersionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersionParameters) DeepCopyInto(out *ImageVersionParameters) { + *out = *in + if in.ExcludeFromLatest != nil { + in, out := &in.ExcludeFromLatest, &out.ExcludeFromLatest + *out = new(bool) + **out = **in + } + if in.GalleryName != nil { + in, out := &in.GalleryName, &out.GalleryName + *out = new(string) + **out = **in + } + if in.ImageName != nil { + in, out := &in.ImageName, &out.ImageName + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagedImageID != nil { + in, out := &in.ManagedImageID, &out.ManagedImageID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OsDiskSnapshotID != nil { + in, out := &in.OsDiskSnapshotID, &out.OsDiskSnapshotID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TargetRegion != nil { + in, out := &in.TargetRegion, &out.TargetRegion + *out = make([]TargetRegionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionParameters. +func (in *ImageVersionParameters) DeepCopy() *ImageVersionParameters { + if in == nil { + return nil + } + out := new(ImageVersionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersionSpec) DeepCopyInto(out *ImageVersionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionSpec. +func (in *ImageVersionSpec) DeepCopy() *ImageVersionSpec { + if in == nil { + return nil + } + out := new(ImageVersionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImageVersionStatus) DeepCopyInto(out *ImageVersionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageVersionStatus. +func (in *ImageVersionStatus) DeepCopy() *ImageVersionStatus { + if in == nil { + return nil + } + out := new(ImageVersionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PurchasePlanObservation) DeepCopyInto(out *PurchasePlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PurchasePlanObservation. +func (in *PurchasePlanObservation) DeepCopy() *PurchasePlanObservation { + if in == nil { + return nil + } + out := new(PurchasePlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PurchasePlanParameters) DeepCopyInto(out *PurchasePlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PurchasePlanParameters. +func (in *PurchasePlanParameters) DeepCopy() *PurchasePlanParameters { + if in == nil { + return nil + } + out := new(PurchasePlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TargetRegionObservation) DeepCopyInto(out *TargetRegionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetRegionObservation. +func (in *TargetRegionObservation) DeepCopy() *TargetRegionObservation { + if in == nil { + return nil + } + out := new(TargetRegionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TargetRegionParameters) DeepCopyInto(out *TargetRegionParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RegionalReplicaCount != nil { + in, out := &in.RegionalReplicaCount, &out.RegionalReplicaCount + *out = new(int64) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetRegionParameters. +func (in *TargetRegionParameters) DeepCopy() *TargetRegionParameters { + if in == nil { + return nil + } + out := new(TargetRegionParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/shared/v1alpha1/zz_generated.managed.go b/apis/shared/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..26e066ce1 --- /dev/null +++ b/apis/shared/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Image. +func (mg *Image) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Image. +func (mg *Image) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Image. +func (mg *Image) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Image. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Image) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Image. +func (mg *Image) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Image. +func (mg *Image) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Image. +func (mg *Image) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Image. +func (mg *Image) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Image. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Image) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Image. +func (mg *Image) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ImageGallery. +func (mg *ImageGallery) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ImageGallery. +func (mg *ImageGallery) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ImageGallery. +func (mg *ImageGallery) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ImageGallery. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ImageGallery) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ImageGallery. +func (mg *ImageGallery) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ImageGallery. +func (mg *ImageGallery) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ImageGallery. +func (mg *ImageGallery) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ImageGallery. +func (mg *ImageGallery) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ImageGallery. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ImageGallery) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ImageGallery. +func (mg *ImageGallery) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ImageVersion. +func (mg *ImageVersion) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ImageVersion. +func (mg *ImageVersion) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ImageVersion. +func (mg *ImageVersion) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ImageVersion. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ImageVersion) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ImageVersion. +func (mg *ImageVersion) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ImageVersion. +func (mg *ImageVersion) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ImageVersion. +func (mg *ImageVersion) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ImageVersion. +func (mg *ImageVersion) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ImageVersion. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ImageVersion) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ImageVersion. +func (mg *ImageVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/shared/v1alpha1/zz_generated.managedlist.go b/apis/shared/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..fba76c10b --- /dev/null +++ b/apis/shared/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ImageGalleryList. +func (l *ImageGalleryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ImageList. +func (l *ImageList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ImageVersionList. +func (l *ImageVersionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/shared/v1alpha1/zz_groupversion_info.go b/apis/shared/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..8ff63a167 --- /dev/null +++ b/apis/shared/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=shared.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "shared.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/shared/v1alpha1/zz_image_terraformed.go b/apis/shared/v1alpha1/zz_image_terraformed.go new file mode 100755 index 000000000..7e0f3c996 --- /dev/null +++ b/apis/shared/v1alpha1/zz_image_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Image +func (mg *Image) GetTerraformResourceType() string { + return "azurerm_shared_image" +} + +// GetConnectionDetailsMapping for this Image +func (tr *Image) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Image +func (tr *Image) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Image +func (tr *Image) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Image +func (tr *Image) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Image +func (tr *Image) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Image using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Image) LateInitialize(attrs []byte) (bool, error) { + params := &ImageParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Image) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/shared/v1alpha1/zz_image_types.go b/apis/shared/v1alpha1/zz_image_types.go new file mode 100755 index 000000000..95c2fd5bc --- /dev/null +++ b/apis/shared/v1alpha1/zz_image_types.go @@ -0,0 +1,153 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentifierObservation struct { +} + +type IdentifierParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` +} + +type ImageObservation struct { +} + +type ImageParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + Eula *string `json:"eula,omitempty" tf:"eula,omitempty"` + + // +kubebuilder:validation:Required + GalleryName *string `json:"galleryName" tf:"gallery_name,omitempty"` + + // +kubebuilder:validation:Optional + HyperVGeneration *string `json:"hyperVGeneration,omitempty" tf:"hyper_v_generation,omitempty"` + + // +kubebuilder:validation:Required + Identifier []IdentifierParameters `json:"identifier" tf:"identifier,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + OsType *string `json:"osType" tf:"os_type,omitempty"` + + // +kubebuilder:validation:Optional + PrivacyStatementURI *string `json:"privacyStatementUri,omitempty" tf:"privacy_statement_uri,omitempty"` + + // +kubebuilder:validation:Optional + PurchasePlan []PurchasePlanParameters `json:"purchasePlan,omitempty" tf:"purchase_plan,omitempty"` + + // +kubebuilder:validation:Optional + ReleaseNoteURI *string `json:"releaseNoteUri,omitempty" tf:"release_note_uri,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Specialized *bool `json:"specialized,omitempty" tf:"specialized,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type PurchasePlanObservation struct { +} + +type PurchasePlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Product *string `json:"product,omitempty" tf:"product,omitempty"` + + // +kubebuilder:validation:Optional + Publisher *string `json:"publisher,omitempty" tf:"publisher,omitempty"` +} + +// ImageSpec defines the desired state of Image +type ImageSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ImageParameters `json:"forProvider"` +} + +// ImageStatus defines the observed state of Image. +type ImageStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ImageObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Image is the Schema for the Images API +// +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,azurejet} +type Image struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ImageSpec `json:"spec"` + Status ImageStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ImageList contains a list of Images +type ImageList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Image `json:"items"` +} + +// Repository type metadata. +var ( + Image_Kind = "Image" + Image_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Image_Kind}.String() + Image_KindAPIVersion = Image_Kind + "." + CRDGroupVersion.String() + Image_GroupVersionKind = CRDGroupVersion.WithKind(Image_Kind) +) + +func init() { + SchemeBuilder.Register(&Image{}, &ImageList{}) +} diff --git a/apis/shared/v1alpha1/zz_imagegallery_terraformed.go b/apis/shared/v1alpha1/zz_imagegallery_terraformed.go new file mode 100755 index 000000000..0683d620c --- /dev/null +++ b/apis/shared/v1alpha1/zz_imagegallery_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ImageGallery +func (mg *ImageGallery) GetTerraformResourceType() string { + return "azurerm_shared_image_gallery" +} + +// GetConnectionDetailsMapping for this ImageGallery +func (tr *ImageGallery) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ImageGallery +func (tr *ImageGallery) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ImageGallery +func (tr *ImageGallery) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ImageGallery +func (tr *ImageGallery) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ImageGallery +func (tr *ImageGallery) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ImageGallery using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ImageGallery) LateInitialize(attrs []byte) (bool, error) { + params := &ImageGalleryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ImageGallery) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/shared/v1alpha1/zz_imagegallery_types.go b/apis/shared/v1alpha1/zz_imagegallery_types.go new file mode 100755 index 000000000..dd5391a75 --- /dev/null +++ b/apis/shared/v1alpha1/zz_imagegallery_types.go @@ -0,0 +1,97 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ImageGalleryObservation struct { + UniqueName *string `json:"uniqueName,omitempty" tf:"unique_name,omitempty"` +} + +type ImageGalleryParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ImageGallerySpec defines the desired state of ImageGallery +type ImageGallerySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ImageGalleryParameters `json:"forProvider"` +} + +// ImageGalleryStatus defines the observed state of ImageGallery. +type ImageGalleryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ImageGalleryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ImageGallery is the Schema for the ImageGallerys API +// +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,azurejet} +type ImageGallery struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ImageGallerySpec `json:"spec"` + Status ImageGalleryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ImageGalleryList contains a list of ImageGallerys +type ImageGalleryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ImageGallery `json:"items"` +} + +// Repository type metadata. +var ( + ImageGallery_Kind = "ImageGallery" + ImageGallery_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ImageGallery_Kind}.String() + ImageGallery_KindAPIVersion = ImageGallery_Kind + "." + CRDGroupVersion.String() + ImageGallery_GroupVersionKind = CRDGroupVersion.WithKind(ImageGallery_Kind) +) + +func init() { + SchemeBuilder.Register(&ImageGallery{}, &ImageGalleryList{}) +} diff --git a/apis/shared/v1alpha1/zz_imageversion_terraformed.go b/apis/shared/v1alpha1/zz_imageversion_terraformed.go new file mode 100755 index 000000000..cfa4d0eab --- /dev/null +++ b/apis/shared/v1alpha1/zz_imageversion_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ImageVersion +func (mg *ImageVersion) GetTerraformResourceType() string { + return "azurerm_shared_image_version" +} + +// GetConnectionDetailsMapping for this ImageVersion +func (tr *ImageVersion) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ImageVersion +func (tr *ImageVersion) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ImageVersion +func (tr *ImageVersion) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ImageVersion +func (tr *ImageVersion) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ImageVersion +func (tr *ImageVersion) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ImageVersion using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ImageVersion) LateInitialize(attrs []byte) (bool, error) { + params := &ImageVersionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ImageVersion) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/shared/v1alpha1/zz_imageversion_types.go b/apis/shared/v1alpha1/zz_imageversion_types.go new file mode 100755 index 000000000..d076cb730 --- /dev/null +++ b/apis/shared/v1alpha1/zz_imageversion_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ImageVersionObservation struct { +} + +type ImageVersionParameters struct { + + // +kubebuilder:validation:Optional + ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty" tf:"exclude_from_latest,omitempty"` + + // +kubebuilder:validation:Required + GalleryName *string `json:"galleryName" tf:"gallery_name,omitempty"` + + // +kubebuilder:validation:Required + ImageName *string `json:"imageName" tf:"image_name,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + ManagedImageID *string `json:"managedImageId,omitempty" tf:"managed_image_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OsDiskSnapshotID *string `json:"osDiskSnapshotId,omitempty" tf:"os_disk_snapshot_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TargetRegion []TargetRegionParameters `json:"targetRegion" tf:"target_region,omitempty"` +} + +type TargetRegionObservation struct { +} + +type TargetRegionParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RegionalReplicaCount *int64 `json:"regionalReplicaCount" tf:"regional_replica_count,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountType *string `json:"storageAccountType,omitempty" tf:"storage_account_type,omitempty"` +} + +// ImageVersionSpec defines the desired state of ImageVersion +type ImageVersionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ImageVersionParameters `json:"forProvider"` +} + +// ImageVersionStatus defines the observed state of ImageVersion. +type ImageVersionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ImageVersionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ImageVersion is the Schema for the ImageVersions API +// +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,azurejet} +type ImageVersion struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ImageVersionSpec `json:"spec"` + Status ImageVersionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ImageVersionList contains a list of ImageVersions +type ImageVersionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ImageVersion `json:"items"` +} + +// Repository type metadata. +var ( + ImageVersion_Kind = "ImageVersion" + ImageVersion_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ImageVersion_Kind}.String() + ImageVersion_KindAPIVersion = ImageVersion_Kind + "." + CRDGroupVersion.String() + ImageVersion_GroupVersionKind = CRDGroupVersion.WithKind(ImageVersion_Kind) +) + +func init() { + SchemeBuilder.Register(&ImageVersion{}, &ImageVersionList{}) +} diff --git a/apis/signalr/v1alpha1/zz_generated.deepcopy.go b/apis/signalr/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..6c389fad4 --- /dev/null +++ b/apis/signalr/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,671 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsObservation) DeepCopyInto(out *CorsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsObservation. +func (in *CorsObservation) DeepCopy() *CorsObservation { + if in == nil { + return nil + } + out := new(CorsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsParameters) DeepCopyInto(out *CorsParameters) { + *out = *in + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsParameters. +func (in *CorsParameters) DeepCopy() *CorsParameters { + if in == nil { + return nil + } + out := new(CorsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FeaturesObservation) DeepCopyInto(out *FeaturesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesObservation. +func (in *FeaturesObservation) DeepCopy() *FeaturesObservation { + if in == nil { + return nil + } + out := new(FeaturesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FeaturesParameters) DeepCopyInto(out *FeaturesParameters) { + *out = *in + if in.Flag != nil { + in, out := &in.Flag, &out.Flag + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesParameters. +func (in *FeaturesParameters) DeepCopy() *FeaturesParameters { + if in == nil { + return nil + } + out := new(FeaturesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointObservation) DeepCopyInto(out *PrivateEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointObservation. +func (in *PrivateEndpointObservation) DeepCopy() *PrivateEndpointObservation { + if in == nil { + return nil + } + out := new(PrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateEndpointParameters) DeepCopyInto(out *PrivateEndpointParameters) { + *out = *in + if in.AllowedRequestTypes != nil { + in, out := &in.AllowedRequestTypes, &out.AllowedRequestTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DeniedRequestTypes != nil { + in, out := &in.DeniedRequestTypes, &out.DeniedRequestTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointParameters. +func (in *PrivateEndpointParameters) DeepCopy() *PrivateEndpointParameters { + if in == nil { + return nil + } + out := new(PrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicNetworkObservation) DeepCopyInto(out *PublicNetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicNetworkObservation. +func (in *PublicNetworkObservation) DeepCopy() *PublicNetworkObservation { + if in == nil { + return nil + } + out := new(PublicNetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicNetworkParameters) DeepCopyInto(out *PublicNetworkParameters) { + *out = *in + if in.AllowedRequestTypes != nil { + in, out := &in.AllowedRequestTypes, &out.AllowedRequestTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DeniedRequestTypes != nil { + in, out := &in.DeniedRequestTypes, &out.DeniedRequestTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicNetworkParameters. +func (in *PublicNetworkParameters) DeepCopy() *PublicNetworkParameters { + if in == nil { + return nil + } + out := new(PublicNetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Service) DeepCopyInto(out *Service) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { + return nil + } + out := new(Service) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceList) DeepCopyInto(out *ServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Service, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { + return nil + } + out := new(ServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceNetworkAcl) DeepCopyInto(out *ServiceNetworkAcl) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkAcl. +func (in *ServiceNetworkAcl) DeepCopy() *ServiceNetworkAcl { + if in == nil { + return nil + } + out := new(ServiceNetworkAcl) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceNetworkAcl) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceNetworkAclList) DeepCopyInto(out *ServiceNetworkAclList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServiceNetworkAcl, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkAclList. +func (in *ServiceNetworkAclList) DeepCopy() *ServiceNetworkAclList { + if in == nil { + return nil + } + out := new(ServiceNetworkAclList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServiceNetworkAclList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceNetworkAclObservation) DeepCopyInto(out *ServiceNetworkAclObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkAclObservation. +func (in *ServiceNetworkAclObservation) DeepCopy() *ServiceNetworkAclObservation { + if in == nil { + return nil + } + out := new(ServiceNetworkAclObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceNetworkAclParameters) DeepCopyInto(out *ServiceNetworkAclParameters) { + *out = *in + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.PrivateEndpoint != nil { + in, out := &in.PrivateEndpoint, &out.PrivateEndpoint + *out = make([]PrivateEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PublicNetwork != nil { + in, out := &in.PublicNetwork, &out.PublicNetwork + *out = make([]PublicNetworkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SignalrServiceID != nil { + in, out := &in.SignalrServiceID, &out.SignalrServiceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkAclParameters. +func (in *ServiceNetworkAclParameters) DeepCopy() *ServiceNetworkAclParameters { + if in == nil { + return nil + } + out := new(ServiceNetworkAclParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceNetworkAclSpec) DeepCopyInto(out *ServiceNetworkAclSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkAclSpec. +func (in *ServiceNetworkAclSpec) DeepCopy() *ServiceNetworkAclSpec { + if in == nil { + return nil + } + out := new(ServiceNetworkAclSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceNetworkAclStatus) DeepCopyInto(out *ServiceNetworkAclStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceNetworkAclStatus. +func (in *ServiceNetworkAclStatus) DeepCopy() *ServiceNetworkAclStatus { + if in == nil { + return nil + } + out := new(ServiceNetworkAclStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { + *out = *in + if in.Hostname != nil { + in, out := &in.Hostname, &out.Hostname + *out = new(string) + **out = **in + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.PublicPort != nil { + in, out := &in.PublicPort, &out.PublicPort + *out = new(int64) + **out = **in + } + if in.ServerPort != nil { + in, out := &in.ServerPort, &out.ServerPort + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceObservation. +func (in *ServiceObservation) DeepCopy() *ServiceObservation { + if in == nil { + return nil + } + out := new(ServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { + *out = *in + if in.Cors != nil { + in, out := &in.Cors, &out.Cors + *out = make([]CorsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Features != nil { + in, out := &in.Features, &out.Features + *out = make([]FeaturesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = make([]SkuParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.UpstreamEndpoint != nil { + in, out := &in.UpstreamEndpoint, &out.UpstreamEndpoint + *out = make([]UpstreamEndpointParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceParameters. +func (in *ServiceParameters) DeepCopy() *ServiceParameters { + if in == nil { + return nil + } + out := new(ServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { + return nil + } + out := new(ServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { + return nil + } + out := new(ServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuObservation) DeepCopyInto(out *SkuObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuObservation. +func (in *SkuObservation) DeepCopy() *SkuObservation { + if in == nil { + return nil + } + out := new(SkuObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SkuParameters) DeepCopyInto(out *SkuParameters) { + *out = *in + if in.Capacity != nil { + in, out := &in.Capacity, &out.Capacity + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SkuParameters. +func (in *SkuParameters) DeepCopy() *SkuParameters { + if in == nil { + return nil + } + out := new(SkuParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UpstreamEndpointObservation) DeepCopyInto(out *UpstreamEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamEndpointObservation. +func (in *UpstreamEndpointObservation) DeepCopy() *UpstreamEndpointObservation { + if in == nil { + return nil + } + out := new(UpstreamEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UpstreamEndpointParameters) DeepCopyInto(out *UpstreamEndpointParameters) { + *out = *in + if in.CategoryPattern != nil { + in, out := &in.CategoryPattern, &out.CategoryPattern + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EventPattern != nil { + in, out := &in.EventPattern, &out.EventPattern + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.HubPattern != nil { + in, out := &in.HubPattern, &out.HubPattern + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.URLTemplate != nil { + in, out := &in.URLTemplate, &out.URLTemplate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamEndpointParameters. +func (in *UpstreamEndpointParameters) DeepCopy() *UpstreamEndpointParameters { + if in == nil { + return nil + } + out := new(UpstreamEndpointParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/signalr/v1alpha1/zz_generated.managed.go b/apis/signalr/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..e57ecbf70 --- /dev/null +++ b/apis/signalr/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Service. +func (mg *Service) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Service. +func (mg *Service) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Service. +func (mg *Service) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Service. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Service) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Service. +func (mg *Service) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Service. +func (mg *Service) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Service. +func (mg *Service) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Service. +func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Service. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Service) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Service. +func (mg *Service) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServiceNetworkAcl. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServiceNetworkAcl) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServiceNetworkAcl. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServiceNetworkAcl) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServiceNetworkAcl. +func (mg *ServiceNetworkAcl) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/signalr/v1alpha1/zz_generated.managedlist.go b/apis/signalr/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..fc86131dd --- /dev/null +++ b/apis/signalr/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ServiceList. +func (l *ServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServiceNetworkAclList. +func (l *ServiceNetworkAclList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/signalr/v1alpha1/zz_groupversion_info.go b/apis/signalr/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..3cf98bd42 --- /dev/null +++ b/apis/signalr/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=signalr.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "signalr.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/signalr/v1alpha1/zz_service_terraformed.go b/apis/signalr/v1alpha1/zz_service_terraformed.go new file mode 100755 index 000000000..0904c4bdd --- /dev/null +++ b/apis/signalr/v1alpha1/zz_service_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Service +func (mg *Service) GetTerraformResourceType() string { + return "azurerm_signalr_service" +} + +// GetConnectionDetailsMapping for this Service +func (tr *Service) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"primary_access_key": "status.atProvider.primaryAccessKey", "primary_connection_string": "status.atProvider.primaryConnectionString", "secondary_access_key": "status.atProvider.secondaryAccessKey", "secondary_connection_string": "status.atProvider.secondaryConnectionString"} +} + +// GetObservation of this Service +func (tr *Service) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Service +func (tr *Service) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Service +func (tr *Service) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Service +func (tr *Service) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Service using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Service) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Service) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/signalr/v1alpha1/zz_service_types.go b/apis/signalr/v1alpha1/zz_service_types.go new file mode 100755 index 000000000..ceb95ae9c --- /dev/null +++ b/apis/signalr/v1alpha1/zz_service_types.go @@ -0,0 +1,163 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CorsObservation struct { +} + +type CorsParameters struct { + + // +kubebuilder:validation:Required + AllowedOrigins []*string `json:"allowedOrigins" tf:"allowed_origins,omitempty"` +} + +type FeaturesObservation struct { +} + +type FeaturesParameters struct { + + // +kubebuilder:validation:Required + Flag *string `json:"flag" tf:"flag,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ServiceObservation struct { + Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` + + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + PublicPort *int64 `json:"publicPort,omitempty" tf:"public_port,omitempty"` + + ServerPort *int64 `json:"serverPort,omitempty" tf:"server_port,omitempty"` +} + +type ServiceParameters struct { + + // +kubebuilder:validation:Optional + Cors []CorsParameters `json:"cors,omitempty" tf:"cors,omitempty"` + + // +kubebuilder:validation:Optional + Features []FeaturesParameters `json:"features,omitempty" tf:"features,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Sku []SkuParameters `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + UpstreamEndpoint []UpstreamEndpointParameters `json:"upstreamEndpoint,omitempty" tf:"upstream_endpoint,omitempty"` +} + +type SkuObservation struct { +} + +type SkuParameters struct { + + // +kubebuilder:validation:Required + Capacity *int64 `json:"capacity" tf:"capacity,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type UpstreamEndpointObservation struct { +} + +type UpstreamEndpointParameters struct { + + // +kubebuilder:validation:Required + CategoryPattern []*string `json:"categoryPattern" tf:"category_pattern,omitempty"` + + // +kubebuilder:validation:Required + EventPattern []*string `json:"eventPattern" tf:"event_pattern,omitempty"` + + // +kubebuilder:validation:Required + HubPattern []*string `json:"hubPattern" tf:"hub_pattern,omitempty"` + + // +kubebuilder:validation:Required + URLTemplate *string `json:"urlTemplate" tf:"url_template,omitempty"` +} + +// ServiceSpec defines the desired state of Service +type ServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceParameters `json:"forProvider"` +} + +// ServiceStatus defines the observed state of Service. +type ServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Service is the Schema for the Services API +// +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,azurejet} +type Service struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceSpec `json:"spec"` + Status ServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceList contains a list of Services +type ServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Service `json:"items"` +} + +// Repository type metadata. +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) +) + +func init() { + SchemeBuilder.Register(&Service{}, &ServiceList{}) +} diff --git a/apis/signalr/v1alpha1/zz_servicenetworkacl_terraformed.go b/apis/signalr/v1alpha1/zz_servicenetworkacl_terraformed.go new file mode 100755 index 000000000..4d096d947 --- /dev/null +++ b/apis/signalr/v1alpha1/zz_servicenetworkacl_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServiceNetworkAcl +func (mg *ServiceNetworkAcl) GetTerraformResourceType() string { + return "azurerm_signalr_service_network_acl" +} + +// GetConnectionDetailsMapping for this ServiceNetworkAcl +func (tr *ServiceNetworkAcl) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ServiceNetworkAcl +func (tr *ServiceNetworkAcl) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServiceNetworkAcl +func (tr *ServiceNetworkAcl) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServiceNetworkAcl +func (tr *ServiceNetworkAcl) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServiceNetworkAcl +func (tr *ServiceNetworkAcl) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServiceNetworkAcl using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServiceNetworkAcl) LateInitialize(attrs []byte) (bool, error) { + params := &ServiceNetworkAclParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServiceNetworkAcl) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/signalr/v1alpha1/zz_servicenetworkacl_types.go b/apis/signalr/v1alpha1/zz_servicenetworkacl_types.go new file mode 100755 index 000000000..60ed01a20 --- /dev/null +++ b/apis/signalr/v1alpha1/zz_servicenetworkacl_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PrivateEndpointObservation struct { +} + +type PrivateEndpointParameters struct { + + // +kubebuilder:validation:Optional + AllowedRequestTypes []*string `json:"allowedRequestTypes,omitempty" tf:"allowed_request_types,omitempty"` + + // +kubebuilder:validation:Optional + DeniedRequestTypes []*string `json:"deniedRequestTypes,omitempty" tf:"denied_request_types,omitempty"` + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` +} + +type PublicNetworkObservation struct { +} + +type PublicNetworkParameters struct { + + // +kubebuilder:validation:Optional + AllowedRequestTypes []*string `json:"allowedRequestTypes,omitempty" tf:"allowed_request_types,omitempty"` + + // +kubebuilder:validation:Optional + DeniedRequestTypes []*string `json:"deniedRequestTypes,omitempty" tf:"denied_request_types,omitempty"` +} + +type ServiceNetworkAclObservation struct { +} + +type ServiceNetworkAclParameters struct { + + // +kubebuilder:validation:Required + DefaultAction *string `json:"defaultAction" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + PrivateEndpoint []PrivateEndpointParameters `json:"privateEndpoint,omitempty" tf:"private_endpoint,omitempty"` + + // +kubebuilder:validation:Required + PublicNetwork []PublicNetworkParameters `json:"publicNetwork" tf:"public_network,omitempty"` + + // +kubebuilder:validation:Required + SignalrServiceID *string `json:"signalrServiceId" tf:"signalr_service_id,omitempty"` +} + +// ServiceNetworkAclSpec defines the desired state of ServiceNetworkAcl +type ServiceNetworkAclSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServiceNetworkAclParameters `json:"forProvider"` +} + +// ServiceNetworkAclStatus defines the observed state of ServiceNetworkAcl. +type ServiceNetworkAclStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServiceNetworkAclObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceNetworkAcl is the Schema for the ServiceNetworkAcls API +// +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,azurejet} +type ServiceNetworkAcl struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServiceNetworkAclSpec `json:"spec"` + Status ServiceNetworkAclStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServiceNetworkAclList contains a list of ServiceNetworkAcls +type ServiceNetworkAclList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServiceNetworkAcl `json:"items"` +} + +// Repository type metadata. +var ( + ServiceNetworkAcl_Kind = "ServiceNetworkAcl" + ServiceNetworkAcl_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceNetworkAcl_Kind}.String() + ServiceNetworkAcl_KindAPIVersion = ServiceNetworkAcl_Kind + "." + CRDGroupVersion.String() + ServiceNetworkAcl_GroupVersionKind = CRDGroupVersion.WithKind(ServiceNetworkAcl_Kind) +) + +func init() { + SchemeBuilder.Register(&ServiceNetworkAcl{}, &ServiceNetworkAclList{}) +} diff --git a/apis/site/v1alpha1/zz_generated.deepcopy.go b/apis/site/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..65deb1207 --- /dev/null +++ b/apis/site/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1082 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDiskObservation) DeepCopyInto(out *ManagedDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDiskObservation. +func (in *ManagedDiskObservation) DeepCopy() *ManagedDiskObservation { + if in == nil { + return nil + } + out := new(ManagedDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDiskParameters) DeepCopyInto(out *ManagedDiskParameters) { + *out = *in + if in.DiskID != nil { + in, out := &in.DiskID, &out.DiskID + *out = new(string) + **out = **in + } + if in.StagingStorageAccountID != nil { + in, out := &in.StagingStorageAccountID, &out.StagingStorageAccountID + *out = new(string) + **out = **in + } + if in.TargetDiskEncryptionSetID != nil { + in, out := &in.TargetDiskEncryptionSetID, &out.TargetDiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.TargetDiskType != nil { + in, out := &in.TargetDiskType, &out.TargetDiskType + *out = new(string) + **out = **in + } + if in.TargetReplicaDiskType != nil { + in, out := &in.TargetReplicaDiskType, &out.TargetReplicaDiskType + *out = new(string) + **out = **in + } + if in.TargetResourceGroupID != nil { + in, out := &in.TargetResourceGroupID, &out.TargetResourceGroupID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDiskParameters. +func (in *ManagedDiskParameters) DeepCopy() *ManagedDiskParameters { + if in == nil { + return nil + } + out := new(ManagedDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. +func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { + if in == nil { + return nil + } + out := new(NetworkInterfaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { + *out = *in + if in.RecoveryPublicIPAddressID != nil { + in, out := &in.RecoveryPublicIPAddressID, &out.RecoveryPublicIPAddressID + *out = new(string) + **out = **in + } + if in.SourceNetworkInterfaceID != nil { + in, out := &in.SourceNetworkInterfaceID, &out.SourceNetworkInterfaceID + *out = new(string) + **out = **in + } + if in.TargetStaticIP != nil { + in, out := &in.TargetStaticIP, &out.TargetStaticIP + *out = new(string) + **out = **in + } + if in.TargetSubnetName != nil { + in, out := &in.TargetSubnetName, &out.TargetSubnetName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. +func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { + if in == nil { + return nil + } + out := new(NetworkInterfaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryFabric) DeepCopyInto(out *RecoveryFabric) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryFabric. +func (in *RecoveryFabric) DeepCopy() *RecoveryFabric { + if in == nil { + return nil + } + out := new(RecoveryFabric) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryFabric) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryFabricList) DeepCopyInto(out *RecoveryFabricList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RecoveryFabric, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryFabricList. +func (in *RecoveryFabricList) DeepCopy() *RecoveryFabricList { + if in == nil { + return nil + } + out := new(RecoveryFabricList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryFabricList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryFabricObservation) DeepCopyInto(out *RecoveryFabricObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryFabricObservation. +func (in *RecoveryFabricObservation) DeepCopy() *RecoveryFabricObservation { + if in == nil { + return nil + } + out := new(RecoveryFabricObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryFabricParameters) DeepCopyInto(out *RecoveryFabricParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryFabricParameters. +func (in *RecoveryFabricParameters) DeepCopy() *RecoveryFabricParameters { + if in == nil { + return nil + } + out := new(RecoveryFabricParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryFabricSpec) DeepCopyInto(out *RecoveryFabricSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryFabricSpec. +func (in *RecoveryFabricSpec) DeepCopy() *RecoveryFabricSpec { + if in == nil { + return nil + } + out := new(RecoveryFabricSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryFabricStatus) DeepCopyInto(out *RecoveryFabricStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryFabricStatus. +func (in *RecoveryFabricStatus) DeepCopy() *RecoveryFabricStatus { + if in == nil { + return nil + } + out := new(RecoveryFabricStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryNetworkMapping) DeepCopyInto(out *RecoveryNetworkMapping) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryNetworkMapping. +func (in *RecoveryNetworkMapping) DeepCopy() *RecoveryNetworkMapping { + if in == nil { + return nil + } + out := new(RecoveryNetworkMapping) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryNetworkMapping) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryNetworkMappingList) DeepCopyInto(out *RecoveryNetworkMappingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RecoveryNetworkMapping, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryNetworkMappingList. +func (in *RecoveryNetworkMappingList) DeepCopy() *RecoveryNetworkMappingList { + if in == nil { + return nil + } + out := new(RecoveryNetworkMappingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryNetworkMappingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryNetworkMappingObservation) DeepCopyInto(out *RecoveryNetworkMappingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryNetworkMappingObservation. +func (in *RecoveryNetworkMappingObservation) DeepCopy() *RecoveryNetworkMappingObservation { + if in == nil { + return nil + } + out := new(RecoveryNetworkMappingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryNetworkMappingParameters) DeepCopyInto(out *RecoveryNetworkMappingParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceNetworkID != nil { + in, out := &in.SourceNetworkID, &out.SourceNetworkID + *out = new(string) + **out = **in + } + if in.SourceRecoveryFabricName != nil { + in, out := &in.SourceRecoveryFabricName, &out.SourceRecoveryFabricName + *out = new(string) + **out = **in + } + if in.TargetNetworkID != nil { + in, out := &in.TargetNetworkID, &out.TargetNetworkID + *out = new(string) + **out = **in + } + if in.TargetRecoveryFabricName != nil { + in, out := &in.TargetRecoveryFabricName, &out.TargetRecoveryFabricName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryNetworkMappingParameters. +func (in *RecoveryNetworkMappingParameters) DeepCopy() *RecoveryNetworkMappingParameters { + if in == nil { + return nil + } + out := new(RecoveryNetworkMappingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryNetworkMappingSpec) DeepCopyInto(out *RecoveryNetworkMappingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryNetworkMappingSpec. +func (in *RecoveryNetworkMappingSpec) DeepCopy() *RecoveryNetworkMappingSpec { + if in == nil { + return nil + } + out := new(RecoveryNetworkMappingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryNetworkMappingStatus) DeepCopyInto(out *RecoveryNetworkMappingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryNetworkMappingStatus. +func (in *RecoveryNetworkMappingStatus) DeepCopy() *RecoveryNetworkMappingStatus { + if in == nil { + return nil + } + out := new(RecoveryNetworkMappingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainer) DeepCopyInto(out *RecoveryProtectionContainer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainer. +func (in *RecoveryProtectionContainer) DeepCopy() *RecoveryProtectionContainer { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryProtectionContainer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerList) DeepCopyInto(out *RecoveryProtectionContainerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RecoveryProtectionContainer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerList. +func (in *RecoveryProtectionContainerList) DeepCopy() *RecoveryProtectionContainerList { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryProtectionContainerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerMapping) DeepCopyInto(out *RecoveryProtectionContainerMapping) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerMapping. +func (in *RecoveryProtectionContainerMapping) DeepCopy() *RecoveryProtectionContainerMapping { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerMapping) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryProtectionContainerMapping) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerMappingList) DeepCopyInto(out *RecoveryProtectionContainerMappingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RecoveryProtectionContainerMapping, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerMappingList. +func (in *RecoveryProtectionContainerMappingList) DeepCopy() *RecoveryProtectionContainerMappingList { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerMappingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryProtectionContainerMappingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerMappingObservation) DeepCopyInto(out *RecoveryProtectionContainerMappingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerMappingObservation. +func (in *RecoveryProtectionContainerMappingObservation) DeepCopy() *RecoveryProtectionContainerMappingObservation { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerMappingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerMappingParameters) DeepCopyInto(out *RecoveryProtectionContainerMappingParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryFabricName != nil { + in, out := &in.RecoveryFabricName, &out.RecoveryFabricName + *out = new(string) + **out = **in + } + if in.RecoveryReplicationPolicyID != nil { + in, out := &in.RecoveryReplicationPolicyID, &out.RecoveryReplicationPolicyID + *out = new(string) + **out = **in + } + if in.RecoverySourceProtectionContainerName != nil { + in, out := &in.RecoverySourceProtectionContainerName, &out.RecoverySourceProtectionContainerName + *out = new(string) + **out = **in + } + if in.RecoveryTargetProtectionContainerID != nil { + in, out := &in.RecoveryTargetProtectionContainerID, &out.RecoveryTargetProtectionContainerID + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerMappingParameters. +func (in *RecoveryProtectionContainerMappingParameters) DeepCopy() *RecoveryProtectionContainerMappingParameters { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerMappingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerMappingSpec) DeepCopyInto(out *RecoveryProtectionContainerMappingSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerMappingSpec. +func (in *RecoveryProtectionContainerMappingSpec) DeepCopy() *RecoveryProtectionContainerMappingSpec { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerMappingSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerMappingStatus) DeepCopyInto(out *RecoveryProtectionContainerMappingStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerMappingStatus. +func (in *RecoveryProtectionContainerMappingStatus) DeepCopy() *RecoveryProtectionContainerMappingStatus { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerMappingStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerObservation) DeepCopyInto(out *RecoveryProtectionContainerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerObservation. +func (in *RecoveryProtectionContainerObservation) DeepCopy() *RecoveryProtectionContainerObservation { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerParameters) DeepCopyInto(out *RecoveryProtectionContainerParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryFabricName != nil { + in, out := &in.RecoveryFabricName, &out.RecoveryFabricName + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerParameters. +func (in *RecoveryProtectionContainerParameters) DeepCopy() *RecoveryProtectionContainerParameters { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerSpec) DeepCopyInto(out *RecoveryProtectionContainerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerSpec. +func (in *RecoveryProtectionContainerSpec) DeepCopy() *RecoveryProtectionContainerSpec { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryProtectionContainerStatus) DeepCopyInto(out *RecoveryProtectionContainerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryProtectionContainerStatus. +func (in *RecoveryProtectionContainerStatus) DeepCopy() *RecoveryProtectionContainerStatus { + if in == nil { + return nil + } + out := new(RecoveryProtectionContainerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicatedVm) DeepCopyInto(out *RecoveryReplicatedVm) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicatedVm. +func (in *RecoveryReplicatedVm) DeepCopy() *RecoveryReplicatedVm { + if in == nil { + return nil + } + out := new(RecoveryReplicatedVm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryReplicatedVm) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicatedVmList) DeepCopyInto(out *RecoveryReplicatedVmList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RecoveryReplicatedVm, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicatedVmList. +func (in *RecoveryReplicatedVmList) DeepCopy() *RecoveryReplicatedVmList { + if in == nil { + return nil + } + out := new(RecoveryReplicatedVmList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryReplicatedVmList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicatedVmObservation) DeepCopyInto(out *RecoveryReplicatedVmObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicatedVmObservation. +func (in *RecoveryReplicatedVmObservation) DeepCopy() *RecoveryReplicatedVmObservation { + if in == nil { + return nil + } + out := new(RecoveryReplicatedVmObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicatedVmParameters) DeepCopyInto(out *RecoveryReplicatedVmParameters) { + *out = *in + if in.ManagedDisk != nil { + in, out := &in.ManagedDisk, &out.ManagedDisk + *out = make([]ManagedDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = make([]NetworkInterfaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RecoveryReplicationPolicyID != nil { + in, out := &in.RecoveryReplicationPolicyID, &out.RecoveryReplicationPolicyID + *out = new(string) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SourceRecoveryFabricName != nil { + in, out := &in.SourceRecoveryFabricName, &out.SourceRecoveryFabricName + *out = new(string) + **out = **in + } + if in.SourceRecoveryProtectionContainerName != nil { + in, out := &in.SourceRecoveryProtectionContainerName, &out.SourceRecoveryProtectionContainerName + *out = new(string) + **out = **in + } + if in.SourceVMID != nil { + in, out := &in.SourceVMID, &out.SourceVMID + *out = new(string) + **out = **in + } + if in.TargetAvailabilitySetID != nil { + in, out := &in.TargetAvailabilitySetID, &out.TargetAvailabilitySetID + *out = new(string) + **out = **in + } + if in.TargetNetworkID != nil { + in, out := &in.TargetNetworkID, &out.TargetNetworkID + *out = new(string) + **out = **in + } + if in.TargetRecoveryFabricID != nil { + in, out := &in.TargetRecoveryFabricID, &out.TargetRecoveryFabricID + *out = new(string) + **out = **in + } + if in.TargetRecoveryProtectionContainerID != nil { + in, out := &in.TargetRecoveryProtectionContainerID, &out.TargetRecoveryProtectionContainerID + *out = new(string) + **out = **in + } + if in.TargetResourceGroupID != nil { + in, out := &in.TargetResourceGroupID, &out.TargetResourceGroupID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicatedVmParameters. +func (in *RecoveryReplicatedVmParameters) DeepCopy() *RecoveryReplicatedVmParameters { + if in == nil { + return nil + } + out := new(RecoveryReplicatedVmParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicatedVmSpec) DeepCopyInto(out *RecoveryReplicatedVmSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicatedVmSpec. +func (in *RecoveryReplicatedVmSpec) DeepCopy() *RecoveryReplicatedVmSpec { + if in == nil { + return nil + } + out := new(RecoveryReplicatedVmSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicatedVmStatus) DeepCopyInto(out *RecoveryReplicatedVmStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicatedVmStatus. +func (in *RecoveryReplicatedVmStatus) DeepCopy() *RecoveryReplicatedVmStatus { + if in == nil { + return nil + } + out := new(RecoveryReplicatedVmStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicationPolicy) DeepCopyInto(out *RecoveryReplicationPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicationPolicy. +func (in *RecoveryReplicationPolicy) DeepCopy() *RecoveryReplicationPolicy { + if in == nil { + return nil + } + out := new(RecoveryReplicationPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryReplicationPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicationPolicyList) DeepCopyInto(out *RecoveryReplicationPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RecoveryReplicationPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicationPolicyList. +func (in *RecoveryReplicationPolicyList) DeepCopy() *RecoveryReplicationPolicyList { + if in == nil { + return nil + } + out := new(RecoveryReplicationPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RecoveryReplicationPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicationPolicyObservation) DeepCopyInto(out *RecoveryReplicationPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicationPolicyObservation. +func (in *RecoveryReplicationPolicyObservation) DeepCopy() *RecoveryReplicationPolicyObservation { + if in == nil { + return nil + } + out := new(RecoveryReplicationPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicationPolicyParameters) DeepCopyInto(out *RecoveryReplicationPolicyParameters) { + *out = *in + if in.ApplicationConsistentSnapshotFrequencyInMinutes != nil { + in, out := &in.ApplicationConsistentSnapshotFrequencyInMinutes, &out.ApplicationConsistentSnapshotFrequencyInMinutes + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryPointRetentionInMinutes != nil { + in, out := &in.RecoveryPointRetentionInMinutes, &out.RecoveryPointRetentionInMinutes + *out = new(int64) + **out = **in + } + if in.RecoveryVaultName != nil { + in, out := &in.RecoveryVaultName, &out.RecoveryVaultName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicationPolicyParameters. +func (in *RecoveryReplicationPolicyParameters) DeepCopy() *RecoveryReplicationPolicyParameters { + if in == nil { + return nil + } + out := new(RecoveryReplicationPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicationPolicySpec) DeepCopyInto(out *RecoveryReplicationPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicationPolicySpec. +func (in *RecoveryReplicationPolicySpec) DeepCopy() *RecoveryReplicationPolicySpec { + if in == nil { + return nil + } + out := new(RecoveryReplicationPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecoveryReplicationPolicyStatus) DeepCopyInto(out *RecoveryReplicationPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryReplicationPolicyStatus. +func (in *RecoveryReplicationPolicyStatus) DeepCopy() *RecoveryReplicationPolicyStatus { + if in == nil { + return nil + } + out := new(RecoveryReplicationPolicyStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/site/v1alpha1/zz_generated.managed.go b/apis/site/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..ca0d70b1f --- /dev/null +++ b/apis/site/v1alpha1/zz_generated.managed.go @@ -0,0 +1,356 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this RecoveryFabric. +func (mg *RecoveryFabric) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RecoveryFabric. +func (mg *RecoveryFabric) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RecoveryFabric. +func (mg *RecoveryFabric) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RecoveryFabric. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RecoveryFabric) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RecoveryFabric. +func (mg *RecoveryFabric) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RecoveryFabric. +func (mg *RecoveryFabric) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RecoveryFabric. +func (mg *RecoveryFabric) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RecoveryFabric. +func (mg *RecoveryFabric) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RecoveryFabric. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RecoveryFabric) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RecoveryFabric. +func (mg *RecoveryFabric) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RecoveryNetworkMapping. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RecoveryNetworkMapping) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RecoveryNetworkMapping. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RecoveryNetworkMapping) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RecoveryNetworkMapping. +func (mg *RecoveryNetworkMapping) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RecoveryProtectionContainer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RecoveryProtectionContainer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RecoveryProtectionContainer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RecoveryProtectionContainer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RecoveryProtectionContainer. +func (mg *RecoveryProtectionContainer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RecoveryProtectionContainerMapping. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RecoveryProtectionContainerMapping) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RecoveryProtectionContainerMapping. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RecoveryProtectionContainerMapping) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RecoveryProtectionContainerMapping. +func (mg *RecoveryProtectionContainerMapping) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RecoveryReplicatedVm. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RecoveryReplicatedVm) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RecoveryReplicatedVm. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RecoveryReplicatedVm) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RecoveryReplicatedVm. +func (mg *RecoveryReplicatedVm) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RecoveryReplicationPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RecoveryReplicationPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RecoveryReplicationPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RecoveryReplicationPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RecoveryReplicationPolicy. +func (mg *RecoveryReplicationPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/site/v1alpha1/zz_generated.managedlist.go b/apis/site/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..aa8403d0a --- /dev/null +++ b/apis/site/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,74 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this RecoveryFabricList. +func (l *RecoveryFabricList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RecoveryNetworkMappingList. +func (l *RecoveryNetworkMappingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RecoveryProtectionContainerList. +func (l *RecoveryProtectionContainerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RecoveryProtectionContainerMappingList. +func (l *RecoveryProtectionContainerMappingList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RecoveryReplicatedVmList. +func (l *RecoveryReplicatedVmList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RecoveryReplicationPolicyList. +func (l *RecoveryReplicationPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/site/v1alpha1/zz_groupversion_info.go b/apis/site/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..cac22d7ed --- /dev/null +++ b/apis/site/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=site.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "site.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/site/v1alpha1/zz_recoveryfabric_terraformed.go b/apis/site/v1alpha1/zz_recoveryfabric_terraformed.go new file mode 100755 index 000000000..21cb97408 --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryfabric_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RecoveryFabric +func (mg *RecoveryFabric) GetTerraformResourceType() string { + return "azurerm_site_recovery_fabric" +} + +// GetConnectionDetailsMapping for this RecoveryFabric +func (tr *RecoveryFabric) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RecoveryFabric +func (tr *RecoveryFabric) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RecoveryFabric +func (tr *RecoveryFabric) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RecoveryFabric +func (tr *RecoveryFabric) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RecoveryFabric +func (tr *RecoveryFabric) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RecoveryFabric using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RecoveryFabric) LateInitialize(attrs []byte) (bool, error) { + params := &RecoveryFabricParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RecoveryFabric) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/site/v1alpha1/zz_recoveryfabric_types.go b/apis/site/v1alpha1/zz_recoveryfabric_types.go new file mode 100755 index 000000000..e1a517e2a --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryfabric_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecoveryFabricObservation struct { +} + +type RecoveryFabricParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RecoveryFabricSpec defines the desired state of RecoveryFabric +type RecoveryFabricSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RecoveryFabricParameters `json:"forProvider"` +} + +// RecoveryFabricStatus defines the observed state of RecoveryFabric. +type RecoveryFabricStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RecoveryFabricObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryFabric is the Schema for the RecoveryFabrics API +// +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,azurejet} +type RecoveryFabric struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RecoveryFabricSpec `json:"spec"` + Status RecoveryFabricStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryFabricList contains a list of RecoveryFabrics +type RecoveryFabricList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RecoveryFabric `json:"items"` +} + +// Repository type metadata. +var ( + RecoveryFabric_Kind = "RecoveryFabric" + RecoveryFabric_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RecoveryFabric_Kind}.String() + RecoveryFabric_KindAPIVersion = RecoveryFabric_Kind + "." + CRDGroupVersion.String() + RecoveryFabric_GroupVersionKind = CRDGroupVersion.WithKind(RecoveryFabric_Kind) +) + +func init() { + SchemeBuilder.Register(&RecoveryFabric{}, &RecoveryFabricList{}) +} diff --git a/apis/site/v1alpha1/zz_recoverynetworkmapping_terraformed.go b/apis/site/v1alpha1/zz_recoverynetworkmapping_terraformed.go new file mode 100755 index 000000000..01acbdead --- /dev/null +++ b/apis/site/v1alpha1/zz_recoverynetworkmapping_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RecoveryNetworkMapping +func (mg *RecoveryNetworkMapping) GetTerraformResourceType() string { + return "azurerm_site_recovery_network_mapping" +} + +// GetConnectionDetailsMapping for this RecoveryNetworkMapping +func (tr *RecoveryNetworkMapping) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RecoveryNetworkMapping +func (tr *RecoveryNetworkMapping) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RecoveryNetworkMapping +func (tr *RecoveryNetworkMapping) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RecoveryNetworkMapping +func (tr *RecoveryNetworkMapping) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RecoveryNetworkMapping +func (tr *RecoveryNetworkMapping) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RecoveryNetworkMapping using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RecoveryNetworkMapping) LateInitialize(attrs []byte) (bool, error) { + params := &RecoveryNetworkMappingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RecoveryNetworkMapping) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/site/v1alpha1/zz_recoverynetworkmapping_types.go b/apis/site/v1alpha1/zz_recoverynetworkmapping_types.go new file mode 100755 index 000000000..03016167d --- /dev/null +++ b/apis/site/v1alpha1/zz_recoverynetworkmapping_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecoveryNetworkMappingObservation struct { +} + +type RecoveryNetworkMappingParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SourceNetworkID *string `json:"sourceNetworkId" tf:"source_network_id,omitempty"` + + // +kubebuilder:validation:Required + SourceRecoveryFabricName *string `json:"sourceRecoveryFabricName" tf:"source_recovery_fabric_name,omitempty"` + + // +kubebuilder:validation:Required + TargetNetworkID *string `json:"targetNetworkId" tf:"target_network_id,omitempty"` + + // +kubebuilder:validation:Required + TargetRecoveryFabricName *string `json:"targetRecoveryFabricName" tf:"target_recovery_fabric_name,omitempty"` +} + +// RecoveryNetworkMappingSpec defines the desired state of RecoveryNetworkMapping +type RecoveryNetworkMappingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RecoveryNetworkMappingParameters `json:"forProvider"` +} + +// RecoveryNetworkMappingStatus defines the observed state of RecoveryNetworkMapping. +type RecoveryNetworkMappingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RecoveryNetworkMappingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryNetworkMapping is the Schema for the RecoveryNetworkMappings API +// +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,azurejet} +type RecoveryNetworkMapping struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RecoveryNetworkMappingSpec `json:"spec"` + Status RecoveryNetworkMappingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryNetworkMappingList contains a list of RecoveryNetworkMappings +type RecoveryNetworkMappingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RecoveryNetworkMapping `json:"items"` +} + +// Repository type metadata. +var ( + RecoveryNetworkMapping_Kind = "RecoveryNetworkMapping" + RecoveryNetworkMapping_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RecoveryNetworkMapping_Kind}.String() + RecoveryNetworkMapping_KindAPIVersion = RecoveryNetworkMapping_Kind + "." + CRDGroupVersion.String() + RecoveryNetworkMapping_GroupVersionKind = CRDGroupVersion.WithKind(RecoveryNetworkMapping_Kind) +) + +func init() { + SchemeBuilder.Register(&RecoveryNetworkMapping{}, &RecoveryNetworkMappingList{}) +} diff --git a/apis/site/v1alpha1/zz_recoveryprotectioncontainer_terraformed.go b/apis/site/v1alpha1/zz_recoveryprotectioncontainer_terraformed.go new file mode 100755 index 000000000..a9d6d45ef --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryprotectioncontainer_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RecoveryProtectionContainer +func (mg *RecoveryProtectionContainer) GetTerraformResourceType() string { + return "azurerm_site_recovery_protection_container" +} + +// GetConnectionDetailsMapping for this RecoveryProtectionContainer +func (tr *RecoveryProtectionContainer) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RecoveryProtectionContainer +func (tr *RecoveryProtectionContainer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RecoveryProtectionContainer +func (tr *RecoveryProtectionContainer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RecoveryProtectionContainer +func (tr *RecoveryProtectionContainer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RecoveryProtectionContainer +func (tr *RecoveryProtectionContainer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RecoveryProtectionContainer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RecoveryProtectionContainer) LateInitialize(attrs []byte) (bool, error) { + params := &RecoveryProtectionContainerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RecoveryProtectionContainer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/site/v1alpha1/zz_recoveryprotectioncontainer_types.go b/apis/site/v1alpha1/zz_recoveryprotectioncontainer_types.go new file mode 100755 index 000000000..5c661b59d --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryprotectioncontainer_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecoveryProtectionContainerObservation struct { +} + +type RecoveryProtectionContainerParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryFabricName *string `json:"recoveryFabricName" tf:"recovery_fabric_name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RecoveryProtectionContainerSpec defines the desired state of RecoveryProtectionContainer +type RecoveryProtectionContainerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RecoveryProtectionContainerParameters `json:"forProvider"` +} + +// RecoveryProtectionContainerStatus defines the observed state of RecoveryProtectionContainer. +type RecoveryProtectionContainerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RecoveryProtectionContainerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryProtectionContainer is the Schema for the RecoveryProtectionContainers API +// +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,azurejet} +type RecoveryProtectionContainer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RecoveryProtectionContainerSpec `json:"spec"` + Status RecoveryProtectionContainerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryProtectionContainerList contains a list of RecoveryProtectionContainers +type RecoveryProtectionContainerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RecoveryProtectionContainer `json:"items"` +} + +// Repository type metadata. +var ( + RecoveryProtectionContainer_Kind = "RecoveryProtectionContainer" + RecoveryProtectionContainer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RecoveryProtectionContainer_Kind}.String() + RecoveryProtectionContainer_KindAPIVersion = RecoveryProtectionContainer_Kind + "." + CRDGroupVersion.String() + RecoveryProtectionContainer_GroupVersionKind = CRDGroupVersion.WithKind(RecoveryProtectionContainer_Kind) +) + +func init() { + SchemeBuilder.Register(&RecoveryProtectionContainer{}, &RecoveryProtectionContainerList{}) +} diff --git a/apis/site/v1alpha1/zz_recoveryprotectioncontainermapping_terraformed.go b/apis/site/v1alpha1/zz_recoveryprotectioncontainermapping_terraformed.go new file mode 100755 index 000000000..67805bcc3 --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryprotectioncontainermapping_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RecoveryProtectionContainerMapping +func (mg *RecoveryProtectionContainerMapping) GetTerraformResourceType() string { + return "azurerm_site_recovery_protection_container_mapping" +} + +// GetConnectionDetailsMapping for this RecoveryProtectionContainerMapping +func (tr *RecoveryProtectionContainerMapping) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RecoveryProtectionContainerMapping +func (tr *RecoveryProtectionContainerMapping) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RecoveryProtectionContainerMapping +func (tr *RecoveryProtectionContainerMapping) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RecoveryProtectionContainerMapping +func (tr *RecoveryProtectionContainerMapping) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RecoveryProtectionContainerMapping +func (tr *RecoveryProtectionContainerMapping) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RecoveryProtectionContainerMapping using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RecoveryProtectionContainerMapping) LateInitialize(attrs []byte) (bool, error) { + params := &RecoveryProtectionContainerMappingParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RecoveryProtectionContainerMapping) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/site/v1alpha1/zz_recoveryprotectioncontainermapping_types.go b/apis/site/v1alpha1/zz_recoveryprotectioncontainermapping_types.go new file mode 100755 index 000000000..a383ccb79 --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryprotectioncontainermapping_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecoveryProtectionContainerMappingObservation struct { +} + +type RecoveryProtectionContainerMappingParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryFabricName *string `json:"recoveryFabricName" tf:"recovery_fabric_name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryReplicationPolicyID *string `json:"recoveryReplicationPolicyId" tf:"recovery_replication_policy_id,omitempty"` + + // +kubebuilder:validation:Required + RecoverySourceProtectionContainerName *string `json:"recoverySourceProtectionContainerName" tf:"recovery_source_protection_container_name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryTargetProtectionContainerID *string `json:"recoveryTargetProtectionContainerId" tf:"recovery_target_protection_container_id,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RecoveryProtectionContainerMappingSpec defines the desired state of RecoveryProtectionContainerMapping +type RecoveryProtectionContainerMappingSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RecoveryProtectionContainerMappingParameters `json:"forProvider"` +} + +// RecoveryProtectionContainerMappingStatus defines the observed state of RecoveryProtectionContainerMapping. +type RecoveryProtectionContainerMappingStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RecoveryProtectionContainerMappingObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryProtectionContainerMapping is the Schema for the RecoveryProtectionContainerMappings API +// +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,azurejet} +type RecoveryProtectionContainerMapping struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RecoveryProtectionContainerMappingSpec `json:"spec"` + Status RecoveryProtectionContainerMappingStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryProtectionContainerMappingList contains a list of RecoveryProtectionContainerMappings +type RecoveryProtectionContainerMappingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RecoveryProtectionContainerMapping `json:"items"` +} + +// Repository type metadata. +var ( + RecoveryProtectionContainerMapping_Kind = "RecoveryProtectionContainerMapping" + RecoveryProtectionContainerMapping_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RecoveryProtectionContainerMapping_Kind}.String() + RecoveryProtectionContainerMapping_KindAPIVersion = RecoveryProtectionContainerMapping_Kind + "." + CRDGroupVersion.String() + RecoveryProtectionContainerMapping_GroupVersionKind = CRDGroupVersion.WithKind(RecoveryProtectionContainerMapping_Kind) +) + +func init() { + SchemeBuilder.Register(&RecoveryProtectionContainerMapping{}, &RecoveryProtectionContainerMappingList{}) +} diff --git a/apis/site/v1alpha1/zz_recoveryreplicatedvm_terraformed.go b/apis/site/v1alpha1/zz_recoveryreplicatedvm_terraformed.go new file mode 100755 index 000000000..00c520165 --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryreplicatedvm_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RecoveryReplicatedVm +func (mg *RecoveryReplicatedVm) GetTerraformResourceType() string { + return "azurerm_site_recovery_replicated_vm" +} + +// GetConnectionDetailsMapping for this RecoveryReplicatedVm +func (tr *RecoveryReplicatedVm) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RecoveryReplicatedVm +func (tr *RecoveryReplicatedVm) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RecoveryReplicatedVm +func (tr *RecoveryReplicatedVm) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RecoveryReplicatedVm +func (tr *RecoveryReplicatedVm) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RecoveryReplicatedVm +func (tr *RecoveryReplicatedVm) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RecoveryReplicatedVm using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RecoveryReplicatedVm) LateInitialize(attrs []byte) (bool, error) { + params := &RecoveryReplicatedVmParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RecoveryReplicatedVm) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/site/v1alpha1/zz_recoveryreplicatedvm_types.go b/apis/site/v1alpha1/zz_recoveryreplicatedvm_types.go new file mode 100755 index 000000000..0fd039b6d --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryreplicatedvm_types.go @@ -0,0 +1,165 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagedDiskObservation struct { +} + +type ManagedDiskParameters struct { + + // +kubebuilder:validation:Required + DiskID *string `json:"diskId" tf:"disk_id,omitempty"` + + // +kubebuilder:validation:Required + StagingStorageAccountID *string `json:"stagingStorageAccountId" tf:"staging_storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + TargetDiskEncryptionSetID *string `json:"targetDiskEncryptionSetId,omitempty" tf:"target_disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Required + TargetDiskType *string `json:"targetDiskType" tf:"target_disk_type,omitempty"` + + // +kubebuilder:validation:Required + TargetReplicaDiskType *string `json:"targetReplicaDiskType" tf:"target_replica_disk_type,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceGroupID *string `json:"targetResourceGroupId" tf:"target_resource_group_id,omitempty"` +} + +type NetworkInterfaceObservation struct { +} + +type NetworkInterfaceParameters struct { + + // +kubebuilder:validation:Optional + RecoveryPublicIPAddressID *string `json:"recoveryPublicIpAddressId,omitempty" tf:"recovery_public_ip_address_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceNetworkInterfaceID *string `json:"sourceNetworkInterfaceId,omitempty" tf:"source_network_interface_id,omitempty"` + + // +kubebuilder:validation:Optional + TargetStaticIP *string `json:"targetStaticIp,omitempty" tf:"target_static_ip,omitempty"` + + // +kubebuilder:validation:Optional + TargetSubnetName *string `json:"targetSubnetName,omitempty" tf:"target_subnet_name,omitempty"` +} + +type RecoveryReplicatedVmObservation struct { +} + +type RecoveryReplicatedVmParameters struct { + + // +kubebuilder:validation:Optional + ManagedDisk []ManagedDiskParameters `json:"managedDisk,omitempty" tf:"managed_disk,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkInterface []NetworkInterfaceParameters `json:"networkInterface,omitempty" tf:"network_interface,omitempty"` + + // +kubebuilder:validation:Required + RecoveryReplicationPolicyID *string `json:"recoveryReplicationPolicyId" tf:"recovery_replication_policy_id,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SourceRecoveryFabricName *string `json:"sourceRecoveryFabricName" tf:"source_recovery_fabric_name,omitempty"` + + // +kubebuilder:validation:Required + SourceRecoveryProtectionContainerName *string `json:"sourceRecoveryProtectionContainerName" tf:"source_recovery_protection_container_name,omitempty"` + + // +kubebuilder:validation:Required + SourceVMID *string `json:"sourceVmId" tf:"source_vm_id,omitempty"` + + // +kubebuilder:validation:Optional + TargetAvailabilitySetID *string `json:"targetAvailabilitySetId,omitempty" tf:"target_availability_set_id,omitempty"` + + // +kubebuilder:validation:Optional + TargetNetworkID *string `json:"targetNetworkId,omitempty" tf:"target_network_id,omitempty"` + + // +kubebuilder:validation:Required + TargetRecoveryFabricID *string `json:"targetRecoveryFabricId" tf:"target_recovery_fabric_id,omitempty"` + + // +kubebuilder:validation:Required + TargetRecoveryProtectionContainerID *string `json:"targetRecoveryProtectionContainerId" tf:"target_recovery_protection_container_id,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceGroupID *string `json:"targetResourceGroupId" tf:"target_resource_group_id,omitempty"` +} + +// RecoveryReplicatedVmSpec defines the desired state of RecoveryReplicatedVm +type RecoveryReplicatedVmSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RecoveryReplicatedVmParameters `json:"forProvider"` +} + +// RecoveryReplicatedVmStatus defines the observed state of RecoveryReplicatedVm. +type RecoveryReplicatedVmStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RecoveryReplicatedVmObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryReplicatedVm is the Schema for the RecoveryReplicatedVms API +// +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,azurejet} +type RecoveryReplicatedVm struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RecoveryReplicatedVmSpec `json:"spec"` + Status RecoveryReplicatedVmStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryReplicatedVmList contains a list of RecoveryReplicatedVms +type RecoveryReplicatedVmList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RecoveryReplicatedVm `json:"items"` +} + +// Repository type metadata. +var ( + RecoveryReplicatedVm_Kind = "RecoveryReplicatedVm" + RecoveryReplicatedVm_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RecoveryReplicatedVm_Kind}.String() + RecoveryReplicatedVm_KindAPIVersion = RecoveryReplicatedVm_Kind + "." + CRDGroupVersion.String() + RecoveryReplicatedVm_GroupVersionKind = CRDGroupVersion.WithKind(RecoveryReplicatedVm_Kind) +) + +func init() { + SchemeBuilder.Register(&RecoveryReplicatedVm{}, &RecoveryReplicatedVmList{}) +} diff --git a/apis/site/v1alpha1/zz_recoveryreplicationpolicy_terraformed.go b/apis/site/v1alpha1/zz_recoveryreplicationpolicy_terraformed.go new file mode 100755 index 000000000..e49bdcd0e --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryreplicationpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RecoveryReplicationPolicy +func (mg *RecoveryReplicationPolicy) GetTerraformResourceType() string { + return "azurerm_site_recovery_replication_policy" +} + +// GetConnectionDetailsMapping for this RecoveryReplicationPolicy +func (tr *RecoveryReplicationPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RecoveryReplicationPolicy +func (tr *RecoveryReplicationPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RecoveryReplicationPolicy +func (tr *RecoveryReplicationPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RecoveryReplicationPolicy +func (tr *RecoveryReplicationPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RecoveryReplicationPolicy +func (tr *RecoveryReplicationPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RecoveryReplicationPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RecoveryReplicationPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &RecoveryReplicationPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RecoveryReplicationPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/site/v1alpha1/zz_recoveryreplicationpolicy_types.go b/apis/site/v1alpha1/zz_recoveryreplicationpolicy_types.go new file mode 100755 index 000000000..d9e4edab0 --- /dev/null +++ b/apis/site/v1alpha1/zz_recoveryreplicationpolicy_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecoveryReplicationPolicyObservation struct { +} + +type RecoveryReplicationPolicyParameters struct { + + // +kubebuilder:validation:Required + ApplicationConsistentSnapshotFrequencyInMinutes *int64 `json:"applicationConsistentSnapshotFrequencyInMinutes" tf:"application_consistent_snapshot_frequency_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RecoveryPointRetentionInMinutes *int64 `json:"recoveryPointRetentionInMinutes" tf:"recovery_point_retention_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + RecoveryVaultName *string `json:"recoveryVaultName" tf:"recovery_vault_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` +} + +// RecoveryReplicationPolicySpec defines the desired state of RecoveryReplicationPolicy +type RecoveryReplicationPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RecoveryReplicationPolicyParameters `json:"forProvider"` +} + +// RecoveryReplicationPolicyStatus defines the observed state of RecoveryReplicationPolicy. +type RecoveryReplicationPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RecoveryReplicationPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryReplicationPolicy is the Schema for the RecoveryReplicationPolicys API +// +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,azurejet} +type RecoveryReplicationPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RecoveryReplicationPolicySpec `json:"spec"` + Status RecoveryReplicationPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RecoveryReplicationPolicyList contains a list of RecoveryReplicationPolicys +type RecoveryReplicationPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RecoveryReplicationPolicy `json:"items"` +} + +// Repository type metadata. +var ( + RecoveryReplicationPolicy_Kind = "RecoveryReplicationPolicy" + RecoveryReplicationPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RecoveryReplicationPolicy_Kind}.String() + RecoveryReplicationPolicy_KindAPIVersion = RecoveryReplicationPolicy_Kind + "." + CRDGroupVersion.String() + RecoveryReplicationPolicy_GroupVersionKind = CRDGroupVersion.WithKind(RecoveryReplicationPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&RecoveryReplicationPolicy{}, &RecoveryReplicationPolicyList{}) +} diff --git a/apis/spatial/v1alpha1/zz_anchorsaccount_terraformed.go b/apis/spatial/v1alpha1/zz_anchorsaccount_terraformed.go new file mode 100755 index 000000000..b203f5871 --- /dev/null +++ b/apis/spatial/v1alpha1/zz_anchorsaccount_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnchorsAccount +func (mg *AnchorsAccount) GetTerraformResourceType() string { + return "azurerm_spatial_anchors_account" +} + +// GetConnectionDetailsMapping for this AnchorsAccount +func (tr *AnchorsAccount) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnchorsAccount +func (tr *AnchorsAccount) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnchorsAccount +func (tr *AnchorsAccount) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnchorsAccount +func (tr *AnchorsAccount) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnchorsAccount +func (tr *AnchorsAccount) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnchorsAccount using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnchorsAccount) LateInitialize(attrs []byte) (bool, error) { + params := &AnchorsAccountParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnchorsAccount) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spatial/v1alpha1/zz_anchorsaccount_types.go b/apis/spatial/v1alpha1/zz_anchorsaccount_types.go new file mode 100755 index 000000000..4ebfb04d7 --- /dev/null +++ b/apis/spatial/v1alpha1/zz_anchorsaccount_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnchorsAccountObservation struct { + AccountDomain *string `json:"accountDomain,omitempty" tf:"account_domain,omitempty"` + + AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"` +} + +type AnchorsAccountParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AnchorsAccountSpec defines the desired state of AnchorsAccount +type AnchorsAccountSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnchorsAccountParameters `json:"forProvider"` +} + +// AnchorsAccountStatus defines the observed state of AnchorsAccount. +type AnchorsAccountStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnchorsAccountObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnchorsAccount is the Schema for the AnchorsAccounts API +// +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,azurejet} +type AnchorsAccount struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnchorsAccountSpec `json:"spec"` + Status AnchorsAccountStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnchorsAccountList contains a list of AnchorsAccounts +type AnchorsAccountList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnchorsAccount `json:"items"` +} + +// Repository type metadata. +var ( + AnchorsAccount_Kind = "AnchorsAccount" + AnchorsAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnchorsAccount_Kind}.String() + AnchorsAccount_KindAPIVersion = AnchorsAccount_Kind + "." + CRDGroupVersion.String() + AnchorsAccount_GroupVersionKind = CRDGroupVersion.WithKind(AnchorsAccount_Kind) +) + +func init() { + SchemeBuilder.Register(&AnchorsAccount{}, &AnchorsAccountList{}) +} diff --git a/apis/spatial/v1alpha1/zz_generated.deepcopy.go b/apis/spatial/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..d894798fa --- /dev/null +++ b/apis/spatial/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,188 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnchorsAccount) DeepCopyInto(out *AnchorsAccount) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnchorsAccount. +func (in *AnchorsAccount) DeepCopy() *AnchorsAccount { + if in == nil { + return nil + } + out := new(AnchorsAccount) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnchorsAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnchorsAccountList) DeepCopyInto(out *AnchorsAccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnchorsAccount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnchorsAccountList. +func (in *AnchorsAccountList) DeepCopy() *AnchorsAccountList { + if in == nil { + return nil + } + out := new(AnchorsAccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnchorsAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnchorsAccountObservation) DeepCopyInto(out *AnchorsAccountObservation) { + *out = *in + if in.AccountDomain != nil { + in, out := &in.AccountDomain, &out.AccountDomain + *out = new(string) + **out = **in + } + if in.AccountID != nil { + in, out := &in.AccountID, &out.AccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnchorsAccountObservation. +func (in *AnchorsAccountObservation) DeepCopy() *AnchorsAccountObservation { + if in == nil { + return nil + } + out := new(AnchorsAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnchorsAccountParameters) DeepCopyInto(out *AnchorsAccountParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnchorsAccountParameters. +func (in *AnchorsAccountParameters) DeepCopy() *AnchorsAccountParameters { + if in == nil { + return nil + } + out := new(AnchorsAccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnchorsAccountSpec) DeepCopyInto(out *AnchorsAccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnchorsAccountSpec. +func (in *AnchorsAccountSpec) DeepCopy() *AnchorsAccountSpec { + if in == nil { + return nil + } + out := new(AnchorsAccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnchorsAccountStatus) DeepCopyInto(out *AnchorsAccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnchorsAccountStatus. +func (in *AnchorsAccountStatus) DeepCopy() *AnchorsAccountStatus { + if in == nil { + return nil + } + out := new(AnchorsAccountStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/spatial/v1alpha1/zz_generated.managed.go b/apis/spatial/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..814d1c971 --- /dev/null +++ b/apis/spatial/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AnchorsAccount. +func (mg *AnchorsAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnchorsAccount. +func (mg *AnchorsAccount) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnchorsAccount. +func (mg *AnchorsAccount) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnchorsAccount. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnchorsAccount) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnchorsAccount. +func (mg *AnchorsAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnchorsAccount. +func (mg *AnchorsAccount) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnchorsAccount. +func (mg *AnchorsAccount) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnchorsAccount. +func (mg *AnchorsAccount) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnchorsAccount. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnchorsAccount) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnchorsAccount. +func (mg *AnchorsAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/spatial/v1alpha1/zz_generated.managedlist.go b/apis/spatial/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..925762203 --- /dev/null +++ b/apis/spatial/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AnchorsAccountList. +func (l *AnchorsAccountList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/spatial/v1alpha1/zz_groupversion_info.go b/apis/spatial/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..c52361409 --- /dev/null +++ b/apis/spatial/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=spatial.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "spatial.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/spring/v1alpha1/zz_cloudactivedeployment_terraformed.go b/apis/spring/v1alpha1/zz_cloudactivedeployment_terraformed.go new file mode 100755 index 000000000..14b384ca7 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudactivedeployment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudActiveDeployment +func (mg *CloudActiveDeployment) GetTerraformResourceType() string { + return "azurerm_spring_cloud_active_deployment" +} + +// GetConnectionDetailsMapping for this CloudActiveDeployment +func (tr *CloudActiveDeployment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudActiveDeployment +func (tr *CloudActiveDeployment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudActiveDeployment +func (tr *CloudActiveDeployment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudActiveDeployment +func (tr *CloudActiveDeployment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudActiveDeployment +func (tr *CloudActiveDeployment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudActiveDeployment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudActiveDeployment) LateInitialize(attrs []byte) (bool, error) { + params := &CloudActiveDeploymentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudActiveDeployment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudactivedeployment_types.go b/apis/spring/v1alpha1/zz_cloudactivedeployment_types.go new file mode 100755 index 000000000..ebe128294 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudactivedeployment_types.go @@ -0,0 +1,87 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudActiveDeploymentObservation struct { +} + +type CloudActiveDeploymentParameters struct { + + // +kubebuilder:validation:Required + DeploymentName *string `json:"deploymentName" tf:"deployment_name,omitempty"` + + // +kubebuilder:validation:Required + SpringCloudAppID *string `json:"springCloudAppId" tf:"spring_cloud_app_id,omitempty"` +} + +// CloudActiveDeploymentSpec defines the desired state of CloudActiveDeployment +type CloudActiveDeploymentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudActiveDeploymentParameters `json:"forProvider"` +} + +// CloudActiveDeploymentStatus defines the observed state of CloudActiveDeployment. +type CloudActiveDeploymentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudActiveDeploymentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudActiveDeployment is the Schema for the CloudActiveDeployments API +// +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,azurejet} +type CloudActiveDeployment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudActiveDeploymentSpec `json:"spec"` + Status CloudActiveDeploymentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudActiveDeploymentList contains a list of CloudActiveDeployments +type CloudActiveDeploymentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudActiveDeployment `json:"items"` +} + +// Repository type metadata. +var ( + CloudActiveDeployment_Kind = "CloudActiveDeployment" + CloudActiveDeployment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudActiveDeployment_Kind}.String() + CloudActiveDeployment_KindAPIVersion = CloudActiveDeployment_Kind + "." + CRDGroupVersion.String() + CloudActiveDeployment_GroupVersionKind = CRDGroupVersion.WithKind(CloudActiveDeployment_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudActiveDeployment{}, &CloudActiveDeploymentList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudapp_terraformed.go b/apis/spring/v1alpha1/zz_cloudapp_terraformed.go new file mode 100755 index 000000000..6c2817734 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudapp_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudApp +func (mg *CloudApp) GetTerraformResourceType() string { + return "azurerm_spring_cloud_app" +} + +// GetConnectionDetailsMapping for this CloudApp +func (tr *CloudApp) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudApp +func (tr *CloudApp) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudApp +func (tr *CloudApp) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudApp +func (tr *CloudApp) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudApp +func (tr *CloudApp) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudApp using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudApp) LateInitialize(attrs []byte) (bool, error) { + params := &CloudAppParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudApp) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudapp_types.go b/apis/spring/v1alpha1/zz_cloudapp_types.go new file mode 100755 index 000000000..3e5588967 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudapp_types.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudAppObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + URL *string `json:"url,omitempty" tf:"url,omitempty"` +} + +type CloudAppParameters struct { + + // +kubebuilder:validation:Optional + HTTPSOnly *bool `json:"httpsOnly,omitempty" tf:"https_only,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + IsPublic *bool `json:"isPublic,omitempty" tf:"is_public,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PersistentDisk []PersistentDiskParameters `json:"persistentDisk,omitempty" tf:"persistent_disk,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServiceName *string `json:"serviceName" tf:"service_name,omitempty"` + + // +kubebuilder:validation:Optional + TLSEnabled *bool `json:"tlsEnabled,omitempty" tf:"tls_enabled,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type PersistentDiskObservation struct { +} + +type PersistentDiskParameters struct { + + // +kubebuilder:validation:Optional + MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"` + + // +kubebuilder:validation:Required + SizeInGb *int64 `json:"sizeInGb" tf:"size_in_gb,omitempty"` +} + +// CloudAppSpec defines the desired state of CloudApp +type CloudAppSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudAppParameters `json:"forProvider"` +} + +// CloudAppStatus defines the observed state of CloudApp. +type CloudAppStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudAppObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudApp is the Schema for the CloudApps API +// +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,azurejet} +type CloudApp struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudAppSpec `json:"spec"` + Status CloudAppStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppList contains a list of CloudApps +type CloudAppList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudApp `json:"items"` +} + +// Repository type metadata. +var ( + CloudApp_Kind = "CloudApp" + CloudApp_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudApp_Kind}.String() + CloudApp_KindAPIVersion = CloudApp_Kind + "." + CRDGroupVersion.String() + CloudApp_GroupVersionKind = CRDGroupVersion.WithKind(CloudApp_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudApp{}, &CloudAppList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudappcosmosdbassociation_terraformed.go b/apis/spring/v1alpha1/zz_cloudappcosmosdbassociation_terraformed.go new file mode 100755 index 000000000..7b9665c7f --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudappcosmosdbassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudAppCosmosdbAssociation +func (mg *CloudAppCosmosdbAssociation) GetTerraformResourceType() string { + return "azurerm_spring_cloud_app_cosmosdb_association" +} + +// GetConnectionDetailsMapping for this CloudAppCosmosdbAssociation +func (tr *CloudAppCosmosdbAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudAppCosmosdbAssociation +func (tr *CloudAppCosmosdbAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudAppCosmosdbAssociation +func (tr *CloudAppCosmosdbAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudAppCosmosdbAssociation +func (tr *CloudAppCosmosdbAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudAppCosmosdbAssociation +func (tr *CloudAppCosmosdbAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudAppCosmosdbAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudAppCosmosdbAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &CloudAppCosmosdbAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudAppCosmosdbAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudappcosmosdbassociation_types.go b/apis/spring/v1alpha1/zz_cloudappcosmosdbassociation_types.go new file mode 100755 index 000000000..95643a0be --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudappcosmosdbassociation_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudAppCosmosdbAssociationObservation struct { +} + +type CloudAppCosmosdbAssociationParameters struct { + + // +kubebuilder:validation:Required + APIType *string `json:"apiType" tf:"api_type,omitempty"` + + // +kubebuilder:validation:Required + CosmosdbAccessKey *string `json:"cosmosdbAccessKey" tf:"cosmosdb_access_key,omitempty"` + + // +kubebuilder:validation:Required + CosmosdbAccountID *string `json:"cosmosdbAccountId" tf:"cosmosdb_account_id,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbCassandraKeyspaceName *string `json:"cosmosdbCassandraKeyspaceName,omitempty" tf:"cosmosdb_cassandra_keyspace_name,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbGremlinDatabaseName *string `json:"cosmosdbGremlinDatabaseName,omitempty" tf:"cosmosdb_gremlin_database_name,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbGremlinGraphName *string `json:"cosmosdbGremlinGraphName,omitempty" tf:"cosmosdb_gremlin_graph_name,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbMongoDatabaseName *string `json:"cosmosdbMongoDatabaseName,omitempty" tf:"cosmosdb_mongo_database_name,omitempty"` + + // +kubebuilder:validation:Optional + CosmosdbSQLDatabaseName *string `json:"cosmosdbSqlDatabaseName,omitempty" tf:"cosmosdb_sql_database_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SpringCloudAppID *string `json:"springCloudAppId" tf:"spring_cloud_app_id,omitempty"` +} + +// CloudAppCosmosdbAssociationSpec defines the desired state of CloudAppCosmosdbAssociation +type CloudAppCosmosdbAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudAppCosmosdbAssociationParameters `json:"forProvider"` +} + +// CloudAppCosmosdbAssociationStatus defines the observed state of CloudAppCosmosdbAssociation. +type CloudAppCosmosdbAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudAppCosmosdbAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppCosmosdbAssociation is the Schema for the CloudAppCosmosdbAssociations API +// +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,azurejet} +type CloudAppCosmosdbAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudAppCosmosdbAssociationSpec `json:"spec"` + Status CloudAppCosmosdbAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppCosmosdbAssociationList contains a list of CloudAppCosmosdbAssociations +type CloudAppCosmosdbAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudAppCosmosdbAssociation `json:"items"` +} + +// Repository type metadata. +var ( + CloudAppCosmosdbAssociation_Kind = "CloudAppCosmosdbAssociation" + CloudAppCosmosdbAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudAppCosmosdbAssociation_Kind}.String() + CloudAppCosmosdbAssociation_KindAPIVersion = CloudAppCosmosdbAssociation_Kind + "." + CRDGroupVersion.String() + CloudAppCosmosdbAssociation_GroupVersionKind = CRDGroupVersion.WithKind(CloudAppCosmosdbAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudAppCosmosdbAssociation{}, &CloudAppCosmosdbAssociationList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudappmysqlassociation_terraformed.go b/apis/spring/v1alpha1/zz_cloudappmysqlassociation_terraformed.go new file mode 100755 index 000000000..d736f8728 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudappmysqlassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudAppMysqlAssociation +func (mg *CloudAppMysqlAssociation) GetTerraformResourceType() string { + return "azurerm_spring_cloud_app_mysql_association" +} + +// GetConnectionDetailsMapping for this CloudAppMysqlAssociation +func (tr *CloudAppMysqlAssociation) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this CloudAppMysqlAssociation +func (tr *CloudAppMysqlAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudAppMysqlAssociation +func (tr *CloudAppMysqlAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudAppMysqlAssociation +func (tr *CloudAppMysqlAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudAppMysqlAssociation +func (tr *CloudAppMysqlAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudAppMysqlAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudAppMysqlAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &CloudAppMysqlAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudAppMysqlAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudappmysqlassociation_types.go b/apis/spring/v1alpha1/zz_cloudappmysqlassociation_types.go new file mode 100755 index 000000000..cab41d53e --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudappmysqlassociation_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudAppMysqlAssociationObservation struct { +} + +type CloudAppMysqlAssociationParameters struct { + + // +kubebuilder:validation:Required + DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` + + // +kubebuilder:validation:Required + MysqlServerID *string `json:"mysqlServerId" tf:"mysql_server_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SpringCloudAppID *string `json:"springCloudAppId" tf:"spring_cloud_app_id,omitempty"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +// CloudAppMysqlAssociationSpec defines the desired state of CloudAppMysqlAssociation +type CloudAppMysqlAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudAppMysqlAssociationParameters `json:"forProvider"` +} + +// CloudAppMysqlAssociationStatus defines the observed state of CloudAppMysqlAssociation. +type CloudAppMysqlAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudAppMysqlAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppMysqlAssociation is the Schema for the CloudAppMysqlAssociations API +// +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,azurejet} +type CloudAppMysqlAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudAppMysqlAssociationSpec `json:"spec"` + Status CloudAppMysqlAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppMysqlAssociationList contains a list of CloudAppMysqlAssociations +type CloudAppMysqlAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudAppMysqlAssociation `json:"items"` +} + +// Repository type metadata. +var ( + CloudAppMysqlAssociation_Kind = "CloudAppMysqlAssociation" + CloudAppMysqlAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudAppMysqlAssociation_Kind}.String() + CloudAppMysqlAssociation_KindAPIVersion = CloudAppMysqlAssociation_Kind + "." + CRDGroupVersion.String() + CloudAppMysqlAssociation_GroupVersionKind = CRDGroupVersion.WithKind(CloudAppMysqlAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudAppMysqlAssociation{}, &CloudAppMysqlAssociationList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudappredisassociation_terraformed.go b/apis/spring/v1alpha1/zz_cloudappredisassociation_terraformed.go new file mode 100755 index 000000000..a0b59ff85 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudappredisassociation_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudAppRedisAssociation +func (mg *CloudAppRedisAssociation) GetTerraformResourceType() string { + return "azurerm_spring_cloud_app_redis_association" +} + +// GetConnectionDetailsMapping for this CloudAppRedisAssociation +func (tr *CloudAppRedisAssociation) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudAppRedisAssociation +func (tr *CloudAppRedisAssociation) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudAppRedisAssociation +func (tr *CloudAppRedisAssociation) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudAppRedisAssociation +func (tr *CloudAppRedisAssociation) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudAppRedisAssociation +func (tr *CloudAppRedisAssociation) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudAppRedisAssociation using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudAppRedisAssociation) LateInitialize(attrs []byte) (bool, error) { + params := &CloudAppRedisAssociationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudAppRedisAssociation) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudappredisassociation_types.go b/apis/spring/v1alpha1/zz_cloudappredisassociation_types.go new file mode 100755 index 000000000..ce2479df8 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudappredisassociation_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudAppRedisAssociationObservation struct { +} + +type CloudAppRedisAssociationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RedisAccessKey *string `json:"redisAccessKey" tf:"redis_access_key,omitempty"` + + // +kubebuilder:validation:Required + RedisCacheID *string `json:"redisCacheId" tf:"redis_cache_id,omitempty"` + + // +kubebuilder:validation:Required + SpringCloudAppID *string `json:"springCloudAppId" tf:"spring_cloud_app_id,omitempty"` + + // +kubebuilder:validation:Optional + SslEnabled *bool `json:"sslEnabled,omitempty" tf:"ssl_enabled,omitempty"` +} + +// CloudAppRedisAssociationSpec defines the desired state of CloudAppRedisAssociation +type CloudAppRedisAssociationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudAppRedisAssociationParameters `json:"forProvider"` +} + +// CloudAppRedisAssociationStatus defines the observed state of CloudAppRedisAssociation. +type CloudAppRedisAssociationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudAppRedisAssociationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppRedisAssociation is the Schema for the CloudAppRedisAssociations API +// +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,azurejet} +type CloudAppRedisAssociation struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudAppRedisAssociationSpec `json:"spec"` + Status CloudAppRedisAssociationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudAppRedisAssociationList contains a list of CloudAppRedisAssociations +type CloudAppRedisAssociationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudAppRedisAssociation `json:"items"` +} + +// Repository type metadata. +var ( + CloudAppRedisAssociation_Kind = "CloudAppRedisAssociation" + CloudAppRedisAssociation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudAppRedisAssociation_Kind}.String() + CloudAppRedisAssociation_KindAPIVersion = CloudAppRedisAssociation_Kind + "." + CRDGroupVersion.String() + CloudAppRedisAssociation_GroupVersionKind = CRDGroupVersion.WithKind(CloudAppRedisAssociation_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudAppRedisAssociation{}, &CloudAppRedisAssociationList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudcertificate_terraformed.go b/apis/spring/v1alpha1/zz_cloudcertificate_terraformed.go new file mode 100755 index 000000000..9b7a075b7 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudcertificate_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudCertificate +func (mg *CloudCertificate) GetTerraformResourceType() string { + return "azurerm_spring_cloud_certificate" +} + +// GetConnectionDetailsMapping for this CloudCertificate +func (tr *CloudCertificate) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudCertificate +func (tr *CloudCertificate) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudCertificate +func (tr *CloudCertificate) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudCertificate +func (tr *CloudCertificate) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudCertificate +func (tr *CloudCertificate) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudCertificate using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudCertificate) LateInitialize(attrs []byte) (bool, error) { + params := &CloudCertificateParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudCertificate) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudcertificate_types.go b/apis/spring/v1alpha1/zz_cloudcertificate_types.go new file mode 100755 index 000000000..e6ab722ab --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudcertificate_types.go @@ -0,0 +1,94 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudCertificateObservation struct { + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +type CloudCertificateParameters struct { + + // +kubebuilder:validation:Required + KeyVaultCertificateID *string `json:"keyVaultCertificateId" tf:"key_vault_certificate_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServiceName *string `json:"serviceName" tf:"service_name,omitempty"` +} + +// CloudCertificateSpec defines the desired state of CloudCertificate +type CloudCertificateSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudCertificateParameters `json:"forProvider"` +} + +// CloudCertificateStatus defines the observed state of CloudCertificate. +type CloudCertificateStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudCertificateObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudCertificate is the Schema for the CloudCertificates API +// +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,azurejet} +type CloudCertificate struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudCertificateSpec `json:"spec"` + Status CloudCertificateStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudCertificateList contains a list of CloudCertificates +type CloudCertificateList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudCertificate `json:"items"` +} + +// Repository type metadata. +var ( + CloudCertificate_Kind = "CloudCertificate" + CloudCertificate_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudCertificate_Kind}.String() + CloudCertificate_KindAPIVersion = CloudCertificate_Kind + "." + CRDGroupVersion.String() + CloudCertificate_GroupVersionKind = CRDGroupVersion.WithKind(CloudCertificate_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudCertificate{}, &CloudCertificateList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudcustomdomain_terraformed.go b/apis/spring/v1alpha1/zz_cloudcustomdomain_terraformed.go new file mode 100755 index 000000000..fd12d92fc --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudcustomdomain_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudCustomDomain +func (mg *CloudCustomDomain) GetTerraformResourceType() string { + return "azurerm_spring_cloud_custom_domain" +} + +// GetConnectionDetailsMapping for this CloudCustomDomain +func (tr *CloudCustomDomain) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudCustomDomain +func (tr *CloudCustomDomain) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudCustomDomain +func (tr *CloudCustomDomain) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudCustomDomain +func (tr *CloudCustomDomain) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudCustomDomain +func (tr *CloudCustomDomain) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudCustomDomain using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudCustomDomain) LateInitialize(attrs []byte) (bool, error) { + params := &CloudCustomDomainParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudCustomDomain) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudcustomdomain_types.go b/apis/spring/v1alpha1/zz_cloudcustomdomain_types.go new file mode 100755 index 000000000..97cc73334 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudcustomdomain_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudCustomDomainObservation struct { +} + +type CloudCustomDomainParameters struct { + + // +kubebuilder:validation:Optional + CertificateName *string `json:"certificateName,omitempty" tf:"certificate_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SpringCloudAppID *string `json:"springCloudAppId" tf:"spring_cloud_app_id,omitempty"` + + // +kubebuilder:validation:Optional + Thumbprint *string `json:"thumbprint,omitempty" tf:"thumbprint,omitempty"` +} + +// CloudCustomDomainSpec defines the desired state of CloudCustomDomain +type CloudCustomDomainSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudCustomDomainParameters `json:"forProvider"` +} + +// CloudCustomDomainStatus defines the observed state of CloudCustomDomain. +type CloudCustomDomainStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudCustomDomainObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudCustomDomain is the Schema for the CloudCustomDomains API +// +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,azurejet} +type CloudCustomDomain struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudCustomDomainSpec `json:"spec"` + Status CloudCustomDomainStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudCustomDomainList contains a list of CloudCustomDomains +type CloudCustomDomainList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudCustomDomain `json:"items"` +} + +// Repository type metadata. +var ( + CloudCustomDomain_Kind = "CloudCustomDomain" + CloudCustomDomain_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudCustomDomain_Kind}.String() + CloudCustomDomain_KindAPIVersion = CloudCustomDomain_Kind + "." + CRDGroupVersion.String() + CloudCustomDomain_GroupVersionKind = CRDGroupVersion.WithKind(CloudCustomDomain_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudCustomDomain{}, &CloudCustomDomainList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudjavadeployment_terraformed.go b/apis/spring/v1alpha1/zz_cloudjavadeployment_terraformed.go new file mode 100755 index 000000000..7caba7d00 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudjavadeployment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudJavaDeployment +func (mg *CloudJavaDeployment) GetTerraformResourceType() string { + return "azurerm_spring_cloud_java_deployment" +} + +// GetConnectionDetailsMapping for this CloudJavaDeployment +func (tr *CloudJavaDeployment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this CloudJavaDeployment +func (tr *CloudJavaDeployment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudJavaDeployment +func (tr *CloudJavaDeployment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudJavaDeployment +func (tr *CloudJavaDeployment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudJavaDeployment +func (tr *CloudJavaDeployment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudJavaDeployment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudJavaDeployment) LateInitialize(attrs []byte) (bool, error) { + params := &CloudJavaDeploymentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudJavaDeployment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudjavadeployment_types.go b/apis/spring/v1alpha1/zz_cloudjavadeployment_types.go new file mode 100755 index 000000000..96bcb76e3 --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudjavadeployment_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudJavaDeploymentObservation struct { +} + +type CloudJavaDeploymentParameters struct { + + // +kubebuilder:validation:Optional + CPU *int64 `json:"cpu,omitempty" tf:"cpu,omitempty"` + + // +kubebuilder:validation:Optional + EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" tf:"environment_variables,omitempty"` + + // +kubebuilder:validation:Optional + InstanceCount *int64 `json:"instanceCount,omitempty" tf:"instance_count,omitempty"` + + // +kubebuilder:validation:Optional + JvmOptions *string `json:"jvmOptions,omitempty" tf:"jvm_options,omitempty"` + + // +kubebuilder:validation:Optional + MemoryInGb *int64 `json:"memoryInGb,omitempty" tf:"memory_in_gb,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"` + + // +kubebuilder:validation:Required + SpringCloudAppID *string `json:"springCloudAppId" tf:"spring_cloud_app_id,omitempty"` +} + +// CloudJavaDeploymentSpec defines the desired state of CloudJavaDeployment +type CloudJavaDeploymentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudJavaDeploymentParameters `json:"forProvider"` +} + +// CloudJavaDeploymentStatus defines the observed state of CloudJavaDeployment. +type CloudJavaDeploymentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudJavaDeploymentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudJavaDeployment is the Schema for the CloudJavaDeployments API +// +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,azurejet} +type CloudJavaDeployment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudJavaDeploymentSpec `json:"spec"` + Status CloudJavaDeploymentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudJavaDeploymentList contains a list of CloudJavaDeployments +type CloudJavaDeploymentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudJavaDeployment `json:"items"` +} + +// Repository type metadata. +var ( + CloudJavaDeployment_Kind = "CloudJavaDeployment" + CloudJavaDeployment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudJavaDeployment_Kind}.String() + CloudJavaDeployment_KindAPIVersion = CloudJavaDeployment_Kind + "." + CRDGroupVersion.String() + CloudJavaDeployment_GroupVersionKind = CRDGroupVersion.WithKind(CloudJavaDeployment_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudJavaDeployment{}, &CloudJavaDeploymentList{}) +} diff --git a/apis/spring/v1alpha1/zz_cloudservice_terraformed.go b/apis/spring/v1alpha1/zz_cloudservice_terraformed.go new file mode 100755 index 000000000..e5210918c --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this CloudService +func (mg *CloudService) GetTerraformResourceType() string { + return "azurerm_spring_cloud_service" +} + +// GetConnectionDetailsMapping for this CloudService +func (tr *CloudService) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"config_server_git_setting[*].http_basic_auth[*].password": "spec.forProvider.configServerGitSetting[*].httpBasicAuth[*].passwordSecretRef", "config_server_git_setting[*].repository[*].http_basic_auth[*].password": "spec.forProvider.configServerGitSetting[*].repository[*].httpBasicAuth[*].passwordSecretRef", "config_server_git_setting[*].repository[*].ssh_auth[*].host_key": "spec.forProvider.configServerGitSetting[*].repository[*].sshAuth[*].hostKeySecretRef", "config_server_git_setting[*].repository[*].ssh_auth[*].private_key": "spec.forProvider.configServerGitSetting[*].repository[*].sshAuth[*].privateKeySecretRef", "config_server_git_setting[*].ssh_auth[*].host_key": "spec.forProvider.configServerGitSetting[*].sshAuth[*].hostKeySecretRef", "config_server_git_setting[*].ssh_auth[*].private_key": "spec.forProvider.configServerGitSetting[*].sshAuth[*].privateKeySecretRef"} +} + +// GetObservation of this CloudService +func (tr *CloudService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this CloudService +func (tr *CloudService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this CloudService +func (tr *CloudService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this CloudService +func (tr *CloudService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this CloudService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *CloudService) LateInitialize(attrs []byte) (bool, error) { + params := &CloudServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *CloudService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/spring/v1alpha1/zz_cloudservice_types.go b/apis/spring/v1alpha1/zz_cloudservice_types.go new file mode 100755 index 000000000..83c2bd14f --- /dev/null +++ b/apis/spring/v1alpha1/zz_cloudservice_types.go @@ -0,0 +1,270 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CloudServiceObservation struct { + OutboundPublicIPAddresses []*string `json:"outboundPublicIpAddresses,omitempty" tf:"outbound_public_ip_addresses,omitempty"` + + RequiredNetworkTrafficRules []RequiredNetworkTrafficRulesObservation `json:"requiredNetworkTrafficRules,omitempty" tf:"required_network_traffic_rules,omitempty"` +} + +type CloudServiceParameters struct { + + // +kubebuilder:validation:Optional + ConfigServerGitSetting []ConfigServerGitSettingParameters `json:"configServerGitSetting,omitempty" tf:"config_server_git_setting,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Network []NetworkParameters `json:"network,omitempty" tf:"network,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuName *string `json:"skuName,omitempty" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Trace []TraceParameters `json:"trace,omitempty" tf:"trace,omitempty"` +} + +type ConfigServerGitSettingObservation struct { +} + +type ConfigServerGitSettingParameters struct { + + // +kubebuilder:validation:Optional + HTTPBasicAuth []HTTPBasicAuthParameters `json:"httpBasicAuth,omitempty" tf:"http_basic_auth,omitempty"` + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Optional + Repository []RepositoryParameters `json:"repository,omitempty" tf:"repository,omitempty"` + + // +kubebuilder:validation:Optional + SSHAuth []ConfigServerGitSettingSSHAuthParameters `json:"sshAuth,omitempty" tf:"ssh_auth,omitempty"` + + // +kubebuilder:validation:Optional + SearchPaths []*string `json:"searchPaths,omitempty" tf:"search_paths,omitempty"` + + // +kubebuilder:validation:Required + URI *string `json:"uri" tf:"uri,omitempty"` +} + +type ConfigServerGitSettingSSHAuthObservation struct { +} + +type ConfigServerGitSettingSSHAuthParameters struct { + + // +kubebuilder:validation:Optional + HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty" tf:"host_key_algorithm,omitempty"` + + // +kubebuilder:validation:Optional + HostKeySecretRef *v1.SecretKeySelector `json:"hostKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + StrictHostKeyCheckingEnabled *bool `json:"strictHostKeyCheckingEnabled,omitempty" tf:"strict_host_key_checking_enabled,omitempty"` +} + +type HTTPBasicAuthObservation struct { +} + +type HTTPBasicAuthParameters struct { + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type NetworkObservation struct { +} + +type NetworkParameters struct { + + // +kubebuilder:validation:Optional + AppNetworkResourceGroup *string `json:"appNetworkResourceGroup,omitempty" tf:"app_network_resource_group,omitempty"` + + // +kubebuilder:validation:Required + AppSubnetID *string `json:"appSubnetId" tf:"app_subnet_id,omitempty"` + + // +kubebuilder:validation:Required + CidrRanges []*string `json:"cidrRanges" tf:"cidr_ranges,omitempty"` + + // +kubebuilder:validation:Optional + ServiceRuntimeNetworkResourceGroup *string `json:"serviceRuntimeNetworkResourceGroup,omitempty" tf:"service_runtime_network_resource_group,omitempty"` + + // +kubebuilder:validation:Required + ServiceRuntimeSubnetID *string `json:"serviceRuntimeSubnetId" tf:"service_runtime_subnet_id,omitempty"` +} + +type RepositoryHTTPBasicAuthObservation struct { +} + +type RepositoryHTTPBasicAuthParameters struct { + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Username *string `json:"username" tf:"username,omitempty"` +} + +type RepositoryObservation struct { +} + +type RepositoryParameters struct { + + // +kubebuilder:validation:Optional + HTTPBasicAuth []RepositoryHTTPBasicAuthParameters `json:"httpBasicAuth,omitempty" tf:"http_basic_auth,omitempty"` + + // +kubebuilder:validation:Optional + Label *string `json:"label,omitempty" tf:"label,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Pattern []*string `json:"pattern,omitempty" tf:"pattern,omitempty"` + + // +kubebuilder:validation:Optional + SSHAuth []SSHAuthParameters `json:"sshAuth,omitempty" tf:"ssh_auth,omitempty"` + + // +kubebuilder:validation:Optional + SearchPaths []*string `json:"searchPaths,omitempty" tf:"search_paths,omitempty"` + + // +kubebuilder:validation:Required + URI *string `json:"uri" tf:"uri,omitempty"` +} + +type RequiredNetworkTrafficRulesObservation struct { + Direction *string `json:"direction,omitempty" tf:"direction,omitempty"` + + Fqdns []*string `json:"fqdns,omitempty" tf:"fqdns,omitempty"` + + IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` + + Port *int64 `json:"port,omitempty" tf:"port,omitempty"` + + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` +} + +type RequiredNetworkTrafficRulesParameters struct { +} + +type SSHAuthObservation struct { +} + +type SSHAuthParameters struct { + + // +kubebuilder:validation:Optional + HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty" tf:"host_key_algorithm,omitempty"` + + // +kubebuilder:validation:Optional + HostKeySecretRef *v1.SecretKeySelector `json:"hostKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + StrictHostKeyCheckingEnabled *bool `json:"strictHostKeyCheckingEnabled,omitempty" tf:"strict_host_key_checking_enabled,omitempty"` +} + +type TraceObservation struct { +} + +type TraceParameters struct { + + // +kubebuilder:validation:Optional + ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string,omitempty"` + + // +kubebuilder:validation:Optional + InstrumentationKey *string `json:"instrumentationKey,omitempty" tf:"instrumentation_key,omitempty"` + + // +kubebuilder:validation:Optional + SampleRate *float64 `json:"sampleRate,omitempty" tf:"sample_rate,omitempty"` +} + +// CloudServiceSpec defines the desired state of CloudService +type CloudServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider CloudServiceParameters `json:"forProvider"` +} + +// CloudServiceStatus defines the observed state of CloudService. +type CloudServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider CloudServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudService is the Schema for the CloudServices API +// +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,azurejet} +type CloudService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec CloudServiceSpec `json:"spec"` + Status CloudServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// CloudServiceList contains a list of CloudServices +type CloudServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []CloudService `json:"items"` +} + +// Repository type metadata. +var ( + CloudService_Kind = "CloudService" + CloudService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudService_Kind}.String() + CloudService_KindAPIVersion = CloudService_Kind + "." + CRDGroupVersion.String() + CloudService_GroupVersionKind = CRDGroupVersion.WithKind(CloudService_Kind) +) + +func init() { + SchemeBuilder.Register(&CloudService{}, &CloudServiceList{}) +} diff --git a/apis/spring/v1alpha1/zz_generated.deepcopy.go b/apis/spring/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..e8c26914d --- /dev/null +++ b/apis/spring/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2042 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudActiveDeployment) DeepCopyInto(out *CloudActiveDeployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudActiveDeployment. +func (in *CloudActiveDeployment) DeepCopy() *CloudActiveDeployment { + if in == nil { + return nil + } + out := new(CloudActiveDeployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudActiveDeployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudActiveDeploymentList) DeepCopyInto(out *CloudActiveDeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudActiveDeployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudActiveDeploymentList. +func (in *CloudActiveDeploymentList) DeepCopy() *CloudActiveDeploymentList { + if in == nil { + return nil + } + out := new(CloudActiveDeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudActiveDeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudActiveDeploymentObservation) DeepCopyInto(out *CloudActiveDeploymentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudActiveDeploymentObservation. +func (in *CloudActiveDeploymentObservation) DeepCopy() *CloudActiveDeploymentObservation { + if in == nil { + return nil + } + out := new(CloudActiveDeploymentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudActiveDeploymentParameters) DeepCopyInto(out *CloudActiveDeploymentParameters) { + *out = *in + if in.DeploymentName != nil { + in, out := &in.DeploymentName, &out.DeploymentName + *out = new(string) + **out = **in + } + if in.SpringCloudAppID != nil { + in, out := &in.SpringCloudAppID, &out.SpringCloudAppID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudActiveDeploymentParameters. +func (in *CloudActiveDeploymentParameters) DeepCopy() *CloudActiveDeploymentParameters { + if in == nil { + return nil + } + out := new(CloudActiveDeploymentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudActiveDeploymentSpec) DeepCopyInto(out *CloudActiveDeploymentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudActiveDeploymentSpec. +func (in *CloudActiveDeploymentSpec) DeepCopy() *CloudActiveDeploymentSpec { + if in == nil { + return nil + } + out := new(CloudActiveDeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudActiveDeploymentStatus) DeepCopyInto(out *CloudActiveDeploymentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudActiveDeploymentStatus. +func (in *CloudActiveDeploymentStatus) DeepCopy() *CloudActiveDeploymentStatus { + if in == nil { + return nil + } + out := new(CloudActiveDeploymentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudApp) DeepCopyInto(out *CloudApp) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudApp. +func (in *CloudApp) DeepCopy() *CloudApp { + if in == nil { + return nil + } + out := new(CloudApp) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudApp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppCosmosdbAssociation) DeepCopyInto(out *CloudAppCosmosdbAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppCosmosdbAssociation. +func (in *CloudAppCosmosdbAssociation) DeepCopy() *CloudAppCosmosdbAssociation { + if in == nil { + return nil + } + out := new(CloudAppCosmosdbAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppCosmosdbAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppCosmosdbAssociationList) DeepCopyInto(out *CloudAppCosmosdbAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudAppCosmosdbAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppCosmosdbAssociationList. +func (in *CloudAppCosmosdbAssociationList) DeepCopy() *CloudAppCosmosdbAssociationList { + if in == nil { + return nil + } + out := new(CloudAppCosmosdbAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppCosmosdbAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppCosmosdbAssociationObservation) DeepCopyInto(out *CloudAppCosmosdbAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppCosmosdbAssociationObservation. +func (in *CloudAppCosmosdbAssociationObservation) DeepCopy() *CloudAppCosmosdbAssociationObservation { + if in == nil { + return nil + } + out := new(CloudAppCosmosdbAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppCosmosdbAssociationParameters) DeepCopyInto(out *CloudAppCosmosdbAssociationParameters) { + *out = *in + if in.APIType != nil { + in, out := &in.APIType, &out.APIType + *out = new(string) + **out = **in + } + if in.CosmosdbAccessKey != nil { + in, out := &in.CosmosdbAccessKey, &out.CosmosdbAccessKey + *out = new(string) + **out = **in + } + if in.CosmosdbAccountID != nil { + in, out := &in.CosmosdbAccountID, &out.CosmosdbAccountID + *out = new(string) + **out = **in + } + if in.CosmosdbCassandraKeyspaceName != nil { + in, out := &in.CosmosdbCassandraKeyspaceName, &out.CosmosdbCassandraKeyspaceName + *out = new(string) + **out = **in + } + if in.CosmosdbGremlinDatabaseName != nil { + in, out := &in.CosmosdbGremlinDatabaseName, &out.CosmosdbGremlinDatabaseName + *out = new(string) + **out = **in + } + if in.CosmosdbGremlinGraphName != nil { + in, out := &in.CosmosdbGremlinGraphName, &out.CosmosdbGremlinGraphName + *out = new(string) + **out = **in + } + if in.CosmosdbMongoDatabaseName != nil { + in, out := &in.CosmosdbMongoDatabaseName, &out.CosmosdbMongoDatabaseName + *out = new(string) + **out = **in + } + if in.CosmosdbSQLDatabaseName != nil { + in, out := &in.CosmosdbSQLDatabaseName, &out.CosmosdbSQLDatabaseName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SpringCloudAppID != nil { + in, out := &in.SpringCloudAppID, &out.SpringCloudAppID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppCosmosdbAssociationParameters. +func (in *CloudAppCosmosdbAssociationParameters) DeepCopy() *CloudAppCosmosdbAssociationParameters { + if in == nil { + return nil + } + out := new(CloudAppCosmosdbAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppCosmosdbAssociationSpec) DeepCopyInto(out *CloudAppCosmosdbAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppCosmosdbAssociationSpec. +func (in *CloudAppCosmosdbAssociationSpec) DeepCopy() *CloudAppCosmosdbAssociationSpec { + if in == nil { + return nil + } + out := new(CloudAppCosmosdbAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppCosmosdbAssociationStatus) DeepCopyInto(out *CloudAppCosmosdbAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppCosmosdbAssociationStatus. +func (in *CloudAppCosmosdbAssociationStatus) DeepCopy() *CloudAppCosmosdbAssociationStatus { + if in == nil { + return nil + } + out := new(CloudAppCosmosdbAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppList) DeepCopyInto(out *CloudAppList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudApp, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppList. +func (in *CloudAppList) DeepCopy() *CloudAppList { + if in == nil { + return nil + } + out := new(CloudAppList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppMysqlAssociation) DeepCopyInto(out *CloudAppMysqlAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppMysqlAssociation. +func (in *CloudAppMysqlAssociation) DeepCopy() *CloudAppMysqlAssociation { + if in == nil { + return nil + } + out := new(CloudAppMysqlAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppMysqlAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppMysqlAssociationList) DeepCopyInto(out *CloudAppMysqlAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudAppMysqlAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppMysqlAssociationList. +func (in *CloudAppMysqlAssociationList) DeepCopy() *CloudAppMysqlAssociationList { + if in == nil { + return nil + } + out := new(CloudAppMysqlAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppMysqlAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppMysqlAssociationObservation) DeepCopyInto(out *CloudAppMysqlAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppMysqlAssociationObservation. +func (in *CloudAppMysqlAssociationObservation) DeepCopy() *CloudAppMysqlAssociationObservation { + if in == nil { + return nil + } + out := new(CloudAppMysqlAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppMysqlAssociationParameters) DeepCopyInto(out *CloudAppMysqlAssociationParameters) { + *out = *in + if in.DatabaseName != nil { + in, out := &in.DatabaseName, &out.DatabaseName + *out = new(string) + **out = **in + } + if in.MysqlServerID != nil { + in, out := &in.MysqlServerID, &out.MysqlServerID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.SpringCloudAppID != nil { + in, out := &in.SpringCloudAppID, &out.SpringCloudAppID + *out = new(string) + **out = **in + } + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppMysqlAssociationParameters. +func (in *CloudAppMysqlAssociationParameters) DeepCopy() *CloudAppMysqlAssociationParameters { + if in == nil { + return nil + } + out := new(CloudAppMysqlAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppMysqlAssociationSpec) DeepCopyInto(out *CloudAppMysqlAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppMysqlAssociationSpec. +func (in *CloudAppMysqlAssociationSpec) DeepCopy() *CloudAppMysqlAssociationSpec { + if in == nil { + return nil + } + out := new(CloudAppMysqlAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppMysqlAssociationStatus) DeepCopyInto(out *CloudAppMysqlAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppMysqlAssociationStatus. +func (in *CloudAppMysqlAssociationStatus) DeepCopy() *CloudAppMysqlAssociationStatus { + if in == nil { + return nil + } + out := new(CloudAppMysqlAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppObservation) DeepCopyInto(out *CloudAppObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppObservation. +func (in *CloudAppObservation) DeepCopy() *CloudAppObservation { + if in == nil { + return nil + } + out := new(CloudAppObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppParameters) DeepCopyInto(out *CloudAppParameters) { + *out = *in + if in.HTTPSOnly != nil { + in, out := &in.HTTPSOnly, &out.HTTPSOnly + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsPublic != nil { + in, out := &in.IsPublic, &out.IsPublic + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PersistentDisk != nil { + in, out := &in.PersistentDisk, &out.PersistentDisk + *out = make([]PersistentDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName + *out = new(string) + **out = **in + } + if in.TLSEnabled != nil { + in, out := &in.TLSEnabled, &out.TLSEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppParameters. +func (in *CloudAppParameters) DeepCopy() *CloudAppParameters { + if in == nil { + return nil + } + out := new(CloudAppParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppRedisAssociation) DeepCopyInto(out *CloudAppRedisAssociation) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppRedisAssociation. +func (in *CloudAppRedisAssociation) DeepCopy() *CloudAppRedisAssociation { + if in == nil { + return nil + } + out := new(CloudAppRedisAssociation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppRedisAssociation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppRedisAssociationList) DeepCopyInto(out *CloudAppRedisAssociationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudAppRedisAssociation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppRedisAssociationList. +func (in *CloudAppRedisAssociationList) DeepCopy() *CloudAppRedisAssociationList { + if in == nil { + return nil + } + out := new(CloudAppRedisAssociationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudAppRedisAssociationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppRedisAssociationObservation) DeepCopyInto(out *CloudAppRedisAssociationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppRedisAssociationObservation. +func (in *CloudAppRedisAssociationObservation) DeepCopy() *CloudAppRedisAssociationObservation { + if in == nil { + return nil + } + out := new(CloudAppRedisAssociationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppRedisAssociationParameters) DeepCopyInto(out *CloudAppRedisAssociationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RedisAccessKey != nil { + in, out := &in.RedisAccessKey, &out.RedisAccessKey + *out = new(string) + **out = **in + } + if in.RedisCacheID != nil { + in, out := &in.RedisCacheID, &out.RedisCacheID + *out = new(string) + **out = **in + } + if in.SpringCloudAppID != nil { + in, out := &in.SpringCloudAppID, &out.SpringCloudAppID + *out = new(string) + **out = **in + } + if in.SslEnabled != nil { + in, out := &in.SslEnabled, &out.SslEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppRedisAssociationParameters. +func (in *CloudAppRedisAssociationParameters) DeepCopy() *CloudAppRedisAssociationParameters { + if in == nil { + return nil + } + out := new(CloudAppRedisAssociationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppRedisAssociationSpec) DeepCopyInto(out *CloudAppRedisAssociationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppRedisAssociationSpec. +func (in *CloudAppRedisAssociationSpec) DeepCopy() *CloudAppRedisAssociationSpec { + if in == nil { + return nil + } + out := new(CloudAppRedisAssociationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppRedisAssociationStatus) DeepCopyInto(out *CloudAppRedisAssociationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppRedisAssociationStatus. +func (in *CloudAppRedisAssociationStatus) DeepCopy() *CloudAppRedisAssociationStatus { + if in == nil { + return nil + } + out := new(CloudAppRedisAssociationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppSpec) DeepCopyInto(out *CloudAppSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppSpec. +func (in *CloudAppSpec) DeepCopy() *CloudAppSpec { + if in == nil { + return nil + } + out := new(CloudAppSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudAppStatus) DeepCopyInto(out *CloudAppStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAppStatus. +func (in *CloudAppStatus) DeepCopy() *CloudAppStatus { + if in == nil { + return nil + } + out := new(CloudAppStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCertificate) DeepCopyInto(out *CloudCertificate) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCertificate. +func (in *CloudCertificate) DeepCopy() *CloudCertificate { + if in == nil { + return nil + } + out := new(CloudCertificate) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudCertificate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCertificateList) DeepCopyInto(out *CloudCertificateList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudCertificate, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCertificateList. +func (in *CloudCertificateList) DeepCopy() *CloudCertificateList { + if in == nil { + return nil + } + out := new(CloudCertificateList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudCertificateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCertificateObservation) DeepCopyInto(out *CloudCertificateObservation) { + *out = *in + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCertificateObservation. +func (in *CloudCertificateObservation) DeepCopy() *CloudCertificateObservation { + if in == nil { + return nil + } + out := new(CloudCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCertificateParameters) DeepCopyInto(out *CloudCertificateParameters) { + *out = *in + if in.KeyVaultCertificateID != nil { + in, out := &in.KeyVaultCertificateID, &out.KeyVaultCertificateID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServiceName != nil { + in, out := &in.ServiceName, &out.ServiceName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCertificateParameters. +func (in *CloudCertificateParameters) DeepCopy() *CloudCertificateParameters { + if in == nil { + return nil + } + out := new(CloudCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCertificateSpec) DeepCopyInto(out *CloudCertificateSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCertificateSpec. +func (in *CloudCertificateSpec) DeepCopy() *CloudCertificateSpec { + if in == nil { + return nil + } + out := new(CloudCertificateSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCertificateStatus) DeepCopyInto(out *CloudCertificateStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCertificateStatus. +func (in *CloudCertificateStatus) DeepCopy() *CloudCertificateStatus { + if in == nil { + return nil + } + out := new(CloudCertificateStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCustomDomain) DeepCopyInto(out *CloudCustomDomain) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCustomDomain. +func (in *CloudCustomDomain) DeepCopy() *CloudCustomDomain { + if in == nil { + return nil + } + out := new(CloudCustomDomain) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudCustomDomain) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCustomDomainList) DeepCopyInto(out *CloudCustomDomainList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudCustomDomain, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCustomDomainList. +func (in *CloudCustomDomainList) DeepCopy() *CloudCustomDomainList { + if in == nil { + return nil + } + out := new(CloudCustomDomainList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudCustomDomainList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCustomDomainObservation) DeepCopyInto(out *CloudCustomDomainObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCustomDomainObservation. +func (in *CloudCustomDomainObservation) DeepCopy() *CloudCustomDomainObservation { + if in == nil { + return nil + } + out := new(CloudCustomDomainObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCustomDomainParameters) DeepCopyInto(out *CloudCustomDomainParameters) { + *out = *in + if in.CertificateName != nil { + in, out := &in.CertificateName, &out.CertificateName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SpringCloudAppID != nil { + in, out := &in.SpringCloudAppID, &out.SpringCloudAppID + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCustomDomainParameters. +func (in *CloudCustomDomainParameters) DeepCopy() *CloudCustomDomainParameters { + if in == nil { + return nil + } + out := new(CloudCustomDomainParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCustomDomainSpec) DeepCopyInto(out *CloudCustomDomainSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCustomDomainSpec. +func (in *CloudCustomDomainSpec) DeepCopy() *CloudCustomDomainSpec { + if in == nil { + return nil + } + out := new(CloudCustomDomainSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudCustomDomainStatus) DeepCopyInto(out *CloudCustomDomainStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudCustomDomainStatus. +func (in *CloudCustomDomainStatus) DeepCopy() *CloudCustomDomainStatus { + if in == nil { + return nil + } + out := new(CloudCustomDomainStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudJavaDeployment) DeepCopyInto(out *CloudJavaDeployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudJavaDeployment. +func (in *CloudJavaDeployment) DeepCopy() *CloudJavaDeployment { + if in == nil { + return nil + } + out := new(CloudJavaDeployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudJavaDeployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudJavaDeploymentList) DeepCopyInto(out *CloudJavaDeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudJavaDeployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudJavaDeploymentList. +func (in *CloudJavaDeploymentList) DeepCopy() *CloudJavaDeploymentList { + if in == nil { + return nil + } + out := new(CloudJavaDeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudJavaDeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudJavaDeploymentObservation) DeepCopyInto(out *CloudJavaDeploymentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudJavaDeploymentObservation. +func (in *CloudJavaDeploymentObservation) DeepCopy() *CloudJavaDeploymentObservation { + if in == nil { + return nil + } + out := new(CloudJavaDeploymentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudJavaDeploymentParameters) DeepCopyInto(out *CloudJavaDeploymentParameters) { + *out = *in + if in.CPU != nil { + in, out := &in.CPU, &out.CPU + *out = new(int64) + **out = **in + } + if in.EnvironmentVariables != nil { + in, out := &in.EnvironmentVariables, &out.EnvironmentVariables + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.InstanceCount != nil { + in, out := &in.InstanceCount, &out.InstanceCount + *out = new(int64) + **out = **in + } + if in.JvmOptions != nil { + in, out := &in.JvmOptions, &out.JvmOptions + *out = new(string) + **out = **in + } + if in.MemoryInGb != nil { + in, out := &in.MemoryInGb, &out.MemoryInGb + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RuntimeVersion != nil { + in, out := &in.RuntimeVersion, &out.RuntimeVersion + *out = new(string) + **out = **in + } + if in.SpringCloudAppID != nil { + in, out := &in.SpringCloudAppID, &out.SpringCloudAppID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudJavaDeploymentParameters. +func (in *CloudJavaDeploymentParameters) DeepCopy() *CloudJavaDeploymentParameters { + if in == nil { + return nil + } + out := new(CloudJavaDeploymentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudJavaDeploymentSpec) DeepCopyInto(out *CloudJavaDeploymentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudJavaDeploymentSpec. +func (in *CloudJavaDeploymentSpec) DeepCopy() *CloudJavaDeploymentSpec { + if in == nil { + return nil + } + out := new(CloudJavaDeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudJavaDeploymentStatus) DeepCopyInto(out *CloudJavaDeploymentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudJavaDeploymentStatus. +func (in *CloudJavaDeploymentStatus) DeepCopy() *CloudJavaDeploymentStatus { + if in == nil { + return nil + } + out := new(CloudJavaDeploymentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudService) DeepCopyInto(out *CloudService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudService. +func (in *CloudService) DeepCopy() *CloudService { + if in == nil { + return nil + } + out := new(CloudService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudServiceList) DeepCopyInto(out *CloudServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]CloudService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudServiceList. +func (in *CloudServiceList) DeepCopy() *CloudServiceList { + if in == nil { + return nil + } + out := new(CloudServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *CloudServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudServiceObservation) DeepCopyInto(out *CloudServiceObservation) { + *out = *in + if in.OutboundPublicIPAddresses != nil { + in, out := &in.OutboundPublicIPAddresses, &out.OutboundPublicIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RequiredNetworkTrafficRules != nil { + in, out := &in.RequiredNetworkTrafficRules, &out.RequiredNetworkTrafficRules + *out = make([]RequiredNetworkTrafficRulesObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudServiceObservation. +func (in *CloudServiceObservation) DeepCopy() *CloudServiceObservation { + if in == nil { + return nil + } + out := new(CloudServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudServiceParameters) DeepCopyInto(out *CloudServiceParameters) { + *out = *in + if in.ConfigServerGitSetting != nil { + in, out := &in.ConfigServerGitSetting, &out.ConfigServerGitSetting + *out = make([]ConfigServerGitSettingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Network != nil { + in, out := &in.Network, &out.Network + *out = make([]NetworkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Trace != nil { + in, out := &in.Trace, &out.Trace + *out = make([]TraceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudServiceParameters. +func (in *CloudServiceParameters) DeepCopy() *CloudServiceParameters { + if in == nil { + return nil + } + out := new(CloudServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudServiceSpec) DeepCopyInto(out *CloudServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudServiceSpec. +func (in *CloudServiceSpec) DeepCopy() *CloudServiceSpec { + if in == nil { + return nil + } + out := new(CloudServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CloudServiceStatus) DeepCopyInto(out *CloudServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudServiceStatus. +func (in *CloudServiceStatus) DeepCopy() *CloudServiceStatus { + if in == nil { + return nil + } + out := new(CloudServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigServerGitSettingObservation) DeepCopyInto(out *ConfigServerGitSettingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigServerGitSettingObservation. +func (in *ConfigServerGitSettingObservation) DeepCopy() *ConfigServerGitSettingObservation { + if in == nil { + return nil + } + out := new(ConfigServerGitSettingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigServerGitSettingParameters) DeepCopyInto(out *ConfigServerGitSettingParameters) { + *out = *in + if in.HTTPBasicAuth != nil { + in, out := &in.HTTPBasicAuth, &out.HTTPBasicAuth + *out = make([]HTTPBasicAuthParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.Repository != nil { + in, out := &in.Repository, &out.Repository + *out = make([]RepositoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SSHAuth != nil { + in, out := &in.SSHAuth, &out.SSHAuth + *out = make([]ConfigServerGitSettingSSHAuthParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SearchPaths != nil { + in, out := &in.SearchPaths, &out.SearchPaths + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigServerGitSettingParameters. +func (in *ConfigServerGitSettingParameters) DeepCopy() *ConfigServerGitSettingParameters { + if in == nil { + return nil + } + out := new(ConfigServerGitSettingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigServerGitSettingSSHAuthObservation) DeepCopyInto(out *ConfigServerGitSettingSSHAuthObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigServerGitSettingSSHAuthObservation. +func (in *ConfigServerGitSettingSSHAuthObservation) DeepCopy() *ConfigServerGitSettingSSHAuthObservation { + if in == nil { + return nil + } + out := new(ConfigServerGitSettingSSHAuthObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ConfigServerGitSettingSSHAuthParameters) DeepCopyInto(out *ConfigServerGitSettingSSHAuthParameters) { + *out = *in + if in.HostKeyAlgorithm != nil { + in, out := &in.HostKeyAlgorithm, &out.HostKeyAlgorithm + *out = new(string) + **out = **in + } + if in.HostKeySecretRef != nil { + in, out := &in.HostKeySecretRef, &out.HostKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + out.PrivateKeySecretRef = in.PrivateKeySecretRef + if in.StrictHostKeyCheckingEnabled != nil { + in, out := &in.StrictHostKeyCheckingEnabled, &out.StrictHostKeyCheckingEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigServerGitSettingSSHAuthParameters. +func (in *ConfigServerGitSettingSSHAuthParameters) DeepCopy() *ConfigServerGitSettingSSHAuthParameters { + if in == nil { + return nil + } + out := new(ConfigServerGitSettingSSHAuthParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPBasicAuthObservation) DeepCopyInto(out *HTTPBasicAuthObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBasicAuthObservation. +func (in *HTTPBasicAuthObservation) DeepCopy() *HTTPBasicAuthObservation { + if in == nil { + return nil + } + out := new(HTTPBasicAuthObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HTTPBasicAuthParameters) DeepCopyInto(out *HTTPBasicAuthParameters) { + *out = *in + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPBasicAuthParameters. +func (in *HTTPBasicAuthParameters) DeepCopy() *HTTPBasicAuthParameters { + if in == nil { + return nil + } + out := new(HTTPBasicAuthParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkObservation) DeepCopyInto(out *NetworkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkObservation. +func (in *NetworkObservation) DeepCopy() *NetworkObservation { + if in == nil { + return nil + } + out := new(NetworkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkParameters) DeepCopyInto(out *NetworkParameters) { + *out = *in + if in.AppNetworkResourceGroup != nil { + in, out := &in.AppNetworkResourceGroup, &out.AppNetworkResourceGroup + *out = new(string) + **out = **in + } + if in.AppSubnetID != nil { + in, out := &in.AppSubnetID, &out.AppSubnetID + *out = new(string) + **out = **in + } + if in.CidrRanges != nil { + in, out := &in.CidrRanges, &out.CidrRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ServiceRuntimeNetworkResourceGroup != nil { + in, out := &in.ServiceRuntimeNetworkResourceGroup, &out.ServiceRuntimeNetworkResourceGroup + *out = new(string) + **out = **in + } + if in.ServiceRuntimeSubnetID != nil { + in, out := &in.ServiceRuntimeSubnetID, &out.ServiceRuntimeSubnetID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkParameters. +func (in *NetworkParameters) DeepCopy() *NetworkParameters { + if in == nil { + return nil + } + out := new(NetworkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PersistentDiskObservation) DeepCopyInto(out *PersistentDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentDiskObservation. +func (in *PersistentDiskObservation) DeepCopy() *PersistentDiskObservation { + if in == nil { + return nil + } + out := new(PersistentDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PersistentDiskParameters) DeepCopyInto(out *PersistentDiskParameters) { + *out = *in + if in.MountPath != nil { + in, out := &in.MountPath, &out.MountPath + *out = new(string) + **out = **in + } + if in.SizeInGb != nil { + in, out := &in.SizeInGb, &out.SizeInGb + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentDiskParameters. +func (in *PersistentDiskParameters) DeepCopy() *PersistentDiskParameters { + if in == nil { + return nil + } + out := new(PersistentDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepositoryHTTPBasicAuthObservation) DeepCopyInto(out *RepositoryHTTPBasicAuthObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryHTTPBasicAuthObservation. +func (in *RepositoryHTTPBasicAuthObservation) DeepCopy() *RepositoryHTTPBasicAuthObservation { + if in == nil { + return nil + } + out := new(RepositoryHTTPBasicAuthObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepositoryHTTPBasicAuthParameters) DeepCopyInto(out *RepositoryHTTPBasicAuthParameters) { + *out = *in + out.PasswordSecretRef = in.PasswordSecretRef + if in.Username != nil { + in, out := &in.Username, &out.Username + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryHTTPBasicAuthParameters. +func (in *RepositoryHTTPBasicAuthParameters) DeepCopy() *RepositoryHTTPBasicAuthParameters { + if in == nil { + return nil + } + out := new(RepositoryHTTPBasicAuthParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryObservation. +func (in *RepositoryObservation) DeepCopy() *RepositoryObservation { + if in == nil { + return nil + } + out := new(RepositoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters) { + *out = *in + if in.HTTPBasicAuth != nil { + in, out := &in.HTTPBasicAuth, &out.HTTPBasicAuth + *out = make([]RepositoryHTTPBasicAuthParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Label != nil { + in, out := &in.Label, &out.Label + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Pattern != nil { + in, out := &in.Pattern, &out.Pattern + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SSHAuth != nil { + in, out := &in.SSHAuth, &out.SSHAuth + *out = make([]SSHAuthParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SearchPaths != nil { + in, out := &in.SearchPaths, &out.SearchPaths + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.URI != nil { + in, out := &in.URI, &out.URI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryParameters. +func (in *RepositoryParameters) DeepCopy() *RepositoryParameters { + if in == nil { + return nil + } + out := new(RepositoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequiredNetworkTrafficRulesObservation) DeepCopyInto(out *RequiredNetworkTrafficRulesObservation) { + *out = *in + if in.Direction != nil { + in, out := &in.Direction, &out.Direction + *out = new(string) + **out = **in + } + if in.Fqdns != nil { + in, out := &in.Fqdns, &out.Fqdns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPAddresses != nil { + in, out := &in.IPAddresses, &out.IPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredNetworkTrafficRulesObservation. +func (in *RequiredNetworkTrafficRulesObservation) DeepCopy() *RequiredNetworkTrafficRulesObservation { + if in == nil { + return nil + } + out := new(RequiredNetworkTrafficRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequiredNetworkTrafficRulesParameters) DeepCopyInto(out *RequiredNetworkTrafficRulesParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredNetworkTrafficRulesParameters. +func (in *RequiredNetworkTrafficRulesParameters) DeepCopy() *RequiredNetworkTrafficRulesParameters { + if in == nil { + return nil + } + out := new(RequiredNetworkTrafficRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SSHAuthObservation) DeepCopyInto(out *SSHAuthObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHAuthObservation. +func (in *SSHAuthObservation) DeepCopy() *SSHAuthObservation { + if in == nil { + return nil + } + out := new(SSHAuthObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SSHAuthParameters) DeepCopyInto(out *SSHAuthParameters) { + *out = *in + if in.HostKeyAlgorithm != nil { + in, out := &in.HostKeyAlgorithm, &out.HostKeyAlgorithm + *out = new(string) + **out = **in + } + if in.HostKeySecretRef != nil { + in, out := &in.HostKeySecretRef, &out.HostKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + out.PrivateKeySecretRef = in.PrivateKeySecretRef + if in.StrictHostKeyCheckingEnabled != nil { + in, out := &in.StrictHostKeyCheckingEnabled, &out.StrictHostKeyCheckingEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHAuthParameters. +func (in *SSHAuthParameters) DeepCopy() *SSHAuthParameters { + if in == nil { + return nil + } + out := new(SSHAuthParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TraceObservation) DeepCopyInto(out *TraceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceObservation. +func (in *TraceObservation) DeepCopy() *TraceObservation { + if in == nil { + return nil + } + out := new(TraceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TraceParameters) DeepCopyInto(out *TraceParameters) { + *out = *in + if in.ConnectionString != nil { + in, out := &in.ConnectionString, &out.ConnectionString + *out = new(string) + **out = **in + } + if in.InstrumentationKey != nil { + in, out := &in.InstrumentationKey, &out.InstrumentationKey + *out = new(string) + **out = **in + } + if in.SampleRate != nil { + in, out := &in.SampleRate, &out.SampleRate + *out = new(float64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceParameters. +func (in *TraceParameters) DeepCopy() *TraceParameters { + if in == nil { + return nil + } + out := new(TraceParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/spring/v1alpha1/zz_generated.managed.go b/apis/spring/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..cccd2c2b3 --- /dev/null +++ b/apis/spring/v1alpha1/zz_generated.managed.go @@ -0,0 +1,524 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudActiveDeployment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudActiveDeployment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudActiveDeployment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudActiveDeployment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudActiveDeployment. +func (mg *CloudActiveDeployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudApp. +func (mg *CloudApp) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudApp. +func (mg *CloudApp) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudApp. +func (mg *CloudApp) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudApp. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudApp) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudApp. +func (mg *CloudApp) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudApp. +func (mg *CloudApp) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudApp. +func (mg *CloudApp) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudApp. +func (mg *CloudApp) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudApp. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudApp) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudApp. +func (mg *CloudApp) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudAppCosmosdbAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudAppCosmosdbAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudAppCosmosdbAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudAppCosmosdbAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudAppCosmosdbAssociation. +func (mg *CloudAppCosmosdbAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudAppMysqlAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudAppMysqlAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudAppMysqlAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudAppMysqlAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudAppMysqlAssociation. +func (mg *CloudAppMysqlAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudAppRedisAssociation. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudAppRedisAssociation) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudAppRedisAssociation. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudAppRedisAssociation) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudAppRedisAssociation. +func (mg *CloudAppRedisAssociation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudCertificate. +func (mg *CloudCertificate) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudCertificate. +func (mg *CloudCertificate) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudCertificate. +func (mg *CloudCertificate) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudCertificate. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudCertificate) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudCertificate. +func (mg *CloudCertificate) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudCertificate. +func (mg *CloudCertificate) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudCertificate. +func (mg *CloudCertificate) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudCertificate. +func (mg *CloudCertificate) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudCertificate. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudCertificate) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudCertificate. +func (mg *CloudCertificate) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudCustomDomain. +func (mg *CloudCustomDomain) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudCustomDomain. +func (mg *CloudCustomDomain) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudCustomDomain. +func (mg *CloudCustomDomain) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudCustomDomain. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudCustomDomain) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudCustomDomain. +func (mg *CloudCustomDomain) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudCustomDomain. +func (mg *CloudCustomDomain) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudCustomDomain. +func (mg *CloudCustomDomain) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudCustomDomain. +func (mg *CloudCustomDomain) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudCustomDomain. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudCustomDomain) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudCustomDomain. +func (mg *CloudCustomDomain) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudJavaDeployment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudJavaDeployment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudJavaDeployment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudJavaDeployment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudJavaDeployment. +func (mg *CloudJavaDeployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this CloudService. +func (mg *CloudService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this CloudService. +func (mg *CloudService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this CloudService. +func (mg *CloudService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this CloudService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *CloudService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this CloudService. +func (mg *CloudService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this CloudService. +func (mg *CloudService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this CloudService. +func (mg *CloudService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this CloudService. +func (mg *CloudService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this CloudService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *CloudService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this CloudService. +func (mg *CloudService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/spring/v1alpha1/zz_generated.managedlist.go b/apis/spring/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b6bd45659 --- /dev/null +++ b/apis/spring/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,101 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this CloudActiveDeploymentList. +func (l *CloudActiveDeploymentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudAppCosmosdbAssociationList. +func (l *CloudAppCosmosdbAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudAppList. +func (l *CloudAppList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudAppMysqlAssociationList. +func (l *CloudAppMysqlAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudAppRedisAssociationList. +func (l *CloudAppRedisAssociationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudCertificateList. +func (l *CloudCertificateList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudCustomDomainList. +func (l *CloudCustomDomainList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudJavaDeploymentList. +func (l *CloudJavaDeploymentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this CloudServiceList. +func (l *CloudServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/spring/v1alpha1/zz_groupversion_info.go b/apis/spring/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..93e18cbb2 --- /dev/null +++ b/apis/spring/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=spring.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "spring.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/sql/v1alpha1/zz_activedirectoryadministrator_terraformed.go b/apis/sql/v1alpha1/zz_activedirectoryadministrator_terraformed.go new file mode 100755 index 000000000..97a011e9c --- /dev/null +++ b/apis/sql/v1alpha1/zz_activedirectoryadministrator_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ActiveDirectoryAdministrator +func (mg *ActiveDirectoryAdministrator) GetTerraformResourceType() string { + return "azurerm_sql_active_directory_administrator" +} + +// GetConnectionDetailsMapping for this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ActiveDirectoryAdministrator +func (tr *ActiveDirectoryAdministrator) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ActiveDirectoryAdministrator using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ActiveDirectoryAdministrator) LateInitialize(attrs []byte) (bool, error) { + params := &ActiveDirectoryAdministratorParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ActiveDirectoryAdministrator) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sql/v1alpha1/zz_activedirectoryadministrator_types.go b/apis/sql/v1alpha1/zz_activedirectoryadministrator_types.go new file mode 100755 index 000000000..a6e27f731 --- /dev/null +++ b/apis/sql/v1alpha1/zz_activedirectoryadministrator_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActiveDirectoryAdministratorObservation struct { +} + +type ActiveDirectoryAdministratorParameters struct { + + // +kubebuilder:validation:Required + Login *string `json:"login" tf:"login,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +// ActiveDirectoryAdministratorSpec defines the desired state of ActiveDirectoryAdministrator +type ActiveDirectoryAdministratorSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ActiveDirectoryAdministratorParameters `json:"forProvider"` +} + +// ActiveDirectoryAdministratorStatus defines the observed state of ActiveDirectoryAdministrator. +type ActiveDirectoryAdministratorStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ActiveDirectoryAdministratorObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActiveDirectoryAdministrator is the Schema for the ActiveDirectoryAdministrators API +// +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,azurejet} +type ActiveDirectoryAdministrator struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ActiveDirectoryAdministratorSpec `json:"spec"` + Status ActiveDirectoryAdministratorStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ActiveDirectoryAdministratorList contains a list of ActiveDirectoryAdministrators +type ActiveDirectoryAdministratorList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ActiveDirectoryAdministrator `json:"items"` +} + +// Repository type metadata. +var ( + ActiveDirectoryAdministrator_Kind = "ActiveDirectoryAdministrator" + ActiveDirectoryAdministrator_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ActiveDirectoryAdministrator_Kind}.String() + ActiveDirectoryAdministrator_KindAPIVersion = ActiveDirectoryAdministrator_Kind + "." + CRDGroupVersion.String() + ActiveDirectoryAdministrator_GroupVersionKind = CRDGroupVersion.WithKind(ActiveDirectoryAdministrator_Kind) +) + +func init() { + SchemeBuilder.Register(&ActiveDirectoryAdministrator{}, &ActiveDirectoryAdministratorList{}) +} diff --git a/apis/sql/v1alpha1/zz_database_terraformed.go b/apis/sql/v1alpha1/zz_database_terraformed.go new file mode 100755 index 000000000..8a4f6b01f --- /dev/null +++ b/apis/sql/v1alpha1/zz_database_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Database +func (mg *Database) GetTerraformResourceType() string { + return "azurerm_sql_database" +} + +// GetConnectionDetailsMapping for this Database +func (tr *Database) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"extended_auditing_policy[*].storage_account_access_key": "spec.forProvider.extendedAuditingPolicy[*].storageAccountAccessKeySecretRef", "import[*].administrator_login_password": "spec.forProvider.import[*].administratorLoginPasswordSecretRef", "import[*].storage_key": "spec.forProvider.import[*].storageKeySecretRef", "threat_detection_policy[*].storage_account_access_key": "spec.forProvider.threatDetectionPolicy[*].storageAccountAccessKeySecretRef"} +} + +// GetObservation of this Database +func (tr *Database) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Database +func (tr *Database) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Database +func (tr *Database) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Database +func (tr *Database) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Database using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Database) LateInitialize(attrs []byte) (bool, error) { + params := &DatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Database) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sql/v1alpha1/zz_database_types.go b/apis/sql/v1alpha1/zz_database_types.go new file mode 100755 index 000000000..da992aa54 --- /dev/null +++ b/apis/sql/v1alpha1/zz_database_types.go @@ -0,0 +1,227 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DatabaseObservation struct { + CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"` + + DefaultSecondaryLocation *string `json:"defaultSecondaryLocation,omitempty" tf:"default_secondary_location,omitempty"` + + Encryption *string `json:"encryption,omitempty" tf:"encryption,omitempty"` +} + +type DatabaseParameters struct { + + // +kubebuilder:validation:Optional + Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` + + // +kubebuilder:validation:Optional + CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"` + + // +kubebuilder:validation:Optional + Edition *string `json:"edition,omitempty" tf:"edition,omitempty"` + + // +kubebuilder:validation:Optional + ElasticPoolName *string `json:"elasticPoolName,omitempty" tf:"elastic_pool_name,omitempty"` + + // +kubebuilder:validation:Optional + ExtendedAuditingPolicy []ExtendedAuditingPolicyParameters `json:"extendedAuditingPolicy,omitempty" tf:"extended_auditing_policy,omitempty"` + + // +kubebuilder:validation:Optional + Import []ImportParameters `json:"import,omitempty" tf:"import,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeBytes *string `json:"maxSizeBytes,omitempty" tf:"max_size_bytes,omitempty"` + + // +kubebuilder:validation:Optional + MaxSizeGb *string `json:"maxSizeGb,omitempty" tf:"max_size_gb,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ReadScale *bool `json:"readScale,omitempty" tf:"read_scale,omitempty"` + + // +kubebuilder:validation:Optional + RequestedServiceObjectiveID *string `json:"requestedServiceObjectiveId,omitempty" tf:"requested_service_objective_id,omitempty"` + + // +kubebuilder:validation:Optional + RequestedServiceObjectiveName *string `json:"requestedServiceObjectiveName,omitempty" tf:"requested_service_objective_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RestorePointInTime *string `json:"restorePointInTime,omitempty" tf:"restore_point_in_time,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Optional + SourceDatabaseDeletionDate *string `json:"sourceDatabaseDeletionDate,omitempty" tf:"source_database_deletion_date,omitempty"` + + // +kubebuilder:validation:Optional + SourceDatabaseID *string `json:"sourceDatabaseId,omitempty" tf:"source_database_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + ThreatDetectionPolicy []ThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"` + + // +kubebuilder:validation:Optional + ZoneRedundant *bool `json:"zoneRedundant,omitempty" tf:"zone_redundant,omitempty"` +} + +type ExtendedAuditingPolicyObservation struct { +} + +type ExtendedAuditingPolicyParameters struct { + + // +kubebuilder:validation:Optional + LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionInDays *int64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeyIsSecondary *bool `json:"storageAccountAccessKeyIsSecondary,omitempty" tf:"storage_account_access_key_is_secondary,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +type ImportObservation struct { +} + +type ImportParameters struct { + + // +kubebuilder:validation:Required + AdministratorLogin *string `json:"administratorLogin" tf:"administrator_login,omitempty"` + + // +kubebuilder:validation:Required + AdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + AuthenticationType *string `json:"authenticationType" tf:"authentication_type,omitempty"` + + // +kubebuilder:validation:Optional + OperationMode *string `json:"operationMode,omitempty" tf:"operation_mode,omitempty"` + + // +kubebuilder:validation:Required + StorageKeySecretRef v1.SecretKeySelector `json:"storageKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageKeyType *string `json:"storageKeyType" tf:"storage_key_type,omitempty"` + + // +kubebuilder:validation:Required + StorageURI *string `json:"storageUri" tf:"storage_uri,omitempty"` +} + +type ThreatDetectionPolicyObservation struct { +} + +type ThreatDetectionPolicyParameters struct { + + // +kubebuilder:validation:Optional + DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` + + // +kubebuilder:validation:Optional + EmailAccountAdmins *string `json:"emailAccountAdmins,omitempty" tf:"email_account_admins,omitempty"` + + // +kubebuilder:validation:Optional + EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDays *int64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` + + // +kubebuilder:validation:Optional + State *string `json:"state,omitempty" tf:"state,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` + + // +kubebuilder:validation:Optional + UseServerDefault *string `json:"useServerDefault,omitempty" tf:"use_server_default,omitempty"` +} + +// DatabaseSpec defines the desired state of Database +type DatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DatabaseParameters `json:"forProvider"` +} + +// DatabaseStatus defines the observed state of Database. +type DatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Database is the Schema for the Databases API +// +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,azurejet} +type Database struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DatabaseSpec `json:"spec"` + Status DatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DatabaseList contains a list of Databases +type DatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Database `json:"items"` +} + +// Repository type metadata. +var ( + Database_Kind = "Database" + Database_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String() + Database_KindAPIVersion = Database_Kind + "." + CRDGroupVersion.String() + Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind) +) + +func init() { + SchemeBuilder.Register(&Database{}, &DatabaseList{}) +} diff --git a/apis/sql/v1alpha1/zz_elasticpool_terraformed.go b/apis/sql/v1alpha1/zz_elasticpool_terraformed.go new file mode 100755 index 000000000..dfeb7f003 --- /dev/null +++ b/apis/sql/v1alpha1/zz_elasticpool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Elasticpool +func (mg *Elasticpool) GetTerraformResourceType() string { + return "azurerm_sql_elasticpool" +} + +// GetConnectionDetailsMapping for this Elasticpool +func (tr *Elasticpool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Elasticpool +func (tr *Elasticpool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Elasticpool +func (tr *Elasticpool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Elasticpool +func (tr *Elasticpool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Elasticpool +func (tr *Elasticpool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Elasticpool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Elasticpool) LateInitialize(attrs []byte) (bool, error) { + params := &ElasticpoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Elasticpool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sql/v1alpha1/zz_elasticpool_types.go b/apis/sql/v1alpha1/zz_elasticpool_types.go new file mode 100755 index 000000000..a021e6fc9 --- /dev/null +++ b/apis/sql/v1alpha1/zz_elasticpool_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ElasticpoolObservation struct { + CreationDate *string `json:"creationDate,omitempty" tf:"creation_date,omitempty"` +} + +type ElasticpoolParameters struct { + + // +kubebuilder:validation:Optional + DBDtuMax *int64 `json:"dbDtuMax,omitempty" tf:"db_dtu_max,omitempty"` + + // +kubebuilder:validation:Optional + DBDtuMin *int64 `json:"dbDtuMin,omitempty" tf:"db_dtu_min,omitempty"` + + // +kubebuilder:validation:Required + Dtu *int64 `json:"dtu" tf:"dtu,omitempty"` + + // +kubebuilder:validation:Required + Edition *string `json:"edition" tf:"edition,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PoolSize *int64 `json:"poolSize,omitempty" tf:"pool_size,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// ElasticpoolSpec defines the desired state of Elasticpool +type ElasticpoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ElasticpoolParameters `json:"forProvider"` +} + +// ElasticpoolStatus defines the observed state of Elasticpool. +type ElasticpoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ElasticpoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Elasticpool is the Schema for the Elasticpools API +// +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,azurejet} +type Elasticpool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ElasticpoolSpec `json:"spec"` + Status ElasticpoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ElasticpoolList contains a list of Elasticpools +type ElasticpoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Elasticpool `json:"items"` +} + +// Repository type metadata. +var ( + Elasticpool_Kind = "Elasticpool" + Elasticpool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Elasticpool_Kind}.String() + Elasticpool_KindAPIVersion = Elasticpool_Kind + "." + CRDGroupVersion.String() + Elasticpool_GroupVersionKind = CRDGroupVersion.WithKind(Elasticpool_Kind) +) + +func init() { + SchemeBuilder.Register(&Elasticpool{}, &ElasticpoolList{}) +} diff --git a/apis/sql/v1alpha1/zz_firewallrule_terraformed.go b/apis/sql/v1alpha1/zz_firewallrule_terraformed.go new file mode 100755 index 000000000..e8d97f343 --- /dev/null +++ b/apis/sql/v1alpha1/zz_firewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallRule +func (mg *FirewallRule) GetTerraformResourceType() string { + return "azurerm_sql_firewall_rule" +} + +// GetConnectionDetailsMapping for this FirewallRule +func (tr *FirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallRule +func (tr *FirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallRule +func (tr *FirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallRule +func (tr *FirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallRule +func (tr *FirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sql/v1alpha1/zz_firewallrule_types.go b/apis/sql/v1alpha1/zz_firewallrule_types.go new file mode 100755 index 000000000..45764c716 --- /dev/null +++ b/apis/sql/v1alpha1/zz_firewallrule_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallRuleObservation struct { +} + +type FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + ServerName *string `json:"serverName" tf:"server_name,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` +} + +// FirewallRuleSpec defines the desired state of FirewallRule +type FirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallRuleParameters `json:"forProvider"` +} + +// FirewallRuleStatus defines the observed state of FirewallRule. +type FirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRule is the Schema for the FirewallRules API +// +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,azurejet} +type FirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallRuleSpec `json:"spec"` + Status FirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRuleList contains a list of FirewallRules +type FirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + FirewallRule_Kind = "FirewallRule" + FirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String() + FirewallRule_KindAPIVersion = FirewallRule_Kind + "." + CRDGroupVersion.String() + FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallRule{}, &FirewallRuleList{}) +} diff --git a/apis/sql/v1alpha1/zz_generated.deepcopy.go b/apis/sql/v1alpha1/zz_generated.deepcopy.go index c21f12324..0a0cd1358 100644 --- a/apis/sql/v1alpha1/zz_generated.deepcopy.go +++ b/apis/sql/v1alpha1/zz_generated.deepcopy.go @@ -25,102 +25,1254 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministrator) DeepCopyInto(out *ActiveDirectoryAdministrator) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministrator. +func (in *ActiveDirectoryAdministrator) DeepCopy() *ActiveDirectoryAdministrator { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministrator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActiveDirectoryAdministrator) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorList) DeepCopyInto(out *ActiveDirectoryAdministratorList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ActiveDirectoryAdministrator, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorList. +func (in *ActiveDirectoryAdministratorList) DeepCopy() *ActiveDirectoryAdministratorList { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ActiveDirectoryAdministratorList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorObservation) DeepCopyInto(out *ActiveDirectoryAdministratorObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorObservation. +func (in *ActiveDirectoryAdministratorObservation) DeepCopy() *ActiveDirectoryAdministratorObservation { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorParameters) DeepCopyInto(out *ActiveDirectoryAdministratorParameters) { + *out = *in + if in.Login != nil { + in, out := &in.Login, &out.Login + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorParameters. +func (in *ActiveDirectoryAdministratorParameters) DeepCopy() *ActiveDirectoryAdministratorParameters { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorSpec) DeepCopyInto(out *ActiveDirectoryAdministratorSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorSpec. +func (in *ActiveDirectoryAdministratorSpec) DeepCopy() *ActiveDirectoryAdministratorSpec { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryAdministratorStatus) DeepCopyInto(out *ActiveDirectoryAdministratorStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryAdministratorStatus. +func (in *ActiveDirectoryAdministratorStatus) DeepCopy() *ActiveDirectoryAdministratorStatus { + if in == nil { + return nil + } + out := new(ActiveDirectoryAdministratorStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Database) DeepCopyInto(out *Database) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database. +func (in *Database) DeepCopy() *Database { + if in == nil { + return nil + } + out := new(Database) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Database) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseList) DeepCopyInto(out *DatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Database, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList. +func (in *DatabaseList) DeepCopy() *DatabaseList { + if in == nil { + return nil + } + out := new(DatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { + *out = *in + if in.CreationDate != nil { + in, out := &in.CreationDate, &out.CreationDate + *out = new(string) + **out = **in + } + if in.DefaultSecondaryLocation != nil { + in, out := &in.DefaultSecondaryLocation, &out.DefaultSecondaryLocation + *out = new(string) + **out = **in + } + if in.Encryption != nil { + in, out := &in.Encryption, &out.Encryption + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation. +func (in *DatabaseObservation) DeepCopy() *DatabaseObservation { + if in == nil { + return nil + } + out := new(DatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { + *out = *in + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.CreateMode != nil { + in, out := &in.CreateMode, &out.CreateMode + *out = new(string) + **out = **in + } + if in.Edition != nil { + in, out := &in.Edition, &out.Edition + *out = new(string) + **out = **in + } + if in.ElasticPoolName != nil { + in, out := &in.ElasticPoolName, &out.ElasticPoolName + *out = new(string) + **out = **in + } + if in.ExtendedAuditingPolicy != nil { + in, out := &in.ExtendedAuditingPolicy, &out.ExtendedAuditingPolicy + *out = make([]ExtendedAuditingPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Import != nil { + in, out := &in.Import, &out.Import + *out = make([]ImportParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxSizeBytes != nil { + in, out := &in.MaxSizeBytes, &out.MaxSizeBytes + *out = new(string) + **out = **in + } + if in.MaxSizeGb != nil { + in, out := &in.MaxSizeGb, &out.MaxSizeGb + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ReadScale != nil { + in, out := &in.ReadScale, &out.ReadScale + *out = new(bool) + **out = **in + } + if in.RequestedServiceObjectiveID != nil { + in, out := &in.RequestedServiceObjectiveID, &out.RequestedServiceObjectiveID + *out = new(string) + **out = **in + } + if in.RequestedServiceObjectiveName != nil { + in, out := &in.RequestedServiceObjectiveName, &out.RequestedServiceObjectiveName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RestorePointInTime != nil { + in, out := &in.RestorePointInTime, &out.RestorePointInTime + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.SourceDatabaseDeletionDate != nil { + in, out := &in.SourceDatabaseDeletionDate, &out.SourceDatabaseDeletionDate + *out = new(string) + **out = **in + } + if in.SourceDatabaseID != nil { + in, out := &in.SourceDatabaseID, &out.SourceDatabaseID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ThreatDetectionPolicy != nil { + in, out := &in.ThreatDetectionPolicy, &out.ThreatDetectionPolicy + *out = make([]ThreatDetectionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZoneRedundant != nil { + in, out := &in.ZoneRedundant, &out.ZoneRedundant + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters. +func (in *DatabaseParameters) DeepCopy() *DatabaseParameters { + if in == nil { + return nil + } + out := new(DatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec. +func (in *DatabaseSpec) DeepCopy() *DatabaseSpec { + if in == nil { + return nil + } + out := new(DatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus. +func (in *DatabaseStatus) DeepCopy() *DatabaseStatus { + if in == nil { + return nil + } + out := new(DatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Elasticpool) DeepCopyInto(out *Elasticpool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Elasticpool. +func (in *Elasticpool) DeepCopy() *Elasticpool { + if in == nil { + return nil + } + out := new(Elasticpool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Elasticpool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolList) DeepCopyInto(out *ElasticpoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Elasticpool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolList. +func (in *ElasticpoolList) DeepCopy() *ElasticpoolList { + if in == nil { + return nil + } + out := new(ElasticpoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ElasticpoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolObservation) DeepCopyInto(out *ElasticpoolObservation) { + *out = *in + if in.CreationDate != nil { + in, out := &in.CreationDate, &out.CreationDate + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolObservation. +func (in *ElasticpoolObservation) DeepCopy() *ElasticpoolObservation { + if in == nil { + return nil + } + out := new(ElasticpoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolParameters) DeepCopyInto(out *ElasticpoolParameters) { + *out = *in + if in.DBDtuMax != nil { + in, out := &in.DBDtuMax, &out.DBDtuMax + *out = new(int64) + **out = **in + } + if in.DBDtuMin != nil { + in, out := &in.DBDtuMin, &out.DBDtuMin + *out = new(int64) + **out = **in + } + if in.Dtu != nil { + in, out := &in.Dtu, &out.Dtu + *out = new(int64) + **out = **in + } + if in.Edition != nil { + in, out := &in.Edition, &out.Edition + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PoolSize != nil { + in, out := &in.PoolSize, &out.PoolSize + *out = new(int64) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolParameters. +func (in *ElasticpoolParameters) DeepCopy() *ElasticpoolParameters { + if in == nil { + return nil + } + out := new(ElasticpoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolSpec) DeepCopyInto(out *ElasticpoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolSpec. +func (in *ElasticpoolSpec) DeepCopy() *ElasticpoolSpec { + if in == nil { + return nil + } + out := new(ElasticpoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticpoolStatus) DeepCopyInto(out *ElasticpoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticpoolStatus. +func (in *ElasticpoolStatus) DeepCopy() *ElasticpoolStatus { + if in == nil { + return nil + } + out := new(ElasticpoolStatus) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExtendedAuditingPolicyObservation) DeepCopyInto(out *ExtendedAuditingPolicyObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyObservation. -func (in *ExtendedAuditingPolicyObservation) DeepCopy() *ExtendedAuditingPolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyObservation. +func (in *ExtendedAuditingPolicyObservation) DeepCopy() *ExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(ExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtendedAuditingPolicyParameters) DeepCopyInto(out *ExtendedAuditingPolicyParameters) { + *out = *in + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyParameters. +func (in *ExtendedAuditingPolicyParameters) DeepCopy() *ExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(ExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRule) DeepCopyInto(out *FirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule. +func (in *FirewallRule) DeepCopy() *FirewallRule { + if in == nil { + return nil + } + out := new(FirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList. +func (in *FirewallRuleList) DeepCopy() *FirewallRuleList { + if in == nil { + return nil + } + out := new(FirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleObservation. +func (in *FirewallRuleObservation) DeepCopy() *FirewallRuleObservation { + if in == nil { + return nil + } + out := new(FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters) { + *out = *in + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ServerName != nil { + in, out := &in.ServerName, &out.ServerName + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleParameters. +func (in *FirewallRuleParameters) DeepCopy() *FirewallRuleParameters { + if in == nil { + return nil + } + out := new(FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec. +func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec { + if in == nil { + return nil + } + out := new(FirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus. +func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus { + if in == nil { + return nil + } + out := new(FirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImportObservation) DeepCopyInto(out *ImportObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportObservation. +func (in *ImportObservation) DeepCopy() *ImportObservation { + if in == nil { + return nil + } + out := new(ImportObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ImportParameters) DeepCopyInto(out *ImportParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) + **out = **in + } + out.AdministratorLoginPasswordSecretRef = in.AdministratorLoginPasswordSecretRef + if in.AuthenticationType != nil { + in, out := &in.AuthenticationType, &out.AuthenticationType + *out = new(string) + **out = **in + } + if in.OperationMode != nil { + in, out := &in.OperationMode, &out.OperationMode + *out = new(string) + **out = **in + } + out.StorageKeySecretRef = in.StorageKeySecretRef + if in.StorageKeyType != nil { + in, out := &in.StorageKeyType, &out.StorageKeyType + *out = new(string) + **out = **in + } + if in.StorageURI != nil { + in, out := &in.StorageURI, &out.StorageURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportParameters. +func (in *ImportParameters) DeepCopy() *ImportParameters { + if in == nil { + return nil + } + out := new(ImportParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDatabase) DeepCopyInto(out *ManagedDatabase) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDatabase. +func (in *ManagedDatabase) DeepCopy() *ManagedDatabase { + if in == nil { + return nil + } + out := new(ManagedDatabase) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedDatabase) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDatabaseList) DeepCopyInto(out *ManagedDatabaseList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagedDatabase, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDatabaseList. +func (in *ManagedDatabaseList) DeepCopy() *ManagedDatabaseList { + if in == nil { + return nil + } + out := new(ManagedDatabaseList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedDatabaseList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDatabaseObservation) DeepCopyInto(out *ManagedDatabaseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDatabaseObservation. +func (in *ManagedDatabaseObservation) DeepCopy() *ManagedDatabaseObservation { + if in == nil { + return nil + } + out := new(ManagedDatabaseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDatabaseParameters) DeepCopyInto(out *ManagedDatabaseParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SQLManagedInstanceID != nil { + in, out := &in.SQLManagedInstanceID, &out.SQLManagedInstanceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDatabaseParameters. +func (in *ManagedDatabaseParameters) DeepCopy() *ManagedDatabaseParameters { + if in == nil { + return nil + } + out := new(ManagedDatabaseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDatabaseSpec) DeepCopyInto(out *ManagedDatabaseSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDatabaseSpec. +func (in *ManagedDatabaseSpec) DeepCopy() *ManagedDatabaseSpec { + if in == nil { + return nil + } + out := new(ManagedDatabaseSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedDatabaseStatus) DeepCopyInto(out *ManagedDatabaseStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDatabaseStatus. +func (in *ManagedDatabaseStatus) DeepCopy() *ManagedDatabaseStatus { + if in == nil { + return nil + } + out := new(ManagedDatabaseStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstance) DeepCopyInto(out *ManagedInstance) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstance. +func (in *ManagedInstance) DeepCopy() *ManagedInstance { + if in == nil { + return nil + } + out := new(ManagedInstance) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedInstance) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstanceList) DeepCopyInto(out *ManagedInstanceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagedInstance, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceList. +func (in *ManagedInstanceList) DeepCopy() *ManagedInstanceList { if in == nil { return nil } - out := new(ExtendedAuditingPolicyObservation) + out := new(ManagedInstanceList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedInstanceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ExtendedAuditingPolicyParameters) DeepCopyInto(out *ExtendedAuditingPolicyParameters) { +func (in *ManagedInstanceObservation) DeepCopyInto(out *ManagedInstanceObservation) { *out = *in - if in.LogMonitoringEnabled != nil { - in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled - *out = new(bool) + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) **out = **in } - if in.RetentionInDays != nil { - in, out := &in.RetentionInDays, &out.RetentionInDays - *out = new(int64) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceObservation. +func (in *ManagedInstanceObservation) DeepCopy() *ManagedInstanceObservation { + if in == nil { + return nil + } + out := new(ManagedInstanceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedInstanceParameters) DeepCopyInto(out *ManagedInstanceParameters) { + *out = *in + if in.AdministratorLogin != nil { + in, out := &in.AdministratorLogin, &out.AdministratorLogin + *out = new(string) **out = **in } - if in.StorageAccountAccessKeyIsSecondary != nil { - in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + out.AdministratorLoginPasswordSecretRef = in.AdministratorLoginPasswordSecretRef + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MinimumTLSVersion != nil { + in, out := &in.MinimumTLSVersion, &out.MinimumTLSVersion + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProxyOverride != nil { + in, out := &in.ProxyOverride, &out.ProxyOverride + *out = new(string) + **out = **in + } + if in.PublicDataEndpointEnabled != nil { + in, out := &in.PublicDataEndpointEnabled, &out.PublicDataEndpointEnabled *out = new(bool) **out = **in } - if in.StorageAccountAccessKeySecretRef != nil { - in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef - *out = new(v1.SecretKeySelector) + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) **out = **in } - if in.StorageEndpoint != nil { - in, out := &in.StorageEndpoint, &out.StorageEndpoint + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.StorageSizeInGb != nil { + in, out := &in.StorageSizeInGb, &out.StorageSizeInGb + *out = new(int64) + **out = **in + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TimezoneID != nil { + in, out := &in.TimezoneID, &out.TimezoneID *out = new(string) **out = **in } + if in.Vcores != nil { + in, out := &in.Vcores, &out.Vcores + *out = new(int64) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedAuditingPolicyParameters. -func (in *ExtendedAuditingPolicyParameters) DeepCopy() *ExtendedAuditingPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceParameters. +func (in *ManagedInstanceParameters) DeepCopy() *ManagedInstanceParameters { if in == nil { return nil } - out := new(ExtendedAuditingPolicyParameters) + out := new(ManagedInstanceParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { +func (in *ManagedInstanceSpec) DeepCopyInto(out *ManagedInstanceSpec) { *out = *in - if in.PrincipalID != nil { - in, out := &in.PrincipalID, &out.PrincipalID - *out = new(string) - **out = **in - } - if in.TenantID != nil { - in, out := &in.TenantID, &out.TenantID - *out = new(string) - **out = **in - } + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. -func (in *IdentityObservation) DeepCopy() *IdentityObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceSpec. +func (in *ManagedInstanceSpec) DeepCopy() *ManagedInstanceSpec { if in == nil { return nil } - out := new(IdentityObservation) + out := new(ManagedInstanceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { +func (in *ManagedInstanceStatus) DeepCopyInto(out *ManagedInstanceStatus) { *out = *in - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. -func (in *IdentityParameters) DeepCopy() *IdentityParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedInstanceStatus. +func (in *ManagedInstanceStatus) DeepCopy() *ManagedInstanceStatus { if in == nil { return nil } - out := new(IdentityParameters) + out := new(ManagedInstanceStatus) in.DeepCopyInto(out) return out } @@ -152,6 +1304,61 @@ func (in *Server) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerExtendedAuditingPolicyObservation) DeepCopyInto(out *ServerExtendedAuditingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerExtendedAuditingPolicyObservation. +func (in *ServerExtendedAuditingPolicyObservation) DeepCopy() *ServerExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(ServerExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerExtendedAuditingPolicyParameters) DeepCopyInto(out *ServerExtendedAuditingPolicyParameters) { + *out = *in + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerExtendedAuditingPolicyParameters. +func (in *ServerExtendedAuditingPolicyParameters) DeepCopy() *ServerExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(ServerExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ServerList) DeepCopyInto(out *ServerList) { *out = *in @@ -220,7 +1427,7 @@ func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { } if in.ExtendedAuditingPolicy != nil { in, out := &in.ExtendedAuditingPolicy, &out.ExtendedAuditingPolicy - *out = make([]ExtendedAuditingPolicyParameters, len(*in)) + *out = make([]ServerExtendedAuditingPolicyParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -269,7 +1476,7 @@ func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { } if in.ThreatDetectionPolicy != nil { in, out := &in.ThreatDetectionPolicy, &out.ThreatDetectionPolicy - *out = make([]ThreatDetectionPolicyParameters, len(*in)) + *out = make([]ServerThreatDetectionPolicyParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -325,6 +1532,83 @@ func (in *ServerStatus) DeepCopy() *ServerStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerThreatDetectionPolicyObservation) DeepCopyInto(out *ServerThreatDetectionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerThreatDetectionPolicyObservation. +func (in *ServerThreatDetectionPolicyObservation) DeepCopy() *ServerThreatDetectionPolicyObservation { + if in == nil { + return nil + } + out := new(ServerThreatDetectionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerThreatDetectionPolicyParameters) DeepCopyInto(out *ServerThreatDetectionPolicyParameters) { + *out = *in + if in.DisabledAlerts != nil { + in, out := &in.DisabledAlerts, &out.DisabledAlerts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EmailAccountAdmins != nil { + in, out := &in.EmailAccountAdmins, &out.EmailAccountAdmins + *out = new(bool) + **out = **in + } + if in.EmailAddresses != nil { + in, out := &in.EmailAddresses, &out.EmailAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } + if in.State != nil { + in, out := &in.State, &out.State + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerThreatDetectionPolicyParameters. +func (in *ServerThreatDetectionPolicyParameters) DeepCopy() *ServerThreatDetectionPolicyParameters { + if in == nil { + return nil + } + out := new(ServerThreatDetectionPolicyParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ThreatDetectionPolicyObservation) DeepCopyInto(out *ThreatDetectionPolicyObservation) { *out = *in @@ -356,7 +1640,7 @@ func (in *ThreatDetectionPolicyParameters) DeepCopyInto(out *ThreatDetectionPoli } if in.EmailAccountAdmins != nil { in, out := &in.EmailAccountAdmins, &out.EmailAccountAdmins - *out = new(bool) + *out = new(string) **out = **in } if in.EmailAddresses != nil { @@ -390,6 +1674,11 @@ func (in *ThreatDetectionPolicyParameters) DeepCopyInto(out *ThreatDetectionPoli *out = new(string) **out = **in } + if in.UseServerDefault != nil { + in, out := &in.UseServerDefault, &out.UseServerDefault + *out = new(string) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreatDetectionPolicyParameters. diff --git a/apis/sql/v1alpha1/zz_generated.managed.go b/apis/sql/v1alpha1/zz_generated.managed.go index 539cd3059..8edb26a7c 100644 --- a/apis/sql/v1alpha1/zz_generated.managed.go +++ b/apis/sql/v1alpha1/zz_generated.managed.go @@ -19,6 +19,342 @@ package v1alpha1 import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +// GetCondition of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ActiveDirectoryAdministrator. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ActiveDirectoryAdministrator) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ActiveDirectoryAdministrator. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ActiveDirectoryAdministrator) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ActiveDirectoryAdministrator. +func (mg *ActiveDirectoryAdministrator) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Database. +func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Database. +func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Database. +func (mg *Database) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Database. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Database) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Database. +func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Database. +func (mg *Database) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Database. +func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Database. +func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Database. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Database) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Database. +func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Elasticpool. +func (mg *Elasticpool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Elasticpool. +func (mg *Elasticpool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Elasticpool. +func (mg *Elasticpool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Elasticpool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Elasticpool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Elasticpool. +func (mg *Elasticpool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Elasticpool. +func (mg *Elasticpool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Elasticpool. +func (mg *Elasticpool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Elasticpool. +func (mg *Elasticpool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Elasticpool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Elasticpool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Elasticpool. +func (mg *Elasticpool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this FirewallRule. +func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallRule. +func (mg *FirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagedDatabase. +func (mg *ManagedDatabase) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagedDatabase. +func (mg *ManagedDatabase) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagedDatabase. +func (mg *ManagedDatabase) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagedDatabase. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagedDatabase) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagedDatabase. +func (mg *ManagedDatabase) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagedDatabase. +func (mg *ManagedDatabase) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagedDatabase. +func (mg *ManagedDatabase) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagedDatabase. +func (mg *ManagedDatabase) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagedDatabase. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagedDatabase) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagedDatabase. +func (mg *ManagedDatabase) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagedInstance. +func (mg *ManagedInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagedInstance. +func (mg *ManagedInstance) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagedInstance. +func (mg *ManagedInstance) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagedInstance. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagedInstance) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagedInstance. +func (mg *ManagedInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagedInstance. +func (mg *ManagedInstance) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagedInstance. +func (mg *ManagedInstance) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagedInstance. +func (mg *ManagedInstance) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagedInstance. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagedInstance) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagedInstance. +func (mg *ManagedInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Server. func (mg *Server) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) diff --git a/apis/sql/v1alpha1/zz_generated.managedlist.go b/apis/sql/v1alpha1/zz_generated.managedlist.go index 630f53abe..449994979 100644 --- a/apis/sql/v1alpha1/zz_generated.managedlist.go +++ b/apis/sql/v1alpha1/zz_generated.managedlist.go @@ -19,6 +19,60 @@ package v1alpha1 import resource "github.com/crossplane/crossplane-runtime/pkg/resource" +// GetItems of this ActiveDirectoryAdministratorList. +func (l *ActiveDirectoryAdministratorList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DatabaseList. +func (l *DatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ElasticpoolList. +func (l *ElasticpoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this FirewallRuleList. +func (l *FirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagedDatabaseList. +func (l *ManagedDatabaseList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagedInstanceList. +func (l *ManagedInstanceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this ServerList. func (l *ServerList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) diff --git a/apis/sql/v1alpha1/zz_manageddatabase_terraformed.go b/apis/sql/v1alpha1/zz_manageddatabase_terraformed.go new file mode 100755 index 000000000..adc688e14 --- /dev/null +++ b/apis/sql/v1alpha1/zz_manageddatabase_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagedDatabase +func (mg *ManagedDatabase) GetTerraformResourceType() string { + return "azurerm_sql_managed_database" +} + +// GetConnectionDetailsMapping for this ManagedDatabase +func (tr *ManagedDatabase) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagedDatabase +func (tr *ManagedDatabase) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagedDatabase +func (tr *ManagedDatabase) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagedDatabase +func (tr *ManagedDatabase) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagedDatabase +func (tr *ManagedDatabase) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagedDatabase using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagedDatabase) LateInitialize(attrs []byte) (bool, error) { + params := &ManagedDatabaseParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagedDatabase) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sql/v1alpha1/zz_manageddatabase_types.go b/apis/sql/v1alpha1/zz_manageddatabase_types.go new file mode 100755 index 000000000..2b7e10aac --- /dev/null +++ b/apis/sql/v1alpha1/zz_manageddatabase_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagedDatabaseObservation struct { +} + +type ManagedDatabaseParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SQLManagedInstanceID *string `json:"sqlManagedInstanceId" tf:"sql_managed_instance_id,omitempty"` +} + +// ManagedDatabaseSpec defines the desired state of ManagedDatabase +type ManagedDatabaseSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagedDatabaseParameters `json:"forProvider"` +} + +// ManagedDatabaseStatus defines the observed state of ManagedDatabase. +type ManagedDatabaseStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagedDatabaseObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagedDatabase is the Schema for the ManagedDatabases API +// +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,azurejet} +type ManagedDatabase struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagedDatabaseSpec `json:"spec"` + Status ManagedDatabaseStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagedDatabaseList contains a list of ManagedDatabases +type ManagedDatabaseList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagedDatabase `json:"items"` +} + +// Repository type metadata. +var ( + ManagedDatabase_Kind = "ManagedDatabase" + ManagedDatabase_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagedDatabase_Kind}.String() + ManagedDatabase_KindAPIVersion = ManagedDatabase_Kind + "." + CRDGroupVersion.String() + ManagedDatabase_GroupVersionKind = CRDGroupVersion.WithKind(ManagedDatabase_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagedDatabase{}, &ManagedDatabaseList{}) +} diff --git a/apis/sql/v1alpha1/zz_managedinstance_terraformed.go b/apis/sql/v1alpha1/zz_managedinstance_terraformed.go new file mode 100755 index 000000000..34b7d41c6 --- /dev/null +++ b/apis/sql/v1alpha1/zz_managedinstance_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagedInstance +func (mg *ManagedInstance) GetTerraformResourceType() string { + return "azurerm_sql_managed_instance" +} + +// GetConnectionDetailsMapping for this ManagedInstance +func (tr *ManagedInstance) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"administrator_login_password": "spec.forProvider.administratorLoginPasswordSecretRef"} +} + +// GetObservation of this ManagedInstance +func (tr *ManagedInstance) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagedInstance +func (tr *ManagedInstance) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagedInstance +func (tr *ManagedInstance) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagedInstance +func (tr *ManagedInstance) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagedInstance using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagedInstance) LateInitialize(attrs []byte) (bool, error) { + params := &ManagedInstanceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagedInstance) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/sql/v1alpha1/zz_managedinstance_types.go b/apis/sql/v1alpha1/zz_managedinstance_types.go new file mode 100755 index 000000000..fd497d773 --- /dev/null +++ b/apis/sql/v1alpha1/zz_managedinstance_types.go @@ -0,0 +1,130 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagedInstanceObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type ManagedInstanceParameters struct { + + // +kubebuilder:validation:Required + AdministratorLogin *string `json:"administratorLogin" tf:"administrator_login,omitempty"` + + // +kubebuilder:validation:Required + AdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"administratorLoginPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` + + // +kubebuilder:validation:Required + LicenseType *string `json:"licenseType" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MinimumTLSVersion *string `json:"minimumTlsVersion,omitempty" tf:"minimum_tls_version,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProxyOverride *string `json:"proxyOverride,omitempty" tf:"proxy_override,omitempty"` + + // +kubebuilder:validation:Optional + PublicDataEndpointEnabled *bool `json:"publicDataEndpointEnabled,omitempty" tf:"public_data_endpoint_enabled,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + StorageSizeInGb *int64 `json:"storageSizeInGb" tf:"storage_size_in_gb,omitempty"` + + // +kubebuilder:validation:Required + SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TimezoneID *string `json:"timezoneId,omitempty" tf:"timezone_id,omitempty"` + + // +kubebuilder:validation:Required + Vcores *int64 `json:"vcores" tf:"vcores,omitempty"` +} + +// ManagedInstanceSpec defines the desired state of ManagedInstance +type ManagedInstanceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagedInstanceParameters `json:"forProvider"` +} + +// ManagedInstanceStatus defines the observed state of ManagedInstance. +type ManagedInstanceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagedInstanceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagedInstance is the Schema for the ManagedInstances API +// +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,azurejet} +type ManagedInstance struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagedInstanceSpec `json:"spec"` + Status ManagedInstanceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagedInstanceList contains a list of ManagedInstances +type ManagedInstanceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagedInstance `json:"items"` +} + +// Repository type metadata. +var ( + ManagedInstance_Kind = "ManagedInstance" + ManagedInstance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagedInstance_Kind}.String() + ManagedInstance_KindAPIVersion = ManagedInstance_Kind + "." + CRDGroupVersion.String() + ManagedInstance_GroupVersionKind = CRDGroupVersion.WithKind(ManagedInstance_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagedInstance{}, &ManagedInstanceList{}) +} diff --git a/apis/sql/v1alpha1/zz_server_types.go b/apis/sql/v1alpha1/zz_server_types.go index 5469ee7a3..b951905bb 100755 --- a/apis/sql/v1alpha1/zz_server_types.go +++ b/apis/sql/v1alpha1/zz_server_types.go @@ -25,10 +25,22 @@ import ( v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" ) -type ExtendedAuditingPolicyObservation struct { +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type ServerExtendedAuditingPolicyObservation struct { } -type ExtendedAuditingPolicyParameters struct { +type ServerExtendedAuditingPolicyParameters struct { // +kubebuilder:validation:Optional LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` @@ -46,18 +58,6 @@ type ExtendedAuditingPolicyParameters struct { StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` } -type IdentityObservation struct { - PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` - - TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` -} - -type IdentityParameters struct { - - // +kubebuilder:validation:Required - Type *string `json:"type" tf:"type,omitempty"` -} - type ServerObservation struct { FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty" tf:"fully_qualified_domain_name,omitempty"` } @@ -74,7 +74,7 @@ type ServerParameters struct { ConnectionPolicy *string `json:"connectionPolicy,omitempty" tf:"connection_policy,omitempty"` // +kubebuilder:validation:Optional - ExtendedAuditingPolicy []ExtendedAuditingPolicyParameters `json:"extendedAuditingPolicy,omitempty" tf:"extended_auditing_policy,omitempty"` + ExtendedAuditingPolicy []ServerExtendedAuditingPolicyParameters `json:"extendedAuditingPolicy,omitempty" tf:"extended_auditing_policy,omitempty"` // +kubebuilder:validation:Optional Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` @@ -96,16 +96,16 @@ type ServerParameters struct { Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // +kubebuilder:validation:Optional - ThreatDetectionPolicy []ThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"` + ThreatDetectionPolicy []ServerThreatDetectionPolicyParameters `json:"threatDetectionPolicy,omitempty" tf:"threat_detection_policy,omitempty"` // +kubebuilder:validation:Required Version *string `json:"version" tf:"version,omitempty"` } -type ThreatDetectionPolicyObservation struct { +type ServerThreatDetectionPolicyObservation struct { } -type ThreatDetectionPolicyParameters struct { +type ServerThreatDetectionPolicyParameters struct { // +kubebuilder:validation:Optional DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` diff --git a/apis/ssh/v1alpha1/zz_generated.deepcopy.go b/apis/ssh/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..e6c549096 --- /dev/null +++ b/apis/ssh/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,183 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicKey) DeepCopyInto(out *PublicKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey. +func (in *PublicKey) DeepCopy() *PublicKey { + if in == nil { + return nil + } + out := new(PublicKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PublicKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicKeyList) DeepCopyInto(out *PublicKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PublicKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeyList. +func (in *PublicKeyList) DeepCopy() *PublicKeyList { + if in == nil { + return nil + } + out := new(PublicKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PublicKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicKeyObservation) DeepCopyInto(out *PublicKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeyObservation. +func (in *PublicKeyObservation) DeepCopy() *PublicKeyObservation { + if in == nil { + return nil + } + out := new(PublicKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicKeyParameters) DeepCopyInto(out *PublicKeyParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicKey != nil { + in, out := &in.PublicKey, &out.PublicKey + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeyParameters. +func (in *PublicKeyParameters) DeepCopy() *PublicKeyParameters { + if in == nil { + return nil + } + out := new(PublicKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicKeySpec) DeepCopyInto(out *PublicKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeySpec. +func (in *PublicKeySpec) DeepCopy() *PublicKeySpec { + if in == nil { + return nil + } + out := new(PublicKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicKeyStatus) DeepCopyInto(out *PublicKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKeyStatus. +func (in *PublicKeyStatus) DeepCopy() *PublicKeyStatus { + if in == nil { + return nil + } + out := new(PublicKeyStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/ssh/v1alpha1/zz_generated.managed.go b/apis/ssh/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..b9a7889ca --- /dev/null +++ b/apis/ssh/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this PublicKey. +func (mg *PublicKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PublicKey. +func (mg *PublicKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PublicKey. +func (mg *PublicKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PublicKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PublicKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PublicKey. +func (mg *PublicKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PublicKey. +func (mg *PublicKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PublicKey. +func (mg *PublicKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PublicKey. +func (mg *PublicKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PublicKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PublicKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PublicKey. +func (mg *PublicKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/ssh/v1alpha1/zz_generated.managedlist.go b/apis/ssh/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..36f5d7273 --- /dev/null +++ b/apis/ssh/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this PublicKeyList. +func (l *PublicKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/ssh/v1alpha1/zz_groupversion_info.go b/apis/ssh/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..5a6614a12 --- /dev/null +++ b/apis/ssh/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=ssh.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "ssh.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/ssh/v1alpha1/zz_publickey_terraformed.go b/apis/ssh/v1alpha1/zz_publickey_terraformed.go new file mode 100755 index 000000000..58c3ce22d --- /dev/null +++ b/apis/ssh/v1alpha1/zz_publickey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PublicKey +func (mg *PublicKey) GetTerraformResourceType() string { + return "azurerm_ssh_public_key" +} + +// GetConnectionDetailsMapping for this PublicKey +func (tr *PublicKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PublicKey +func (tr *PublicKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PublicKey +func (tr *PublicKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PublicKey +func (tr *PublicKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PublicKey +func (tr *PublicKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PublicKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PublicKey) LateInitialize(attrs []byte) (bool, error) { + params := &PublicKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PublicKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/ssh/v1alpha1/zz_publickey_types.go b/apis/ssh/v1alpha1/zz_publickey_types.go new file mode 100755 index 000000000..bf7c2656e --- /dev/null +++ b/apis/ssh/v1alpha1/zz_publickey_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PublicKeyObservation struct { +} + +type PublicKeyParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicKey *string `json:"publicKey" tf:"public_key,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// PublicKeySpec defines the desired state of PublicKey +type PublicKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PublicKeyParameters `json:"forProvider"` +} + +// PublicKeyStatus defines the observed state of PublicKey. +type PublicKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PublicKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PublicKey is the Schema for the PublicKeys API +// +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,azurejet} +type PublicKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PublicKeySpec `json:"spec"` + Status PublicKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PublicKeyList contains a list of PublicKeys +type PublicKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PublicKey `json:"items"` +} + +// Repository type metadata. +var ( + PublicKey_Kind = "PublicKey" + PublicKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PublicKey_Kind}.String() + PublicKey_KindAPIVersion = PublicKey_Kind + "." + CRDGroupVersion.String() + PublicKey_GroupVersionKind = CRDGroupVersion.WithKind(PublicKey_Kind) +) + +func init() { + SchemeBuilder.Register(&PublicKey{}, &PublicKeyList{}) +} diff --git a/apis/stack/v1alpha1/zz_generated.deepcopy.go b/apis/stack/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..b4f326885 --- /dev/null +++ b/apis/stack/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,188 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HciCluster) DeepCopyInto(out *HciCluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HciCluster. +func (in *HciCluster) DeepCopy() *HciCluster { + if in == nil { + return nil + } + out := new(HciCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HciCluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HciClusterList) DeepCopyInto(out *HciClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HciCluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HciClusterList. +func (in *HciClusterList) DeepCopy() *HciClusterList { + if in == nil { + return nil + } + out := new(HciClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HciClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HciClusterObservation) DeepCopyInto(out *HciClusterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HciClusterObservation. +func (in *HciClusterObservation) DeepCopy() *HciClusterObservation { + if in == nil { + return nil + } + out := new(HciClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HciClusterParameters) DeepCopyInto(out *HciClusterParameters) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HciClusterParameters. +func (in *HciClusterParameters) DeepCopy() *HciClusterParameters { + if in == nil { + return nil + } + out := new(HciClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HciClusterSpec) DeepCopyInto(out *HciClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HciClusterSpec. +func (in *HciClusterSpec) DeepCopy() *HciClusterSpec { + if in == nil { + return nil + } + out := new(HciClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HciClusterStatus) DeepCopyInto(out *HciClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HciClusterStatus. +func (in *HciClusterStatus) DeepCopy() *HciClusterStatus { + if in == nil { + return nil + } + out := new(HciClusterStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/stack/v1alpha1/zz_generated.managed.go b/apis/stack/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..3759c9b42 --- /dev/null +++ b/apis/stack/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this HciCluster. +func (mg *HciCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this HciCluster. +func (mg *HciCluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this HciCluster. +func (mg *HciCluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this HciCluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *HciCluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this HciCluster. +func (mg *HciCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this HciCluster. +func (mg *HciCluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this HciCluster. +func (mg *HciCluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this HciCluster. +func (mg *HciCluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this HciCluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *HciCluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this HciCluster. +func (mg *HciCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/stack/v1alpha1/zz_generated.managedlist.go b/apis/stack/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..225f346bc --- /dev/null +++ b/apis/stack/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this HciClusterList. +func (l *HciClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/stack/v1alpha1/zz_groupversion_info.go b/apis/stack/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..1fc1cc503 --- /dev/null +++ b/apis/stack/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=stack.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "stack.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/stack/v1alpha1/zz_hcicluster_terraformed.go b/apis/stack/v1alpha1/zz_hcicluster_terraformed.go new file mode 100755 index 000000000..54ddd2189 --- /dev/null +++ b/apis/stack/v1alpha1/zz_hcicluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this HciCluster +func (mg *HciCluster) GetTerraformResourceType() string { + return "azurerm_stack_hci_cluster" +} + +// GetConnectionDetailsMapping for this HciCluster +func (tr *HciCluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this HciCluster +func (tr *HciCluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this HciCluster +func (tr *HciCluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this HciCluster +func (tr *HciCluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this HciCluster +func (tr *HciCluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this HciCluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *HciCluster) LateInitialize(attrs []byte) (bool, error) { + params := &HciClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *HciCluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stack/v1alpha1/zz_hcicluster_types.go b/apis/stack/v1alpha1/zz_hcicluster_types.go new file mode 100755 index 000000000..f9ec7cc72 --- /dev/null +++ b/apis/stack/v1alpha1/zz_hcicluster_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type HciClusterObservation struct { +} + +type HciClusterParameters struct { + + // +kubebuilder:validation:Required + ClientID *string `json:"clientId" tf:"client_id,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +// HciClusterSpec defines the desired state of HciCluster +type HciClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider HciClusterParameters `json:"forProvider"` +} + +// HciClusterStatus defines the observed state of HciCluster. +type HciClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider HciClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// HciCluster is the Schema for the HciClusters API +// +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,azurejet} +type HciCluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec HciClusterSpec `json:"spec"` + Status HciClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// HciClusterList contains a list of HciClusters +type HciClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HciCluster `json:"items"` +} + +// Repository type metadata. +var ( + HciCluster_Kind = "HciCluster" + HciCluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: HciCluster_Kind}.String() + HciCluster_KindAPIVersion = HciCluster_Kind + "." + CRDGroupVersion.String() + HciCluster_GroupVersionKind = CRDGroupVersion.WithKind(HciCluster_Kind) +) + +func init() { + SchemeBuilder.Register(&HciCluster{}, &HciClusterList{}) +} diff --git a/apis/static/v1alpha1/zz_generated.deepcopy.go b/apis/static/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..07d8aeab8 --- /dev/null +++ b/apis/static/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,198 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Site) DeepCopyInto(out *Site) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Site. +func (in *Site) DeepCopy() *Site { + if in == nil { + return nil + } + out := new(Site) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Site) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteList) DeepCopyInto(out *SiteList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Site, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteList. +func (in *SiteList) DeepCopy() *SiteList { + if in == nil { + return nil + } + out := new(SiteList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SiteList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteObservation) DeepCopyInto(out *SiteObservation) { + *out = *in + if in.APIKey != nil { + in, out := &in.APIKey, &out.APIKey + *out = new(string) + **out = **in + } + if in.DefaultHostName != nil { + in, out := &in.DefaultHostName, &out.DefaultHostName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteObservation. +func (in *SiteObservation) DeepCopy() *SiteObservation { + if in == nil { + return nil + } + out := new(SiteObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteParameters) DeepCopyInto(out *SiteParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuSize != nil { + in, out := &in.SkuSize, &out.SkuSize + *out = new(string) + **out = **in + } + if in.SkuTier != nil { + in, out := &in.SkuTier, &out.SkuTier + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteParameters. +func (in *SiteParameters) DeepCopy() *SiteParameters { + if in == nil { + return nil + } + out := new(SiteParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteSpec) DeepCopyInto(out *SiteSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteSpec. +func (in *SiteSpec) DeepCopy() *SiteSpec { + if in == nil { + return nil + } + out := new(SiteSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteStatus) DeepCopyInto(out *SiteStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteStatus. +func (in *SiteStatus) DeepCopy() *SiteStatus { + if in == nil { + return nil + } + out := new(SiteStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/static/v1alpha1/zz_generated.managed.go b/apis/static/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..9a0a07219 --- /dev/null +++ b/apis/static/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Site. +func (mg *Site) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Site. +func (mg *Site) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Site. +func (mg *Site) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Site. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Site) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Site. +func (mg *Site) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Site. +func (mg *Site) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Site. +func (mg *Site) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Site. +func (mg *Site) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Site. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Site) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Site. +func (mg *Site) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/static/v1alpha1/zz_generated.managedlist.go b/apis/static/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..62134d45d --- /dev/null +++ b/apis/static/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this SiteList. +func (l *SiteList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/static/v1alpha1/zz_groupversion_info.go b/apis/static/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..f3d1a60d3 --- /dev/null +++ b/apis/static/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=static.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "static.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/static/v1alpha1/zz_site_terraformed.go b/apis/static/v1alpha1/zz_site_terraformed.go new file mode 100755 index 000000000..7d981ba91 --- /dev/null +++ b/apis/static/v1alpha1/zz_site_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Site +func (mg *Site) GetTerraformResourceType() string { + return "azurerm_static_site" +} + +// GetConnectionDetailsMapping for this Site +func (tr *Site) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Site +func (tr *Site) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Site +func (tr *Site) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Site +func (tr *Site) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Site +func (tr *Site) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Site using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Site) LateInitialize(attrs []byte) (bool, error) { + params := &SiteParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Site) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/static/v1alpha1/zz_site_types.go b/apis/static/v1alpha1/zz_site_types.go new file mode 100755 index 000000000..eaba4352b --- /dev/null +++ b/apis/static/v1alpha1/zz_site_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SiteObservation struct { + APIKey *string `json:"apiKey,omitempty" tf:"api_key,omitempty"` + + DefaultHostName *string `json:"defaultHostName,omitempty" tf:"default_host_name,omitempty"` +} + +type SiteParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + SkuSize *string `json:"skuSize,omitempty" tf:"sku_size,omitempty"` + + // +kubebuilder:validation:Optional + SkuTier *string `json:"skuTier,omitempty" tf:"sku_tier,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SiteSpec defines the desired state of Site +type SiteSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SiteParameters `json:"forProvider"` +} + +// SiteStatus defines the observed state of Site. +type SiteStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SiteObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Site is the Schema for the Sites API +// +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,azurejet} +type Site struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SiteSpec `json:"spec"` + Status SiteStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SiteList contains a list of Sites +type SiteList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Site `json:"items"` +} + +// Repository type metadata. +var ( + Site_Kind = "Site" + Site_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Site_Kind}.String() + Site_KindAPIVersion = Site_Kind + "." + CRDGroupVersion.String() + Site_GroupVersionKind = CRDGroupVersion.WithKind(Site_Kind) +) + +func init() { + SchemeBuilder.Register(&Site{}, &SiteList{}) +} diff --git a/apis/storage/v1alpha1/zz_accountcustomermanagedkey_terraformed.go b/apis/storage/v1alpha1/zz_accountcustomermanagedkey_terraformed.go new file mode 100755 index 000000000..fe15b6164 --- /dev/null +++ b/apis/storage/v1alpha1/zz_accountcustomermanagedkey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AccountCustomerManagedKey +func (mg *AccountCustomerManagedKey) GetTerraformResourceType() string { + return "azurerm_storage_account_customer_managed_key" +} + +// GetConnectionDetailsMapping for this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AccountCustomerManagedKey +func (tr *AccountCustomerManagedKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AccountCustomerManagedKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AccountCustomerManagedKey) LateInitialize(attrs []byte) (bool, error) { + params := &AccountCustomerManagedKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AccountCustomerManagedKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_accountcustomermanagedkey_types.go b/apis/storage/v1alpha1/zz_accountcustomermanagedkey_types.go new file mode 100755 index 000000000..e122f5248 --- /dev/null +++ b/apis/storage/v1alpha1/zz_accountcustomermanagedkey_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountCustomerManagedKeyObservation struct { +} + +type AccountCustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Required + KeyName *string `json:"keyName" tf:"key_name,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` + + // +kubebuilder:validation:Optional + KeyVersion *string `json:"keyVersion,omitempty" tf:"key_version,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + UserAssignedIdentityID *string `json:"userAssignedIdentityId,omitempty" tf:"user_assigned_identity_id,omitempty"` +} + +// AccountCustomerManagedKeySpec defines the desired state of AccountCustomerManagedKey +type AccountCustomerManagedKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountCustomerManagedKeyParameters `json:"forProvider"` +} + +// AccountCustomerManagedKeyStatus defines the observed state of AccountCustomerManagedKey. +type AccountCustomerManagedKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountCustomerManagedKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountCustomerManagedKey is the Schema for the AccountCustomerManagedKeys API +// +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,azurejet} +type AccountCustomerManagedKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountCustomerManagedKeySpec `json:"spec"` + Status AccountCustomerManagedKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountCustomerManagedKeyList contains a list of AccountCustomerManagedKeys +type AccountCustomerManagedKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AccountCustomerManagedKey `json:"items"` +} + +// Repository type metadata. +var ( + AccountCustomerManagedKey_Kind = "AccountCustomerManagedKey" + AccountCustomerManagedKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AccountCustomerManagedKey_Kind}.String() + AccountCustomerManagedKey_KindAPIVersion = AccountCustomerManagedKey_Kind + "." + CRDGroupVersion.String() + AccountCustomerManagedKey_GroupVersionKind = CRDGroupVersion.WithKind(AccountCustomerManagedKey_Kind) +) + +func init() { + SchemeBuilder.Register(&AccountCustomerManagedKey{}, &AccountCustomerManagedKeyList{}) +} diff --git a/apis/storage/v1alpha1/zz_accountnetworkrules_terraformed.go b/apis/storage/v1alpha1/zz_accountnetworkrules_terraformed.go new file mode 100755 index 000000000..3fd8515e7 --- /dev/null +++ b/apis/storage/v1alpha1/zz_accountnetworkrules_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AccountNetworkRules +func (mg *AccountNetworkRules) GetTerraformResourceType() string { + return "azurerm_storage_account_network_rules" +} + +// GetConnectionDetailsMapping for this AccountNetworkRules +func (tr *AccountNetworkRules) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AccountNetworkRules +func (tr *AccountNetworkRules) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AccountNetworkRules +func (tr *AccountNetworkRules) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AccountNetworkRules +func (tr *AccountNetworkRules) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AccountNetworkRules +func (tr *AccountNetworkRules) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AccountNetworkRules using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AccountNetworkRules) LateInitialize(attrs []byte) (bool, error) { + params := &AccountNetworkRulesParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AccountNetworkRules) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_accountnetworkrules_types.go b/apis/storage/v1alpha1/zz_accountnetworkrules_types.go new file mode 100755 index 000000000..4632b0fb9 --- /dev/null +++ b/apis/storage/v1alpha1/zz_accountnetworkrules_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AccountNetworkRulesObservation struct { +} + +type AccountNetworkRulesParameters struct { + + // +kubebuilder:validation:Optional + Bypass []*string `json:"bypass,omitempty" tf:"bypass,omitempty"` + + // +kubebuilder:validation:Required + DefaultAction *string `json:"defaultAction" tf:"default_action,omitempty"` + + // +kubebuilder:validation:Optional + IPRules []*string `json:"ipRules,omitempty" tf:"ip_rules,omitempty"` + + // +kubebuilder:validation:Optional + PrivateLinkAccess []AccountNetworkRulesPrivateLinkAccessParameters `json:"privateLinkAccess,omitempty" tf:"private_link_access,omitempty"` + + // +kubebuilder:validation:Optional + ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountID *string `json:"storageAccountId,omitempty" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountName *string `json:"storageAccountName,omitempty" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Optional + VirtualNetworkSubnetIds []*string `json:"virtualNetworkSubnetIds,omitempty" tf:"virtual_network_subnet_ids,omitempty"` +} + +type AccountNetworkRulesPrivateLinkAccessObservation struct { +} + +type AccountNetworkRulesPrivateLinkAccessParameters struct { + + // +kubebuilder:validation:Required + EndpointResourceID *string `json:"endpointResourceId" tf:"endpoint_resource_id,omitempty"` + + // +kubebuilder:validation:Optional + EndpointTenantID *string `json:"endpointTenantId,omitempty" tf:"endpoint_tenant_id,omitempty"` +} + +// AccountNetworkRulesSpec defines the desired state of AccountNetworkRules +type AccountNetworkRulesSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AccountNetworkRulesParameters `json:"forProvider"` +} + +// AccountNetworkRulesStatus defines the observed state of AccountNetworkRules. +type AccountNetworkRulesStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AccountNetworkRulesObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountNetworkRules is the Schema for the AccountNetworkRuless API +// +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,azurejet} +type AccountNetworkRules struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AccountNetworkRulesSpec `json:"spec"` + Status AccountNetworkRulesStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AccountNetworkRulesList contains a list of AccountNetworkRuless +type AccountNetworkRulesList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AccountNetworkRules `json:"items"` +} + +// Repository type metadata. +var ( + AccountNetworkRules_Kind = "AccountNetworkRules" + AccountNetworkRules_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AccountNetworkRules_Kind}.String() + AccountNetworkRules_KindAPIVersion = AccountNetworkRules_Kind + "." + CRDGroupVersion.String() + AccountNetworkRules_GroupVersionKind = CRDGroupVersion.WithKind(AccountNetworkRules_Kind) +) + +func init() { + SchemeBuilder.Register(&AccountNetworkRules{}, &AccountNetworkRulesList{}) +} diff --git a/apis/storage/v1alpha1/zz_blobinventorypolicy_terraformed.go b/apis/storage/v1alpha1/zz_blobinventorypolicy_terraformed.go new file mode 100755 index 000000000..25ebbe874 --- /dev/null +++ b/apis/storage/v1alpha1/zz_blobinventorypolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this BlobInventoryPolicy +func (mg *BlobInventoryPolicy) GetTerraformResourceType() string { + return "azurerm_storage_blob_inventory_policy" +} + +// GetConnectionDetailsMapping for this BlobInventoryPolicy +func (tr *BlobInventoryPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this BlobInventoryPolicy +func (tr *BlobInventoryPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this BlobInventoryPolicy +func (tr *BlobInventoryPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this BlobInventoryPolicy +func (tr *BlobInventoryPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this BlobInventoryPolicy +func (tr *BlobInventoryPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this BlobInventoryPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *BlobInventoryPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &BlobInventoryPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *BlobInventoryPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_blobinventorypolicy_types.go b/apis/storage/v1alpha1/zz_blobinventorypolicy_types.go new file mode 100755 index 000000000..ddb8572cd --- /dev/null +++ b/apis/storage/v1alpha1/zz_blobinventorypolicy_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BlobInventoryPolicyObservation struct { +} + +type BlobInventoryPolicyParameters struct { + + // +kubebuilder:validation:Required + Rules []RulesParameters `json:"rules" tf:"rules,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + StorageContainerName *string `json:"storageContainerName" tf:"storage_container_name,omitempty"` +} + +type FilterObservation struct { +} + +type FilterParameters struct { + + // +kubebuilder:validation:Required + BlobTypes []*string `json:"blobTypes" tf:"blob_types,omitempty"` + + // +kubebuilder:validation:Optional + IncludeBlobVersions *bool `json:"includeBlobVersions,omitempty" tf:"include_blob_versions,omitempty"` + + // +kubebuilder:validation:Optional + IncludeSnapshots *bool `json:"includeSnapshots,omitempty" tf:"include_snapshots,omitempty"` + + // +kubebuilder:validation:Optional + PrefixMatch []*string `json:"prefixMatch,omitempty" tf:"prefix_match,omitempty"` +} + +type RulesObservation struct { +} + +type RulesParameters struct { + + // +kubebuilder:validation:Required + Filter []FilterParameters `json:"filter" tf:"filter,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +// BlobInventoryPolicySpec defines the desired state of BlobInventoryPolicy +type BlobInventoryPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider BlobInventoryPolicyParameters `json:"forProvider"` +} + +// BlobInventoryPolicyStatus defines the observed state of BlobInventoryPolicy. +type BlobInventoryPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider BlobInventoryPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// BlobInventoryPolicy is the Schema for the BlobInventoryPolicys API +// +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,azurejet} +type BlobInventoryPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec BlobInventoryPolicySpec `json:"spec"` + Status BlobInventoryPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// BlobInventoryPolicyList contains a list of BlobInventoryPolicys +type BlobInventoryPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []BlobInventoryPolicy `json:"items"` +} + +// Repository type metadata. +var ( + BlobInventoryPolicy_Kind = "BlobInventoryPolicy" + BlobInventoryPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BlobInventoryPolicy_Kind}.String() + BlobInventoryPolicy_KindAPIVersion = BlobInventoryPolicy_Kind + "." + CRDGroupVersion.String() + BlobInventoryPolicy_GroupVersionKind = CRDGroupVersion.WithKind(BlobInventoryPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&BlobInventoryPolicy{}, &BlobInventoryPolicyList{}) +} diff --git a/apis/storage/v1alpha1/zz_datalakegen2filesystem_terraformed.go b/apis/storage/v1alpha1/zz_datalakegen2filesystem_terraformed.go new file mode 100755 index 000000000..c7c1ed2f0 --- /dev/null +++ b/apis/storage/v1alpha1/zz_datalakegen2filesystem_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataLakeGen2Filesystem +func (mg *DataLakeGen2Filesystem) GetTerraformResourceType() string { + return "azurerm_storage_data_lake_gen2_filesystem" +} + +// GetConnectionDetailsMapping for this DataLakeGen2Filesystem +func (tr *DataLakeGen2Filesystem) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataLakeGen2Filesystem +func (tr *DataLakeGen2Filesystem) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataLakeGen2Filesystem +func (tr *DataLakeGen2Filesystem) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataLakeGen2Filesystem +func (tr *DataLakeGen2Filesystem) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataLakeGen2Filesystem +func (tr *DataLakeGen2Filesystem) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataLakeGen2Filesystem using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataLakeGen2Filesystem) LateInitialize(attrs []byte) (bool, error) { + params := &DataLakeGen2FilesystemParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataLakeGen2Filesystem) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_datalakegen2filesystem_types.go b/apis/storage/v1alpha1/zz_datalakegen2filesystem_types.go new file mode 100755 index 000000000..9aef5df85 --- /dev/null +++ b/apis/storage/v1alpha1/zz_datalakegen2filesystem_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AceObservation struct { +} + +type AceParameters struct { + + // +kubebuilder:validation:Optional + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // +kubebuilder:validation:Required + Permissions *string `json:"permissions" tf:"permissions,omitempty"` + + // +kubebuilder:validation:Optional + Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type DataLakeGen2FilesystemObservation struct { +} + +type DataLakeGen2FilesystemParameters struct { + + // +kubebuilder:validation:Optional + Ace []AceParameters `json:"ace,omitempty" tf:"ace,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +// DataLakeGen2FilesystemSpec defines the desired state of DataLakeGen2Filesystem +type DataLakeGen2FilesystemSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataLakeGen2FilesystemParameters `json:"forProvider"` +} + +// DataLakeGen2FilesystemStatus defines the observed state of DataLakeGen2Filesystem. +type DataLakeGen2FilesystemStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataLakeGen2FilesystemObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataLakeGen2Filesystem is the Schema for the DataLakeGen2Filesystems API +// +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,azurejet} +type DataLakeGen2Filesystem struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataLakeGen2FilesystemSpec `json:"spec"` + Status DataLakeGen2FilesystemStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataLakeGen2FilesystemList contains a list of DataLakeGen2Filesystems +type DataLakeGen2FilesystemList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataLakeGen2Filesystem `json:"items"` +} + +// Repository type metadata. +var ( + DataLakeGen2Filesystem_Kind = "DataLakeGen2Filesystem" + DataLakeGen2Filesystem_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataLakeGen2Filesystem_Kind}.String() + DataLakeGen2Filesystem_KindAPIVersion = DataLakeGen2Filesystem_Kind + "." + CRDGroupVersion.String() + DataLakeGen2Filesystem_GroupVersionKind = CRDGroupVersion.WithKind(DataLakeGen2Filesystem_Kind) +) + +func init() { + SchemeBuilder.Register(&DataLakeGen2Filesystem{}, &DataLakeGen2FilesystemList{}) +} diff --git a/apis/storage/v1alpha1/zz_datalakegen2path_terraformed.go b/apis/storage/v1alpha1/zz_datalakegen2path_terraformed.go new file mode 100755 index 000000000..72b1203c0 --- /dev/null +++ b/apis/storage/v1alpha1/zz_datalakegen2path_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this DataLakeGen2Path +func (mg *DataLakeGen2Path) GetTerraformResourceType() string { + return "azurerm_storage_data_lake_gen2_path" +} + +// GetConnectionDetailsMapping for this DataLakeGen2Path +func (tr *DataLakeGen2Path) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this DataLakeGen2Path +func (tr *DataLakeGen2Path) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this DataLakeGen2Path +func (tr *DataLakeGen2Path) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this DataLakeGen2Path +func (tr *DataLakeGen2Path) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this DataLakeGen2Path +func (tr *DataLakeGen2Path) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this DataLakeGen2Path using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *DataLakeGen2Path) LateInitialize(attrs []byte) (bool, error) { + params := &DataLakeGen2PathParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *DataLakeGen2Path) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_datalakegen2path_types.go b/apis/storage/v1alpha1/zz_datalakegen2path_types.go new file mode 100755 index 000000000..2e615ce50 --- /dev/null +++ b/apis/storage/v1alpha1/zz_datalakegen2path_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DataLakeGen2PathAceObservation struct { +} + +type DataLakeGen2PathAceParameters struct { + + // +kubebuilder:validation:Optional + ID *string `json:"id,omitempty" tf:"id,omitempty"` + + // +kubebuilder:validation:Required + Permissions *string `json:"permissions" tf:"permissions,omitempty"` + + // +kubebuilder:validation:Optional + Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type DataLakeGen2PathObservation struct { +} + +type DataLakeGen2PathParameters struct { + + // +kubebuilder:validation:Optional + Ace []DataLakeGen2PathAceParameters `json:"ace,omitempty" tf:"ace,omitempty"` + + // +kubebuilder:validation:Required + FilesystemName *string `json:"filesystemName" tf:"filesystem_name,omitempty"` + + // +kubebuilder:validation:Optional + Group *string `json:"group,omitempty" tf:"group,omitempty"` + + // +kubebuilder:validation:Optional + Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` + + // +kubebuilder:validation:Required + Path *string `json:"path" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + Resource *string `json:"resource" tf:"resource,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +// DataLakeGen2PathSpec defines the desired state of DataLakeGen2Path +type DataLakeGen2PathSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DataLakeGen2PathParameters `json:"forProvider"` +} + +// DataLakeGen2PathStatus defines the observed state of DataLakeGen2Path. +type DataLakeGen2PathStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DataLakeGen2PathObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataLakeGen2Path is the Schema for the DataLakeGen2Paths API +// +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,azurejet} +type DataLakeGen2Path struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DataLakeGen2PathSpec `json:"spec"` + Status DataLakeGen2PathStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DataLakeGen2PathList contains a list of DataLakeGen2Paths +type DataLakeGen2PathList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DataLakeGen2Path `json:"items"` +} + +// Repository type metadata. +var ( + DataLakeGen2Path_Kind = "DataLakeGen2Path" + DataLakeGen2Path_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataLakeGen2Path_Kind}.String() + DataLakeGen2Path_KindAPIVersion = DataLakeGen2Path_Kind + "." + CRDGroupVersion.String() + DataLakeGen2Path_GroupVersionKind = CRDGroupVersion.WithKind(DataLakeGen2Path_Kind) +) + +func init() { + SchemeBuilder.Register(&DataLakeGen2Path{}, &DataLakeGen2PathList{}) +} diff --git a/apis/storage/v1alpha1/zz_encryptionscope_terraformed.go b/apis/storage/v1alpha1/zz_encryptionscope_terraformed.go new file mode 100755 index 000000000..45a277cc4 --- /dev/null +++ b/apis/storage/v1alpha1/zz_encryptionscope_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this EncryptionScope +func (mg *EncryptionScope) GetTerraformResourceType() string { + return "azurerm_storage_encryption_scope" +} + +// GetConnectionDetailsMapping for this EncryptionScope +func (tr *EncryptionScope) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this EncryptionScope +func (tr *EncryptionScope) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this EncryptionScope +func (tr *EncryptionScope) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this EncryptionScope +func (tr *EncryptionScope) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this EncryptionScope +func (tr *EncryptionScope) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this EncryptionScope using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *EncryptionScope) LateInitialize(attrs []byte) (bool, error) { + params := &EncryptionScopeParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *EncryptionScope) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_encryptionscope_types.go b/apis/storage/v1alpha1/zz_encryptionscope_types.go new file mode 100755 index 000000000..2c4eaa957 --- /dev/null +++ b/apis/storage/v1alpha1/zz_encryptionscope_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type EncryptionScopeObservation struct { +} + +type EncryptionScopeParameters struct { + + // +kubebuilder:validation:Optional + InfrastructureEncryptionRequired *bool `json:"infrastructureEncryptionRequired,omitempty" tf:"infrastructure_encryption_required,omitempty"` + + // +kubebuilder:validation:Optional + KeyVaultKeyID *string `json:"keyVaultKeyId,omitempty" tf:"key_vault_key_id,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Source *string `json:"source" tf:"source,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +// EncryptionScopeSpec defines the desired state of EncryptionScope +type EncryptionScopeSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider EncryptionScopeParameters `json:"forProvider"` +} + +// EncryptionScopeStatus defines the observed state of EncryptionScope. +type EncryptionScopeStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider EncryptionScopeObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// EncryptionScope is the Schema for the EncryptionScopes API +// +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,azurejet} +type EncryptionScope struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec EncryptionScopeSpec `json:"spec"` + Status EncryptionScopeStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// EncryptionScopeList contains a list of EncryptionScopes +type EncryptionScopeList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []EncryptionScope `json:"items"` +} + +// Repository type metadata. +var ( + EncryptionScope_Kind = "EncryptionScope" + EncryptionScope_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EncryptionScope_Kind}.String() + EncryptionScope_KindAPIVersion = EncryptionScope_Kind + "." + CRDGroupVersion.String() + EncryptionScope_GroupVersionKind = CRDGroupVersion.WithKind(EncryptionScope_Kind) +) + +func init() { + SchemeBuilder.Register(&EncryptionScope{}, &EncryptionScopeList{}) +} diff --git a/apis/storage/v1alpha1/zz_generated.deepcopy.go b/apis/storage/v1alpha1/zz_generated.deepcopy.go index 8c4e356ad..6c4330635 100644 --- a/apis/storage/v1alpha1/zz_generated.deepcopy.go +++ b/apis/storage/v1alpha1/zz_generated.deepcopy.go @@ -25,6 +25,138 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ACLAccessPolicyObservation) DeepCopyInto(out *ACLAccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACLAccessPolicyObservation. +func (in *ACLAccessPolicyObservation) DeepCopy() *ACLAccessPolicyObservation { + if in == nil { + return nil + } + out := new(ACLAccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ACLAccessPolicyParameters) DeepCopyInto(out *ACLAccessPolicyParameters) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Permissions != nil { + in, out := &in.Permissions, &out.Permissions + *out = new(string) + **out = **in + } + if in.Start != nil { + in, out := &in.Start, &out.Start + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACLAccessPolicyParameters. +func (in *ACLAccessPolicyParameters) DeepCopy() *ACLAccessPolicyParameters { + if in == nil { + return nil + } + out := new(ACLAccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ACLObservation) DeepCopyInto(out *ACLObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACLObservation. +func (in *ACLObservation) DeepCopy() *ACLObservation { + if in == nil { + return nil + } + out := new(ACLObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ACLParameters) DeepCopyInto(out *ACLParameters) { + *out = *in + if in.AccessPolicy != nil { + in, out := &in.AccessPolicy, &out.AccessPolicy + *out = make([]AccessPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACLParameters. +func (in *ACLParameters) DeepCopy() *ACLParameters { + if in == nil { + return nil + } + out := new(ACLParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessPolicyObservation) DeepCopyInto(out *AccessPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicyObservation. +func (in *AccessPolicyObservation) DeepCopy() *AccessPolicyObservation { + if in == nil { + return nil + } + out := new(AccessPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccessPolicyParameters) DeepCopyInto(out *AccessPolicyParameters) { + *out = *in + if in.Expiry != nil { + in, out := &in.Expiry, &out.Expiry + *out = new(string) + **out = **in + } + if in.Permissions != nil { + in, out := &in.Permissions, &out.Permissions + *out = new(string) + **out = **in + } + if in.Start != nil { + in, out := &in.Start, &out.Start + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPolicyParameters. +func (in *AccessPolicyParameters) DeepCopy() *AccessPolicyParameters { + if in == nil { + return nil + } + out := new(AccessPolicyParameters) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Account) DeepCopyInto(out *Account) { *out = *in @@ -53,31 +185,58 @@ func (in *Account) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AccountList) DeepCopyInto(out *AccountList) { +func (in *AccountCustomerManagedKey) DeepCopyInto(out *AccountCustomerManagedKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKey. +func (in *AccountCustomerManagedKey) DeepCopy() *AccountCustomerManagedKey { + if in == nil { + return nil + } + out := new(AccountCustomerManagedKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountCustomerManagedKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyList) DeepCopyInto(out *AccountCustomerManagedKeyList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Account, len(*in)) + *out = make([]AccountCustomerManagedKey, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. -func (in *AccountList) DeepCopy() *AccountList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyList. +func (in *AccountCustomerManagedKeyList) DeepCopy() *AccountCustomerManagedKeyList { if in == nil { return nil } - out := new(AccountList) + out := new(AccountCustomerManagedKeyList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AccountList) DeepCopyObject() runtime.Object { +func (in *AccountCustomerManagedKeyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -85,81 +244,425 @@ func (in *AccountList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { +func (in *AccountCustomerManagedKeyObservation) DeepCopyInto(out *AccountCustomerManagedKeyObservation) { *out = *in - if in.PrimaryBlobEndpoint != nil { - in, out := &in.PrimaryBlobEndpoint, &out.PrimaryBlobEndpoint - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyObservation. +func (in *AccountCustomerManagedKeyObservation) DeepCopy() *AccountCustomerManagedKeyObservation { + if in == nil { + return nil } - if in.PrimaryBlobHost != nil { - in, out := &in.PrimaryBlobHost, &out.PrimaryBlobHost + out := new(AccountCustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyParameters) DeepCopyInto(out *AccountCustomerManagedKeyParameters) { + *out = *in + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName *out = new(string) **out = **in } - if in.PrimaryDfsEndpoint != nil { - in, out := &in.PrimaryDfsEndpoint, &out.PrimaryDfsEndpoint + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID *out = new(string) **out = **in } - if in.PrimaryDfsHost != nil { - in, out := &in.PrimaryDfsHost, &out.PrimaryDfsHost + if in.KeyVersion != nil { + in, out := &in.KeyVersion, &out.KeyVersion *out = new(string) **out = **in } - if in.PrimaryFileEndpoint != nil { - in, out := &in.PrimaryFileEndpoint, &out.PrimaryFileEndpoint + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID *out = new(string) **out = **in } - if in.PrimaryFileHost != nil { - in, out := &in.PrimaryFileHost, &out.PrimaryFileHost + if in.UserAssignedIdentityID != nil { + in, out := &in.UserAssignedIdentityID, &out.UserAssignedIdentityID *out = new(string) **out = **in } - if in.PrimaryLocation != nil { - in, out := &in.PrimaryLocation, &out.PrimaryLocation - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyParameters. +func (in *AccountCustomerManagedKeyParameters) DeepCopy() *AccountCustomerManagedKeyParameters { + if in == nil { + return nil } - if in.PrimaryQueueEndpoint != nil { - in, out := &in.PrimaryQueueEndpoint, &out.PrimaryQueueEndpoint - *out = new(string) - **out = **in + out := new(AccountCustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeySpec) DeepCopyInto(out *AccountCustomerManagedKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeySpec. +func (in *AccountCustomerManagedKeySpec) DeepCopy() *AccountCustomerManagedKeySpec { + if in == nil { + return nil } - if in.PrimaryQueueHost != nil { - in, out := &in.PrimaryQueueHost, &out.PrimaryQueueHost - *out = new(string) - **out = **in + out := new(AccountCustomerManagedKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountCustomerManagedKeyStatus) DeepCopyInto(out *AccountCustomerManagedKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountCustomerManagedKeyStatus. +func (in *AccountCustomerManagedKeyStatus) DeepCopy() *AccountCustomerManagedKeyStatus { + if in == nil { + return nil } - if in.PrimaryTableEndpoint != nil { - in, out := &in.PrimaryTableEndpoint, &out.PrimaryTableEndpoint - *out = new(string) - **out = **in + out := new(AccountCustomerManagedKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountList) DeepCopyInto(out *AccountList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Account, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } - if in.PrimaryTableHost != nil { - in, out := &in.PrimaryTableHost, &out.PrimaryTableHost - *out = new(string) - **out = **in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList. +func (in *AccountList) DeepCopy() *AccountList { + if in == nil { + return nil } - if in.PrimaryWebEndpoint != nil { - in, out := &in.PrimaryWebEndpoint, &out.PrimaryWebEndpoint - *out = new(string) - **out = **in + out := new(AccountList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.PrimaryWebHost != nil { - in, out := &in.PrimaryWebHost, &out.PrimaryWebHost - *out = new(string) - **out = **in + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRules) DeepCopyInto(out *AccountNetworkRules) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRules. +func (in *AccountNetworkRules) DeepCopy() *AccountNetworkRules { + if in == nil { + return nil } - if in.SecondaryBlobEndpoint != nil { - in, out := &in.SecondaryBlobEndpoint, &out.SecondaryBlobEndpoint - *out = new(string) - **out = **in + out := new(AccountNetworkRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountNetworkRules) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - if in.SecondaryBlobHost != nil { - in, out := &in.SecondaryBlobHost, &out.SecondaryBlobHost - *out = new(string) + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesList) DeepCopyInto(out *AccountNetworkRulesList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AccountNetworkRules, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesList. +func (in *AccountNetworkRulesList) DeepCopy() *AccountNetworkRulesList { + if in == nil { + return nil + } + out := new(AccountNetworkRulesList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AccountNetworkRulesList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesObservation) DeepCopyInto(out *AccountNetworkRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesObservation. +func (in *AccountNetworkRulesObservation) DeepCopy() *AccountNetworkRulesObservation { + if in == nil { + return nil + } + out := new(AccountNetworkRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesParameters) DeepCopyInto(out *AccountNetworkRulesParameters) { + *out = *in + if in.Bypass != nil { + in, out := &in.Bypass, &out.Bypass + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRules != nil { + in, out := &in.IPRules, &out.IPRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PrivateLinkAccess != nil { + in, out := &in.PrivateLinkAccess, &out.PrivateLinkAccess + *out = make([]AccountNetworkRulesPrivateLinkAccessParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.VirtualNetworkSubnetIds != nil { + in, out := &in.VirtualNetworkSubnetIds, &out.VirtualNetworkSubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesParameters. +func (in *AccountNetworkRulesParameters) DeepCopy() *AccountNetworkRulesParameters { + if in == nil { + return nil + } + out := new(AccountNetworkRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesPrivateLinkAccessObservation) DeepCopyInto(out *AccountNetworkRulesPrivateLinkAccessObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesPrivateLinkAccessObservation. +func (in *AccountNetworkRulesPrivateLinkAccessObservation) DeepCopy() *AccountNetworkRulesPrivateLinkAccessObservation { + if in == nil { + return nil + } + out := new(AccountNetworkRulesPrivateLinkAccessObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesPrivateLinkAccessParameters) DeepCopyInto(out *AccountNetworkRulesPrivateLinkAccessParameters) { + *out = *in + if in.EndpointResourceID != nil { + in, out := &in.EndpointResourceID, &out.EndpointResourceID + *out = new(string) + **out = **in + } + if in.EndpointTenantID != nil { + in, out := &in.EndpointTenantID, &out.EndpointTenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesPrivateLinkAccessParameters. +func (in *AccountNetworkRulesPrivateLinkAccessParameters) DeepCopy() *AccountNetworkRulesPrivateLinkAccessParameters { + if in == nil { + return nil + } + out := new(AccountNetworkRulesPrivateLinkAccessParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesSpec) DeepCopyInto(out *AccountNetworkRulesSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesSpec. +func (in *AccountNetworkRulesSpec) DeepCopy() *AccountNetworkRulesSpec { + if in == nil { + return nil + } + out := new(AccountNetworkRulesSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountNetworkRulesStatus) DeepCopyInto(out *AccountNetworkRulesStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountNetworkRulesStatus. +func (in *AccountNetworkRulesStatus) DeepCopy() *AccountNetworkRulesStatus { + if in == nil { + return nil + } + out := new(AccountNetworkRulesStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { + *out = *in + if in.PrimaryBlobEndpoint != nil { + in, out := &in.PrimaryBlobEndpoint, &out.PrimaryBlobEndpoint + *out = new(string) + **out = **in + } + if in.PrimaryBlobHost != nil { + in, out := &in.PrimaryBlobHost, &out.PrimaryBlobHost + *out = new(string) + **out = **in + } + if in.PrimaryDfsEndpoint != nil { + in, out := &in.PrimaryDfsEndpoint, &out.PrimaryDfsEndpoint + *out = new(string) + **out = **in + } + if in.PrimaryDfsHost != nil { + in, out := &in.PrimaryDfsHost, &out.PrimaryDfsHost + *out = new(string) + **out = **in + } + if in.PrimaryFileEndpoint != nil { + in, out := &in.PrimaryFileEndpoint, &out.PrimaryFileEndpoint + *out = new(string) + **out = **in + } + if in.PrimaryFileHost != nil { + in, out := &in.PrimaryFileHost, &out.PrimaryFileHost + *out = new(string) + **out = **in + } + if in.PrimaryLocation != nil { + in, out := &in.PrimaryLocation, &out.PrimaryLocation + *out = new(string) + **out = **in + } + if in.PrimaryQueueEndpoint != nil { + in, out := &in.PrimaryQueueEndpoint, &out.PrimaryQueueEndpoint + *out = new(string) + **out = **in + } + if in.PrimaryQueueHost != nil { + in, out := &in.PrimaryQueueHost, &out.PrimaryQueueHost + *out = new(string) + **out = **in + } + if in.PrimaryTableEndpoint != nil { + in, out := &in.PrimaryTableEndpoint, &out.PrimaryTableEndpoint + *out = new(string) + **out = **in + } + if in.PrimaryTableHost != nil { + in, out := &in.PrimaryTableHost, &out.PrimaryTableHost + *out = new(string) + **out = **in + } + if in.PrimaryWebEndpoint != nil { + in, out := &in.PrimaryWebEndpoint, &out.PrimaryWebEndpoint + *out = new(string) + **out = **in + } + if in.PrimaryWebHost != nil { + in, out := &in.PrimaryWebHost, &out.PrimaryWebHost + *out = new(string) + **out = **in + } + if in.SecondaryBlobEndpoint != nil { + in, out := &in.SecondaryBlobEndpoint, &out.SecondaryBlobEndpoint + *out = new(string) + **out = **in + } + if in.SecondaryBlobHost != nil { + in, out := &in.SecondaryBlobHost, &out.SecondaryBlobHost + *out = new(string) **out = **in } if in.SecondaryDfsEndpoint != nil { @@ -224,692 +727,3270 @@ func (in *AccountObservation) DeepCopy() *AccountObservation { if in == nil { return nil } - out := new(AccountObservation) + out := new(AccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { + *out = *in + if in.AccessTier != nil { + in, out := &in.AccessTier, &out.AccessTier + *out = new(string) + **out = **in + } + if in.AccountKind != nil { + in, out := &in.AccountKind, &out.AccountKind + *out = new(string) + **out = **in + } + if in.AccountReplicationType != nil { + in, out := &in.AccountReplicationType, &out.AccountReplicationType + *out = new(string) + **out = **in + } + if in.AccountTier != nil { + in, out := &in.AccountTier, &out.AccountTier + *out = new(string) + **out = **in + } + if in.AllowBlobPublicAccess != nil { + in, out := &in.AllowBlobPublicAccess, &out.AllowBlobPublicAccess + *out = new(bool) + **out = **in + } + if in.AzureFilesAuthentication != nil { + in, out := &in.AzureFilesAuthentication, &out.AzureFilesAuthentication + *out = make([]AzureFilesAuthenticationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BlobProperties != nil { + in, out := &in.BlobProperties, &out.BlobProperties + *out = make([]BlobPropertiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomDomain != nil { + in, out := &in.CustomDomain, &out.CustomDomain + *out = make([]CustomDomainParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EnableHTTPSTrafficOnly != nil { + in, out := &in.EnableHTTPSTrafficOnly, &out.EnableHTTPSTrafficOnly + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IsHnsEnabled != nil { + in, out := &in.IsHnsEnabled, &out.IsHnsEnabled + *out = new(bool) + **out = **in + } + if in.LargeFileShareEnabled != nil { + in, out := &in.LargeFileShareEnabled, &out.LargeFileShareEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MinTLSVersion != nil { + in, out := &in.MinTLSVersion, &out.MinTLSVersion + *out = new(string) + **out = **in + } + if in.NetworkRules != nil { + in, out := &in.NetworkRules, &out.NetworkRules + *out = make([]NetworkRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Nfsv3Enabled != nil { + in, out := &in.Nfsv3Enabled, &out.Nfsv3Enabled + *out = new(bool) + **out = **in + } + if in.QueueProperties != nil { + in, out := &in.QueueProperties, &out.QueueProperties + *out = make([]QueuePropertiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ResourceGroupNameRef != nil { + in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef + *out = new(v1.Reference) + **out = **in + } + if in.ResourceGroupNameSelector != nil { + in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Routing != nil { + in, out := &in.Routing, &out.Routing + *out = make([]RoutingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ShareProperties != nil { + in, out := &in.ShareProperties, &out.ShareProperties + *out = make([]SharePropertiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SharedAccessKeyEnabled != nil { + in, out := &in.SharedAccessKeyEnabled, &out.SharedAccessKeyEnabled + *out = new(bool) + **out = **in + } + if in.StaticWebsite != nil { + in, out := &in.StaticWebsite, &out.StaticWebsite + *out = make([]StaticWebsiteParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. +func (in *AccountParameters) DeepCopy() *AccountParameters { + if in == nil { + return nil + } + out := new(AccountParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. +func (in *AccountSpec) DeepCopy() *AccountSpec { + if in == nil { + return nil + } + out := new(AccountSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. +func (in *AccountStatus) DeepCopy() *AccountStatus { + if in == nil { + return nil + } + out := new(AccountStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AceObservation) DeepCopyInto(out *AceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AceObservation. +func (in *AceObservation) DeepCopy() *AceObservation { + if in == nil { + return nil + } + out := new(AceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AceParameters) DeepCopyInto(out *AceParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Permissions != nil { + in, out := &in.Permissions, &out.Permissions + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AceParameters. +func (in *AceParameters) DeepCopy() *AceParameters { + if in == nil { + return nil + } + out := new(AceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionsObservation) DeepCopyInto(out *ActionsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsObservation. +func (in *ActionsObservation) DeepCopy() *ActionsObservation { + if in == nil { + return nil + } + out := new(ActionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActionsParameters) DeepCopyInto(out *ActionsParameters) { + *out = *in + if in.BaseBlob != nil { + in, out := &in.BaseBlob, &out.BaseBlob + *out = make([]BaseBlobParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Snapshot != nil { + in, out := &in.Snapshot, &out.Snapshot + *out = make([]SnapshotParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = make([]VersionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsParameters. +func (in *ActionsParameters) DeepCopy() *ActionsParameters { + if in == nil { + return nil + } + out := new(ActionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryObservation) DeepCopyInto(out *ActiveDirectoryObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryObservation. +func (in *ActiveDirectoryObservation) DeepCopy() *ActiveDirectoryObservation { + if in == nil { + return nil + } + out := new(ActiveDirectoryObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ActiveDirectoryParameters) DeepCopyInto(out *ActiveDirectoryParameters) { + *out = *in + if in.DomainGUID != nil { + in, out := &in.DomainGUID, &out.DomainGUID + *out = new(string) + **out = **in + } + if in.DomainName != nil { + in, out := &in.DomainName, &out.DomainName + *out = new(string) + **out = **in + } + if in.DomainSid != nil { + in, out := &in.DomainSid, &out.DomainSid + *out = new(string) + **out = **in + } + if in.ForestName != nil { + in, out := &in.ForestName, &out.ForestName + *out = new(string) + **out = **in + } + if in.NetbiosDomainName != nil { + in, out := &in.NetbiosDomainName, &out.NetbiosDomainName + *out = new(string) + **out = **in + } + if in.StorageSid != nil { + in, out := &in.StorageSid, &out.StorageSid + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryParameters. +func (in *ActiveDirectoryParameters) DeepCopy() *ActiveDirectoryParameters { + if in == nil { + return nil + } + out := new(ActiveDirectoryParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureFilesAuthenticationObservation) DeepCopyInto(out *AzureFilesAuthenticationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilesAuthenticationObservation. +func (in *AzureFilesAuthenticationObservation) DeepCopy() *AzureFilesAuthenticationObservation { + if in == nil { + return nil + } + out := new(AzureFilesAuthenticationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureFilesAuthenticationParameters) DeepCopyInto(out *AzureFilesAuthenticationParameters) { + *out = *in + if in.ActiveDirectory != nil { + in, out := &in.ActiveDirectory, &out.ActiveDirectory + *out = make([]ActiveDirectoryParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DirectoryType != nil { + in, out := &in.DirectoryType, &out.DirectoryType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilesAuthenticationParameters. +func (in *AzureFilesAuthenticationParameters) DeepCopy() *AzureFilesAuthenticationParameters { + if in == nil { + return nil + } + out := new(AzureFilesAuthenticationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BaseBlobObservation) DeepCopyInto(out *BaseBlobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseBlobObservation. +func (in *BaseBlobObservation) DeepCopy() *BaseBlobObservation { + if in == nil { + return nil + } + out := new(BaseBlobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BaseBlobParameters) DeepCopyInto(out *BaseBlobParameters) { + *out = *in + if in.DeleteAfterDaysSinceModificationGreaterThan != nil { + in, out := &in.DeleteAfterDaysSinceModificationGreaterThan, &out.DeleteAfterDaysSinceModificationGreaterThan + *out = new(int64) + **out = **in + } + if in.TierToArchiveAfterDaysSinceModificationGreaterThan != nil { + in, out := &in.TierToArchiveAfterDaysSinceModificationGreaterThan, &out.TierToArchiveAfterDaysSinceModificationGreaterThan + *out = new(int64) + **out = **in + } + if in.TierToCoolAfterDaysSinceModificationGreaterThan != nil { + in, out := &in.TierToCoolAfterDaysSinceModificationGreaterThan, &out.TierToCoolAfterDaysSinceModificationGreaterThan + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseBlobParameters. +func (in *BaseBlobParameters) DeepCopy() *BaseBlobParameters { + if in == nil { + return nil + } + out := new(BaseBlobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Blob) DeepCopyInto(out *Blob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blob. +func (in *Blob) DeepCopy() *Blob { + if in == nil { + return nil + } + out := new(Blob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Blob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobInventoryPolicy) DeepCopyInto(out *BlobInventoryPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobInventoryPolicy. +func (in *BlobInventoryPolicy) DeepCopy() *BlobInventoryPolicy { + if in == nil { + return nil + } + out := new(BlobInventoryPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BlobInventoryPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobInventoryPolicyList) DeepCopyInto(out *BlobInventoryPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]BlobInventoryPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobInventoryPolicyList. +func (in *BlobInventoryPolicyList) DeepCopy() *BlobInventoryPolicyList { + if in == nil { + return nil + } + out := new(BlobInventoryPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BlobInventoryPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobInventoryPolicyObservation) DeepCopyInto(out *BlobInventoryPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobInventoryPolicyObservation. +func (in *BlobInventoryPolicyObservation) DeepCopy() *BlobInventoryPolicyObservation { + if in == nil { + return nil + } + out := new(BlobInventoryPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobInventoryPolicyParameters) DeepCopyInto(out *BlobInventoryPolicyParameters) { + *out = *in + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]RulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } + if in.StorageContainerName != nil { + in, out := &in.StorageContainerName, &out.StorageContainerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobInventoryPolicyParameters. +func (in *BlobInventoryPolicyParameters) DeepCopy() *BlobInventoryPolicyParameters { + if in == nil { + return nil + } + out := new(BlobInventoryPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobInventoryPolicySpec) DeepCopyInto(out *BlobInventoryPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobInventoryPolicySpec. +func (in *BlobInventoryPolicySpec) DeepCopy() *BlobInventoryPolicySpec { + if in == nil { + return nil + } + out := new(BlobInventoryPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobInventoryPolicyStatus) DeepCopyInto(out *BlobInventoryPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobInventoryPolicyStatus. +func (in *BlobInventoryPolicyStatus) DeepCopy() *BlobInventoryPolicyStatus { + if in == nil { + return nil + } + out := new(BlobInventoryPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobList) DeepCopyInto(out *BlobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Blob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobList. +func (in *BlobList) DeepCopy() *BlobList { + if in == nil { + return nil + } + out := new(BlobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *BlobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobObservation) DeepCopyInto(out *BlobObservation) { + *out = *in + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobObservation. +func (in *BlobObservation) DeepCopy() *BlobObservation { + if in == nil { + return nil + } + out := new(BlobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobParameters) DeepCopyInto(out *BlobParameters) { + *out = *in + if in.AccessTier != nil { + in, out := &in.AccessTier, &out.AccessTier + *out = new(string) + **out = **in + } + if in.ContentMd5 != nil { + in, out := &in.ContentMd5, &out.ContentMd5 + *out = new(string) + **out = **in + } + if in.ContentType != nil { + in, out := &in.ContentType, &out.ContentType + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Parallelism != nil { + in, out := &in.Parallelism, &out.Parallelism + *out = new(int64) + **out = **in + } + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(int64) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) + **out = **in + } + if in.SourceContent != nil { + in, out := &in.SourceContent, &out.SourceContent + *out = new(string) + **out = **in + } + if in.SourceURI != nil { + in, out := &in.SourceURI, &out.SourceURI + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageAccountNameRef != nil { + in, out := &in.StorageAccountNameRef, &out.StorageAccountNameRef + *out = new(v1.Reference) + **out = **in + } + if in.StorageAccountNameSelector != nil { + in, out := &in.StorageAccountNameSelector, &out.StorageAccountNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.StorageContainerName != nil { + in, out := &in.StorageContainerName, &out.StorageContainerName + *out = new(string) + **out = **in + } + if in.StorageContainerNameRef != nil { + in, out := &in.StorageContainerNameRef, &out.StorageContainerNameRef + *out = new(v1.Reference) + **out = **in + } + if in.StorageContainerNameSelector != nil { + in, out := &in.StorageContainerNameSelector, &out.StorageContainerNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobParameters. +func (in *BlobParameters) DeepCopy() *BlobParameters { + if in == nil { + return nil + } + out := new(BlobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobPropertiesObservation) DeepCopyInto(out *BlobPropertiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobPropertiesObservation. +func (in *BlobPropertiesObservation) DeepCopy() *BlobPropertiesObservation { + if in == nil { + return nil + } + out := new(BlobPropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobPropertiesParameters) DeepCopyInto(out *BlobPropertiesParameters) { + *out = *in + if in.ChangeFeedEnabled != nil { + in, out := &in.ChangeFeedEnabled, &out.ChangeFeedEnabled + *out = new(bool) + **out = **in + } + if in.ContainerDeleteRetentionPolicy != nil { + in, out := &in.ContainerDeleteRetentionPolicy, &out.ContainerDeleteRetentionPolicy + *out = make([]ContainerDeleteRetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CorsRule != nil { + in, out := &in.CorsRule, &out.CorsRule + *out = make([]CorsRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DefaultServiceVersion != nil { + in, out := &in.DefaultServiceVersion, &out.DefaultServiceVersion + *out = new(string) + **out = **in + } + if in.DeleteRetentionPolicy != nil { + in, out := &in.DeleteRetentionPolicy, &out.DeleteRetentionPolicy + *out = make([]DeleteRetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LastAccessTimeEnabled != nil { + in, out := &in.LastAccessTimeEnabled, &out.LastAccessTimeEnabled + *out = new(bool) + **out = **in + } + if in.VersioningEnabled != nil { + in, out := &in.VersioningEnabled, &out.VersioningEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobPropertiesParameters. +func (in *BlobPropertiesParameters) DeepCopy() *BlobPropertiesParameters { + if in == nil { + return nil + } + out := new(BlobPropertiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobSpec) DeepCopyInto(out *BlobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobSpec. +func (in *BlobSpec) DeepCopy() *BlobSpec { + if in == nil { + return nil + } + out := new(BlobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BlobStatus) DeepCopyInto(out *BlobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobStatus. +func (in *BlobStatus) DeepCopy() *BlobStatus { + if in == nil { + return nil + } + out := new(BlobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Container) DeepCopyInto(out *Container) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. +func (in *Container) DeepCopy() *Container { + if in == nil { + return nil + } + out := new(Container) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Container) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerDeleteRetentionPolicyObservation) DeepCopyInto(out *ContainerDeleteRetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDeleteRetentionPolicyObservation. +func (in *ContainerDeleteRetentionPolicyObservation) DeepCopy() *ContainerDeleteRetentionPolicyObservation { + if in == nil { + return nil + } + out := new(ContainerDeleteRetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerDeleteRetentionPolicyParameters) DeepCopyInto(out *ContainerDeleteRetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDeleteRetentionPolicyParameters. +func (in *ContainerDeleteRetentionPolicyParameters) DeepCopy() *ContainerDeleteRetentionPolicyParameters { + if in == nil { + return nil + } + out := new(ContainerDeleteRetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerList) DeepCopyInto(out *ContainerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Container, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerList. +func (in *ContainerList) DeepCopy() *ContainerList { + if in == nil { + return nil + } + out := new(ContainerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ContainerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { + *out = *in + if in.HasImmutabilityPolicy != nil { + in, out := &in.HasImmutabilityPolicy, &out.HasImmutabilityPolicy + *out = new(bool) + **out = **in + } + if in.HasLegalHold != nil { + in, out := &in.HasLegalHold, &out.HasLegalHold + *out = new(bool) + **out = **in + } + if in.ResourceManagerID != nil { + in, out := &in.ResourceManagerID, &out.ResourceManagerID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerObservation. +func (in *ContainerObservation) DeepCopy() *ContainerObservation { + if in == nil { + return nil + } + out := new(ContainerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { + *out = *in + if in.ContainerAccessType != nil { + in, out := &in.ContainerAccessType, &out.ContainerAccessType + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageAccountNameRef != nil { + in, out := &in.StorageAccountNameRef, &out.StorageAccountNameRef + *out = new(v1.Reference) + **out = **in + } + if in.StorageAccountNameSelector != nil { + in, out := &in.StorageAccountNameSelector, &out.StorageAccountNameSelector + *out = new(v1.Selector) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParameters. +func (in *ContainerParameters) DeepCopy() *ContainerParameters { + if in == nil { + return nil + } + out := new(ContainerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec. +func (in *ContainerSpec) DeepCopy() *ContainerSpec { + if in == nil { + return nil + } + out := new(ContainerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. +func (in *ContainerStatus) DeepCopy() *ContainerStatus { + if in == nil { + return nil + } + out := new(ContainerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsRuleObservation) DeepCopyInto(out *CorsRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsRuleObservation. +func (in *CorsRuleObservation) DeepCopy() *CorsRuleObservation { + if in == nil { + return nil + } + out := new(CorsRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters) { + *out = *in + if in.AllowedHeaders != nil { + in, out := &in.AllowedHeaders, &out.AllowedHeaders + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedMethods != nil { + in, out := &in.AllowedMethods, &out.AllowedMethods + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExposedHeaders != nil { + in, out := &in.ExposedHeaders, &out.ExposedHeaders + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MaxAgeInSeconds != nil { + in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsRuleParameters. +func (in *CorsRuleParameters) DeepCopy() *CorsRuleParameters { + if in == nil { + return nil + } + out := new(CorsRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomDomainObservation) DeepCopyInto(out *CustomDomainObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainObservation. +func (in *CustomDomainObservation) DeepCopy() *CustomDomainObservation { + if in == nil { + return nil + } + out := new(CustomDomainObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomDomainParameters) DeepCopyInto(out *CustomDomainParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.UseSubdomain != nil { + in, out := &in.UseSubdomain, &out.UseSubdomain + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainParameters. +func (in *CustomDomainParameters) DeepCopy() *CustomDomainParameters { + if in == nil { + return nil + } + out := new(CustomDomainParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2Filesystem) DeepCopyInto(out *DataLakeGen2Filesystem) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2Filesystem. +func (in *DataLakeGen2Filesystem) DeepCopy() *DataLakeGen2Filesystem { + if in == nil { + return nil + } + out := new(DataLakeGen2Filesystem) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataLakeGen2Filesystem) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2FilesystemList) DeepCopyInto(out *DataLakeGen2FilesystemList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataLakeGen2Filesystem, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2FilesystemList. +func (in *DataLakeGen2FilesystemList) DeepCopy() *DataLakeGen2FilesystemList { + if in == nil { + return nil + } + out := new(DataLakeGen2FilesystemList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataLakeGen2FilesystemList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2FilesystemObservation) DeepCopyInto(out *DataLakeGen2FilesystemObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2FilesystemObservation. +func (in *DataLakeGen2FilesystemObservation) DeepCopy() *DataLakeGen2FilesystemObservation { + if in == nil { + return nil + } + out := new(DataLakeGen2FilesystemObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2FilesystemParameters) DeepCopyInto(out *DataLakeGen2FilesystemParameters) { + *out = *in + if in.Ace != nil { + in, out := &in.Ace, &out.Ace + *out = make([]AceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Properties != nil { + in, out := &in.Properties, &out.Properties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2FilesystemParameters. +func (in *DataLakeGen2FilesystemParameters) DeepCopy() *DataLakeGen2FilesystemParameters { + if in == nil { + return nil + } + out := new(DataLakeGen2FilesystemParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2FilesystemSpec) DeepCopyInto(out *DataLakeGen2FilesystemSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2FilesystemSpec. +func (in *DataLakeGen2FilesystemSpec) DeepCopy() *DataLakeGen2FilesystemSpec { + if in == nil { + return nil + } + out := new(DataLakeGen2FilesystemSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2FilesystemStatus) DeepCopyInto(out *DataLakeGen2FilesystemStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2FilesystemStatus. +func (in *DataLakeGen2FilesystemStatus) DeepCopy() *DataLakeGen2FilesystemStatus { + if in == nil { + return nil + } + out := new(DataLakeGen2FilesystemStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2Path) DeepCopyInto(out *DataLakeGen2Path) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2Path. +func (in *DataLakeGen2Path) DeepCopy() *DataLakeGen2Path { + if in == nil { + return nil + } + out := new(DataLakeGen2Path) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataLakeGen2Path) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathAceObservation) DeepCopyInto(out *DataLakeGen2PathAceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathAceObservation. +func (in *DataLakeGen2PathAceObservation) DeepCopy() *DataLakeGen2PathAceObservation { + if in == nil { + return nil + } + out := new(DataLakeGen2PathAceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathAceParameters) DeepCopyInto(out *DataLakeGen2PathAceParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.Permissions != nil { + in, out := &in.Permissions, &out.Permissions + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathAceParameters. +func (in *DataLakeGen2PathAceParameters) DeepCopy() *DataLakeGen2PathAceParameters { + if in == nil { + return nil + } + out := new(DataLakeGen2PathAceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathList) DeepCopyInto(out *DataLakeGen2PathList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DataLakeGen2Path, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathList. +func (in *DataLakeGen2PathList) DeepCopy() *DataLakeGen2PathList { + if in == nil { + return nil + } + out := new(DataLakeGen2PathList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DataLakeGen2PathList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathObservation) DeepCopyInto(out *DataLakeGen2PathObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathObservation. +func (in *DataLakeGen2PathObservation) DeepCopy() *DataLakeGen2PathObservation { + if in == nil { + return nil + } + out := new(DataLakeGen2PathObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathParameters) DeepCopyInto(out *DataLakeGen2PathParameters) { + *out = *in + if in.Ace != nil { + in, out := &in.Ace, &out.Ace + *out = make([]DataLakeGen2PathAceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.FilesystemName != nil { + in, out := &in.FilesystemName, &out.FilesystemName + *out = new(string) + **out = **in + } + if in.Group != nil { + in, out := &in.Group, &out.Group + *out = new(string) + **out = **in + } + if in.Owner != nil { + in, out := &in.Owner, &out.Owner + *out = new(string) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Resource != nil { + in, out := &in.Resource, &out.Resource + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathParameters. +func (in *DataLakeGen2PathParameters) DeepCopy() *DataLakeGen2PathParameters { + if in == nil { + return nil + } + out := new(DataLakeGen2PathParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathSpec) DeepCopyInto(out *DataLakeGen2PathSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathSpec. +func (in *DataLakeGen2PathSpec) DeepCopy() *DataLakeGen2PathSpec { + if in == nil { + return nil + } + out := new(DataLakeGen2PathSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataLakeGen2PathStatus) DeepCopyInto(out *DataLakeGen2PathStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLakeGen2PathStatus. +func (in *DataLakeGen2PathStatus) DeepCopy() *DataLakeGen2PathStatus { + if in == nil { + return nil + } + out := new(DataLakeGen2PathStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeleteRetentionPolicyObservation) DeepCopyInto(out *DeleteRetentionPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteRetentionPolicyObservation. +func (in *DeleteRetentionPolicyObservation) DeepCopy() *DeleteRetentionPolicyObservation { + if in == nil { + return nil + } + out := new(DeleteRetentionPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeleteRetentionPolicyParameters) DeepCopyInto(out *DeleteRetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteRetentionPolicyParameters. +func (in *DeleteRetentionPolicyParameters) DeepCopy() *DeleteRetentionPolicyParameters { + if in == nil { + return nil + } + out := new(DeleteRetentionPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionScope) DeepCopyInto(out *EncryptionScope) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScope. +func (in *EncryptionScope) DeepCopy() *EncryptionScope { + if in == nil { + return nil + } + out := new(EncryptionScope) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EncryptionScope) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionScopeList) DeepCopyInto(out *EncryptionScopeList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]EncryptionScope, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScopeList. +func (in *EncryptionScopeList) DeepCopy() *EncryptionScopeList { + if in == nil { + return nil + } + out := new(EncryptionScopeList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *EncryptionScopeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionScopeObservation) DeepCopyInto(out *EncryptionScopeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScopeObservation. +func (in *EncryptionScopeObservation) DeepCopy() *EncryptionScopeObservation { + if in == nil { + return nil + } + out := new(EncryptionScopeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionScopeParameters) DeepCopyInto(out *EncryptionScopeParameters) { + *out = *in + if in.InfrastructureEncryptionRequired != nil { + in, out := &in.InfrastructureEncryptionRequired, &out.InfrastructureEncryptionRequired + *out = new(bool) + **out = **in + } + if in.KeyVaultKeyID != nil { + in, out := &in.KeyVaultKeyID, &out.KeyVaultKeyID + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Source != nil { + in, out := &in.Source, &out.Source + *out = new(string) + **out = **in + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScopeParameters. +func (in *EncryptionScopeParameters) DeepCopy() *EncryptionScopeParameters { + if in == nil { + return nil + } + out := new(EncryptionScopeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionScopeSpec) DeepCopyInto(out *EncryptionScopeSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScopeSpec. +func (in *EncryptionScopeSpec) DeepCopy() *EncryptionScopeSpec { + if in == nil { + return nil + } + out := new(EncryptionScopeSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *EncryptionScopeStatus) DeepCopyInto(out *EncryptionScopeStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionScopeStatus. +func (in *EncryptionScopeStatus) DeepCopy() *EncryptionScopeStatus { + if in == nil { + return nil + } + out := new(EncryptionScopeStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterObservation. +func (in *FilterObservation) DeepCopy() *FilterObservation { + if in == nil { + return nil + } + out := new(FilterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { + *out = *in + if in.BlobTypes != nil { + in, out := &in.BlobTypes, &out.BlobTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IncludeBlobVersions != nil { + in, out := &in.IncludeBlobVersions, &out.IncludeBlobVersions + *out = new(bool) + **out = **in + } + if in.IncludeSnapshots != nil { + in, out := &in.IncludeSnapshots, &out.IncludeSnapshots + *out = new(bool) + **out = **in + } + if in.PrefixMatch != nil { + in, out := &in.PrefixMatch, &out.PrefixMatch + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterParameters. +func (in *FilterParameters) DeepCopy() *FilterParameters { + if in == nil { + return nil + } + out := new(FilterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FiltersObservation) DeepCopyInto(out *FiltersObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FiltersObservation. +func (in *FiltersObservation) DeepCopy() *FiltersObservation { + if in == nil { + return nil + } + out := new(FiltersObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FiltersParameters) DeepCopyInto(out *FiltersParameters) { + *out = *in + if in.BlobTypes != nil { + in, out := &in.BlobTypes, &out.BlobTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MatchBlobIndexTag != nil { + in, out := &in.MatchBlobIndexTag, &out.MatchBlobIndexTag + *out = make([]MatchBlobIndexTagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PrefixMatch != nil { + in, out := &in.PrefixMatch, &out.PrefixMatch + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FiltersParameters. +func (in *FiltersParameters) DeepCopy() *FiltersParameters { + if in == nil { + return nil + } + out := new(FiltersParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HourMetricsObservation) DeepCopyInto(out *HourMetricsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HourMetricsObservation. +func (in *HourMetricsObservation) DeepCopy() *HourMetricsObservation { + if in == nil { + return nil + } + out := new(HourMetricsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HourMetricsParameters) DeepCopyInto(out *HourMetricsParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.IncludeApis != nil { + in, out := &in.IncludeApis, &out.IncludeApis + *out = new(bool) + **out = **in + } + if in.RetentionPolicyDays != nil { + in, out := &in.RetentionPolicyDays, &out.RetentionPolicyDays + *out = new(int64) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HourMetricsParameters. +func (in *HourMetricsParameters) DeepCopy() *HourMetricsParameters { + if in == nil { + return nil + } + out := new(HourMetricsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingObservation. +func (in *LoggingObservation) DeepCopy() *LoggingObservation { + if in == nil { + return nil + } + out := new(LoggingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters) { + *out = *in + if in.Delete != nil { + in, out := &in.Delete, &out.Delete + *out = new(bool) + **out = **in + } + if in.Read != nil { + in, out := &in.Read, &out.Read + *out = new(bool) + **out = **in + } + if in.RetentionPolicyDays != nil { + in, out := &in.RetentionPolicyDays, &out.RetentionPolicyDays + *out = new(int64) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } + if in.Write != nil { + in, out := &in.Write, &out.Write + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingParameters. +func (in *LoggingParameters) DeepCopy() *LoggingParameters { + if in == nil { + return nil + } + out := new(LoggingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicy) DeepCopyInto(out *ManagementPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicy. +func (in *ManagementPolicy) DeepCopy() *ManagementPolicy { + if in == nil { + return nil + } + out := new(ManagementPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyList) DeepCopyInto(out *ManagementPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagementPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyList. +func (in *ManagementPolicyList) DeepCopy() *ManagementPolicyList { + if in == nil { + return nil + } + out := new(ManagementPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagementPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyObservation) DeepCopyInto(out *ManagementPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyObservation. +func (in *ManagementPolicyObservation) DeepCopy() *ManagementPolicyObservation { + if in == nil { + return nil + } + out := new(ManagementPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyParameters) DeepCopyInto(out *ManagementPolicyParameters) { + *out = *in + if in.Rule != nil { + in, out := &in.Rule, &out.Rule + *out = make([]RuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyParameters. +func (in *ManagementPolicyParameters) DeepCopy() *ManagementPolicyParameters { + if in == nil { + return nil + } + out := new(ManagementPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicySpec) DeepCopyInto(out *ManagementPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicySpec. +func (in *ManagementPolicySpec) DeepCopy() *ManagementPolicySpec { + if in == nil { + return nil + } + out := new(ManagementPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementPolicyStatus) DeepCopyInto(out *ManagementPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementPolicyStatus. +func (in *ManagementPolicyStatus) DeepCopy() *ManagementPolicyStatus { + if in == nil { + return nil + } + out := new(ManagementPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchBlobIndexTagObservation) DeepCopyInto(out *MatchBlobIndexTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchBlobIndexTagObservation. +func (in *MatchBlobIndexTagObservation) DeepCopy() *MatchBlobIndexTagObservation { + if in == nil { + return nil + } + out := new(MatchBlobIndexTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchBlobIndexTagParameters) DeepCopyInto(out *MatchBlobIndexTagParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Operation != nil { + in, out := &in.Operation, &out.Operation + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchBlobIndexTagParameters. +func (in *MatchBlobIndexTagParameters) DeepCopy() *MatchBlobIndexTagParameters { + if in == nil { + return nil + } + out := new(MatchBlobIndexTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MinuteMetricsObservation) DeepCopyInto(out *MinuteMetricsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinuteMetricsObservation. +func (in *MinuteMetricsObservation) DeepCopy() *MinuteMetricsObservation { + if in == nil { + return nil + } + out := new(MinuteMetricsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MinuteMetricsParameters) DeepCopyInto(out *MinuteMetricsParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.IncludeApis != nil { + in, out := &in.IncludeApis, &out.IncludeApis + *out = new(bool) + **out = **in + } + if in.RetentionPolicyDays != nil { + in, out := &in.RetentionPolicyDays, &out.RetentionPolicyDays + *out = new(int64) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinuteMetricsParameters. +func (in *MinuteMetricsParameters) DeepCopy() *MinuteMetricsParameters { + if in == nil { + return nil + } + out := new(MinuteMetricsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRulesObservation) DeepCopyInto(out *NetworkRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesObservation. +func (in *NetworkRulesObservation) DeepCopy() *NetworkRulesObservation { + if in == nil { + return nil + } + out := new(NetworkRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkRulesParameters) DeepCopyInto(out *NetworkRulesParameters) { + *out = *in + if in.Bypass != nil { + in, out := &in.Bypass, &out.Bypass + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DefaultAction != nil { + in, out := &in.DefaultAction, &out.DefaultAction + *out = new(string) + **out = **in + } + if in.IPRules != nil { + in, out := &in.IPRules, &out.IPRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PrivateLinkAccess != nil { + in, out := &in.PrivateLinkAccess, &out.PrivateLinkAccess + *out = make([]PrivateLinkAccessParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VirtualNetworkSubnetIds != nil { + in, out := &in.VirtualNetworkSubnetIds, &out.VirtualNetworkSubnetIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesParameters. +func (in *NetworkRulesParameters) DeepCopy() *NetworkRulesParameters { + if in == nil { + return nil + } + out := new(NetworkRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplication) DeepCopyInto(out *ObjectReplication) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplication. +func (in *ObjectReplication) DeepCopy() *ObjectReplication { + if in == nil { + return nil + } + out := new(ObjectReplication) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ObjectReplication) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationList) DeepCopyInto(out *ObjectReplicationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ObjectReplication, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationList. +func (in *ObjectReplicationList) DeepCopy() *ObjectReplicationList { + if in == nil { + return nil + } + out := new(ObjectReplicationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ObjectReplicationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationObservation) DeepCopyInto(out *ObjectReplicationObservation) { + *out = *in + if in.DestinationObjectReplicationID != nil { + in, out := &in.DestinationObjectReplicationID, &out.DestinationObjectReplicationID + *out = new(string) + **out = **in + } + if in.SourceObjectReplicationID != nil { + in, out := &in.SourceObjectReplicationID, &out.SourceObjectReplicationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationObservation. +func (in *ObjectReplicationObservation) DeepCopy() *ObjectReplicationObservation { + if in == nil { + return nil + } + out := new(ObjectReplicationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationParameters) DeepCopyInto(out *ObjectReplicationParameters) { + *out = *in + if in.DestinationStorageAccountID != nil { + in, out := &in.DestinationStorageAccountID, &out.DestinationStorageAccountID + *out = new(string) + **out = **in + } + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]ObjectReplicationRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SourceStorageAccountID != nil { + in, out := &in.SourceStorageAccountID, &out.SourceStorageAccountID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationParameters. +func (in *ObjectReplicationParameters) DeepCopy() *ObjectReplicationParameters { + if in == nil { + return nil + } + out := new(ObjectReplicationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationRulesObservation) DeepCopyInto(out *ObjectReplicationRulesObservation) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationRulesObservation. +func (in *ObjectReplicationRulesObservation) DeepCopy() *ObjectReplicationRulesObservation { + if in == nil { + return nil + } + out := new(ObjectReplicationRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationRulesParameters) DeepCopyInto(out *ObjectReplicationRulesParameters) { + *out = *in + if in.CopyBlobsCreatedAfter != nil { + in, out := &in.CopyBlobsCreatedAfter, &out.CopyBlobsCreatedAfter + *out = new(string) + **out = **in + } + if in.DestinationContainerName != nil { + in, out := &in.DestinationContainerName, &out.DestinationContainerName + *out = new(string) + **out = **in + } + if in.FilterOutBlobsWithPrefix != nil { + in, out := &in.FilterOutBlobsWithPrefix, &out.FilterOutBlobsWithPrefix + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.SourceContainerName != nil { + in, out := &in.SourceContainerName, &out.SourceContainerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationRulesParameters. +func (in *ObjectReplicationRulesParameters) DeepCopy() *ObjectReplicationRulesParameters { + if in == nil { + return nil + } + out := new(ObjectReplicationRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationSpec) DeepCopyInto(out *ObjectReplicationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationSpec. +func (in *ObjectReplicationSpec) DeepCopy() *ObjectReplicationSpec { + if in == nil { + return nil + } + out := new(ObjectReplicationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReplicationStatus) DeepCopyInto(out *ObjectReplicationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReplicationStatus. +func (in *ObjectReplicationStatus) DeepCopy() *ObjectReplicationStatus { + if in == nil { + return nil + } + out := new(ObjectReplicationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkAccessObservation) DeepCopyInto(out *PrivateLinkAccessObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkAccessObservation. +func (in *PrivateLinkAccessObservation) DeepCopy() *PrivateLinkAccessObservation { + if in == nil { + return nil + } + out := new(PrivateLinkAccessObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkAccessParameters) DeepCopyInto(out *PrivateLinkAccessParameters) { + *out = *in + if in.EndpointResourceID != nil { + in, out := &in.EndpointResourceID, &out.EndpointResourceID + *out = new(string) + **out = **in + } + if in.EndpointTenantID != nil { + in, out := &in.EndpointTenantID, &out.EndpointTenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkAccessParameters. +func (in *PrivateLinkAccessParameters) DeepCopy() *PrivateLinkAccessParameters { + if in == nil { + return nil + } + out := new(PrivateLinkAccessParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Queue) DeepCopyInto(out *Queue) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Queue. +func (in *Queue) DeepCopy() *Queue { + if in == nil { + return nil + } + out := new(Queue) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Queue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueList) DeepCopyInto(out *QueueList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Queue, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueList. +func (in *QueueList) DeepCopy() *QueueList { + if in == nil { + return nil + } + out := new(QueueList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *QueueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueObservation. +func (in *QueueObservation) DeepCopy() *QueueObservation { + if in == nil { + return nil + } + out := new(QueueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueueParameters) DeepCopyInto(out *QueueParameters) { + *out = *in + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueParameters. +func (in *QueueParameters) DeepCopy() *QueueParameters { + if in == nil { + return nil + } + out := new(QueueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueuePropertiesCorsRuleObservation) DeepCopyInto(out *QueuePropertiesCorsRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesCorsRuleObservation. +func (in *QueuePropertiesCorsRuleObservation) DeepCopy() *QueuePropertiesCorsRuleObservation { + if in == nil { + return nil + } + out := new(QueuePropertiesCorsRuleObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { +func (in *QueuePropertiesCorsRuleParameters) DeepCopyInto(out *QueuePropertiesCorsRuleParameters) { *out = *in - if in.AccessTier != nil { - in, out := &in.AccessTier, &out.AccessTier - *out = new(string) - **out = **in - } - if in.AccountKind != nil { - in, out := &in.AccountKind, &out.AccountKind - *out = new(string) - **out = **in - } - if in.AccountReplicationType != nil { - in, out := &in.AccountReplicationType, &out.AccountReplicationType - *out = new(string) - **out = **in - } - if in.AccountTier != nil { - in, out := &in.AccountTier, &out.AccountTier - *out = new(string) - **out = **in - } - if in.AllowBlobPublicAccess != nil { - in, out := &in.AllowBlobPublicAccess, &out.AllowBlobPublicAccess - *out = new(bool) - **out = **in - } - if in.AzureFilesAuthentication != nil { - in, out := &in.AzureFilesAuthentication, &out.AzureFilesAuthentication - *out = make([]AzureFilesAuthenticationParameters, len(*in)) + if in.AllowedHeaders != nil { + in, out := &in.AllowedHeaders, &out.AllowedHeaders + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.BlobProperties != nil { - in, out := &in.BlobProperties, &out.BlobProperties - *out = make([]BlobPropertiesParameters, len(*in)) + if in.AllowedMethods != nil { + in, out := &in.AllowedMethods, &out.AllowedMethods + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.CustomDomain != nil { - in, out := &in.CustomDomain, &out.CustomDomain - *out = make([]CustomDomainParameters, len(*in)) + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.EnableHTTPSTrafficOnly != nil { - in, out := &in.EnableHTTPSTrafficOnly, &out.EnableHTTPSTrafficOnly - *out = new(bool) - **out = **in - } - if in.Identity != nil { - in, out := &in.Identity, &out.Identity - *out = make([]IdentityParameters, len(*in)) + if in.ExposedHeaders != nil { + in, out := &in.ExposedHeaders, &out.ExposedHeaders + *out = make([]*string, len(*in)) for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } } } - if in.IsHnsEnabled != nil { - in, out := &in.IsHnsEnabled, &out.IsHnsEnabled - *out = new(bool) - **out = **in - } - if in.LargeFileShareEnabled != nil { - in, out := &in.LargeFileShareEnabled, &out.LargeFileShareEnabled - *out = new(bool) - **out = **in - } - if in.Location != nil { - in, out := &in.Location, &out.Location - *out = new(string) - **out = **in - } - if in.MinTLSVersion != nil { - in, out := &in.MinTLSVersion, &out.MinTLSVersion - *out = new(string) + if in.MaxAgeInSeconds != nil { + in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds + *out = new(int64) **out = **in } - if in.NetworkRules != nil { - in, out := &in.NetworkRules, &out.NetworkRules - *out = make([]NetworkRulesParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesCorsRuleParameters. +func (in *QueuePropertiesCorsRuleParameters) DeepCopy() *QueuePropertiesCorsRuleParameters { + if in == nil { + return nil } - if in.Nfsv3Enabled != nil { - in, out := &in.Nfsv3Enabled, &out.Nfsv3Enabled - *out = new(bool) - **out = **in + out := new(QueuePropertiesCorsRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueuePropertiesObservation) DeepCopyInto(out *QueuePropertiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesObservation. +func (in *QueuePropertiesObservation) DeepCopy() *QueuePropertiesObservation { + if in == nil { + return nil } - if in.QueueProperties != nil { - in, out := &in.QueueProperties, &out.QueueProperties - *out = make([]QueuePropertiesParameters, len(*in)) + out := new(QueuePropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QueuePropertiesParameters) DeepCopyInto(out *QueuePropertiesParameters) { + *out = *in + if in.CorsRule != nil { + in, out := &in.CorsRule, &out.CorsRule + *out = make([]QueuePropertiesCorsRuleParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ResourceGroupName != nil { - in, out := &in.ResourceGroupName, &out.ResourceGroupName - *out = new(string) - **out = **in - } - if in.ResourceGroupNameRef != nil { - in, out := &in.ResourceGroupNameRef, &out.ResourceGroupNameRef - *out = new(v1.Reference) - **out = **in - } - if in.ResourceGroupNameSelector != nil { - in, out := &in.ResourceGroupNameSelector, &out.ResourceGroupNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Routing != nil { - in, out := &in.Routing, &out.Routing - *out = make([]RoutingParameters, len(*in)) + if in.HourMetrics != nil { + in, out := &in.HourMetrics, &out.HourMetrics + *out = make([]HourMetricsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ShareProperties != nil { - in, out := &in.ShareProperties, &out.ShareProperties - *out = make([]SharePropertiesParameters, len(*in)) + if in.Logging != nil { + in, out := &in.Logging, &out.Logging + *out = make([]LoggingParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.SharedAccessKeyEnabled != nil { - in, out := &in.SharedAccessKeyEnabled, &out.SharedAccessKeyEnabled - *out = new(bool) - **out = **in - } - if in.StaticWebsite != nil { - in, out := &in.StaticWebsite, &out.StaticWebsite - *out = make([]StaticWebsiteParameters, len(*in)) + if in.MinuteMetrics != nil { + in, out := &in.MinuteMetrics, &out.MinuteMetrics + *out = make([]MinuteMetricsParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Tags != nil { - in, out := &in.Tags, &out.Tags - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters. -func (in *AccountParameters) DeepCopy() *AccountParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesParameters. +func (in *QueuePropertiesParameters) DeepCopy() *QueuePropertiesParameters { if in == nil { return nil } - out := new(AccountParameters) + out := new(QueuePropertiesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AccountSpec) DeepCopyInto(out *AccountSpec) { +func (in *QueueSpec) DeepCopyInto(out *QueueSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec. -func (in *AccountSpec) DeepCopy() *AccountSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueSpec. +func (in *QueueSpec) DeepCopy() *QueueSpec { if in == nil { return nil } - out := new(AccountSpec) + out := new(QueueSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AccountStatus) DeepCopyInto(out *AccountStatus) { +func (in *QueueStatus) DeepCopyInto(out *QueueStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus. -func (in *AccountStatus) DeepCopy() *AccountStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueueStatus. +func (in *QueueStatus) DeepCopy() *QueueStatus { if in == nil { return nil } - out := new(AccountStatus) + out := new(QueueStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ActiveDirectoryObservation) DeepCopyInto(out *ActiveDirectoryObservation) { +func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryObservation. -func (in *ActiveDirectoryObservation) DeepCopy() *ActiveDirectoryObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. +func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { if in == nil { return nil } - out := new(ActiveDirectoryObservation) + out := new(RetentionPolicyObservation) in.DeepCopyInto(out) return out } - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ActiveDirectoryParameters) DeepCopyInto(out *ActiveDirectoryParameters) { - *out = *in - if in.DomainGUID != nil { - in, out := &in.DomainGUID, &out.DomainGUID - *out = new(string) - **out = **in - } - if in.DomainName != nil { - in, out := &in.DomainName, &out.DomainName - *out = new(string) - **out = **in - } - if in.DomainSid != nil { - in, out := &in.DomainSid, &out.DomainSid - *out = new(string) - **out = **in - } - if in.ForestName != nil { - in, out := &in.ForestName, &out.ForestName - *out = new(string) - **out = **in - } - if in.NetbiosDomainName != nil { - in, out := &in.NetbiosDomainName, &out.NetbiosDomainName - *out = new(string) - **out = **in - } - if in.StorageSid != nil { - in, out := &in.StorageSid, &out.StorageSid - *out = new(string) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { + *out = *in + if in.Days != nil { + in, out := &in.Days, &out.Days + *out = new(int64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveDirectoryParameters. -func (in *ActiveDirectoryParameters) DeepCopy() *ActiveDirectoryParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. +func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { if in == nil { return nil } - out := new(ActiveDirectoryParameters) + out := new(RetentionPolicyParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AzureFilesAuthenticationObservation) DeepCopyInto(out *AzureFilesAuthenticationObservation) { +func (in *RoutingObservation) DeepCopyInto(out *RoutingObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilesAuthenticationObservation. -func (in *AzureFilesAuthenticationObservation) DeepCopy() *AzureFilesAuthenticationObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingObservation. +func (in *RoutingObservation) DeepCopy() *RoutingObservation { if in == nil { return nil } - out := new(AzureFilesAuthenticationObservation) + out := new(RoutingObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AzureFilesAuthenticationParameters) DeepCopyInto(out *AzureFilesAuthenticationParameters) { +func (in *RoutingParameters) DeepCopyInto(out *RoutingParameters) { *out = *in - if in.ActiveDirectory != nil { - in, out := &in.ActiveDirectory, &out.ActiveDirectory - *out = make([]ActiveDirectoryParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DirectoryType != nil { - in, out := &in.DirectoryType, &out.DirectoryType + if in.Choice != nil { + in, out := &in.Choice, &out.Choice *out = new(string) **out = **in } + if in.PublishInternetEndpoints != nil { + in, out := &in.PublishInternetEndpoints, &out.PublishInternetEndpoints + *out = new(bool) + **out = **in + } + if in.PublishMicrosoftEndpoints != nil { + in, out := &in.PublishMicrosoftEndpoints, &out.PublishMicrosoftEndpoints + *out = new(bool) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilesAuthenticationParameters. -func (in *AzureFilesAuthenticationParameters) DeepCopy() *AzureFilesAuthenticationParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingParameters. +func (in *RoutingParameters) DeepCopy() *RoutingParameters { if in == nil { return nil } - out := new(AzureFilesAuthenticationParameters) + out := new(RoutingParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Blob) DeepCopyInto(out *Blob) { +func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blob. -func (in *Blob) DeepCopy() *Blob { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleObservation. +func (in *RuleObservation) DeepCopy() *RuleObservation { if in == nil { return nil } - out := new(Blob) + out := new(RuleObservation) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Blob) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobList) DeepCopyInto(out *BlobList) { +func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Blob, len(*in)) + if in.Actions != nil { + in, out := &in.Actions, &out.Actions + *out = make([]ActionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Filters != nil { + in, out := &in.Filters, &out.Filters + *out = make([]FiltersParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobList. -func (in *BlobList) DeepCopy() *BlobList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleParameters. +func (in *RuleParameters) DeepCopy() *RuleParameters { if in == nil { return nil } - out := new(BlobList) + out := new(RuleParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *BlobList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobObservation) DeepCopyInto(out *BlobObservation) { +func (in *RulesObservation) DeepCopyInto(out *RulesObservation) { *out = *in - if in.URL != nil { - in, out := &in.URL, &out.URL - *out = new(string) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobObservation. -func (in *BlobObservation) DeepCopy() *BlobObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation. +func (in *RulesObservation) DeepCopy() *RulesObservation { if in == nil { return nil } - out := new(BlobObservation) + out := new(RulesObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobParameters) DeepCopyInto(out *BlobParameters) { +func (in *RulesParameters) DeepCopyInto(out *RulesParameters) { *out = *in - if in.AccessTier != nil { - in, out := &in.AccessTier, &out.AccessTier - *out = new(string) - **out = **in - } - if in.ContentMd5 != nil { - in, out := &in.ContentMd5, &out.ContentMd5 - *out = new(string) - **out = **in - } - if in.ContentType != nil { - in, out := &in.ContentType, &out.ContentType - *out = new(string) - **out = **in - } - if in.Metadata != nil { - in, out := &in.Metadata, &out.Metadata - *out = make(map[string]*string, len(*in)) - for key, val := range *in { - var outVal *string - if val == nil { - (*out)[key] = nil - } else { - in, out := &val, &outVal - *out = new(string) - **out = **in - } - (*out)[key] = outVal + if in.Filter != nil { + in, out := &in.Filter, &out.Filter + *out = make([]FilterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.Parallelism != nil { - in, out := &in.Parallelism, &out.Parallelism - *out = new(int64) - **out = **in - } - if in.Size != nil { - in, out := &in.Size, &out.Size - *out = new(int64) - **out = **in - } - if in.Source != nil { - in, out := &in.Source, &out.Source - *out = new(string) - **out = **in - } - if in.SourceContent != nil { - in, out := &in.SourceContent, &out.SourceContent - *out = new(string) - **out = **in - } - if in.SourceURI != nil { - in, out := &in.SourceURI, &out.SourceURI - *out = new(string) - **out = **in - } - if in.StorageAccountName != nil { - in, out := &in.StorageAccountName, &out.StorageAccountName - *out = new(string) - **out = **in - } - if in.StorageAccountNameRef != nil { - in, out := &in.StorageAccountNameRef, &out.StorageAccountNameRef - *out = new(v1.Reference) - **out = **in - } - if in.StorageAccountNameSelector != nil { - in, out := &in.StorageAccountNameSelector, &out.StorageAccountNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.StorageContainerName != nil { - in, out := &in.StorageContainerName, &out.StorageContainerName - *out = new(string) - **out = **in - } - if in.StorageContainerNameRef != nil { - in, out := &in.StorageContainerNameRef, &out.StorageContainerNameRef - *out = new(v1.Reference) - **out = **in - } - if in.StorageContainerNameSelector != nil { - in, out := &in.StorageContainerNameSelector, &out.StorageContainerNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) - } - if in.Type != nil { - in, out := &in.Type, &out.Type + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobParameters. -func (in *BlobParameters) DeepCopy() *BlobParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesParameters. +func (in *RulesParameters) DeepCopy() *RulesParameters { if in == nil { return nil } - out := new(BlobParameters) + out := new(RulesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobPropertiesObservation) DeepCopyInto(out *BlobPropertiesObservation) { +func (in *Share) DeepCopyInto(out *Share) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobPropertiesObservation. -func (in *BlobPropertiesObservation) DeepCopy() *BlobPropertiesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Share. +func (in *Share) DeepCopy() *Share { if in == nil { return nil } - out := new(BlobPropertiesObservation) + out := new(Share) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Share) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobPropertiesParameters) DeepCopyInto(out *BlobPropertiesParameters) { +func (in *ShareDirectory) DeepCopyInto(out *ShareDirectory) { *out = *in - if in.ChangeFeedEnabled != nil { - in, out := &in.ChangeFeedEnabled, &out.ChangeFeedEnabled - *out = new(bool) - **out = **in - } - if in.ContainerDeleteRetentionPolicy != nil { - in, out := &in.ContainerDeleteRetentionPolicy, &out.ContainerDeleteRetentionPolicy - *out = make([]ContainerDeleteRetentionPolicyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.CorsRule != nil { - in, out := &in.CorsRule, &out.CorsRule - *out = make([]CorsRuleParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.DefaultServiceVersion != nil { - in, out := &in.DefaultServiceVersion, &out.DefaultServiceVersion - *out = new(string) - **out = **in - } - if in.DeleteRetentionPolicy != nil { - in, out := &in.DeleteRetentionPolicy, &out.DeleteRetentionPolicy - *out = make([]DeleteRetentionPolicyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.LastAccessTimeEnabled != nil { - in, out := &in.LastAccessTimeEnabled, &out.LastAccessTimeEnabled - *out = new(bool) - **out = **in - } - if in.VersioningEnabled != nil { - in, out := &in.VersioningEnabled, &out.VersioningEnabled - *out = new(bool) - **out = **in - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobPropertiesParameters. -func (in *BlobPropertiesParameters) DeepCopy() *BlobPropertiesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDirectory. +func (in *ShareDirectory) DeepCopy() *ShareDirectory { if in == nil { return nil } - out := new(BlobPropertiesParameters) + out := new(ShareDirectory) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDirectory) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobSpec) DeepCopyInto(out *BlobSpec) { +func (in *ShareDirectoryList) DeepCopyInto(out *ShareDirectoryList) { *out = *in - in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) - in.ForProvider.DeepCopyInto(&out.ForProvider) + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ShareDirectory, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobSpec. -func (in *BlobSpec) DeepCopy() *BlobSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDirectoryList. +func (in *ShareDirectoryList) DeepCopy() *ShareDirectoryList { if in == nil { return nil } - out := new(BlobSpec) + out := new(ShareDirectoryList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ShareDirectoryList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *BlobStatus) DeepCopyInto(out *BlobStatus) { +func (in *ShareDirectoryObservation) DeepCopyInto(out *ShareDirectoryObservation) { *out = *in - in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) - in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlobStatus. -func (in *BlobStatus) DeepCopy() *BlobStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDirectoryObservation. +func (in *ShareDirectoryObservation) DeepCopy() *ShareDirectoryObservation { if in == nil { return nil } - out := new(BlobStatus) + out := new(ShareDirectoryObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Container) DeepCopyInto(out *Container) { +func (in *ShareDirectoryParameters) DeepCopyInto(out *ShareDirectoryParameters) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ShareName != nil { + in, out := &in.ShareName, &out.ShareName + *out = new(string) + **out = **in + } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. -func (in *Container) DeepCopy() *Container { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDirectoryParameters. +func (in *ShareDirectoryParameters) DeepCopy() *ShareDirectoryParameters { if in == nil { return nil } - out := new(Container) + out := new(ShareDirectoryParameters) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *Container) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerDeleteRetentionPolicyObservation) DeepCopyInto(out *ContainerDeleteRetentionPolicyObservation) { +func (in *ShareDirectorySpec) DeepCopyInto(out *ShareDirectorySpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDeleteRetentionPolicyObservation. -func (in *ContainerDeleteRetentionPolicyObservation) DeepCopy() *ContainerDeleteRetentionPolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDirectorySpec. +func (in *ShareDirectorySpec) DeepCopy() *ShareDirectorySpec { if in == nil { return nil } - out := new(ContainerDeleteRetentionPolicyObservation) + out := new(ShareDirectorySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerDeleteRetentionPolicyParameters) DeepCopyInto(out *ContainerDeleteRetentionPolicyParameters) { +func (in *ShareDirectoryStatus) DeepCopyInto(out *ShareDirectoryStatus) { *out = *in - if in.Days != nil { - in, out := &in.Days, &out.Days - *out = new(int64) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDeleteRetentionPolicyParameters. -func (in *ContainerDeleteRetentionPolicyParameters) DeepCopy() *ContainerDeleteRetentionPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareDirectoryStatus. +func (in *ShareDirectoryStatus) DeepCopy() *ShareDirectoryStatus { if in == nil { return nil } - out := new(ContainerDeleteRetentionPolicyParameters) + out := new(ShareDirectoryStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerList) DeepCopyInto(out *ContainerList) { +func (in *ShareList) DeepCopyInto(out *ShareList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Container, len(*in)) + *out = make([]Share, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerList. -func (in *ContainerList) DeepCopy() *ContainerList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareList. +func (in *ShareList) DeepCopy() *ShareList { if in == nil { return nil } - out := new(ContainerList) + out := new(ShareList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ContainerList) DeepCopyObject() runtime.Object { +func (in *ShareList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -917,42 +3998,39 @@ func (in *ContainerList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { +func (in *ShareObservation) DeepCopyInto(out *ShareObservation) { *out = *in - if in.HasImmutabilityPolicy != nil { - in, out := &in.HasImmutabilityPolicy, &out.HasImmutabilityPolicy - *out = new(bool) - **out = **in - } - if in.HasLegalHold != nil { - in, out := &in.HasLegalHold, &out.HasLegalHold - *out = new(bool) - **out = **in - } if in.ResourceManagerID != nil { in, out := &in.ResourceManagerID, &out.ResourceManagerID *out = new(string) **out = **in } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerObservation. -func (in *ContainerObservation) DeepCopy() *ContainerObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareObservation. +func (in *ShareObservation) DeepCopy() *ShareObservation { if in == nil { return nil } - out := new(ContainerObservation) + out := new(ShareObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { +func (in *ShareParameters) DeepCopyInto(out *ShareParameters) { *out = *in - if in.ContainerAccessType != nil { - in, out := &in.ContainerAccessType, &out.ContainerAccessType - *out = new(string) - **out = **in + if in.ACL != nil { + in, out := &in.ACL, &out.ACL + *out = make([]ACLParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } if in.Metadata != nil { in, out := &in.Metadata, &out.Metadata @@ -969,87 +4047,217 @@ func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { (*out)[key] = outVal } } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Quota != nil { + in, out := &in.Quota, &out.Quota + *out = new(int64) + **out = **in + } if in.StorageAccountName != nil { in, out := &in.StorageAccountName, &out.StorageAccountName *out = new(string) **out = **in } - if in.StorageAccountNameRef != nil { - in, out := &in.StorageAccountNameRef, &out.StorageAccountNameRef - *out = new(v1.Reference) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareParameters. +func (in *ShareParameters) DeepCopy() *ShareParameters { + if in == nil { + return nil + } + out := new(ShareParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SharePropertiesCorsRuleObservation) DeepCopyInto(out *SharePropertiesCorsRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesCorsRuleObservation. +func (in *SharePropertiesCorsRuleObservation) DeepCopy() *SharePropertiesCorsRuleObservation { + if in == nil { + return nil + } + out := new(SharePropertiesCorsRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SharePropertiesCorsRuleParameters) DeepCopyInto(out *SharePropertiesCorsRuleParameters) { + *out = *in + if in.AllowedHeaders != nil { + in, out := &in.AllowedHeaders, &out.AllowedHeaders + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedMethods != nil { + in, out := &in.AllowedMethods, &out.AllowedMethods + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.AllowedOrigins != nil { + in, out := &in.AllowedOrigins, &out.AllowedOrigins + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ExposedHeaders != nil { + in, out := &in.ExposedHeaders, &out.ExposedHeaders + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MaxAgeInSeconds != nil { + in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds + *out = new(int64) **out = **in } - if in.StorageAccountNameSelector != nil { - in, out := &in.StorageAccountNameSelector, &out.StorageAccountNameSelector - *out = new(v1.Selector) - (*in).DeepCopyInto(*out) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesCorsRuleParameters. +func (in *SharePropertiesCorsRuleParameters) DeepCopy() *SharePropertiesCorsRuleParameters { + if in == nil { + return nil + } + out := new(SharePropertiesCorsRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SharePropertiesObservation) DeepCopyInto(out *SharePropertiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesObservation. +func (in *SharePropertiesObservation) DeepCopy() *SharePropertiesObservation { + if in == nil { + return nil + } + out := new(SharePropertiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SharePropertiesParameters) DeepCopyInto(out *SharePropertiesParameters) { + *out = *in + if in.CorsRule != nil { + in, out := &in.CorsRule, &out.CorsRule + *out = make([]SharePropertiesCorsRuleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RetentionPolicy != nil { + in, out := &in.RetentionPolicy, &out.RetentionPolicy + *out = make([]RetentionPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Smb != nil { + in, out := &in.Smb, &out.Smb + *out = make([]SmbParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParameters. -func (in *ContainerParameters) DeepCopy() *ContainerParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesParameters. +func (in *SharePropertiesParameters) DeepCopy() *SharePropertiesParameters { if in == nil { return nil } - out := new(ContainerParameters) + out := new(SharePropertiesParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec) { +func (in *ShareSpec) DeepCopyInto(out *ShareSpec) { *out = *in in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec. -func (in *ContainerSpec) DeepCopy() *ContainerSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareSpec. +func (in *ShareSpec) DeepCopy() *ShareSpec { if in == nil { return nil } - out := new(ContainerSpec) + out := new(ShareSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { +func (in *ShareStatus) DeepCopyInto(out *ShareStatus) { *out = *in in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) in.AtProvider.DeepCopyInto(&out.AtProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. -func (in *ContainerStatus) DeepCopy() *ContainerStatus { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareStatus. +func (in *ShareStatus) DeepCopy() *ShareStatus { if in == nil { return nil } - out := new(ContainerStatus) + out := new(ShareStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CorsRuleObservation) DeepCopyInto(out *CorsRuleObservation) { +func (in *SmbObservation) DeepCopyInto(out *SmbObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsRuleObservation. -func (in *CorsRuleObservation) DeepCopy() *CorsRuleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmbObservation. +func (in *SmbObservation) DeepCopy() *SmbObservation { if in == nil { return nil } - out := new(CorsRuleObservation) + out := new(SmbObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters) { +func (in *SmbParameters) DeepCopyInto(out *SmbParameters) { *out = *in - if in.AllowedHeaders != nil { - in, out := &in.AllowedHeaders, &out.AllowedHeaders + if in.AuthenticationTypes != nil { + in, out := &in.AuthenticationTypes, &out.AuthenticationTypes *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -1059,8 +4267,8 @@ func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters) { } } } - if in.AllowedMethods != nil { - in, out := &in.AllowedMethods, &out.AllowedMethods + if in.ChannelEncryptionType != nil { + in, out := &in.ChannelEncryptionType, &out.ChannelEncryptionType *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -1070,8 +4278,8 @@ func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters) { } } } - if in.AllowedOrigins != nil { - in, out := &in.AllowedOrigins, &out.AllowedOrigins + if in.KerberosTicketEncryptionType != nil { + in, out := &in.KerberosTicketEncryptionType, &out.KerberosTicketEncryptionType *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -1081,8 +4289,8 @@ func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters) { } } } - if in.ExposedHeaders != nil { - in, out := &in.ExposedHeaders, &out.ExposedHeaders + if in.Versions != nil { + in, out := &in.Versions, &out.Versions *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { @@ -1092,881 +4300,790 @@ func (in *CorsRuleParameters) DeepCopyInto(out *CorsRuleParameters) { } } } - if in.MaxAgeInSeconds != nil { - in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds - *out = new(int64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CorsRuleParameters. -func (in *CorsRuleParameters) DeepCopy() *CorsRuleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmbParameters. +func (in *SmbParameters) DeepCopy() *SmbParameters { if in == nil { return nil } - out := new(CorsRuleParameters) + out := new(SmbParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomDomainObservation) DeepCopyInto(out *CustomDomainObservation) { +func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainObservation. -func (in *CustomDomainObservation) DeepCopy() *CustomDomainObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotObservation. +func (in *SnapshotObservation) DeepCopy() *SnapshotObservation { if in == nil { return nil } - out := new(CustomDomainObservation) + out := new(SnapshotObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *CustomDomainParameters) DeepCopyInto(out *CustomDomainParameters) { +func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters) { *out = *in - if in.Name != nil { - in, out := &in.Name, &out.Name - *out = new(string) + if in.ChangeTierToArchiveAfterDaysSinceCreation != nil { + in, out := &in.ChangeTierToArchiveAfterDaysSinceCreation, &out.ChangeTierToArchiveAfterDaysSinceCreation + *out = new(int64) **out = **in } - if in.UseSubdomain != nil { - in, out := &in.UseSubdomain, &out.UseSubdomain - *out = new(bool) + if in.ChangeTierToCoolAfterDaysSinceCreation != nil { + in, out := &in.ChangeTierToCoolAfterDaysSinceCreation, &out.ChangeTierToCoolAfterDaysSinceCreation + *out = new(int64) **out = **in } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDomainParameters. -func (in *CustomDomainParameters) DeepCopy() *CustomDomainParameters { - if in == nil { - return nil - } - out := new(CustomDomainParameters) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeleteRetentionPolicyObservation) DeepCopyInto(out *DeleteRetentionPolicyObservation) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteRetentionPolicyObservation. -func (in *DeleteRetentionPolicyObservation) DeepCopy() *DeleteRetentionPolicyObservation { - if in == nil { - return nil - } - out := new(DeleteRetentionPolicyObservation) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *DeleteRetentionPolicyParameters) DeepCopyInto(out *DeleteRetentionPolicyParameters) { - *out = *in - if in.Days != nil { - in, out := &in.Days, &out.Days + if in.DeleteAfterDaysSinceCreationGreaterThan != nil { + in, out := &in.DeleteAfterDaysSinceCreationGreaterThan, &out.DeleteAfterDaysSinceCreationGreaterThan *out = new(int64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteRetentionPolicyParameters. -func (in *DeleteRetentionPolicyParameters) DeepCopy() *DeleteRetentionPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotParameters. +func (in *SnapshotParameters) DeepCopy() *SnapshotParameters { if in == nil { return nil } - out := new(DeleteRetentionPolicyParameters) + out := new(SnapshotParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HourMetricsObservation) DeepCopyInto(out *HourMetricsObservation) { +func (in *StaticWebsiteObservation) DeepCopyInto(out *StaticWebsiteObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HourMetricsObservation. -func (in *HourMetricsObservation) DeepCopy() *HourMetricsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticWebsiteObservation. +func (in *StaticWebsiteObservation) DeepCopy() *StaticWebsiteObservation { if in == nil { return nil } - out := new(HourMetricsObservation) + out := new(StaticWebsiteObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *HourMetricsParameters) DeepCopyInto(out *HourMetricsParameters) { +func (in *StaticWebsiteParameters) DeepCopyInto(out *StaticWebsiteParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) - **out = **in - } - if in.IncludeApis != nil { - in, out := &in.IncludeApis, &out.IncludeApis - *out = new(bool) - **out = **in - } - if in.RetentionPolicyDays != nil { - in, out := &in.RetentionPolicyDays, &out.RetentionPolicyDays - *out = new(int64) + if in.Error404Document != nil { + in, out := &in.Error404Document, &out.Error404Document + *out = new(string) **out = **in } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.IndexDocument != nil { + in, out := &in.IndexDocument, &out.IndexDocument *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HourMetricsParameters. -func (in *HourMetricsParameters) DeepCopy() *HourMetricsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticWebsiteParameters. +func (in *StaticWebsiteParameters) DeepCopy() *StaticWebsiteParameters { if in == nil { return nil } - out := new(HourMetricsParameters) + out := new(StaticWebsiteParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { +func (in *Sync) DeepCopyInto(out *Sync) { *out = *in - if in.PrincipalID != nil { - in, out := &in.PrincipalID, &out.PrincipalID - *out = new(string) - **out = **in - } - if in.TenantID != nil { - in, out := &in.TenantID, &out.TenantID - *out = new(string) - **out = **in - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. -func (in *IdentityObservation) DeepCopy() *IdentityObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sync. +func (in *Sync) DeepCopy() *Sync { if in == nil { return nil } - out := new(IdentityObservation) + out := new(Sync) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Sync) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { +func (in *SyncCloudEndpoint) DeepCopyInto(out *SyncCloudEndpoint) { *out = *in - if in.IdentityIds != nil { - in, out := &in.IdentityIds, &out.IdentityIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Type != nil { - in, out := &in.Type, &out.Type - *out = new(string) - **out = **in - } + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. -func (in *IdentityParameters) DeepCopy() *IdentityParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncCloudEndpoint. +func (in *SyncCloudEndpoint) DeepCopy() *SyncCloudEndpoint { if in == nil { return nil } - out := new(IdentityParameters) + out := new(SyncCloudEndpoint) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SyncCloudEndpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoggingObservation) DeepCopyInto(out *LoggingObservation) { +func (in *SyncCloudEndpointList) DeepCopyInto(out *SyncCloudEndpointList) { *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SyncCloudEndpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingObservation. -func (in *LoggingObservation) DeepCopy() *LoggingObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncCloudEndpointList. +func (in *SyncCloudEndpointList) DeepCopy() *SyncCloudEndpointList { if in == nil { return nil } - out := new(LoggingObservation) + out := new(SyncCloudEndpointList) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *LoggingParameters) DeepCopyInto(out *LoggingParameters) { - *out = *in - if in.Delete != nil { - in, out := &in.Delete, &out.Delete - *out = new(bool) - **out = **in - } - if in.Read != nil { - in, out := &in.Read, &out.Read - *out = new(bool) - **out = **in - } - if in.RetentionPolicyDays != nil { - in, out := &in.RetentionPolicyDays, &out.RetentionPolicyDays - *out = new(int64) - **out = **in - } - if in.Version != nil { - in, out := &in.Version, &out.Version - *out = new(string) - **out = **in - } - if in.Write != nil { - in, out := &in.Write, &out.Write - *out = new(bool) - **out = **in - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingParameters. -func (in *LoggingParameters) DeepCopy() *LoggingParameters { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SyncCloudEndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(LoggingParameters) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MinuteMetricsObservation) DeepCopyInto(out *MinuteMetricsObservation) { +func (in *SyncCloudEndpointObservation) DeepCopyInto(out *SyncCloudEndpointObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinuteMetricsObservation. -func (in *MinuteMetricsObservation) DeepCopy() *MinuteMetricsObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncCloudEndpointObservation. +func (in *SyncCloudEndpointObservation) DeepCopy() *SyncCloudEndpointObservation { if in == nil { return nil } - out := new(MinuteMetricsObservation) + out := new(SyncCloudEndpointObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MinuteMetricsParameters) DeepCopyInto(out *MinuteMetricsParameters) { +func (in *SyncCloudEndpointParameters) DeepCopyInto(out *SyncCloudEndpointParameters) { *out = *in - if in.Enabled != nil { - in, out := &in.Enabled, &out.Enabled - *out = new(bool) + if in.FileShareName != nil { + in, out := &in.FileShareName, &out.FileShareName + *out = new(string) **out = **in } - if in.IncludeApis != nil { - in, out := &in.IncludeApis, &out.IncludeApis - *out = new(bool) + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) **out = **in } - if in.RetentionPolicyDays != nil { - in, out := &in.RetentionPolicyDays, &out.RetentionPolicyDays - *out = new(int64) + if in.StorageAccountID != nil { + in, out := &in.StorageAccountID, &out.StorageAccountID + *out = new(string) **out = **in } - if in.Version != nil { - in, out := &in.Version, &out.Version + if in.StorageAccountTenantID != nil { + in, out := &in.StorageAccountTenantID, &out.StorageAccountTenantID + *out = new(string) + **out = **in + } + if in.StorageSyncGroupID != nil { + in, out := &in.StorageSyncGroupID, &out.StorageSyncGroupID *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinuteMetricsParameters. -func (in *MinuteMetricsParameters) DeepCopy() *MinuteMetricsParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncCloudEndpointParameters. +func (in *SyncCloudEndpointParameters) DeepCopy() *SyncCloudEndpointParameters { if in == nil { return nil } - out := new(MinuteMetricsParameters) + out := new(SyncCloudEndpointParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkRulesObservation) DeepCopyInto(out *NetworkRulesObservation) { +func (in *SyncCloudEndpointSpec) DeepCopyInto(out *SyncCloudEndpointSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesObservation. -func (in *NetworkRulesObservation) DeepCopy() *NetworkRulesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncCloudEndpointSpec. +func (in *SyncCloudEndpointSpec) DeepCopy() *SyncCloudEndpointSpec { if in == nil { return nil } - out := new(NetworkRulesObservation) + out := new(SyncCloudEndpointSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *NetworkRulesParameters) DeepCopyInto(out *NetworkRulesParameters) { +func (in *SyncCloudEndpointStatus) DeepCopyInto(out *SyncCloudEndpointStatus) { *out = *in - if in.Bypass != nil { - in, out := &in.Bypass, &out.Bypass - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.DefaultAction != nil { - in, out := &in.DefaultAction, &out.DefaultAction - *out = new(string) - **out = **in - } - if in.IPRules != nil { - in, out := &in.IPRules, &out.IPRules - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncCloudEndpointStatus. +func (in *SyncCloudEndpointStatus) DeepCopy() *SyncCloudEndpointStatus { + if in == nil { + return nil } - if in.PrivateLinkAccess != nil { - in, out := &in.PrivateLinkAccess, &out.PrivateLinkAccess - *out = make([]PrivateLinkAccessParameters, len(*in)) + out := new(SyncCloudEndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SyncList) DeepCopyInto(out *SyncList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Sync, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.VirtualNetworkSubnetIds != nil { - in, out := &in.VirtualNetworkSubnetIds, &out.VirtualNetworkSubnetIds - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRulesParameters. -func (in *NetworkRulesParameters) DeepCopy() *NetworkRulesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncList. +func (in *SyncList) DeepCopy() *SyncList { if in == nil { return nil } - out := new(NetworkRulesParameters) + out := new(SyncList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SyncList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateLinkAccessObservation) DeepCopyInto(out *PrivateLinkAccessObservation) { +func (in *SyncObservation) DeepCopyInto(out *SyncObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkAccessObservation. -func (in *PrivateLinkAccessObservation) DeepCopy() *PrivateLinkAccessObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncObservation. +func (in *SyncObservation) DeepCopy() *SyncObservation { if in == nil { return nil } - out := new(PrivateLinkAccessObservation) + out := new(SyncObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PrivateLinkAccessParameters) DeepCopyInto(out *PrivateLinkAccessParameters) { +func (in *SyncParameters) DeepCopyInto(out *SyncParameters) { *out = *in - if in.EndpointResourceID != nil { - in, out := &in.EndpointResourceID, &out.EndpointResourceID + if in.IncomingTrafficPolicy != nil { + in, out := &in.IncomingTrafficPolicy, &out.IncomingTrafficPolicy *out = new(string) **out = **in } - if in.EndpointTenantID != nil { - in, out := &in.EndpointTenantID, &out.EndpointTenantID + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name *out = new(string) **out = **in } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkAccessParameters. -func (in *PrivateLinkAccessParameters) DeepCopy() *PrivateLinkAccessParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncParameters. +func (in *SyncParameters) DeepCopy() *SyncParameters { if in == nil { return nil } - out := new(PrivateLinkAccessParameters) + out := new(SyncParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *QueuePropertiesCorsRuleObservation) DeepCopyInto(out *QueuePropertiesCorsRuleObservation) { +func (in *SyncSpec) DeepCopyInto(out *SyncSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesCorsRuleObservation. -func (in *QueuePropertiesCorsRuleObservation) DeepCopy() *QueuePropertiesCorsRuleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncSpec. +func (in *SyncSpec) DeepCopy() *SyncSpec { if in == nil { return nil } - out := new(QueuePropertiesCorsRuleObservation) + out := new(SyncSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *QueuePropertiesCorsRuleParameters) DeepCopyInto(out *QueuePropertiesCorsRuleParameters) { +func (in *SyncStatus) DeepCopyInto(out *SyncStatus) { *out = *in - if in.AllowedHeaders != nil { - in, out := &in.AllowedHeaders, &out.AllowedHeaders - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.AllowedMethods != nil { - in, out := &in.AllowedMethods, &out.AllowedMethods - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.AllowedOrigins != nil { - in, out := &in.AllowedOrigins, &out.AllowedOrigins - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.ExposedHeaders != nil { - in, out := &in.ExposedHeaders, &out.ExposedHeaders - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.MaxAgeInSeconds != nil { - in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds - *out = new(int64) - **out = **in - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesCorsRuleParameters. -func (in *QueuePropertiesCorsRuleParameters) DeepCopy() *QueuePropertiesCorsRuleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStatus. +func (in *SyncStatus) DeepCopy() *SyncStatus { if in == nil { return nil } - out := new(QueuePropertiesCorsRuleParameters) + out := new(SyncStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *QueuePropertiesObservation) DeepCopyInto(out *QueuePropertiesObservation) { +func (in *Table) DeepCopyInto(out *Table) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesObservation. -func (in *QueuePropertiesObservation) DeepCopy() *QueuePropertiesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table. +func (in *Table) DeepCopy() *Table { if in == nil { return nil } - out := new(QueuePropertiesObservation) + out := new(Table) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Table) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *QueuePropertiesParameters) DeepCopyInto(out *QueuePropertiesParameters) { +func (in *TableACLObservation) DeepCopyInto(out *TableACLObservation) { *out = *in - if in.CorsRule != nil { - in, out := &in.CorsRule, &out.CorsRule - *out = make([]QueuePropertiesCorsRuleParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.HourMetrics != nil { - in, out := &in.HourMetrics, &out.HourMetrics - *out = make([]HourMetricsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableACLObservation. +func (in *TableACLObservation) DeepCopy() *TableACLObservation { + if in == nil { + return nil } - if in.Logging != nil { - in, out := &in.Logging, &out.Logging - *out = make([]LoggingParameters, len(*in)) + out := new(TableACLObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TableACLParameters) DeepCopyInto(out *TableACLParameters) { + *out = *in + if in.AccessPolicy != nil { + in, out := &in.AccessPolicy, &out.AccessPolicy + *out = make([]ACLAccessPolicyParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.MinuteMetrics != nil { - in, out := &in.MinuteMetrics, &out.MinuteMetrics - *out = make([]MinuteMetricsParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuePropertiesParameters. -func (in *QueuePropertiesParameters) DeepCopy() *QueuePropertiesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableACLParameters. +func (in *TableACLParameters) DeepCopy() *TableACLParameters { if in == nil { return nil } - out := new(QueuePropertiesParameters) + out := new(TableACLParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RetentionPolicyObservation) DeepCopyInto(out *RetentionPolicyObservation) { +func (in *TableEntity) DeepCopyInto(out *TableEntity) { *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyObservation. -func (in *RetentionPolicyObservation) DeepCopy() *RetentionPolicyObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEntity. +func (in *TableEntity) DeepCopy() *TableEntity { if in == nil { return nil } - out := new(RetentionPolicyObservation) + out := new(TableEntity) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TableEntity) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RetentionPolicyParameters) DeepCopyInto(out *RetentionPolicyParameters) { +func (in *TableEntityList) DeepCopyInto(out *TableEntityList) { *out = *in - if in.Days != nil { - in, out := &in.Days, &out.Days - *out = new(int64) - **out = **in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TableEntity, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetentionPolicyParameters. -func (in *RetentionPolicyParameters) DeepCopy() *RetentionPolicyParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEntityList. +func (in *TableEntityList) DeepCopy() *TableEntityList { if in == nil { return nil } - out := new(RetentionPolicyParameters) + out := new(TableEntityList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TableEntityList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RoutingObservation) DeepCopyInto(out *RoutingObservation) { +func (in *TableEntityObservation) DeepCopyInto(out *TableEntityObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingObservation. -func (in *RoutingObservation) DeepCopy() *RoutingObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEntityObservation. +func (in *TableEntityObservation) DeepCopy() *TableEntityObservation { if in == nil { return nil } - out := new(RoutingObservation) + out := new(TableEntityObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RoutingParameters) DeepCopyInto(out *RoutingParameters) { +func (in *TableEntityParameters) DeepCopyInto(out *TableEntityParameters) { *out = *in - if in.Choice != nil { - in, out := &in.Choice, &out.Choice + if in.Entity != nil { + in, out := &in.Entity, &out.Entity + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.PartitionKey != nil { + in, out := &in.PartitionKey, &out.PartitionKey *out = new(string) **out = **in } - if in.PublishInternetEndpoints != nil { - in, out := &in.PublishInternetEndpoints, &out.PublishInternetEndpoints - *out = new(bool) + if in.RowKey != nil { + in, out := &in.RowKey, &out.RowKey + *out = new(string) **out = **in } - if in.PublishMicrosoftEndpoints != nil { - in, out := &in.PublishMicrosoftEndpoints, &out.PublishMicrosoftEndpoints - *out = new(bool) + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.TableName != nil { + in, out := &in.TableName, &out.TableName + *out = new(string) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingParameters. -func (in *RoutingParameters) DeepCopy() *RoutingParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEntityParameters. +func (in *TableEntityParameters) DeepCopy() *TableEntityParameters { if in == nil { return nil } - out := new(RoutingParameters) + out := new(TableEntityParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharePropertiesCorsRuleObservation) DeepCopyInto(out *SharePropertiesCorsRuleObservation) { +func (in *TableEntitySpec) DeepCopyInto(out *TableEntitySpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesCorsRuleObservation. -func (in *SharePropertiesCorsRuleObservation) DeepCopy() *SharePropertiesCorsRuleObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEntitySpec. +func (in *TableEntitySpec) DeepCopy() *TableEntitySpec { if in == nil { return nil } - out := new(SharePropertiesCorsRuleObservation) + out := new(TableEntitySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharePropertiesCorsRuleParameters) DeepCopyInto(out *SharePropertiesCorsRuleParameters) { +func (in *TableEntityStatus) DeepCopyInto(out *TableEntityStatus) { *out = *in - if in.AllowedHeaders != nil { - in, out := &in.AllowedHeaders, &out.AllowedHeaders - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.AllowedMethods != nil { - in, out := &in.AllowedMethods, &out.AllowedMethods - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.AllowedOrigins != nil { - in, out := &in.AllowedOrigins, &out.AllowedOrigins - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEntityStatus. +func (in *TableEntityStatus) DeepCopy() *TableEntityStatus { + if in == nil { + return nil } - if in.ExposedHeaders != nil { - in, out := &in.ExposedHeaders, &out.ExposedHeaders - *out = make([]*string, len(*in)) + out := new(TableEntityStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TableList) DeepCopyInto(out *TableList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Table, len(*in)) for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } + (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.MaxAgeInSeconds != nil { - in, out := &in.MaxAgeInSeconds, &out.MaxAgeInSeconds - *out = new(int64) - **out = **in - } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesCorsRuleParameters. -func (in *SharePropertiesCorsRuleParameters) DeepCopy() *SharePropertiesCorsRuleParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableList. +func (in *TableList) DeepCopy() *TableList { if in == nil { return nil } - out := new(SharePropertiesCorsRuleParameters) + out := new(TableList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TableList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharePropertiesObservation) DeepCopyInto(out *SharePropertiesObservation) { +func (in *TableObservation) DeepCopyInto(out *TableObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesObservation. -func (in *SharePropertiesObservation) DeepCopy() *SharePropertiesObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableObservation. +func (in *TableObservation) DeepCopy() *TableObservation { if in == nil { return nil } - out := new(SharePropertiesObservation) + out := new(TableObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SharePropertiesParameters) DeepCopyInto(out *SharePropertiesParameters) { +func (in *TableParameters) DeepCopyInto(out *TableParameters) { *out = *in - if in.CorsRule != nil { - in, out := &in.CorsRule, &out.CorsRule - *out = make([]SharePropertiesCorsRuleParameters, len(*in)) + if in.ACL != nil { + in, out := &in.ACL, &out.ACL + *out = make([]TableACLParameters, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.RetentionPolicy != nil { - in, out := &in.RetentionPolicy, &out.RetentionPolicy - *out = make([]RetentionPolicyParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in } - if in.Smb != nil { - in, out := &in.Smb, &out.Smb - *out = make([]SmbParameters, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharePropertiesParameters. -func (in *SharePropertiesParameters) DeepCopy() *SharePropertiesParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableParameters. +func (in *TableParameters) DeepCopy() *TableParameters { if in == nil { return nil } - out := new(SharePropertiesParameters) + out := new(TableParameters) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SmbObservation) DeepCopyInto(out *SmbObservation) { +func (in *TableSpec) DeepCopyInto(out *TableSpec) { *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmbObservation. -func (in *SmbObservation) DeepCopy() *SmbObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableSpec. +func (in *TableSpec) DeepCopy() *TableSpec { if in == nil { return nil } - out := new(SmbObservation) + out := new(TableSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SmbParameters) DeepCopyInto(out *SmbParameters) { +func (in *TableStatus) DeepCopyInto(out *TableStatus) { *out = *in - if in.AuthenticationTypes != nil { - in, out := &in.AuthenticationTypes, &out.AuthenticationTypes - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.ChannelEncryptionType != nil { - in, out := &in.ChannelEncryptionType, &out.ChannelEncryptionType - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.KerberosTicketEncryptionType != nil { - in, out := &in.KerberosTicketEncryptionType, &out.KerberosTicketEncryptionType - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } - if in.Versions != nil { - in, out := &in.Versions, &out.Versions - *out = make([]*string, len(*in)) - for i := range *in { - if (*in)[i] != nil { - in, out := &(*in)[i], &(*out)[i] - *out = new(string) - **out = **in - } - } - } + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SmbParameters. -func (in *SmbParameters) DeepCopy() *SmbParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableStatus. +func (in *TableStatus) DeepCopy() *TableStatus { if in == nil { return nil } - out := new(SmbParameters) + out := new(TableStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StaticWebsiteObservation) DeepCopyInto(out *StaticWebsiteObservation) { +func (in *VersionObservation) DeepCopyInto(out *VersionObservation) { *out = *in } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticWebsiteObservation. -func (in *StaticWebsiteObservation) DeepCopy() *StaticWebsiteObservation { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionObservation. +func (in *VersionObservation) DeepCopy() *VersionObservation { if in == nil { return nil } - out := new(StaticWebsiteObservation) + out := new(VersionObservation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *StaticWebsiteParameters) DeepCopyInto(out *StaticWebsiteParameters) { +func (in *VersionParameters) DeepCopyInto(out *VersionParameters) { *out = *in - if in.Error404Document != nil { - in, out := &in.Error404Document, &out.Error404Document - *out = new(string) + if in.ChangeTierToArchiveAfterDaysSinceCreation != nil { + in, out := &in.ChangeTierToArchiveAfterDaysSinceCreation, &out.ChangeTierToArchiveAfterDaysSinceCreation + *out = new(int64) **out = **in } - if in.IndexDocument != nil { - in, out := &in.IndexDocument, &out.IndexDocument - *out = new(string) + if in.ChangeTierToCoolAfterDaysSinceCreation != nil { + in, out := &in.ChangeTierToCoolAfterDaysSinceCreation, &out.ChangeTierToCoolAfterDaysSinceCreation + *out = new(int64) + **out = **in + } + if in.DeleteAfterDaysSinceCreation != nil { + in, out := &in.DeleteAfterDaysSinceCreation, &out.DeleteAfterDaysSinceCreation + *out = new(int64) **out = **in } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticWebsiteParameters. -func (in *StaticWebsiteParameters) DeepCopy() *StaticWebsiteParameters { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionParameters. +func (in *VersionParameters) DeepCopy() *VersionParameters { if in == nil { return nil } - out := new(StaticWebsiteParameters) + out := new(VersionParameters) in.DeepCopyInto(out) return out } diff --git a/apis/storage/v1alpha1/zz_generated.managed.go b/apis/storage/v1alpha1/zz_generated.managed.go index b58198df2..03cdce0c3 100644 --- a/apis/storage/v1alpha1/zz_generated.managed.go +++ b/apis/storage/v1alpha1/zz_generated.managed.go @@ -75,6 +75,118 @@ func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AccountCustomerManagedKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AccountCustomerManagedKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AccountCustomerManagedKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AccountCustomerManagedKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AccountCustomerManagedKey. +func (mg *AccountCustomerManagedKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AccountNetworkRules. +func (mg *AccountNetworkRules) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AccountNetworkRules. +func (mg *AccountNetworkRules) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AccountNetworkRules. +func (mg *AccountNetworkRules) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AccountNetworkRules. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AccountNetworkRules) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AccountNetworkRules. +func (mg *AccountNetworkRules) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AccountNetworkRules. +func (mg *AccountNetworkRules) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AccountNetworkRules. +func (mg *AccountNetworkRules) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AccountNetworkRules. +func (mg *AccountNetworkRules) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AccountNetworkRules. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AccountNetworkRules) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AccountNetworkRules. +func (mg *AccountNetworkRules) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Blob. func (mg *Blob) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -131,6 +243,62 @@ func (mg *Blob) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } +// GetCondition of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this BlobInventoryPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *BlobInventoryPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this BlobInventoryPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *BlobInventoryPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this BlobInventoryPolicy. +func (mg *BlobInventoryPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + // GetCondition of this Container. func (mg *Container) GetCondition(ct xpv1.ConditionType) xpv1.Condition { return mg.Status.GetCondition(ct) @@ -186,3 +354,675 @@ func (mg *Container) SetProviderReference(r *xpv1.Reference) { func (mg *Container) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { mg.Spec.WriteConnectionSecretToReference = r } + +// GetCondition of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataLakeGen2Filesystem. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataLakeGen2Filesystem) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataLakeGen2Filesystem. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataLakeGen2Filesystem) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataLakeGen2Filesystem. +func (mg *DataLakeGen2Filesystem) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this DataLakeGen2Path. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *DataLakeGen2Path) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this DataLakeGen2Path. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *DataLakeGen2Path) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this DataLakeGen2Path. +func (mg *DataLakeGen2Path) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this EncryptionScope. +func (mg *EncryptionScope) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this EncryptionScope. +func (mg *EncryptionScope) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this EncryptionScope. +func (mg *EncryptionScope) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this EncryptionScope. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *EncryptionScope) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this EncryptionScope. +func (mg *EncryptionScope) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this EncryptionScope. +func (mg *EncryptionScope) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this EncryptionScope. +func (mg *EncryptionScope) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this EncryptionScope. +func (mg *EncryptionScope) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this EncryptionScope. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *EncryptionScope) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this EncryptionScope. +func (mg *EncryptionScope) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagementPolicy. +func (mg *ManagementPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagementPolicy. +func (mg *ManagementPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagementPolicy. +func (mg *ManagementPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagementPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagementPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagementPolicy. +func (mg *ManagementPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagementPolicy. +func (mg *ManagementPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagementPolicy. +func (mg *ManagementPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagementPolicy. +func (mg *ManagementPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagementPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagementPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagementPolicy. +func (mg *ManagementPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ObjectReplication. +func (mg *ObjectReplication) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ObjectReplication. +func (mg *ObjectReplication) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ObjectReplication. +func (mg *ObjectReplication) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ObjectReplication. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ObjectReplication) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ObjectReplication. +func (mg *ObjectReplication) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ObjectReplication. +func (mg *ObjectReplication) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ObjectReplication. +func (mg *ObjectReplication) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ObjectReplication. +func (mg *ObjectReplication) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ObjectReplication. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ObjectReplication) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ObjectReplication. +func (mg *ObjectReplication) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Queue. +func (mg *Queue) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Queue. +func (mg *Queue) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Queue. +func (mg *Queue) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Queue. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Queue) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Queue. +func (mg *Queue) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Queue. +func (mg *Queue) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Queue. +func (mg *Queue) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Queue. +func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Queue. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Queue) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Queue. +func (mg *Queue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Share. +func (mg *Share) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Share. +func (mg *Share) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Share. +func (mg *Share) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Share. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Share) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Share. +func (mg *Share) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Share. +func (mg *Share) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Share. +func (mg *Share) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Share. +func (mg *Share) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Share. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Share) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Share. +func (mg *Share) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ShareDirectory. +func (mg *ShareDirectory) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ShareDirectory. +func (mg *ShareDirectory) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ShareDirectory. +func (mg *ShareDirectory) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ShareDirectory. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ShareDirectory) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ShareDirectory. +func (mg *ShareDirectory) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ShareDirectory. +func (mg *ShareDirectory) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ShareDirectory. +func (mg *ShareDirectory) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ShareDirectory. +func (mg *ShareDirectory) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ShareDirectory. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ShareDirectory) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ShareDirectory. +func (mg *ShareDirectory) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Sync. +func (mg *Sync) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Sync. +func (mg *Sync) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Sync. +func (mg *Sync) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Sync. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Sync) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Sync. +func (mg *Sync) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Sync. +func (mg *Sync) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Sync. +func (mg *Sync) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Sync. +func (mg *Sync) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Sync. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Sync) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Sync. +func (mg *Sync) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SyncCloudEndpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SyncCloudEndpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SyncCloudEndpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SyncCloudEndpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SyncCloudEndpoint. +func (mg *SyncCloudEndpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Table. +func (mg *Table) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Table. +func (mg *Table) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Table. +func (mg *Table) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Table. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Table) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Table. +func (mg *Table) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Table. +func (mg *Table) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Table. +func (mg *Table) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Table. +func (mg *Table) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Table. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Table) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Table. +func (mg *Table) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TableEntity. +func (mg *TableEntity) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TableEntity. +func (mg *TableEntity) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TableEntity. +func (mg *TableEntity) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TableEntity. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TableEntity) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TableEntity. +func (mg *TableEntity) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TableEntity. +func (mg *TableEntity) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TableEntity. +func (mg *TableEntity) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TableEntity. +func (mg *TableEntity) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TableEntity. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TableEntity) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TableEntity. +func (mg *TableEntity) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/storage/v1alpha1/zz_generated.managedlist.go b/apis/storage/v1alpha1/zz_generated.managedlist.go index c6d482771..4d76d2121 100644 --- a/apis/storage/v1alpha1/zz_generated.managedlist.go +++ b/apis/storage/v1alpha1/zz_generated.managedlist.go @@ -19,6 +19,15 @@ package v1alpha1 import resource "github.com/crossplane/crossplane-runtime/pkg/resource" +// GetItems of this AccountCustomerManagedKeyList. +func (l *AccountCustomerManagedKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this AccountList. func (l *AccountList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -28,6 +37,24 @@ func (l *AccountList) GetItems() []resource.Managed { return items } +// GetItems of this AccountNetworkRulesList. +func (l *AccountNetworkRulesList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this BlobInventoryPolicyList. +func (l *BlobInventoryPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + // GetItems of this BlobList. func (l *BlobList) GetItems() []resource.Managed { items := make([]resource.Managed, len(l.Items)) @@ -45,3 +72,111 @@ func (l *ContainerList) GetItems() []resource.Managed { } return items } + +// GetItems of this DataLakeGen2FilesystemList. +func (l *DataLakeGen2FilesystemList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this DataLakeGen2PathList. +func (l *DataLakeGen2PathList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this EncryptionScopeList. +func (l *EncryptionScopeList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagementPolicyList. +func (l *ManagementPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ObjectReplicationList. +func (l *ObjectReplicationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this QueueList. +func (l *QueueList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareDirectoryList. +func (l *ShareDirectoryList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ShareList. +func (l *ShareList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SyncCloudEndpointList. +func (l *SyncCloudEndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SyncList. +func (l *SyncList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TableEntityList. +func (l *TableEntityList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TableList. +func (l *TableList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/storage/v1alpha1/zz_managementpolicy_terraformed.go b/apis/storage/v1alpha1/zz_managementpolicy_terraformed.go new file mode 100755 index 000000000..e4451052f --- /dev/null +++ b/apis/storage/v1alpha1/zz_managementpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagementPolicy +func (mg *ManagementPolicy) GetTerraformResourceType() string { + return "azurerm_storage_management_policy" +} + +// GetConnectionDetailsMapping for this ManagementPolicy +func (tr *ManagementPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagementPolicy +func (tr *ManagementPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagementPolicy +func (tr *ManagementPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagementPolicy +func (tr *ManagementPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagementPolicy +func (tr *ManagementPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagementPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagementPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ManagementPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagementPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_managementpolicy_types.go b/apis/storage/v1alpha1/zz_managementpolicy_types.go new file mode 100755 index 000000000..3cfaa66cd --- /dev/null +++ b/apis/storage/v1alpha1/zz_managementpolicy_types.go @@ -0,0 +1,195 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ActionsObservation struct { +} + +type ActionsParameters struct { + + // +kubebuilder:validation:Optional + BaseBlob []BaseBlobParameters `json:"baseBlob,omitempty" tf:"base_blob,omitempty"` + + // +kubebuilder:validation:Optional + Snapshot []SnapshotParameters `json:"snapshot,omitempty" tf:"snapshot,omitempty"` + + // +kubebuilder:validation:Optional + Version []VersionParameters `json:"version,omitempty" tf:"version,omitempty"` +} + +type BaseBlobObservation struct { +} + +type BaseBlobParameters struct { + + // +kubebuilder:validation:Optional + DeleteAfterDaysSinceModificationGreaterThan *int64 `json:"deleteAfterDaysSinceModificationGreaterThan,omitempty" tf:"delete_after_days_since_modification_greater_than,omitempty"` + + // +kubebuilder:validation:Optional + TierToArchiveAfterDaysSinceModificationGreaterThan *int64 `json:"tierToArchiveAfterDaysSinceModificationGreaterThan,omitempty" tf:"tier_to_archive_after_days_since_modification_greater_than,omitempty"` + + // +kubebuilder:validation:Optional + TierToCoolAfterDaysSinceModificationGreaterThan *int64 `json:"tierToCoolAfterDaysSinceModificationGreaterThan,omitempty" tf:"tier_to_cool_after_days_since_modification_greater_than,omitempty"` +} + +type FiltersObservation struct { +} + +type FiltersParameters struct { + + // +kubebuilder:validation:Optional + BlobTypes []*string `json:"blobTypes,omitempty" tf:"blob_types,omitempty"` + + // +kubebuilder:validation:Optional + MatchBlobIndexTag []MatchBlobIndexTagParameters `json:"matchBlobIndexTag,omitempty" tf:"match_blob_index_tag,omitempty"` + + // +kubebuilder:validation:Optional + PrefixMatch []*string `json:"prefixMatch,omitempty" tf:"prefix_match,omitempty"` +} + +type ManagementPolicyObservation struct { +} + +type ManagementPolicyParameters struct { + + // +kubebuilder:validation:Optional + Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` +} + +type MatchBlobIndexTagObservation struct { +} + +type MatchBlobIndexTagParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Operation *string `json:"operation,omitempty" tf:"operation,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type RuleObservation struct { +} + +type RuleParameters struct { + + // +kubebuilder:validation:Required + Actions []ActionsParameters `json:"actions" tf:"actions,omitempty"` + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Filters []FiltersParameters `json:"filters,omitempty" tf:"filters,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` +} + +type SnapshotObservation struct { +} + +type SnapshotParameters struct { + + // +kubebuilder:validation:Optional + ChangeTierToArchiveAfterDaysSinceCreation *int64 `json:"changeTierToArchiveAfterDaysSinceCreation,omitempty" tf:"change_tier_to_archive_after_days_since_creation,omitempty"` + + // +kubebuilder:validation:Optional + ChangeTierToCoolAfterDaysSinceCreation *int64 `json:"changeTierToCoolAfterDaysSinceCreation,omitempty" tf:"change_tier_to_cool_after_days_since_creation,omitempty"` + + // +kubebuilder:validation:Optional + DeleteAfterDaysSinceCreationGreaterThan *int64 `json:"deleteAfterDaysSinceCreationGreaterThan,omitempty" tf:"delete_after_days_since_creation_greater_than,omitempty"` +} + +type VersionObservation struct { +} + +type VersionParameters struct { + + // +kubebuilder:validation:Optional + ChangeTierToArchiveAfterDaysSinceCreation *int64 `json:"changeTierToArchiveAfterDaysSinceCreation,omitempty" tf:"change_tier_to_archive_after_days_since_creation,omitempty"` + + // +kubebuilder:validation:Optional + ChangeTierToCoolAfterDaysSinceCreation *int64 `json:"changeTierToCoolAfterDaysSinceCreation,omitempty" tf:"change_tier_to_cool_after_days_since_creation,omitempty"` + + // +kubebuilder:validation:Optional + DeleteAfterDaysSinceCreation *int64 `json:"deleteAfterDaysSinceCreation,omitempty" tf:"delete_after_days_since_creation,omitempty"` +} + +// ManagementPolicySpec defines the desired state of ManagementPolicy +type ManagementPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagementPolicyParameters `json:"forProvider"` +} + +// ManagementPolicyStatus defines the observed state of ManagementPolicy. +type ManagementPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagementPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementPolicy is the Schema for the ManagementPolicys API +// +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,azurejet} +type ManagementPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagementPolicySpec `json:"spec"` + Status ManagementPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagementPolicyList contains a list of ManagementPolicys +type ManagementPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagementPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ManagementPolicy_Kind = "ManagementPolicy" + ManagementPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagementPolicy_Kind}.String() + ManagementPolicy_KindAPIVersion = ManagementPolicy_Kind + "." + CRDGroupVersion.String() + ManagementPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ManagementPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagementPolicy{}, &ManagementPolicyList{}) +} diff --git a/apis/storage/v1alpha1/zz_objectreplication_terraformed.go b/apis/storage/v1alpha1/zz_objectreplication_terraformed.go new file mode 100755 index 000000000..d7ef58427 --- /dev/null +++ b/apis/storage/v1alpha1/zz_objectreplication_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ObjectReplication +func (mg *ObjectReplication) GetTerraformResourceType() string { + return "azurerm_storage_object_replication" +} + +// GetConnectionDetailsMapping for this ObjectReplication +func (tr *ObjectReplication) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ObjectReplication +func (tr *ObjectReplication) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ObjectReplication +func (tr *ObjectReplication) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ObjectReplication +func (tr *ObjectReplication) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ObjectReplication +func (tr *ObjectReplication) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ObjectReplication using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ObjectReplication) LateInitialize(attrs []byte) (bool, error) { + params := &ObjectReplicationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ObjectReplication) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_objectreplication_types.go b/apis/storage/v1alpha1/zz_objectreplication_types.go new file mode 100755 index 000000000..b3864ccfa --- /dev/null +++ b/apis/storage/v1alpha1/zz_objectreplication_types.go @@ -0,0 +1,112 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ObjectReplicationObservation struct { + DestinationObjectReplicationID *string `json:"destinationObjectReplicationId,omitempty" tf:"destination_object_replication_id,omitempty"` + + SourceObjectReplicationID *string `json:"sourceObjectReplicationId,omitempty" tf:"source_object_replication_id,omitempty"` +} + +type ObjectReplicationParameters struct { + + // +kubebuilder:validation:Required + DestinationStorageAccountID *string `json:"destinationStorageAccountId" tf:"destination_storage_account_id,omitempty"` + + // +kubebuilder:validation:Required + Rules []ObjectReplicationRulesParameters `json:"rules" tf:"rules,omitempty"` + + // +kubebuilder:validation:Required + SourceStorageAccountID *string `json:"sourceStorageAccountId" tf:"source_storage_account_id,omitempty"` +} + +type ObjectReplicationRulesObservation struct { + Name *string `json:"name,omitempty" tf:"name,omitempty"` +} + +type ObjectReplicationRulesParameters struct { + + // +kubebuilder:validation:Optional + CopyBlobsCreatedAfter *string `json:"copyBlobsCreatedAfter,omitempty" tf:"copy_blobs_created_after,omitempty"` + + // +kubebuilder:validation:Required + DestinationContainerName *string `json:"destinationContainerName" tf:"destination_container_name,omitempty"` + + // +kubebuilder:validation:Optional + FilterOutBlobsWithPrefix []*string `json:"filterOutBlobsWithPrefix,omitempty" tf:"filter_out_blobs_with_prefix,omitempty"` + + // +kubebuilder:validation:Required + SourceContainerName *string `json:"sourceContainerName" tf:"source_container_name,omitempty"` +} + +// ObjectReplicationSpec defines the desired state of ObjectReplication +type ObjectReplicationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ObjectReplicationParameters `json:"forProvider"` +} + +// ObjectReplicationStatus defines the observed state of ObjectReplication. +type ObjectReplicationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ObjectReplicationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ObjectReplication is the Schema for the ObjectReplications API +// +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,azurejet} +type ObjectReplication struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ObjectReplicationSpec `json:"spec"` + Status ObjectReplicationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ObjectReplicationList contains a list of ObjectReplications +type ObjectReplicationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ObjectReplication `json:"items"` +} + +// Repository type metadata. +var ( + ObjectReplication_Kind = "ObjectReplication" + ObjectReplication_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ObjectReplication_Kind}.String() + ObjectReplication_KindAPIVersion = ObjectReplication_Kind + "." + CRDGroupVersion.String() + ObjectReplication_GroupVersionKind = CRDGroupVersion.WithKind(ObjectReplication_Kind) +) + +func init() { + SchemeBuilder.Register(&ObjectReplication{}, &ObjectReplicationList{}) +} diff --git a/apis/storage/v1alpha1/zz_queue_terraformed.go b/apis/storage/v1alpha1/zz_queue_terraformed.go new file mode 100755 index 000000000..585c68b43 --- /dev/null +++ b/apis/storage/v1alpha1/zz_queue_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Queue +func (mg *Queue) GetTerraformResourceType() string { + return "azurerm_storage_queue" +} + +// GetConnectionDetailsMapping for this Queue +func (tr *Queue) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Queue +func (tr *Queue) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Queue +func (tr *Queue) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Queue +func (tr *Queue) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Queue +func (tr *Queue) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Queue using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Queue) LateInitialize(attrs []byte) (bool, error) { + params := &QueueParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Queue) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/storage/v1alpha1/zz_queue_types.go b/apis/storage/v1alpha1/zz_queue_types.go new file mode 100755 index 000000000..0323d9670 --- /dev/null +++ b/apis/storage/v1alpha1/zz_queue_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type QueueObservation struct { +} + +type QueueParameters struct { + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` +} + +// QueueSpec defines the desired state of Queue +type QueueSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider QueueParameters `json:"forProvider"` +} + +// QueueStatus defines the observed state of Queue. +type QueueStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider QueueObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Queue is the Schema for the Queues API +// +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,azurejet} +type Queue struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec QueueSpec `json:"spec"` + Status QueueStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// QueueList contains a list of Queues +type QueueList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Queue `json:"items"` +} + +// Repository type metadata. +var ( + Queue_Kind = "Queue" + Queue_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Queue_Kind}.String() + Queue_KindAPIVersion = Queue_Kind + "." + CRDGroupVersion.String() + Queue_GroupVersionKind = CRDGroupVersion.WithKind(Queue_Kind) +) + +func init() { + SchemeBuilder.Register(&Queue{}, &QueueList{}) +} diff --git a/apis/storage/v1alpha1/zz_share_terraformed.go b/apis/storage/v1alpha1/zz_share_terraformed.go new file mode 100755 index 000000000..278acf0ff --- /dev/null +++ b/apis/storage/v1alpha1/zz_share_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Share +func (mg *Share) GetTerraformResourceType() string { + return "azurerm_storage_share" +} + +// GetConnectionDetailsMapping for this Share +func (tr *Share) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Share +func (tr *Share) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Share +func (tr *Share) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Share +func (tr *Share) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Share +func (tr *Share) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Share using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Share) LateInitialize(attrs []byte) (bool, error) { + params := &ShareParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Share) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/storage/v1alpha1/zz_share_types.go b/apis/storage/v1alpha1/zz_share_types.go new file mode 100755 index 000000000..782c075bb --- /dev/null +++ b/apis/storage/v1alpha1/zz_share_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ACLObservation struct { +} + +type ACLParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicy []AccessPolicyParameters `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"` + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` +} + +type AccessPolicyObservation struct { +} + +type AccessPolicyParameters struct { + + // +kubebuilder:validation:Optional + Expiry *string `json:"expiry,omitempty" tf:"expiry,omitempty"` + + // +kubebuilder:validation:Required + Permissions *string `json:"permissions" tf:"permissions,omitempty"` + + // +kubebuilder:validation:Optional + Start *string `json:"start,omitempty" tf:"start,omitempty"` +} + +type ShareObservation struct { + ResourceManagerID *string `json:"resourceManagerId,omitempty" tf:"resource_manager_id,omitempty"` + + URL *string `json:"url,omitempty" tf:"url,omitempty"` +} + +type ShareParameters struct { + + // +kubebuilder:validation:Optional + ACL []ACLParameters `json:"acl,omitempty" tf:"acl,omitempty"` + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Quota *int64 `json:"quota,omitempty" tf:"quota,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` +} + +// ShareSpec defines the desired state of Share +type ShareSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareParameters `json:"forProvider"` +} + +// ShareStatus defines the observed state of Share. +type ShareStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Share is the Schema for the Shares API +// +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,azurejet} +type Share struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareSpec `json:"spec"` + Status ShareStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareList contains a list of Shares +type ShareList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Share `json:"items"` +} + +// Repository type metadata. +var ( + Share_Kind = "Share" + Share_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Share_Kind}.String() + Share_KindAPIVersion = Share_Kind + "." + CRDGroupVersion.String() + Share_GroupVersionKind = CRDGroupVersion.WithKind(Share_Kind) +) + +func init() { + SchemeBuilder.Register(&Share{}, &ShareList{}) +} diff --git a/apis/storage/v1alpha1/zz_sharedirectory_terraformed.go b/apis/storage/v1alpha1/zz_sharedirectory_terraformed.go new file mode 100755 index 000000000..2b5ed684c --- /dev/null +++ b/apis/storage/v1alpha1/zz_sharedirectory_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ShareDirectory +func (mg *ShareDirectory) GetTerraformResourceType() string { + return "azurerm_storage_share_directory" +} + +// GetConnectionDetailsMapping for this ShareDirectory +func (tr *ShareDirectory) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ShareDirectory +func (tr *ShareDirectory) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ShareDirectory +func (tr *ShareDirectory) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ShareDirectory +func (tr *ShareDirectory) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ShareDirectory +func (tr *ShareDirectory) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ShareDirectory using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ShareDirectory) LateInitialize(attrs []byte) (bool, error) { + params := &ShareDirectoryParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ShareDirectory) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_sharedirectory_types.go b/apis/storage/v1alpha1/zz_sharedirectory_types.go new file mode 100755 index 000000000..ca778c703 --- /dev/null +++ b/apis/storage/v1alpha1/zz_sharedirectory_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ShareDirectoryObservation struct { +} + +type ShareDirectoryParameters struct { + + // +kubebuilder:validation:Optional + Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ShareName *string `json:"shareName" tf:"share_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` +} + +// ShareDirectorySpec defines the desired state of ShareDirectory +type ShareDirectorySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ShareDirectoryParameters `json:"forProvider"` +} + +// ShareDirectoryStatus defines the observed state of ShareDirectory. +type ShareDirectoryStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ShareDirectoryObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDirectory is the Schema for the ShareDirectorys API +// +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,azurejet} +type ShareDirectory struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ShareDirectorySpec `json:"spec"` + Status ShareDirectoryStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ShareDirectoryList contains a list of ShareDirectorys +type ShareDirectoryList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ShareDirectory `json:"items"` +} + +// Repository type metadata. +var ( + ShareDirectory_Kind = "ShareDirectory" + ShareDirectory_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ShareDirectory_Kind}.String() + ShareDirectory_KindAPIVersion = ShareDirectory_Kind + "." + CRDGroupVersion.String() + ShareDirectory_GroupVersionKind = CRDGroupVersion.WithKind(ShareDirectory_Kind) +) + +func init() { + SchemeBuilder.Register(&ShareDirectory{}, &ShareDirectoryList{}) +} diff --git a/apis/storage/v1alpha1/zz_sync_terraformed.go b/apis/storage/v1alpha1/zz_sync_terraformed.go new file mode 100755 index 000000000..2938c9b03 --- /dev/null +++ b/apis/storage/v1alpha1/zz_sync_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Sync +func (mg *Sync) GetTerraformResourceType() string { + return "azurerm_storage_sync" +} + +// GetConnectionDetailsMapping for this Sync +func (tr *Sync) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Sync +func (tr *Sync) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Sync +func (tr *Sync) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Sync +func (tr *Sync) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Sync +func (tr *Sync) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Sync using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Sync) LateInitialize(attrs []byte) (bool, error) { + params := &SyncParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Sync) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_sync_types.go b/apis/storage/v1alpha1/zz_sync_types.go new file mode 100755 index 000000000..cb42178b1 --- /dev/null +++ b/apis/storage/v1alpha1/zz_sync_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SyncObservation struct { +} + +type SyncParameters struct { + + // +kubebuilder:validation:Optional + IncomingTrafficPolicy *string `json:"incomingTrafficPolicy,omitempty" tf:"incoming_traffic_policy,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SyncSpec defines the desired state of Sync +type SyncSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SyncParameters `json:"forProvider"` +} + +// SyncStatus defines the observed state of Sync. +type SyncStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SyncObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Sync is the Schema for the Syncs API +// +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,azurejet} +type Sync struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SyncSpec `json:"spec"` + Status SyncStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SyncList contains a list of Syncs +type SyncList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Sync `json:"items"` +} + +// Repository type metadata. +var ( + Sync_Kind = "Sync" + Sync_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Sync_Kind}.String() + Sync_KindAPIVersion = Sync_Kind + "." + CRDGroupVersion.String() + Sync_GroupVersionKind = CRDGroupVersion.WithKind(Sync_Kind) +) + +func init() { + SchemeBuilder.Register(&Sync{}, &SyncList{}) +} diff --git a/apis/storage/v1alpha1/zz_synccloudendpoint_terraformed.go b/apis/storage/v1alpha1/zz_synccloudendpoint_terraformed.go new file mode 100755 index 000000000..c5d66be64 --- /dev/null +++ b/apis/storage/v1alpha1/zz_synccloudendpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SyncCloudEndpoint +func (mg *SyncCloudEndpoint) GetTerraformResourceType() string { + return "azurerm_storage_sync_cloud_endpoint" +} + +// GetConnectionDetailsMapping for this SyncCloudEndpoint +func (tr *SyncCloudEndpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SyncCloudEndpoint +func (tr *SyncCloudEndpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SyncCloudEndpoint +func (tr *SyncCloudEndpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SyncCloudEndpoint +func (tr *SyncCloudEndpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SyncCloudEndpoint +func (tr *SyncCloudEndpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SyncCloudEndpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SyncCloudEndpoint) LateInitialize(attrs []byte) (bool, error) { + params := &SyncCloudEndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SyncCloudEndpoint) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_synccloudendpoint_types.go b/apis/storage/v1alpha1/zz_synccloudendpoint_types.go new file mode 100755 index 000000000..ab6e1b9ec --- /dev/null +++ b/apis/storage/v1alpha1/zz_synccloudendpoint_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SyncCloudEndpointObservation struct { +} + +type SyncCloudEndpointParameters struct { + + // +kubebuilder:validation:Required + FileShareName *string `json:"fileShareName" tf:"file_share_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountID *string `json:"storageAccountId" tf:"storage_account_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountTenantID *string `json:"storageAccountTenantId,omitempty" tf:"storage_account_tenant_id,omitempty"` + + // +kubebuilder:validation:Required + StorageSyncGroupID *string `json:"storageSyncGroupId" tf:"storage_sync_group_id,omitempty"` +} + +// SyncCloudEndpointSpec defines the desired state of SyncCloudEndpoint +type SyncCloudEndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SyncCloudEndpointParameters `json:"forProvider"` +} + +// SyncCloudEndpointStatus defines the observed state of SyncCloudEndpoint. +type SyncCloudEndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SyncCloudEndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SyncCloudEndpoint is the Schema for the SyncCloudEndpoints API +// +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,azurejet} +type SyncCloudEndpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SyncCloudEndpointSpec `json:"spec"` + Status SyncCloudEndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SyncCloudEndpointList contains a list of SyncCloudEndpoints +type SyncCloudEndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SyncCloudEndpoint `json:"items"` +} + +// Repository type metadata. +var ( + SyncCloudEndpoint_Kind = "SyncCloudEndpoint" + SyncCloudEndpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SyncCloudEndpoint_Kind}.String() + SyncCloudEndpoint_KindAPIVersion = SyncCloudEndpoint_Kind + "." + CRDGroupVersion.String() + SyncCloudEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(SyncCloudEndpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&SyncCloudEndpoint{}, &SyncCloudEndpointList{}) +} diff --git a/apis/storage/v1alpha1/zz_table_terraformed.go b/apis/storage/v1alpha1/zz_table_terraformed.go new file mode 100755 index 000000000..e3b300d94 --- /dev/null +++ b/apis/storage/v1alpha1/zz_table_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Table +func (mg *Table) GetTerraformResourceType() string { + return "azurerm_storage_table" +} + +// GetConnectionDetailsMapping for this Table +func (tr *Table) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Table +func (tr *Table) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Table +func (tr *Table) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Table +func (tr *Table) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Table +func (tr *Table) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Table using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Table) LateInitialize(attrs []byte) (bool, error) { + params := &TableParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Table) GetTerraformSchemaVersion() int { + return 2 +} diff --git a/apis/storage/v1alpha1/zz_table_types.go b/apis/storage/v1alpha1/zz_table_types.go new file mode 100755 index 000000000..153c987bc --- /dev/null +++ b/apis/storage/v1alpha1/zz_table_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ACLAccessPolicyObservation struct { +} + +type ACLAccessPolicyParameters struct { + + // +kubebuilder:validation:Required + Expiry *string `json:"expiry" tf:"expiry,omitempty"` + + // +kubebuilder:validation:Required + Permissions *string `json:"permissions" tf:"permissions,omitempty"` + + // +kubebuilder:validation:Required + Start *string `json:"start" tf:"start,omitempty"` +} + +type TableACLObservation struct { +} + +type TableACLParameters struct { + + // +kubebuilder:validation:Optional + AccessPolicy []ACLAccessPolicyParameters `json:"accessPolicy,omitempty" tf:"access_policy,omitempty"` + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` +} + +type TableObservation struct { +} + +type TableParameters struct { + + // +kubebuilder:validation:Optional + ACL []TableACLParameters `json:"acl,omitempty" tf:"acl,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` +} + +// TableSpec defines the desired state of Table +type TableSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TableParameters `json:"forProvider"` +} + +// TableStatus defines the observed state of Table. +type TableStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TableObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Table is the Schema for the Tables API +// +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,azurejet} +type Table struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TableSpec `json:"spec"` + Status TableStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TableList contains a list of Tables +type TableList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Table `json:"items"` +} + +// Repository type metadata. +var ( + Table_Kind = "Table" + Table_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Table_Kind}.String() + Table_KindAPIVersion = Table_Kind + "." + CRDGroupVersion.String() + Table_GroupVersionKind = CRDGroupVersion.WithKind(Table_Kind) +) + +func init() { + SchemeBuilder.Register(&Table{}, &TableList{}) +} diff --git a/apis/storage/v1alpha1/zz_tableentity_terraformed.go b/apis/storage/v1alpha1/zz_tableentity_terraformed.go new file mode 100755 index 000000000..10786d65a --- /dev/null +++ b/apis/storage/v1alpha1/zz_tableentity_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TableEntity +func (mg *TableEntity) GetTerraformResourceType() string { + return "azurerm_storage_table_entity" +} + +// GetConnectionDetailsMapping for this TableEntity +func (tr *TableEntity) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TableEntity +func (tr *TableEntity) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TableEntity +func (tr *TableEntity) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TableEntity +func (tr *TableEntity) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TableEntity +func (tr *TableEntity) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TableEntity using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TableEntity) LateInitialize(attrs []byte) (bool, error) { + params := &TableEntityParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TableEntity) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/storage/v1alpha1/zz_tableentity_types.go b/apis/storage/v1alpha1/zz_tableentity_types.go new file mode 100755 index 000000000..8267faac1 --- /dev/null +++ b/apis/storage/v1alpha1/zz_tableentity_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TableEntityObservation struct { +} + +type TableEntityParameters struct { + + // +kubebuilder:validation:Required + Entity map[string]*string `json:"entity" tf:"entity,omitempty"` + + // +kubebuilder:validation:Required + PartitionKey *string `json:"partitionKey" tf:"partition_key,omitempty"` + + // +kubebuilder:validation:Required + RowKey *string `json:"rowKey" tf:"row_key,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Required + TableName *string `json:"tableName" tf:"table_name,omitempty"` +} + +// TableEntitySpec defines the desired state of TableEntity +type TableEntitySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TableEntityParameters `json:"forProvider"` +} + +// TableEntityStatus defines the observed state of TableEntity. +type TableEntityStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TableEntityObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TableEntity is the Schema for the TableEntitys API +// +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,azurejet} +type TableEntity struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TableEntitySpec `json:"spec"` + Status TableEntityStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TableEntityList contains a list of TableEntitys +type TableEntityList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TableEntity `json:"items"` +} + +// Repository type metadata. +var ( + TableEntity_Kind = "TableEntity" + TableEntity_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TableEntity_Kind}.String() + TableEntity_KindAPIVersion = TableEntity_Kind + "." + CRDGroupVersion.String() + TableEntity_GroupVersionKind = CRDGroupVersion.WithKind(TableEntity_Kind) +) + +func init() { + SchemeBuilder.Register(&TableEntity{}, &TableEntityList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsfunctionjavascriptudf_terraformed.go b/apis/stream/v1alpha1/zz_analyticsfunctionjavascriptudf_terraformed.go new file mode 100755 index 000000000..b4164300e --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsfunctionjavascriptudf_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsFunctionJavascriptUdf +func (mg *AnalyticsFunctionJavascriptUdf) GetTerraformResourceType() string { + return "azurerm_stream_analytics_function_javascript_udf" +} + +// GetConnectionDetailsMapping for this AnalyticsFunctionJavascriptUdf +func (tr *AnalyticsFunctionJavascriptUdf) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsFunctionJavascriptUdf +func (tr *AnalyticsFunctionJavascriptUdf) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsFunctionJavascriptUdf +func (tr *AnalyticsFunctionJavascriptUdf) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsFunctionJavascriptUdf +func (tr *AnalyticsFunctionJavascriptUdf) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsFunctionJavascriptUdf +func (tr *AnalyticsFunctionJavascriptUdf) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsFunctionJavascriptUdf using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsFunctionJavascriptUdf) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsFunctionJavascriptUdfParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsFunctionJavascriptUdf) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsfunctionjavascriptudf_types.go b/apis/stream/v1alpha1/zz_analyticsfunctionjavascriptudf_types.go new file mode 100755 index 000000000..dcc7df1f4 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsfunctionjavascriptudf_types.go @@ -0,0 +1,117 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsFunctionJavascriptUdfObservation struct { +} + +type AnalyticsFunctionJavascriptUdfParameters struct { + + // +kubebuilder:validation:Required + Input []InputParameters `json:"input" tf:"input,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Output []OutputParameters `json:"output" tf:"output,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Script *string `json:"script" tf:"script,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` +} + +type InputObservation struct { +} + +type InputParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type OutputObservation struct { +} + +type OutputParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsFunctionJavascriptUdfSpec defines the desired state of AnalyticsFunctionJavascriptUdf +type AnalyticsFunctionJavascriptUdfSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsFunctionJavascriptUdfParameters `json:"forProvider"` +} + +// AnalyticsFunctionJavascriptUdfStatus defines the observed state of AnalyticsFunctionJavascriptUdf. +type AnalyticsFunctionJavascriptUdfStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsFunctionJavascriptUdfObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsFunctionJavascriptUdf is the Schema for the AnalyticsFunctionJavascriptUdfs API +// +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,azurejet} +type AnalyticsFunctionJavascriptUdf struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsFunctionJavascriptUdfSpec `json:"spec"` + Status AnalyticsFunctionJavascriptUdfStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsFunctionJavascriptUdfList contains a list of AnalyticsFunctionJavascriptUdfs +type AnalyticsFunctionJavascriptUdfList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsFunctionJavascriptUdf `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsFunctionJavascriptUdf_Kind = "AnalyticsFunctionJavascriptUdf" + AnalyticsFunctionJavascriptUdf_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsFunctionJavascriptUdf_Kind}.String() + AnalyticsFunctionJavascriptUdf_KindAPIVersion = AnalyticsFunctionJavascriptUdf_Kind + "." + CRDGroupVersion.String() + AnalyticsFunctionJavascriptUdf_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsFunctionJavascriptUdf_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsFunctionJavascriptUdf{}, &AnalyticsFunctionJavascriptUdfList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsjob_terraformed.go b/apis/stream/v1alpha1/zz_analyticsjob_terraformed.go new file mode 100755 index 000000000..4b1341efe --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsjob_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsJob +func (mg *AnalyticsJob) GetTerraformResourceType() string { + return "azurerm_stream_analytics_job" +} + +// GetConnectionDetailsMapping for this AnalyticsJob +func (tr *AnalyticsJob) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyticsJob +func (tr *AnalyticsJob) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsJob +func (tr *AnalyticsJob) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsJob +func (tr *AnalyticsJob) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsJob +func (tr *AnalyticsJob) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsJob using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsJob) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsJobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsJob) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsjob_types.go b/apis/stream/v1alpha1/zz_analyticsjob_types.go new file mode 100755 index 000000000..81d5e7957 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsjob_types.go @@ -0,0 +1,133 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsJobObservation struct { + JobID *string `json:"jobId,omitempty" tf:"job_id,omitempty"` +} + +type AnalyticsJobParameters struct { + + // +kubebuilder:validation:Optional + CompatibilityLevel *string `json:"compatibilityLevel,omitempty" tf:"compatibility_level,omitempty"` + + // +kubebuilder:validation:Optional + DataLocale *string `json:"dataLocale,omitempty" tf:"data_locale,omitempty"` + + // +kubebuilder:validation:Optional + EventsLateArrivalMaxDelayInSeconds *int64 `json:"eventsLateArrivalMaxDelayInSeconds,omitempty" tf:"events_late_arrival_max_delay_in_seconds,omitempty"` + + // +kubebuilder:validation:Optional + EventsOutOfOrderMaxDelayInSeconds *int64 `json:"eventsOutOfOrderMaxDelayInSeconds,omitempty" tf:"events_out_of_order_max_delay_in_seconds,omitempty"` + + // +kubebuilder:validation:Optional + EventsOutOfOrderPolicy *string `json:"eventsOutOfOrderPolicy,omitempty" tf:"events_out_of_order_policy,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + OutputErrorPolicy *string `json:"outputErrorPolicy,omitempty" tf:"output_error_policy,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StreamingUnits *int64 `json:"streamingUnits" tf:"streaming_units,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TransformationQuery *string `json:"transformationQuery" tf:"transformation_query,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsJobSpec defines the desired state of AnalyticsJob +type AnalyticsJobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsJobParameters `json:"forProvider"` +} + +// AnalyticsJobStatus defines the observed state of AnalyticsJob. +type AnalyticsJobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsJobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsJob is the Schema for the AnalyticsJobs API +// +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,azurejet} +type AnalyticsJob struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsJobSpec `json:"spec"` + Status AnalyticsJobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsJobList contains a list of AnalyticsJobs +type AnalyticsJobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsJob `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsJob_Kind = "AnalyticsJob" + AnalyticsJob_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsJob_Kind}.String() + AnalyticsJob_KindAPIVersion = AnalyticsJob_Kind + "." + CRDGroupVersion.String() + AnalyticsJob_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsJob_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsJob{}, &AnalyticsJobList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputblob_terraformed.go b/apis/stream/v1alpha1/zz_analyticsoutputblob_terraformed.go new file mode 100755 index 000000000..5bb926405 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputblob_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsOutputBlob +func (mg *AnalyticsOutputBlob) GetTerraformResourceType() string { + return "azurerm_stream_analytics_output_blob" +} + +// GetConnectionDetailsMapping for this AnalyticsOutputBlob +func (tr *AnalyticsOutputBlob) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_key": "spec.forProvider.storageAccountKeySecretRef"} +} + +// GetObservation of this AnalyticsOutputBlob +func (tr *AnalyticsOutputBlob) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsOutputBlob +func (tr *AnalyticsOutputBlob) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsOutputBlob +func (tr *AnalyticsOutputBlob) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsOutputBlob +func (tr *AnalyticsOutputBlob) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsOutputBlob using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsOutputBlob) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsOutputBlobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsOutputBlob) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputblob_types.go b/apis/stream/v1alpha1/zz_analyticsoutputblob_types.go new file mode 100755 index 000000000..44a493126 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputblob_types.go @@ -0,0 +1,135 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsOutputBlobObservation struct { +} + +type AnalyticsOutputBlobParameters struct { + + // +kubebuilder:validation:Optional + BatchMaxWaitTime *string `json:"batchMaxWaitTime,omitempty" tf:"batch_max_wait_time,omitempty"` + + // +kubebuilder:validation:Optional + BatchMinRows *float64 `json:"batchMinRows,omitempty" tf:"batch_min_rows,omitempty"` + + // +kubebuilder:validation:Required + DateFormat *string `json:"dateFormat" tf:"date_format,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PathPattern *string `json:"pathPattern" tf:"path_pattern,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []SerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Required + StorageContainerName *string `json:"storageContainerName" tf:"storage_container_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` + + // +kubebuilder:validation:Required + TimeFormat *string `json:"timeFormat" tf:"time_format,omitempty"` +} + +type SerializationObservation struct { +} + +type SerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Optional + Format *string `json:"format,omitempty" tf:"format,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsOutputBlobSpec defines the desired state of AnalyticsOutputBlob +type AnalyticsOutputBlobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsOutputBlobParameters `json:"forProvider"` +} + +// AnalyticsOutputBlobStatus defines the observed state of AnalyticsOutputBlob. +type AnalyticsOutputBlobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsOutputBlobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputBlob is the Schema for the AnalyticsOutputBlobs API +// +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,azurejet} +type AnalyticsOutputBlob struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsOutputBlobSpec `json:"spec"` + Status AnalyticsOutputBlobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputBlobList contains a list of AnalyticsOutputBlobs +type AnalyticsOutputBlobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsOutputBlob `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsOutputBlob_Kind = "AnalyticsOutputBlob" + AnalyticsOutputBlob_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsOutputBlob_Kind}.String() + AnalyticsOutputBlob_KindAPIVersion = AnalyticsOutputBlob_Kind + "." + CRDGroupVersion.String() + AnalyticsOutputBlob_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsOutputBlob_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsOutputBlob{}, &AnalyticsOutputBlobList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputeventhub_terraformed.go b/apis/stream/v1alpha1/zz_analyticsoutputeventhub_terraformed.go new file mode 100755 index 000000000..cef6a1316 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputeventhub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsOutputEventhub +func (mg *AnalyticsOutputEventhub) GetTerraformResourceType() string { + return "azurerm_stream_analytics_output_eventhub" +} + +// GetConnectionDetailsMapping for this AnalyticsOutputEventhub +func (tr *AnalyticsOutputEventhub) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"shared_access_policy_key": "spec.forProvider.sharedAccessPolicyKeySecretRef"} +} + +// GetObservation of this AnalyticsOutputEventhub +func (tr *AnalyticsOutputEventhub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsOutputEventhub +func (tr *AnalyticsOutputEventhub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsOutputEventhub +func (tr *AnalyticsOutputEventhub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsOutputEventhub +func (tr *AnalyticsOutputEventhub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsOutputEventhub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsOutputEventhub) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsOutputEventhubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsOutputEventhub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputeventhub_types.go b/apis/stream/v1alpha1/zz_analyticsoutputeventhub_types.go new file mode 100755 index 000000000..f6cf7970c --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputeventhub_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsOutputEventhubObservation struct { +} + +type AnalyticsOutputEventhubParameters struct { + + // +kubebuilder:validation:Required + EventhubName *string `json:"eventhubName" tf:"eventhub_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PropertyColumns []*string `json:"propertyColumns,omitempty" tf:"property_columns,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsOutputEventhubSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + ServicebusNamespace *string `json:"servicebusNamespace" tf:"servicebus_namespace,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessPolicyKeySecretRef v1.SecretKeySelector `json:"sharedAccessPolicyKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SharedAccessPolicyName *string `json:"sharedAccessPolicyName" tf:"shared_access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` +} + +type AnalyticsOutputEventhubSerializationObservation struct { +} + +type AnalyticsOutputEventhubSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Optional + Format *string `json:"format,omitempty" tf:"format,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsOutputEventhubSpec defines the desired state of AnalyticsOutputEventhub +type AnalyticsOutputEventhubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsOutputEventhubParameters `json:"forProvider"` +} + +// AnalyticsOutputEventhubStatus defines the observed state of AnalyticsOutputEventhub. +type AnalyticsOutputEventhubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsOutputEventhubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputEventhub is the Schema for the AnalyticsOutputEventhubs API +// +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,azurejet} +type AnalyticsOutputEventhub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsOutputEventhubSpec `json:"spec"` + Status AnalyticsOutputEventhubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputEventhubList contains a list of AnalyticsOutputEventhubs +type AnalyticsOutputEventhubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsOutputEventhub `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsOutputEventhub_Kind = "AnalyticsOutputEventhub" + AnalyticsOutputEventhub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsOutputEventhub_Kind}.String() + AnalyticsOutputEventhub_KindAPIVersion = AnalyticsOutputEventhub_Kind + "." + CRDGroupVersion.String() + AnalyticsOutputEventhub_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsOutputEventhub_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsOutputEventhub{}, &AnalyticsOutputEventhubList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputmssql_terraformed.go b/apis/stream/v1alpha1/zz_analyticsoutputmssql_terraformed.go new file mode 100755 index 000000000..3978b77c0 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputmssql_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsOutputMssql +func (mg *AnalyticsOutputMssql) GetTerraformResourceType() string { + return "azurerm_stream_analytics_output_mssql" +} + +// GetConnectionDetailsMapping for this AnalyticsOutputMssql +func (tr *AnalyticsOutputMssql) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"password": "spec.forProvider.passwordSecretRef"} +} + +// GetObservation of this AnalyticsOutputMssql +func (tr *AnalyticsOutputMssql) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsOutputMssql +func (tr *AnalyticsOutputMssql) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsOutputMssql +func (tr *AnalyticsOutputMssql) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsOutputMssql +func (tr *AnalyticsOutputMssql) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsOutputMssql using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsOutputMssql) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsOutputMssqlParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsOutputMssql) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputmssql_types.go b/apis/stream/v1alpha1/zz_analyticsoutputmssql_types.go new file mode 100755 index 000000000..21e9ea73f --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputmssql_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsOutputMssqlObservation struct { +} + +type AnalyticsOutputMssqlParameters struct { + + // +kubebuilder:validation:Required + Database *string `json:"database" tf:"database,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Server *string `json:"server" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` + + // +kubebuilder:validation:Required + Table *string `json:"table" tf:"table,omitempty"` + + // +kubebuilder:validation:Required + User *string `json:"user" tf:"user,omitempty"` +} + +// AnalyticsOutputMssqlSpec defines the desired state of AnalyticsOutputMssql +type AnalyticsOutputMssqlSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsOutputMssqlParameters `json:"forProvider"` +} + +// AnalyticsOutputMssqlStatus defines the observed state of AnalyticsOutputMssql. +type AnalyticsOutputMssqlStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsOutputMssqlObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputMssql is the Schema for the AnalyticsOutputMssqls API +// +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,azurejet} +type AnalyticsOutputMssql struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsOutputMssqlSpec `json:"spec"` + Status AnalyticsOutputMssqlStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputMssqlList contains a list of AnalyticsOutputMssqls +type AnalyticsOutputMssqlList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsOutputMssql `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsOutputMssql_Kind = "AnalyticsOutputMssql" + AnalyticsOutputMssql_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsOutputMssql_Kind}.String() + AnalyticsOutputMssql_KindAPIVersion = AnalyticsOutputMssql_Kind + "." + CRDGroupVersion.String() + AnalyticsOutputMssql_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsOutputMssql_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsOutputMssql{}, &AnalyticsOutputMssqlList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputservicebusqueue_terraformed.go b/apis/stream/v1alpha1/zz_analyticsoutputservicebusqueue_terraformed.go new file mode 100755 index 000000000..8dc7051c7 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputservicebusqueue_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsOutputServicebusQueue +func (mg *AnalyticsOutputServicebusQueue) GetTerraformResourceType() string { + return "azurerm_stream_analytics_output_servicebus_queue" +} + +// GetConnectionDetailsMapping for this AnalyticsOutputServicebusQueue +func (tr *AnalyticsOutputServicebusQueue) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"shared_access_policy_key": "spec.forProvider.sharedAccessPolicyKeySecretRef"} +} + +// GetObservation of this AnalyticsOutputServicebusQueue +func (tr *AnalyticsOutputServicebusQueue) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsOutputServicebusQueue +func (tr *AnalyticsOutputServicebusQueue) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsOutputServicebusQueue +func (tr *AnalyticsOutputServicebusQueue) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsOutputServicebusQueue +func (tr *AnalyticsOutputServicebusQueue) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsOutputServicebusQueue using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsOutputServicebusQueue) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsOutputServicebusQueueParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsOutputServicebusQueue) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputservicebusqueue_types.go b/apis/stream/v1alpha1/zz_analyticsoutputservicebusqueue_types.go new file mode 100755 index 000000000..de1e75ac8 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputservicebusqueue_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsOutputServicebusQueueObservation struct { +} + +type AnalyticsOutputServicebusQueueParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + QueueName *string `json:"queueName" tf:"queue_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsOutputServicebusQueueSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + ServicebusNamespace *string `json:"servicebusNamespace" tf:"servicebus_namespace,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessPolicyKeySecretRef v1.SecretKeySelector `json:"sharedAccessPolicyKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SharedAccessPolicyName *string `json:"sharedAccessPolicyName" tf:"shared_access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` +} + +type AnalyticsOutputServicebusQueueSerializationObservation struct { +} + +type AnalyticsOutputServicebusQueueSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Optional + Format *string `json:"format,omitempty" tf:"format,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsOutputServicebusQueueSpec defines the desired state of AnalyticsOutputServicebusQueue +type AnalyticsOutputServicebusQueueSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsOutputServicebusQueueParameters `json:"forProvider"` +} + +// AnalyticsOutputServicebusQueueStatus defines the observed state of AnalyticsOutputServicebusQueue. +type AnalyticsOutputServicebusQueueStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsOutputServicebusQueueObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputServicebusQueue is the Schema for the AnalyticsOutputServicebusQueues API +// +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,azurejet} +type AnalyticsOutputServicebusQueue struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsOutputServicebusQueueSpec `json:"spec"` + Status AnalyticsOutputServicebusQueueStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputServicebusQueueList contains a list of AnalyticsOutputServicebusQueues +type AnalyticsOutputServicebusQueueList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsOutputServicebusQueue `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsOutputServicebusQueue_Kind = "AnalyticsOutputServicebusQueue" + AnalyticsOutputServicebusQueue_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsOutputServicebusQueue_Kind}.String() + AnalyticsOutputServicebusQueue_KindAPIVersion = AnalyticsOutputServicebusQueue_Kind + "." + CRDGroupVersion.String() + AnalyticsOutputServicebusQueue_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsOutputServicebusQueue_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsOutputServicebusQueue{}, &AnalyticsOutputServicebusQueueList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputservicebustopic_terraformed.go b/apis/stream/v1alpha1/zz_analyticsoutputservicebustopic_terraformed.go new file mode 100755 index 000000000..8baa7e0a4 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputservicebustopic_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsOutputServicebusTopic +func (mg *AnalyticsOutputServicebusTopic) GetTerraformResourceType() string { + return "azurerm_stream_analytics_output_servicebus_topic" +} + +// GetConnectionDetailsMapping for this AnalyticsOutputServicebusTopic +func (tr *AnalyticsOutputServicebusTopic) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"shared_access_policy_key": "spec.forProvider.sharedAccessPolicyKeySecretRef"} +} + +// GetObservation of this AnalyticsOutputServicebusTopic +func (tr *AnalyticsOutputServicebusTopic) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsOutputServicebusTopic +func (tr *AnalyticsOutputServicebusTopic) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsOutputServicebusTopic +func (tr *AnalyticsOutputServicebusTopic) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsOutputServicebusTopic +func (tr *AnalyticsOutputServicebusTopic) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsOutputServicebusTopic using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsOutputServicebusTopic) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsOutputServicebusTopicParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsOutputServicebusTopic) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsoutputservicebustopic_types.go b/apis/stream/v1alpha1/zz_analyticsoutputservicebustopic_types.go new file mode 100755 index 000000000..8eab3a7f6 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsoutputservicebustopic_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsOutputServicebusTopicObservation struct { +} + +type AnalyticsOutputServicebusTopicParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsOutputServicebusTopicSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + ServicebusNamespace *string `json:"servicebusNamespace" tf:"servicebus_namespace,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessPolicyKeySecretRef v1.SecretKeySelector `json:"sharedAccessPolicyKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SharedAccessPolicyName *string `json:"sharedAccessPolicyName" tf:"shared_access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` + + // +kubebuilder:validation:Required + TopicName *string `json:"topicName" tf:"topic_name,omitempty"` +} + +type AnalyticsOutputServicebusTopicSerializationObservation struct { +} + +type AnalyticsOutputServicebusTopicSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Optional + Format *string `json:"format,omitempty" tf:"format,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsOutputServicebusTopicSpec defines the desired state of AnalyticsOutputServicebusTopic +type AnalyticsOutputServicebusTopicSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsOutputServicebusTopicParameters `json:"forProvider"` +} + +// AnalyticsOutputServicebusTopicStatus defines the observed state of AnalyticsOutputServicebusTopic. +type AnalyticsOutputServicebusTopicStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsOutputServicebusTopicObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputServicebusTopic is the Schema for the AnalyticsOutputServicebusTopics API +// +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,azurejet} +type AnalyticsOutputServicebusTopic struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsOutputServicebusTopicSpec `json:"spec"` + Status AnalyticsOutputServicebusTopicStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsOutputServicebusTopicList contains a list of AnalyticsOutputServicebusTopics +type AnalyticsOutputServicebusTopicList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsOutputServicebusTopic `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsOutputServicebusTopic_Kind = "AnalyticsOutputServicebusTopic" + AnalyticsOutputServicebusTopic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsOutputServicebusTopic_Kind}.String() + AnalyticsOutputServicebusTopic_KindAPIVersion = AnalyticsOutputServicebusTopic_Kind + "." + CRDGroupVersion.String() + AnalyticsOutputServicebusTopic_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsOutputServicebusTopic_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsOutputServicebusTopic{}, &AnalyticsOutputServicebusTopicList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsreferenceinputblob_terraformed.go b/apis/stream/v1alpha1/zz_analyticsreferenceinputblob_terraformed.go new file mode 100755 index 000000000..452f3cf9d --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsreferenceinputblob_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsReferenceInputBlob +func (mg *AnalyticsReferenceInputBlob) GetTerraformResourceType() string { + return "azurerm_stream_analytics_reference_input_blob" +} + +// GetConnectionDetailsMapping for this AnalyticsReferenceInputBlob +func (tr *AnalyticsReferenceInputBlob) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_key": "spec.forProvider.storageAccountKeySecretRef"} +} + +// GetObservation of this AnalyticsReferenceInputBlob +func (tr *AnalyticsReferenceInputBlob) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsReferenceInputBlob +func (tr *AnalyticsReferenceInputBlob) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsReferenceInputBlob +func (tr *AnalyticsReferenceInputBlob) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsReferenceInputBlob +func (tr *AnalyticsReferenceInputBlob) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsReferenceInputBlob using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsReferenceInputBlob) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsReferenceInputBlobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsReferenceInputBlob) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsreferenceinputblob_types.go b/apis/stream/v1alpha1/zz_analyticsreferenceinputblob_types.go new file mode 100755 index 000000000..362fc209d --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsreferenceinputblob_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsReferenceInputBlobObservation struct { +} + +type AnalyticsReferenceInputBlobParameters struct { + + // +kubebuilder:validation:Required + DateFormat *string `json:"dateFormat" tf:"date_format,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PathPattern *string `json:"pathPattern" tf:"path_pattern,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsReferenceInputBlobSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Required + StorageContainerName *string `json:"storageContainerName" tf:"storage_container_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` + + // +kubebuilder:validation:Required + TimeFormat *string `json:"timeFormat" tf:"time_format,omitempty"` +} + +type AnalyticsReferenceInputBlobSerializationObservation struct { +} + +type AnalyticsReferenceInputBlobSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsReferenceInputBlobSpec defines the desired state of AnalyticsReferenceInputBlob +type AnalyticsReferenceInputBlobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsReferenceInputBlobParameters `json:"forProvider"` +} + +// AnalyticsReferenceInputBlobStatus defines the observed state of AnalyticsReferenceInputBlob. +type AnalyticsReferenceInputBlobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsReferenceInputBlobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsReferenceInputBlob is the Schema for the AnalyticsReferenceInputBlobs API +// +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,azurejet} +type AnalyticsReferenceInputBlob struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsReferenceInputBlobSpec `json:"spec"` + Status AnalyticsReferenceInputBlobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsReferenceInputBlobList contains a list of AnalyticsReferenceInputBlobs +type AnalyticsReferenceInputBlobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsReferenceInputBlob `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsReferenceInputBlob_Kind = "AnalyticsReferenceInputBlob" + AnalyticsReferenceInputBlob_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsReferenceInputBlob_Kind}.String() + AnalyticsReferenceInputBlob_KindAPIVersion = AnalyticsReferenceInputBlob_Kind + "." + CRDGroupVersion.String() + AnalyticsReferenceInputBlob_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsReferenceInputBlob_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsReferenceInputBlob{}, &AnalyticsReferenceInputBlobList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsstreaminputblob_terraformed.go b/apis/stream/v1alpha1/zz_analyticsstreaminputblob_terraformed.go new file mode 100755 index 000000000..a8673a138 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsstreaminputblob_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsStreamInputBlob +func (mg *AnalyticsStreamInputBlob) GetTerraformResourceType() string { + return "azurerm_stream_analytics_stream_input_blob" +} + +// GetConnectionDetailsMapping for this AnalyticsStreamInputBlob +func (tr *AnalyticsStreamInputBlob) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_key": "spec.forProvider.storageAccountKeySecretRef"} +} + +// GetObservation of this AnalyticsStreamInputBlob +func (tr *AnalyticsStreamInputBlob) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsStreamInputBlob +func (tr *AnalyticsStreamInputBlob) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsStreamInputBlob +func (tr *AnalyticsStreamInputBlob) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsStreamInputBlob +func (tr *AnalyticsStreamInputBlob) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsStreamInputBlob using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsStreamInputBlob) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsStreamInputBlobParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsStreamInputBlob) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsstreaminputblob_types.go b/apis/stream/v1alpha1/zz_analyticsstreaminputblob_types.go new file mode 100755 index 000000000..8eb48ec5e --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsstreaminputblob_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsStreamInputBlobObservation struct { +} + +type AnalyticsStreamInputBlobParameters struct { + + // +kubebuilder:validation:Required + DateFormat *string `json:"dateFormat" tf:"date_format,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PathPattern *string `json:"pathPattern" tf:"path_pattern,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsStreamInputBlobSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountKeySecretRef v1.SecretKeySelector `json:"storageAccountKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + StorageAccountName *string `json:"storageAccountName" tf:"storage_account_name,omitempty"` + + // +kubebuilder:validation:Required + StorageContainerName *string `json:"storageContainerName" tf:"storage_container_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` + + // +kubebuilder:validation:Required + TimeFormat *string `json:"timeFormat" tf:"time_format,omitempty"` +} + +type AnalyticsStreamInputBlobSerializationObservation struct { +} + +type AnalyticsStreamInputBlobSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsStreamInputBlobSpec defines the desired state of AnalyticsStreamInputBlob +type AnalyticsStreamInputBlobSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsStreamInputBlobParameters `json:"forProvider"` +} + +// AnalyticsStreamInputBlobStatus defines the observed state of AnalyticsStreamInputBlob. +type AnalyticsStreamInputBlobStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsStreamInputBlobObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsStreamInputBlob is the Schema for the AnalyticsStreamInputBlobs API +// +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,azurejet} +type AnalyticsStreamInputBlob struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsStreamInputBlobSpec `json:"spec"` + Status AnalyticsStreamInputBlobStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsStreamInputBlobList contains a list of AnalyticsStreamInputBlobs +type AnalyticsStreamInputBlobList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsStreamInputBlob `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsStreamInputBlob_Kind = "AnalyticsStreamInputBlob" + AnalyticsStreamInputBlob_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsStreamInputBlob_Kind}.String() + AnalyticsStreamInputBlob_KindAPIVersion = AnalyticsStreamInputBlob_Kind + "." + CRDGroupVersion.String() + AnalyticsStreamInputBlob_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsStreamInputBlob_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsStreamInputBlob{}, &AnalyticsStreamInputBlobList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsstreaminputeventhub_terraformed.go b/apis/stream/v1alpha1/zz_analyticsstreaminputeventhub_terraformed.go new file mode 100755 index 000000000..7492f2d09 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsstreaminputeventhub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsStreamInputEventhub +func (mg *AnalyticsStreamInputEventhub) GetTerraformResourceType() string { + return "azurerm_stream_analytics_stream_input_eventhub" +} + +// GetConnectionDetailsMapping for this AnalyticsStreamInputEventhub +func (tr *AnalyticsStreamInputEventhub) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"shared_access_policy_key": "spec.forProvider.sharedAccessPolicyKeySecretRef"} +} + +// GetObservation of this AnalyticsStreamInputEventhub +func (tr *AnalyticsStreamInputEventhub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsStreamInputEventhub +func (tr *AnalyticsStreamInputEventhub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsStreamInputEventhub +func (tr *AnalyticsStreamInputEventhub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsStreamInputEventhub +func (tr *AnalyticsStreamInputEventhub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsStreamInputEventhub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsStreamInputEventhub) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsStreamInputEventhubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsStreamInputEventhub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsstreaminputeventhub_types.go b/apis/stream/v1alpha1/zz_analyticsstreaminputeventhub_types.go new file mode 100755 index 000000000..0a2c20932 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsstreaminputeventhub_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsStreamInputEventhubObservation struct { +} + +type AnalyticsStreamInputEventhubParameters struct { + + // +kubebuilder:validation:Required + EventhubConsumerGroupName *string `json:"eventhubConsumerGroupName" tf:"eventhub_consumer_group_name,omitempty"` + + // +kubebuilder:validation:Required + EventhubName *string `json:"eventhubName" tf:"eventhub_name,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsStreamInputEventhubSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + ServicebusNamespace *string `json:"servicebusNamespace" tf:"servicebus_namespace,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessPolicyKeySecretRef v1.SecretKeySelector `json:"sharedAccessPolicyKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SharedAccessPolicyName *string `json:"sharedAccessPolicyName" tf:"shared_access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` +} + +type AnalyticsStreamInputEventhubSerializationObservation struct { +} + +type AnalyticsStreamInputEventhubSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsStreamInputEventhubSpec defines the desired state of AnalyticsStreamInputEventhub +type AnalyticsStreamInputEventhubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsStreamInputEventhubParameters `json:"forProvider"` +} + +// AnalyticsStreamInputEventhubStatus defines the observed state of AnalyticsStreamInputEventhub. +type AnalyticsStreamInputEventhubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsStreamInputEventhubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsStreamInputEventhub is the Schema for the AnalyticsStreamInputEventhubs API +// +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,azurejet} +type AnalyticsStreamInputEventhub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsStreamInputEventhubSpec `json:"spec"` + Status AnalyticsStreamInputEventhubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsStreamInputEventhubList contains a list of AnalyticsStreamInputEventhubs +type AnalyticsStreamInputEventhubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsStreamInputEventhub `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsStreamInputEventhub_Kind = "AnalyticsStreamInputEventhub" + AnalyticsStreamInputEventhub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsStreamInputEventhub_Kind}.String() + AnalyticsStreamInputEventhub_KindAPIVersion = AnalyticsStreamInputEventhub_Kind + "." + CRDGroupVersion.String() + AnalyticsStreamInputEventhub_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsStreamInputEventhub_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsStreamInputEventhub{}, &AnalyticsStreamInputEventhubList{}) +} diff --git a/apis/stream/v1alpha1/zz_analyticsstreaminputiothub_terraformed.go b/apis/stream/v1alpha1/zz_analyticsstreaminputiothub_terraformed.go new file mode 100755 index 000000000..cac391842 --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsstreaminputiothub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyticsStreamInputIothub +func (mg *AnalyticsStreamInputIothub) GetTerraformResourceType() string { + return "azurerm_stream_analytics_stream_input_iothub" +} + +// GetConnectionDetailsMapping for this AnalyticsStreamInputIothub +func (tr *AnalyticsStreamInputIothub) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"shared_access_policy_key": "spec.forProvider.sharedAccessPolicyKeySecretRef"} +} + +// GetObservation of this AnalyticsStreamInputIothub +func (tr *AnalyticsStreamInputIothub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyticsStreamInputIothub +func (tr *AnalyticsStreamInputIothub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyticsStreamInputIothub +func (tr *AnalyticsStreamInputIothub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyticsStreamInputIothub +func (tr *AnalyticsStreamInputIothub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyticsStreamInputIothub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyticsStreamInputIothub) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyticsStreamInputIothubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyticsStreamInputIothub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/stream/v1alpha1/zz_analyticsstreaminputiothub_types.go b/apis/stream/v1alpha1/zz_analyticsstreaminputiothub_types.go new file mode 100755 index 000000000..7fa14b28b --- /dev/null +++ b/apis/stream/v1alpha1/zz_analyticsstreaminputiothub_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyticsStreamInputIothubObservation struct { +} + +type AnalyticsStreamInputIothubParameters struct { + + // +kubebuilder:validation:Required + Endpoint *string `json:"endpoint" tf:"endpoint,omitempty"` + + // +kubebuilder:validation:Required + EventhubConsumerGroupName *string `json:"eventhubConsumerGroupName" tf:"eventhub_consumer_group_name,omitempty"` + + // +kubebuilder:validation:Required + IothubNamespace *string `json:"iothubNamespace" tf:"iothub_namespace,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + Serialization []AnalyticsStreamInputIothubSerializationParameters `json:"serialization" tf:"serialization,omitempty"` + + // +kubebuilder:validation:Required + SharedAccessPolicyKeySecretRef v1.SecretKeySelector `json:"sharedAccessPolicyKeySecretRef" tf:"-"` + + // +kubebuilder:validation:Required + SharedAccessPolicyName *string `json:"sharedAccessPolicyName" tf:"shared_access_policy_name,omitempty"` + + // +kubebuilder:validation:Required + StreamAnalyticsJobName *string `json:"streamAnalyticsJobName" tf:"stream_analytics_job_name,omitempty"` +} + +type AnalyticsStreamInputIothubSerializationObservation struct { +} + +type AnalyticsStreamInputIothubSerializationParameters struct { + + // +kubebuilder:validation:Optional + Encoding *string `json:"encoding,omitempty" tf:"encoding,omitempty"` + + // +kubebuilder:validation:Optional + FieldDelimiter *string `json:"fieldDelimiter,omitempty" tf:"field_delimiter,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +// AnalyticsStreamInputIothubSpec defines the desired state of AnalyticsStreamInputIothub +type AnalyticsStreamInputIothubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyticsStreamInputIothubParameters `json:"forProvider"` +} + +// AnalyticsStreamInputIothubStatus defines the observed state of AnalyticsStreamInputIothub. +type AnalyticsStreamInputIothubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyticsStreamInputIothubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsStreamInputIothub is the Schema for the AnalyticsStreamInputIothubs API +// +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,azurejet} +type AnalyticsStreamInputIothub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyticsStreamInputIothubSpec `json:"spec"` + Status AnalyticsStreamInputIothubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyticsStreamInputIothubList contains a list of AnalyticsStreamInputIothubs +type AnalyticsStreamInputIothubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyticsStreamInputIothub `json:"items"` +} + +// Repository type metadata. +var ( + AnalyticsStreamInputIothub_Kind = "AnalyticsStreamInputIothub" + AnalyticsStreamInputIothub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyticsStreamInputIothub_Kind}.String() + AnalyticsStreamInputIothub_KindAPIVersion = AnalyticsStreamInputIothub_Kind + "." + CRDGroupVersion.String() + AnalyticsStreamInputIothub_GroupVersionKind = CRDGroupVersion.WithKind(AnalyticsStreamInputIothub_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyticsStreamInputIothub{}, &AnalyticsStreamInputIothubList{}) +} diff --git a/apis/stream/v1alpha1/zz_generated.deepcopy.go b/apis/stream/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..f1c986ddf --- /dev/null +++ b/apis/stream/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2390 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsFunctionJavascriptUdf) DeepCopyInto(out *AnalyticsFunctionJavascriptUdf) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsFunctionJavascriptUdf. +func (in *AnalyticsFunctionJavascriptUdf) DeepCopy() *AnalyticsFunctionJavascriptUdf { + if in == nil { + return nil + } + out := new(AnalyticsFunctionJavascriptUdf) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsFunctionJavascriptUdf) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsFunctionJavascriptUdfList) DeepCopyInto(out *AnalyticsFunctionJavascriptUdfList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsFunctionJavascriptUdf, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsFunctionJavascriptUdfList. +func (in *AnalyticsFunctionJavascriptUdfList) DeepCopy() *AnalyticsFunctionJavascriptUdfList { + if in == nil { + return nil + } + out := new(AnalyticsFunctionJavascriptUdfList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsFunctionJavascriptUdfList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsFunctionJavascriptUdfObservation) DeepCopyInto(out *AnalyticsFunctionJavascriptUdfObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsFunctionJavascriptUdfObservation. +func (in *AnalyticsFunctionJavascriptUdfObservation) DeepCopy() *AnalyticsFunctionJavascriptUdfObservation { + if in == nil { + return nil + } + out := new(AnalyticsFunctionJavascriptUdfObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsFunctionJavascriptUdfParameters) DeepCopyInto(out *AnalyticsFunctionJavascriptUdfParameters) { + *out = *in + if in.Input != nil { + in, out := &in.Input, &out.Input + *out = make([]InputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Output != nil { + in, out := &in.Output, &out.Output + *out = make([]OutputParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Script != nil { + in, out := &in.Script, &out.Script + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsFunctionJavascriptUdfParameters. +func (in *AnalyticsFunctionJavascriptUdfParameters) DeepCopy() *AnalyticsFunctionJavascriptUdfParameters { + if in == nil { + return nil + } + out := new(AnalyticsFunctionJavascriptUdfParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsFunctionJavascriptUdfSpec) DeepCopyInto(out *AnalyticsFunctionJavascriptUdfSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsFunctionJavascriptUdfSpec. +func (in *AnalyticsFunctionJavascriptUdfSpec) DeepCopy() *AnalyticsFunctionJavascriptUdfSpec { + if in == nil { + return nil + } + out := new(AnalyticsFunctionJavascriptUdfSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsFunctionJavascriptUdfStatus) DeepCopyInto(out *AnalyticsFunctionJavascriptUdfStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsFunctionJavascriptUdfStatus. +func (in *AnalyticsFunctionJavascriptUdfStatus) DeepCopy() *AnalyticsFunctionJavascriptUdfStatus { + if in == nil { + return nil + } + out := new(AnalyticsFunctionJavascriptUdfStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsJob) DeepCopyInto(out *AnalyticsJob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsJob. +func (in *AnalyticsJob) DeepCopy() *AnalyticsJob { + if in == nil { + return nil + } + out := new(AnalyticsJob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsJob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsJobList) DeepCopyInto(out *AnalyticsJobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsJob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsJobList. +func (in *AnalyticsJobList) DeepCopy() *AnalyticsJobList { + if in == nil { + return nil + } + out := new(AnalyticsJobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsJobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsJobObservation) DeepCopyInto(out *AnalyticsJobObservation) { + *out = *in + if in.JobID != nil { + in, out := &in.JobID, &out.JobID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsJobObservation. +func (in *AnalyticsJobObservation) DeepCopy() *AnalyticsJobObservation { + if in == nil { + return nil + } + out := new(AnalyticsJobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsJobParameters) DeepCopyInto(out *AnalyticsJobParameters) { + *out = *in + if in.CompatibilityLevel != nil { + in, out := &in.CompatibilityLevel, &out.CompatibilityLevel + *out = new(string) + **out = **in + } + if in.DataLocale != nil { + in, out := &in.DataLocale, &out.DataLocale + *out = new(string) + **out = **in + } + if in.EventsLateArrivalMaxDelayInSeconds != nil { + in, out := &in.EventsLateArrivalMaxDelayInSeconds, &out.EventsLateArrivalMaxDelayInSeconds + *out = new(int64) + **out = **in + } + if in.EventsOutOfOrderMaxDelayInSeconds != nil { + in, out := &in.EventsOutOfOrderMaxDelayInSeconds, &out.EventsOutOfOrderMaxDelayInSeconds + *out = new(int64) + **out = **in + } + if in.EventsOutOfOrderPolicy != nil { + in, out := &in.EventsOutOfOrderPolicy, &out.EventsOutOfOrderPolicy + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.OutputErrorPolicy != nil { + in, out := &in.OutputErrorPolicy, &out.OutputErrorPolicy + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StreamingUnits != nil { + in, out := &in.StreamingUnits, &out.StreamingUnits + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TransformationQuery != nil { + in, out := &in.TransformationQuery, &out.TransformationQuery + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsJobParameters. +func (in *AnalyticsJobParameters) DeepCopy() *AnalyticsJobParameters { + if in == nil { + return nil + } + out := new(AnalyticsJobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsJobSpec) DeepCopyInto(out *AnalyticsJobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsJobSpec. +func (in *AnalyticsJobSpec) DeepCopy() *AnalyticsJobSpec { + if in == nil { + return nil + } + out := new(AnalyticsJobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsJobStatus) DeepCopyInto(out *AnalyticsJobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsJobStatus. +func (in *AnalyticsJobStatus) DeepCopy() *AnalyticsJobStatus { + if in == nil { + return nil + } + out := new(AnalyticsJobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputBlob) DeepCopyInto(out *AnalyticsOutputBlob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputBlob. +func (in *AnalyticsOutputBlob) DeepCopy() *AnalyticsOutputBlob { + if in == nil { + return nil + } + out := new(AnalyticsOutputBlob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputBlob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputBlobList) DeepCopyInto(out *AnalyticsOutputBlobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsOutputBlob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputBlobList. +func (in *AnalyticsOutputBlobList) DeepCopy() *AnalyticsOutputBlobList { + if in == nil { + return nil + } + out := new(AnalyticsOutputBlobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputBlobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputBlobObservation) DeepCopyInto(out *AnalyticsOutputBlobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputBlobObservation. +func (in *AnalyticsOutputBlobObservation) DeepCopy() *AnalyticsOutputBlobObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputBlobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputBlobParameters) DeepCopyInto(out *AnalyticsOutputBlobParameters) { + *out = *in + if in.BatchMaxWaitTime != nil { + in, out := &in.BatchMaxWaitTime, &out.BatchMaxWaitTime + *out = new(string) + **out = **in + } + if in.BatchMinRows != nil { + in, out := &in.BatchMinRows, &out.BatchMinRows + *out = new(float64) + **out = **in + } + if in.DateFormat != nil { + in, out := &in.DateFormat, &out.DateFormat + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PathPattern != nil { + in, out := &in.PathPattern, &out.PathPattern + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]SerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageContainerName != nil { + in, out := &in.StorageContainerName, &out.StorageContainerName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } + if in.TimeFormat != nil { + in, out := &in.TimeFormat, &out.TimeFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputBlobParameters. +func (in *AnalyticsOutputBlobParameters) DeepCopy() *AnalyticsOutputBlobParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputBlobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputBlobSpec) DeepCopyInto(out *AnalyticsOutputBlobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputBlobSpec. +func (in *AnalyticsOutputBlobSpec) DeepCopy() *AnalyticsOutputBlobSpec { + if in == nil { + return nil + } + out := new(AnalyticsOutputBlobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputBlobStatus) DeepCopyInto(out *AnalyticsOutputBlobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputBlobStatus. +func (in *AnalyticsOutputBlobStatus) DeepCopy() *AnalyticsOutputBlobStatus { + if in == nil { + return nil + } + out := new(AnalyticsOutputBlobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhub) DeepCopyInto(out *AnalyticsOutputEventhub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhub. +func (in *AnalyticsOutputEventhub) DeepCopy() *AnalyticsOutputEventhub { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputEventhub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubList) DeepCopyInto(out *AnalyticsOutputEventhubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsOutputEventhub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubList. +func (in *AnalyticsOutputEventhubList) DeepCopy() *AnalyticsOutputEventhubList { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputEventhubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubObservation) DeepCopyInto(out *AnalyticsOutputEventhubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubObservation. +func (in *AnalyticsOutputEventhubObservation) DeepCopy() *AnalyticsOutputEventhubObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubParameters) DeepCopyInto(out *AnalyticsOutputEventhubParameters) { + *out = *in + if in.EventhubName != nil { + in, out := &in.EventhubName, &out.EventhubName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PropertyColumns != nil { + in, out := &in.PropertyColumns, &out.PropertyColumns + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsOutputEventhubSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServicebusNamespace != nil { + in, out := &in.ServicebusNamespace, &out.ServicebusNamespace + *out = new(string) + **out = **in + } + out.SharedAccessPolicyKeySecretRef = in.SharedAccessPolicyKeySecretRef + if in.SharedAccessPolicyName != nil { + in, out := &in.SharedAccessPolicyName, &out.SharedAccessPolicyName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubParameters. +func (in *AnalyticsOutputEventhubParameters) DeepCopy() *AnalyticsOutputEventhubParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubSerializationObservation) DeepCopyInto(out *AnalyticsOutputEventhubSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubSerializationObservation. +func (in *AnalyticsOutputEventhubSerializationObservation) DeepCopy() *AnalyticsOutputEventhubSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubSerializationParameters) DeepCopyInto(out *AnalyticsOutputEventhubSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Format != nil { + in, out := &in.Format, &out.Format + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubSerializationParameters. +func (in *AnalyticsOutputEventhubSerializationParameters) DeepCopy() *AnalyticsOutputEventhubSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubSpec) DeepCopyInto(out *AnalyticsOutputEventhubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubSpec. +func (in *AnalyticsOutputEventhubSpec) DeepCopy() *AnalyticsOutputEventhubSpec { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputEventhubStatus) DeepCopyInto(out *AnalyticsOutputEventhubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputEventhubStatus. +func (in *AnalyticsOutputEventhubStatus) DeepCopy() *AnalyticsOutputEventhubStatus { + if in == nil { + return nil + } + out := new(AnalyticsOutputEventhubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputMssql) DeepCopyInto(out *AnalyticsOutputMssql) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputMssql. +func (in *AnalyticsOutputMssql) DeepCopy() *AnalyticsOutputMssql { + if in == nil { + return nil + } + out := new(AnalyticsOutputMssql) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputMssql) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputMssqlList) DeepCopyInto(out *AnalyticsOutputMssqlList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsOutputMssql, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputMssqlList. +func (in *AnalyticsOutputMssqlList) DeepCopy() *AnalyticsOutputMssqlList { + if in == nil { + return nil + } + out := new(AnalyticsOutputMssqlList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputMssqlList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputMssqlObservation) DeepCopyInto(out *AnalyticsOutputMssqlObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputMssqlObservation. +func (in *AnalyticsOutputMssqlObservation) DeepCopy() *AnalyticsOutputMssqlObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputMssqlObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputMssqlParameters) DeepCopyInto(out *AnalyticsOutputMssqlParameters) { + *out = *in + if in.Database != nil { + in, out := &in.Database, &out.Database + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + out.PasswordSecretRef = in.PasswordSecretRef + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } + if in.Table != nil { + in, out := &in.Table, &out.Table + *out = new(string) + **out = **in + } + if in.User != nil { + in, out := &in.User, &out.User + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputMssqlParameters. +func (in *AnalyticsOutputMssqlParameters) DeepCopy() *AnalyticsOutputMssqlParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputMssqlParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputMssqlSpec) DeepCopyInto(out *AnalyticsOutputMssqlSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputMssqlSpec. +func (in *AnalyticsOutputMssqlSpec) DeepCopy() *AnalyticsOutputMssqlSpec { + if in == nil { + return nil + } + out := new(AnalyticsOutputMssqlSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputMssqlStatus) DeepCopyInto(out *AnalyticsOutputMssqlStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputMssqlStatus. +func (in *AnalyticsOutputMssqlStatus) DeepCopy() *AnalyticsOutputMssqlStatus { + if in == nil { + return nil + } + out := new(AnalyticsOutputMssqlStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueue) DeepCopyInto(out *AnalyticsOutputServicebusQueue) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueue. +func (in *AnalyticsOutputServicebusQueue) DeepCopy() *AnalyticsOutputServicebusQueue { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueue) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputServicebusQueue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueList) DeepCopyInto(out *AnalyticsOutputServicebusQueueList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsOutputServicebusQueue, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueList. +func (in *AnalyticsOutputServicebusQueueList) DeepCopy() *AnalyticsOutputServicebusQueueList { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputServicebusQueueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueObservation) DeepCopyInto(out *AnalyticsOutputServicebusQueueObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueObservation. +func (in *AnalyticsOutputServicebusQueueObservation) DeepCopy() *AnalyticsOutputServicebusQueueObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueParameters) DeepCopyInto(out *AnalyticsOutputServicebusQueueParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.QueueName != nil { + in, out := &in.QueueName, &out.QueueName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsOutputServicebusQueueSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServicebusNamespace != nil { + in, out := &in.ServicebusNamespace, &out.ServicebusNamespace + *out = new(string) + **out = **in + } + out.SharedAccessPolicyKeySecretRef = in.SharedAccessPolicyKeySecretRef + if in.SharedAccessPolicyName != nil { + in, out := &in.SharedAccessPolicyName, &out.SharedAccessPolicyName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueParameters. +func (in *AnalyticsOutputServicebusQueueParameters) DeepCopy() *AnalyticsOutputServicebusQueueParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueSerializationObservation) DeepCopyInto(out *AnalyticsOutputServicebusQueueSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueSerializationObservation. +func (in *AnalyticsOutputServicebusQueueSerializationObservation) DeepCopy() *AnalyticsOutputServicebusQueueSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueSerializationParameters) DeepCopyInto(out *AnalyticsOutputServicebusQueueSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Format != nil { + in, out := &in.Format, &out.Format + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueSerializationParameters. +func (in *AnalyticsOutputServicebusQueueSerializationParameters) DeepCopy() *AnalyticsOutputServicebusQueueSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueSpec) DeepCopyInto(out *AnalyticsOutputServicebusQueueSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueSpec. +func (in *AnalyticsOutputServicebusQueueSpec) DeepCopy() *AnalyticsOutputServicebusQueueSpec { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusQueueStatus) DeepCopyInto(out *AnalyticsOutputServicebusQueueStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusQueueStatus. +func (in *AnalyticsOutputServicebusQueueStatus) DeepCopy() *AnalyticsOutputServicebusQueueStatus { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusQueueStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopic) DeepCopyInto(out *AnalyticsOutputServicebusTopic) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopic. +func (in *AnalyticsOutputServicebusTopic) DeepCopy() *AnalyticsOutputServicebusTopic { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopic) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputServicebusTopic) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicList) DeepCopyInto(out *AnalyticsOutputServicebusTopicList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsOutputServicebusTopic, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicList. +func (in *AnalyticsOutputServicebusTopicList) DeepCopy() *AnalyticsOutputServicebusTopicList { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsOutputServicebusTopicList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicObservation) DeepCopyInto(out *AnalyticsOutputServicebusTopicObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicObservation. +func (in *AnalyticsOutputServicebusTopicObservation) DeepCopy() *AnalyticsOutputServicebusTopicObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicParameters) DeepCopyInto(out *AnalyticsOutputServicebusTopicParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsOutputServicebusTopicSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServicebusNamespace != nil { + in, out := &in.ServicebusNamespace, &out.ServicebusNamespace + *out = new(string) + **out = **in + } + out.SharedAccessPolicyKeySecretRef = in.SharedAccessPolicyKeySecretRef + if in.SharedAccessPolicyName != nil { + in, out := &in.SharedAccessPolicyName, &out.SharedAccessPolicyName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } + if in.TopicName != nil { + in, out := &in.TopicName, &out.TopicName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicParameters. +func (in *AnalyticsOutputServicebusTopicParameters) DeepCopy() *AnalyticsOutputServicebusTopicParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicSerializationObservation) DeepCopyInto(out *AnalyticsOutputServicebusTopicSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicSerializationObservation. +func (in *AnalyticsOutputServicebusTopicSerializationObservation) DeepCopy() *AnalyticsOutputServicebusTopicSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicSerializationParameters) DeepCopyInto(out *AnalyticsOutputServicebusTopicSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Format != nil { + in, out := &in.Format, &out.Format + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicSerializationParameters. +func (in *AnalyticsOutputServicebusTopicSerializationParameters) DeepCopy() *AnalyticsOutputServicebusTopicSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicSpec) DeepCopyInto(out *AnalyticsOutputServicebusTopicSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicSpec. +func (in *AnalyticsOutputServicebusTopicSpec) DeepCopy() *AnalyticsOutputServicebusTopicSpec { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsOutputServicebusTopicStatus) DeepCopyInto(out *AnalyticsOutputServicebusTopicStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsOutputServicebusTopicStatus. +func (in *AnalyticsOutputServicebusTopicStatus) DeepCopy() *AnalyticsOutputServicebusTopicStatus { + if in == nil { + return nil + } + out := new(AnalyticsOutputServicebusTopicStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlob) DeepCopyInto(out *AnalyticsReferenceInputBlob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlob. +func (in *AnalyticsReferenceInputBlob) DeepCopy() *AnalyticsReferenceInputBlob { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsReferenceInputBlob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobList) DeepCopyInto(out *AnalyticsReferenceInputBlobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsReferenceInputBlob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobList. +func (in *AnalyticsReferenceInputBlobList) DeepCopy() *AnalyticsReferenceInputBlobList { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsReferenceInputBlobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobObservation) DeepCopyInto(out *AnalyticsReferenceInputBlobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobObservation. +func (in *AnalyticsReferenceInputBlobObservation) DeepCopy() *AnalyticsReferenceInputBlobObservation { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobParameters) DeepCopyInto(out *AnalyticsReferenceInputBlobParameters) { + *out = *in + if in.DateFormat != nil { + in, out := &in.DateFormat, &out.DateFormat + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PathPattern != nil { + in, out := &in.PathPattern, &out.PathPattern + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsReferenceInputBlobSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageContainerName != nil { + in, out := &in.StorageContainerName, &out.StorageContainerName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } + if in.TimeFormat != nil { + in, out := &in.TimeFormat, &out.TimeFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobParameters. +func (in *AnalyticsReferenceInputBlobParameters) DeepCopy() *AnalyticsReferenceInputBlobParameters { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobSerializationObservation) DeepCopyInto(out *AnalyticsReferenceInputBlobSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobSerializationObservation. +func (in *AnalyticsReferenceInputBlobSerializationObservation) DeepCopy() *AnalyticsReferenceInputBlobSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobSerializationParameters) DeepCopyInto(out *AnalyticsReferenceInputBlobSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobSerializationParameters. +func (in *AnalyticsReferenceInputBlobSerializationParameters) DeepCopy() *AnalyticsReferenceInputBlobSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobSpec) DeepCopyInto(out *AnalyticsReferenceInputBlobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobSpec. +func (in *AnalyticsReferenceInputBlobSpec) DeepCopy() *AnalyticsReferenceInputBlobSpec { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsReferenceInputBlobStatus) DeepCopyInto(out *AnalyticsReferenceInputBlobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsReferenceInputBlobStatus. +func (in *AnalyticsReferenceInputBlobStatus) DeepCopy() *AnalyticsReferenceInputBlobStatus { + if in == nil { + return nil + } + out := new(AnalyticsReferenceInputBlobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlob) DeepCopyInto(out *AnalyticsStreamInputBlob) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlob. +func (in *AnalyticsStreamInputBlob) DeepCopy() *AnalyticsStreamInputBlob { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlob) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsStreamInputBlob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobList) DeepCopyInto(out *AnalyticsStreamInputBlobList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsStreamInputBlob, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobList. +func (in *AnalyticsStreamInputBlobList) DeepCopy() *AnalyticsStreamInputBlobList { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsStreamInputBlobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobObservation) DeepCopyInto(out *AnalyticsStreamInputBlobObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobObservation. +func (in *AnalyticsStreamInputBlobObservation) DeepCopy() *AnalyticsStreamInputBlobObservation { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobParameters) DeepCopyInto(out *AnalyticsStreamInputBlobParameters) { + *out = *in + if in.DateFormat != nil { + in, out := &in.DateFormat, &out.DateFormat + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PathPattern != nil { + in, out := &in.PathPattern, &out.PathPattern + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsStreamInputBlobSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.StorageAccountKeySecretRef = in.StorageAccountKeySecretRef + if in.StorageAccountName != nil { + in, out := &in.StorageAccountName, &out.StorageAccountName + *out = new(string) + **out = **in + } + if in.StorageContainerName != nil { + in, out := &in.StorageContainerName, &out.StorageContainerName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } + if in.TimeFormat != nil { + in, out := &in.TimeFormat, &out.TimeFormat + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobParameters. +func (in *AnalyticsStreamInputBlobParameters) DeepCopy() *AnalyticsStreamInputBlobParameters { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobSerializationObservation) DeepCopyInto(out *AnalyticsStreamInputBlobSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobSerializationObservation. +func (in *AnalyticsStreamInputBlobSerializationObservation) DeepCopy() *AnalyticsStreamInputBlobSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobSerializationParameters) DeepCopyInto(out *AnalyticsStreamInputBlobSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobSerializationParameters. +func (in *AnalyticsStreamInputBlobSerializationParameters) DeepCopy() *AnalyticsStreamInputBlobSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobSpec) DeepCopyInto(out *AnalyticsStreamInputBlobSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobSpec. +func (in *AnalyticsStreamInputBlobSpec) DeepCopy() *AnalyticsStreamInputBlobSpec { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputBlobStatus) DeepCopyInto(out *AnalyticsStreamInputBlobStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputBlobStatus. +func (in *AnalyticsStreamInputBlobStatus) DeepCopy() *AnalyticsStreamInputBlobStatus { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputBlobStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhub) DeepCopyInto(out *AnalyticsStreamInputEventhub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhub. +func (in *AnalyticsStreamInputEventhub) DeepCopy() *AnalyticsStreamInputEventhub { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsStreamInputEventhub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubList) DeepCopyInto(out *AnalyticsStreamInputEventhubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsStreamInputEventhub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubList. +func (in *AnalyticsStreamInputEventhubList) DeepCopy() *AnalyticsStreamInputEventhubList { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsStreamInputEventhubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubObservation) DeepCopyInto(out *AnalyticsStreamInputEventhubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubObservation. +func (in *AnalyticsStreamInputEventhubObservation) DeepCopy() *AnalyticsStreamInputEventhubObservation { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubParameters) DeepCopyInto(out *AnalyticsStreamInputEventhubParameters) { + *out = *in + if in.EventhubConsumerGroupName != nil { + in, out := &in.EventhubConsumerGroupName, &out.EventhubConsumerGroupName + *out = new(string) + **out = **in + } + if in.EventhubName != nil { + in, out := &in.EventhubName, &out.EventhubName + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsStreamInputEventhubSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServicebusNamespace != nil { + in, out := &in.ServicebusNamespace, &out.ServicebusNamespace + *out = new(string) + **out = **in + } + out.SharedAccessPolicyKeySecretRef = in.SharedAccessPolicyKeySecretRef + if in.SharedAccessPolicyName != nil { + in, out := &in.SharedAccessPolicyName, &out.SharedAccessPolicyName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubParameters. +func (in *AnalyticsStreamInputEventhubParameters) DeepCopy() *AnalyticsStreamInputEventhubParameters { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubSerializationObservation) DeepCopyInto(out *AnalyticsStreamInputEventhubSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubSerializationObservation. +func (in *AnalyticsStreamInputEventhubSerializationObservation) DeepCopy() *AnalyticsStreamInputEventhubSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubSerializationParameters) DeepCopyInto(out *AnalyticsStreamInputEventhubSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubSerializationParameters. +func (in *AnalyticsStreamInputEventhubSerializationParameters) DeepCopy() *AnalyticsStreamInputEventhubSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubSpec) DeepCopyInto(out *AnalyticsStreamInputEventhubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubSpec. +func (in *AnalyticsStreamInputEventhubSpec) DeepCopy() *AnalyticsStreamInputEventhubSpec { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputEventhubStatus) DeepCopyInto(out *AnalyticsStreamInputEventhubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputEventhubStatus. +func (in *AnalyticsStreamInputEventhubStatus) DeepCopy() *AnalyticsStreamInputEventhubStatus { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputEventhubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothub) DeepCopyInto(out *AnalyticsStreamInputIothub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothub. +func (in *AnalyticsStreamInputIothub) DeepCopy() *AnalyticsStreamInputIothub { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsStreamInputIothub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubList) DeepCopyInto(out *AnalyticsStreamInputIothubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyticsStreamInputIothub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubList. +func (in *AnalyticsStreamInputIothubList) DeepCopy() *AnalyticsStreamInputIothubList { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyticsStreamInputIothubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubObservation) DeepCopyInto(out *AnalyticsStreamInputIothubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubObservation. +func (in *AnalyticsStreamInputIothubObservation) DeepCopy() *AnalyticsStreamInputIothubObservation { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubParameters) DeepCopyInto(out *AnalyticsStreamInputIothubParameters) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.EventhubConsumerGroupName != nil { + in, out := &in.EventhubConsumerGroupName, &out.EventhubConsumerGroupName + *out = new(string) + **out = **in + } + if in.IothubNamespace != nil { + in, out := &in.IothubNamespace, &out.IothubNamespace + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Serialization != nil { + in, out := &in.Serialization, &out.Serialization + *out = make([]AnalyticsStreamInputIothubSerializationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.SharedAccessPolicyKeySecretRef = in.SharedAccessPolicyKeySecretRef + if in.SharedAccessPolicyName != nil { + in, out := &in.SharedAccessPolicyName, &out.SharedAccessPolicyName + *out = new(string) + **out = **in + } + if in.StreamAnalyticsJobName != nil { + in, out := &in.StreamAnalyticsJobName, &out.StreamAnalyticsJobName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubParameters. +func (in *AnalyticsStreamInputIothubParameters) DeepCopy() *AnalyticsStreamInputIothubParameters { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubSerializationObservation) DeepCopyInto(out *AnalyticsStreamInputIothubSerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubSerializationObservation. +func (in *AnalyticsStreamInputIothubSerializationObservation) DeepCopy() *AnalyticsStreamInputIothubSerializationObservation { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubSerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubSerializationParameters) DeepCopyInto(out *AnalyticsStreamInputIothubSerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubSerializationParameters. +func (in *AnalyticsStreamInputIothubSerializationParameters) DeepCopy() *AnalyticsStreamInputIothubSerializationParameters { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubSerializationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubSpec) DeepCopyInto(out *AnalyticsStreamInputIothubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubSpec. +func (in *AnalyticsStreamInputIothubSpec) DeepCopy() *AnalyticsStreamInputIothubSpec { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyticsStreamInputIothubStatus) DeepCopyInto(out *AnalyticsStreamInputIothubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyticsStreamInputIothubStatus. +func (in *AnalyticsStreamInputIothubStatus) DeepCopy() *AnalyticsStreamInputIothubStatus { + if in == nil { + return nil + } + out := new(AnalyticsStreamInputIothubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputObservation) DeepCopyInto(out *InputObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputObservation. +func (in *InputObservation) DeepCopy() *InputObservation { + if in == nil { + return nil + } + out := new(InputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InputParameters) DeepCopyInto(out *InputParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputParameters. +func (in *InputParameters) DeepCopy() *InputParameters { + if in == nil { + return nil + } + out := new(InputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputObservation) DeepCopyInto(out *OutputObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputObservation. +func (in *OutputObservation) DeepCopy() *OutputObservation { + if in == nil { + return nil + } + out := new(OutputObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OutputParameters) DeepCopyInto(out *OutputParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputParameters. +func (in *OutputParameters) DeepCopy() *OutputParameters { + if in == nil { + return nil + } + out := new(OutputParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerializationObservation) DeepCopyInto(out *SerializationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializationObservation. +func (in *SerializationObservation) DeepCopy() *SerializationObservation { + if in == nil { + return nil + } + out := new(SerializationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SerializationParameters) DeepCopyInto(out *SerializationParameters) { + *out = *in + if in.Encoding != nil { + in, out := &in.Encoding, &out.Encoding + *out = new(string) + **out = **in + } + if in.FieldDelimiter != nil { + in, out := &in.FieldDelimiter, &out.FieldDelimiter + *out = new(string) + **out = **in + } + if in.Format != nil { + in, out := &in.Format, &out.Format + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializationParameters. +func (in *SerializationParameters) DeepCopy() *SerializationParameters { + if in == nil { + return nil + } + out := new(SerializationParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/stream/v1alpha1/zz_generated.managed.go b/apis/stream/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..1bdfc401c --- /dev/null +++ b/apis/stream/v1alpha1/zz_generated.managed.go @@ -0,0 +1,636 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsFunctionJavascriptUdf. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsFunctionJavascriptUdf) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsFunctionJavascriptUdf. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsFunctionJavascriptUdf) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsFunctionJavascriptUdf. +func (mg *AnalyticsFunctionJavascriptUdf) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsJob. +func (mg *AnalyticsJob) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsJob. +func (mg *AnalyticsJob) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsJob. +func (mg *AnalyticsJob) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsJob. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsJob) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsJob. +func (mg *AnalyticsJob) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsJob. +func (mg *AnalyticsJob) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsJob. +func (mg *AnalyticsJob) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsJob. +func (mg *AnalyticsJob) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsJob. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsJob) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsJob. +func (mg *AnalyticsJob) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsOutputBlob. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsOutputBlob) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsOutputBlob. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsOutputBlob) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsOutputBlob. +func (mg *AnalyticsOutputBlob) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsOutputEventhub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsOutputEventhub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsOutputEventhub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsOutputEventhub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsOutputEventhub. +func (mg *AnalyticsOutputEventhub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsOutputMssql. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsOutputMssql) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsOutputMssql. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsOutputMssql) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsOutputMssql. +func (mg *AnalyticsOutputMssql) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsOutputServicebusQueue. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsOutputServicebusQueue) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsOutputServicebusQueue. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsOutputServicebusQueue) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsOutputServicebusQueue. +func (mg *AnalyticsOutputServicebusQueue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsOutputServicebusTopic. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsOutputServicebusTopic) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsOutputServicebusTopic. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsOutputServicebusTopic) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsOutputServicebusTopic. +func (mg *AnalyticsOutputServicebusTopic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsReferenceInputBlob. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsReferenceInputBlob) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsReferenceInputBlob. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsReferenceInputBlob) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsReferenceInputBlob. +func (mg *AnalyticsReferenceInputBlob) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsStreamInputBlob. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsStreamInputBlob) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsStreamInputBlob. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsStreamInputBlob) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsStreamInputBlob. +func (mg *AnalyticsStreamInputBlob) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsStreamInputEventhub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsStreamInputEventhub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsStreamInputEventhub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsStreamInputEventhub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsStreamInputEventhub. +func (mg *AnalyticsStreamInputEventhub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyticsStreamInputIothub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyticsStreamInputIothub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyticsStreamInputIothub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyticsStreamInputIothub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyticsStreamInputIothub. +func (mg *AnalyticsStreamInputIothub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/stream/v1alpha1/zz_generated.managedlist.go b/apis/stream/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..5780713ba --- /dev/null +++ b/apis/stream/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,119 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AnalyticsFunctionJavascriptUdfList. +func (l *AnalyticsFunctionJavascriptUdfList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsJobList. +func (l *AnalyticsJobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsOutputBlobList. +func (l *AnalyticsOutputBlobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsOutputEventhubList. +func (l *AnalyticsOutputEventhubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsOutputMssqlList. +func (l *AnalyticsOutputMssqlList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsOutputServicebusQueueList. +func (l *AnalyticsOutputServicebusQueueList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsOutputServicebusTopicList. +func (l *AnalyticsOutputServicebusTopicList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsReferenceInputBlobList. +func (l *AnalyticsReferenceInputBlobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsStreamInputBlobList. +func (l *AnalyticsStreamInputBlobList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsStreamInputEventhubList. +func (l *AnalyticsStreamInputEventhubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyticsStreamInputIothubList. +func (l *AnalyticsStreamInputIothubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/stream/v1alpha1/zz_groupversion_info.go b/apis/stream/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..6beb2a3cd --- /dev/null +++ b/apis/stream/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=stream.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "stream.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/subscription/v1alpha1/zz_generated.deepcopy.go b/apis/subscription/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..64fc844d7 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,429 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignment) DeepCopyInto(out *PolicyAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignment. +func (in *PolicyAssignment) DeepCopy() *PolicyAssignment { + if in == nil { + return nil + } + out := new(PolicyAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentList) DeepCopyInto(out *PolicyAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PolicyAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentList. +func (in *PolicyAssignmentList) DeepCopy() *PolicyAssignmentList { + if in == nil { + return nil + } + out := new(PolicyAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PolicyAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentObservation) DeepCopyInto(out *PolicyAssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentObservation. +func (in *PolicyAssignmentObservation) DeepCopy() *PolicyAssignmentObservation { + if in == nil { + return nil + } + out := new(PolicyAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentParameters) DeepCopyInto(out *PolicyAssignmentParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.DisplayName != nil { + in, out := &in.DisplayName, &out.DisplayName + *out = new(string) + **out = **in + } + if in.Enforce != nil { + in, out := &in.Enforce, &out.Enforce + *out = new(bool) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Metadata != nil { + in, out := &in.Metadata, &out.Metadata + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NotScopes != nil { + in, out := &in.NotScopes, &out.NotScopes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = new(string) + **out = **in + } + if in.PolicyDefinitionID != nil { + in, out := &in.PolicyDefinitionID, &out.PolicyDefinitionID + *out = new(string) + **out = **in + } + if in.SubscriptionID != nil { + in, out := &in.SubscriptionID, &out.SubscriptionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentParameters. +func (in *PolicyAssignmentParameters) DeepCopy() *PolicyAssignmentParameters { + if in == nil { + return nil + } + out := new(PolicyAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentSpec) DeepCopyInto(out *PolicyAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentSpec. +func (in *PolicyAssignmentSpec) DeepCopy() *PolicyAssignmentSpec { + if in == nil { + return nil + } + out := new(PolicyAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicyAssignmentStatus) DeepCopyInto(out *PolicyAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAssignmentStatus. +func (in *PolicyAssignmentStatus) DeepCopy() *PolicyAssignmentStatus { + if in == nil { + return nil + } + out := new(PolicyAssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeployment) DeepCopyInto(out *TemplateDeployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeployment. +func (in *TemplateDeployment) DeepCopy() *TemplateDeployment { + if in == nil { + return nil + } + out := new(TemplateDeployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TemplateDeployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentList) DeepCopyInto(out *TemplateDeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TemplateDeployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentList. +func (in *TemplateDeploymentList) DeepCopy() *TemplateDeploymentList { + if in == nil { + return nil + } + out := new(TemplateDeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TemplateDeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentObservation) DeepCopyInto(out *TemplateDeploymentObservation) { + *out = *in + if in.OutputContent != nil { + in, out := &in.OutputContent, &out.OutputContent + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentObservation. +func (in *TemplateDeploymentObservation) DeepCopy() *TemplateDeploymentObservation { + if in == nil { + return nil + } + out := new(TemplateDeploymentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentParameters) DeepCopyInto(out *TemplateDeploymentParameters) { + *out = *in + if in.DebugLevel != nil { + in, out := &in.DebugLevel, &out.DebugLevel + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ParametersContent != nil { + in, out := &in.ParametersContent, &out.ParametersContent + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TemplateContent != nil { + in, out := &in.TemplateContent, &out.TemplateContent + *out = new(string) + **out = **in + } + if in.TemplateSpecVersionID != nil { + in, out := &in.TemplateSpecVersionID, &out.TemplateSpecVersionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentParameters. +func (in *TemplateDeploymentParameters) DeepCopy() *TemplateDeploymentParameters { + if in == nil { + return nil + } + out := new(TemplateDeploymentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentSpec) DeepCopyInto(out *TemplateDeploymentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentSpec. +func (in *TemplateDeploymentSpec) DeepCopy() *TemplateDeploymentSpec { + if in == nil { + return nil + } + out := new(TemplateDeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentStatus) DeepCopyInto(out *TemplateDeploymentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentStatus. +func (in *TemplateDeploymentStatus) DeepCopy() *TemplateDeploymentStatus { + if in == nil { + return nil + } + out := new(TemplateDeploymentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/subscription/v1alpha1/zz_generated.managed.go b/apis/subscription/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..05c134db5 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this PolicyAssignment. +func (mg *PolicyAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PolicyAssignment. +func (mg *PolicyAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PolicyAssignment. +func (mg *PolicyAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PolicyAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PolicyAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PolicyAssignment. +func (mg *PolicyAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PolicyAssignment. +func (mg *PolicyAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PolicyAssignment. +func (mg *PolicyAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PolicyAssignment. +func (mg *PolicyAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PolicyAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PolicyAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PolicyAssignment. +func (mg *PolicyAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this TemplateDeployment. +func (mg *TemplateDeployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TemplateDeployment. +func (mg *TemplateDeployment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TemplateDeployment. +func (mg *TemplateDeployment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TemplateDeployment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TemplateDeployment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TemplateDeployment. +func (mg *TemplateDeployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TemplateDeployment. +func (mg *TemplateDeployment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TemplateDeployment. +func (mg *TemplateDeployment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TemplateDeployment. +func (mg *TemplateDeployment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TemplateDeployment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TemplateDeployment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TemplateDeployment. +func (mg *TemplateDeployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/subscription/v1alpha1/zz_generated.managedlist.go b/apis/subscription/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..96e318a07 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this PolicyAssignmentList. +func (l *PolicyAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this TemplateDeploymentList. +func (l *TemplateDeploymentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/subscription/v1alpha1/zz_groupversion_info.go b/apis/subscription/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..722e82658 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=subscription.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "subscription.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/subscription/v1alpha1/zz_policyassignment_terraformed.go b/apis/subscription/v1alpha1/zz_policyassignment_terraformed.go new file mode 100755 index 000000000..69917b131 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_policyassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PolicyAssignment +func (mg *PolicyAssignment) GetTerraformResourceType() string { + return "azurerm_subscription_policy_assignment" +} + +// GetConnectionDetailsMapping for this PolicyAssignment +func (tr *PolicyAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PolicyAssignment +func (tr *PolicyAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PolicyAssignment +func (tr *PolicyAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PolicyAssignment +func (tr *PolicyAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PolicyAssignment +func (tr *PolicyAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PolicyAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PolicyAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &PolicyAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PolicyAssignment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/subscription/v1alpha1/zz_policyassignment_types.go b/apis/subscription/v1alpha1/zz_policyassignment_types.go new file mode 100755 index 000000000..fde091b53 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_policyassignment_types.go @@ -0,0 +1,126 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type PolicyAssignmentObservation struct { +} + +type PolicyAssignmentParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` + + // +kubebuilder:validation:Optional + Enforce *bool `json:"enforce,omitempty" tf:"enforce,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + Location *string `json:"location,omitempty" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NotScopes []*string `json:"notScopes,omitempty" tf:"not_scopes,omitempty"` + + // +kubebuilder:validation:Optional + Parameters *string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + PolicyDefinitionID *string `json:"policyDefinitionId" tf:"policy_definition_id,omitempty"` + + // +kubebuilder:validation:Required + SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"` +} + +// PolicyAssignmentSpec defines the desired state of PolicyAssignment +type PolicyAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PolicyAssignmentParameters `json:"forProvider"` +} + +// PolicyAssignmentStatus defines the observed state of PolicyAssignment. +type PolicyAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PolicyAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyAssignment is the Schema for the PolicyAssignments API +// +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,azurejet} +type PolicyAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PolicyAssignmentSpec `json:"spec"` + Status PolicyAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PolicyAssignmentList contains a list of PolicyAssignments +type PolicyAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PolicyAssignment `json:"items"` +} + +// Repository type metadata. +var ( + PolicyAssignment_Kind = "PolicyAssignment" + PolicyAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyAssignment_Kind}.String() + PolicyAssignment_KindAPIVersion = PolicyAssignment_Kind + "." + CRDGroupVersion.String() + PolicyAssignment_GroupVersionKind = CRDGroupVersion.WithKind(PolicyAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&PolicyAssignment{}, &PolicyAssignmentList{}) +} diff --git a/apis/subscription/v1alpha1/zz_templatedeployment_terraformed.go b/apis/subscription/v1alpha1/zz_templatedeployment_terraformed.go new file mode 100755 index 000000000..e7aab6633 --- /dev/null +++ b/apis/subscription/v1alpha1/zz_templatedeployment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TemplateDeployment +func (mg *TemplateDeployment) GetTerraformResourceType() string { + return "azurerm_subscription_template_deployment" +} + +// GetConnectionDetailsMapping for this TemplateDeployment +func (tr *TemplateDeployment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TemplateDeployment +func (tr *TemplateDeployment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TemplateDeployment +func (tr *TemplateDeployment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TemplateDeployment +func (tr *TemplateDeployment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TemplateDeployment +func (tr *TemplateDeployment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TemplateDeployment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TemplateDeployment) LateInitialize(attrs []byte) (bool, error) { + params := &TemplateDeploymentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TemplateDeployment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/subscription/v1alpha1/zz_templatedeployment_types.go b/apis/subscription/v1alpha1/zz_templatedeployment_types.go new file mode 100755 index 000000000..4fac236db --- /dev/null +++ b/apis/subscription/v1alpha1/zz_templatedeployment_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TemplateDeploymentObservation struct { + OutputContent *string `json:"outputContent,omitempty" tf:"output_content,omitempty"` +} + +type TemplateDeploymentParameters struct { + + // +kubebuilder:validation:Optional + DebugLevel *string `json:"debugLevel,omitempty" tf:"debug_level,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ParametersContent *string `json:"parametersContent,omitempty" tf:"parameters_content,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TemplateContent *string `json:"templateContent,omitempty" tf:"template_content,omitempty"` + + // +kubebuilder:validation:Optional + TemplateSpecVersionID *string `json:"templateSpecVersionId,omitempty" tf:"template_spec_version_id,omitempty"` +} + +// TemplateDeploymentSpec defines the desired state of TemplateDeployment +type TemplateDeploymentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TemplateDeploymentParameters `json:"forProvider"` +} + +// TemplateDeploymentStatus defines the observed state of TemplateDeployment. +type TemplateDeploymentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TemplateDeploymentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TemplateDeployment is the Schema for the TemplateDeployments API +// +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,azurejet} +type TemplateDeployment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TemplateDeploymentSpec `json:"spec"` + Status TemplateDeploymentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TemplateDeploymentList contains a list of TemplateDeployments +type TemplateDeploymentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TemplateDeployment `json:"items"` +} + +// Repository type metadata. +var ( + TemplateDeployment_Kind = "TemplateDeployment" + TemplateDeployment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TemplateDeployment_Kind}.String() + TemplateDeployment_KindAPIVersion = TemplateDeployment_Kind + "." + CRDGroupVersion.String() + TemplateDeployment_GroupVersionKind = CRDGroupVersion.WithKind(TemplateDeployment_Kind) +) + +func init() { + SchemeBuilder.Register(&TemplateDeployment{}, &TemplateDeploymentList{}) +} diff --git a/apis/synapse/v1alpha1/zz_firewallrule_terraformed.go b/apis/synapse/v1alpha1/zz_firewallrule_terraformed.go new file mode 100755 index 000000000..f5f5954d7 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_firewallrule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this FirewallRule +func (mg *FirewallRule) GetTerraformResourceType() string { + return "azurerm_synapse_firewall_rule" +} + +// GetConnectionDetailsMapping for this FirewallRule +func (tr *FirewallRule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this FirewallRule +func (tr *FirewallRule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this FirewallRule +func (tr *FirewallRule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this FirewallRule +func (tr *FirewallRule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this FirewallRule +func (tr *FirewallRule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this FirewallRule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *FirewallRule) LateInitialize(attrs []byte) (bool, error) { + params := &FirewallRuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *FirewallRule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_firewallrule_types.go b/apis/synapse/v1alpha1/zz_firewallrule_types.go new file mode 100755 index 000000000..2d12be8b2 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_firewallrule_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type FirewallRuleObservation struct { +} + +type FirewallRuleParameters struct { + + // +kubebuilder:validation:Required + EndIPAddress *string `json:"endIpAddress" tf:"end_ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StartIPAddress *string `json:"startIpAddress" tf:"start_ip_address,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` +} + +// FirewallRuleSpec defines the desired state of FirewallRule +type FirewallRuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider FirewallRuleParameters `json:"forProvider"` +} + +// FirewallRuleStatus defines the observed state of FirewallRule. +type FirewallRuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider FirewallRuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRule is the Schema for the FirewallRules API +// +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,azurejet} +type FirewallRule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec FirewallRuleSpec `json:"spec"` + Status FirewallRuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// FirewallRuleList contains a list of FirewallRules +type FirewallRuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []FirewallRule `json:"items"` +} + +// Repository type metadata. +var ( + FirewallRule_Kind = "FirewallRule" + FirewallRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: FirewallRule_Kind}.String() + FirewallRule_KindAPIVersion = FirewallRule_Kind + "." + CRDGroupVersion.String() + FirewallRule_GroupVersionKind = CRDGroupVersion.WithKind(FirewallRule_Kind) +) + +func init() { + SchemeBuilder.Register(&FirewallRule{}, &FirewallRuleList{}) +} diff --git a/apis/synapse/v1alpha1/zz_generated.deepcopy.go b/apis/synapse/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..bb717be3b --- /dev/null +++ b/apis/synapse/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,3374 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadAdminObservation) DeepCopyInto(out *AadAdminObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadAdminObservation. +func (in *AadAdminObservation) DeepCopy() *AadAdminObservation { + if in == nil { + return nil + } + out := new(AadAdminObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AadAdminParameters) DeepCopyInto(out *AadAdminParameters) { + *out = *in + if in.Login != nil { + in, out := &in.Login, &out.Login + *out = new(string) + **out = **in + } + if in.ObjectID != nil { + in, out := &in.ObjectID, &out.ObjectID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AadAdminParameters. +func (in *AadAdminParameters) DeepCopy() *AadAdminParameters { + if in == nil { + return nil + } + out := new(AadAdminParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoPauseObservation) DeepCopyInto(out *AutoPauseObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoPauseObservation. +func (in *AutoPauseObservation) DeepCopy() *AutoPauseObservation { + if in == nil { + return nil + } + out := new(AutoPauseObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoPauseParameters) DeepCopyInto(out *AutoPauseParameters) { + *out = *in + if in.DelayInMinutes != nil { + in, out := &in.DelayInMinutes, &out.DelayInMinutes + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoPauseParameters. +func (in *AutoPauseParameters) DeepCopy() *AutoPauseParameters { + if in == nil { + return nil + } + out := new(AutoPauseParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoScaleObservation) DeepCopyInto(out *AutoScaleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleObservation. +func (in *AutoScaleObservation) DeepCopy() *AutoScaleObservation { + if in == nil { + return nil + } + out := new(AutoScaleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutoScaleParameters) DeepCopyInto(out *AutoScaleParameters) { + *out = *in + if in.MaxNodeCount != nil { + in, out := &in.MaxNodeCount, &out.MaxNodeCount + *out = new(int64) + **out = **in + } + if in.MinNodeCount != nil { + in, out := &in.MinNodeCount, &out.MinNodeCount + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleParameters. +func (in *AutoScaleParameters) DeepCopy() *AutoScaleParameters { + if in == nil { + return nil + } + out := new(AutoScaleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureDevopsRepoObservation) DeepCopyInto(out *AzureDevopsRepoObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDevopsRepoObservation. +func (in *AzureDevopsRepoObservation) DeepCopy() *AzureDevopsRepoObservation { + if in == nil { + return nil + } + out := new(AzureDevopsRepoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureDevopsRepoParameters) DeepCopyInto(out *AzureDevopsRepoParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.BranchName != nil { + in, out := &in.BranchName, &out.BranchName + *out = new(string) + **out = **in + } + if in.ProjectName != nil { + in, out := &in.ProjectName, &out.ProjectName + *out = new(string) + **out = **in + } + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RootFolder != nil { + in, out := &in.RootFolder, &out.RootFolder + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDevopsRepoParameters. +func (in *AzureDevopsRepoParameters) DeepCopy() *AzureDevopsRepoParameters { + if in == nil { + return nil + } + out := new(AzureDevopsRepoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomerManagedKeyObservation) DeepCopyInto(out *CustomerManagedKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedKeyObservation. +func (in *CustomerManagedKeyObservation) DeepCopy() *CustomerManagedKeyObservation { + if in == nil { + return nil + } + out := new(CustomerManagedKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomerManagedKeyParameters) DeepCopyInto(out *CustomerManagedKeyParameters) { + *out = *in + if in.KeyName != nil { + in, out := &in.KeyName, &out.KeyName + *out = new(string) + **out = **in + } + if in.KeyVersionlessID != nil { + in, out := &in.KeyVersionlessID, &out.KeyVersionlessID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomerManagedKeyParameters. +func (in *CustomerManagedKeyParameters) DeepCopy() *CustomerManagedKeyParameters { + if in == nil { + return nil + } + out := new(CustomerManagedKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRule) DeepCopyInto(out *FirewallRule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRule. +func (in *FirewallRule) DeepCopy() *FirewallRule { + if in == nil { + return nil + } + out := new(FirewallRule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleList) DeepCopyInto(out *FirewallRuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]FirewallRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleList. +func (in *FirewallRuleList) DeepCopy() *FirewallRuleList { + if in == nil { + return nil + } + out := new(FirewallRuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *FirewallRuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleObservation) DeepCopyInto(out *FirewallRuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleObservation. +func (in *FirewallRuleObservation) DeepCopy() *FirewallRuleObservation { + if in == nil { + return nil + } + out := new(FirewallRuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleParameters) DeepCopyInto(out *FirewallRuleParameters) { + *out = *in + if in.EndIPAddress != nil { + in, out := &in.EndIPAddress, &out.EndIPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StartIPAddress != nil { + in, out := &in.StartIPAddress, &out.StartIPAddress + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleParameters. +func (in *FirewallRuleParameters) DeepCopy() *FirewallRuleParameters { + if in == nil { + return nil + } + out := new(FirewallRuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleSpec) DeepCopyInto(out *FirewallRuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleSpec. +func (in *FirewallRuleSpec) DeepCopy() *FirewallRuleSpec { + if in == nil { + return nil + } + out := new(FirewallRuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FirewallRuleStatus) DeepCopyInto(out *FirewallRuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallRuleStatus. +func (in *FirewallRuleStatus) DeepCopy() *FirewallRuleStatus { + if in == nil { + return nil + } + out := new(FirewallRuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GithubRepoObservation) DeepCopyInto(out *GithubRepoObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubRepoObservation. +func (in *GithubRepoObservation) DeepCopy() *GithubRepoObservation { + if in == nil { + return nil + } + out := new(GithubRepoObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GithubRepoParameters) DeepCopyInto(out *GithubRepoParameters) { + *out = *in + if in.AccountName != nil { + in, out := &in.AccountName, &out.AccountName + *out = new(string) + **out = **in + } + if in.BranchName != nil { + in, out := &in.BranchName, &out.BranchName + *out = new(string) + **out = **in + } + if in.GitURL != nil { + in, out := &in.GitURL, &out.GitURL + *out = new(string) + **out = **in + } + if in.RepositoryName != nil { + in, out := &in.RepositoryName, &out.RepositoryName + *out = new(string) + **out = **in + } + if in.RootFolder != nil { + in, out := &in.RootFolder, &out.RootFolder + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubRepoParameters. +func (in *GithubRepoParameters) DeepCopy() *GithubRepoParameters { + if in == nil { + return nil + } + out := new(GithubRepoParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeAzure) DeepCopyInto(out *IntegrationRuntimeAzure) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeAzure. +func (in *IntegrationRuntimeAzure) DeepCopy() *IntegrationRuntimeAzure { + if in == nil { + return nil + } + out := new(IntegrationRuntimeAzure) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IntegrationRuntimeAzure) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeAzureList) DeepCopyInto(out *IntegrationRuntimeAzureList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]IntegrationRuntimeAzure, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeAzureList. +func (in *IntegrationRuntimeAzureList) DeepCopy() *IntegrationRuntimeAzureList { + if in == nil { + return nil + } + out := new(IntegrationRuntimeAzureList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IntegrationRuntimeAzureList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeAzureObservation) DeepCopyInto(out *IntegrationRuntimeAzureObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeAzureObservation. +func (in *IntegrationRuntimeAzureObservation) DeepCopy() *IntegrationRuntimeAzureObservation { + if in == nil { + return nil + } + out := new(IntegrationRuntimeAzureObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeAzureParameters) DeepCopyInto(out *IntegrationRuntimeAzureParameters) { + *out = *in + if in.ComputeType != nil { + in, out := &in.ComputeType, &out.ComputeType + *out = new(string) + **out = **in + } + if in.CoreCount != nil { + in, out := &in.CoreCount, &out.CoreCount + *out = new(int64) + **out = **in + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } + if in.TimeToLiveMin != nil { + in, out := &in.TimeToLiveMin, &out.TimeToLiveMin + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeAzureParameters. +func (in *IntegrationRuntimeAzureParameters) DeepCopy() *IntegrationRuntimeAzureParameters { + if in == nil { + return nil + } + out := new(IntegrationRuntimeAzureParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeAzureSpec) DeepCopyInto(out *IntegrationRuntimeAzureSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeAzureSpec. +func (in *IntegrationRuntimeAzureSpec) DeepCopy() *IntegrationRuntimeAzureSpec { + if in == nil { + return nil + } + out := new(IntegrationRuntimeAzureSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeAzureStatus) DeepCopyInto(out *IntegrationRuntimeAzureStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeAzureStatus. +func (in *IntegrationRuntimeAzureStatus) DeepCopy() *IntegrationRuntimeAzureStatus { + if in == nil { + return nil + } + out := new(IntegrationRuntimeAzureStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeObservation) DeepCopyInto(out *IntegrationRuntimeObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeObservation. +func (in *IntegrationRuntimeObservation) DeepCopy() *IntegrationRuntimeObservation { + if in == nil { + return nil + } + out := new(IntegrationRuntimeObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeParameters) DeepCopyInto(out *IntegrationRuntimeParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeParameters. +func (in *IntegrationRuntimeParameters) DeepCopy() *IntegrationRuntimeParameters { + if in == nil { + return nil + } + out := new(IntegrationRuntimeParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeSelfHosted) DeepCopyInto(out *IntegrationRuntimeSelfHosted) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeSelfHosted. +func (in *IntegrationRuntimeSelfHosted) DeepCopy() *IntegrationRuntimeSelfHosted { + if in == nil { + return nil + } + out := new(IntegrationRuntimeSelfHosted) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IntegrationRuntimeSelfHosted) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeSelfHostedList) DeepCopyInto(out *IntegrationRuntimeSelfHostedList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]IntegrationRuntimeSelfHosted, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeSelfHostedList. +func (in *IntegrationRuntimeSelfHostedList) DeepCopy() *IntegrationRuntimeSelfHostedList { + if in == nil { + return nil + } + out := new(IntegrationRuntimeSelfHostedList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IntegrationRuntimeSelfHostedList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeSelfHostedObservation) DeepCopyInto(out *IntegrationRuntimeSelfHostedObservation) { + *out = *in + if in.AuthorizationKeyPrimary != nil { + in, out := &in.AuthorizationKeyPrimary, &out.AuthorizationKeyPrimary + *out = new(string) + **out = **in + } + if in.AuthorizationKeySecondary != nil { + in, out := &in.AuthorizationKeySecondary, &out.AuthorizationKeySecondary + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeSelfHostedObservation. +func (in *IntegrationRuntimeSelfHostedObservation) DeepCopy() *IntegrationRuntimeSelfHostedObservation { + if in == nil { + return nil + } + out := new(IntegrationRuntimeSelfHostedObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeSelfHostedParameters) DeepCopyInto(out *IntegrationRuntimeSelfHostedParameters) { + *out = *in + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeSelfHostedParameters. +func (in *IntegrationRuntimeSelfHostedParameters) DeepCopy() *IntegrationRuntimeSelfHostedParameters { + if in == nil { + return nil + } + out := new(IntegrationRuntimeSelfHostedParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeSelfHostedSpec) DeepCopyInto(out *IntegrationRuntimeSelfHostedSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeSelfHostedSpec. +func (in *IntegrationRuntimeSelfHostedSpec) DeepCopy() *IntegrationRuntimeSelfHostedSpec { + if in == nil { + return nil + } + out := new(IntegrationRuntimeSelfHostedSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntegrationRuntimeSelfHostedStatus) DeepCopyInto(out *IntegrationRuntimeSelfHostedStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationRuntimeSelfHostedStatus. +func (in *IntegrationRuntimeSelfHostedStatus) DeepCopy() *IntegrationRuntimeSelfHostedStatus { + if in == nil { + return nil + } + out := new(IntegrationRuntimeSelfHostedStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LibraryRequirementObservation) DeepCopyInto(out *LibraryRequirementObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryRequirementObservation. +func (in *LibraryRequirementObservation) DeepCopy() *LibraryRequirementObservation { + if in == nil { + return nil + } + out := new(LibraryRequirementObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LibraryRequirementParameters) DeepCopyInto(out *LibraryRequirementParameters) { + *out = *in + if in.Content != nil { + in, out := &in.Content, &out.Content + *out = new(string) + **out = **in + } + if in.Filename != nil { + in, out := &in.Filename, &out.Filename + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryRequirementParameters. +func (in *LibraryRequirementParameters) DeepCopy() *LibraryRequirementParameters { + if in == nil { + return nil + } + out := new(LibraryRequirementParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedService) DeepCopyInto(out *LinkedService) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedService. +func (in *LinkedService) DeepCopy() *LinkedService { + if in == nil { + return nil + } + out := new(LinkedService) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LinkedService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceList) DeepCopyInto(out *LinkedServiceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]LinkedService, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceList. +func (in *LinkedServiceList) DeepCopy() *LinkedServiceList { + if in == nil { + return nil + } + out := new(LinkedServiceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *LinkedServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceObservation) DeepCopyInto(out *LinkedServiceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceObservation. +func (in *LinkedServiceObservation) DeepCopy() *LinkedServiceObservation { + if in == nil { + return nil + } + out := new(LinkedServiceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceParameters) DeepCopyInto(out *LinkedServiceParameters) { + *out = *in + if in.AdditionalProperties != nil { + in, out := &in.AdditionalProperties, &out.AdditionalProperties + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Description != nil { + in, out := &in.Description, &out.Description + *out = new(string) + **out = **in + } + if in.IntegrationRuntime != nil { + in, out := &in.IntegrationRuntime, &out.IntegrationRuntime + *out = make([]IntegrationRuntimeParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.TypePropertiesJSON != nil { + in, out := &in.TypePropertiesJSON, &out.TypePropertiesJSON + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceParameters. +func (in *LinkedServiceParameters) DeepCopy() *LinkedServiceParameters { + if in == nil { + return nil + } + out := new(LinkedServiceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceSpec) DeepCopyInto(out *LinkedServiceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceSpec. +func (in *LinkedServiceSpec) DeepCopy() *LinkedServiceSpec { + if in == nil { + return nil + } + out := new(LinkedServiceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkedServiceStatus) DeepCopyInto(out *LinkedServiceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedServiceStatus. +func (in *LinkedServiceStatus) DeepCopy() *LinkedServiceStatus { + if in == nil { + return nil + } + out := new(LinkedServiceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrivateEndpoint) DeepCopyInto(out *ManagedPrivateEndpoint) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrivateEndpoint. +func (in *ManagedPrivateEndpoint) DeepCopy() *ManagedPrivateEndpoint { + if in == nil { + return nil + } + out := new(ManagedPrivateEndpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedPrivateEndpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrivateEndpointList) DeepCopyInto(out *ManagedPrivateEndpointList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagedPrivateEndpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrivateEndpointList. +func (in *ManagedPrivateEndpointList) DeepCopy() *ManagedPrivateEndpointList { + if in == nil { + return nil + } + out := new(ManagedPrivateEndpointList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagedPrivateEndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrivateEndpointObservation) DeepCopyInto(out *ManagedPrivateEndpointObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrivateEndpointObservation. +func (in *ManagedPrivateEndpointObservation) DeepCopy() *ManagedPrivateEndpointObservation { + if in == nil { + return nil + } + out := new(ManagedPrivateEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrivateEndpointParameters) DeepCopyInto(out *ManagedPrivateEndpointParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SubresourceName != nil { + in, out := &in.SubresourceName, &out.SubresourceName + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrivateEndpointParameters. +func (in *ManagedPrivateEndpointParameters) DeepCopy() *ManagedPrivateEndpointParameters { + if in == nil { + return nil + } + out := new(ManagedPrivateEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrivateEndpointSpec) DeepCopyInto(out *ManagedPrivateEndpointSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrivateEndpointSpec. +func (in *ManagedPrivateEndpointSpec) DeepCopy() *ManagedPrivateEndpointSpec { + if in == nil { + return nil + } + out := new(ManagedPrivateEndpointSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedPrivateEndpointStatus) DeepCopyInto(out *ManagedPrivateEndpointStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedPrivateEndpointStatus. +func (in *ManagedPrivateEndpointStatus) DeepCopy() *ManagedPrivateEndpointStatus { + if in == nil { + return nil + } + out := new(ManagedPrivateEndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkHub) DeepCopyInto(out *PrivateLinkHub) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkHub. +func (in *PrivateLinkHub) DeepCopy() *PrivateLinkHub { + if in == nil { + return nil + } + out := new(PrivateLinkHub) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PrivateLinkHub) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkHubList) DeepCopyInto(out *PrivateLinkHubList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PrivateLinkHub, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkHubList. +func (in *PrivateLinkHubList) DeepCopy() *PrivateLinkHubList { + if in == nil { + return nil + } + out := new(PrivateLinkHubList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PrivateLinkHubList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkHubObservation) DeepCopyInto(out *PrivateLinkHubObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkHubObservation. +func (in *PrivateLinkHubObservation) DeepCopy() *PrivateLinkHubObservation { + if in == nil { + return nil + } + out := new(PrivateLinkHubObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkHubParameters) DeepCopyInto(out *PrivateLinkHubParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkHubParameters. +func (in *PrivateLinkHubParameters) DeepCopy() *PrivateLinkHubParameters { + if in == nil { + return nil + } + out := new(PrivateLinkHubParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkHubSpec) DeepCopyInto(out *PrivateLinkHubSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkHubSpec. +func (in *PrivateLinkHubSpec) DeepCopy() *PrivateLinkHubSpec { + if in == nil { + return nil + } + out := new(PrivateLinkHubSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateLinkHubStatus) DeepCopyInto(out *PrivateLinkHubStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkHubStatus. +func (in *PrivateLinkHubStatus) DeepCopy() *PrivateLinkHubStatus { + if in == nil { + return nil + } + out := new(PrivateLinkHubStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurringScansObservation) DeepCopyInto(out *RecurringScansObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurringScansObservation. +func (in *RecurringScansObservation) DeepCopy() *RecurringScansObservation { + if in == nil { + return nil + } + out := new(RecurringScansObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RecurringScansParameters) DeepCopyInto(out *RecurringScansParameters) { + *out = *in + if in.EmailSubscriptionAdminsEnabled != nil { + in, out := &in.EmailSubscriptionAdminsEnabled, &out.EmailSubscriptionAdminsEnabled + *out = new(bool) + **out = **in + } + if in.Emails != nil { + in, out := &in.Emails, &out.Emails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecurringScansParameters. +func (in *RecurringScansParameters) DeepCopy() *RecurringScansParameters { + if in == nil { + return nil + } + out := new(RecurringScansParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RestoreObservation) DeepCopyInto(out *RestoreObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreObservation. +func (in *RestoreObservation) DeepCopy() *RestoreObservation { + if in == nil { + return nil + } + out := new(RestoreObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RestoreParameters) DeepCopyInto(out *RestoreParameters) { + *out = *in + if in.PointInTime != nil { + in, out := &in.PointInTime, &out.PointInTime + *out = new(string) + **out = **in + } + if in.SourceDatabaseID != nil { + in, out := &in.SourceDatabaseID, &out.SourceDatabaseID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreParameters. +func (in *RestoreParameters) DeepCopy() *RestoreParameters { + if in == nil { + return nil + } + out := new(RestoreParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignment. +func (in *RoleAssignment) DeepCopy() *RoleAssignment { + if in == nil { + return nil + } + out := new(RoleAssignment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RoleAssignment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RoleAssignment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentList. +func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList { + if in == nil { + return nil + } + out := new(RoleAssignmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RoleAssignmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleAssignmentObservation) DeepCopyInto(out *RoleAssignmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentObservation. +func (in *RoleAssignmentObservation) DeepCopy() *RoleAssignmentObservation { + if in == nil { + return nil + } + out := new(RoleAssignmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleAssignmentParameters) DeepCopyInto(out *RoleAssignmentParameters) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.RoleName != nil { + in, out := &in.RoleName, &out.RoleName + *out = new(string) + **out = **in + } + if in.SynapseSparkPoolID != nil { + in, out := &in.SynapseSparkPoolID, &out.SynapseSparkPoolID + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentParameters. +func (in *RoleAssignmentParameters) DeepCopy() *RoleAssignmentParameters { + if in == nil { + return nil + } + out := new(RoleAssignmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleAssignmentSpec) DeepCopyInto(out *RoleAssignmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentSpec. +func (in *RoleAssignmentSpec) DeepCopy() *RoleAssignmentSpec { + if in == nil { + return nil + } + out := new(RoleAssignmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoleAssignmentStatus) DeepCopyInto(out *RoleAssignmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentStatus. +func (in *RoleAssignmentStatus) DeepCopy() *RoleAssignmentStatus { + if in == nil { + return nil + } + out := new(RoleAssignmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkPool) DeepCopyInto(out *SparkPool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPool. +func (in *SparkPool) DeepCopy() *SparkPool { + if in == nil { + return nil + } + out := new(SparkPool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SparkPool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkPoolList) DeepCopyInto(out *SparkPoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SparkPool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPoolList. +func (in *SparkPoolList) DeepCopy() *SparkPoolList { + if in == nil { + return nil + } + out := new(SparkPoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SparkPoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkPoolObservation) DeepCopyInto(out *SparkPoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPoolObservation. +func (in *SparkPoolObservation) DeepCopy() *SparkPoolObservation { + if in == nil { + return nil + } + out := new(SparkPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkPoolParameters) DeepCopyInto(out *SparkPoolParameters) { + *out = *in + if in.AutoPause != nil { + in, out := &in.AutoPause, &out.AutoPause + *out = make([]AutoPauseParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutoScale != nil { + in, out := &in.AutoScale, &out.AutoScale + *out = make([]AutoScaleParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LibraryRequirement != nil { + in, out := &in.LibraryRequirement, &out.LibraryRequirement + *out = make([]LibraryRequirementParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NodeCount != nil { + in, out := &in.NodeCount, &out.NodeCount + *out = new(int64) + **out = **in + } + if in.NodeSize != nil { + in, out := &in.NodeSize, &out.NodeSize + *out = new(string) + **out = **in + } + if in.NodeSizeFamily != nil { + in, out := &in.NodeSizeFamily, &out.NodeSizeFamily + *out = new(string) + **out = **in + } + if in.SparkEventsFolder != nil { + in, out := &in.SparkEventsFolder, &out.SparkEventsFolder + *out = new(string) + **out = **in + } + if in.SparkLogFolder != nil { + in, out := &in.SparkLogFolder, &out.SparkLogFolder + *out = new(string) + **out = **in + } + if in.SparkVersion != nil { + in, out := &in.SparkVersion, &out.SparkVersion + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPoolParameters. +func (in *SparkPoolParameters) DeepCopy() *SparkPoolParameters { + if in == nil { + return nil + } + out := new(SparkPoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkPoolSpec) DeepCopyInto(out *SparkPoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPoolSpec. +func (in *SparkPoolSpec) DeepCopy() *SparkPoolSpec { + if in == nil { + return nil + } + out := new(SparkPoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SparkPoolStatus) DeepCopyInto(out *SparkPoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SparkPoolStatus. +func (in *SparkPoolStatus) DeepCopy() *SparkPoolStatus { + if in == nil { + return nil + } + out := new(SparkPoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPool) DeepCopyInto(out *SqlPool) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPool. +func (in *SqlPool) DeepCopy() *SqlPool { + if in == nil { + return nil + } + out := new(SqlPool) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPool) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolExtendedAuditingPolicy) DeepCopyInto(out *SqlPoolExtendedAuditingPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolExtendedAuditingPolicy. +func (in *SqlPoolExtendedAuditingPolicy) DeepCopy() *SqlPoolExtendedAuditingPolicy { + if in == nil { + return nil + } + out := new(SqlPoolExtendedAuditingPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolExtendedAuditingPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolExtendedAuditingPolicyList) DeepCopyInto(out *SqlPoolExtendedAuditingPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SqlPoolExtendedAuditingPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolExtendedAuditingPolicyList. +func (in *SqlPoolExtendedAuditingPolicyList) DeepCopy() *SqlPoolExtendedAuditingPolicyList { + if in == nil { + return nil + } + out := new(SqlPoolExtendedAuditingPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolExtendedAuditingPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolExtendedAuditingPolicyObservation) DeepCopyInto(out *SqlPoolExtendedAuditingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolExtendedAuditingPolicyObservation. +func (in *SqlPoolExtendedAuditingPolicyObservation) DeepCopy() *SqlPoolExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(SqlPoolExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolExtendedAuditingPolicyParameters) DeepCopyInto(out *SqlPoolExtendedAuditingPolicyParameters) { + *out = *in + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.SQLPoolID != nil { + in, out := &in.SQLPoolID, &out.SQLPoolID + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolExtendedAuditingPolicyParameters. +func (in *SqlPoolExtendedAuditingPolicyParameters) DeepCopy() *SqlPoolExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(SqlPoolExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolExtendedAuditingPolicySpec) DeepCopyInto(out *SqlPoolExtendedAuditingPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolExtendedAuditingPolicySpec. +func (in *SqlPoolExtendedAuditingPolicySpec) DeepCopy() *SqlPoolExtendedAuditingPolicySpec { + if in == nil { + return nil + } + out := new(SqlPoolExtendedAuditingPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolExtendedAuditingPolicyStatus) DeepCopyInto(out *SqlPoolExtendedAuditingPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolExtendedAuditingPolicyStatus. +func (in *SqlPoolExtendedAuditingPolicyStatus) DeepCopy() *SqlPoolExtendedAuditingPolicyStatus { + if in == nil { + return nil + } + out := new(SqlPoolExtendedAuditingPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolList) DeepCopyInto(out *SqlPoolList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SqlPool, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolList. +func (in *SqlPoolList) DeepCopy() *SqlPoolList { + if in == nil { + return nil + } + out := new(SqlPoolList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolObservation) DeepCopyInto(out *SqlPoolObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolObservation. +func (in *SqlPoolObservation) DeepCopy() *SqlPoolObservation { + if in == nil { + return nil + } + out := new(SqlPoolObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolParameters) DeepCopyInto(out *SqlPoolParameters) { + *out = *in + if in.Collation != nil { + in, out := &in.Collation, &out.Collation + *out = new(string) + **out = **in + } + if in.CreateMode != nil { + in, out := &in.CreateMode, &out.CreateMode + *out = new(string) + **out = **in + } + if in.DataEncrypted != nil { + in, out := &in.DataEncrypted, &out.DataEncrypted + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RecoveryDatabaseID != nil { + in, out := &in.RecoveryDatabaseID, &out.RecoveryDatabaseID + *out = new(string) + **out = **in + } + if in.Restore != nil { + in, out := &in.Restore, &out.Restore + *out = make([]RestoreParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolParameters. +func (in *SqlPoolParameters) DeepCopy() *SqlPoolParameters { + if in == nil { + return nil + } + out := new(SqlPoolParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSecurityAlertPolicy) DeepCopyInto(out *SqlPoolSecurityAlertPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSecurityAlertPolicy. +func (in *SqlPoolSecurityAlertPolicy) DeepCopy() *SqlPoolSecurityAlertPolicy { + if in == nil { + return nil + } + out := new(SqlPoolSecurityAlertPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolSecurityAlertPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSecurityAlertPolicyList) DeepCopyInto(out *SqlPoolSecurityAlertPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SqlPoolSecurityAlertPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSecurityAlertPolicyList. +func (in *SqlPoolSecurityAlertPolicyList) DeepCopy() *SqlPoolSecurityAlertPolicyList { + if in == nil { + return nil + } + out := new(SqlPoolSecurityAlertPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolSecurityAlertPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSecurityAlertPolicyObservation) DeepCopyInto(out *SqlPoolSecurityAlertPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSecurityAlertPolicyObservation. +func (in *SqlPoolSecurityAlertPolicyObservation) DeepCopy() *SqlPoolSecurityAlertPolicyObservation { + if in == nil { + return nil + } + out := new(SqlPoolSecurityAlertPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSecurityAlertPolicyParameters) DeepCopyInto(out *SqlPoolSecurityAlertPolicyParameters) { + *out = *in + if in.DisabledAlerts != nil { + in, out := &in.DisabledAlerts, &out.DisabledAlerts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EmailAccountAdminsEnabled != nil { + in, out := &in.EmailAccountAdminsEnabled, &out.EmailAccountAdminsEnabled + *out = new(bool) + **out = **in + } + if in.EmailAddresses != nil { + in, out := &in.EmailAddresses, &out.EmailAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PolicyState != nil { + in, out := &in.PolicyState, &out.PolicyState + *out = new(string) + **out = **in + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } + if in.SQLPoolID != nil { + in, out := &in.SQLPoolID, &out.SQLPoolID + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSecurityAlertPolicyParameters. +func (in *SqlPoolSecurityAlertPolicyParameters) DeepCopy() *SqlPoolSecurityAlertPolicyParameters { + if in == nil { + return nil + } + out := new(SqlPoolSecurityAlertPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSecurityAlertPolicySpec) DeepCopyInto(out *SqlPoolSecurityAlertPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSecurityAlertPolicySpec. +func (in *SqlPoolSecurityAlertPolicySpec) DeepCopy() *SqlPoolSecurityAlertPolicySpec { + if in == nil { + return nil + } + out := new(SqlPoolSecurityAlertPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSecurityAlertPolicyStatus) DeepCopyInto(out *SqlPoolSecurityAlertPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSecurityAlertPolicyStatus. +func (in *SqlPoolSecurityAlertPolicyStatus) DeepCopy() *SqlPoolSecurityAlertPolicyStatus { + if in == nil { + return nil + } + out := new(SqlPoolSecurityAlertPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolSpec) DeepCopyInto(out *SqlPoolSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolSpec. +func (in *SqlPoolSpec) DeepCopy() *SqlPoolSpec { + if in == nil { + return nil + } + out := new(SqlPoolSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolStatus) DeepCopyInto(out *SqlPoolStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolStatus. +func (in *SqlPoolStatus) DeepCopy() *SqlPoolStatus { + if in == nil { + return nil + } + out := new(SqlPoolStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolVulnerabilityAssessment) DeepCopyInto(out *SqlPoolVulnerabilityAssessment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolVulnerabilityAssessment. +func (in *SqlPoolVulnerabilityAssessment) DeepCopy() *SqlPoolVulnerabilityAssessment { + if in == nil { + return nil + } + out := new(SqlPoolVulnerabilityAssessment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolVulnerabilityAssessment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolVulnerabilityAssessmentList) DeepCopyInto(out *SqlPoolVulnerabilityAssessmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SqlPoolVulnerabilityAssessment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolVulnerabilityAssessmentList. +func (in *SqlPoolVulnerabilityAssessmentList) DeepCopy() *SqlPoolVulnerabilityAssessmentList { + if in == nil { + return nil + } + out := new(SqlPoolVulnerabilityAssessmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SqlPoolVulnerabilityAssessmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolVulnerabilityAssessmentObservation) DeepCopyInto(out *SqlPoolVulnerabilityAssessmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolVulnerabilityAssessmentObservation. +func (in *SqlPoolVulnerabilityAssessmentObservation) DeepCopy() *SqlPoolVulnerabilityAssessmentObservation { + if in == nil { + return nil + } + out := new(SqlPoolVulnerabilityAssessmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolVulnerabilityAssessmentParameters) DeepCopyInto(out *SqlPoolVulnerabilityAssessmentParameters) { + *out = *in + if in.RecurringScans != nil { + in, out := &in.RecurringScans, &out.RecurringScans + *out = make([]RecurringScansParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SQLPoolSecurityAlertPolicyID != nil { + in, out := &in.SQLPoolSecurityAlertPolicyID, &out.SQLPoolSecurityAlertPolicyID + *out = new(string) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageContainerPath != nil { + in, out := &in.StorageContainerPath, &out.StorageContainerPath + *out = new(string) + **out = **in + } + if in.StorageContainerSasKeySecretRef != nil { + in, out := &in.StorageContainerSasKeySecretRef, &out.StorageContainerSasKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolVulnerabilityAssessmentParameters. +func (in *SqlPoolVulnerabilityAssessmentParameters) DeepCopy() *SqlPoolVulnerabilityAssessmentParameters { + if in == nil { + return nil + } + out := new(SqlPoolVulnerabilityAssessmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolVulnerabilityAssessmentSpec) DeepCopyInto(out *SqlPoolVulnerabilityAssessmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolVulnerabilityAssessmentSpec. +func (in *SqlPoolVulnerabilityAssessmentSpec) DeepCopy() *SqlPoolVulnerabilityAssessmentSpec { + if in == nil { + return nil + } + out := new(SqlPoolVulnerabilityAssessmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SqlPoolVulnerabilityAssessmentStatus) DeepCopyInto(out *SqlPoolVulnerabilityAssessmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlPoolVulnerabilityAssessmentStatus. +func (in *SqlPoolVulnerabilityAssessmentStatus) DeepCopy() *SqlPoolVulnerabilityAssessmentStatus { + if in == nil { + return nil + } + out := new(SqlPoolVulnerabilityAssessmentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Workspace) DeepCopyInto(out *Workspace) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace. +func (in *Workspace) DeepCopy() *Workspace { + if in == nil { + return nil + } + out := new(Workspace) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Workspace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceExtendedAuditingPolicy) DeepCopyInto(out *WorkspaceExtendedAuditingPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceExtendedAuditingPolicy. +func (in *WorkspaceExtendedAuditingPolicy) DeepCopy() *WorkspaceExtendedAuditingPolicy { + if in == nil { + return nil + } + out := new(WorkspaceExtendedAuditingPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceExtendedAuditingPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceExtendedAuditingPolicyList) DeepCopyInto(out *WorkspaceExtendedAuditingPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WorkspaceExtendedAuditingPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceExtendedAuditingPolicyList. +func (in *WorkspaceExtendedAuditingPolicyList) DeepCopy() *WorkspaceExtendedAuditingPolicyList { + if in == nil { + return nil + } + out := new(WorkspaceExtendedAuditingPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceExtendedAuditingPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceExtendedAuditingPolicyObservation) DeepCopyInto(out *WorkspaceExtendedAuditingPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceExtendedAuditingPolicyObservation. +func (in *WorkspaceExtendedAuditingPolicyObservation) DeepCopy() *WorkspaceExtendedAuditingPolicyObservation { + if in == nil { + return nil + } + out := new(WorkspaceExtendedAuditingPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceExtendedAuditingPolicyParameters) DeepCopyInto(out *WorkspaceExtendedAuditingPolicyParameters) { + *out = *in + if in.LogMonitoringEnabled != nil { + in, out := &in.LogMonitoringEnabled, &out.LogMonitoringEnabled + *out = new(bool) + **out = **in + } + if in.RetentionInDays != nil { + in, out := &in.RetentionInDays, &out.RetentionInDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeyIsSecondary != nil { + in, out := &in.StorageAccountAccessKeyIsSecondary, &out.StorageAccountAccessKeyIsSecondary + *out = new(bool) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceExtendedAuditingPolicyParameters. +func (in *WorkspaceExtendedAuditingPolicyParameters) DeepCopy() *WorkspaceExtendedAuditingPolicyParameters { + if in == nil { + return nil + } + out := new(WorkspaceExtendedAuditingPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceExtendedAuditingPolicySpec) DeepCopyInto(out *WorkspaceExtendedAuditingPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceExtendedAuditingPolicySpec. +func (in *WorkspaceExtendedAuditingPolicySpec) DeepCopy() *WorkspaceExtendedAuditingPolicySpec { + if in == nil { + return nil + } + out := new(WorkspaceExtendedAuditingPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceExtendedAuditingPolicyStatus) DeepCopyInto(out *WorkspaceExtendedAuditingPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceExtendedAuditingPolicyStatus. +func (in *WorkspaceExtendedAuditingPolicyStatus) DeepCopy() *WorkspaceExtendedAuditingPolicyStatus { + if in == nil { + return nil + } + out := new(WorkspaceExtendedAuditingPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceKey) DeepCopyInto(out *WorkspaceKey) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceKey. +func (in *WorkspaceKey) DeepCopy() *WorkspaceKey { + if in == nil { + return nil + } + out := new(WorkspaceKey) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceKey) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceKeyList) DeepCopyInto(out *WorkspaceKeyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WorkspaceKey, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceKeyList. +func (in *WorkspaceKeyList) DeepCopy() *WorkspaceKeyList { + if in == nil { + return nil + } + out := new(WorkspaceKeyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceKeyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceKeyObservation) DeepCopyInto(out *WorkspaceKeyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceKeyObservation. +func (in *WorkspaceKeyObservation) DeepCopy() *WorkspaceKeyObservation { + if in == nil { + return nil + } + out := new(WorkspaceKeyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceKeyParameters) DeepCopyInto(out *WorkspaceKeyParameters) { + *out = *in + if in.Active != nil { + in, out := &in.Active, &out.Active + *out = new(bool) + **out = **in + } + if in.CusomterManagedKeyName != nil { + in, out := &in.CusomterManagedKeyName, &out.CusomterManagedKeyName + *out = new(string) + **out = **in + } + if in.CustomerManagedKeyVersionlessID != nil { + in, out := &in.CustomerManagedKeyVersionlessID, &out.CustomerManagedKeyVersionlessID + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceKeyParameters. +func (in *WorkspaceKeyParameters) DeepCopy() *WorkspaceKeyParameters { + if in == nil { + return nil + } + out := new(WorkspaceKeyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceKeySpec) DeepCopyInto(out *WorkspaceKeySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceKeySpec. +func (in *WorkspaceKeySpec) DeepCopy() *WorkspaceKeySpec { + if in == nil { + return nil + } + out := new(WorkspaceKeySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceKeyStatus) DeepCopyInto(out *WorkspaceKeyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceKeyStatus. +func (in *WorkspaceKeyStatus) DeepCopy() *WorkspaceKeyStatus { + if in == nil { + return nil + } + out := new(WorkspaceKeyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Workspace, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList. +func (in *WorkspaceList) DeepCopy() *WorkspaceList { + if in == nil { + return nil + } + out := new(WorkspaceList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { + *out = *in + if in.ConnectivityEndpoints != nil { + in, out := &in.ConnectivityEndpoints, &out.ConnectivityEndpoints + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation. +func (in *WorkspaceObservation) DeepCopy() *WorkspaceObservation { + if in == nil { + return nil + } + out := new(WorkspaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters) { + *out = *in + if in.AadAdmin != nil { + in, out := &in.AadAdmin, &out.AadAdmin + *out = make([]AadAdminParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AzureDevopsRepo != nil { + in, out := &in.AzureDevopsRepo, &out.AzureDevopsRepo + *out = make([]AzureDevopsRepoParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.CustomerManagedKey != nil { + in, out := &in.CustomerManagedKey, &out.CustomerManagedKey + *out = make([]CustomerManagedKeyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DataExfiltrationProtectionEnabled != nil { + in, out := &in.DataExfiltrationProtectionEnabled, &out.DataExfiltrationProtectionEnabled + *out = new(bool) + **out = **in + } + if in.GithubRepo != nil { + in, out := &in.GithubRepo, &out.GithubRepo + *out = make([]GithubRepoParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagedResourceGroupName != nil { + in, out := &in.ManagedResourceGroupName, &out.ManagedResourceGroupName + *out = new(string) + **out = **in + } + if in.ManagedVirtualNetworkEnabled != nil { + in, out := &in.ManagedVirtualNetworkEnabled, &out.ManagedVirtualNetworkEnabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SQLAdministratorLogin != nil { + in, out := &in.SQLAdministratorLogin, &out.SQLAdministratorLogin + *out = new(string) + **out = **in + } + out.SQLAdministratorLoginPasswordSecretRef = in.SQLAdministratorLoginPasswordSecretRef + if in.SQLIdentityControlEnabled != nil { + in, out := &in.SQLIdentityControlEnabled, &out.SQLIdentityControlEnabled + *out = new(bool) + **out = **in + } + if in.StorageDataLakeGen2FilesystemID != nil { + in, out := &in.StorageDataLakeGen2FilesystemID, &out.StorageDataLakeGen2FilesystemID + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters. +func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters { + if in == nil { + return nil + } + out := new(WorkspaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSecurityAlertPolicy) DeepCopyInto(out *WorkspaceSecurityAlertPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSecurityAlertPolicy. +func (in *WorkspaceSecurityAlertPolicy) DeepCopy() *WorkspaceSecurityAlertPolicy { + if in == nil { + return nil + } + out := new(WorkspaceSecurityAlertPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceSecurityAlertPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSecurityAlertPolicyList) DeepCopyInto(out *WorkspaceSecurityAlertPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WorkspaceSecurityAlertPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSecurityAlertPolicyList. +func (in *WorkspaceSecurityAlertPolicyList) DeepCopy() *WorkspaceSecurityAlertPolicyList { + if in == nil { + return nil + } + out := new(WorkspaceSecurityAlertPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceSecurityAlertPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSecurityAlertPolicyObservation) DeepCopyInto(out *WorkspaceSecurityAlertPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSecurityAlertPolicyObservation. +func (in *WorkspaceSecurityAlertPolicyObservation) DeepCopy() *WorkspaceSecurityAlertPolicyObservation { + if in == nil { + return nil + } + out := new(WorkspaceSecurityAlertPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSecurityAlertPolicyParameters) DeepCopyInto(out *WorkspaceSecurityAlertPolicyParameters) { + *out = *in + if in.DisabledAlerts != nil { + in, out := &in.DisabledAlerts, &out.DisabledAlerts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EmailAccountAdminsEnabled != nil { + in, out := &in.EmailAccountAdminsEnabled, &out.EmailAccountAdminsEnabled + *out = new(bool) + **out = **in + } + if in.EmailAddresses != nil { + in, out := &in.EmailAddresses, &out.EmailAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PolicyState != nil { + in, out := &in.PolicyState, &out.PolicyState + *out = new(string) + **out = **in + } + if in.RetentionDays != nil { + in, out := &in.RetentionDays, &out.RetentionDays + *out = new(int64) + **out = **in + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageEndpoint != nil { + in, out := &in.StorageEndpoint, &out.StorageEndpoint + *out = new(string) + **out = **in + } + if in.SynapseWorkspaceID != nil { + in, out := &in.SynapseWorkspaceID, &out.SynapseWorkspaceID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSecurityAlertPolicyParameters. +func (in *WorkspaceSecurityAlertPolicyParameters) DeepCopy() *WorkspaceSecurityAlertPolicyParameters { + if in == nil { + return nil + } + out := new(WorkspaceSecurityAlertPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSecurityAlertPolicySpec) DeepCopyInto(out *WorkspaceSecurityAlertPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSecurityAlertPolicySpec. +func (in *WorkspaceSecurityAlertPolicySpec) DeepCopy() *WorkspaceSecurityAlertPolicySpec { + if in == nil { + return nil + } + out := new(WorkspaceSecurityAlertPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSecurityAlertPolicyStatus) DeepCopyInto(out *WorkspaceSecurityAlertPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSecurityAlertPolicyStatus. +func (in *WorkspaceSecurityAlertPolicyStatus) DeepCopy() *WorkspaceSecurityAlertPolicyStatus { + if in == nil { + return nil + } + out := new(WorkspaceSecurityAlertPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec. +func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec { + if in == nil { + return nil + } + out := new(WorkspaceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus. +func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus { + if in == nil { + return nil + } + out := new(WorkspaceStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessment) DeepCopyInto(out *WorkspaceVulnerabilityAssessment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessment. +func (in *WorkspaceVulnerabilityAssessment) DeepCopy() *WorkspaceVulnerabilityAssessment { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceVulnerabilityAssessment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentList) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WorkspaceVulnerabilityAssessment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentList. +func (in *WorkspaceVulnerabilityAssessmentList) DeepCopy() *WorkspaceVulnerabilityAssessmentList { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WorkspaceVulnerabilityAssessmentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentObservation) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentObservation. +func (in *WorkspaceVulnerabilityAssessmentObservation) DeepCopy() *WorkspaceVulnerabilityAssessmentObservation { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentParameters) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentParameters) { + *out = *in + if in.RecurringScans != nil { + in, out := &in.RecurringScans, &out.RecurringScans + *out = make([]WorkspaceVulnerabilityAssessmentRecurringScansParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.StorageAccountAccessKeySecretRef != nil { + in, out := &in.StorageAccountAccessKeySecretRef, &out.StorageAccountAccessKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.StorageContainerPath != nil { + in, out := &in.StorageContainerPath, &out.StorageContainerPath + *out = new(string) + **out = **in + } + if in.StorageContainerSasKeySecretRef != nil { + in, out := &in.StorageContainerSasKeySecretRef, &out.StorageContainerSasKeySecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.WorkspaceSecurityAlertPolicyID != nil { + in, out := &in.WorkspaceSecurityAlertPolicyID, &out.WorkspaceSecurityAlertPolicyID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentParameters. +func (in *WorkspaceVulnerabilityAssessmentParameters) DeepCopy() *WorkspaceVulnerabilityAssessmentParameters { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentRecurringScansObservation) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentRecurringScansObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentRecurringScansObservation. +func (in *WorkspaceVulnerabilityAssessmentRecurringScansObservation) DeepCopy() *WorkspaceVulnerabilityAssessmentRecurringScansObservation { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentRecurringScansObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentRecurringScansParameters) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentRecurringScansParameters) { + *out = *in + if in.EmailSubscriptionAdminsEnabled != nil { + in, out := &in.EmailSubscriptionAdminsEnabled, &out.EmailSubscriptionAdminsEnabled + *out = new(bool) + **out = **in + } + if in.Emails != nil { + in, out := &in.Emails, &out.Emails + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentRecurringScansParameters. +func (in *WorkspaceVulnerabilityAssessmentRecurringScansParameters) DeepCopy() *WorkspaceVulnerabilityAssessmentRecurringScansParameters { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentRecurringScansParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentSpec) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentSpec. +func (in *WorkspaceVulnerabilityAssessmentSpec) DeepCopy() *WorkspaceVulnerabilityAssessmentSpec { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WorkspaceVulnerabilityAssessmentStatus) DeepCopyInto(out *WorkspaceVulnerabilityAssessmentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceVulnerabilityAssessmentStatus. +func (in *WorkspaceVulnerabilityAssessmentStatus) DeepCopy() *WorkspaceVulnerabilityAssessmentStatus { + if in == nil { + return nil + } + out := new(WorkspaceVulnerabilityAssessmentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/synapse/v1alpha1/zz_generated.managed.go b/apis/synapse/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..980ce13d2 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_generated.managed.go @@ -0,0 +1,972 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this FirewallRule. +func (mg *FirewallRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this FirewallRule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *FirewallRule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this FirewallRule. +func (mg *FirewallRule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this FirewallRule. +func (mg *FirewallRule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this FirewallRule. +func (mg *FirewallRule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this FirewallRule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *FirewallRule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this FirewallRule. +func (mg *FirewallRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this IntegrationRuntimeAzure. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *IntegrationRuntimeAzure) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this IntegrationRuntimeAzure. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *IntegrationRuntimeAzure) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this IntegrationRuntimeAzure. +func (mg *IntegrationRuntimeAzure) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this IntegrationRuntimeSelfHosted. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *IntegrationRuntimeSelfHosted) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this IntegrationRuntimeSelfHosted. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *IntegrationRuntimeSelfHosted) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this IntegrationRuntimeSelfHosted. +func (mg *IntegrationRuntimeSelfHosted) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this LinkedService. +func (mg *LinkedService) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this LinkedService. +func (mg *LinkedService) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this LinkedService. +func (mg *LinkedService) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this LinkedService. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *LinkedService) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this LinkedService. +func (mg *LinkedService) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this LinkedService. +func (mg *LinkedService) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this LinkedService. +func (mg *LinkedService) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this LinkedService. +func (mg *LinkedService) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this LinkedService. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *LinkedService) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this LinkedService. +func (mg *LinkedService) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagedPrivateEndpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagedPrivateEndpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagedPrivateEndpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagedPrivateEndpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagedPrivateEndpoint. +func (mg *ManagedPrivateEndpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PrivateLinkHub. +func (mg *PrivateLinkHub) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PrivateLinkHub. +func (mg *PrivateLinkHub) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PrivateLinkHub. +func (mg *PrivateLinkHub) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PrivateLinkHub. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PrivateLinkHub) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PrivateLinkHub. +func (mg *PrivateLinkHub) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PrivateLinkHub. +func (mg *PrivateLinkHub) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PrivateLinkHub. +func (mg *PrivateLinkHub) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PrivateLinkHub. +func (mg *PrivateLinkHub) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PrivateLinkHub. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PrivateLinkHub) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PrivateLinkHub. +func (mg *PrivateLinkHub) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this RoleAssignment. +func (mg *RoleAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this RoleAssignment. +func (mg *RoleAssignment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this RoleAssignment. +func (mg *RoleAssignment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this RoleAssignment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *RoleAssignment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this RoleAssignment. +func (mg *RoleAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this RoleAssignment. +func (mg *RoleAssignment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this RoleAssignment. +func (mg *RoleAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this RoleAssignment. +func (mg *RoleAssignment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this RoleAssignment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *RoleAssignment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this RoleAssignment. +func (mg *RoleAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SparkPool. +func (mg *SparkPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SparkPool. +func (mg *SparkPool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SparkPool. +func (mg *SparkPool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SparkPool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SparkPool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SparkPool. +func (mg *SparkPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SparkPool. +func (mg *SparkPool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SparkPool. +func (mg *SparkPool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SparkPool. +func (mg *SparkPool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SparkPool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SparkPool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SparkPool. +func (mg *SparkPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SqlPool. +func (mg *SqlPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SqlPool. +func (mg *SqlPool) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SqlPool. +func (mg *SqlPool) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SqlPool. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SqlPool) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SqlPool. +func (mg *SqlPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SqlPool. +func (mg *SqlPool) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SqlPool. +func (mg *SqlPool) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SqlPool. +func (mg *SqlPool) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SqlPool. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SqlPool) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SqlPool. +func (mg *SqlPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SqlPoolExtendedAuditingPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SqlPoolExtendedAuditingPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SqlPoolExtendedAuditingPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SqlPoolExtendedAuditingPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SqlPoolExtendedAuditingPolicy. +func (mg *SqlPoolExtendedAuditingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SqlPoolSecurityAlertPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SqlPoolSecurityAlertPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SqlPoolSecurityAlertPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SqlPoolSecurityAlertPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SqlPoolSecurityAlertPolicy. +func (mg *SqlPoolSecurityAlertPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this SqlPoolVulnerabilityAssessment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *SqlPoolVulnerabilityAssessment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this SqlPoolVulnerabilityAssessment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *SqlPoolVulnerabilityAssessment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this SqlPoolVulnerabilityAssessment. +func (mg *SqlPoolVulnerabilityAssessment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Workspace. +func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Workspace. +func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Workspace. +func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Workspace. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Workspace) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Workspace. +func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Workspace. +func (mg *Workspace) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Workspace. +func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Workspace. +func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Workspace. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Workspace) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Workspace. +func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WorkspaceExtendedAuditingPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WorkspaceExtendedAuditingPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WorkspaceExtendedAuditingPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WorkspaceExtendedAuditingPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WorkspaceExtendedAuditingPolicy. +func (mg *WorkspaceExtendedAuditingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WorkspaceKey. +func (mg *WorkspaceKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WorkspaceKey. +func (mg *WorkspaceKey) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WorkspaceKey. +func (mg *WorkspaceKey) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WorkspaceKey. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WorkspaceKey) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WorkspaceKey. +func (mg *WorkspaceKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WorkspaceKey. +func (mg *WorkspaceKey) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WorkspaceKey. +func (mg *WorkspaceKey) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WorkspaceKey. +func (mg *WorkspaceKey) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WorkspaceKey. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WorkspaceKey) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WorkspaceKey. +func (mg *WorkspaceKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WorkspaceSecurityAlertPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WorkspaceSecurityAlertPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WorkspaceSecurityAlertPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WorkspaceSecurityAlertPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WorkspaceSecurityAlertPolicy. +func (mg *WorkspaceSecurityAlertPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this WorkspaceVulnerabilityAssessment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *WorkspaceVulnerabilityAssessment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this WorkspaceVulnerabilityAssessment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *WorkspaceVulnerabilityAssessment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this WorkspaceVulnerabilityAssessment. +func (mg *WorkspaceVulnerabilityAssessment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/synapse/v1alpha1/zz_generated.managedlist.go b/apis/synapse/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..07e150e95 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,173 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this FirewallRuleList. +func (l *FirewallRuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this IntegrationRuntimeAzureList. +func (l *IntegrationRuntimeAzureList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this IntegrationRuntimeSelfHostedList. +func (l *IntegrationRuntimeSelfHostedList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this LinkedServiceList. +func (l *LinkedServiceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagedPrivateEndpointList. +func (l *ManagedPrivateEndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PrivateLinkHubList. +func (l *PrivateLinkHubList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this RoleAssignmentList. +func (l *RoleAssignmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SparkPoolList. +func (l *SparkPoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SqlPoolExtendedAuditingPolicyList. +func (l *SqlPoolExtendedAuditingPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SqlPoolList. +func (l *SqlPoolList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SqlPoolSecurityAlertPolicyList. +func (l *SqlPoolSecurityAlertPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SqlPoolVulnerabilityAssessmentList. +func (l *SqlPoolVulnerabilityAssessmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceExtendedAuditingPolicyList. +func (l *WorkspaceExtendedAuditingPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceKeyList. +func (l *WorkspaceKeyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceList. +func (l *WorkspaceList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceSecurityAlertPolicyList. +func (l *WorkspaceSecurityAlertPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this WorkspaceVulnerabilityAssessmentList. +func (l *WorkspaceVulnerabilityAssessmentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/synapse/v1alpha1/zz_groupversion_info.go b/apis/synapse/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..d985ec1d3 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=synapse.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "synapse.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/synapse/v1alpha1/zz_integrationruntimeazure_terraformed.go b/apis/synapse/v1alpha1/zz_integrationruntimeazure_terraformed.go new file mode 100755 index 000000000..f4b89e7d2 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_integrationruntimeazure_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this IntegrationRuntimeAzure +func (mg *IntegrationRuntimeAzure) GetTerraformResourceType() string { + return "azurerm_synapse_integration_runtime_azure" +} + +// GetConnectionDetailsMapping for this IntegrationRuntimeAzure +func (tr *IntegrationRuntimeAzure) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this IntegrationRuntimeAzure +func (tr *IntegrationRuntimeAzure) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this IntegrationRuntimeAzure +func (tr *IntegrationRuntimeAzure) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this IntegrationRuntimeAzure +func (tr *IntegrationRuntimeAzure) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this IntegrationRuntimeAzure +func (tr *IntegrationRuntimeAzure) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this IntegrationRuntimeAzure using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *IntegrationRuntimeAzure) LateInitialize(attrs []byte) (bool, error) { + params := &IntegrationRuntimeAzureParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *IntegrationRuntimeAzure) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_integrationruntimeazure_types.go b/apis/synapse/v1alpha1/zz_integrationruntimeazure_types.go new file mode 100755 index 000000000..f0a2a661e --- /dev/null +++ b/apis/synapse/v1alpha1/zz_integrationruntimeazure_types.go @@ -0,0 +1,102 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IntegrationRuntimeAzureObservation struct { +} + +type IntegrationRuntimeAzureParameters struct { + + // +kubebuilder:validation:Optional + ComputeType *string `json:"computeType,omitempty" tf:"compute_type,omitempty"` + + // +kubebuilder:validation:Optional + CoreCount *int64 `json:"coreCount,omitempty" tf:"core_count,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + TimeToLiveMin *int64 `json:"timeToLiveMin,omitempty" tf:"time_to_live_min,omitempty"` +} + +// IntegrationRuntimeAzureSpec defines the desired state of IntegrationRuntimeAzure +type IntegrationRuntimeAzureSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider IntegrationRuntimeAzureParameters `json:"forProvider"` +} + +// IntegrationRuntimeAzureStatus defines the observed state of IntegrationRuntimeAzure. +type IntegrationRuntimeAzureStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider IntegrationRuntimeAzureObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// IntegrationRuntimeAzure is the Schema for the IntegrationRuntimeAzures API +// +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,azurejet} +type IntegrationRuntimeAzure struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec IntegrationRuntimeAzureSpec `json:"spec"` + Status IntegrationRuntimeAzureStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// IntegrationRuntimeAzureList contains a list of IntegrationRuntimeAzures +type IntegrationRuntimeAzureList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []IntegrationRuntimeAzure `json:"items"` +} + +// Repository type metadata. +var ( + IntegrationRuntimeAzure_Kind = "IntegrationRuntimeAzure" + IntegrationRuntimeAzure_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IntegrationRuntimeAzure_Kind}.String() + IntegrationRuntimeAzure_KindAPIVersion = IntegrationRuntimeAzure_Kind + "." + CRDGroupVersion.String() + IntegrationRuntimeAzure_GroupVersionKind = CRDGroupVersion.WithKind(IntegrationRuntimeAzure_Kind) +) + +func init() { + SchemeBuilder.Register(&IntegrationRuntimeAzure{}, &IntegrationRuntimeAzureList{}) +} diff --git a/apis/synapse/v1alpha1/zz_integrationruntimeselfhosted_terraformed.go b/apis/synapse/v1alpha1/zz_integrationruntimeselfhosted_terraformed.go new file mode 100755 index 000000000..b0386ccea --- /dev/null +++ b/apis/synapse/v1alpha1/zz_integrationruntimeselfhosted_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this IntegrationRuntimeSelfHosted +func (mg *IntegrationRuntimeSelfHosted) GetTerraformResourceType() string { + return "azurerm_synapse_integration_runtime_self_hosted" +} + +// GetConnectionDetailsMapping for this IntegrationRuntimeSelfHosted +func (tr *IntegrationRuntimeSelfHosted) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this IntegrationRuntimeSelfHosted +func (tr *IntegrationRuntimeSelfHosted) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this IntegrationRuntimeSelfHosted +func (tr *IntegrationRuntimeSelfHosted) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this IntegrationRuntimeSelfHosted +func (tr *IntegrationRuntimeSelfHosted) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this IntegrationRuntimeSelfHosted +func (tr *IntegrationRuntimeSelfHosted) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this IntegrationRuntimeSelfHosted using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *IntegrationRuntimeSelfHosted) LateInitialize(attrs []byte) (bool, error) { + params := &IntegrationRuntimeSelfHostedParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *IntegrationRuntimeSelfHosted) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_integrationruntimeselfhosted_types.go b/apis/synapse/v1alpha1/zz_integrationruntimeselfhosted_types.go new file mode 100755 index 000000000..7195b2bb8 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_integrationruntimeselfhosted_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IntegrationRuntimeSelfHostedObservation struct { + AuthorizationKeyPrimary *string `json:"authorizationKeyPrimary,omitempty" tf:"authorization_key_primary,omitempty"` + + AuthorizationKeySecondary *string `json:"authorizationKeySecondary,omitempty" tf:"authorization_key_secondary,omitempty"` +} + +type IntegrationRuntimeSelfHostedParameters struct { + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` +} + +// IntegrationRuntimeSelfHostedSpec defines the desired state of IntegrationRuntimeSelfHosted +type IntegrationRuntimeSelfHostedSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider IntegrationRuntimeSelfHostedParameters `json:"forProvider"` +} + +// IntegrationRuntimeSelfHostedStatus defines the observed state of IntegrationRuntimeSelfHosted. +type IntegrationRuntimeSelfHostedStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider IntegrationRuntimeSelfHostedObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// IntegrationRuntimeSelfHosted is the Schema for the IntegrationRuntimeSelfHosteds API +// +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,azurejet} +type IntegrationRuntimeSelfHosted struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec IntegrationRuntimeSelfHostedSpec `json:"spec"` + Status IntegrationRuntimeSelfHostedStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// IntegrationRuntimeSelfHostedList contains a list of IntegrationRuntimeSelfHosteds +type IntegrationRuntimeSelfHostedList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []IntegrationRuntimeSelfHosted `json:"items"` +} + +// Repository type metadata. +var ( + IntegrationRuntimeSelfHosted_Kind = "IntegrationRuntimeSelfHosted" + IntegrationRuntimeSelfHosted_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: IntegrationRuntimeSelfHosted_Kind}.String() + IntegrationRuntimeSelfHosted_KindAPIVersion = IntegrationRuntimeSelfHosted_Kind + "." + CRDGroupVersion.String() + IntegrationRuntimeSelfHosted_GroupVersionKind = CRDGroupVersion.WithKind(IntegrationRuntimeSelfHosted_Kind) +) + +func init() { + SchemeBuilder.Register(&IntegrationRuntimeSelfHosted{}, &IntegrationRuntimeSelfHostedList{}) +} diff --git a/apis/synapse/v1alpha1/zz_linkedservice_terraformed.go b/apis/synapse/v1alpha1/zz_linkedservice_terraformed.go new file mode 100755 index 000000000..044fa85f4 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_linkedservice_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this LinkedService +func (mg *LinkedService) GetTerraformResourceType() string { + return "azurerm_synapse_linked_service" +} + +// GetConnectionDetailsMapping for this LinkedService +func (tr *LinkedService) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this LinkedService +func (tr *LinkedService) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this LinkedService +func (tr *LinkedService) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this LinkedService +func (tr *LinkedService) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this LinkedService +func (tr *LinkedService) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this LinkedService using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *LinkedService) LateInitialize(attrs []byte) (bool, error) { + params := &LinkedServiceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *LinkedService) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_linkedservice_types.go b/apis/synapse/v1alpha1/zz_linkedservice_types.go new file mode 100755 index 000000000..3261550fb --- /dev/null +++ b/apis/synapse/v1alpha1/zz_linkedservice_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type IntegrationRuntimeObservation struct { +} + +type IntegrationRuntimeParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` +} + +type LinkedServiceObservation struct { +} + +type LinkedServiceParameters struct { + + // +kubebuilder:validation:Optional + AdditionalProperties map[string]*string `json:"additionalProperties,omitempty" tf:"additional_properties,omitempty"` + + // +kubebuilder:validation:Optional + Annotations []*string `json:"annotations,omitempty" tf:"annotations,omitempty"` + + // +kubebuilder:validation:Optional + Description *string `json:"description,omitempty" tf:"description,omitempty"` + + // +kubebuilder:validation:Optional + IntegrationRuntime []IntegrationRuntimeParameters `json:"integrationRuntime,omitempty" tf:"integration_runtime,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + TypePropertiesJSON *string `json:"typePropertiesJson" tf:"type_properties_json,omitempty"` +} + +// LinkedServiceSpec defines the desired state of LinkedService +type LinkedServiceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider LinkedServiceParameters `json:"forProvider"` +} + +// LinkedServiceStatus defines the observed state of LinkedService. +type LinkedServiceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider LinkedServiceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// LinkedService is the Schema for the LinkedServices API +// +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,azurejet} +type LinkedService struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec LinkedServiceSpec `json:"spec"` + Status LinkedServiceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// LinkedServiceList contains a list of LinkedServices +type LinkedServiceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []LinkedService `json:"items"` +} + +// Repository type metadata. +var ( + LinkedService_Kind = "LinkedService" + LinkedService_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LinkedService_Kind}.String() + LinkedService_KindAPIVersion = LinkedService_Kind + "." + CRDGroupVersion.String() + LinkedService_GroupVersionKind = CRDGroupVersion.WithKind(LinkedService_Kind) +) + +func init() { + SchemeBuilder.Register(&LinkedService{}, &LinkedServiceList{}) +} diff --git a/apis/synapse/v1alpha1/zz_managedprivateendpoint_terraformed.go b/apis/synapse/v1alpha1/zz_managedprivateendpoint_terraformed.go new file mode 100755 index 000000000..38508cf82 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_managedprivateendpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagedPrivateEndpoint +func (mg *ManagedPrivateEndpoint) GetTerraformResourceType() string { + return "azurerm_synapse_managed_private_endpoint" +} + +// GetConnectionDetailsMapping for this ManagedPrivateEndpoint +func (tr *ManagedPrivateEndpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagedPrivateEndpoint +func (tr *ManagedPrivateEndpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagedPrivateEndpoint +func (tr *ManagedPrivateEndpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagedPrivateEndpoint +func (tr *ManagedPrivateEndpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagedPrivateEndpoint +func (tr *ManagedPrivateEndpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagedPrivateEndpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagedPrivateEndpoint) LateInitialize(attrs []byte) (bool, error) { + params := &ManagedPrivateEndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagedPrivateEndpoint) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_managedprivateendpoint_types.go b/apis/synapse/v1alpha1/zz_managedprivateendpoint_types.go new file mode 100755 index 000000000..54bb91db2 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_managedprivateendpoint_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ManagedPrivateEndpointObservation struct { +} + +type ManagedPrivateEndpointParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SubresourceName *string `json:"subresourceName" tf:"subresource_name,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` + + // +kubebuilder:validation:Required + TargetResourceID *string `json:"targetResourceId" tf:"target_resource_id,omitempty"` +} + +// ManagedPrivateEndpointSpec defines the desired state of ManagedPrivateEndpoint +type ManagedPrivateEndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagedPrivateEndpointParameters `json:"forProvider"` +} + +// ManagedPrivateEndpointStatus defines the observed state of ManagedPrivateEndpoint. +type ManagedPrivateEndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagedPrivateEndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagedPrivateEndpoint is the Schema for the ManagedPrivateEndpoints API +// +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,azurejet} +type ManagedPrivateEndpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagedPrivateEndpointSpec `json:"spec"` + Status ManagedPrivateEndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagedPrivateEndpointList contains a list of ManagedPrivateEndpoints +type ManagedPrivateEndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagedPrivateEndpoint `json:"items"` +} + +// Repository type metadata. +var ( + ManagedPrivateEndpoint_Kind = "ManagedPrivateEndpoint" + ManagedPrivateEndpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagedPrivateEndpoint_Kind}.String() + ManagedPrivateEndpoint_KindAPIVersion = ManagedPrivateEndpoint_Kind + "." + CRDGroupVersion.String() + ManagedPrivateEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(ManagedPrivateEndpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagedPrivateEndpoint{}, &ManagedPrivateEndpointList{}) +} diff --git a/apis/synapse/v1alpha1/zz_privatelinkhub_terraformed.go b/apis/synapse/v1alpha1/zz_privatelinkhub_terraformed.go new file mode 100755 index 000000000..8285bfdcc --- /dev/null +++ b/apis/synapse/v1alpha1/zz_privatelinkhub_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PrivateLinkHub +func (mg *PrivateLinkHub) GetTerraformResourceType() string { + return "azurerm_synapse_private_link_hub" +} + +// GetConnectionDetailsMapping for this PrivateLinkHub +func (tr *PrivateLinkHub) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this PrivateLinkHub +func (tr *PrivateLinkHub) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PrivateLinkHub +func (tr *PrivateLinkHub) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PrivateLinkHub +func (tr *PrivateLinkHub) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PrivateLinkHub +func (tr *PrivateLinkHub) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PrivateLinkHub using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PrivateLinkHub) LateInitialize(attrs []byte) (bool, error) { + params := &PrivateLinkHubParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PrivateLinkHub) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_privatelinkhub_types.go b/apis/synapse/v1alpha1/zz_privatelinkhub_types.go new file mode 100755 index 000000000..45ee7709d --- /dev/null +++ b/apis/synapse/v1alpha1/zz_privatelinkhub_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type PrivateLinkHubObservation struct { +} + +type PrivateLinkHubParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// PrivateLinkHubSpec defines the desired state of PrivateLinkHub +type PrivateLinkHubSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PrivateLinkHubParameters `json:"forProvider"` +} + +// PrivateLinkHubStatus defines the observed state of PrivateLinkHub. +type PrivateLinkHubStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PrivateLinkHubObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PrivateLinkHub is the Schema for the PrivateLinkHubs API +// +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,azurejet} +type PrivateLinkHub struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PrivateLinkHubSpec `json:"spec"` + Status PrivateLinkHubStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PrivateLinkHubList contains a list of PrivateLinkHubs +type PrivateLinkHubList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PrivateLinkHub `json:"items"` +} + +// Repository type metadata. +var ( + PrivateLinkHub_Kind = "PrivateLinkHub" + PrivateLinkHub_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PrivateLinkHub_Kind}.String() + PrivateLinkHub_KindAPIVersion = PrivateLinkHub_Kind + "." + CRDGroupVersion.String() + PrivateLinkHub_GroupVersionKind = CRDGroupVersion.WithKind(PrivateLinkHub_Kind) +) + +func init() { + SchemeBuilder.Register(&PrivateLinkHub{}, &PrivateLinkHubList{}) +} diff --git a/apis/synapse/v1alpha1/zz_roleassignment_terraformed.go b/apis/synapse/v1alpha1/zz_roleassignment_terraformed.go new file mode 100755 index 000000000..7fcc82f58 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_roleassignment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this RoleAssignment +func (mg *RoleAssignment) GetTerraformResourceType() string { + return "azurerm_synapse_role_assignment" +} + +// GetConnectionDetailsMapping for this RoleAssignment +func (tr *RoleAssignment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this RoleAssignment +func (tr *RoleAssignment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this RoleAssignment +func (tr *RoleAssignment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this RoleAssignment +func (tr *RoleAssignment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this RoleAssignment +func (tr *RoleAssignment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this RoleAssignment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *RoleAssignment) LateInitialize(attrs []byte) (bool, error) { + params := &RoleAssignmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *RoleAssignment) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/synapse/v1alpha1/zz_roleassignment_types.go b/apis/synapse/v1alpha1/zz_roleassignment_types.go new file mode 100755 index 000000000..632009a78 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_roleassignment_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RoleAssignmentObservation struct { +} + +type RoleAssignmentParameters struct { + + // +kubebuilder:validation:Required + PrincipalID *string `json:"principalId" tf:"principal_id,omitempty"` + + // +kubebuilder:validation:Required + RoleName *string `json:"roleName" tf:"role_name,omitempty"` + + // +kubebuilder:validation:Optional + SynapseSparkPoolID *string `json:"synapseSparkPoolId,omitempty" tf:"synapse_spark_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + SynapseWorkspaceID *string `json:"synapseWorkspaceId,omitempty" tf:"synapse_workspace_id,omitempty"` +} + +// RoleAssignmentSpec defines the desired state of RoleAssignment +type RoleAssignmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider RoleAssignmentParameters `json:"forProvider"` +} + +// RoleAssignmentStatus defines the observed state of RoleAssignment. +type RoleAssignmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider RoleAssignmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// RoleAssignment is the Schema for the RoleAssignments API +// +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,azurejet} +type RoleAssignment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RoleAssignmentSpec `json:"spec"` + Status RoleAssignmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// RoleAssignmentList contains a list of RoleAssignments +type RoleAssignmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []RoleAssignment `json:"items"` +} + +// Repository type metadata. +var ( + RoleAssignment_Kind = "RoleAssignment" + RoleAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RoleAssignment_Kind}.String() + RoleAssignment_KindAPIVersion = RoleAssignment_Kind + "." + CRDGroupVersion.String() + RoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssignment_Kind) +) + +func init() { + SchemeBuilder.Register(&RoleAssignment{}, &RoleAssignmentList{}) +} diff --git a/apis/synapse/v1alpha1/zz_sparkpool_terraformed.go b/apis/synapse/v1alpha1/zz_sparkpool_terraformed.go new file mode 100755 index 000000000..f37d5f680 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sparkpool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SparkPool +func (mg *SparkPool) GetTerraformResourceType() string { + return "azurerm_synapse_spark_pool" +} + +// GetConnectionDetailsMapping for this SparkPool +func (tr *SparkPool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SparkPool +func (tr *SparkPool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SparkPool +func (tr *SparkPool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SparkPool +func (tr *SparkPool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SparkPool +func (tr *SparkPool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SparkPool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SparkPool) LateInitialize(attrs []byte) (bool, error) { + params := &SparkPoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SparkPool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_sparkpool_types.go b/apis/synapse/v1alpha1/zz_sparkpool_types.go new file mode 100755 index 000000000..0a1ea0f6a --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sparkpool_types.go @@ -0,0 +1,150 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutoPauseObservation struct { +} + +type AutoPauseParameters struct { + + // +kubebuilder:validation:Required + DelayInMinutes *int64 `json:"delayInMinutes" tf:"delay_in_minutes,omitempty"` +} + +type AutoScaleObservation struct { +} + +type AutoScaleParameters struct { + + // +kubebuilder:validation:Required + MaxNodeCount *int64 `json:"maxNodeCount" tf:"max_node_count,omitempty"` + + // +kubebuilder:validation:Required + MinNodeCount *int64 `json:"minNodeCount" tf:"min_node_count,omitempty"` +} + +type LibraryRequirementObservation struct { +} + +type LibraryRequirementParameters struct { + + // +kubebuilder:validation:Required + Content *string `json:"content" tf:"content,omitempty"` + + // +kubebuilder:validation:Required + Filename *string `json:"filename" tf:"filename,omitempty"` +} + +type SparkPoolObservation struct { +} + +type SparkPoolParameters struct { + + // +kubebuilder:validation:Optional + AutoPause []AutoPauseParameters `json:"autoPause,omitempty" tf:"auto_pause,omitempty"` + + // +kubebuilder:validation:Optional + AutoScale []AutoScaleParameters `json:"autoScale,omitempty" tf:"auto_scale,omitempty"` + + // +kubebuilder:validation:Optional + LibraryRequirement []LibraryRequirementParameters `json:"libraryRequirement,omitempty" tf:"library_requirement,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"` + + // +kubebuilder:validation:Required + NodeSize *string `json:"nodeSize" tf:"node_size,omitempty"` + + // +kubebuilder:validation:Required + NodeSizeFamily *string `json:"nodeSizeFamily" tf:"node_size_family,omitempty"` + + // +kubebuilder:validation:Optional + SparkEventsFolder *string `json:"sparkEventsFolder,omitempty" tf:"spark_events_folder,omitempty"` + + // +kubebuilder:validation:Optional + SparkLogFolder *string `json:"sparkLogFolder,omitempty" tf:"spark_log_folder,omitempty"` + + // +kubebuilder:validation:Optional + SparkVersion *string `json:"sparkVersion,omitempty" tf:"spark_version,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SparkPoolSpec defines the desired state of SparkPool +type SparkPoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SparkPoolParameters `json:"forProvider"` +} + +// SparkPoolStatus defines the observed state of SparkPool. +type SparkPoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SparkPoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SparkPool is the Schema for the SparkPools API +// +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,azurejet} +type SparkPool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SparkPoolSpec `json:"spec"` + Status SparkPoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SparkPoolList contains a list of SparkPools +type SparkPoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SparkPool `json:"items"` +} + +// Repository type metadata. +var ( + SparkPool_Kind = "SparkPool" + SparkPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SparkPool_Kind}.String() + SparkPool_KindAPIVersion = SparkPool_Kind + "." + CRDGroupVersion.String() + SparkPool_GroupVersionKind = CRDGroupVersion.WithKind(SparkPool_Kind) +) + +func init() { + SchemeBuilder.Register(&SparkPool{}, &SparkPoolList{}) +} diff --git a/apis/synapse/v1alpha1/zz_sqlpool_terraformed.go b/apis/synapse/v1alpha1/zz_sqlpool_terraformed.go new file mode 100755 index 000000000..10fae4803 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpool_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SqlPool +func (mg *SqlPool) GetTerraformResourceType() string { + return "azurerm_synapse_sql_pool" +} + +// GetConnectionDetailsMapping for this SqlPool +func (tr *SqlPool) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this SqlPool +func (tr *SqlPool) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SqlPool +func (tr *SqlPool) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SqlPool +func (tr *SqlPool) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SqlPool +func (tr *SqlPool) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SqlPool using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SqlPool) LateInitialize(attrs []byte) (bool, error) { + params := &SqlPoolParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SqlPool) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_sqlpool_types.go b/apis/synapse/v1alpha1/zz_sqlpool_types.go new file mode 100755 index 000000000..53d409451 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpool_types.go @@ -0,0 +1,120 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RestoreObservation struct { +} + +type RestoreParameters struct { + + // +kubebuilder:validation:Required + PointInTime *string `json:"pointInTime" tf:"point_in_time,omitempty"` + + // +kubebuilder:validation:Required + SourceDatabaseID *string `json:"sourceDatabaseId" tf:"source_database_id,omitempty"` +} + +type SqlPoolObservation struct { +} + +type SqlPoolParameters struct { + + // +kubebuilder:validation:Optional + Collation *string `json:"collation,omitempty" tf:"collation,omitempty"` + + // +kubebuilder:validation:Optional + CreateMode *string `json:"createMode,omitempty" tf:"create_mode,omitempty"` + + // +kubebuilder:validation:Optional + DataEncrypted *bool `json:"dataEncrypted,omitempty" tf:"data_encrypted,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + RecoveryDatabaseID *string `json:"recoveryDatabaseId,omitempty" tf:"recovery_database_id,omitempty"` + + // +kubebuilder:validation:Optional + Restore []RestoreParameters `json:"restore,omitempty" tf:"restore,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// SqlPoolSpec defines the desired state of SqlPool +type SqlPoolSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SqlPoolParameters `json:"forProvider"` +} + +// SqlPoolStatus defines the observed state of SqlPool. +type SqlPoolStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SqlPoolObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPool is the Schema for the SqlPools API +// +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,azurejet} +type SqlPool struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SqlPoolSpec `json:"spec"` + Status SqlPoolStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolList contains a list of SqlPools +type SqlPoolList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SqlPool `json:"items"` +} + +// Repository type metadata. +var ( + SqlPool_Kind = "SqlPool" + SqlPool_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SqlPool_Kind}.String() + SqlPool_KindAPIVersion = SqlPool_Kind + "." + CRDGroupVersion.String() + SqlPool_GroupVersionKind = CRDGroupVersion.WithKind(SqlPool_Kind) +) + +func init() { + SchemeBuilder.Register(&SqlPool{}, &SqlPoolList{}) +} diff --git a/apis/synapse/v1alpha1/zz_sqlpoolextendedauditingpolicy_terraformed.go b/apis/synapse/v1alpha1/zz_sqlpoolextendedauditingpolicy_terraformed.go new file mode 100755 index 000000000..7efc802bb --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpoolextendedauditingpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SqlPoolExtendedAuditingPolicy +func (mg *SqlPoolExtendedAuditingPolicy) GetTerraformResourceType() string { + return "azurerm_synapse_sql_pool_extended_auditing_policy" +} + +// GetConnectionDetailsMapping for this SqlPoolExtendedAuditingPolicy +func (tr *SqlPoolExtendedAuditingPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this SqlPoolExtendedAuditingPolicy +func (tr *SqlPoolExtendedAuditingPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SqlPoolExtendedAuditingPolicy +func (tr *SqlPoolExtendedAuditingPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SqlPoolExtendedAuditingPolicy +func (tr *SqlPoolExtendedAuditingPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SqlPoolExtendedAuditingPolicy +func (tr *SqlPoolExtendedAuditingPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SqlPoolExtendedAuditingPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SqlPoolExtendedAuditingPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &SqlPoolExtendedAuditingPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SqlPoolExtendedAuditingPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_sqlpoolextendedauditingpolicy_types.go b/apis/synapse/v1alpha1/zz_sqlpoolextendedauditingpolicy_types.go new file mode 100755 index 000000000..a85a6e47d --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpoolextendedauditingpolicy_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SqlPoolExtendedAuditingPolicyObservation struct { +} + +type SqlPoolExtendedAuditingPolicyParameters struct { + + // +kubebuilder:validation:Optional + LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionInDays *int64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Required + SQLPoolID *string `json:"sqlPoolId" tf:"sql_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeyIsSecondary *bool `json:"storageAccountAccessKeyIsSecondary,omitempty" tf:"storage_account_access_key_is_secondary,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +// SqlPoolExtendedAuditingPolicySpec defines the desired state of SqlPoolExtendedAuditingPolicy +type SqlPoolExtendedAuditingPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SqlPoolExtendedAuditingPolicyParameters `json:"forProvider"` +} + +// SqlPoolExtendedAuditingPolicyStatus defines the observed state of SqlPoolExtendedAuditingPolicy. +type SqlPoolExtendedAuditingPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SqlPoolExtendedAuditingPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolExtendedAuditingPolicy is the Schema for the SqlPoolExtendedAuditingPolicys API +// +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,azurejet} +type SqlPoolExtendedAuditingPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SqlPoolExtendedAuditingPolicySpec `json:"spec"` + Status SqlPoolExtendedAuditingPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolExtendedAuditingPolicyList contains a list of SqlPoolExtendedAuditingPolicys +type SqlPoolExtendedAuditingPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SqlPoolExtendedAuditingPolicy `json:"items"` +} + +// Repository type metadata. +var ( + SqlPoolExtendedAuditingPolicy_Kind = "SqlPoolExtendedAuditingPolicy" + SqlPoolExtendedAuditingPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SqlPoolExtendedAuditingPolicy_Kind}.String() + SqlPoolExtendedAuditingPolicy_KindAPIVersion = SqlPoolExtendedAuditingPolicy_Kind + "." + CRDGroupVersion.String() + SqlPoolExtendedAuditingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SqlPoolExtendedAuditingPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&SqlPoolExtendedAuditingPolicy{}, &SqlPoolExtendedAuditingPolicyList{}) +} diff --git a/apis/synapse/v1alpha1/zz_sqlpoolsecurityalertpolicy_terraformed.go b/apis/synapse/v1alpha1/zz_sqlpoolsecurityalertpolicy_terraformed.go new file mode 100755 index 000000000..871eaf40c --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpoolsecurityalertpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SqlPoolSecurityAlertPolicy +func (mg *SqlPoolSecurityAlertPolicy) GetTerraformResourceType() string { + return "azurerm_synapse_sql_pool_security_alert_policy" +} + +// GetConnectionDetailsMapping for this SqlPoolSecurityAlertPolicy +func (tr *SqlPoolSecurityAlertPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this SqlPoolSecurityAlertPolicy +func (tr *SqlPoolSecurityAlertPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SqlPoolSecurityAlertPolicy +func (tr *SqlPoolSecurityAlertPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SqlPoolSecurityAlertPolicy +func (tr *SqlPoolSecurityAlertPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SqlPoolSecurityAlertPolicy +func (tr *SqlPoolSecurityAlertPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SqlPoolSecurityAlertPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SqlPoolSecurityAlertPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &SqlPoolSecurityAlertPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SqlPoolSecurityAlertPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_sqlpoolsecurityalertpolicy_types.go b/apis/synapse/v1alpha1/zz_sqlpoolsecurityalertpolicy_types.go new file mode 100755 index 000000000..3bc2f6e75 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpoolsecurityalertpolicy_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type SqlPoolSecurityAlertPolicyObservation struct { +} + +type SqlPoolSecurityAlertPolicyParameters struct { + + // +kubebuilder:validation:Optional + DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` + + // +kubebuilder:validation:Optional + EmailAccountAdminsEnabled *bool `json:"emailAccountAdminsEnabled,omitempty" tf:"email_account_admins_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"` + + // +kubebuilder:validation:Required + PolicyState *string `json:"policyState" tf:"policy_state,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDays *int64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` + + // +kubebuilder:validation:Required + SQLPoolID *string `json:"sqlPoolId" tf:"sql_pool_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` +} + +// SqlPoolSecurityAlertPolicySpec defines the desired state of SqlPoolSecurityAlertPolicy +type SqlPoolSecurityAlertPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SqlPoolSecurityAlertPolicyParameters `json:"forProvider"` +} + +// SqlPoolSecurityAlertPolicyStatus defines the observed state of SqlPoolSecurityAlertPolicy. +type SqlPoolSecurityAlertPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SqlPoolSecurityAlertPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolSecurityAlertPolicy is the Schema for the SqlPoolSecurityAlertPolicys API +// +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,azurejet} +type SqlPoolSecurityAlertPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SqlPoolSecurityAlertPolicySpec `json:"spec"` + Status SqlPoolSecurityAlertPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolSecurityAlertPolicyList contains a list of SqlPoolSecurityAlertPolicys +type SqlPoolSecurityAlertPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SqlPoolSecurityAlertPolicy `json:"items"` +} + +// Repository type metadata. +var ( + SqlPoolSecurityAlertPolicy_Kind = "SqlPoolSecurityAlertPolicy" + SqlPoolSecurityAlertPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SqlPoolSecurityAlertPolicy_Kind}.String() + SqlPoolSecurityAlertPolicy_KindAPIVersion = SqlPoolSecurityAlertPolicy_Kind + "." + CRDGroupVersion.String() + SqlPoolSecurityAlertPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SqlPoolSecurityAlertPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&SqlPoolSecurityAlertPolicy{}, &SqlPoolSecurityAlertPolicyList{}) +} diff --git a/apis/synapse/v1alpha1/zz_sqlpoolvulnerabilityassessment_terraformed.go b/apis/synapse/v1alpha1/zz_sqlpoolvulnerabilityassessment_terraformed.go new file mode 100755 index 000000000..3858d1296 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpoolvulnerabilityassessment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this SqlPoolVulnerabilityAssessment +func (mg *SqlPoolVulnerabilityAssessment) GetTerraformResourceType() string { + return "azurerm_synapse_sql_pool_vulnerability_assessment" +} + +// GetConnectionDetailsMapping for this SqlPoolVulnerabilityAssessment +func (tr *SqlPoolVulnerabilityAssessment) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef", "storage_container_sas_key": "spec.forProvider.storageContainerSasKeySecretRef"} +} + +// GetObservation of this SqlPoolVulnerabilityAssessment +func (tr *SqlPoolVulnerabilityAssessment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this SqlPoolVulnerabilityAssessment +func (tr *SqlPoolVulnerabilityAssessment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this SqlPoolVulnerabilityAssessment +func (tr *SqlPoolVulnerabilityAssessment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this SqlPoolVulnerabilityAssessment +func (tr *SqlPoolVulnerabilityAssessment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this SqlPoolVulnerabilityAssessment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *SqlPoolVulnerabilityAssessment) LateInitialize(attrs []byte) (bool, error) { + params := &SqlPoolVulnerabilityAssessmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *SqlPoolVulnerabilityAssessment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_sqlpoolvulnerabilityassessment_types.go b/apis/synapse/v1alpha1/zz_sqlpoolvulnerabilityassessment_types.go new file mode 100755 index 000000000..05d15f79a --- /dev/null +++ b/apis/synapse/v1alpha1/zz_sqlpoolvulnerabilityassessment_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type RecurringScansObservation struct { +} + +type RecurringScansParameters struct { + + // +kubebuilder:validation:Optional + EmailSubscriptionAdminsEnabled *bool `json:"emailSubscriptionAdminsEnabled,omitempty" tf:"email_subscription_admins_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` +} + +type SqlPoolVulnerabilityAssessmentObservation struct { +} + +type SqlPoolVulnerabilityAssessmentParameters struct { + + // +kubebuilder:validation:Optional + RecurringScans []RecurringScansParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"` + + // +kubebuilder:validation:Required + SQLPoolSecurityAlertPolicyID *string `json:"sqlPoolSecurityAlertPolicyId" tf:"sql_pool_security_alert_policy_id,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerPath *string `json:"storageContainerPath" tf:"storage_container_path,omitempty"` + + // +kubebuilder:validation:Optional + StorageContainerSasKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"` +} + +// SqlPoolVulnerabilityAssessmentSpec defines the desired state of SqlPoolVulnerabilityAssessment +type SqlPoolVulnerabilityAssessmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SqlPoolVulnerabilityAssessmentParameters `json:"forProvider"` +} + +// SqlPoolVulnerabilityAssessmentStatus defines the observed state of SqlPoolVulnerabilityAssessment. +type SqlPoolVulnerabilityAssessmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SqlPoolVulnerabilityAssessmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolVulnerabilityAssessment is the Schema for the SqlPoolVulnerabilityAssessments API +// +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,azurejet} +type SqlPoolVulnerabilityAssessment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SqlPoolVulnerabilityAssessmentSpec `json:"spec"` + Status SqlPoolVulnerabilityAssessmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SqlPoolVulnerabilityAssessmentList contains a list of SqlPoolVulnerabilityAssessments +type SqlPoolVulnerabilityAssessmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []SqlPoolVulnerabilityAssessment `json:"items"` +} + +// Repository type metadata. +var ( + SqlPoolVulnerabilityAssessment_Kind = "SqlPoolVulnerabilityAssessment" + SqlPoolVulnerabilityAssessment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SqlPoolVulnerabilityAssessment_Kind}.String() + SqlPoolVulnerabilityAssessment_KindAPIVersion = SqlPoolVulnerabilityAssessment_Kind + "." + CRDGroupVersion.String() + SqlPoolVulnerabilityAssessment_GroupVersionKind = CRDGroupVersion.WithKind(SqlPoolVulnerabilityAssessment_Kind) +) + +func init() { + SchemeBuilder.Register(&SqlPoolVulnerabilityAssessment{}, &SqlPoolVulnerabilityAssessmentList{}) +} diff --git a/apis/synapse/v1alpha1/zz_workspace_terraformed.go b/apis/synapse/v1alpha1/zz_workspace_terraformed.go new file mode 100755 index 000000000..b37d690b6 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspace_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Workspace +func (mg *Workspace) GetTerraformResourceType() string { + return "azurerm_synapse_workspace" +} + +// GetConnectionDetailsMapping for this Workspace +func (tr *Workspace) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"sql_administrator_login_password": "spec.forProvider.sqlAdministratorLoginPasswordSecretRef"} +} + +// GetObservation of this Workspace +func (tr *Workspace) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Workspace +func (tr *Workspace) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Workspace +func (tr *Workspace) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Workspace +func (tr *Workspace) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Workspace using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Workspace) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Workspace) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_workspace_types.go b/apis/synapse/v1alpha1/zz_workspace_types.go new file mode 100755 index 000000000..9e4cc92fa --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspace_types.go @@ -0,0 +1,212 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AadAdminObservation struct { +} + +type AadAdminParameters struct { + + // +kubebuilder:validation:Required + Login *string `json:"login" tf:"login,omitempty"` + + // +kubebuilder:validation:Required + ObjectID *string `json:"objectId" tf:"object_id,omitempty"` + + // +kubebuilder:validation:Required + TenantID *string `json:"tenantId" tf:"tenant_id,omitempty"` +} + +type AzureDevopsRepoObservation struct { +} + +type AzureDevopsRepoParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + BranchName *string `json:"branchName" tf:"branch_name,omitempty"` + + // +kubebuilder:validation:Required + ProjectName *string `json:"projectName" tf:"project_name,omitempty"` + + // +kubebuilder:validation:Required + RepositoryName *string `json:"repositoryName" tf:"repository_name,omitempty"` + + // +kubebuilder:validation:Required + RootFolder *string `json:"rootFolder" tf:"root_folder,omitempty"` + + // +kubebuilder:validation:Optional + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type CustomerManagedKeyObservation struct { +} + +type CustomerManagedKeyParameters struct { + + // +kubebuilder:validation:Optional + KeyName *string `json:"keyName,omitempty" tf:"key_name,omitempty"` + + // +kubebuilder:validation:Required + KeyVersionlessID *string `json:"keyVersionlessId" tf:"key_versionless_id,omitempty"` +} + +type GithubRepoObservation struct { +} + +type GithubRepoParameters struct { + + // +kubebuilder:validation:Required + AccountName *string `json:"accountName" tf:"account_name,omitempty"` + + // +kubebuilder:validation:Required + BranchName *string `json:"branchName" tf:"branch_name,omitempty"` + + // +kubebuilder:validation:Optional + GitURL *string `json:"gitUrl,omitempty" tf:"git_url,omitempty"` + + // +kubebuilder:validation:Required + RepositoryName *string `json:"repositoryName" tf:"repository_name,omitempty"` + + // +kubebuilder:validation:Required + RootFolder *string `json:"rootFolder" tf:"root_folder,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` + + Type *string `json:"type,omitempty" tf:"type,omitempty"` +} + +type IdentityParameters struct { +} + +type WorkspaceObservation struct { + ConnectivityEndpoints map[string]*string `json:"connectivityEndpoints,omitempty" tf:"connectivity_endpoints,omitempty"` + + Identity []IdentityObservation `json:"identity,omitempty" tf:"identity,omitempty"` +} + +type WorkspaceParameters struct { + + // +kubebuilder:validation:Optional + AadAdmin []AadAdminParameters `json:"aadAdmin,omitempty" tf:"aad_admin,omitempty"` + + // +kubebuilder:validation:Optional + AzureDevopsRepo []AzureDevopsRepoParameters `json:"azureDevopsRepo,omitempty" tf:"azure_devops_repo,omitempty"` + + // +kubebuilder:validation:Optional + CustomerManagedKey []CustomerManagedKeyParameters `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"` + + // +kubebuilder:validation:Optional + DataExfiltrationProtectionEnabled *bool `json:"dataExfiltrationProtectionEnabled,omitempty" tf:"data_exfiltration_protection_enabled,omitempty"` + + // +kubebuilder:validation:Optional + GithubRepo []GithubRepoParameters `json:"githubRepo,omitempty" tf:"github_repo,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty" tf:"managed_resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ManagedVirtualNetworkEnabled *bool `json:"managedVirtualNetworkEnabled,omitempty" tf:"managed_virtual_network_enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SQLAdministratorLogin *string `json:"sqlAdministratorLogin" tf:"sql_administrator_login,omitempty"` + + // +kubebuilder:validation:Required + SQLAdministratorLoginPasswordSecretRef v1.SecretKeySelector `json:"sqlAdministratorLoginPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Optional + SQLIdentityControlEnabled *bool `json:"sqlIdentityControlEnabled,omitempty" tf:"sql_identity_control_enabled,omitempty"` + + // +kubebuilder:validation:Required + StorageDataLakeGen2FilesystemID *string `json:"storageDataLakeGen2FilesystemId" tf:"storage_data_lake_gen2_filesystem_id,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// WorkspaceSpec defines the desired state of Workspace +type WorkspaceSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceParameters `json:"forProvider"` +} + +// WorkspaceStatus defines the observed state of Workspace. +type WorkspaceStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Workspace is the Schema for the Workspaces API +// +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,azurejet} +type Workspace struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceSpec `json:"spec"` + Status WorkspaceStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceList contains a list of Workspaces +type WorkspaceList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Workspace `json:"items"` +} + +// Repository type metadata. +var ( + Workspace_Kind = "Workspace" + Workspace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Workspace_Kind}.String() + Workspace_KindAPIVersion = Workspace_Kind + "." + CRDGroupVersion.String() + Workspace_GroupVersionKind = CRDGroupVersion.WithKind(Workspace_Kind) +) + +func init() { + SchemeBuilder.Register(&Workspace{}, &WorkspaceList{}) +} diff --git a/apis/synapse/v1alpha1/zz_workspaceextendedauditingpolicy_terraformed.go b/apis/synapse/v1alpha1/zz_workspaceextendedauditingpolicy_terraformed.go new file mode 100755 index 000000000..8d5a1675e --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspaceextendedauditingpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WorkspaceExtendedAuditingPolicy +func (mg *WorkspaceExtendedAuditingPolicy) GetTerraformResourceType() string { + return "azurerm_synapse_workspace_extended_auditing_policy" +} + +// GetConnectionDetailsMapping for this WorkspaceExtendedAuditingPolicy +func (tr *WorkspaceExtendedAuditingPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this WorkspaceExtendedAuditingPolicy +func (tr *WorkspaceExtendedAuditingPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WorkspaceExtendedAuditingPolicy +func (tr *WorkspaceExtendedAuditingPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WorkspaceExtendedAuditingPolicy +func (tr *WorkspaceExtendedAuditingPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WorkspaceExtendedAuditingPolicy +func (tr *WorkspaceExtendedAuditingPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WorkspaceExtendedAuditingPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WorkspaceExtendedAuditingPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceExtendedAuditingPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WorkspaceExtendedAuditingPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_workspaceextendedauditingpolicy_types.go b/apis/synapse/v1alpha1/zz_workspaceextendedauditingpolicy_types.go new file mode 100755 index 000000000..1c23c99c8 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspaceextendedauditingpolicy_types.go @@ -0,0 +1,99 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WorkspaceExtendedAuditingPolicyObservation struct { +} + +type WorkspaceExtendedAuditingPolicyParameters struct { + + // +kubebuilder:validation:Optional + LogMonitoringEnabled *bool `json:"logMonitoringEnabled,omitempty" tf:"log_monitoring_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RetentionInDays *int64 `json:"retentionInDays,omitempty" tf:"retention_in_days,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeyIsSecondary *bool `json:"storageAccountAccessKeyIsSecondary,omitempty" tf:"storage_account_access_key_is_secondary,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` +} + +// WorkspaceExtendedAuditingPolicySpec defines the desired state of WorkspaceExtendedAuditingPolicy +type WorkspaceExtendedAuditingPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceExtendedAuditingPolicyParameters `json:"forProvider"` +} + +// WorkspaceExtendedAuditingPolicyStatus defines the observed state of WorkspaceExtendedAuditingPolicy. +type WorkspaceExtendedAuditingPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceExtendedAuditingPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceExtendedAuditingPolicy is the Schema for the WorkspaceExtendedAuditingPolicys API +// +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,azurejet} +type WorkspaceExtendedAuditingPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceExtendedAuditingPolicySpec `json:"spec"` + Status WorkspaceExtendedAuditingPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceExtendedAuditingPolicyList contains a list of WorkspaceExtendedAuditingPolicys +type WorkspaceExtendedAuditingPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WorkspaceExtendedAuditingPolicy `json:"items"` +} + +// Repository type metadata. +var ( + WorkspaceExtendedAuditingPolicy_Kind = "WorkspaceExtendedAuditingPolicy" + WorkspaceExtendedAuditingPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceExtendedAuditingPolicy_Kind}.String() + WorkspaceExtendedAuditingPolicy_KindAPIVersion = WorkspaceExtendedAuditingPolicy_Kind + "." + CRDGroupVersion.String() + WorkspaceExtendedAuditingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceExtendedAuditingPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&WorkspaceExtendedAuditingPolicy{}, &WorkspaceExtendedAuditingPolicyList{}) +} diff --git a/apis/synapse/v1alpha1/zz_workspacekey_terraformed.go b/apis/synapse/v1alpha1/zz_workspacekey_terraformed.go new file mode 100755 index 000000000..f748bca8a --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspacekey_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WorkspaceKey +func (mg *WorkspaceKey) GetTerraformResourceType() string { + return "azurerm_synapse_workspace_key" +} + +// GetConnectionDetailsMapping for this WorkspaceKey +func (tr *WorkspaceKey) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this WorkspaceKey +func (tr *WorkspaceKey) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WorkspaceKey +func (tr *WorkspaceKey) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WorkspaceKey +func (tr *WorkspaceKey) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WorkspaceKey +func (tr *WorkspaceKey) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WorkspaceKey using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WorkspaceKey) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceKeyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WorkspaceKey) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_workspacekey_types.go b/apis/synapse/v1alpha1/zz_workspacekey_types.go new file mode 100755 index 000000000..26f29530b --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspacekey_types.go @@ -0,0 +1,93 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WorkspaceKeyObservation struct { +} + +type WorkspaceKeyParameters struct { + + // +kubebuilder:validation:Required + Active *bool `json:"active" tf:"active,omitempty"` + + // +kubebuilder:validation:Required + CusomterManagedKeyName *string `json:"cusomterManagedKeyName" tf:"cusomter_managed_key_name,omitempty"` + + // +kubebuilder:validation:Optional + CustomerManagedKeyVersionlessID *string `json:"customerManagedKeyVersionlessId,omitempty" tf:"customer_managed_key_versionless_id,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` +} + +// WorkspaceKeySpec defines the desired state of WorkspaceKey +type WorkspaceKeySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceKeyParameters `json:"forProvider"` +} + +// WorkspaceKeyStatus defines the observed state of WorkspaceKey. +type WorkspaceKeyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceKeyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceKey is the Schema for the WorkspaceKeys API +// +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,azurejet} +type WorkspaceKey struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceKeySpec `json:"spec"` + Status WorkspaceKeyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceKeyList contains a list of WorkspaceKeys +type WorkspaceKeyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WorkspaceKey `json:"items"` +} + +// Repository type metadata. +var ( + WorkspaceKey_Kind = "WorkspaceKey" + WorkspaceKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceKey_Kind}.String() + WorkspaceKey_KindAPIVersion = WorkspaceKey_Kind + "." + CRDGroupVersion.String() + WorkspaceKey_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceKey_Kind) +) + +func init() { + SchemeBuilder.Register(&WorkspaceKey{}, &WorkspaceKeyList{}) +} diff --git a/apis/synapse/v1alpha1/zz_workspacesecurityalertpolicy_terraformed.go b/apis/synapse/v1alpha1/zz_workspacesecurityalertpolicy_terraformed.go new file mode 100755 index 000000000..e63317728 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspacesecurityalertpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WorkspaceSecurityAlertPolicy +func (mg *WorkspaceSecurityAlertPolicy) GetTerraformResourceType() string { + return "azurerm_synapse_workspace_security_alert_policy" +} + +// GetConnectionDetailsMapping for this WorkspaceSecurityAlertPolicy +func (tr *WorkspaceSecurityAlertPolicy) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef"} +} + +// GetObservation of this WorkspaceSecurityAlertPolicy +func (tr *WorkspaceSecurityAlertPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WorkspaceSecurityAlertPolicy +func (tr *WorkspaceSecurityAlertPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WorkspaceSecurityAlertPolicy +func (tr *WorkspaceSecurityAlertPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WorkspaceSecurityAlertPolicy +func (tr *WorkspaceSecurityAlertPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WorkspaceSecurityAlertPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WorkspaceSecurityAlertPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceSecurityAlertPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WorkspaceSecurityAlertPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_workspacesecurityalertpolicy_types.go b/apis/synapse/v1alpha1/zz_workspacesecurityalertpolicy_types.go new file mode 100755 index 000000000..5b96e34cd --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspacesecurityalertpolicy_types.go @@ -0,0 +1,105 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WorkspaceSecurityAlertPolicyObservation struct { +} + +type WorkspaceSecurityAlertPolicyParameters struct { + + // +kubebuilder:validation:Optional + DisabledAlerts []*string `json:"disabledAlerts,omitempty" tf:"disabled_alerts,omitempty"` + + // +kubebuilder:validation:Optional + EmailAccountAdminsEnabled *bool `json:"emailAccountAdminsEnabled,omitempty" tf:"email_account_admins_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EmailAddresses []*string `json:"emailAddresses,omitempty" tf:"email_addresses,omitempty"` + + // +kubebuilder:validation:Required + PolicyState *string `json:"policyState" tf:"policy_state,omitempty"` + + // +kubebuilder:validation:Optional + RetentionDays *int64 `json:"retentionDays,omitempty" tf:"retention_days,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + StorageEndpoint *string `json:"storageEndpoint,omitempty" tf:"storage_endpoint,omitempty"` + + // +kubebuilder:validation:Required + SynapseWorkspaceID *string `json:"synapseWorkspaceId" tf:"synapse_workspace_id,omitempty"` +} + +// WorkspaceSecurityAlertPolicySpec defines the desired state of WorkspaceSecurityAlertPolicy +type WorkspaceSecurityAlertPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceSecurityAlertPolicyParameters `json:"forProvider"` +} + +// WorkspaceSecurityAlertPolicyStatus defines the observed state of WorkspaceSecurityAlertPolicy. +type WorkspaceSecurityAlertPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceSecurityAlertPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceSecurityAlertPolicy is the Schema for the WorkspaceSecurityAlertPolicys API +// +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,azurejet} +type WorkspaceSecurityAlertPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceSecurityAlertPolicySpec `json:"spec"` + Status WorkspaceSecurityAlertPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceSecurityAlertPolicyList contains a list of WorkspaceSecurityAlertPolicys +type WorkspaceSecurityAlertPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WorkspaceSecurityAlertPolicy `json:"items"` +} + +// Repository type metadata. +var ( + WorkspaceSecurityAlertPolicy_Kind = "WorkspaceSecurityAlertPolicy" + WorkspaceSecurityAlertPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceSecurityAlertPolicy_Kind}.String() + WorkspaceSecurityAlertPolicy_KindAPIVersion = WorkspaceSecurityAlertPolicy_Kind + "." + CRDGroupVersion.String() + WorkspaceSecurityAlertPolicy_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceSecurityAlertPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&WorkspaceSecurityAlertPolicy{}, &WorkspaceSecurityAlertPolicyList{}) +} diff --git a/apis/synapse/v1alpha1/zz_workspacevulnerabilityassessment_terraformed.go b/apis/synapse/v1alpha1/zz_workspacevulnerabilityassessment_terraformed.go new file mode 100755 index 000000000..21efa47b7 --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspacevulnerabilityassessment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this WorkspaceVulnerabilityAssessment +func (mg *WorkspaceVulnerabilityAssessment) GetTerraformResourceType() string { + return "azurerm_synapse_workspace_vulnerability_assessment" +} + +// GetConnectionDetailsMapping for this WorkspaceVulnerabilityAssessment +func (tr *WorkspaceVulnerabilityAssessment) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"storage_account_access_key": "spec.forProvider.storageAccountAccessKeySecretRef", "storage_container_sas_key": "spec.forProvider.storageContainerSasKeySecretRef"} +} + +// GetObservation of this WorkspaceVulnerabilityAssessment +func (tr *WorkspaceVulnerabilityAssessment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this WorkspaceVulnerabilityAssessment +func (tr *WorkspaceVulnerabilityAssessment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this WorkspaceVulnerabilityAssessment +func (tr *WorkspaceVulnerabilityAssessment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this WorkspaceVulnerabilityAssessment +func (tr *WorkspaceVulnerabilityAssessment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this WorkspaceVulnerabilityAssessment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *WorkspaceVulnerabilityAssessment) LateInitialize(attrs []byte) (bool, error) { + params := &WorkspaceVulnerabilityAssessmentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *WorkspaceVulnerabilityAssessment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/synapse/v1alpha1/zz_workspacevulnerabilityassessment_types.go b/apis/synapse/v1alpha1/zz_workspacevulnerabilityassessment_types.go new file mode 100755 index 000000000..3d5dec6df --- /dev/null +++ b/apis/synapse/v1alpha1/zz_workspacevulnerabilityassessment_types.go @@ -0,0 +1,111 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type WorkspaceVulnerabilityAssessmentObservation struct { +} + +type WorkspaceVulnerabilityAssessmentParameters struct { + + // +kubebuilder:validation:Optional + RecurringScans []WorkspaceVulnerabilityAssessmentRecurringScansParameters `json:"recurringScans,omitempty" tf:"recurring_scans,omitempty"` + + // +kubebuilder:validation:Optional + StorageAccountAccessKeySecretRef *v1.SecretKeySelector `json:"storageAccountAccessKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + StorageContainerPath *string `json:"storageContainerPath" tf:"storage_container_path,omitempty"` + + // +kubebuilder:validation:Optional + StorageContainerSasKeySecretRef *v1.SecretKeySelector `json:"storageContainerSasKeySecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + WorkspaceSecurityAlertPolicyID *string `json:"workspaceSecurityAlertPolicyId" tf:"workspace_security_alert_policy_id,omitempty"` +} + +type WorkspaceVulnerabilityAssessmentRecurringScansObservation struct { +} + +type WorkspaceVulnerabilityAssessmentRecurringScansParameters struct { + + // +kubebuilder:validation:Optional + EmailSubscriptionAdminsEnabled *bool `json:"emailSubscriptionAdminsEnabled,omitempty" tf:"email_subscription_admins_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Emails []*string `json:"emails,omitempty" tf:"emails,omitempty"` + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` +} + +// WorkspaceVulnerabilityAssessmentSpec defines the desired state of WorkspaceVulnerabilityAssessment +type WorkspaceVulnerabilityAssessmentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider WorkspaceVulnerabilityAssessmentParameters `json:"forProvider"` +} + +// WorkspaceVulnerabilityAssessmentStatus defines the observed state of WorkspaceVulnerabilityAssessment. +type WorkspaceVulnerabilityAssessmentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider WorkspaceVulnerabilityAssessmentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceVulnerabilityAssessment is the Schema for the WorkspaceVulnerabilityAssessments API +// +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,azurejet} +type WorkspaceVulnerabilityAssessment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec WorkspaceVulnerabilityAssessmentSpec `json:"spec"` + Status WorkspaceVulnerabilityAssessmentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// WorkspaceVulnerabilityAssessmentList contains a list of WorkspaceVulnerabilityAssessments +type WorkspaceVulnerabilityAssessmentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WorkspaceVulnerabilityAssessment `json:"items"` +} + +// Repository type metadata. +var ( + WorkspaceVulnerabilityAssessment_Kind = "WorkspaceVulnerabilityAssessment" + WorkspaceVulnerabilityAssessment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: WorkspaceVulnerabilityAssessment_Kind}.String() + WorkspaceVulnerabilityAssessment_KindAPIVersion = WorkspaceVulnerabilityAssessment_Kind + "." + CRDGroupVersion.String() + WorkspaceVulnerabilityAssessment_GroupVersionKind = CRDGroupVersion.WithKind(WorkspaceVulnerabilityAssessment_Kind) +) + +func init() { + SchemeBuilder.Register(&WorkspaceVulnerabilityAssessment{}, &WorkspaceVulnerabilityAssessmentList{}) +} diff --git a/apis/template/v1alpha1/zz_deployment_terraformed.go b/apis/template/v1alpha1/zz_deployment_terraformed.go new file mode 100755 index 000000000..7e973ee25 --- /dev/null +++ b/apis/template/v1alpha1/zz_deployment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Deployment +func (mg *Deployment) GetTerraformResourceType() string { + return "azurerm_template_deployment" +} + +// GetConnectionDetailsMapping for this Deployment +func (tr *Deployment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Deployment +func (tr *Deployment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Deployment +func (tr *Deployment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Deployment +func (tr *Deployment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Deployment +func (tr *Deployment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Deployment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Deployment) LateInitialize(attrs []byte) (bool, error) { + params := &DeploymentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Deployment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/template/v1alpha1/zz_deployment_types.go b/apis/template/v1alpha1/zz_deployment_types.go new file mode 100755 index 000000000..6865e9c67 --- /dev/null +++ b/apis/template/v1alpha1/zz_deployment_types.go @@ -0,0 +1,100 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DeploymentObservation struct { + Outputs map[string]*string `json:"outputs,omitempty" tf:"outputs,omitempty"` +} + +type DeploymentParameters struct { + + // +kubebuilder:validation:Required + DeploymentMode *string `json:"deploymentMode" tf:"deployment_mode,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` + + // +kubebuilder:validation:Optional + ParametersBody *string `json:"parametersBody,omitempty" tf:"parameters_body,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + TemplateBody *string `json:"templateBody,omitempty" tf:"template_body,omitempty"` +} + +// DeploymentSpec defines the desired state of Deployment +type DeploymentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider DeploymentParameters `json:"forProvider"` +} + +// DeploymentStatus defines the observed state of Deployment. +type DeploymentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider DeploymentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Deployment is the Schema for the Deployments API +// +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,azurejet} +type Deployment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DeploymentSpec `json:"spec"` + Status DeploymentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// DeploymentList contains a list of Deployments +type DeploymentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Deployment `json:"items"` +} + +// Repository type metadata. +var ( + Deployment_Kind = "Deployment" + Deployment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Deployment_Kind}.String() + Deployment_KindAPIVersion = Deployment_Kind + "." + CRDGroupVersion.String() + Deployment_GroupVersionKind = CRDGroupVersion.WithKind(Deployment_Kind) +) + +func init() { + SchemeBuilder.Register(&Deployment{}, &DeploymentList{}) +} diff --git a/apis/template/v1alpha1/zz_generated.deepcopy.go b/apis/template/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..aae32367f --- /dev/null +++ b/apis/template/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,203 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Deployment) DeepCopyInto(out *Deployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. +func (in *Deployment) DeepCopy() *Deployment { + if in == nil { + return nil + } + out := new(Deployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Deployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Deployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. +func (in *DeploymentList) DeepCopy() *DeploymentList { + if in == nil { + return nil + } + out := new(DeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation) { + *out = *in + if in.Outputs != nil { + in, out := &in.Outputs, &out.Outputs + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentObservation. +func (in *DeploymentObservation) DeepCopy() *DeploymentObservation { + if in == nil { + return nil + } + out := new(DeploymentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters) { + *out = *in + if in.DeploymentMode != nil { + in, out := &in.DeploymentMode, &out.DeploymentMode + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.ParametersBody != nil { + in, out := &in.ParametersBody, &out.ParametersBody + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.TemplateBody != nil { + in, out := &in.TemplateBody, &out.TemplateBody + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentParameters. +func (in *DeploymentParameters) DeepCopy() *DeploymentParameters { + if in == nil { + return nil + } + out := new(DeploymentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. +func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { + if in == nil { + return nil + } + out := new(DeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. +func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { + if in == nil { + return nil + } + out := new(DeploymentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/template/v1alpha1/zz_generated.managed.go b/apis/template/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..92fbeedb7 --- /dev/null +++ b/apis/template/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Deployment. +func (mg *Deployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Deployment. +func (mg *Deployment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Deployment. +func (mg *Deployment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Deployment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Deployment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Deployment. +func (mg *Deployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Deployment. +func (mg *Deployment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Deployment. +func (mg *Deployment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Deployment. +func (mg *Deployment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Deployment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Deployment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Deployment. +func (mg *Deployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/template/v1alpha1/zz_generated.managedlist.go b/apis/template/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..b1bca29bf --- /dev/null +++ b/apis/template/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this DeploymentList. +func (l *DeploymentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/template/v1alpha1/zz_groupversion_info.go b/apis/template/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..30f5acce2 --- /dev/null +++ b/apis/template/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=template.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "template.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/tenant/v1alpha1/zz_generated.deepcopy.go b/apis/tenant/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..a386449b0 --- /dev/null +++ b/apis/tenant/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,198 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeployment) DeepCopyInto(out *TemplateDeployment) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeployment. +func (in *TemplateDeployment) DeepCopy() *TemplateDeployment { + if in == nil { + return nil + } + out := new(TemplateDeployment) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TemplateDeployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentList) DeepCopyInto(out *TemplateDeploymentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]TemplateDeployment, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentList. +func (in *TemplateDeploymentList) DeepCopy() *TemplateDeploymentList { + if in == nil { + return nil + } + out := new(TemplateDeploymentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *TemplateDeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentObservation) DeepCopyInto(out *TemplateDeploymentObservation) { + *out = *in + if in.OutputContent != nil { + in, out := &in.OutputContent, &out.OutputContent + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentObservation. +func (in *TemplateDeploymentObservation) DeepCopy() *TemplateDeploymentObservation { + if in == nil { + return nil + } + out := new(TemplateDeploymentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentParameters) DeepCopyInto(out *TemplateDeploymentParameters) { + *out = *in + if in.DebugLevel != nil { + in, out := &in.DebugLevel, &out.DebugLevel + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ParametersContent != nil { + in, out := &in.ParametersContent, &out.ParametersContent + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TemplateContent != nil { + in, out := &in.TemplateContent, &out.TemplateContent + *out = new(string) + **out = **in + } + if in.TemplateSpecVersionID != nil { + in, out := &in.TemplateSpecVersionID, &out.TemplateSpecVersionID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentParameters. +func (in *TemplateDeploymentParameters) DeepCopy() *TemplateDeploymentParameters { + if in == nil { + return nil + } + out := new(TemplateDeploymentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentSpec) DeepCopyInto(out *TemplateDeploymentSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentSpec. +func (in *TemplateDeploymentSpec) DeepCopy() *TemplateDeploymentSpec { + if in == nil { + return nil + } + out := new(TemplateDeploymentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TemplateDeploymentStatus) DeepCopyInto(out *TemplateDeploymentStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateDeploymentStatus. +func (in *TemplateDeploymentStatus) DeepCopy() *TemplateDeploymentStatus { + if in == nil { + return nil + } + out := new(TemplateDeploymentStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/tenant/v1alpha1/zz_generated.managed.go b/apis/tenant/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..b3856f156 --- /dev/null +++ b/apis/tenant/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this TemplateDeployment. +func (mg *TemplateDeployment) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this TemplateDeployment. +func (mg *TemplateDeployment) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this TemplateDeployment. +func (mg *TemplateDeployment) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this TemplateDeployment. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *TemplateDeployment) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this TemplateDeployment. +func (mg *TemplateDeployment) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this TemplateDeployment. +func (mg *TemplateDeployment) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this TemplateDeployment. +func (mg *TemplateDeployment) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this TemplateDeployment. +func (mg *TemplateDeployment) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this TemplateDeployment. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *TemplateDeployment) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this TemplateDeployment. +func (mg *TemplateDeployment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/tenant/v1alpha1/zz_generated.managedlist.go b/apis/tenant/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..1547a0ee2 --- /dev/null +++ b/apis/tenant/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this TemplateDeploymentList. +func (l *TemplateDeploymentList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/tenant/v1alpha1/zz_groupversion_info.go b/apis/tenant/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..a87242f77 --- /dev/null +++ b/apis/tenant/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=tenant.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "tenant.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/tenant/v1alpha1/zz_templatedeployment_terraformed.go b/apis/tenant/v1alpha1/zz_templatedeployment_terraformed.go new file mode 100755 index 000000000..edcc9799b --- /dev/null +++ b/apis/tenant/v1alpha1/zz_templatedeployment_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this TemplateDeployment +func (mg *TemplateDeployment) GetTerraformResourceType() string { + return "azurerm_tenant_template_deployment" +} + +// GetConnectionDetailsMapping for this TemplateDeployment +func (tr *TemplateDeployment) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this TemplateDeployment +func (tr *TemplateDeployment) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this TemplateDeployment +func (tr *TemplateDeployment) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this TemplateDeployment +func (tr *TemplateDeployment) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this TemplateDeployment +func (tr *TemplateDeployment) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this TemplateDeployment using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *TemplateDeployment) LateInitialize(attrs []byte) (bool, error) { + params := &TemplateDeploymentParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *TemplateDeployment) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/tenant/v1alpha1/zz_templatedeployment_types.go b/apis/tenant/v1alpha1/zz_templatedeployment_types.go new file mode 100755 index 000000000..4fac236db --- /dev/null +++ b/apis/tenant/v1alpha1/zz_templatedeployment_types.go @@ -0,0 +1,103 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type TemplateDeploymentObservation struct { + OutputContent *string `json:"outputContent,omitempty" tf:"output_content,omitempty"` +} + +type TemplateDeploymentParameters struct { + + // +kubebuilder:validation:Optional + DebugLevel *string `json:"debugLevel,omitempty" tf:"debug_level,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ParametersContent *string `json:"parametersContent,omitempty" tf:"parameters_content,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TemplateContent *string `json:"templateContent,omitempty" tf:"template_content,omitempty"` + + // +kubebuilder:validation:Optional + TemplateSpecVersionID *string `json:"templateSpecVersionId,omitempty" tf:"template_spec_version_id,omitempty"` +} + +// TemplateDeploymentSpec defines the desired state of TemplateDeployment +type TemplateDeploymentSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider TemplateDeploymentParameters `json:"forProvider"` +} + +// TemplateDeploymentStatus defines the observed state of TemplateDeployment. +type TemplateDeploymentStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider TemplateDeploymentObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// TemplateDeployment is the Schema for the TemplateDeployments API +// +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,azurejet} +type TemplateDeployment struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec TemplateDeploymentSpec `json:"spec"` + Status TemplateDeploymentStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// TemplateDeploymentList contains a list of TemplateDeployments +type TemplateDeploymentList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []TemplateDeployment `json:"items"` +} + +// Repository type metadata. +var ( + TemplateDeployment_Kind = "TemplateDeployment" + TemplateDeployment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TemplateDeployment_Kind}.String() + TemplateDeployment_KindAPIVersion = TemplateDeployment_Kind + "." + CRDGroupVersion.String() + TemplateDeployment_GroupVersionKind = CRDGroupVersion.WithKind(TemplateDeployment_Kind) +) + +func init() { + SchemeBuilder.Register(&TemplateDeployment{}, &TemplateDeploymentList{}) +} diff --git a/apis/traffic/v1alpha1/zz_generated.deepcopy.go b/apis/traffic/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..ce10d0fab --- /dev/null +++ b/apis/traffic/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,673 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHeaderObservation) DeepCopyInto(out *CustomHeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHeaderObservation. +func (in *CustomHeaderObservation) DeepCopy() *CustomHeaderObservation { + if in == nil { + return nil + } + out := new(CustomHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomHeaderParameters) DeepCopyInto(out *CustomHeaderParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomHeaderParameters. +func (in *CustomHeaderParameters) DeepCopy() *CustomHeaderParameters { + if in == nil { + return nil + } + out := new(CustomHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSConfigObservation) DeepCopyInto(out *DNSConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfigObservation. +func (in *DNSConfigObservation) DeepCopy() *DNSConfigObservation { + if in == nil { + return nil + } + out := new(DNSConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DNSConfigParameters) DeepCopyInto(out *DNSConfigParameters) { + *out = *in + if in.RelativeName != nil { + in, out := &in.RelativeName, &out.RelativeName + *out = new(string) + **out = **in + } + if in.TTL != nil { + in, out := &in.TTL, &out.TTL + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConfigParameters. +func (in *DNSConfigParameters) DeepCopy() *DNSConfigParameters { + if in == nil { + return nil + } + out := new(DNSConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerEndpoint) DeepCopyInto(out *ManagerEndpoint) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerEndpoint. +func (in *ManagerEndpoint) DeepCopy() *ManagerEndpoint { + if in == nil { + return nil + } + out := new(ManagerEndpoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagerEndpoint) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerEndpointList) DeepCopyInto(out *ManagerEndpointList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagerEndpoint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerEndpointList. +func (in *ManagerEndpointList) DeepCopy() *ManagerEndpointList { + if in == nil { + return nil + } + out := new(ManagerEndpointList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagerEndpointList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerEndpointObservation) DeepCopyInto(out *ManagerEndpointObservation) { + *out = *in + if in.EndpointMonitorStatus != nil { + in, out := &in.EndpointMonitorStatus, &out.EndpointMonitorStatus + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerEndpointObservation. +func (in *ManagerEndpointObservation) DeepCopy() *ManagerEndpointObservation { + if in == nil { + return nil + } + out := new(ManagerEndpointObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerEndpointParameters) DeepCopyInto(out *ManagerEndpointParameters) { + *out = *in + if in.CustomHeader != nil { + in, out := &in.CustomHeader, &out.CustomHeader + *out = make([]CustomHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.EndpointLocation != nil { + in, out := &in.EndpointLocation, &out.EndpointLocation + *out = new(string) + **out = **in + } + if in.EndpointStatus != nil { + in, out := &in.EndpointStatus, &out.EndpointStatus + *out = new(string) + **out = **in + } + if in.GeoMappings != nil { + in, out := &in.GeoMappings, &out.GeoMappings + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MinChildEndpoints != nil { + in, out := &in.MinChildEndpoints, &out.MinChildEndpoints + *out = new(int64) + **out = **in + } + if in.MinimumRequiredChildEndpointsIPv4 != nil { + in, out := &in.MinimumRequiredChildEndpointsIPv4, &out.MinimumRequiredChildEndpointsIPv4 + *out = new(int64) + **out = **in + } + if in.MinimumRequiredChildEndpointsIPv6 != nil { + in, out := &in.MinimumRequiredChildEndpointsIPv6, &out.MinimumRequiredChildEndpointsIPv6 + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.ProfileName != nil { + in, out := &in.ProfileName, &out.ProfileName + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Subnet != nil { + in, out := &in.Subnet, &out.Subnet + *out = make([]SubnetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Target != nil { + in, out := &in.Target, &out.Target + *out = new(string) + **out = **in + } + if in.TargetResourceID != nil { + in, out := &in.TargetResourceID, &out.TargetResourceID + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Weight != nil { + in, out := &in.Weight, &out.Weight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerEndpointParameters. +func (in *ManagerEndpointParameters) DeepCopy() *ManagerEndpointParameters { + if in == nil { + return nil + } + out := new(ManagerEndpointParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerEndpointSpec) DeepCopyInto(out *ManagerEndpointSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerEndpointSpec. +func (in *ManagerEndpointSpec) DeepCopy() *ManagerEndpointSpec { + if in == nil { + return nil + } + out := new(ManagerEndpointSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerEndpointStatus) DeepCopyInto(out *ManagerEndpointStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerEndpointStatus. +func (in *ManagerEndpointStatus) DeepCopy() *ManagerEndpointStatus { + if in == nil { + return nil + } + out := new(ManagerEndpointStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerProfile) DeepCopyInto(out *ManagerProfile) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerProfile. +func (in *ManagerProfile) DeepCopy() *ManagerProfile { + if in == nil { + return nil + } + out := new(ManagerProfile) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagerProfile) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerProfileList) DeepCopyInto(out *ManagerProfileList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ManagerProfile, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerProfileList. +func (in *ManagerProfileList) DeepCopy() *ManagerProfileList { + if in == nil { + return nil + } + out := new(ManagerProfileList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ManagerProfileList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerProfileObservation) DeepCopyInto(out *ManagerProfileObservation) { + *out = *in + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerProfileObservation. +func (in *ManagerProfileObservation) DeepCopy() *ManagerProfileObservation { + if in == nil { + return nil + } + out := new(ManagerProfileObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerProfileParameters) DeepCopyInto(out *ManagerProfileParameters) { + *out = *in + if in.DNSConfig != nil { + in, out := &in.DNSConfig, &out.DNSConfig + *out = make([]DNSConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.MaxReturn != nil { + in, out := &in.MaxReturn, &out.MaxReturn + *out = new(int64) + **out = **in + } + if in.MonitorConfig != nil { + in, out := &in.MonitorConfig, &out.MonitorConfig + *out = make([]MonitorConfigParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProfileStatus != nil { + in, out := &in.ProfileStatus, &out.ProfileStatus + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TrafficRoutingMethod != nil { + in, out := &in.TrafficRoutingMethod, &out.TrafficRoutingMethod + *out = new(string) + **out = **in + } + if in.TrafficViewEnabled != nil { + in, out := &in.TrafficViewEnabled, &out.TrafficViewEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerProfileParameters. +func (in *ManagerProfileParameters) DeepCopy() *ManagerProfileParameters { + if in == nil { + return nil + } + out := new(ManagerProfileParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerProfileSpec) DeepCopyInto(out *ManagerProfileSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerProfileSpec. +func (in *ManagerProfileSpec) DeepCopy() *ManagerProfileSpec { + if in == nil { + return nil + } + out := new(ManagerProfileSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagerProfileStatus) DeepCopyInto(out *ManagerProfileStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerProfileStatus. +func (in *ManagerProfileStatus) DeepCopy() *ManagerProfileStatus { + if in == nil { + return nil + } + out := new(ManagerProfileStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorConfigCustomHeaderObservation) DeepCopyInto(out *MonitorConfigCustomHeaderObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorConfigCustomHeaderObservation. +func (in *MonitorConfigCustomHeaderObservation) DeepCopy() *MonitorConfigCustomHeaderObservation { + if in == nil { + return nil + } + out := new(MonitorConfigCustomHeaderObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorConfigCustomHeaderParameters) DeepCopyInto(out *MonitorConfigCustomHeaderParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Value != nil { + in, out := &in.Value, &out.Value + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorConfigCustomHeaderParameters. +func (in *MonitorConfigCustomHeaderParameters) DeepCopy() *MonitorConfigCustomHeaderParameters { + if in == nil { + return nil + } + out := new(MonitorConfigCustomHeaderParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorConfigObservation) DeepCopyInto(out *MonitorConfigObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorConfigObservation. +func (in *MonitorConfigObservation) DeepCopy() *MonitorConfigObservation { + if in == nil { + return nil + } + out := new(MonitorConfigObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MonitorConfigParameters) DeepCopyInto(out *MonitorConfigParameters) { + *out = *in + if in.CustomHeader != nil { + in, out := &in.CustomHeader, &out.CustomHeader + *out = make([]MonitorConfigCustomHeaderParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExpectedStatusCodeRanges != nil { + in, out := &in.ExpectedStatusCodeRanges, &out.ExpectedStatusCodeRanges + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IntervalInSeconds != nil { + in, out := &in.IntervalInSeconds, &out.IntervalInSeconds + *out = new(int64) + **out = **in + } + if in.Path != nil { + in, out := &in.Path, &out.Path + *out = new(string) + **out = **in + } + if in.Port != nil { + in, out := &in.Port, &out.Port + *out = new(int64) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.TimeoutInSeconds != nil { + in, out := &in.TimeoutInSeconds, &out.TimeoutInSeconds + *out = new(int64) + **out = **in + } + if in.ToleratedNumberOfFailures != nil { + in, out := &in.ToleratedNumberOfFailures, &out.ToleratedNumberOfFailures + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitorConfigParameters. +func (in *MonitorConfigParameters) DeepCopy() *MonitorConfigParameters { + if in == nil { + return nil + } + out := new(MonitorConfigParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetObservation. +func (in *SubnetObservation) DeepCopy() *SubnetObservation { + if in == nil { + return nil + } + out := new(SubnetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters) { + *out = *in + if in.First != nil { + in, out := &in.First, &out.First + *out = new(string) + **out = **in + } + if in.Last != nil { + in, out := &in.Last, &out.Last + *out = new(string) + **out = **in + } + if in.Scope != nil { + in, out := &in.Scope, &out.Scope + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParameters. +func (in *SubnetParameters) DeepCopy() *SubnetParameters { + if in == nil { + return nil + } + out := new(SubnetParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/traffic/v1alpha1/zz_generated.managed.go b/apis/traffic/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..945c6b752 --- /dev/null +++ b/apis/traffic/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ManagerEndpoint. +func (mg *ManagerEndpoint) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagerEndpoint. +func (mg *ManagerEndpoint) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagerEndpoint. +func (mg *ManagerEndpoint) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagerEndpoint. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagerEndpoint) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagerEndpoint. +func (mg *ManagerEndpoint) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagerEndpoint. +func (mg *ManagerEndpoint) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagerEndpoint. +func (mg *ManagerEndpoint) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagerEndpoint. +func (mg *ManagerEndpoint) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagerEndpoint. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagerEndpoint) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagerEndpoint. +func (mg *ManagerEndpoint) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ManagerProfile. +func (mg *ManagerProfile) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ManagerProfile. +func (mg *ManagerProfile) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ManagerProfile. +func (mg *ManagerProfile) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ManagerProfile. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ManagerProfile) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ManagerProfile. +func (mg *ManagerProfile) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ManagerProfile. +func (mg *ManagerProfile) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ManagerProfile. +func (mg *ManagerProfile) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ManagerProfile. +func (mg *ManagerProfile) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ManagerProfile. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ManagerProfile) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ManagerProfile. +func (mg *ManagerProfile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/traffic/v1alpha1/zz_generated.managedlist.go b/apis/traffic/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..ae58e6347 --- /dev/null +++ b/apis/traffic/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ManagerEndpointList. +func (l *ManagerEndpointList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ManagerProfileList. +func (l *ManagerProfileList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/traffic/v1alpha1/zz_groupversion_info.go b/apis/traffic/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..aa86ef67b --- /dev/null +++ b/apis/traffic/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=traffic.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "traffic.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/traffic/v1alpha1/zz_managerendpoint_terraformed.go b/apis/traffic/v1alpha1/zz_managerendpoint_terraformed.go new file mode 100755 index 000000000..6a6bfd2e7 --- /dev/null +++ b/apis/traffic/v1alpha1/zz_managerendpoint_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagerEndpoint +func (mg *ManagerEndpoint) GetTerraformResourceType() string { + return "azurerm_traffic_manager_endpoint" +} + +// GetConnectionDetailsMapping for this ManagerEndpoint +func (tr *ManagerEndpoint) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagerEndpoint +func (tr *ManagerEndpoint) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagerEndpoint +func (tr *ManagerEndpoint) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagerEndpoint +func (tr *ManagerEndpoint) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagerEndpoint +func (tr *ManagerEndpoint) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagerEndpoint using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagerEndpoint) LateInitialize(attrs []byte) (bool, error) { + params := &ManagerEndpointParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagerEndpoint) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/traffic/v1alpha1/zz_managerendpoint_types.go b/apis/traffic/v1alpha1/zz_managerendpoint_types.go new file mode 100755 index 000000000..56ade628a --- /dev/null +++ b/apis/traffic/v1alpha1/zz_managerendpoint_types.go @@ -0,0 +1,157 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CustomHeaderObservation struct { +} + +type CustomHeaderParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type ManagerEndpointObservation struct { + EndpointMonitorStatus *string `json:"endpointMonitorStatus,omitempty" tf:"endpoint_monitor_status,omitempty"` +} + +type ManagerEndpointParameters struct { + + // +kubebuilder:validation:Optional + CustomHeader []CustomHeaderParameters `json:"customHeader,omitempty" tf:"custom_header,omitempty"` + + // +kubebuilder:validation:Optional + EndpointLocation *string `json:"endpointLocation,omitempty" tf:"endpoint_location,omitempty"` + + // +kubebuilder:validation:Optional + EndpointStatus *string `json:"endpointStatus,omitempty" tf:"endpoint_status,omitempty"` + + // +kubebuilder:validation:Optional + GeoMappings []*string `json:"geoMappings,omitempty" tf:"geo_mappings,omitempty"` + + // +kubebuilder:validation:Optional + MinChildEndpoints *int64 `json:"minChildEndpoints,omitempty" tf:"min_child_endpoints,omitempty"` + + // +kubebuilder:validation:Optional + MinimumRequiredChildEndpointsIPv4 *int64 `json:"minimumRequiredChildEndpointsIpv4,omitempty" tf:"minimum_required_child_endpoints_ipv4,omitempty"` + + // +kubebuilder:validation:Optional + MinimumRequiredChildEndpointsIPv6 *int64 `json:"minimumRequiredChildEndpointsIpv6,omitempty" tf:"minimum_required_child_endpoints_ipv6,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Priority *int64 `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + ProfileName *string `json:"profileName" tf:"profile_name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Subnet []SubnetParameters `json:"subnet,omitempty" tf:"subnet,omitempty"` + + // +kubebuilder:validation:Optional + Target *string `json:"target,omitempty" tf:"target,omitempty"` + + // +kubebuilder:validation:Optional + TargetResourceID *string `json:"targetResourceId,omitempty" tf:"target_resource_id,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Optional + Weight *int64 `json:"weight,omitempty" tf:"weight,omitempty"` +} + +type SubnetObservation struct { +} + +type SubnetParameters struct { + + // +kubebuilder:validation:Required + First *string `json:"first" tf:"first,omitempty"` + + // +kubebuilder:validation:Optional + Last *string `json:"last,omitempty" tf:"last,omitempty"` + + // +kubebuilder:validation:Optional + Scope *int64 `json:"scope,omitempty" tf:"scope,omitempty"` +} + +// ManagerEndpointSpec defines the desired state of ManagerEndpoint +type ManagerEndpointSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagerEndpointParameters `json:"forProvider"` +} + +// ManagerEndpointStatus defines the observed state of ManagerEndpoint. +type ManagerEndpointStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagerEndpointObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagerEndpoint is the Schema for the ManagerEndpoints API +// +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,azurejet} +type ManagerEndpoint struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagerEndpointSpec `json:"spec"` + Status ManagerEndpointStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagerEndpointList contains a list of ManagerEndpoints +type ManagerEndpointList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagerEndpoint `json:"items"` +} + +// Repository type metadata. +var ( + ManagerEndpoint_Kind = "ManagerEndpoint" + ManagerEndpoint_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagerEndpoint_Kind}.String() + ManagerEndpoint_KindAPIVersion = ManagerEndpoint_Kind + "." + CRDGroupVersion.String() + ManagerEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(ManagerEndpoint_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagerEndpoint{}, &ManagerEndpointList{}) +} diff --git a/apis/traffic/v1alpha1/zz_managerprofile_terraformed.go b/apis/traffic/v1alpha1/zz_managerprofile_terraformed.go new file mode 100755 index 000000000..71811716f --- /dev/null +++ b/apis/traffic/v1alpha1/zz_managerprofile_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ManagerProfile +func (mg *ManagerProfile) GetTerraformResourceType() string { + return "azurerm_traffic_manager_profile" +} + +// GetConnectionDetailsMapping for this ManagerProfile +func (tr *ManagerProfile) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ManagerProfile +func (tr *ManagerProfile) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ManagerProfile +func (tr *ManagerProfile) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ManagerProfile +func (tr *ManagerProfile) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ManagerProfile +func (tr *ManagerProfile) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ManagerProfile using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ManagerProfile) LateInitialize(attrs []byte) (bool, error) { + params := &ManagerProfileParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ManagerProfile) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/traffic/v1alpha1/zz_managerprofile_types.go b/apis/traffic/v1alpha1/zz_managerprofile_types.go new file mode 100755 index 000000000..302e5f67f --- /dev/null +++ b/apis/traffic/v1alpha1/zz_managerprofile_types.go @@ -0,0 +1,163 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type DNSConfigObservation struct { +} + +type DNSConfigParameters struct { + + // +kubebuilder:validation:Required + RelativeName *string `json:"relativeName" tf:"relative_name,omitempty"` + + // +kubebuilder:validation:Required + TTL *int64 `json:"ttl" tf:"ttl,omitempty"` +} + +type ManagerProfileObservation struct { + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` +} + +type ManagerProfileParameters struct { + + // +kubebuilder:validation:Required + DNSConfig []DNSConfigParameters `json:"dnsConfig" tf:"dns_config,omitempty"` + + // +kubebuilder:validation:Optional + MaxReturn *int64 `json:"maxReturn,omitempty" tf:"max_return,omitempty"` + + // +kubebuilder:validation:Required + MonitorConfig []MonitorConfigParameters `json:"monitorConfig" tf:"monitor_config,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProfileStatus *string `json:"profileStatus,omitempty" tf:"profile_status,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + TrafficRoutingMethod *string `json:"trafficRoutingMethod" tf:"traffic_routing_method,omitempty"` + + // +kubebuilder:validation:Optional + TrafficViewEnabled *bool `json:"trafficViewEnabled,omitempty" tf:"traffic_view_enabled,omitempty"` +} + +type MonitorConfigCustomHeaderObservation struct { +} + +type MonitorConfigCustomHeaderParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Value *string `json:"value" tf:"value,omitempty"` +} + +type MonitorConfigObservation struct { +} + +type MonitorConfigParameters struct { + + // +kubebuilder:validation:Optional + CustomHeader []MonitorConfigCustomHeaderParameters `json:"customHeader,omitempty" tf:"custom_header,omitempty"` + + // +kubebuilder:validation:Optional + ExpectedStatusCodeRanges []*string `json:"expectedStatusCodeRanges,omitempty" tf:"expected_status_code_ranges,omitempty"` + + // +kubebuilder:validation:Optional + IntervalInSeconds *int64 `json:"intervalInSeconds,omitempty" tf:"interval_in_seconds,omitempty"` + + // +kubebuilder:validation:Optional + Path *string `json:"path,omitempty" tf:"path,omitempty"` + + // +kubebuilder:validation:Required + Port *int64 `json:"port" tf:"port,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty" tf:"timeout_in_seconds,omitempty"` + + // +kubebuilder:validation:Optional + ToleratedNumberOfFailures *int64 `json:"toleratedNumberOfFailures,omitempty" tf:"tolerated_number_of_failures,omitempty"` +} + +// ManagerProfileSpec defines the desired state of ManagerProfile +type ManagerProfileSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ManagerProfileParameters `json:"forProvider"` +} + +// ManagerProfileStatus defines the observed state of ManagerProfile. +type ManagerProfileStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ManagerProfileObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagerProfile is the Schema for the ManagerProfiles API +// +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,azurejet} +type ManagerProfile struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ManagerProfileSpec `json:"spec"` + Status ManagerProfileStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ManagerProfileList contains a list of ManagerProfiles +type ManagerProfileList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ManagerProfile `json:"items"` +} + +// Repository type metadata. +var ( + ManagerProfile_Kind = "ManagerProfile" + ManagerProfile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ManagerProfile_Kind}.String() + ManagerProfile_KindAPIVersion = ManagerProfile_Kind + "." + CRDGroupVersion.String() + ManagerProfile_GroupVersionKind = CRDGroupVersion.WithKind(ManagerProfile_Kind) +) + +func init() { + SchemeBuilder.Register(&ManagerProfile{}, &ManagerProfileList{}) +} diff --git a/apis/user/v1alpha1/zz_assignedidentity_terraformed.go b/apis/user/v1alpha1/zz_assignedidentity_terraformed.go new file mode 100755 index 000000000..00ed30a39 --- /dev/null +++ b/apis/user/v1alpha1/zz_assignedidentity_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AssignedIdentity +func (mg *AssignedIdentity) GetTerraformResourceType() string { + return "azurerm_user_assigned_identity" +} + +// GetConnectionDetailsMapping for this AssignedIdentity +func (tr *AssignedIdentity) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AssignedIdentity +func (tr *AssignedIdentity) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AssignedIdentity +func (tr *AssignedIdentity) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AssignedIdentity +func (tr *AssignedIdentity) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AssignedIdentity +func (tr *AssignedIdentity) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AssignedIdentity using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AssignedIdentity) LateInitialize(attrs []byte) (bool, error) { + params := &AssignedIdentityParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AssignedIdentity) GetTerraformSchemaVersion() int { + return 1 +} diff --git a/apis/user/v1alpha1/zz_assignedidentity_types.go b/apis/user/v1alpha1/zz_assignedidentity_types.go new file mode 100755 index 000000000..9714c66e0 --- /dev/null +++ b/apis/user/v1alpha1/zz_assignedidentity_types.go @@ -0,0 +1,98 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AssignedIdentityObservation struct { + ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` + + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type AssignedIdentityParameters struct { + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +// AssignedIdentitySpec defines the desired state of AssignedIdentity +type AssignedIdentitySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AssignedIdentityParameters `json:"forProvider"` +} + +// AssignedIdentityStatus defines the observed state of AssignedIdentity. +type AssignedIdentityStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AssignedIdentityObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignedIdentity is the Schema for the AssignedIdentitys API +// +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,azurejet} +type AssignedIdentity struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AssignedIdentitySpec `json:"spec"` + Status AssignedIdentityStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AssignedIdentityList contains a list of AssignedIdentitys +type AssignedIdentityList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AssignedIdentity `json:"items"` +} + +// Repository type metadata. +var ( + AssignedIdentity_Kind = "AssignedIdentity" + AssignedIdentity_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AssignedIdentity_Kind}.String() + AssignedIdentity_KindAPIVersion = AssignedIdentity_Kind + "." + CRDGroupVersion.String() + AssignedIdentity_GroupVersionKind = CRDGroupVersion.WithKind(AssignedIdentity_Kind) +) + +func init() { + SchemeBuilder.Register(&AssignedIdentity{}, &AssignedIdentityList{}) +} diff --git a/apis/user/v1alpha1/zz_generated.deepcopy.go b/apis/user/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..853625d4e --- /dev/null +++ b/apis/user/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,193 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignedIdentity) DeepCopyInto(out *AssignedIdentity) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignedIdentity. +func (in *AssignedIdentity) DeepCopy() *AssignedIdentity { + if in == nil { + return nil + } + out := new(AssignedIdentity) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignedIdentity) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignedIdentityList) DeepCopyInto(out *AssignedIdentityList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AssignedIdentity, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignedIdentityList. +func (in *AssignedIdentityList) DeepCopy() *AssignedIdentityList { + if in == nil { + return nil + } + out := new(AssignedIdentityList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AssignedIdentityList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignedIdentityObservation) DeepCopyInto(out *AssignedIdentityObservation) { + *out = *in + if in.ClientID != nil { + in, out := &in.ClientID, &out.ClientID + *out = new(string) + **out = **in + } + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignedIdentityObservation. +func (in *AssignedIdentityObservation) DeepCopy() *AssignedIdentityObservation { + if in == nil { + return nil + } + out := new(AssignedIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignedIdentityParameters) DeepCopyInto(out *AssignedIdentityParameters) { + *out = *in + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignedIdentityParameters. +func (in *AssignedIdentityParameters) DeepCopy() *AssignedIdentityParameters { + if in == nil { + return nil + } + out := new(AssignedIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignedIdentitySpec) DeepCopyInto(out *AssignedIdentitySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignedIdentitySpec. +func (in *AssignedIdentitySpec) DeepCopy() *AssignedIdentitySpec { + if in == nil { + return nil + } + out := new(AssignedIdentitySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AssignedIdentityStatus) DeepCopyInto(out *AssignedIdentityStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssignedIdentityStatus. +func (in *AssignedIdentityStatus) DeepCopy() *AssignedIdentityStatus { + if in == nil { + return nil + } + out := new(AssignedIdentityStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/user/v1alpha1/zz_generated.managed.go b/apis/user/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..c73f51831 --- /dev/null +++ b/apis/user/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this AssignedIdentity. +func (mg *AssignedIdentity) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AssignedIdentity. +func (mg *AssignedIdentity) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AssignedIdentity. +func (mg *AssignedIdentity) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AssignedIdentity. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AssignedIdentity) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AssignedIdentity. +func (mg *AssignedIdentity) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AssignedIdentity. +func (mg *AssignedIdentity) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AssignedIdentity. +func (mg *AssignedIdentity) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AssignedIdentity. +func (mg *AssignedIdentity) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AssignedIdentity. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AssignedIdentity) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AssignedIdentity. +func (mg *AssignedIdentity) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/user/v1alpha1/zz_generated.managedlist.go b/apis/user/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..c8c8a561e --- /dev/null +++ b/apis/user/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AssignedIdentityList. +func (l *AssignedIdentityList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/user/v1alpha1/zz_groupversion_info.go b/apis/user/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..7c58d8b56 --- /dev/null +++ b/apis/user/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=user.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "user.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/video/v1alpha1/zz_analyzer_terraformed.go b/apis/video/v1alpha1/zz_analyzer_terraformed.go new file mode 100755 index 000000000..c4f7ff426 --- /dev/null +++ b/apis/video/v1alpha1/zz_analyzer_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Analyzer +func (mg *Analyzer) GetTerraformResourceType() string { + return "azurerm_video_analyzer" +} + +// GetConnectionDetailsMapping for this Analyzer +func (tr *Analyzer) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Analyzer +func (tr *Analyzer) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Analyzer +func (tr *Analyzer) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Analyzer +func (tr *Analyzer) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Analyzer +func (tr *Analyzer) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Analyzer using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Analyzer) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyzerParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Analyzer) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/video/v1alpha1/zz_analyzer_types.go b/apis/video/v1alpha1/zz_analyzer_types.go new file mode 100755 index 000000000..d16cf3c6c --- /dev/null +++ b/apis/video/v1alpha1/zz_analyzer_types.go @@ -0,0 +1,123 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyzerObservation struct { +} + +type AnalyzerParameters struct { + + // +kubebuilder:validation:Required + Identity []IdentityParameters `json:"identity" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccount []StorageAccountParameters `json:"storageAccount" tf:"storage_account,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type IdentityObservation struct { +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Required + IdentityIds []*string `json:"identityIds" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type StorageAccountObservation struct { +} + +type StorageAccountParameters struct { + + // +kubebuilder:validation:Required + ID *string `json:"id" tf:"id,omitempty"` + + // +kubebuilder:validation:Required + UserAssignedIdentityID *string `json:"userAssignedIdentityId" tf:"user_assigned_identity_id,omitempty"` +} + +// AnalyzerSpec defines the desired state of Analyzer +type AnalyzerSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyzerParameters `json:"forProvider"` +} + +// AnalyzerStatus defines the observed state of Analyzer. +type AnalyzerStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyzerObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Analyzer is the Schema for the Analyzers API +// +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,azurejet} +type Analyzer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyzerSpec `json:"spec"` + Status AnalyzerStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyzerList contains a list of Analyzers +type AnalyzerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Analyzer `json:"items"` +} + +// Repository type metadata. +var ( + Analyzer_Kind = "Analyzer" + Analyzer_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Analyzer_Kind}.String() + Analyzer_KindAPIVersion = Analyzer_Kind + "." + CRDGroupVersion.String() + Analyzer_GroupVersionKind = CRDGroupVersion.WithKind(Analyzer_Kind) +) + +func init() { + SchemeBuilder.Register(&Analyzer{}, &AnalyzerList{}) +} diff --git a/apis/video/v1alpha1/zz_analyzeredgemodule_terraformed.go b/apis/video/v1alpha1/zz_analyzeredgemodule_terraformed.go new file mode 100755 index 000000000..cb1e4dffb --- /dev/null +++ b/apis/video/v1alpha1/zz_analyzeredgemodule_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this AnalyzerEdgeModule +func (mg *AnalyzerEdgeModule) GetTerraformResourceType() string { + return "azurerm_video_analyzer_edge_module" +} + +// GetConnectionDetailsMapping for this AnalyzerEdgeModule +func (tr *AnalyzerEdgeModule) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this AnalyzerEdgeModule +func (tr *AnalyzerEdgeModule) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this AnalyzerEdgeModule +func (tr *AnalyzerEdgeModule) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this AnalyzerEdgeModule +func (tr *AnalyzerEdgeModule) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this AnalyzerEdgeModule +func (tr *AnalyzerEdgeModule) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this AnalyzerEdgeModule using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *AnalyzerEdgeModule) LateInitialize(attrs []byte) (bool, error) { + params := &AnalyzerEdgeModuleParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *AnalyzerEdgeModule) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/video/v1alpha1/zz_analyzeredgemodule_types.go b/apis/video/v1alpha1/zz_analyzeredgemodule_types.go new file mode 100755 index 000000000..2a124c9ba --- /dev/null +++ b/apis/video/v1alpha1/zz_analyzeredgemodule_types.go @@ -0,0 +1,90 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AnalyzerEdgeModuleObservation struct { +} + +type AnalyzerEdgeModuleParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + VideoAnalyzerName *string `json:"videoAnalyzerName" tf:"video_analyzer_name,omitempty"` +} + +// AnalyzerEdgeModuleSpec defines the desired state of AnalyzerEdgeModule +type AnalyzerEdgeModuleSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider AnalyzerEdgeModuleParameters `json:"forProvider"` +} + +// AnalyzerEdgeModuleStatus defines the observed state of AnalyzerEdgeModule. +type AnalyzerEdgeModuleStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider AnalyzerEdgeModuleObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyzerEdgeModule is the Schema for the AnalyzerEdgeModules API +// +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,azurejet} +type AnalyzerEdgeModule struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec AnalyzerEdgeModuleSpec `json:"spec"` + Status AnalyzerEdgeModuleStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// AnalyzerEdgeModuleList contains a list of AnalyzerEdgeModules +type AnalyzerEdgeModuleList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AnalyzerEdgeModule `json:"items"` +} + +// Repository type metadata. +var ( + AnalyzerEdgeModule_Kind = "AnalyzerEdgeModule" + AnalyzerEdgeModule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AnalyzerEdgeModule_Kind}.String() + AnalyzerEdgeModule_KindAPIVersion = AnalyzerEdgeModule_Kind + "." + CRDGroupVersion.String() + AnalyzerEdgeModule_GroupVersionKind = CRDGroupVersion.WithKind(AnalyzerEdgeModule_Kind) +) + +func init() { + SchemeBuilder.Register(&AnalyzerEdgeModule{}, &AnalyzerEdgeModuleList{}) +} diff --git a/apis/video/v1alpha1/zz_generated.deepcopy.go b/apis/video/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..6296fb6ea --- /dev/null +++ b/apis/video/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,416 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Analyzer) DeepCopyInto(out *Analyzer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Analyzer. +func (in *Analyzer) DeepCopy() *Analyzer { + if in == nil { + return nil + } + out := new(Analyzer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Analyzer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerEdgeModule) DeepCopyInto(out *AnalyzerEdgeModule) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerEdgeModule. +func (in *AnalyzerEdgeModule) DeepCopy() *AnalyzerEdgeModule { + if in == nil { + return nil + } + out := new(AnalyzerEdgeModule) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyzerEdgeModule) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerEdgeModuleList) DeepCopyInto(out *AnalyzerEdgeModuleList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalyzerEdgeModule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerEdgeModuleList. +func (in *AnalyzerEdgeModuleList) DeepCopy() *AnalyzerEdgeModuleList { + if in == nil { + return nil + } + out := new(AnalyzerEdgeModuleList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyzerEdgeModuleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerEdgeModuleObservation) DeepCopyInto(out *AnalyzerEdgeModuleObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerEdgeModuleObservation. +func (in *AnalyzerEdgeModuleObservation) DeepCopy() *AnalyzerEdgeModuleObservation { + if in == nil { + return nil + } + out := new(AnalyzerEdgeModuleObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerEdgeModuleParameters) DeepCopyInto(out *AnalyzerEdgeModuleParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.VideoAnalyzerName != nil { + in, out := &in.VideoAnalyzerName, &out.VideoAnalyzerName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerEdgeModuleParameters. +func (in *AnalyzerEdgeModuleParameters) DeepCopy() *AnalyzerEdgeModuleParameters { + if in == nil { + return nil + } + out := new(AnalyzerEdgeModuleParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerEdgeModuleSpec) DeepCopyInto(out *AnalyzerEdgeModuleSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerEdgeModuleSpec. +func (in *AnalyzerEdgeModuleSpec) DeepCopy() *AnalyzerEdgeModuleSpec { + if in == nil { + return nil + } + out := new(AnalyzerEdgeModuleSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerEdgeModuleStatus) DeepCopyInto(out *AnalyzerEdgeModuleStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerEdgeModuleStatus. +func (in *AnalyzerEdgeModuleStatus) DeepCopy() *AnalyzerEdgeModuleStatus { + if in == nil { + return nil + } + out := new(AnalyzerEdgeModuleStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerList) DeepCopyInto(out *AnalyzerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Analyzer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerList. +func (in *AnalyzerList) DeepCopy() *AnalyzerList { + if in == nil { + return nil + } + out := new(AnalyzerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalyzerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerObservation) DeepCopyInto(out *AnalyzerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerObservation. +func (in *AnalyzerObservation) DeepCopy() *AnalyzerObservation { + if in == nil { + return nil + } + out := new(AnalyzerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerParameters) DeepCopyInto(out *AnalyzerParameters) { + *out = *in + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.StorageAccount != nil { + in, out := &in.StorageAccount, &out.StorageAccount + *out = make([]StorageAccountParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerParameters. +func (in *AnalyzerParameters) DeepCopy() *AnalyzerParameters { + if in == nil { + return nil + } + out := new(AnalyzerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerSpec) DeepCopyInto(out *AnalyzerSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerSpec. +func (in *AnalyzerSpec) DeepCopy() *AnalyzerSpec { + if in == nil { + return nil + } + out := new(AnalyzerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalyzerStatus) DeepCopyInto(out *AnalyzerStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalyzerStatus. +func (in *AnalyzerStatus) DeepCopy() *AnalyzerStatus { + if in == nil { + return nil + } + out := new(AnalyzerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountObservation) DeepCopyInto(out *StorageAccountObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountObservation. +func (in *StorageAccountObservation) DeepCopy() *StorageAccountObservation { + if in == nil { + return nil + } + out := new(StorageAccountObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *StorageAccountParameters) DeepCopyInto(out *StorageAccountParameters) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } + if in.UserAssignedIdentityID != nil { + in, out := &in.UserAssignedIdentityID, &out.UserAssignedIdentityID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageAccountParameters. +func (in *StorageAccountParameters) DeepCopy() *StorageAccountParameters { + if in == nil { + return nil + } + out := new(StorageAccountParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/video/v1alpha1/zz_generated.managed.go b/apis/video/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..853c23773 --- /dev/null +++ b/apis/video/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Analyzer. +func (mg *Analyzer) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Analyzer. +func (mg *Analyzer) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Analyzer. +func (mg *Analyzer) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Analyzer. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Analyzer) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Analyzer. +func (mg *Analyzer) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Analyzer. +func (mg *Analyzer) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Analyzer. +func (mg *Analyzer) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Analyzer. +func (mg *Analyzer) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Analyzer. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Analyzer) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Analyzer. +func (mg *Analyzer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this AnalyzerEdgeModule. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *AnalyzerEdgeModule) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this AnalyzerEdgeModule. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *AnalyzerEdgeModule) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this AnalyzerEdgeModule. +func (mg *AnalyzerEdgeModule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/video/v1alpha1/zz_generated.managedlist.go b/apis/video/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..fe04435e5 --- /dev/null +++ b/apis/video/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this AnalyzerEdgeModuleList. +func (l *AnalyzerEdgeModuleList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this AnalyzerList. +func (l *AnalyzerList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/video/v1alpha1/zz_groupversion_info.go b/apis/video/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..7a84e7c36 --- /dev/null +++ b/apis/video/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=video.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "video.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/vmware/v1alpha1/zz_cluster_terraformed.go b/apis/vmware/v1alpha1/zz_cluster_terraformed.go new file mode 100755 index 000000000..641aef14e --- /dev/null +++ b/apis/vmware/v1alpha1/zz_cluster_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Cluster +func (mg *Cluster) GetTerraformResourceType() string { + return "azurerm_vmware_cluster" +} + +// GetConnectionDetailsMapping for this Cluster +func (tr *Cluster) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Cluster +func (tr *Cluster) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Cluster +func (tr *Cluster) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Cluster +func (tr *Cluster) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Cluster +func (tr *Cluster) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Cluster using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Cluster) LateInitialize(attrs []byte) (bool, error) { + params := &ClusterParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Cluster) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vmware/v1alpha1/zz_cluster_types.go b/apis/vmware/v1alpha1/zz_cluster_types.go new file mode 100755 index 000000000..c60249174 --- /dev/null +++ b/apis/vmware/v1alpha1/zz_cluster_types.go @@ -0,0 +1,96 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ClusterObservation struct { + ClusterNumber *int64 `json:"clusterNumber,omitempty" tf:"cluster_number,omitempty"` + + Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"` +} + +type ClusterParameters struct { + + // +kubebuilder:validation:Required + ClusterNodeCount *int64 `json:"clusterNodeCount" tf:"cluster_node_count,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Required + VmwareCloudID *string `json:"vmwareCloudId" tf:"vmware_cloud_id,omitempty"` +} + +// ClusterSpec defines the desired state of Cluster +type ClusterSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ClusterParameters `json:"forProvider"` +} + +// ClusterStatus defines the observed state of Cluster. +type ClusterStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ClusterObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Cluster is the Schema for the Clusters API +// +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,azurejet} +type Cluster struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ClusterSpec `json:"spec"` + Status ClusterStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ClusterList contains a list of Clusters +type ClusterList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Cluster `json:"items"` +} + +// Repository type metadata. +var ( + Cluster_Kind = "Cluster" + Cluster_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String() + Cluster_KindAPIVersion = Cluster_Kind + "." + CRDGroupVersion.String() + Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind) +) + +func init() { + SchemeBuilder.Register(&Cluster{}, &ClusterList{}) +} diff --git a/apis/vmware/v1alpha1/zz_expressrouteauthorization_terraformed.go b/apis/vmware/v1alpha1/zz_expressrouteauthorization_terraformed.go new file mode 100755 index 000000000..b1efe3db1 --- /dev/null +++ b/apis/vmware/v1alpha1/zz_expressrouteauthorization_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ExpressRouteAuthorization +func (mg *ExpressRouteAuthorization) GetTerraformResourceType() string { + return "azurerm_vmware_express_route_authorization" +} + +// GetConnectionDetailsMapping for this ExpressRouteAuthorization +func (tr *ExpressRouteAuthorization) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"express_route_authorization_key": "status.atProvider.expressRouteAuthorizationKey"} +} + +// GetObservation of this ExpressRouteAuthorization +func (tr *ExpressRouteAuthorization) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ExpressRouteAuthorization +func (tr *ExpressRouteAuthorization) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ExpressRouteAuthorization +func (tr *ExpressRouteAuthorization) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ExpressRouteAuthorization +func (tr *ExpressRouteAuthorization) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ExpressRouteAuthorization using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ExpressRouteAuthorization) LateInitialize(attrs []byte) (bool, error) { + params := &ExpressRouteAuthorizationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ExpressRouteAuthorization) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vmware/v1alpha1/zz_expressrouteauthorization_types.go b/apis/vmware/v1alpha1/zz_expressrouteauthorization_types.go new file mode 100755 index 000000000..19fd173eb --- /dev/null +++ b/apis/vmware/v1alpha1/zz_expressrouteauthorization_types.go @@ -0,0 +1,88 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ExpressRouteAuthorizationObservation struct { + ExpressRouteAuthorizationID *string `json:"expressRouteAuthorizationId,omitempty" tf:"express_route_authorization_id,omitempty"` +} + +type ExpressRouteAuthorizationParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PrivateCloudID *string `json:"privateCloudId" tf:"private_cloud_id,omitempty"` +} + +// ExpressRouteAuthorizationSpec defines the desired state of ExpressRouteAuthorization +type ExpressRouteAuthorizationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ExpressRouteAuthorizationParameters `json:"forProvider"` +} + +// ExpressRouteAuthorizationStatus defines the observed state of ExpressRouteAuthorization. +type ExpressRouteAuthorizationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ExpressRouteAuthorizationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ExpressRouteAuthorization is the Schema for the ExpressRouteAuthorizations API +// +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,azurejet} +type ExpressRouteAuthorization struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ExpressRouteAuthorizationSpec `json:"spec"` + Status ExpressRouteAuthorizationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ExpressRouteAuthorizationList contains a list of ExpressRouteAuthorizations +type ExpressRouteAuthorizationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ExpressRouteAuthorization `json:"items"` +} + +// Repository type metadata. +var ( + ExpressRouteAuthorization_Kind = "ExpressRouteAuthorization" + ExpressRouteAuthorization_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ExpressRouteAuthorization_Kind}.String() + ExpressRouteAuthorization_KindAPIVersion = ExpressRouteAuthorization_Kind + "." + CRDGroupVersion.String() + ExpressRouteAuthorization_GroupVersionKind = CRDGroupVersion.WithKind(ExpressRouteAuthorization_Kind) +) + +func init() { + SchemeBuilder.Register(&ExpressRouteAuthorization{}, &ExpressRouteAuthorizationList{}) +} diff --git a/apis/vmware/v1alpha1/zz_generated.deepcopy.go b/apis/vmware/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..3d4412c8e --- /dev/null +++ b/apis/vmware/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,656 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CircuitObservation) DeepCopyInto(out *CircuitObservation) { + *out = *in + if in.ExpressRouteID != nil { + in, out := &in.ExpressRouteID, &out.ExpressRouteID + *out = new(string) + **out = **in + } + if in.ExpressRoutePrivatePeeringID != nil { + in, out := &in.ExpressRoutePrivatePeeringID, &out.ExpressRoutePrivatePeeringID + *out = new(string) + **out = **in + } + if in.PrimarySubnetCidr != nil { + in, out := &in.PrimarySubnetCidr, &out.PrimarySubnetCidr + *out = new(string) + **out = **in + } + if in.SecondarySubnetCidr != nil { + in, out := &in.SecondarySubnetCidr, &out.SecondarySubnetCidr + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitObservation. +func (in *CircuitObservation) DeepCopy() *CircuitObservation { + if in == nil { + return nil + } + out := new(CircuitObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CircuitParameters) DeepCopyInto(out *CircuitParameters) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircuitParameters. +func (in *CircuitParameters) DeepCopy() *CircuitParameters { + if in == nil { + return nil + } + out := new(CircuitParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Cluster) DeepCopyInto(out *Cluster) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { + return nil + } + out := new(Cluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Cluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterList) DeepCopyInto(out *ClusterList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Cluster, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. +func (in *ClusterList) DeepCopy() *ClusterList { + if in == nil { + return nil + } + out := new(ClusterList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { + *out = *in + if in.ClusterNumber != nil { + in, out := &in.ClusterNumber, &out.ClusterNumber + *out = new(int64) + **out = **in + } + if in.Hosts != nil { + in, out := &in.Hosts, &out.Hosts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservation. +func (in *ClusterObservation) DeepCopy() *ClusterObservation { + if in == nil { + return nil + } + out := new(ClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { + *out = *in + if in.ClusterNodeCount != nil { + in, out := &in.ClusterNodeCount, &out.ClusterNodeCount + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.VmwareCloudID != nil { + in, out := &in.VmwareCloudID, &out.VmwareCloudID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParameters. +func (in *ClusterParameters) DeepCopy() *ClusterParameters { + if in == nil { + return nil + } + out := new(ClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. +func (in *ClusterSpec) DeepCopy() *ClusterSpec { + if in == nil { + return nil + } + out := new(ClusterSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. +func (in *ClusterStatus) DeepCopy() *ClusterStatus { + if in == nil { + return nil + } + out := new(ClusterStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressRouteAuthorization) DeepCopyInto(out *ExpressRouteAuthorization) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressRouteAuthorization. +func (in *ExpressRouteAuthorization) DeepCopy() *ExpressRouteAuthorization { + if in == nil { + return nil + } + out := new(ExpressRouteAuthorization) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ExpressRouteAuthorization) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressRouteAuthorizationList) DeepCopyInto(out *ExpressRouteAuthorizationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ExpressRouteAuthorization, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressRouteAuthorizationList. +func (in *ExpressRouteAuthorizationList) DeepCopy() *ExpressRouteAuthorizationList { + if in == nil { + return nil + } + out := new(ExpressRouteAuthorizationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ExpressRouteAuthorizationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressRouteAuthorizationObservation) DeepCopyInto(out *ExpressRouteAuthorizationObservation) { + *out = *in + if in.ExpressRouteAuthorizationID != nil { + in, out := &in.ExpressRouteAuthorizationID, &out.ExpressRouteAuthorizationID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressRouteAuthorizationObservation. +func (in *ExpressRouteAuthorizationObservation) DeepCopy() *ExpressRouteAuthorizationObservation { + if in == nil { + return nil + } + out := new(ExpressRouteAuthorizationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressRouteAuthorizationParameters) DeepCopyInto(out *ExpressRouteAuthorizationParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PrivateCloudID != nil { + in, out := &in.PrivateCloudID, &out.PrivateCloudID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressRouteAuthorizationParameters. +func (in *ExpressRouteAuthorizationParameters) DeepCopy() *ExpressRouteAuthorizationParameters { + if in == nil { + return nil + } + out := new(ExpressRouteAuthorizationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressRouteAuthorizationSpec) DeepCopyInto(out *ExpressRouteAuthorizationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressRouteAuthorizationSpec. +func (in *ExpressRouteAuthorizationSpec) DeepCopy() *ExpressRouteAuthorizationSpec { + if in == nil { + return nil + } + out := new(ExpressRouteAuthorizationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExpressRouteAuthorizationStatus) DeepCopyInto(out *ExpressRouteAuthorizationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressRouteAuthorizationStatus. +func (in *ExpressRouteAuthorizationStatus) DeepCopy() *ExpressRouteAuthorizationStatus { + if in == nil { + return nil + } + out := new(ExpressRouteAuthorizationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementClusterObservation) DeepCopyInto(out *ManagementClusterObservation) { + *out = *in + if in.Hosts != nil { + in, out := &in.Hosts, &out.Hosts + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterObservation. +func (in *ManagementClusterObservation) DeepCopy() *ManagementClusterObservation { + if in == nil { + return nil + } + out := new(ManagementClusterObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagementClusterParameters) DeepCopyInto(out *ManagementClusterParameters) { + *out = *in + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementClusterParameters. +func (in *ManagementClusterParameters) DeepCopy() *ManagementClusterParameters { + if in == nil { + return nil + } + out := new(ManagementClusterParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateCloud) DeepCopyInto(out *PrivateCloud) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCloud. +func (in *PrivateCloud) DeepCopy() *PrivateCloud { + if in == nil { + return nil + } + out := new(PrivateCloud) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PrivateCloud) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateCloudList) DeepCopyInto(out *PrivateCloudList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PrivateCloud, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCloudList. +func (in *PrivateCloudList) DeepCopy() *PrivateCloudList { + if in == nil { + return nil + } + out := new(PrivateCloudList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PrivateCloudList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateCloudObservation) DeepCopyInto(out *PrivateCloudObservation) { + *out = *in + if in.Circuit != nil { + in, out := &in.Circuit, &out.Circuit + *out = make([]CircuitObservation, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.HcxCloudManagerEndpoint != nil { + in, out := &in.HcxCloudManagerEndpoint, &out.HcxCloudManagerEndpoint + *out = new(string) + **out = **in + } + if in.ManagementSubnetCidr != nil { + in, out := &in.ManagementSubnetCidr, &out.ManagementSubnetCidr + *out = new(string) + **out = **in + } + if in.NsxtCertificateThumbprint != nil { + in, out := &in.NsxtCertificateThumbprint, &out.NsxtCertificateThumbprint + *out = new(string) + **out = **in + } + if in.NsxtManagerEndpoint != nil { + in, out := &in.NsxtManagerEndpoint, &out.NsxtManagerEndpoint + *out = new(string) + **out = **in + } + if in.ProvisioningSubnetCidr != nil { + in, out := &in.ProvisioningSubnetCidr, &out.ProvisioningSubnetCidr + *out = new(string) + **out = **in + } + if in.VcenterCertificateThumbprint != nil { + in, out := &in.VcenterCertificateThumbprint, &out.VcenterCertificateThumbprint + *out = new(string) + **out = **in + } + if in.VcsaEndpoint != nil { + in, out := &in.VcsaEndpoint, &out.VcsaEndpoint + *out = new(string) + **out = **in + } + if in.VmotionSubnetCidr != nil { + in, out := &in.VmotionSubnetCidr, &out.VmotionSubnetCidr + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCloudObservation. +func (in *PrivateCloudObservation) DeepCopy() *PrivateCloudObservation { + if in == nil { + return nil + } + out := new(PrivateCloudObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateCloudParameters) DeepCopyInto(out *PrivateCloudParameters) { + *out = *in + if in.InternetConnectionEnabled != nil { + in, out := &in.InternetConnectionEnabled, &out.InternetConnectionEnabled + *out = new(bool) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagementCluster != nil { + in, out := &in.ManagementCluster, &out.ManagementCluster + *out = make([]ManagementClusterParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkSubnetCidr != nil { + in, out := &in.NetworkSubnetCidr, &out.NetworkSubnetCidr + *out = new(string) + **out = **in + } + if in.NsxtPasswordSecretRef != nil { + in, out := &in.NsxtPasswordSecretRef, &out.NsxtPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.SkuName != nil { + in, out := &in.SkuName, &out.SkuName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VcenterPasswordSecretRef != nil { + in, out := &in.VcenterPasswordSecretRef, &out.VcenterPasswordSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCloudParameters. +func (in *PrivateCloudParameters) DeepCopy() *PrivateCloudParameters { + if in == nil { + return nil + } + out := new(PrivateCloudParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateCloudSpec) DeepCopyInto(out *PrivateCloudSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCloudSpec. +func (in *PrivateCloudSpec) DeepCopy() *PrivateCloudSpec { + if in == nil { + return nil + } + out := new(PrivateCloudSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PrivateCloudStatus) DeepCopyInto(out *PrivateCloudStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCloudStatus. +func (in *PrivateCloudStatus) DeepCopy() *PrivateCloudStatus { + if in == nil { + return nil + } + out := new(PrivateCloudStatus) + in.DeepCopyInto(out) + return out +} diff --git a/apis/vmware/v1alpha1/zz_generated.managed.go b/apis/vmware/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..6b3f87b23 --- /dev/null +++ b/apis/vmware/v1alpha1/zz_generated.managed.go @@ -0,0 +1,188 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Cluster. +func (mg *Cluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Cluster. +func (mg *Cluster) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Cluster. +func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Cluster. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Cluster) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Cluster. +func (mg *Cluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Cluster. +func (mg *Cluster) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Cluster. +func (mg *Cluster) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Cluster. +func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Cluster. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Cluster. +func (mg *Cluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ExpressRouteAuthorization. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ExpressRouteAuthorization) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ExpressRouteAuthorization. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ExpressRouteAuthorization) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ExpressRouteAuthorization. +func (mg *ExpressRouteAuthorization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this PrivateCloud. +func (mg *PrivateCloud) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this PrivateCloud. +func (mg *PrivateCloud) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this PrivateCloud. +func (mg *PrivateCloud) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this PrivateCloud. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *PrivateCloud) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this PrivateCloud. +func (mg *PrivateCloud) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this PrivateCloud. +func (mg *PrivateCloud) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this PrivateCloud. +func (mg *PrivateCloud) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this PrivateCloud. +func (mg *PrivateCloud) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this PrivateCloud. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *PrivateCloud) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this PrivateCloud. +func (mg *PrivateCloud) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/vmware/v1alpha1/zz_generated.managedlist.go b/apis/vmware/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..03b96abc2 --- /dev/null +++ b/apis/vmware/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,47 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ClusterList. +func (l *ClusterList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ExpressRouteAuthorizationList. +func (l *ExpressRouteAuthorizationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this PrivateCloudList. +func (l *PrivateCloudList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/vmware/v1alpha1/zz_groupversion_info.go b/apis/vmware/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..ce9e830ca --- /dev/null +++ b/apis/vmware/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=vmware.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "vmware.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/vmware/v1alpha1/zz_privatecloud_terraformed.go b/apis/vmware/v1alpha1/zz_privatecloud_terraformed.go new file mode 100755 index 000000000..5cc91f81e --- /dev/null +++ b/apis/vmware/v1alpha1/zz_privatecloud_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this PrivateCloud +func (mg *PrivateCloud) GetTerraformResourceType() string { + return "azurerm_vmware_private_cloud" +} + +// GetConnectionDetailsMapping for this PrivateCloud +func (tr *PrivateCloud) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"nsxt_password": "spec.forProvider.nsxtPasswordSecretRef", "vcenter_password": "spec.forProvider.vcenterPasswordSecretRef"} +} + +// GetObservation of this PrivateCloud +func (tr *PrivateCloud) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this PrivateCloud +func (tr *PrivateCloud) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this PrivateCloud +func (tr *PrivateCloud) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this PrivateCloud +func (tr *PrivateCloud) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this PrivateCloud using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *PrivateCloud) LateInitialize(attrs []byte) (bool, error) { + params := &PrivateCloudParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *PrivateCloud) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vmware/v1alpha1/zz_privatecloud_types.go b/apis/vmware/v1alpha1/zz_privatecloud_types.go new file mode 100755 index 000000000..957bccc54 --- /dev/null +++ b/apis/vmware/v1alpha1/zz_privatecloud_types.go @@ -0,0 +1,153 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type CircuitObservation struct { + ExpressRouteID *string `json:"expressRouteId,omitempty" tf:"express_route_id,omitempty"` + + ExpressRoutePrivatePeeringID *string `json:"expressRoutePrivatePeeringId,omitempty" tf:"express_route_private_peering_id,omitempty"` + + PrimarySubnetCidr *string `json:"primarySubnetCidr,omitempty" tf:"primary_subnet_cidr,omitempty"` + + SecondarySubnetCidr *string `json:"secondarySubnetCidr,omitempty" tf:"secondary_subnet_cidr,omitempty"` +} + +type CircuitParameters struct { +} + +type ManagementClusterObservation struct { + Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"` + + ID *int64 `json:"id,omitempty" tf:"id,omitempty"` +} + +type ManagementClusterParameters struct { + + // +kubebuilder:validation:Required + Size *int64 `json:"size" tf:"size,omitempty"` +} + +type PrivateCloudObservation struct { + Circuit []CircuitObservation `json:"circuit,omitempty" tf:"circuit,omitempty"` + + HcxCloudManagerEndpoint *string `json:"hcxCloudManagerEndpoint,omitempty" tf:"hcx_cloud_manager_endpoint,omitempty"` + + ManagementSubnetCidr *string `json:"managementSubnetCidr,omitempty" tf:"management_subnet_cidr,omitempty"` + + NsxtCertificateThumbprint *string `json:"nsxtCertificateThumbprint,omitempty" tf:"nsxt_certificate_thumbprint,omitempty"` + + NsxtManagerEndpoint *string `json:"nsxtManagerEndpoint,omitempty" tf:"nsxt_manager_endpoint,omitempty"` + + ProvisioningSubnetCidr *string `json:"provisioningSubnetCidr,omitempty" tf:"provisioning_subnet_cidr,omitempty"` + + VcenterCertificateThumbprint *string `json:"vcenterCertificateThumbprint,omitempty" tf:"vcenter_certificate_thumbprint,omitempty"` + + VcsaEndpoint *string `json:"vcsaEndpoint,omitempty" tf:"vcsa_endpoint,omitempty"` + + VmotionSubnetCidr *string `json:"vmotionSubnetCidr,omitempty" tf:"vmotion_subnet_cidr,omitempty"` +} + +type PrivateCloudParameters struct { + + // +kubebuilder:validation:Optional + InternetConnectionEnabled *bool `json:"internetConnectionEnabled,omitempty" tf:"internet_connection_enabled,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ManagementCluster []ManagementClusterParameters `json:"managementCluster" tf:"management_cluster,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkSubnetCidr *string `json:"networkSubnetCidr" tf:"network_subnet_cidr,omitempty"` + + // +kubebuilder:validation:Optional + NsxtPasswordSecretRef *v1.SecretKeySelector `json:"nsxtPasswordSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Required + SkuName *string `json:"skuName" tf:"sku_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + VcenterPasswordSecretRef *v1.SecretKeySelector `json:"vcenterPasswordSecretRef,omitempty" tf:"-"` +} + +// PrivateCloudSpec defines the desired state of PrivateCloud +type PrivateCloudSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider PrivateCloudParameters `json:"forProvider"` +} + +// PrivateCloudStatus defines the observed state of PrivateCloud. +type PrivateCloudStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider PrivateCloudObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// PrivateCloud is the Schema for the PrivateClouds API +// +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,azurejet} +type PrivateCloud struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PrivateCloudSpec `json:"spec"` + Status PrivateCloudStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// PrivateCloudList contains a list of PrivateClouds +type PrivateCloudList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []PrivateCloud `json:"items"` +} + +// Repository type metadata. +var ( + PrivateCloud_Kind = "PrivateCloud" + PrivateCloud_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PrivateCloud_Kind}.String() + PrivateCloud_KindAPIVersion = PrivateCloud_Kind + "." + CRDGroupVersion.String() + PrivateCloud_GroupVersionKind = CRDGroupVersion.WithKind(PrivateCloud_Kind) +) + +func init() { + SchemeBuilder.Register(&PrivateCloud{}, &PrivateCloudList{}) +} diff --git a/apis/vpn/v1alpha1/zz_gateway_terraformed.go b/apis/vpn/v1alpha1/zz_gateway_terraformed.go new file mode 100755 index 000000000..c4c4796a4 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_gateway_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Gateway +func (mg *Gateway) GetTerraformResourceType() string { + return "azurerm_vpn_gateway" +} + +// GetConnectionDetailsMapping for this Gateway +func (tr *Gateway) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Gateway +func (tr *Gateway) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Gateway +func (tr *Gateway) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Gateway +func (tr *Gateway) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Gateway +func (tr *Gateway) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Gateway using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Gateway) LateInitialize(attrs []byte) (bool, error) { + params := &GatewayParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Gateway) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vpn/v1alpha1/zz_gateway_types.go b/apis/vpn/v1alpha1/zz_gateway_types.go new file mode 100755 index 000000000..85f515840 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_gateway_types.go @@ -0,0 +1,149 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BgpSettingsObservation struct { + BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty" tf:"bgp_peering_address,omitempty"` +} + +type BgpSettingsParameters struct { + + // +kubebuilder:validation:Required + Asn *int64 `json:"asn" tf:"asn,omitempty"` + + // +kubebuilder:validation:Optional + Instance0BgpPeeringAddress []Instance0BgpPeeringAddressParameters `json:"instance0BgpPeeringAddress,omitempty" tf:"instance_0_bgp_peering_address,omitempty"` + + // +kubebuilder:validation:Optional + Instance1BgpPeeringAddress []Instance1BgpPeeringAddressParameters `json:"instance1BgpPeeringAddress,omitempty" tf:"instance_1_bgp_peering_address,omitempty"` + + // +kubebuilder:validation:Required + PeerWeight *int64 `json:"peerWeight" tf:"peer_weight,omitempty"` +} + +type GatewayObservation struct { +} + +type GatewayParameters struct { + + // +kubebuilder:validation:Optional + BgpSettings []BgpSettingsParameters `json:"bgpSettings,omitempty" tf:"bgp_settings,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + ScaleUnit *int64 `json:"scaleUnit,omitempty" tf:"scale_unit,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualHubID *string `json:"virtualHubId" tf:"virtual_hub_id,omitempty"` +} + +type Instance0BgpPeeringAddressObservation struct { + DefaultIps []*string `json:"defaultIps,omitempty" tf:"default_ips,omitempty"` + + IPConfigurationID *string `json:"ipConfigurationId,omitempty" tf:"ip_configuration_id,omitempty"` + + TunnelIps []*string `json:"tunnelIps,omitempty" tf:"tunnel_ips,omitempty"` +} + +type Instance0BgpPeeringAddressParameters struct { + + // +kubebuilder:validation:Required + CustomIps []*string `json:"customIps" tf:"custom_ips,omitempty"` +} + +type Instance1BgpPeeringAddressObservation struct { + DefaultIps []*string `json:"defaultIps,omitempty" tf:"default_ips,omitempty"` + + IPConfigurationID *string `json:"ipConfigurationId,omitempty" tf:"ip_configuration_id,omitempty"` + + TunnelIps []*string `json:"tunnelIps,omitempty" tf:"tunnel_ips,omitempty"` +} + +type Instance1BgpPeeringAddressParameters struct { + + // +kubebuilder:validation:Required + CustomIps []*string `json:"customIps" tf:"custom_ips,omitempty"` +} + +// GatewaySpec defines the desired state of Gateway +type GatewaySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GatewayParameters `json:"forProvider"` +} + +// GatewayStatus defines the observed state of Gateway. +type GatewayStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GatewayObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Gateway is the Schema for the Gateways API +// +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,azurejet} +type Gateway struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GatewaySpec `json:"spec"` + Status GatewayStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayList contains a list of Gateways +type GatewayList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Gateway `json:"items"` +} + +// Repository type metadata. +var ( + Gateway_Kind = "Gateway" + Gateway_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Gateway_Kind}.String() + Gateway_KindAPIVersion = Gateway_Kind + "." + CRDGroupVersion.String() + Gateway_GroupVersionKind = CRDGroupVersion.WithKind(Gateway_Kind) +) + +func init() { + SchemeBuilder.Register(&Gateway{}, &GatewayList{}) +} diff --git a/apis/vpn/v1alpha1/zz_gatewayconnection_terraformed.go b/apis/vpn/v1alpha1/zz_gatewayconnection_terraformed.go new file mode 100755 index 000000000..31b9b16fc --- /dev/null +++ b/apis/vpn/v1alpha1/zz_gatewayconnection_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this GatewayConnection +func (mg *GatewayConnection) GetTerraformResourceType() string { + return "azurerm_vpn_gateway_connection" +} + +// GetConnectionDetailsMapping for this GatewayConnection +func (tr *GatewayConnection) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this GatewayConnection +func (tr *GatewayConnection) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this GatewayConnection +func (tr *GatewayConnection) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this GatewayConnection +func (tr *GatewayConnection) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this GatewayConnection +func (tr *GatewayConnection) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this GatewayConnection using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *GatewayConnection) LateInitialize(attrs []byte) (bool, error) { + params := &GatewayConnectionParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *GatewayConnection) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vpn/v1alpha1/zz_gatewayconnection_types.go b/apis/vpn/v1alpha1/zz_gatewayconnection_types.go new file mode 100755 index 000000000..4e2a4f139 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_gatewayconnection_types.go @@ -0,0 +1,180 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type GatewayConnectionObservation struct { +} + +type GatewayConnectionParameters struct { + + // +kubebuilder:validation:Optional + InternetSecurityEnabled *bool `json:"internetSecurityEnabled,omitempty" tf:"internet_security_enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + RemoteVpnSiteID *string `json:"remoteVpnSiteId" tf:"remote_vpn_site_id,omitempty"` + + // +kubebuilder:validation:Optional + Routing []RoutingParameters `json:"routing,omitempty" tf:"routing,omitempty"` + + // +kubebuilder:validation:Required + VpnGatewayID *string `json:"vpnGatewayId" tf:"vpn_gateway_id,omitempty"` + + // +kubebuilder:validation:Required + VpnLink []VpnLinkParameters `json:"vpnLink" tf:"vpn_link,omitempty"` +} + +type IpsecPolicyObservation struct { +} + +type IpsecPolicyParameters struct { + + // +kubebuilder:validation:Required + DhGroup *string `json:"dhGroup" tf:"dh_group,omitempty"` + + // +kubebuilder:validation:Required + EncryptionAlgorithm *string `json:"encryptionAlgorithm" tf:"encryption_algorithm,omitempty"` + + // +kubebuilder:validation:Required + IkeEncryptionAlgorithm *string `json:"ikeEncryptionAlgorithm" tf:"ike_encryption_algorithm,omitempty"` + + // +kubebuilder:validation:Required + IkeIntegrityAlgorithm *string `json:"ikeIntegrityAlgorithm" tf:"ike_integrity_algorithm,omitempty"` + + // +kubebuilder:validation:Required + IntegrityAlgorithm *string `json:"integrityAlgorithm" tf:"integrity_algorithm,omitempty"` + + // +kubebuilder:validation:Required + PfsGroup *string `json:"pfsGroup" tf:"pfs_group,omitempty"` + + // +kubebuilder:validation:Required + SaDataSizeKb *int64 `json:"saDataSizeKb" tf:"sa_data_size_kb,omitempty"` + + // +kubebuilder:validation:Required + SaLifetimeSec *int64 `json:"saLifetimeSec" tf:"sa_lifetime_sec,omitempty"` +} + +type RoutingObservation struct { +} + +type RoutingParameters struct { + + // +kubebuilder:validation:Required + AssociatedRouteTable *string `json:"associatedRouteTable" tf:"associated_route_table,omitempty"` + + // +kubebuilder:validation:Required + PropagatedRouteTables []*string `json:"propagatedRouteTables" tf:"propagated_route_tables,omitempty"` +} + +type VpnLinkObservation struct { +} + +type VpnLinkParameters struct { + + // +kubebuilder:validation:Optional + BandwidthMbps *int64 `json:"bandwidthMbps,omitempty" tf:"bandwidth_mbps,omitempty"` + + // +kubebuilder:validation:Optional + BgpEnabled *bool `json:"bgpEnabled,omitempty" tf:"bgp_enabled,omitempty"` + + // +kubebuilder:validation:Optional + IpsecPolicy []IpsecPolicyParameters `json:"ipsecPolicy,omitempty" tf:"ipsec_policy,omitempty"` + + // +kubebuilder:validation:Optional + LocalAzureIPAddressEnabled *bool `json:"localAzureIpAddressEnabled,omitempty" tf:"local_azure_ip_address_enabled,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PolicyBasedTrafficSelectorEnabled *bool `json:"policyBasedTrafficSelectorEnabled,omitempty" tf:"policy_based_traffic_selector_enabled,omitempty"` + + // +kubebuilder:validation:Optional + Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` + + // +kubebuilder:validation:Optional + RatelimitEnabled *bool `json:"ratelimitEnabled,omitempty" tf:"ratelimit_enabled,omitempty"` + + // +kubebuilder:validation:Optional + RouteWeight *int64 `json:"routeWeight,omitempty" tf:"route_weight,omitempty"` + + // +kubebuilder:validation:Optional + SharedKey *string `json:"sharedKey,omitempty" tf:"shared_key,omitempty"` + + // +kubebuilder:validation:Required + VpnSiteLinkID *string `json:"vpnSiteLinkId" tf:"vpn_site_link_id,omitempty"` +} + +// GatewayConnectionSpec defines the desired state of GatewayConnection +type GatewayConnectionSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider GatewayConnectionParameters `json:"forProvider"` +} + +// GatewayConnectionStatus defines the observed state of GatewayConnection. +type GatewayConnectionStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider GatewayConnectionObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayConnection is the Schema for the GatewayConnections API +// +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,azurejet} +type GatewayConnection struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec GatewayConnectionSpec `json:"spec"` + Status GatewayConnectionStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// GatewayConnectionList contains a list of GatewayConnections +type GatewayConnectionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GatewayConnection `json:"items"` +} + +// Repository type metadata. +var ( + GatewayConnection_Kind = "GatewayConnection" + GatewayConnection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: GatewayConnection_Kind}.String() + GatewayConnection_KindAPIVersion = GatewayConnection_Kind + "." + CRDGroupVersion.String() + GatewayConnection_GroupVersionKind = CRDGroupVersion.WithKind(GatewayConnection_Kind) +) + +func init() { + SchemeBuilder.Register(&GatewayConnection{}, &GatewayConnectionList{}) +} diff --git a/apis/vpn/v1alpha1/zz_generated.deepcopy.go b/apis/vpn/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..7a18a298f --- /dev/null +++ b/apis/vpn/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,1757 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureActiveDirectoryAuthenticationObservation) DeepCopyInto(out *AzureActiveDirectoryAuthenticationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureActiveDirectoryAuthenticationObservation. +func (in *AzureActiveDirectoryAuthenticationObservation) DeepCopy() *AzureActiveDirectoryAuthenticationObservation { + if in == nil { + return nil + } + out := new(AzureActiveDirectoryAuthenticationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AzureActiveDirectoryAuthenticationParameters) DeepCopyInto(out *AzureActiveDirectoryAuthenticationParameters) { + *out = *in + if in.Audience != nil { + in, out := &in.Audience, &out.Audience + *out = new(string) + **out = **in + } + if in.Issuer != nil { + in, out := &in.Issuer, &out.Issuer + *out = new(string) + **out = **in + } + if in.Tenant != nil { + in, out := &in.Tenant, &out.Tenant + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureActiveDirectoryAuthenticationParameters. +func (in *AzureActiveDirectoryAuthenticationParameters) DeepCopy() *AzureActiveDirectoryAuthenticationParameters { + if in == nil { + return nil + } + out := new(AzureActiveDirectoryAuthenticationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BgpObservation) DeepCopyInto(out *BgpObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpObservation. +func (in *BgpObservation) DeepCopy() *BgpObservation { + if in == nil { + return nil + } + out := new(BgpObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BgpParameters) DeepCopyInto(out *BgpParameters) { + *out = *in + if in.Asn != nil { + in, out := &in.Asn, &out.Asn + *out = new(int64) + **out = **in + } + if in.PeeringAddress != nil { + in, out := &in.PeeringAddress, &out.PeeringAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpParameters. +func (in *BgpParameters) DeepCopy() *BgpParameters { + if in == nil { + return nil + } + out := new(BgpParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BgpSettingsObservation) DeepCopyInto(out *BgpSettingsObservation) { + *out = *in + if in.BgpPeeringAddress != nil { + in, out := &in.BgpPeeringAddress, &out.BgpPeeringAddress + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpSettingsObservation. +func (in *BgpSettingsObservation) DeepCopy() *BgpSettingsObservation { + if in == nil { + return nil + } + out := new(BgpSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BgpSettingsParameters) DeepCopyInto(out *BgpSettingsParameters) { + *out = *in + if in.Asn != nil { + in, out := &in.Asn, &out.Asn + *out = new(int64) + **out = **in + } + if in.Instance0BgpPeeringAddress != nil { + in, out := &in.Instance0BgpPeeringAddress, &out.Instance0BgpPeeringAddress + *out = make([]Instance0BgpPeeringAddressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Instance1BgpPeeringAddress != nil { + in, out := &in.Instance1BgpPeeringAddress, &out.Instance1BgpPeeringAddress + *out = make([]Instance1BgpPeeringAddressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PeerWeight != nil { + in, out := &in.PeerWeight, &out.PeerWeight + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpSettingsParameters. +func (in *BgpSettingsParameters) DeepCopy() *BgpSettingsParameters { + if in == nil { + return nil + } + out := new(BgpSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientRevokedCertificateObservation) DeepCopyInto(out *ClientRevokedCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientRevokedCertificateObservation. +func (in *ClientRevokedCertificateObservation) DeepCopy() *ClientRevokedCertificateObservation { + if in == nil { + return nil + } + out := new(ClientRevokedCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientRevokedCertificateParameters) DeepCopyInto(out *ClientRevokedCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientRevokedCertificateParameters. +func (in *ClientRevokedCertificateParameters) DeepCopy() *ClientRevokedCertificateParameters { + if in == nil { + return nil + } + out := new(ClientRevokedCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientRootCertificateObservation) DeepCopyInto(out *ClientRootCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientRootCertificateObservation. +func (in *ClientRootCertificateObservation) DeepCopy() *ClientRootCertificateObservation { + if in == nil { + return nil + } + out := new(ClientRootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClientRootCertificateParameters) DeepCopyInto(out *ClientRootCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicCertData != nil { + in, out := &in.PublicCertData, &out.PublicCertData + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientRootCertificateParameters. +func (in *ClientRootCertificateParameters) DeepCopy() *ClientRootCertificateParameters { + if in == nil { + return nil + } + out := new(ClientRootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Gateway) DeepCopyInto(out *Gateway) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway. +func (in *Gateway) DeepCopy() *Gateway { + if in == nil { + return nil + } + out := new(Gateway) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Gateway) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayConnection) DeepCopyInto(out *GatewayConnection) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConnection. +func (in *GatewayConnection) DeepCopy() *GatewayConnection { + if in == nil { + return nil + } + out := new(GatewayConnection) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayConnection) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayConnectionList) DeepCopyInto(out *GatewayConnectionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GatewayConnection, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConnectionList. +func (in *GatewayConnectionList) DeepCopy() *GatewayConnectionList { + if in == nil { + return nil + } + out := new(GatewayConnectionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayConnectionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayConnectionObservation) DeepCopyInto(out *GatewayConnectionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConnectionObservation. +func (in *GatewayConnectionObservation) DeepCopy() *GatewayConnectionObservation { + if in == nil { + return nil + } + out := new(GatewayConnectionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayConnectionParameters) DeepCopyInto(out *GatewayConnectionParameters) { + *out = *in + if in.InternetSecurityEnabled != nil { + in, out := &in.InternetSecurityEnabled, &out.InternetSecurityEnabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.RemoteVpnSiteID != nil { + in, out := &in.RemoteVpnSiteID, &out.RemoteVpnSiteID + *out = new(string) + **out = **in + } + if in.Routing != nil { + in, out := &in.Routing, &out.Routing + *out = make([]RoutingParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VpnGatewayID != nil { + in, out := &in.VpnGatewayID, &out.VpnGatewayID + *out = new(string) + **out = **in + } + if in.VpnLink != nil { + in, out := &in.VpnLink, &out.VpnLink + *out = make([]VpnLinkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConnectionParameters. +func (in *GatewayConnectionParameters) DeepCopy() *GatewayConnectionParameters { + if in == nil { + return nil + } + out := new(GatewayConnectionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayConnectionSpec) DeepCopyInto(out *GatewayConnectionSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConnectionSpec. +func (in *GatewayConnectionSpec) DeepCopy() *GatewayConnectionSpec { + if in == nil { + return nil + } + out := new(GatewayConnectionSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayConnectionStatus) DeepCopyInto(out *GatewayConnectionStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayConnectionStatus. +func (in *GatewayConnectionStatus) DeepCopy() *GatewayConnectionStatus { + if in == nil { + return nil + } + out := new(GatewayConnectionStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayList) DeepCopyInto(out *GatewayList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Gateway, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList. +func (in *GatewayList) DeepCopy() *GatewayList { + if in == nil { + return nil + } + out := new(GatewayList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *GatewayList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayObservation) DeepCopyInto(out *GatewayObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayObservation. +func (in *GatewayObservation) DeepCopy() *GatewayObservation { + if in == nil { + return nil + } + out := new(GatewayObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { + *out = *in + if in.BgpSettings != nil { + in, out := &in.BgpSettings, &out.BgpSettings + *out = make([]BgpSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.ScaleUnit != nil { + in, out := &in.ScaleUnit, &out.ScaleUnit + *out = new(int64) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualHubID != nil { + in, out := &in.VirtualHubID, &out.VirtualHubID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayParameters. +func (in *GatewayParameters) DeepCopy() *GatewayParameters { + if in == nil { + return nil + } + out := new(GatewayParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec. +func (in *GatewaySpec) DeepCopy() *GatewaySpec { + if in == nil { + return nil + } + out := new(GatewaySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus. +func (in *GatewayStatus) DeepCopy() *GatewayStatus { + if in == nil { + return nil + } + out := new(GatewayStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Instance0BgpPeeringAddressObservation) DeepCopyInto(out *Instance0BgpPeeringAddressObservation) { + *out = *in + if in.DefaultIps != nil { + in, out := &in.DefaultIps, &out.DefaultIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPConfigurationID != nil { + in, out := &in.IPConfigurationID, &out.IPConfigurationID + *out = new(string) + **out = **in + } + if in.TunnelIps != nil { + in, out := &in.TunnelIps, &out.TunnelIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance0BgpPeeringAddressObservation. +func (in *Instance0BgpPeeringAddressObservation) DeepCopy() *Instance0BgpPeeringAddressObservation { + if in == nil { + return nil + } + out := new(Instance0BgpPeeringAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Instance0BgpPeeringAddressParameters) DeepCopyInto(out *Instance0BgpPeeringAddressParameters) { + *out = *in + if in.CustomIps != nil { + in, out := &in.CustomIps, &out.CustomIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance0BgpPeeringAddressParameters. +func (in *Instance0BgpPeeringAddressParameters) DeepCopy() *Instance0BgpPeeringAddressParameters { + if in == nil { + return nil + } + out := new(Instance0BgpPeeringAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Instance1BgpPeeringAddressObservation) DeepCopyInto(out *Instance1BgpPeeringAddressObservation) { + *out = *in + if in.DefaultIps != nil { + in, out := &in.DefaultIps, &out.DefaultIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.IPConfigurationID != nil { + in, out := &in.IPConfigurationID, &out.IPConfigurationID + *out = new(string) + **out = **in + } + if in.TunnelIps != nil { + in, out := &in.TunnelIps, &out.TunnelIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance1BgpPeeringAddressObservation. +func (in *Instance1BgpPeeringAddressObservation) DeepCopy() *Instance1BgpPeeringAddressObservation { + if in == nil { + return nil + } + out := new(Instance1BgpPeeringAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Instance1BgpPeeringAddressParameters) DeepCopyInto(out *Instance1BgpPeeringAddressParameters) { + *out = *in + if in.CustomIps != nil { + in, out := &in.CustomIps, &out.CustomIps + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance1BgpPeeringAddressParameters. +func (in *Instance1BgpPeeringAddressParameters) DeepCopy() *Instance1BgpPeeringAddressParameters { + if in == nil { + return nil + } + out := new(Instance1BgpPeeringAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpsecPolicyObservation) DeepCopyInto(out *IpsecPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpsecPolicyObservation. +func (in *IpsecPolicyObservation) DeepCopy() *IpsecPolicyObservation { + if in == nil { + return nil + } + out := new(IpsecPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IpsecPolicyParameters) DeepCopyInto(out *IpsecPolicyParameters) { + *out = *in + if in.DhGroup != nil { + in, out := &in.DhGroup, &out.DhGroup + *out = new(string) + **out = **in + } + if in.EncryptionAlgorithm != nil { + in, out := &in.EncryptionAlgorithm, &out.EncryptionAlgorithm + *out = new(string) + **out = **in + } + if in.IkeEncryptionAlgorithm != nil { + in, out := &in.IkeEncryptionAlgorithm, &out.IkeEncryptionAlgorithm + *out = new(string) + **out = **in + } + if in.IkeIntegrityAlgorithm != nil { + in, out := &in.IkeIntegrityAlgorithm, &out.IkeIntegrityAlgorithm + *out = new(string) + **out = **in + } + if in.IntegrityAlgorithm != nil { + in, out := &in.IntegrityAlgorithm, &out.IntegrityAlgorithm + *out = new(string) + **out = **in + } + if in.PfsGroup != nil { + in, out := &in.PfsGroup, &out.PfsGroup + *out = new(string) + **out = **in + } + if in.SaDataSizeKb != nil { + in, out := &in.SaDataSizeKb, &out.SaDataSizeKb + *out = new(int64) + **out = **in + } + if in.SaLifetimeSec != nil { + in, out := &in.SaLifetimeSec, &out.SaLifetimeSec + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpsecPolicyParameters. +func (in *IpsecPolicyParameters) DeepCopy() *IpsecPolicyParameters { + if in == nil { + return nil + } + out := new(IpsecPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkObservation) DeepCopyInto(out *LinkObservation) { + *out = *in + if in.ID != nil { + in, out := &in.ID, &out.ID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkObservation. +func (in *LinkObservation) DeepCopy() *LinkObservation { + if in == nil { + return nil + } + out := new(LinkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LinkParameters) DeepCopyInto(out *LinkParameters) { + *out = *in + if in.Bgp != nil { + in, out := &in.Bgp, &out.Bgp + *out = make([]BgpParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Fqdn != nil { + in, out := &in.Fqdn, &out.Fqdn + *out = new(string) + **out = **in + } + if in.IPAddress != nil { + in, out := &in.IPAddress, &out.IPAddress + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProviderName != nil { + in, out := &in.ProviderName, &out.ProviderName + *out = new(string) + **out = **in + } + if in.SpeedInMbps != nil { + in, out := &in.SpeedInMbps, &out.SpeedInMbps + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkParameters. +func (in *LinkParameters) DeepCopy() *LinkParameters { + if in == nil { + return nil + } + out := new(LinkParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusClientRootCertificateObservation) DeepCopyInto(out *RadiusClientRootCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusClientRootCertificateObservation. +func (in *RadiusClientRootCertificateObservation) DeepCopy() *RadiusClientRootCertificateObservation { + if in == nil { + return nil + } + out := new(RadiusClientRootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusClientRootCertificateParameters) DeepCopyInto(out *RadiusClientRootCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusClientRootCertificateParameters. +func (in *RadiusClientRootCertificateParameters) DeepCopy() *RadiusClientRootCertificateParameters { + if in == nil { + return nil + } + out := new(RadiusClientRootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusObservation) DeepCopyInto(out *RadiusObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusObservation. +func (in *RadiusObservation) DeepCopy() *RadiusObservation { + if in == nil { + return nil + } + out := new(RadiusObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusParameters) DeepCopyInto(out *RadiusParameters) { + *out = *in + if in.ClientRootCertificate != nil { + in, out := &in.ClientRootCertificate, &out.ClientRootCertificate + *out = make([]RadiusClientRootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Server != nil { + in, out := &in.Server, &out.Server + *out = make([]ServerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ServerRootCertificate != nil { + in, out := &in.ServerRootCertificate, &out.ServerRootCertificate + *out = make([]ServerRootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusParameters. +func (in *RadiusParameters) DeepCopy() *RadiusParameters { + if in == nil { + return nil + } + out := new(RadiusParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusServerClientRootCertificateObservation) DeepCopyInto(out *RadiusServerClientRootCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusServerClientRootCertificateObservation. +func (in *RadiusServerClientRootCertificateObservation) DeepCopy() *RadiusServerClientRootCertificateObservation { + if in == nil { + return nil + } + out := new(RadiusServerClientRootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusServerClientRootCertificateParameters) DeepCopyInto(out *RadiusServerClientRootCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Thumbprint != nil { + in, out := &in.Thumbprint, &out.Thumbprint + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusServerClientRootCertificateParameters. +func (in *RadiusServerClientRootCertificateParameters) DeepCopy() *RadiusServerClientRootCertificateParameters { + if in == nil { + return nil + } + out := new(RadiusServerClientRootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusServerObservation) DeepCopyInto(out *RadiusServerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusServerObservation. +func (in *RadiusServerObservation) DeepCopy() *RadiusServerObservation { + if in == nil { + return nil + } + out := new(RadiusServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusServerParameters) DeepCopyInto(out *RadiusServerParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.ClientRootCertificate != nil { + in, out := &in.ClientRootCertificate, &out.ClientRootCertificate + *out = make([]RadiusServerClientRootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.SecretSecretRef = in.SecretSecretRef + if in.ServerRootCertificate != nil { + in, out := &in.ServerRootCertificate, &out.ServerRootCertificate + *out = make([]RadiusServerServerRootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusServerParameters. +func (in *RadiusServerParameters) DeepCopy() *RadiusServerParameters { + if in == nil { + return nil + } + out := new(RadiusServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusServerServerRootCertificateObservation) DeepCopyInto(out *RadiusServerServerRootCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusServerServerRootCertificateObservation. +func (in *RadiusServerServerRootCertificateObservation) DeepCopy() *RadiusServerServerRootCertificateObservation { + if in == nil { + return nil + } + out := new(RadiusServerServerRootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RadiusServerServerRootCertificateParameters) DeepCopyInto(out *RadiusServerServerRootCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicCertData != nil { + in, out := &in.PublicCertData, &out.PublicCertData + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RadiusServerServerRootCertificateParameters. +func (in *RadiusServerServerRootCertificateParameters) DeepCopy() *RadiusServerServerRootCertificateParameters { + if in == nil { + return nil + } + out := new(RadiusServerServerRootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutingObservation) DeepCopyInto(out *RoutingObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingObservation. +func (in *RoutingObservation) DeepCopy() *RoutingObservation { + if in == nil { + return nil + } + out := new(RoutingObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RoutingParameters) DeepCopyInto(out *RoutingParameters) { + *out = *in + if in.AssociatedRouteTable != nil { + in, out := &in.AssociatedRouteTable, &out.AssociatedRouteTable + *out = new(string) + **out = **in + } + if in.PropagatedRouteTables != nil { + in, out := &in.PropagatedRouteTables, &out.PropagatedRouteTables + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutingParameters. +func (in *RoutingParameters) DeepCopy() *RoutingParameters { + if in == nil { + return nil + } + out := new(RoutingParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration. +func (in *ServerConfiguration) DeepCopy() *ServerConfiguration { + if in == nil { + return nil + } + out := new(ServerConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationIpsecPolicyObservation) DeepCopyInto(out *ServerConfigurationIpsecPolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationIpsecPolicyObservation. +func (in *ServerConfigurationIpsecPolicyObservation) DeepCopy() *ServerConfigurationIpsecPolicyObservation { + if in == nil { + return nil + } + out := new(ServerConfigurationIpsecPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationIpsecPolicyParameters) DeepCopyInto(out *ServerConfigurationIpsecPolicyParameters) { + *out = *in + if in.DhGroup != nil { + in, out := &in.DhGroup, &out.DhGroup + *out = new(string) + **out = **in + } + if in.IkeEncryption != nil { + in, out := &in.IkeEncryption, &out.IkeEncryption + *out = new(string) + **out = **in + } + if in.IkeIntegrity != nil { + in, out := &in.IkeIntegrity, &out.IkeIntegrity + *out = new(string) + **out = **in + } + if in.IpsecEncryption != nil { + in, out := &in.IpsecEncryption, &out.IpsecEncryption + *out = new(string) + **out = **in + } + if in.IpsecIntegrity != nil { + in, out := &in.IpsecIntegrity, &out.IpsecIntegrity + *out = new(string) + **out = **in + } + if in.PfsGroup != nil { + in, out := &in.PfsGroup, &out.PfsGroup + *out = new(string) + **out = **in + } + if in.SaDataSizeKilobytes != nil { + in, out := &in.SaDataSizeKilobytes, &out.SaDataSizeKilobytes + *out = new(int64) + **out = **in + } + if in.SaLifetimeSeconds != nil { + in, out := &in.SaLifetimeSeconds, &out.SaLifetimeSeconds + *out = new(int64) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationIpsecPolicyParameters. +func (in *ServerConfigurationIpsecPolicyParameters) DeepCopy() *ServerConfigurationIpsecPolicyParameters { + if in == nil { + return nil + } + out := new(ServerConfigurationIpsecPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationList) DeepCopyInto(out *ServerConfigurationList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ServerConfiguration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationList. +func (in *ServerConfigurationList) DeepCopy() *ServerConfigurationList { + if in == nil { + return nil + } + out := new(ServerConfigurationList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ServerConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationObservation) DeepCopyInto(out *ServerConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationObservation. +func (in *ServerConfigurationObservation) DeepCopy() *ServerConfigurationObservation { + if in == nil { + return nil + } + out := new(ServerConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationParameters) DeepCopyInto(out *ServerConfigurationParameters) { + *out = *in + if in.AzureActiveDirectoryAuthentication != nil { + in, out := &in.AzureActiveDirectoryAuthentication, &out.AzureActiveDirectoryAuthentication + *out = make([]AzureActiveDirectoryAuthenticationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientRevokedCertificate != nil { + in, out := &in.ClientRevokedCertificate, &out.ClientRevokedCertificate + *out = make([]ClientRevokedCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ClientRootCertificate != nil { + in, out := &in.ClientRootCertificate, &out.ClientRootCertificate + *out = make([]ClientRootCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IpsecPolicy != nil { + in, out := &in.IpsecPolicy, &out.IpsecPolicy + *out = make([]ServerConfigurationIpsecPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Radius != nil { + in, out := &in.Radius, &out.Radius + *out = make([]RadiusParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.RadiusServer != nil { + in, out := &in.RadiusServer, &out.RadiusServer + *out = make([]RadiusServerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VpnAuthenticationTypes != nil { + in, out := &in.VpnAuthenticationTypes, &out.VpnAuthenticationTypes + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VpnProtocols != nil { + in, out := &in.VpnProtocols, &out.VpnProtocols + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationParameters. +func (in *ServerConfigurationParameters) DeepCopy() *ServerConfigurationParameters { + if in == nil { + return nil + } + out := new(ServerConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationSpec) DeepCopyInto(out *ServerConfigurationSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationSpec. +func (in *ServerConfigurationSpec) DeepCopy() *ServerConfigurationSpec { + if in == nil { + return nil + } + out := new(ServerConfigurationSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerConfigurationStatus) DeepCopyInto(out *ServerConfigurationStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfigurationStatus. +func (in *ServerConfigurationStatus) DeepCopy() *ServerConfigurationStatus { + if in == nil { + return nil + } + out := new(ServerConfigurationStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerObservation. +func (in *ServerObservation) DeepCopy() *ServerObservation { + if in == nil { + return nil + } + out := new(ServerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { + *out = *in + if in.Address != nil { + in, out := &in.Address, &out.Address + *out = new(string) + **out = **in + } + if in.Score != nil { + in, out := &in.Score, &out.Score + *out = new(int64) + **out = **in + } + out.SecretSecretRef = in.SecretSecretRef +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerParameters. +func (in *ServerParameters) DeepCopy() *ServerParameters { + if in == nil { + return nil + } + out := new(ServerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerRootCertificateObservation) DeepCopyInto(out *ServerRootCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerRootCertificateObservation. +func (in *ServerRootCertificateObservation) DeepCopy() *ServerRootCertificateObservation { + if in == nil { + return nil + } + out := new(ServerRootCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ServerRootCertificateParameters) DeepCopyInto(out *ServerRootCertificateParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicCertData != nil { + in, out := &in.PublicCertData, &out.PublicCertData + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerRootCertificateParameters. +func (in *ServerRootCertificateParameters) DeepCopy() *ServerRootCertificateParameters { + if in == nil { + return nil + } + out := new(ServerRootCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Site) DeepCopyInto(out *Site) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Site. +func (in *Site) DeepCopy() *Site { + if in == nil { + return nil + } + out := new(Site) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Site) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteList) DeepCopyInto(out *SiteList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Site, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteList. +func (in *SiteList) DeepCopy() *SiteList { + if in == nil { + return nil + } + out := new(SiteList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SiteList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteObservation) DeepCopyInto(out *SiteObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteObservation. +func (in *SiteObservation) DeepCopy() *SiteObservation { + if in == nil { + return nil + } + out := new(SiteObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteParameters) DeepCopyInto(out *SiteParameters) { + *out = *in + if in.AddressCidrs != nil { + in, out := &in.AddressCidrs, &out.AddressCidrs + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.DeviceModel != nil { + in, out := &in.DeviceModel, &out.DeviceModel + *out = new(string) + **out = **in + } + if in.DeviceVendor != nil { + in, out := &in.DeviceVendor, &out.DeviceVendor + *out = new(string) + **out = **in + } + if in.Link != nil { + in, out := &in.Link, &out.Link + *out = make([]LinkParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.VirtualWanID != nil { + in, out := &in.VirtualWanID, &out.VirtualWanID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteParameters. +func (in *SiteParameters) DeepCopy() *SiteParameters { + if in == nil { + return nil + } + out := new(SiteParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteSpec) DeepCopyInto(out *SiteSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteSpec. +func (in *SiteSpec) DeepCopy() *SiteSpec { + if in == nil { + return nil + } + out := new(SiteSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SiteStatus) DeepCopyInto(out *SiteStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + out.AtProvider = in.AtProvider +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SiteStatus. +func (in *SiteStatus) DeepCopy() *SiteStatus { + if in == nil { + return nil + } + out := new(SiteStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VpnLinkObservation) DeepCopyInto(out *VpnLinkObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnLinkObservation. +func (in *VpnLinkObservation) DeepCopy() *VpnLinkObservation { + if in == nil { + return nil + } + out := new(VpnLinkObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VpnLinkParameters) DeepCopyInto(out *VpnLinkParameters) { + *out = *in + if in.BandwidthMbps != nil { + in, out := &in.BandwidthMbps, &out.BandwidthMbps + *out = new(int64) + **out = **in + } + if in.BgpEnabled != nil { + in, out := &in.BgpEnabled, &out.BgpEnabled + *out = new(bool) + **out = **in + } + if in.IpsecPolicy != nil { + in, out := &in.IpsecPolicy, &out.IpsecPolicy + *out = make([]IpsecPolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LocalAzureIPAddressEnabled != nil { + in, out := &in.LocalAzureIPAddressEnabled, &out.LocalAzureIPAddressEnabled + *out = new(bool) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicyBasedTrafficSelectorEnabled != nil { + in, out := &in.PolicyBasedTrafficSelectorEnabled, &out.PolicyBasedTrafficSelectorEnabled + *out = new(bool) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } + if in.RatelimitEnabled != nil { + in, out := &in.RatelimitEnabled, &out.RatelimitEnabled + *out = new(bool) + **out = **in + } + if in.RouteWeight != nil { + in, out := &in.RouteWeight, &out.RouteWeight + *out = new(int64) + **out = **in + } + if in.SharedKey != nil { + in, out := &in.SharedKey, &out.SharedKey + *out = new(string) + **out = **in + } + if in.VpnSiteLinkID != nil { + in, out := &in.VpnSiteLinkID, &out.VpnSiteLinkID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VpnLinkParameters. +func (in *VpnLinkParameters) DeepCopy() *VpnLinkParameters { + if in == nil { + return nil + } + out := new(VpnLinkParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/vpn/v1alpha1/zz_generated.managed.go b/apis/vpn/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..f2a76a198 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_generated.managed.go @@ -0,0 +1,244 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this Gateway. +func (mg *Gateway) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Gateway. +func (mg *Gateway) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Gateway. +func (mg *Gateway) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Gateway. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Gateway) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Gateway. +func (mg *Gateway) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Gateway. +func (mg *Gateway) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Gateway. +func (mg *Gateway) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Gateway. +func (mg *Gateway) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Gateway. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Gateway) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Gateway. +func (mg *Gateway) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this GatewayConnection. +func (mg *GatewayConnection) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this GatewayConnection. +func (mg *GatewayConnection) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this GatewayConnection. +func (mg *GatewayConnection) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this GatewayConnection. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *GatewayConnection) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this GatewayConnection. +func (mg *GatewayConnection) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this GatewayConnection. +func (mg *GatewayConnection) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this GatewayConnection. +func (mg *GatewayConnection) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this GatewayConnection. +func (mg *GatewayConnection) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this GatewayConnection. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *GatewayConnection) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this GatewayConnection. +func (mg *GatewayConnection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this ServerConfiguration. +func (mg *ServerConfiguration) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ServerConfiguration. +func (mg *ServerConfiguration) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ServerConfiguration. +func (mg *ServerConfiguration) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ServerConfiguration. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ServerConfiguration) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ServerConfiguration. +func (mg *ServerConfiguration) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ServerConfiguration. +func (mg *ServerConfiguration) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ServerConfiguration. +func (mg *ServerConfiguration) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ServerConfiguration. +func (mg *ServerConfiguration) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ServerConfiguration. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ServerConfiguration) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ServerConfiguration. +func (mg *ServerConfiguration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this Site. +func (mg *Site) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this Site. +func (mg *Site) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this Site. +func (mg *Site) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this Site. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *Site) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this Site. +func (mg *Site) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this Site. +func (mg *Site) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this Site. +func (mg *Site) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this Site. +func (mg *Site) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this Site. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *Site) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this Site. +func (mg *Site) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/vpn/v1alpha1/zz_generated.managedlist.go b/apis/vpn/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..0e51dfa63 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,56 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this GatewayConnectionList. +func (l *GatewayConnectionList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this GatewayList. +func (l *GatewayList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this ServerConfigurationList. +func (l *ServerConfigurationList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this SiteList. +func (l *SiteList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/vpn/v1alpha1/zz_groupversion_info.go b/apis/vpn/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..71b20ae08 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=vpn.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "vpn.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/vpn/v1alpha1/zz_serverconfiguration_terraformed.go b/apis/vpn/v1alpha1/zz_serverconfiguration_terraformed.go new file mode 100755 index 000000000..35104a545 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_serverconfiguration_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ServerConfiguration +func (mg *ServerConfiguration) GetTerraformResourceType() string { + return "azurerm_vpn_server_configuration" +} + +// GetConnectionDetailsMapping for this ServerConfiguration +func (tr *ServerConfiguration) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"radius[*].server[*].secret": "spec.forProvider.radius[*].server[*].secretSecretRef", "radius_server[*].secret": "spec.forProvider.radiusServer[*].secretSecretRef"} +} + +// GetObservation of this ServerConfiguration +func (tr *ServerConfiguration) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ServerConfiguration +func (tr *ServerConfiguration) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ServerConfiguration +func (tr *ServerConfiguration) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ServerConfiguration +func (tr *ServerConfiguration) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ServerConfiguration using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ServerConfiguration) LateInitialize(attrs []byte) (bool, error) { + params := &ServerConfigurationParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ServerConfiguration) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vpn/v1alpha1/zz_serverconfiguration_types.go b/apis/vpn/v1alpha1/zz_serverconfiguration_types.go new file mode 100755 index 000000000..ebd61a692 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_serverconfiguration_types.go @@ -0,0 +1,282 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AzureActiveDirectoryAuthenticationObservation struct { +} + +type AzureActiveDirectoryAuthenticationParameters struct { + + // +kubebuilder:validation:Required + Audience *string `json:"audience" tf:"audience,omitempty"` + + // +kubebuilder:validation:Required + Issuer *string `json:"issuer" tf:"issuer,omitempty"` + + // +kubebuilder:validation:Required + Tenant *string `json:"tenant" tf:"tenant,omitempty"` +} + +type ClientRevokedCertificateObservation struct { +} + +type ClientRevokedCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` +} + +type ClientRootCertificateObservation struct { +} + +type ClientRootCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicCertData *string `json:"publicCertData" tf:"public_cert_data,omitempty"` +} + +type RadiusClientRootCertificateObservation struct { +} + +type RadiusClientRootCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` +} + +type RadiusObservation struct { +} + +type RadiusParameters struct { + + // +kubebuilder:validation:Optional + ClientRootCertificate []RadiusClientRootCertificateParameters `json:"clientRootCertificate,omitempty" tf:"client_root_certificate,omitempty"` + + // +kubebuilder:validation:Optional + Server []ServerParameters `json:"server,omitempty" tf:"server,omitempty"` + + // +kubebuilder:validation:Required + ServerRootCertificate []ServerRootCertificateParameters `json:"serverRootCertificate" tf:"server_root_certificate,omitempty"` +} + +type RadiusServerClientRootCertificateObservation struct { +} + +type RadiusServerClientRootCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Thumbprint *string `json:"thumbprint" tf:"thumbprint,omitempty"` +} + +type RadiusServerObservation struct { +} + +type RadiusServerParameters struct { + + // +kubebuilder:validation:Required + Address *string `json:"address" tf:"address,omitempty"` + + // +kubebuilder:validation:Optional + ClientRootCertificate []RadiusServerClientRootCertificateParameters `json:"clientRootCertificate,omitempty" tf:"client_root_certificate,omitempty"` + + // +kubebuilder:validation:Required + SecretSecretRef v1.SecretKeySelector `json:"secretSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + ServerRootCertificate []RadiusServerServerRootCertificateParameters `json:"serverRootCertificate" tf:"server_root_certificate,omitempty"` +} + +type RadiusServerServerRootCertificateObservation struct { +} + +type RadiusServerServerRootCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicCertData *string `json:"publicCertData" tf:"public_cert_data,omitempty"` +} + +type ServerConfigurationIpsecPolicyObservation struct { +} + +type ServerConfigurationIpsecPolicyParameters struct { + + // +kubebuilder:validation:Required + DhGroup *string `json:"dhGroup" tf:"dh_group,omitempty"` + + // +kubebuilder:validation:Required + IkeEncryption *string `json:"ikeEncryption" tf:"ike_encryption,omitempty"` + + // +kubebuilder:validation:Required + IkeIntegrity *string `json:"ikeIntegrity" tf:"ike_integrity,omitempty"` + + // +kubebuilder:validation:Required + IpsecEncryption *string `json:"ipsecEncryption" tf:"ipsec_encryption,omitempty"` + + // +kubebuilder:validation:Required + IpsecIntegrity *string `json:"ipsecIntegrity" tf:"ipsec_integrity,omitempty"` + + // +kubebuilder:validation:Required + PfsGroup *string `json:"pfsGroup" tf:"pfs_group,omitempty"` + + // +kubebuilder:validation:Required + SaDataSizeKilobytes *int64 `json:"saDataSizeKilobytes" tf:"sa_data_size_kilobytes,omitempty"` + + // +kubebuilder:validation:Required + SaLifetimeSeconds *int64 `json:"saLifetimeSeconds" tf:"sa_lifetime_seconds,omitempty"` +} + +type ServerConfigurationObservation struct { +} + +type ServerConfigurationParameters struct { + + // +kubebuilder:validation:Optional + AzureActiveDirectoryAuthentication []AzureActiveDirectoryAuthenticationParameters `json:"azureActiveDirectoryAuthentication,omitempty" tf:"azure_active_directory_authentication,omitempty"` + + // +kubebuilder:validation:Optional + ClientRevokedCertificate []ClientRevokedCertificateParameters `json:"clientRevokedCertificate,omitempty" tf:"client_revoked_certificate,omitempty"` + + // +kubebuilder:validation:Optional + ClientRootCertificate []ClientRootCertificateParameters `json:"clientRootCertificate,omitempty" tf:"client_root_certificate,omitempty"` + + // +kubebuilder:validation:Optional + IpsecPolicy []ServerConfigurationIpsecPolicyParameters `json:"ipsecPolicy,omitempty" tf:"ipsec_policy,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Radius []RadiusParameters `json:"radius,omitempty" tf:"radius,omitempty"` + + // +kubebuilder:validation:Optional + RadiusServer []RadiusServerParameters `json:"radiusServer,omitempty" tf:"radius_server,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VpnAuthenticationTypes []*string `json:"vpnAuthenticationTypes" tf:"vpn_authentication_types,omitempty"` + + // +kubebuilder:validation:Optional + VpnProtocols []*string `json:"vpnProtocols,omitempty" tf:"vpn_protocols,omitempty"` +} + +type ServerObservation struct { +} + +type ServerParameters struct { + + // +kubebuilder:validation:Required + Address *string `json:"address" tf:"address,omitempty"` + + // +kubebuilder:validation:Required + Score *int64 `json:"score" tf:"score,omitempty"` + + // +kubebuilder:validation:Required + SecretSecretRef v1.SecretKeySelector `json:"secretSecretRef" tf:"-"` +} + +type ServerRootCertificateObservation struct { +} + +type ServerRootCertificateParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + PublicCertData *string `json:"publicCertData" tf:"public_cert_data,omitempty"` +} + +// ServerConfigurationSpec defines the desired state of ServerConfiguration +type ServerConfigurationSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ServerConfigurationParameters `json:"forProvider"` +} + +// ServerConfigurationStatus defines the observed state of ServerConfiguration. +type ServerConfigurationStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ServerConfigurationObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerConfiguration is the Schema for the ServerConfigurations API +// +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,azurejet} +type ServerConfiguration struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ServerConfigurationSpec `json:"spec"` + Status ServerConfigurationStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ServerConfigurationList contains a list of ServerConfigurations +type ServerConfigurationList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ServerConfiguration `json:"items"` +} + +// Repository type metadata. +var ( + ServerConfiguration_Kind = "ServerConfiguration" + ServerConfiguration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServerConfiguration_Kind}.String() + ServerConfiguration_KindAPIVersion = ServerConfiguration_Kind + "." + CRDGroupVersion.String() + ServerConfiguration_GroupVersionKind = CRDGroupVersion.WithKind(ServerConfiguration_Kind) +) + +func init() { + SchemeBuilder.Register(&ServerConfiguration{}, &ServerConfigurationList{}) +} diff --git a/apis/vpn/v1alpha1/zz_site_terraformed.go b/apis/vpn/v1alpha1/zz_site_terraformed.go new file mode 100755 index 000000000..c7d7701a0 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_site_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this Site +func (mg *Site) GetTerraformResourceType() string { + return "azurerm_vpn_site" +} + +// GetConnectionDetailsMapping for this Site +func (tr *Site) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this Site +func (tr *Site) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this Site +func (tr *Site) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this Site +func (tr *Site) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this Site +func (tr *Site) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this Site using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *Site) LateInitialize(attrs []byte) (bool, error) { + params := &SiteParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *Site) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/vpn/v1alpha1/zz_site_types.go b/apis/vpn/v1alpha1/zz_site_types.go new file mode 100755 index 000000000..b2e74d1e0 --- /dev/null +++ b/apis/vpn/v1alpha1/zz_site_types.go @@ -0,0 +1,145 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type BgpObservation struct { +} + +type BgpParameters struct { + + // +kubebuilder:validation:Required + Asn *int64 `json:"asn" tf:"asn,omitempty"` + + // +kubebuilder:validation:Required + PeeringAddress *string `json:"peeringAddress" tf:"peering_address,omitempty"` +} + +type LinkObservation struct { + ID *string `json:"id,omitempty" tf:"id,omitempty"` +} + +type LinkParameters struct { + + // +kubebuilder:validation:Optional + Bgp []BgpParameters `json:"bgp,omitempty" tf:"bgp,omitempty"` + + // +kubebuilder:validation:Optional + Fqdn *string `json:"fqdn,omitempty" tf:"fqdn,omitempty"` + + // +kubebuilder:validation:Optional + IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` + + // +kubebuilder:validation:Optional + SpeedInMbps *int64 `json:"speedInMbps,omitempty" tf:"speed_in_mbps,omitempty"` +} + +type SiteObservation struct { +} + +type SiteParameters struct { + + // +kubebuilder:validation:Optional + AddressCidrs []*string `json:"addressCidrs,omitempty" tf:"address_cidrs,omitempty"` + + // +kubebuilder:validation:Optional + DeviceModel *string `json:"deviceModel,omitempty" tf:"device_model,omitempty"` + + // +kubebuilder:validation:Optional + DeviceVendor *string `json:"deviceVendor,omitempty" tf:"device_vendor,omitempty"` + + // +kubebuilder:validation:Optional + Link []LinkParameters `json:"link,omitempty" tf:"link,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Required + VirtualWanID *string `json:"virtualWanId" tf:"virtual_wan_id,omitempty"` +} + +// SiteSpec defines the desired state of Site +type SiteSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider SiteParameters `json:"forProvider"` +} + +// SiteStatus defines the observed state of Site. +type SiteStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider SiteObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// Site is the Schema for the Sites API +// +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,azurejet} +type Site struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SiteSpec `json:"spec"` + Status SiteStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// SiteList contains a list of Sites +type SiteList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Site `json:"items"` +} + +// Repository type metadata. +var ( + Site_Kind = "Site" + Site_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Site_Kind}.String() + Site_KindAPIVersion = Site_Kind + "." + CRDGroupVersion.String() + Site_GroupVersionKind = CRDGroupVersion.WithKind(Site_Kind) +) + +func init() { + SchemeBuilder.Register(&Site{}, &SiteList{}) +} diff --git a/apis/web/v1alpha1/zz_applicationfirewallpolicy_terraformed.go b/apis/web/v1alpha1/zz_applicationfirewallpolicy_terraformed.go new file mode 100755 index 000000000..6025a683e --- /dev/null +++ b/apis/web/v1alpha1/zz_applicationfirewallpolicy_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this ApplicationFirewallPolicy +func (mg *ApplicationFirewallPolicy) GetTerraformResourceType() string { + return "azurerm_web_application_firewall_policy" +} + +// GetConnectionDetailsMapping for this ApplicationFirewallPolicy +func (tr *ApplicationFirewallPolicy) GetConnectionDetailsMapping() map[string]string { + return nil +} + +// GetObservation of this ApplicationFirewallPolicy +func (tr *ApplicationFirewallPolicy) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this ApplicationFirewallPolicy +func (tr *ApplicationFirewallPolicy) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this ApplicationFirewallPolicy +func (tr *ApplicationFirewallPolicy) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this ApplicationFirewallPolicy +func (tr *ApplicationFirewallPolicy) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this ApplicationFirewallPolicy using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *ApplicationFirewallPolicy) LateInitialize(attrs []byte) (bool, error) { + params := &ApplicationFirewallPolicyParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *ApplicationFirewallPolicy) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/web/v1alpha1/zz_applicationfirewallpolicy_types.go b/apis/web/v1alpha1/zz_applicationfirewallpolicy_types.go new file mode 100755 index 000000000..99b39417d --- /dev/null +++ b/apis/web/v1alpha1/zz_applicationfirewallpolicy_types.go @@ -0,0 +1,234 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type ApplicationFirewallPolicyObservation struct { + HTTPListenerIds []*string `json:"httpListenerIds,omitempty" tf:"http_listener_ids,omitempty"` + + PathBasedRuleIds []*string `json:"pathBasedRuleIds,omitempty" tf:"path_based_rule_ids,omitempty"` +} + +type ApplicationFirewallPolicyParameters struct { + + // +kubebuilder:validation:Optional + CustomRules []CustomRulesParameters `json:"customRules,omitempty" tf:"custom_rules,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Required + ManagedRules []ManagedRulesParameters `json:"managedRules" tf:"managed_rules,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PolicySettings []PolicySettingsParameters `json:"policySettings,omitempty" tf:"policy_settings,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` +} + +type CustomRulesObservation struct { +} + +type CustomRulesParameters struct { + + // +kubebuilder:validation:Required + Action *string `json:"action" tf:"action,omitempty"` + + // +kubebuilder:validation:Required + MatchConditions []MatchConditionsParameters `json:"matchConditions" tf:"match_conditions,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Priority *int64 `json:"priority" tf:"priority,omitempty"` + + // +kubebuilder:validation:Required + RuleType *string `json:"ruleType" tf:"rule_type,omitempty"` +} + +type ExclusionObservation struct { +} + +type ExclusionParameters struct { + + // +kubebuilder:validation:Required + MatchVariable *string `json:"matchVariable" tf:"match_variable,omitempty"` + + // +kubebuilder:validation:Required + Selector *string `json:"selector" tf:"selector,omitempty"` + + // +kubebuilder:validation:Required + SelectorMatchOperator *string `json:"selectorMatchOperator" tf:"selector_match_operator,omitempty"` +} + +type ManagedRuleSetObservation struct { +} + +type ManagedRuleSetParameters struct { + + // +kubebuilder:validation:Optional + RuleGroupOverride []RuleGroupOverrideParameters `json:"ruleGroupOverride,omitempty" tf:"rule_group_override,omitempty"` + + // +kubebuilder:validation:Optional + Type *string `json:"type,omitempty" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type ManagedRulesObservation struct { +} + +type ManagedRulesParameters struct { + + // +kubebuilder:validation:Optional + Exclusion []ExclusionParameters `json:"exclusion,omitempty" tf:"exclusion,omitempty"` + + // +kubebuilder:validation:Required + ManagedRuleSet []ManagedRuleSetParameters `json:"managedRuleSet" tf:"managed_rule_set,omitempty"` +} + +type MatchConditionsObservation struct { +} + +type MatchConditionsParameters struct { + + // +kubebuilder:validation:Required + MatchValues []*string `json:"matchValues" tf:"match_values,omitempty"` + + // +kubebuilder:validation:Required + MatchVariables []MatchVariablesParameters `json:"matchVariables" tf:"match_variables,omitempty"` + + // +kubebuilder:validation:Optional + NegationCondition *bool `json:"negationCondition,omitempty" tf:"negation_condition,omitempty"` + + // +kubebuilder:validation:Required + Operator *string `json:"operator" tf:"operator,omitempty"` + + // +kubebuilder:validation:Optional + Transforms []*string `json:"transforms,omitempty" tf:"transforms,omitempty"` +} + +type MatchVariablesObservation struct { +} + +type MatchVariablesParameters struct { + + // +kubebuilder:validation:Optional + Selector *string `json:"selector,omitempty" tf:"selector,omitempty"` + + // +kubebuilder:validation:Required + VariableName *string `json:"variableName" tf:"variable_name,omitempty"` +} + +type PolicySettingsObservation struct { +} + +type PolicySettingsParameters struct { + + // +kubebuilder:validation:Optional + Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + FileUploadLimitInMb *int64 `json:"fileUploadLimitInMb,omitempty" tf:"file_upload_limit_in_mb,omitempty"` + + // +kubebuilder:validation:Optional + MaxRequestBodySizeInKb *int64 `json:"maxRequestBodySizeInKb,omitempty" tf:"max_request_body_size_in_kb,omitempty"` + + // +kubebuilder:validation:Optional + Mode *string `json:"mode,omitempty" tf:"mode,omitempty"` + + // +kubebuilder:validation:Optional + RequestBodyCheck *bool `json:"requestBodyCheck,omitempty" tf:"request_body_check,omitempty"` +} + +type RuleGroupOverrideObservation struct { +} + +type RuleGroupOverrideParameters struct { + + // +kubebuilder:validation:Required + DisabledRules []*string `json:"disabledRules" tf:"disabled_rules,omitempty"` + + // +kubebuilder:validation:Required + RuleGroupName *string `json:"ruleGroupName" tf:"rule_group_name,omitempty"` +} + +// ApplicationFirewallPolicySpec defines the desired state of ApplicationFirewallPolicy +type ApplicationFirewallPolicySpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider ApplicationFirewallPolicyParameters `json:"forProvider"` +} + +// ApplicationFirewallPolicyStatus defines the observed state of ApplicationFirewallPolicy. +type ApplicationFirewallPolicyStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider ApplicationFirewallPolicyObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationFirewallPolicy is the Schema for the ApplicationFirewallPolicys API +// +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,azurejet} +type ApplicationFirewallPolicy struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ApplicationFirewallPolicySpec `json:"spec"` + Status ApplicationFirewallPolicyStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// ApplicationFirewallPolicyList contains a list of ApplicationFirewallPolicys +type ApplicationFirewallPolicyList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ApplicationFirewallPolicy `json:"items"` +} + +// Repository type metadata. +var ( + ApplicationFirewallPolicy_Kind = "ApplicationFirewallPolicy" + ApplicationFirewallPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ApplicationFirewallPolicy_Kind}.String() + ApplicationFirewallPolicy_KindAPIVersion = ApplicationFirewallPolicy_Kind + "." + CRDGroupVersion.String() + ApplicationFirewallPolicy_GroupVersionKind = CRDGroupVersion.WithKind(ApplicationFirewallPolicy_Kind) +) + +func init() { + SchemeBuilder.Register(&ApplicationFirewallPolicy{}, &ApplicationFirewallPolicyList{}) +} diff --git a/apis/web/v1alpha1/zz_generated.deepcopy.go b/apis/web/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..c6f2b51d3 --- /dev/null +++ b/apis/web/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,624 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationFirewallPolicy) DeepCopyInto(out *ApplicationFirewallPolicy) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationFirewallPolicy. +func (in *ApplicationFirewallPolicy) DeepCopy() *ApplicationFirewallPolicy { + if in == nil { + return nil + } + out := new(ApplicationFirewallPolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationFirewallPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationFirewallPolicyList) DeepCopyInto(out *ApplicationFirewallPolicyList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ApplicationFirewallPolicy, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationFirewallPolicyList. +func (in *ApplicationFirewallPolicyList) DeepCopy() *ApplicationFirewallPolicyList { + if in == nil { + return nil + } + out := new(ApplicationFirewallPolicyList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ApplicationFirewallPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationFirewallPolicyObservation) DeepCopyInto(out *ApplicationFirewallPolicyObservation) { + *out = *in + if in.HTTPListenerIds != nil { + in, out := &in.HTTPListenerIds, &out.HTTPListenerIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PathBasedRuleIds != nil { + in, out := &in.PathBasedRuleIds, &out.PathBasedRuleIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationFirewallPolicyObservation. +func (in *ApplicationFirewallPolicyObservation) DeepCopy() *ApplicationFirewallPolicyObservation { + if in == nil { + return nil + } + out := new(ApplicationFirewallPolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationFirewallPolicyParameters) DeepCopyInto(out *ApplicationFirewallPolicyParameters) { + *out = *in + if in.CustomRules != nil { + in, out := &in.CustomRules, &out.CustomRules + *out = make([]CustomRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.ManagedRules != nil { + in, out := &in.ManagedRules, &out.ManagedRules + *out = make([]ManagedRulesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PolicySettings != nil { + in, out := &in.PolicySettings, &out.PolicySettings + *out = make([]PolicySettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationFirewallPolicyParameters. +func (in *ApplicationFirewallPolicyParameters) DeepCopy() *ApplicationFirewallPolicyParameters { + if in == nil { + return nil + } + out := new(ApplicationFirewallPolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationFirewallPolicySpec) DeepCopyInto(out *ApplicationFirewallPolicySpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationFirewallPolicySpec. +func (in *ApplicationFirewallPolicySpec) DeepCopy() *ApplicationFirewallPolicySpec { + if in == nil { + return nil + } + out := new(ApplicationFirewallPolicySpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ApplicationFirewallPolicyStatus) DeepCopyInto(out *ApplicationFirewallPolicyStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationFirewallPolicyStatus. +func (in *ApplicationFirewallPolicyStatus) DeepCopy() *ApplicationFirewallPolicyStatus { + if in == nil { + return nil + } + out := new(ApplicationFirewallPolicyStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomRulesObservation) DeepCopyInto(out *CustomRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRulesObservation. +func (in *CustomRulesObservation) DeepCopy() *CustomRulesObservation { + if in == nil { + return nil + } + out := new(CustomRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CustomRulesParameters) DeepCopyInto(out *CustomRulesParameters) { + *out = *in + if in.Action != nil { + in, out := &in.Action, &out.Action + *out = new(string) + **out = **in + } + if in.MatchConditions != nil { + in, out := &in.MatchConditions, &out.MatchConditions + *out = make([]MatchConditionsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(int64) + **out = **in + } + if in.RuleType != nil { + in, out := &in.RuleType, &out.RuleType + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomRulesParameters. +func (in *CustomRulesParameters) DeepCopy() *CustomRulesParameters { + if in == nil { + return nil + } + out := new(CustomRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExclusionObservation) DeepCopyInto(out *ExclusionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionObservation. +func (in *ExclusionObservation) DeepCopy() *ExclusionObservation { + if in == nil { + return nil + } + out := new(ExclusionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExclusionParameters) DeepCopyInto(out *ExclusionParameters) { + *out = *in + if in.MatchVariable != nil { + in, out := &in.MatchVariable, &out.MatchVariable + *out = new(string) + **out = **in + } + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.SelectorMatchOperator != nil { + in, out := &in.SelectorMatchOperator, &out.SelectorMatchOperator + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionParameters. +func (in *ExclusionParameters) DeepCopy() *ExclusionParameters { + if in == nil { + return nil + } + out := new(ExclusionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedRuleSetObservation) DeepCopyInto(out *ManagedRuleSetObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleSetObservation. +func (in *ManagedRuleSetObservation) DeepCopy() *ManagedRuleSetObservation { + if in == nil { + return nil + } + out := new(ManagedRuleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedRuleSetParameters) DeepCopyInto(out *ManagedRuleSetParameters) { + *out = *in + if in.RuleGroupOverride != nil { + in, out := &in.RuleGroupOverride, &out.RuleGroupOverride + *out = make([]RuleGroupOverrideParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRuleSetParameters. +func (in *ManagedRuleSetParameters) DeepCopy() *ManagedRuleSetParameters { + if in == nil { + return nil + } + out := new(ManagedRuleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedRulesObservation) DeepCopyInto(out *ManagedRulesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRulesObservation. +func (in *ManagedRulesObservation) DeepCopy() *ManagedRulesObservation { + if in == nil { + return nil + } + out := new(ManagedRulesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ManagedRulesParameters) DeepCopyInto(out *ManagedRulesParameters) { + *out = *in + if in.Exclusion != nil { + in, out := &in.Exclusion, &out.Exclusion + *out = make([]ExclusionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ManagedRuleSet != nil { + in, out := &in.ManagedRuleSet, &out.ManagedRuleSet + *out = make([]ManagedRuleSetParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRulesParameters. +func (in *ManagedRulesParameters) DeepCopy() *ManagedRulesParameters { + if in == nil { + return nil + } + out := new(ManagedRulesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchConditionsObservation) DeepCopyInto(out *MatchConditionsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchConditionsObservation. +func (in *MatchConditionsObservation) DeepCopy() *MatchConditionsObservation { + if in == nil { + return nil + } + out := new(MatchConditionsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchConditionsParameters) DeepCopyInto(out *MatchConditionsParameters) { + *out = *in + if in.MatchValues != nil { + in, out := &in.MatchValues, &out.MatchValues + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.MatchVariables != nil { + in, out := &in.MatchVariables, &out.MatchVariables + *out = make([]MatchVariablesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.NegationCondition != nil { + in, out := &in.NegationCondition, &out.NegationCondition + *out = new(bool) + **out = **in + } + if in.Operator != nil { + in, out := &in.Operator, &out.Operator + *out = new(string) + **out = **in + } + if in.Transforms != nil { + in, out := &in.Transforms, &out.Transforms + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchConditionsParameters. +func (in *MatchConditionsParameters) DeepCopy() *MatchConditionsParameters { + if in == nil { + return nil + } + out := new(MatchConditionsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchVariablesObservation) DeepCopyInto(out *MatchVariablesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchVariablesObservation. +func (in *MatchVariablesObservation) DeepCopy() *MatchVariablesObservation { + if in == nil { + return nil + } + out := new(MatchVariablesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MatchVariablesParameters) DeepCopyInto(out *MatchVariablesParameters) { + *out = *in + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(string) + **out = **in + } + if in.VariableName != nil { + in, out := &in.VariableName, &out.VariableName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchVariablesParameters. +func (in *MatchVariablesParameters) DeepCopy() *MatchVariablesParameters { + if in == nil { + return nil + } + out := new(MatchVariablesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicySettingsObservation) DeepCopyInto(out *PolicySettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySettingsObservation. +func (in *PolicySettingsObservation) DeepCopy() *PolicySettingsObservation { + if in == nil { + return nil + } + out := new(PolicySettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PolicySettingsParameters) DeepCopyInto(out *PolicySettingsParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.FileUploadLimitInMb != nil { + in, out := &in.FileUploadLimitInMb, &out.FileUploadLimitInMb + *out = new(int64) + **out = **in + } + if in.MaxRequestBodySizeInKb != nil { + in, out := &in.MaxRequestBodySizeInKb, &out.MaxRequestBodySizeInKb + *out = new(int64) + **out = **in + } + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(string) + **out = **in + } + if in.RequestBodyCheck != nil { + in, out := &in.RequestBodyCheck, &out.RequestBodyCheck + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySettingsParameters. +func (in *PolicySettingsParameters) DeepCopy() *PolicySettingsParameters { + if in == nil { + return nil + } + out := new(PolicySettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleGroupOverrideObservation) DeepCopyInto(out *RuleGroupOverrideObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupOverrideObservation. +func (in *RuleGroupOverrideObservation) DeepCopy() *RuleGroupOverrideObservation { + if in == nil { + return nil + } + out := new(RuleGroupOverrideObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RuleGroupOverrideParameters) DeepCopyInto(out *RuleGroupOverrideParameters) { + *out = *in + if in.DisabledRules != nil { + in, out := &in.DisabledRules, &out.DisabledRules + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.RuleGroupName != nil { + in, out := &in.RuleGroupName, &out.RuleGroupName + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleGroupOverrideParameters. +func (in *RuleGroupOverrideParameters) DeepCopy() *RuleGroupOverrideParameters { + if in == nil { + return nil + } + out := new(RuleGroupOverrideParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/web/v1alpha1/zz_generated.managed.go b/apis/web/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..dfbdf40a0 --- /dev/null +++ b/apis/web/v1alpha1/zz_generated.managed.go @@ -0,0 +1,76 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this ApplicationFirewallPolicy. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *ApplicationFirewallPolicy) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this ApplicationFirewallPolicy. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *ApplicationFirewallPolicy) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this ApplicationFirewallPolicy. +func (mg *ApplicationFirewallPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/web/v1alpha1/zz_generated.managedlist.go b/apis/web/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..978913598 --- /dev/null +++ b/apis/web/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,29 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this ApplicationFirewallPolicyList. +func (l *ApplicationFirewallPolicyList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/web/v1alpha1/zz_groupversion_info.go b/apis/web/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..745c229d2 --- /dev/null +++ b/apis/web/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=web.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "web.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/windows/v1alpha1/zz_generated.deepcopy.go b/apis/windows/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000..bade4bb00 --- /dev/null +++ b/apis/windows/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,2352 @@ +// +build !ignore_autogenerated + +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by controller-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/crossplane/crossplane-runtime/apis/common/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalCapabilitiesObservation) DeepCopyInto(out *AdditionalCapabilitiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalCapabilitiesObservation. +func (in *AdditionalCapabilitiesObservation) DeepCopy() *AdditionalCapabilitiesObservation { + if in == nil { + return nil + } + out := new(AdditionalCapabilitiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalCapabilitiesParameters) DeepCopyInto(out *AdditionalCapabilitiesParameters) { + *out = *in + if in.UltraSsdEnabled != nil { + in, out := &in.UltraSsdEnabled, &out.UltraSsdEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalCapabilitiesParameters. +func (in *AdditionalCapabilitiesParameters) DeepCopy() *AdditionalCapabilitiesParameters { + if in == nil { + return nil + } + out := new(AdditionalCapabilitiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalUnattendContentObservation) DeepCopyInto(out *AdditionalUnattendContentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalUnattendContentObservation. +func (in *AdditionalUnattendContentObservation) DeepCopy() *AdditionalUnattendContentObservation { + if in == nil { + return nil + } + out := new(AdditionalUnattendContentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AdditionalUnattendContentParameters) DeepCopyInto(out *AdditionalUnattendContentParameters) { + *out = *in + out.ContentSecretRef = in.ContentSecretRef + if in.Setting != nil { + in, out := &in.Setting, &out.Setting + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalUnattendContentParameters. +func (in *AdditionalUnattendContentParameters) DeepCopy() *AdditionalUnattendContentParameters { + if in == nil { + return nil + } + out := new(AdditionalUnattendContentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticInstanceRepairObservation) DeepCopyInto(out *AutomaticInstanceRepairObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticInstanceRepairObservation. +func (in *AutomaticInstanceRepairObservation) DeepCopy() *AutomaticInstanceRepairObservation { + if in == nil { + return nil + } + out := new(AutomaticInstanceRepairObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticInstanceRepairParameters) DeepCopyInto(out *AutomaticInstanceRepairParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.GracePeriod != nil { + in, out := &in.GracePeriod, &out.GracePeriod + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticInstanceRepairParameters. +func (in *AutomaticInstanceRepairParameters) DeepCopy() *AutomaticInstanceRepairParameters { + if in == nil { + return nil + } + out := new(AutomaticInstanceRepairParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticOsUpgradePolicyObservation) DeepCopyInto(out *AutomaticOsUpgradePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticOsUpgradePolicyObservation. +func (in *AutomaticOsUpgradePolicyObservation) DeepCopy() *AutomaticOsUpgradePolicyObservation { + if in == nil { + return nil + } + out := new(AutomaticOsUpgradePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AutomaticOsUpgradePolicyParameters) DeepCopyInto(out *AutomaticOsUpgradePolicyParameters) { + *out = *in + if in.DisableAutomaticRollback != nil { + in, out := &in.DisableAutomaticRollback, &out.DisableAutomaticRollback + *out = new(bool) + **out = **in + } + if in.EnableAutomaticOsUpgrade != nil { + in, out := &in.EnableAutomaticOsUpgrade, &out.EnableAutomaticOsUpgrade + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticOsUpgradePolicyParameters. +func (in *AutomaticOsUpgradePolicyParameters) DeepCopy() *AutomaticOsUpgradePolicyParameters { + if in == nil { + return nil + } + out := new(AutomaticOsUpgradePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BootDiagnosticsObservation) DeepCopyInto(out *BootDiagnosticsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiagnosticsObservation. +func (in *BootDiagnosticsObservation) DeepCopy() *BootDiagnosticsObservation { + if in == nil { + return nil + } + out := new(BootDiagnosticsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BootDiagnosticsParameters) DeepCopyInto(out *BootDiagnosticsParameters) { + *out = *in + if in.StorageAccountURI != nil { + in, out := &in.StorageAccountURI, &out.StorageAccountURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootDiagnosticsParameters. +func (in *BootDiagnosticsParameters) DeepCopy() *BootDiagnosticsParameters { + if in == nil { + return nil + } + out := new(BootDiagnosticsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateObservation. +func (in *CertificateObservation) DeepCopy() *CertificateObservation { + if in == nil { + return nil + } + out := new(CertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { + *out = *in + if in.Store != nil { + in, out := &in.Store, &out.Store + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateParameters. +func (in *CertificateParameters) DeepCopy() *CertificateParameters { + if in == nil { + return nil + } + out := new(CertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataDiskObservation) DeepCopyInto(out *DataDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDiskObservation. +func (in *DataDiskObservation) DeepCopy() *DataDiskObservation { + if in == nil { + return nil + } + out := new(DataDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DataDiskParameters) DeepCopyInto(out *DataDiskParameters) { + *out = *in + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.CreateOption != nil { + in, out := &in.CreateOption, &out.CreateOption + *out = new(string) + **out = **in + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskIopsReadWrite != nil { + in, out := &in.DiskIopsReadWrite, &out.DiskIopsReadWrite + *out = new(int64) + **out = **in + } + if in.DiskMbpsReadWrite != nil { + in, out := &in.DiskMbpsReadWrite, &out.DiskMbpsReadWrite + *out = new(int64) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.Lun != nil { + in, out := &in.Lun, &out.Lun + *out = new(int64) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.WriteAcceleratorEnabled != nil { + in, out := &in.WriteAcceleratorEnabled, &out.WriteAcceleratorEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataDiskParameters. +func (in *DataDiskParameters) DeepCopy() *DataDiskParameters { + if in == nil { + return nil + } + out := new(DataDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiffDiskSettingsObservation) DeepCopyInto(out *DiffDiskSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiffDiskSettingsObservation. +func (in *DiffDiskSettingsObservation) DeepCopy() *DiffDiskSettingsObservation { + if in == nil { + return nil + } + out := new(DiffDiskSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DiffDiskSettingsParameters) DeepCopyInto(out *DiffDiskSettingsParameters) { + *out = *in + if in.Option != nil { + in, out := &in.Option, &out.Option + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiffDiskSettingsParameters. +func (in *DiffDiskSettingsParameters) DeepCopy() *DiffDiskSettingsParameters { + if in == nil { + return nil + } + out := new(DiffDiskSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionObservation. +func (in *ExtensionObservation) DeepCopy() *ExtensionObservation { + if in == nil { + return nil + } + out := new(ExtensionObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtensionParameters) DeepCopyInto(out *ExtensionParameters) { + *out = *in + if in.AutoUpgradeMinorVersion != nil { + in, out := &in.AutoUpgradeMinorVersion, &out.AutoUpgradeMinorVersion + *out = new(bool) + **out = **in + } + if in.ForceUpdateTag != nil { + in, out := &in.ForceUpdateTag, &out.ForceUpdateTag + *out = new(string) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.ProtectedSettingsSecretRef != nil { + in, out := &in.ProtectedSettingsSecretRef, &out.ProtectedSettingsSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.ProvisionAfterExtensions != nil { + in, out := &in.ProvisionAfterExtensions, &out.ProvisionAfterExtensions + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Settings != nil { + in, out := &in.Settings, &out.Settings + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } + if in.TypeHandlerVersion != nil { + in, out := &in.TypeHandlerVersion, &out.TypeHandlerVersion + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameters. +func (in *ExtensionParameters) DeepCopy() *ExtensionParameters { + if in == nil { + return nil + } + out := new(ExtensionParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationObservation) DeepCopyInto(out *IPConfigurationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationObservation. +func (in *IPConfigurationObservation) DeepCopy() *IPConfigurationObservation { + if in == nil { + return nil + } + out := new(IPConfigurationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPConfigurationParameters) DeepCopyInto(out *IPConfigurationParameters) { + *out = *in + if in.ApplicationGatewayBackendAddressPoolIds != nil { + in, out := &in.ApplicationGatewayBackendAddressPoolIds, &out.ApplicationGatewayBackendAddressPoolIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.ApplicationSecurityGroupIds != nil { + in, out := &in.ApplicationSecurityGroupIds, &out.ApplicationSecurityGroupIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LoadBalancerBackendAddressPoolIds != nil { + in, out := &in.LoadBalancerBackendAddressPoolIds, &out.LoadBalancerBackendAddressPoolIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.LoadBalancerInboundNatRulesIds != nil { + in, out := &in.LoadBalancerInboundNatRulesIds, &out.LoadBalancerInboundNatRulesIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Primary != nil { + in, out := &in.Primary, &out.Primary + *out = new(bool) + **out = **in + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = make([]PublicIPAddressParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SubnetID != nil { + in, out := &in.SubnetID, &out.SubnetID + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPConfigurationParameters. +func (in *IPConfigurationParameters) DeepCopy() *IPConfigurationParameters { + if in == nil { + return nil + } + out := new(IPConfigurationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPTagObservation) DeepCopyInto(out *IPTagObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTagObservation. +func (in *IPTagObservation) DeepCopy() *IPTagObservation { + if in == nil { + return nil + } + out := new(IPTagObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IPTagParameters) DeepCopyInto(out *IPTagParameters) { + *out = *in + if in.Tag != nil { + in, out := &in.Tag, &out.Tag + *out = new(string) + **out = **in + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTagParameters. +func (in *IPTagParameters) DeepCopy() *IPTagParameters { + if in == nil { + return nil + } + out := new(IPTagParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityObservation) DeepCopyInto(out *IdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } + if in.TenantID != nil { + in, out := &in.TenantID, &out.TenantID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityObservation. +func (in *IdentityObservation) DeepCopy() *IdentityObservation { + if in == nil { + return nil + } + out := new(IdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IdentityParameters) DeepCopyInto(out *IdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityParameters. +func (in *IdentityParameters) DeepCopy() *IdentityParameters { + if in == nil { + return nil + } + out := new(IdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceObservation) DeepCopyInto(out *NetworkInterfaceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceObservation. +func (in *NetworkInterfaceObservation) DeepCopy() *NetworkInterfaceObservation { + if in == nil { + return nil + } + out := new(NetworkInterfaceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NetworkInterfaceParameters) DeepCopyInto(out *NetworkInterfaceParameters) { + *out = *in + if in.DNSServers != nil { + in, out := &in.DNSServers, &out.DNSServers + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.EnableAcceleratedNetworking != nil { + in, out := &in.EnableAcceleratedNetworking, &out.EnableAcceleratedNetworking + *out = new(bool) + **out = **in + } + if in.EnableIPForwarding != nil { + in, out := &in.EnableIPForwarding, &out.EnableIPForwarding + *out = new(bool) + **out = **in + } + if in.IPConfiguration != nil { + in, out := &in.IPConfiguration, &out.IPConfiguration + *out = make([]IPConfigurationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkSecurityGroupID != nil { + in, out := &in.NetworkSecurityGroupID, &out.NetworkSecurityGroupID + *out = new(string) + **out = **in + } + if in.Primary != nil { + in, out := &in.Primary, &out.Primary + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterfaceParameters. +func (in *NetworkInterfaceParameters) DeepCopy() *NetworkInterfaceParameters { + if in == nil { + return nil + } + out := new(NetworkInterfaceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskDiffDiskSettingsObservation) DeepCopyInto(out *OsDiskDiffDiskSettingsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskDiffDiskSettingsObservation. +func (in *OsDiskDiffDiskSettingsObservation) DeepCopy() *OsDiskDiffDiskSettingsObservation { + if in == nil { + return nil + } + out := new(OsDiskDiffDiskSettingsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskDiffDiskSettingsParameters) DeepCopyInto(out *OsDiskDiffDiskSettingsParameters) { + *out = *in + if in.Option != nil { + in, out := &in.Option, &out.Option + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskDiffDiskSettingsParameters. +func (in *OsDiskDiffDiskSettingsParameters) DeepCopy() *OsDiskDiffDiskSettingsParameters { + if in == nil { + return nil + } + out := new(OsDiskDiffDiskSettingsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskObservation) DeepCopyInto(out *OsDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskObservation. +func (in *OsDiskObservation) DeepCopy() *OsDiskObservation { + if in == nil { + return nil + } + out := new(OsDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OsDiskParameters) DeepCopyInto(out *OsDiskParameters) { + *out = *in + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.DiffDiskSettings != nil { + in, out := &in.DiffDiskSettings, &out.DiffDiskSettings + *out = make([]DiffDiskSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.WriteAcceleratorEnabled != nil { + in, out := &in.WriteAcceleratorEnabled, &out.WriteAcceleratorEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsDiskParameters. +func (in *OsDiskParameters) DeepCopy() *OsDiskParameters { + if in == nil { + return nil + } + out := new(OsDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanObservation. +func (in *PlanObservation) DeepCopy() *PlanObservation { + if in == nil { + return nil + } + out := new(PlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PlanParameters) DeepCopyInto(out *PlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanParameters. +func (in *PlanParameters) DeepCopy() *PlanParameters { + if in == nil { + return nil + } + out := new(PlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicIPAddressObservation) DeepCopyInto(out *PublicIPAddressObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressObservation. +func (in *PublicIPAddressObservation) DeepCopy() *PublicIPAddressObservation { + if in == nil { + return nil + } + out := new(PublicIPAddressObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicIPAddressParameters) DeepCopyInto(out *PublicIPAddressParameters) { + *out = *in + if in.DomainNameLabel != nil { + in, out := &in.DomainNameLabel, &out.DomainNameLabel + *out = new(string) + **out = **in + } + if in.IPTag != nil { + in, out := &in.IPTag, &out.IPTag + *out = make([]IPTagParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.IdleTimeoutInMinutes != nil { + in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes + *out = new(int64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.PublicIPPrefixID != nil { + in, out := &in.PublicIPPrefixID, &out.PublicIPPrefixID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressParameters. +func (in *PublicIPAddressParameters) DeepCopy() *PublicIPAddressParameters { + if in == nil { + return nil + } + out := new(PublicIPAddressParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollingUpgradePolicyObservation) DeepCopyInto(out *RollingUpgradePolicyObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpgradePolicyObservation. +func (in *RollingUpgradePolicyObservation) DeepCopy() *RollingUpgradePolicyObservation { + if in == nil { + return nil + } + out := new(RollingUpgradePolicyObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RollingUpgradePolicyParameters) DeepCopyInto(out *RollingUpgradePolicyParameters) { + *out = *in + if in.MaxBatchInstancePercent != nil { + in, out := &in.MaxBatchInstancePercent, &out.MaxBatchInstancePercent + *out = new(int64) + **out = **in + } + if in.MaxUnhealthyInstancePercent != nil { + in, out := &in.MaxUnhealthyInstancePercent, &out.MaxUnhealthyInstancePercent + *out = new(int64) + **out = **in + } + if in.MaxUnhealthyUpgradedInstancePercent != nil { + in, out := &in.MaxUnhealthyUpgradedInstancePercent, &out.MaxUnhealthyUpgradedInstancePercent + *out = new(int64) + **out = **in + } + if in.PauseTimeBetweenBatches != nil { + in, out := &in.PauseTimeBetweenBatches, &out.PauseTimeBetweenBatches + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpgradePolicyParameters. +func (in *RollingUpgradePolicyParameters) DeepCopy() *RollingUpgradePolicyParameters { + if in == nil { + return nil + } + out := new(RollingUpgradePolicyParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretCertificateObservation) DeepCopyInto(out *SecretCertificateObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCertificateObservation. +func (in *SecretCertificateObservation) DeepCopy() *SecretCertificateObservation { + if in == nil { + return nil + } + out := new(SecretCertificateObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretCertificateParameters) DeepCopyInto(out *SecretCertificateParameters) { + *out = *in + if in.Store != nil { + in, out := &in.Store, &out.Store + *out = new(string) + **out = **in + } + if in.URL != nil { + in, out := &in.URL, &out.URL + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretCertificateParameters. +func (in *SecretCertificateParameters) DeepCopy() *SecretCertificateParameters { + if in == nil { + return nil + } + out := new(SecretCertificateParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretObservation) DeepCopyInto(out *SecretObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation. +func (in *SecretObservation) DeepCopy() *SecretObservation { + if in == nil { + return nil + } + out := new(SecretObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SecretParameters) DeepCopyInto(out *SecretParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]CertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters. +func (in *SecretParameters) DeepCopy() *SecretParameters { + if in == nil { + return nil + } + out := new(SecretParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceImageReferenceObservation) DeepCopyInto(out *SourceImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceImageReferenceObservation. +func (in *SourceImageReferenceObservation) DeepCopy() *SourceImageReferenceObservation { + if in == nil { + return nil + } + out := new(SourceImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SourceImageReferenceParameters) DeepCopyInto(out *SourceImageReferenceParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceImageReferenceParameters. +func (in *SourceImageReferenceParameters) DeepCopy() *SourceImageReferenceParameters { + if in == nil { + return nil + } + out := new(SourceImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TerminateNotificationObservation) DeepCopyInto(out *TerminateNotificationObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerminateNotificationObservation. +func (in *TerminateNotificationObservation) DeepCopy() *TerminateNotificationObservation { + if in == nil { + return nil + } + out := new(TerminateNotificationObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TerminateNotificationParameters) DeepCopyInto(out *TerminateNotificationParameters) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } + if in.Timeout != nil { + in, out := &in.Timeout, &out.Timeout + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerminateNotificationParameters. +func (in *TerminateNotificationParameters) DeepCopy() *TerminateNotificationParameters { + if in == nil { + return nil + } + out := new(TerminateNotificationParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine. +func (in *VirtualMachine) DeepCopy() *VirtualMachine { + if in == nil { + return nil + } + out := new(VirtualMachine) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachine) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachine, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList. +func (in *VirtualMachineList) DeepCopy() *VirtualMachineList { + if in == nil { + return nil + } + out := new(VirtualMachineList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineObservation) DeepCopyInto(out *VirtualMachineObservation) { + *out = *in + if in.PrivateIPAddress != nil { + in, out := &in.PrivateIPAddress, &out.PrivateIPAddress + *out = new(string) + **out = **in + } + if in.PrivateIPAddresses != nil { + in, out := &in.PrivateIPAddresses, &out.PrivateIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.PublicIPAddress != nil { + in, out := &in.PublicIPAddress, &out.PublicIPAddress + *out = new(string) + **out = **in + } + if in.PublicIPAddresses != nil { + in, out := &in.PublicIPAddresses, &out.PublicIPAddresses + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.VirtualMachineID != nil { + in, out := &in.VirtualMachineID, &out.VirtualMachineID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineObservation. +func (in *VirtualMachineObservation) DeepCopy() *VirtualMachineObservation { + if in == nil { + return nil + } + out := new(VirtualMachineObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineParameters) DeepCopyInto(out *VirtualMachineParameters) { + *out = *in + if in.AdditionalCapabilities != nil { + in, out := &in.AdditionalCapabilities, &out.AdditionalCapabilities + *out = make([]AdditionalCapabilitiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalUnattendContent != nil { + in, out := &in.AdditionalUnattendContent, &out.AdditionalUnattendContent + *out = make([]AdditionalUnattendContentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.AdminPasswordSecretRef = in.AdminPasswordSecretRef + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in + } + if in.AllowExtensionOperations != nil { + in, out := &in.AllowExtensionOperations, &out.AllowExtensionOperations + *out = new(bool) + **out = **in + } + if in.AvailabilitySetID != nil { + in, out := &in.AvailabilitySetID, &out.AvailabilitySetID + *out = new(string) + **out = **in + } + if in.BootDiagnostics != nil { + in, out := &in.BootDiagnostics, &out.BootDiagnostics + *out = make([]BootDiagnosticsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ComputerName != nil { + in, out := &in.ComputerName, &out.ComputerName + *out = new(string) + **out = **in + } + if in.CustomDataSecretRef != nil { + in, out := &in.CustomDataSecretRef, &out.CustomDataSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DedicatedHostID != nil { + in, out := &in.DedicatedHostID, &out.DedicatedHostID + *out = new(string) + **out = **in + } + if in.EnableAutomaticUpdates != nil { + in, out := &in.EnableAutomaticUpdates, &out.EnableAutomaticUpdates + *out = new(bool) + **out = **in + } + if in.EncryptionAtHostEnabled != nil { + in, out := &in.EncryptionAtHostEnabled, &out.EncryptionAtHostEnabled + *out = new(bool) + **out = **in + } + if in.EvictionPolicy != nil { + in, out := &in.EvictionPolicy, &out.EvictionPolicy + *out = new(string) + **out = **in + } + if in.ExtensionsTimeBudget != nil { + in, out := &in.ExtensionsTimeBudget, &out.ExtensionsTimeBudget + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]IdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxBidPrice != nil { + in, out := &in.MaxBidPrice, &out.MaxBidPrice + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkInterfaceIds != nil { + in, out := &in.NetworkInterfaceIds, &out.NetworkInterfaceIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.OsDisk != nil { + in, out := &in.OsDisk, &out.OsDisk + *out = make([]OsDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PatchMode != nil { + in, out := &in.PatchMode, &out.PatchMode + *out = new(string) + **out = **in + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]PlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PlatformFaultDomain != nil { + in, out := &in.PlatformFaultDomain, &out.PlatformFaultDomain + *out = new(int64) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(string) + **out = **in + } + if in.ProvisionVMAgent != nil { + in, out := &in.ProvisionVMAgent, &out.ProvisionVMAgent + *out = new(bool) + **out = **in + } + if in.ProximityPlacementGroupID != nil { + in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.Secret != nil { + in, out := &in.Secret, &out.Secret + *out = make([]SecretParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Size != nil { + in, out := &in.Size, &out.Size + *out = new(string) + **out = **in + } + if in.SourceImageID != nil { + in, out := &in.SourceImageID, &out.SourceImageID + *out = new(string) + **out = **in + } + if in.SourceImageReference != nil { + in, out := &in.SourceImageReference, &out.SourceImageReference + *out = make([]SourceImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } + if in.VirtualMachineScaleSetID != nil { + in, out := &in.VirtualMachineScaleSetID, &out.VirtualMachineScaleSetID + *out = new(string) + **out = **in + } + if in.WinrmListener != nil { + in, out := &in.WinrmListener, &out.WinrmListener + *out = make([]WinrmListenerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Zone != nil { + in, out := &in.Zone, &out.Zone + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineParameters. +func (in *VirtualMachineParameters) DeepCopy() *VirtualMachineParameters { + if in == nil { + return nil + } + out := new(VirtualMachineParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSet) DeepCopyInto(out *VirtualMachineScaleSet) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSet. +func (in *VirtualMachineScaleSet) DeepCopy() *VirtualMachineScaleSet { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineScaleSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesObservation) DeepCopyInto(out *VirtualMachineScaleSetAdditionalCapabilitiesObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdditionalCapabilitiesObservation. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesObservation) DeepCopy() *VirtualMachineScaleSetAdditionalCapabilitiesObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdditionalCapabilitiesObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesParameters) DeepCopyInto(out *VirtualMachineScaleSetAdditionalCapabilitiesParameters) { + *out = *in + if in.UltraSsdEnabled != nil { + in, out := &in.UltraSsdEnabled, &out.UltraSsdEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdditionalCapabilitiesParameters. +func (in *VirtualMachineScaleSetAdditionalCapabilitiesParameters) DeepCopy() *VirtualMachineScaleSetAdditionalCapabilitiesParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdditionalCapabilitiesParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdditionalUnattendContentObservation) DeepCopyInto(out *VirtualMachineScaleSetAdditionalUnattendContentObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdditionalUnattendContentObservation. +func (in *VirtualMachineScaleSetAdditionalUnattendContentObservation) DeepCopy() *VirtualMachineScaleSetAdditionalUnattendContentObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdditionalUnattendContentObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetAdditionalUnattendContentParameters) DeepCopyInto(out *VirtualMachineScaleSetAdditionalUnattendContentParameters) { + *out = *in + out.ContentSecretRef = in.ContentSecretRef + if in.Setting != nil { + in, out := &in.Setting, &out.Setting + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetAdditionalUnattendContentParameters. +func (in *VirtualMachineScaleSetAdditionalUnattendContentParameters) DeepCopy() *VirtualMachineScaleSetAdditionalUnattendContentParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetAdditionalUnattendContentParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetBootDiagnosticsObservation) DeepCopyInto(out *VirtualMachineScaleSetBootDiagnosticsObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetBootDiagnosticsObservation. +func (in *VirtualMachineScaleSetBootDiagnosticsObservation) DeepCopy() *VirtualMachineScaleSetBootDiagnosticsObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetBootDiagnosticsObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetBootDiagnosticsParameters) DeepCopyInto(out *VirtualMachineScaleSetBootDiagnosticsParameters) { + *out = *in + if in.StorageAccountURI != nil { + in, out := &in.StorageAccountURI, &out.StorageAccountURI + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetBootDiagnosticsParameters. +func (in *VirtualMachineScaleSetBootDiagnosticsParameters) DeepCopy() *VirtualMachineScaleSetBootDiagnosticsParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetBootDiagnosticsParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetIdentityObservation) DeepCopyInto(out *VirtualMachineScaleSetIdentityObservation) { + *out = *in + if in.PrincipalID != nil { + in, out := &in.PrincipalID, &out.PrincipalID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIdentityObservation. +func (in *VirtualMachineScaleSetIdentityObservation) DeepCopy() *VirtualMachineScaleSetIdentityObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetIdentityObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetIdentityParameters) DeepCopyInto(out *VirtualMachineScaleSetIdentityParameters) { + *out = *in + if in.IdentityIds != nil { + in, out := &in.IdentityIds, &out.IdentityIds + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } + if in.Type != nil { + in, out := &in.Type, &out.Type + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetIdentityParameters. +func (in *VirtualMachineScaleSetIdentityParameters) DeepCopy() *VirtualMachineScaleSetIdentityParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetIdentityParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetList) DeepCopyInto(out *VirtualMachineScaleSetList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VirtualMachineScaleSet, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetList. +func (in *VirtualMachineScaleSetList) DeepCopy() *VirtualMachineScaleSetList { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VirtualMachineScaleSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetObservation) DeepCopyInto(out *VirtualMachineScaleSetObservation) { + *out = *in + if in.UniqueID != nil { + in, out := &in.UniqueID, &out.UniqueID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetObservation. +func (in *VirtualMachineScaleSetObservation) DeepCopy() *VirtualMachineScaleSetObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetOsDiskObservation) DeepCopyInto(out *VirtualMachineScaleSetOsDiskObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetOsDiskObservation. +func (in *VirtualMachineScaleSetOsDiskObservation) DeepCopy() *VirtualMachineScaleSetOsDiskObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetOsDiskObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetOsDiskParameters) DeepCopyInto(out *VirtualMachineScaleSetOsDiskParameters) { + *out = *in + if in.Caching != nil { + in, out := &in.Caching, &out.Caching + *out = new(string) + **out = **in + } + if in.DiffDiskSettings != nil { + in, out := &in.DiffDiskSettings, &out.DiffDiskSettings + *out = make([]OsDiskDiffDiskSettingsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DiskEncryptionSetID != nil { + in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID + *out = new(string) + **out = **in + } + if in.DiskSizeGb != nil { + in, out := &in.DiskSizeGb, &out.DiskSizeGb + *out = new(int64) + **out = **in + } + if in.StorageAccountType != nil { + in, out := &in.StorageAccountType, &out.StorageAccountType + *out = new(string) + **out = **in + } + if in.WriteAcceleratorEnabled != nil { + in, out := &in.WriteAcceleratorEnabled, &out.WriteAcceleratorEnabled + *out = new(bool) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetOsDiskParameters. +func (in *VirtualMachineScaleSetOsDiskParameters) DeepCopy() *VirtualMachineScaleSetOsDiskParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetOsDiskParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetParameters) DeepCopyInto(out *VirtualMachineScaleSetParameters) { + *out = *in + if in.AdditionalCapabilities != nil { + in, out := &in.AdditionalCapabilities, &out.AdditionalCapabilities + *out = make([]VirtualMachineScaleSetAdditionalCapabilitiesParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AdditionalUnattendContent != nil { + in, out := &in.AdditionalUnattendContent, &out.AdditionalUnattendContent + *out = make([]VirtualMachineScaleSetAdditionalUnattendContentParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.AdminPasswordSecretRef = in.AdminPasswordSecretRef + if in.AdminUsername != nil { + in, out := &in.AdminUsername, &out.AdminUsername + *out = new(string) + **out = **in + } + if in.AutomaticInstanceRepair != nil { + in, out := &in.AutomaticInstanceRepair, &out.AutomaticInstanceRepair + *out = make([]AutomaticInstanceRepairParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.AutomaticOsUpgradePolicy != nil { + in, out := &in.AutomaticOsUpgradePolicy, &out.AutomaticOsUpgradePolicy + *out = make([]AutomaticOsUpgradePolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.BootDiagnostics != nil { + in, out := &in.BootDiagnostics, &out.BootDiagnostics + *out = make([]VirtualMachineScaleSetBootDiagnosticsParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ComputerNamePrefix != nil { + in, out := &in.ComputerNamePrefix, &out.ComputerNamePrefix + *out = new(string) + **out = **in + } + if in.CustomDataSecretRef != nil { + in, out := &in.CustomDataSecretRef, &out.CustomDataSecretRef + *out = new(v1.SecretKeySelector) + **out = **in + } + if in.DataDisk != nil { + in, out := &in.DataDisk, &out.DataDisk + *out = make([]DataDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.DoNotRunExtensionsOnOverprovisionedMachines != nil { + in, out := &in.DoNotRunExtensionsOnOverprovisionedMachines, &out.DoNotRunExtensionsOnOverprovisionedMachines + *out = new(bool) + **out = **in + } + if in.EnableAutomaticUpdates != nil { + in, out := &in.EnableAutomaticUpdates, &out.EnableAutomaticUpdates + *out = new(bool) + **out = **in + } + if in.EncryptionAtHostEnabled != nil { + in, out := &in.EncryptionAtHostEnabled, &out.EncryptionAtHostEnabled + *out = new(bool) + **out = **in + } + if in.EvictionPolicy != nil { + in, out := &in.EvictionPolicy, &out.EvictionPolicy + *out = new(string) + **out = **in + } + if in.Extension != nil { + in, out := &in.Extension, &out.Extension + *out = make([]ExtensionParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ExtensionsTimeBudget != nil { + in, out := &in.ExtensionsTimeBudget, &out.ExtensionsTimeBudget + *out = new(string) + **out = **in + } + if in.HealthProbeID != nil { + in, out := &in.HealthProbeID, &out.HealthProbeID + *out = new(string) + **out = **in + } + if in.Identity != nil { + in, out := &in.Identity, &out.Identity + *out = make([]VirtualMachineScaleSetIdentityParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Instances != nil { + in, out := &in.Instances, &out.Instances + *out = new(int64) + **out = **in + } + if in.LicenseType != nil { + in, out := &in.LicenseType, &out.LicenseType + *out = new(string) + **out = **in + } + if in.Location != nil { + in, out := &in.Location, &out.Location + *out = new(string) + **out = **in + } + if in.MaxBidPrice != nil { + in, out := &in.MaxBidPrice, &out.MaxBidPrice + *out = new(float64) + **out = **in + } + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.NetworkInterface != nil { + in, out := &in.NetworkInterface, &out.NetworkInterface + *out = make([]NetworkInterfaceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.OsDisk != nil { + in, out := &in.OsDisk, &out.OsDisk + *out = make([]VirtualMachineScaleSetOsDiskParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Overprovision != nil { + in, out := &in.Overprovision, &out.Overprovision + *out = new(bool) + **out = **in + } + if in.Plan != nil { + in, out := &in.Plan, &out.Plan + *out = make([]VirtualMachineScaleSetPlanParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.PlatformFaultDomainCount != nil { + in, out := &in.PlatformFaultDomainCount, &out.PlatformFaultDomainCount + *out = new(int64) + **out = **in + } + if in.Priority != nil { + in, out := &in.Priority, &out.Priority + *out = new(string) + **out = **in + } + if in.ProvisionVMAgent != nil { + in, out := &in.ProvisionVMAgent, &out.ProvisionVMAgent + *out = new(bool) + **out = **in + } + if in.ProximityPlacementGroupID != nil { + in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID + *out = new(string) + **out = **in + } + if in.ResourceGroupName != nil { + in, out := &in.ResourceGroupName, &out.ResourceGroupName + *out = new(string) + **out = **in + } + if in.RollingUpgradePolicy != nil { + in, out := &in.RollingUpgradePolicy, &out.RollingUpgradePolicy + *out = make([]RollingUpgradePolicyParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ScaleInPolicy != nil { + in, out := &in.ScaleInPolicy, &out.ScaleInPolicy + *out = new(string) + **out = **in + } + if in.Secret != nil { + in, out := &in.Secret, &out.Secret + *out = make([]VirtualMachineScaleSetSecretParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.SinglePlacementGroup != nil { + in, out := &in.SinglePlacementGroup, &out.SinglePlacementGroup + *out = new(bool) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.SourceImageID != nil { + in, out := &in.SourceImageID, &out.SourceImageID + *out = new(string) + **out = **in + } + if in.SourceImageReference != nil { + in, out := &in.SourceImageReference, &out.SourceImageReference + *out = make([]VirtualMachineScaleSetSourceImageReferenceParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Tags != nil { + in, out := &in.Tags, &out.Tags + *out = make(map[string]*string, len(*in)) + for key, val := range *in { + var outVal *string + if val == nil { + (*out)[key] = nil + } else { + in, out := &val, &outVal + *out = new(string) + **out = **in + } + (*out)[key] = outVal + } + } + if in.TerminateNotification != nil { + in, out := &in.TerminateNotification, &out.TerminateNotification + *out = make([]TerminateNotificationParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Timezone != nil { + in, out := &in.Timezone, &out.Timezone + *out = new(string) + **out = **in + } + if in.UpgradeMode != nil { + in, out := &in.UpgradeMode, &out.UpgradeMode + *out = new(string) + **out = **in + } + if in.WinrmListener != nil { + in, out := &in.WinrmListener, &out.WinrmListener + *out = make([]VirtualMachineScaleSetWinrmListenerParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.ZoneBalance != nil { + in, out := &in.ZoneBalance, &out.ZoneBalance + *out = new(bool) + **out = **in + } + if in.Zones != nil { + in, out := &in.Zones, &out.Zones + *out = make([]*string, len(*in)) + for i := range *in { + if (*in)[i] != nil { + in, out := &(*in)[i], &(*out)[i] + *out = new(string) + **out = **in + } + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetParameters. +func (in *VirtualMachineScaleSetParameters) DeepCopy() *VirtualMachineScaleSetParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetPlanObservation) DeepCopyInto(out *VirtualMachineScaleSetPlanObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPlanObservation. +func (in *VirtualMachineScaleSetPlanObservation) DeepCopy() *VirtualMachineScaleSetPlanObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetPlanObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetPlanParameters) DeepCopyInto(out *VirtualMachineScaleSetPlanParameters) { + *out = *in + if in.Name != nil { + in, out := &in.Name, &out.Name + *out = new(string) + **out = **in + } + if in.Product != nil { + in, out := &in.Product, &out.Product + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetPlanParameters. +func (in *VirtualMachineScaleSetPlanParameters) DeepCopy() *VirtualMachineScaleSetPlanParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetPlanParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSecretObservation) DeepCopyInto(out *VirtualMachineScaleSetSecretObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSecretObservation. +func (in *VirtualMachineScaleSetSecretObservation) DeepCopy() *VirtualMachineScaleSetSecretObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSecretObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSecretParameters) DeepCopyInto(out *VirtualMachineScaleSetSecretParameters) { + *out = *in + if in.Certificate != nil { + in, out := &in.Certificate, &out.Certificate + *out = make([]SecretCertificateParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.KeyVaultID != nil { + in, out := &in.KeyVaultID, &out.KeyVaultID + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSecretParameters. +func (in *VirtualMachineScaleSetSecretParameters) DeepCopy() *VirtualMachineScaleSetSecretParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSecretParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSourceImageReferenceObservation) DeepCopyInto(out *VirtualMachineScaleSetSourceImageReferenceObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSourceImageReferenceObservation. +func (in *VirtualMachineScaleSetSourceImageReferenceObservation) DeepCopy() *VirtualMachineScaleSetSourceImageReferenceObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSourceImageReferenceObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSourceImageReferenceParameters) DeepCopyInto(out *VirtualMachineScaleSetSourceImageReferenceParameters) { + *out = *in + if in.Offer != nil { + in, out := &in.Offer, &out.Offer + *out = new(string) + **out = **in + } + if in.Publisher != nil { + in, out := &in.Publisher, &out.Publisher + *out = new(string) + **out = **in + } + if in.Sku != nil { + in, out := &in.Sku, &out.Sku + *out = new(string) + **out = **in + } + if in.Version != nil { + in, out := &in.Version, &out.Version + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSourceImageReferenceParameters. +func (in *VirtualMachineScaleSetSourceImageReferenceParameters) DeepCopy() *VirtualMachineScaleSetSourceImageReferenceParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSourceImageReferenceParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetSpec) DeepCopyInto(out *VirtualMachineScaleSetSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetSpec. +func (in *VirtualMachineScaleSetSpec) DeepCopy() *VirtualMachineScaleSetSpec { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetStatus) DeepCopyInto(out *VirtualMachineScaleSetStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetStatus. +func (in *VirtualMachineScaleSetStatus) DeepCopy() *VirtualMachineScaleSetStatus { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetWinrmListenerObservation) DeepCopyInto(out *VirtualMachineScaleSetWinrmListenerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetWinrmListenerObservation. +func (in *VirtualMachineScaleSetWinrmListenerObservation) DeepCopy() *VirtualMachineScaleSetWinrmListenerObservation { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetWinrmListenerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineScaleSetWinrmListenerParameters) DeepCopyInto(out *VirtualMachineScaleSetWinrmListenerParameters) { + *out = *in + if in.CertificateURL != nil { + in, out := &in.CertificateURL, &out.CertificateURL + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineScaleSetWinrmListenerParameters. +func (in *VirtualMachineScaleSetWinrmListenerParameters) DeepCopy() *VirtualMachineScaleSetWinrmListenerParameters { + if in == nil { + return nil + } + out := new(VirtualMachineScaleSetWinrmListenerParameters) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec) { + *out = *in + in.ResourceSpec.DeepCopyInto(&out.ResourceSpec) + in.ForProvider.DeepCopyInto(&out.ForProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec. +func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec { + if in == nil { + return nil + } + out := new(VirtualMachineSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus) { + *out = *in + in.ResourceStatus.DeepCopyInto(&out.ResourceStatus) + in.AtProvider.DeepCopyInto(&out.AtProvider) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus. +func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus { + if in == nil { + return nil + } + out := new(VirtualMachineStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WinrmListenerObservation) DeepCopyInto(out *WinrmListenerObservation) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WinrmListenerObservation. +func (in *WinrmListenerObservation) DeepCopy() *WinrmListenerObservation { + if in == nil { + return nil + } + out := new(WinrmListenerObservation) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WinrmListenerParameters) DeepCopyInto(out *WinrmListenerParameters) { + *out = *in + if in.CertificateURL != nil { + in, out := &in.CertificateURL, &out.CertificateURL + *out = new(string) + **out = **in + } + if in.Protocol != nil { + in, out := &in.Protocol, &out.Protocol + *out = new(string) + **out = **in + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WinrmListenerParameters. +func (in *WinrmListenerParameters) DeepCopy() *WinrmListenerParameters { + if in == nil { + return nil + } + out := new(WinrmListenerParameters) + in.DeepCopyInto(out) + return out +} diff --git a/apis/windows/v1alpha1/zz_generated.managed.go b/apis/windows/v1alpha1/zz_generated.managed.go new file mode 100644 index 000000000..bc090b83a --- /dev/null +++ b/apis/windows/v1alpha1/zz_generated.managed.go @@ -0,0 +1,132 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" + +// GetCondition of this VirtualMachine. +func (mg *VirtualMachine) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachine. +func (mg *VirtualMachine) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachine. +func (mg *VirtualMachine) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachine. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachine) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachine. +func (mg *VirtualMachine) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachine. +func (mg *VirtualMachine) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachine. +func (mg *VirtualMachine) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachine. +func (mg *VirtualMachine) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachine. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachine) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachine. +func (mg *VirtualMachine) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} + +// GetCondition of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetCondition(ct xpv1.ConditionType) xpv1.Condition { + return mg.Status.GetCondition(ct) +} + +// GetDeletionPolicy of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetDeletionPolicy() xpv1.DeletionPolicy { + return mg.Spec.DeletionPolicy +} + +// GetProviderConfigReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetProviderConfigReference() *xpv1.Reference { + return mg.Spec.ProviderConfigReference +} + +/* +GetProviderReference of this VirtualMachineScaleSet. +Deprecated: Use GetProviderConfigReference. +*/ +func (mg *VirtualMachineScaleSet) GetProviderReference() *xpv1.Reference { + return mg.Spec.ProviderReference +} + +// GetWriteConnectionSecretToReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) GetWriteConnectionSecretToReference() *xpv1.SecretReference { + return mg.Spec.WriteConnectionSecretToReference +} + +// SetConditions of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetConditions(c ...xpv1.Condition) { + mg.Status.SetConditions(c...) +} + +// SetDeletionPolicy of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetDeletionPolicy(r xpv1.DeletionPolicy) { + mg.Spec.DeletionPolicy = r +} + +// SetProviderConfigReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetProviderConfigReference(r *xpv1.Reference) { + mg.Spec.ProviderConfigReference = r +} + +/* +SetProviderReference of this VirtualMachineScaleSet. +Deprecated: Use SetProviderConfigReference. +*/ +func (mg *VirtualMachineScaleSet) SetProviderReference(r *xpv1.Reference) { + mg.Spec.ProviderReference = r +} + +// SetWriteConnectionSecretToReference of this VirtualMachineScaleSet. +func (mg *VirtualMachineScaleSet) SetWriteConnectionSecretToReference(r *xpv1.SecretReference) { + mg.Spec.WriteConnectionSecretToReference = r +} diff --git a/apis/windows/v1alpha1/zz_generated.managedlist.go b/apis/windows/v1alpha1/zz_generated.managedlist.go new file mode 100644 index 000000000..23e22d3fe --- /dev/null +++ b/apis/windows/v1alpha1/zz_generated.managedlist.go @@ -0,0 +1,38 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// Code generated by angryjet. DO NOT EDIT. + +package v1alpha1 + +import resource "github.com/crossplane/crossplane-runtime/pkg/resource" + +// GetItems of this VirtualMachineList. +func (l *VirtualMachineList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} + +// GetItems of this VirtualMachineScaleSetList. +func (l *VirtualMachineScaleSetList) GetItems() []resource.Managed { + items := make([]resource.Managed, len(l.Items)) + for i := range l.Items { + items[i] = &l.Items[i] + } + return items +} diff --git a/apis/windows/v1alpha1/zz_groupversion_info.go b/apis/windows/v1alpha1/zz_groupversion_info.go new file mode 100755 index 000000000..b1e31c041 --- /dev/null +++ b/apis/windows/v1alpha1/zz_groupversion_info.go @@ -0,0 +1,44 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +// +kubebuilder:object:generate=true +// +groupName=windows.azure.jet.crossplane.io +// +versionName=v1alpha1 +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// Package type metadata. +const ( + CRDGroup = "windows.azure.jet.crossplane.io" + CRDVersion = "v1alpha1" +) + +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 +) diff --git a/apis/windows/v1alpha1/zz_virtualmachine_terraformed.go b/apis/windows/v1alpha1/zz_virtualmachine_terraformed.go new file mode 100755 index 000000000..15dd50b4a --- /dev/null +++ b/apis/windows/v1alpha1/zz_virtualmachine_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachine +func (mg *VirtualMachine) GetTerraformResourceType() string { + return "azurerm_windows_virtual_machine" +} + +// GetConnectionDetailsMapping for this VirtualMachine +func (tr *VirtualMachine) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"additional_unattend_content[*].content": "spec.forProvider.additionalUnattendContent[*].contentSecretRef", "admin_password": "spec.forProvider.adminPasswordSecretRef", "custom_data": "spec.forProvider.customDataSecretRef"} +} + +// GetObservation of this VirtualMachine +func (tr *VirtualMachine) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachine +func (tr *VirtualMachine) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachine +func (tr *VirtualMachine) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachine +func (tr *VirtualMachine) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachine using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachine) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachine) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/windows/v1alpha1/zz_virtualmachine_types.go b/apis/windows/v1alpha1/zz_virtualmachine_types.go new file mode 100755 index 000000000..ab39ab221 --- /dev/null +++ b/apis/windows/v1alpha1/zz_virtualmachine_types.go @@ -0,0 +1,351 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AdditionalCapabilitiesObservation struct { +} + +type AdditionalCapabilitiesParameters struct { + + // +kubebuilder:validation:Optional + UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"` +} + +type AdditionalUnattendContentObservation struct { +} + +type AdditionalUnattendContentParameters struct { + + // +kubebuilder:validation:Required + ContentSecretRef v1.SecretKeySelector `json:"contentSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Setting *string `json:"setting" tf:"setting,omitempty"` +} + +type BootDiagnosticsObservation struct { +} + +type BootDiagnosticsParameters struct { + + // +kubebuilder:validation:Optional + StorageAccountURI *string `json:"storageAccountUri,omitempty" tf:"storage_account_uri,omitempty"` +} + +type CertificateObservation struct { +} + +type CertificateParameters struct { + + // +kubebuilder:validation:Required + Store *string `json:"store" tf:"store,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +type DiffDiskSettingsObservation struct { +} + +type DiffDiskSettingsParameters struct { + + // +kubebuilder:validation:Required + Option *string `json:"option" tf:"option,omitempty"` +} + +type IdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` + + TenantID *string `json:"tenantId,omitempty" tf:"tenant_id,omitempty"` +} + +type IdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type OsDiskObservation struct { +} + +type OsDiskParameters struct { + + // +kubebuilder:validation:Required + Caching *string `json:"caching" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + DiffDiskSettings []DiffDiskSettingsParameters `json:"diffDiskSettings,omitempty" tf:"diff_disk_settings,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Optional + Name *string `json:"name,omitempty" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty" tf:"write_accelerator_enabled,omitempty"` +} + +type PlanObservation struct { +} + +type PlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` +} + +type SecretObservation struct { +} + +type SecretParameters struct { + + // +kubebuilder:validation:Required + Certificate []CertificateParameters `json:"certificate" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` +} + +type SourceImageReferenceObservation struct { +} + +type SourceImageReferenceParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type VirtualMachineObservation struct { + PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"` + + PrivateIPAddresses []*string `json:"privateIpAddresses,omitempty" tf:"private_ip_addresses,omitempty"` + + PublicIPAddress *string `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` + + PublicIPAddresses []*string `json:"publicIpAddresses,omitempty" tf:"public_ip_addresses,omitempty"` + + VirtualMachineID *string `json:"virtualMachineId,omitempty" tf:"virtual_machine_id,omitempty"` +} + +type VirtualMachineParameters struct { + + // +kubebuilder:validation:Optional + AdditionalCapabilities []AdditionalCapabilitiesParameters `json:"additionalCapabilities,omitempty" tf:"additional_capabilities,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalUnattendContent []AdditionalUnattendContentParameters `json:"additionalUnattendContent,omitempty" tf:"additional_unattend_content,omitempty"` + + // +kubebuilder:validation:Required + AdminPasswordSecretRef v1.SecretKeySelector `json:"adminPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + AdminUsername *string `json:"adminUsername" tf:"admin_username,omitempty"` + + // +kubebuilder:validation:Optional + AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty" tf:"allow_extension_operations,omitempty"` + + // +kubebuilder:validation:Optional + AvailabilitySetID *string `json:"availabilitySetId,omitempty" tf:"availability_set_id,omitempty"` + + // +kubebuilder:validation:Optional + BootDiagnostics []BootDiagnosticsParameters `json:"bootDiagnostics,omitempty" tf:"boot_diagnostics,omitempty"` + + // +kubebuilder:validation:Optional + ComputerName *string `json:"computerName,omitempty" tf:"computer_name,omitempty"` + + // +kubebuilder:validation:Optional + CustomDataSecretRef *v1.SecretKeySelector `json:"customDataSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DedicatedHostID *string `json:"dedicatedHostId,omitempty" tf:"dedicated_host_id,omitempty"` + + // +kubebuilder:validation:Optional + EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty" tf:"enable_automatic_updates,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"` + + // +kubebuilder:validation:Optional + ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty" tf:"extensions_time_budget,omitempty"` + + // +kubebuilder:validation:Optional + Identity []IdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxBidPrice *float64 `json:"maxBidPrice,omitempty" tf:"max_bid_price,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterfaceIds []*string `json:"networkInterfaceIds" tf:"network_interface_ids,omitempty"` + + // +kubebuilder:validation:Required + OsDisk []OsDiskParameters `json:"osDisk" tf:"os_disk,omitempty"` + + // +kubebuilder:validation:Optional + PatchMode *string `json:"patchMode,omitempty" tf:"patch_mode,omitempty"` + + // +kubebuilder:validation:Optional + Plan []PlanParameters `json:"plan,omitempty" tf:"plan,omitempty"` + + // +kubebuilder:validation:Optional + PlatformFaultDomain *int64 `json:"platformFaultDomain,omitempty" tf:"platform_fault_domain,omitempty"` + + // +kubebuilder:validation:Optional + Priority *string `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ProvisionVMAgent *bool `json:"provisionVmAgent,omitempty" tf:"provision_vm_agent,omitempty"` + + // +kubebuilder:validation:Optional + ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"` + + // +kubebuilder:validation:Required + Size *string `json:"size" tf:"size,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageID *string `json:"sourceImageId,omitempty" tf:"source_image_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageReference []SourceImageReferenceParameters `json:"sourceImageReference,omitempty" tf:"source_image_reference,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` + + // +kubebuilder:validation:Optional + VirtualMachineScaleSetID *string `json:"virtualMachineScaleSetId,omitempty" tf:"virtual_machine_scale_set_id,omitempty"` + + // +kubebuilder:validation:Optional + WinrmListener []WinrmListenerParameters `json:"winrmListener,omitempty" tf:"winrm_listener,omitempty"` + + // +kubebuilder:validation:Optional + Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` +} + +type WinrmListenerObservation struct { +} + +type WinrmListenerParameters struct { + + // +kubebuilder:validation:Optional + CertificateURL *string `json:"certificateUrl,omitempty" tf:"certificate_url,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` +} + +// VirtualMachineSpec defines the desired state of VirtualMachine +type VirtualMachineSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineParameters `json:"forProvider"` +} + +// VirtualMachineStatus defines the observed state of VirtualMachine. +type VirtualMachineStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachine is the Schema for the VirtualMachines API +// +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,azurejet} +type VirtualMachine struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineSpec `json:"spec"` + Status VirtualMachineStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineList contains a list of VirtualMachines +type VirtualMachineList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachine `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachine_Kind = "VirtualMachine" + VirtualMachine_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachine_Kind}.String() + VirtualMachine_KindAPIVersion = VirtualMachine_Kind + "." + CRDGroupVersion.String() + VirtualMachine_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachine_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachine{}, &VirtualMachineList{}) +} diff --git a/apis/windows/v1alpha1/zz_virtualmachinescaleset_terraformed.go b/apis/windows/v1alpha1/zz_virtualmachinescaleset_terraformed.go new file mode 100755 index 000000000..89cd7866a --- /dev/null +++ b/apis/windows/v1alpha1/zz_virtualmachinescaleset_terraformed.go @@ -0,0 +1,92 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + "github.com/pkg/errors" + + "github.com/crossplane-contrib/terrajet/pkg/resource" + "github.com/crossplane-contrib/terrajet/pkg/resource/json" +) + +// GetTerraformResourceType returns Terraform resource type for this VirtualMachineScaleSet +func (mg *VirtualMachineScaleSet) GetTerraformResourceType() string { + return "azurerm_windows_virtual_machine_scale_set" +} + +// GetConnectionDetailsMapping for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetConnectionDetailsMapping() map[string]string { + return map[string]string{"additional_unattend_content[*].content": "spec.forProvider.additionalUnattendContent[*].contentSecretRef", "admin_password": "spec.forProvider.adminPasswordSecretRef", "custom_data": "spec.forProvider.customDataSecretRef", "extension[*].protected_settings": "spec.forProvider.extension[*].protectedSettingsSecretRef"} +} + +// GetObservation of this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetObservation() (map[string]interface{}, error) { + o, err := json.TFParser.Marshal(tr.Status.AtProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(o, &base) +} + +// SetObservation for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) SetObservation(obs map[string]interface{}) error { + p, err := json.TFParser.Marshal(obs) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Status.AtProvider) +} + +// GetParameters of this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) GetParameters() (map[string]interface{}, error) { + p, err := json.TFParser.Marshal(tr.Spec.ForProvider) + if err != nil { + return nil, err + } + base := map[string]interface{}{} + return base, json.TFParser.Unmarshal(p, &base) +} + +// SetParameters for this VirtualMachineScaleSet +func (tr *VirtualMachineScaleSet) SetParameters(params map[string]interface{}) error { + p, err := json.TFParser.Marshal(params) + if err != nil { + return err + } + return json.TFParser.Unmarshal(p, &tr.Spec.ForProvider) +} + +// LateInitialize this VirtualMachineScaleSet using its observed tfState. +// returns True if there are any spec changes for the resource. +func (tr *VirtualMachineScaleSet) LateInitialize(attrs []byte) (bool, error) { + params := &VirtualMachineScaleSetParameters{} + if err := json.TFParser.Unmarshal(attrs, params); err != nil { + return false, errors.Wrap(err, "failed to unmarshal Terraform state parameters for late-initialization") + } + opts := []resource.GenericLateInitializerOption{resource.WithZeroValueJSONOmitEmptyFilter(resource.CNameWildcard)} + + li := resource.NewGenericLateInitializer(opts...) + return li.LateInitialize(&tr.Spec.ForProvider, params) +} + +// GetTerraformSchemaVersion returns the associated Terraform schema version +func (tr *VirtualMachineScaleSet) GetTerraformSchemaVersion() int { + return 0 +} diff --git a/apis/windows/v1alpha1/zz_virtualmachinescaleset_types.go b/apis/windows/v1alpha1/zz_virtualmachinescaleset_types.go new file mode 100755 index 000000000..95f0e7392 --- /dev/null +++ b/apis/windows/v1alpha1/zz_virtualmachinescaleset_types.go @@ -0,0 +1,578 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + + v1 "github.com/crossplane/crossplane-runtime/apis/common/v1" +) + +type AutomaticInstanceRepairObservation struct { +} + +type AutomaticInstanceRepairParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + GracePeriod *string `json:"gracePeriod,omitempty" tf:"grace_period,omitempty"` +} + +type AutomaticOsUpgradePolicyObservation struct { +} + +type AutomaticOsUpgradePolicyParameters struct { + + // +kubebuilder:validation:Required + DisableAutomaticRollback *bool `json:"disableAutomaticRollback" tf:"disable_automatic_rollback,omitempty"` + + // +kubebuilder:validation:Required + EnableAutomaticOsUpgrade *bool `json:"enableAutomaticOsUpgrade" tf:"enable_automatic_os_upgrade,omitempty"` +} + +type DataDiskObservation struct { +} + +type DataDiskParameters struct { + + // +kubebuilder:validation:Required + Caching *string `json:"caching" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + CreateOption *string `json:"createOption,omitempty" tf:"create_option,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskIopsReadWrite *int64 `json:"diskIopsReadWrite,omitempty" tf:"disk_iops_read_write,omitempty"` + + // +kubebuilder:validation:Optional + DiskMbpsReadWrite *int64 `json:"diskMbpsReadWrite,omitempty" tf:"disk_mbps_read_write,omitempty"` + + // +kubebuilder:validation:Required + DiskSizeGb *int64 `json:"diskSizeGb" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Required + Lun *int64 `json:"lun" tf:"lun,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty" tf:"write_accelerator_enabled,omitempty"` +} + +type ExtensionObservation struct { +} + +type ExtensionParameters struct { + + // +kubebuilder:validation:Optional + AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty" tf:"auto_upgrade_minor_version,omitempty"` + + // +kubebuilder:validation:Optional + ForceUpdateTag *string `json:"forceUpdateTag,omitempty" tf:"force_update_tag,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + ProtectedSettingsSecretRef *v1.SecretKeySelector `json:"protectedSettingsSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + ProvisionAfterExtensions []*string `json:"provisionAfterExtensions,omitempty" tf:"provision_after_extensions,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Optional + Settings *string `json:"settings,omitempty" tf:"settings,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` + + // +kubebuilder:validation:Required + TypeHandlerVersion *string `json:"typeHandlerVersion" tf:"type_handler_version,omitempty"` +} + +type IPConfigurationObservation struct { +} + +type IPConfigurationParameters struct { + + // +kubebuilder:validation:Optional + ApplicationGatewayBackendAddressPoolIds []*string `json:"applicationGatewayBackendAddressPoolIds,omitempty" tf:"application_gateway_backend_address_pool_ids,omitempty"` + + // +kubebuilder:validation:Optional + ApplicationSecurityGroupIds []*string `json:"applicationSecurityGroupIds,omitempty" tf:"application_security_group_ids,omitempty"` + + // +kubebuilder:validation:Optional + LoadBalancerBackendAddressPoolIds []*string `json:"loadBalancerBackendAddressPoolIds,omitempty" tf:"load_balancer_backend_address_pool_ids,omitempty"` + + // +kubebuilder:validation:Optional + LoadBalancerInboundNatRulesIds []*string `json:"loadBalancerInboundNatRulesIds,omitempty" tf:"load_balancer_inbound_nat_rules_ids,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + Primary *bool `json:"primary,omitempty" tf:"primary,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPAddress []PublicIPAddressParameters `json:"publicIpAddress,omitempty" tf:"public_ip_address,omitempty"` + + // +kubebuilder:validation:Optional + SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` + + // +kubebuilder:validation:Optional + Version *string `json:"version,omitempty" tf:"version,omitempty"` +} + +type IPTagObservation struct { +} + +type IPTagParameters struct { + + // +kubebuilder:validation:Required + Tag *string `json:"tag" tf:"tag,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type NetworkInterfaceObservation struct { +} + +type NetworkInterfaceParameters struct { + + // +kubebuilder:validation:Optional + DNSServers []*string `json:"dnsServers,omitempty" tf:"dns_servers,omitempty"` + + // +kubebuilder:validation:Optional + EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty" tf:"enable_accelerated_networking,omitempty"` + + // +kubebuilder:validation:Optional + EnableIPForwarding *bool `json:"enableIpForwarding,omitempty" tf:"enable_ip_forwarding,omitempty"` + + // +kubebuilder:validation:Required + IPConfiguration []IPConfigurationParameters `json:"ipConfiguration" tf:"ip_configuration,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty" tf:"network_security_group_id,omitempty"` + + // +kubebuilder:validation:Optional + Primary *bool `json:"primary,omitempty" tf:"primary,omitempty"` +} + +type OsDiskDiffDiskSettingsObservation struct { +} + +type OsDiskDiffDiskSettingsParameters struct { + + // +kubebuilder:validation:Required + Option *string `json:"option" tf:"option,omitempty"` +} + +type PublicIPAddressObservation struct { +} + +type PublicIPAddressParameters struct { + + // +kubebuilder:validation:Optional + DomainNameLabel *string `json:"domainNameLabel,omitempty" tf:"domain_name_label,omitempty"` + + // +kubebuilder:validation:Optional + IPTag []IPTagParameters `json:"ipTag,omitempty" tf:"ip_tag,omitempty"` + + // +kubebuilder:validation:Optional + IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty" tf:"idle_timeout_in_minutes,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Optional + PublicIPPrefixID *string `json:"publicIpPrefixId,omitempty" tf:"public_ip_prefix_id,omitempty"` +} + +type RollingUpgradePolicyObservation struct { +} + +type RollingUpgradePolicyParameters struct { + + // +kubebuilder:validation:Required + MaxBatchInstancePercent *int64 `json:"maxBatchInstancePercent" tf:"max_batch_instance_percent,omitempty"` + + // +kubebuilder:validation:Required + MaxUnhealthyInstancePercent *int64 `json:"maxUnhealthyInstancePercent" tf:"max_unhealthy_instance_percent,omitempty"` + + // +kubebuilder:validation:Required + MaxUnhealthyUpgradedInstancePercent *int64 `json:"maxUnhealthyUpgradedInstancePercent" tf:"max_unhealthy_upgraded_instance_percent,omitempty"` + + // +kubebuilder:validation:Required + PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches" tf:"pause_time_between_batches,omitempty"` +} + +type SecretCertificateObservation struct { +} + +type SecretCertificateParameters struct { + + // +kubebuilder:validation:Required + Store *string `json:"store" tf:"store,omitempty"` + + // +kubebuilder:validation:Required + URL *string `json:"url" tf:"url,omitempty"` +} + +type TerminateNotificationObservation struct { +} + +type TerminateNotificationParameters struct { + + // +kubebuilder:validation:Required + Enabled *bool `json:"enabled" tf:"enabled,omitempty"` + + // +kubebuilder:validation:Optional + Timeout *string `json:"timeout,omitempty" tf:"timeout,omitempty"` +} + +type VirtualMachineScaleSetAdditionalCapabilitiesObservation struct { +} + +type VirtualMachineScaleSetAdditionalCapabilitiesParameters struct { + + // +kubebuilder:validation:Optional + UltraSsdEnabled *bool `json:"ultraSsdEnabled,omitempty" tf:"ultra_ssd_enabled,omitempty"` +} + +type VirtualMachineScaleSetAdditionalUnattendContentObservation struct { +} + +type VirtualMachineScaleSetAdditionalUnattendContentParameters struct { + + // +kubebuilder:validation:Required + ContentSecretRef v1.SecretKeySelector `json:"contentSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + Setting *string `json:"setting" tf:"setting,omitempty"` +} + +type VirtualMachineScaleSetBootDiagnosticsObservation struct { +} + +type VirtualMachineScaleSetBootDiagnosticsParameters struct { + + // +kubebuilder:validation:Optional + StorageAccountURI *string `json:"storageAccountUri,omitempty" tf:"storage_account_uri,omitempty"` +} + +type VirtualMachineScaleSetIdentityObservation struct { + PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` +} + +type VirtualMachineScaleSetIdentityParameters struct { + + // +kubebuilder:validation:Optional + IdentityIds []*string `json:"identityIds,omitempty" tf:"identity_ids,omitempty"` + + // +kubebuilder:validation:Required + Type *string `json:"type" tf:"type,omitempty"` +} + +type VirtualMachineScaleSetObservation struct { + UniqueID *string `json:"uniqueId,omitempty" tf:"unique_id,omitempty"` +} + +type VirtualMachineScaleSetOsDiskObservation struct { +} + +type VirtualMachineScaleSetOsDiskParameters struct { + + // +kubebuilder:validation:Required + Caching *string `json:"caching" tf:"caching,omitempty"` + + // +kubebuilder:validation:Optional + DiffDiskSettings []OsDiskDiffDiskSettingsParameters `json:"diffDiskSettings,omitempty" tf:"diff_disk_settings,omitempty"` + + // +kubebuilder:validation:Optional + DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty" tf:"disk_encryption_set_id,omitempty"` + + // +kubebuilder:validation:Optional + DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb,omitempty"` + + // +kubebuilder:validation:Required + StorageAccountType *string `json:"storageAccountType" tf:"storage_account_type,omitempty"` + + // +kubebuilder:validation:Optional + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty" tf:"write_accelerator_enabled,omitempty"` +} + +type VirtualMachineScaleSetParameters struct { + + // +kubebuilder:validation:Optional + AdditionalCapabilities []VirtualMachineScaleSetAdditionalCapabilitiesParameters `json:"additionalCapabilities,omitempty" tf:"additional_capabilities,omitempty"` + + // +kubebuilder:validation:Optional + AdditionalUnattendContent []VirtualMachineScaleSetAdditionalUnattendContentParameters `json:"additionalUnattendContent,omitempty" tf:"additional_unattend_content,omitempty"` + + // +kubebuilder:validation:Required + AdminPasswordSecretRef v1.SecretKeySelector `json:"adminPasswordSecretRef" tf:"-"` + + // +kubebuilder:validation:Required + AdminUsername *string `json:"adminUsername" tf:"admin_username,omitempty"` + + // +kubebuilder:validation:Optional + AutomaticInstanceRepair []AutomaticInstanceRepairParameters `json:"automaticInstanceRepair,omitempty" tf:"automatic_instance_repair,omitempty"` + + // +kubebuilder:validation:Optional + AutomaticOsUpgradePolicy []AutomaticOsUpgradePolicyParameters `json:"automaticOsUpgradePolicy,omitempty" tf:"automatic_os_upgrade_policy,omitempty"` + + // +kubebuilder:validation:Optional + BootDiagnostics []VirtualMachineScaleSetBootDiagnosticsParameters `json:"bootDiagnostics,omitempty" tf:"boot_diagnostics,omitempty"` + + // +kubebuilder:validation:Optional + ComputerNamePrefix *string `json:"computerNamePrefix,omitempty" tf:"computer_name_prefix,omitempty"` + + // +kubebuilder:validation:Optional + CustomDataSecretRef *v1.SecretKeySelector `json:"customDataSecretRef,omitempty" tf:"-"` + + // +kubebuilder:validation:Optional + DataDisk []DataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"` + + // +kubebuilder:validation:Optional + DoNotRunExtensionsOnOverprovisionedMachines *bool `json:"doNotRunExtensionsOnOverprovisionedMachines,omitempty" tf:"do_not_run_extensions_on_overprovisioned_machines,omitempty"` + + // +kubebuilder:validation:Optional + EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty" tf:"enable_automatic_updates,omitempty"` + + // +kubebuilder:validation:Optional + EncryptionAtHostEnabled *bool `json:"encryptionAtHostEnabled,omitempty" tf:"encryption_at_host_enabled,omitempty"` + + // +kubebuilder:validation:Optional + EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"` + + // +kubebuilder:validation:Optional + Extension []ExtensionParameters `json:"extension,omitempty" tf:"extension,omitempty"` + + // +kubebuilder:validation:Optional + ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty" tf:"extensions_time_budget,omitempty"` + + // +kubebuilder:validation:Optional + HealthProbeID *string `json:"healthProbeId,omitempty" tf:"health_probe_id,omitempty"` + + // +kubebuilder:validation:Optional + Identity []VirtualMachineScaleSetIdentityParameters `json:"identity,omitempty" tf:"identity,omitempty"` + + // +kubebuilder:validation:Required + Instances *int64 `json:"instances" tf:"instances,omitempty"` + + // +kubebuilder:validation:Optional + LicenseType *string `json:"licenseType,omitempty" tf:"license_type,omitempty"` + + // +kubebuilder:validation:Required + Location *string `json:"location" tf:"location,omitempty"` + + // +kubebuilder:validation:Optional + MaxBidPrice *float64 `json:"maxBidPrice,omitempty" tf:"max_bid_price,omitempty"` + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + NetworkInterface []NetworkInterfaceParameters `json:"networkInterface" tf:"network_interface,omitempty"` + + // +kubebuilder:validation:Required + OsDisk []VirtualMachineScaleSetOsDiskParameters `json:"osDisk" tf:"os_disk,omitempty"` + + // +kubebuilder:validation:Optional + Overprovision *bool `json:"overprovision,omitempty" tf:"overprovision,omitempty"` + + // +kubebuilder:validation:Optional + Plan []VirtualMachineScaleSetPlanParameters `json:"plan,omitempty" tf:"plan,omitempty"` + + // +kubebuilder:validation:Optional + PlatformFaultDomainCount *int64 `json:"platformFaultDomainCount,omitempty" tf:"platform_fault_domain_count,omitempty"` + + // +kubebuilder:validation:Optional + Priority *string `json:"priority,omitempty" tf:"priority,omitempty"` + + // +kubebuilder:validation:Optional + ProvisionVMAgent *bool `json:"provisionVmAgent,omitempty" tf:"provision_vm_agent,omitempty"` + + // +kubebuilder:validation:Optional + ProximityPlacementGroupID *string `json:"proximityPlacementGroupId,omitempty" tf:"proximity_placement_group_id,omitempty"` + + // +kubebuilder:validation:Required + ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name,omitempty"` + + // +kubebuilder:validation:Optional + RollingUpgradePolicy []RollingUpgradePolicyParameters `json:"rollingUpgradePolicy,omitempty" tf:"rolling_upgrade_policy,omitempty"` + + // +kubebuilder:validation:Optional + ScaleInPolicy *string `json:"scaleInPolicy,omitempty" tf:"scale_in_policy,omitempty"` + + // +kubebuilder:validation:Optional + Secret []VirtualMachineScaleSetSecretParameters `json:"secret,omitempty" tf:"secret,omitempty"` + + // +kubebuilder:validation:Optional + SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty" tf:"single_placement_group,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageID *string `json:"sourceImageId,omitempty" tf:"source_image_id,omitempty"` + + // +kubebuilder:validation:Optional + SourceImageReference []VirtualMachineScaleSetSourceImageReferenceParameters `json:"sourceImageReference,omitempty" tf:"source_image_reference,omitempty"` + + // +kubebuilder:validation:Optional + Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` + + // +kubebuilder:validation:Optional + TerminateNotification []TerminateNotificationParameters `json:"terminateNotification,omitempty" tf:"terminate_notification,omitempty"` + + // +kubebuilder:validation:Optional + Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` + + // +kubebuilder:validation:Optional + UpgradeMode *string `json:"upgradeMode,omitempty" tf:"upgrade_mode,omitempty"` + + // +kubebuilder:validation:Optional + WinrmListener []VirtualMachineScaleSetWinrmListenerParameters `json:"winrmListener,omitempty" tf:"winrm_listener,omitempty"` + + // +kubebuilder:validation:Optional + ZoneBalance *bool `json:"zoneBalance,omitempty" tf:"zone_balance,omitempty"` + + // +kubebuilder:validation:Optional + Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"` +} + +type VirtualMachineScaleSetPlanObservation struct { +} + +type VirtualMachineScaleSetPlanParameters struct { + + // +kubebuilder:validation:Required + Name *string `json:"name" tf:"name,omitempty"` + + // +kubebuilder:validation:Required + Product *string `json:"product" tf:"product,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` +} + +type VirtualMachineScaleSetSecretObservation struct { +} + +type VirtualMachineScaleSetSecretParameters struct { + + // +kubebuilder:validation:Required + Certificate []SecretCertificateParameters `json:"certificate" tf:"certificate,omitempty"` + + // +kubebuilder:validation:Required + KeyVaultID *string `json:"keyVaultId" tf:"key_vault_id,omitempty"` +} + +type VirtualMachineScaleSetSourceImageReferenceObservation struct { +} + +type VirtualMachineScaleSetSourceImageReferenceParameters struct { + + // +kubebuilder:validation:Required + Offer *string `json:"offer" tf:"offer,omitempty"` + + // +kubebuilder:validation:Required + Publisher *string `json:"publisher" tf:"publisher,omitempty"` + + // +kubebuilder:validation:Required + Sku *string `json:"sku" tf:"sku,omitempty"` + + // +kubebuilder:validation:Required + Version *string `json:"version" tf:"version,omitempty"` +} + +type VirtualMachineScaleSetWinrmListenerObservation struct { +} + +type VirtualMachineScaleSetWinrmListenerParameters struct { + + // +kubebuilder:validation:Optional + CertificateURL *string `json:"certificateUrl,omitempty" tf:"certificate_url,omitempty"` + + // +kubebuilder:validation:Required + Protocol *string `json:"protocol" tf:"protocol,omitempty"` +} + +// VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet +type VirtualMachineScaleSetSpec struct { + v1.ResourceSpec `json:",inline"` + ForProvider VirtualMachineScaleSetParameters `json:"forProvider"` +} + +// VirtualMachineScaleSetStatus defines the observed state of VirtualMachineScaleSet. +type VirtualMachineScaleSetStatus struct { + v1.ResourceStatus `json:",inline"` + AtProvider VirtualMachineScaleSetObservation `json:"atProvider,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineScaleSet is the Schema for the VirtualMachineScaleSets API +// +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,azurejet} +type VirtualMachineScaleSet struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec VirtualMachineScaleSetSpec `json:"spec"` + Status VirtualMachineScaleSetStatus `json:"status,omitempty"` +} + +// +kubebuilder:object:root=true + +// VirtualMachineScaleSetList contains a list of VirtualMachineScaleSets +type VirtualMachineScaleSetList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []VirtualMachineScaleSet `json:"items"` +} + +// Repository type metadata. +var ( + VirtualMachineScaleSet_Kind = "VirtualMachineScaleSet" + VirtualMachineScaleSet_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: VirtualMachineScaleSet_Kind}.String() + VirtualMachineScaleSet_KindAPIVersion = VirtualMachineScaleSet_Kind + "." + CRDGroupVersion.String() + VirtualMachineScaleSet_GroupVersionKind = CRDGroupVersion.WithKind(VirtualMachineScaleSet_Kind) +) + +func init() { + SchemeBuilder.Register(&VirtualMachineScaleSet{}, &VirtualMachineScaleSetList{}) +} diff --git a/apis/zz_register.go b/apis/zz_register.go index 39d399c40..9fc7e86ce 100755 --- a/apis/zz_register.go +++ b/apis/zz_register.go @@ -22,39 +22,247 @@ package apis import ( "k8s.io/apimachinery/pkg/runtime" - v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/authorization/v1alpha1" + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/active/v1alpha1" + v1alpha1advanced "github.com/crossplane-contrib/provider-jet-azure/apis/advanced/v1alpha1" + v1alpha1analysis "github.com/crossplane-contrib/provider-jet-azure/apis/analysis/v1alpha1" + v1alpha1api "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" + v1alpha1app "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" + v1alpha1application "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" + v1alpha1attestation "github.com/crossplane-contrib/provider-jet-azure/apis/attestation/v1alpha1" + v1alpha1authorization "github.com/crossplane-contrib/provider-jet-azure/apis/authorization/v1alpha1" + v1alpha1automation "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" + v1alpha1availability "github.com/crossplane-contrib/provider-jet-azure/apis/availability/v1alpha1" v1alpha1azure "github.com/crossplane-contrib/provider-jet-azure/apis/azure/v1alpha1" + v1alpha1azurerm "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" + v1alpha1backup "github.com/crossplane-contrib/provider-jet-azure/apis/backup/v1alpha1" + v1alpha1bastion "github.com/crossplane-contrib/provider-jet-azure/apis/bastion/v1alpha1" + v1alpha1batch "github.com/crossplane-contrib/provider-jet-azure/apis/batch/v1alpha1" + v1alpha1blueprint "github.com/crossplane-contrib/provider-jet-azure/apis/blueprint/v1alpha1" + v1alpha1bot "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" + v1alpha1cdn "github.com/crossplane-contrib/provider-jet-azure/apis/cdn/v1alpha1" + v1alpha1cognitive "github.com/crossplane-contrib/provider-jet-azure/apis/cognitive/v1alpha1" + v1alpha1communication "github.com/crossplane-contrib/provider-jet-azure/apis/communication/v1alpha1" + v1alpha1consumption "github.com/crossplane-contrib/provider-jet-azure/apis/consumption/v1alpha1" + v1alpha1container "github.com/crossplane-contrib/provider-jet-azure/apis/container/v1alpha1" v1alpha1containerservice "github.com/crossplane-contrib/provider-jet-azure/apis/containerservice/v1alpha1" v1alpha1cosmosdb "github.com/crossplane-contrib/provider-jet-azure/apis/cosmosdb/v1alpha1" + v1alpha1cost "github.com/crossplane-contrib/provider-jet-azure/apis/cost/v1alpha1" + v1alpha1custom "github.com/crossplane-contrib/provider-jet-azure/apis/custom/v1alpha1" + v1alpha1data "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" + v1alpha1database "github.com/crossplane-contrib/provider-jet-azure/apis/database/v1alpha1" + v1alpha1databox "github.com/crossplane-contrib/provider-jet-azure/apis/databox/v1alpha1" + v1alpha1databricks "github.com/crossplane-contrib/provider-jet-azure/apis/databricks/v1alpha1" + v1alpha1dedicated "github.com/crossplane-contrib/provider-jet-azure/apis/dedicated/v1alpha1" + v1alpha1dev "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" + v1alpha1devspace "github.com/crossplane-contrib/provider-jet-azure/apis/devspace/v1alpha1" + v1alpha1digital "github.com/crossplane-contrib/provider-jet-azure/apis/digital/v1alpha1" + v1alpha1disk "github.com/crossplane-contrib/provider-jet-azure/apis/disk/v1alpha1" + v1alpha1dns "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" + v1alpha1eventgrid "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" + v1alpha1eventhub "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" + v1alpha1express "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" + v1alpha1firewall "github.com/crossplane-contrib/provider-jet-azure/apis/firewall/v1alpha1" + v1alpha1frontdoor "github.com/crossplane-contrib/provider-jet-azure/apis/frontdoor/v1alpha1" + v1alpha1function "github.com/crossplane-contrib/provider-jet-azure/apis/function/v1alpha1" + v1alpha1hdinsight "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" + v1alpha1healthcare "github.com/crossplane-contrib/provider-jet-azure/apis/healthcare/v1alpha1" + v1alpha1hpc "github.com/crossplane-contrib/provider-jet-azure/apis/hpc/v1alpha1" + v1alpha1integration "github.com/crossplane-contrib/provider-jet-azure/apis/integration/v1alpha1" + v1alpha1iot "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" + v1alpha1iotcentral "github.com/crossplane-contrib/provider-jet-azure/apis/iotcentral/v1alpha1" v1alpha1iothub "github.com/crossplane-contrib/provider-jet-azure/apis/iothub/v1alpha1" + v1alpha1key "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" + v1alpha1kusto "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" + v1alpha1lb "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" + v1alpha1lighthouse "github.com/crossplane-contrib/provider-jet-azure/apis/lighthouse/v1alpha1" + v1alpha1linux "github.com/crossplane-contrib/provider-jet-azure/apis/linux/v1alpha1" + v1alpha1local "github.com/crossplane-contrib/provider-jet-azure/apis/local/v1alpha1" + v1alpha1log "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" v1alpha1loganalytics "github.com/crossplane-contrib/provider-jet-azure/apis/loganalytics/v1alpha1" + v1alpha1logic "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" + v1alpha1machine "github.com/crossplane-contrib/provider-jet-azure/apis/machine/v1alpha1" + v1alpha1maintenance "github.com/crossplane-contrib/provider-jet-azure/apis/maintenance/v1alpha1" + v1alpha1managed "github.com/crossplane-contrib/provider-jet-azure/apis/managed/v1alpha1" + v1alpha1management "github.com/crossplane-contrib/provider-jet-azure/apis/management/v1alpha1" + v1alpha1maps "github.com/crossplane-contrib/provider-jet-azure/apis/maps/v1alpha1" + v1alpha1mariadb "github.com/crossplane-contrib/provider-jet-azure/apis/mariadb/v1alpha1" + v1alpha1marketplace "github.com/crossplane-contrib/provider-jet-azure/apis/marketplace/v1alpha1" + v1alpha1media "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" v1alpha1monitor "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" v1alpha1mssql "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" + v1alpha1mysql "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" + v1alpha1nat "github.com/crossplane-contrib/provider-jet-azure/apis/nat/v1alpha1" + v1alpha1netapp "github.com/crossplane-contrib/provider-jet-azure/apis/netapp/v1alpha1" v1alpha1network "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" + v1alpha1notification "github.com/crossplane-contrib/provider-jet-azure/apis/notification/v1alpha1" + v1alpha1orchestrated "github.com/crossplane-contrib/provider-jet-azure/apis/orchestrated/v1alpha1" + v1alpha1packet "github.com/crossplane-contrib/provider-jet-azure/apis/packet/v1alpha1" + v1alpha1point "github.com/crossplane-contrib/provider-jet-azure/apis/point/v1alpha1" + v1alpha1policy "github.com/crossplane-contrib/provider-jet-azure/apis/policy/v1alpha1" + v1alpha1portal "github.com/crossplane-contrib/provider-jet-azure/apis/portal/v1alpha1" v1alpha1postgresql "github.com/crossplane-contrib/provider-jet-azure/apis/postgresql/v1alpha1" + v1alpha1powerbi "github.com/crossplane-contrib/provider-jet-azure/apis/powerbi/v1alpha1" + v1alpha1private "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" + v1alpha1proximity "github.com/crossplane-contrib/provider-jet-azure/apis/proximity/v1alpha1" + v1alpha1public "github.com/crossplane-contrib/provider-jet-azure/apis/public/v1alpha1" + v1alpha1purview "github.com/crossplane-contrib/provider-jet-azure/apis/purview/v1alpha1" + v1alpha1recovery "github.com/crossplane-contrib/provider-jet-azure/apis/recovery/v1alpha1" + v1alpha1redis "github.com/crossplane-contrib/provider-jet-azure/apis/redis/v1alpha1" + v1alpha1relay "github.com/crossplane-contrib/provider-jet-azure/apis/relay/v1alpha1" + v1alpha1resource "github.com/crossplane-contrib/provider-jet-azure/apis/resource/v1alpha1" v1alpha1resources "github.com/crossplane-contrib/provider-jet-azure/apis/resources/v1alpha1" + v1alpha1role "github.com/crossplane-contrib/provider-jet-azure/apis/role/v1alpha1" + v1alpha1search "github.com/crossplane-contrib/provider-jet-azure/apis/search/v1alpha1" + v1alpha1security "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" + v1alpha1sentinel "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" + v1alpha1service "github.com/crossplane-contrib/provider-jet-azure/apis/service/v1alpha1" + v1alpha1servicebus "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" + v1alpha1shared "github.com/crossplane-contrib/provider-jet-azure/apis/shared/v1alpha1" + v1alpha1signalr "github.com/crossplane-contrib/provider-jet-azure/apis/signalr/v1alpha1" + v1alpha1site "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" + v1alpha1spatial "github.com/crossplane-contrib/provider-jet-azure/apis/spatial/v1alpha1" + v1alpha1spring "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" v1alpha1sql "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" + v1alpha1ssh "github.com/crossplane-contrib/provider-jet-azure/apis/ssh/v1alpha1" + v1alpha1stack "github.com/crossplane-contrib/provider-jet-azure/apis/stack/v1alpha1" + v1alpha1static "github.com/crossplane-contrib/provider-jet-azure/apis/static/v1alpha1" v1alpha1storage "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" + v1alpha1stream "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" + v1alpha1subscription "github.com/crossplane-contrib/provider-jet-azure/apis/subscription/v1alpha1" + v1alpha1synapse "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" + v1alpha1template "github.com/crossplane-contrib/provider-jet-azure/apis/template/v1alpha1" + v1alpha1tenant "github.com/crossplane-contrib/provider-jet-azure/apis/tenant/v1alpha1" + v1alpha1traffic "github.com/crossplane-contrib/provider-jet-azure/apis/traffic/v1alpha1" + v1alpha1user "github.com/crossplane-contrib/provider-jet-azure/apis/user/v1alpha1" v1alpha1apis "github.com/crossplane-contrib/provider-jet-azure/apis/v1alpha1" + v1alpha1video "github.com/crossplane-contrib/provider-jet-azure/apis/video/v1alpha1" + v1alpha1vmware "github.com/crossplane-contrib/provider-jet-azure/apis/vmware/v1alpha1" + v1alpha1vpn "github.com/crossplane-contrib/provider-jet-azure/apis/vpn/v1alpha1" + v1alpha1web "github.com/crossplane-contrib/provider-jet-azure/apis/web/v1alpha1" + v1alpha1windows "github.com/crossplane-contrib/provider-jet-azure/apis/windows/v1alpha1" ) func init() { // Register the types with the Scheme so the components can map objects to GroupVersionKinds and back AddToSchemes = append(AddToSchemes, v1alpha1.SchemeBuilder.AddToScheme, + v1alpha1advanced.SchemeBuilder.AddToScheme, + v1alpha1analysis.SchemeBuilder.AddToScheme, + v1alpha1api.SchemeBuilder.AddToScheme, + v1alpha1app.SchemeBuilder.AddToScheme, + v1alpha1application.SchemeBuilder.AddToScheme, + v1alpha1attestation.SchemeBuilder.AddToScheme, + v1alpha1authorization.SchemeBuilder.AddToScheme, + v1alpha1automation.SchemeBuilder.AddToScheme, + v1alpha1availability.SchemeBuilder.AddToScheme, v1alpha1azure.SchemeBuilder.AddToScheme, + v1alpha1azurerm.SchemeBuilder.AddToScheme, + v1alpha1backup.SchemeBuilder.AddToScheme, + v1alpha1bastion.SchemeBuilder.AddToScheme, + v1alpha1batch.SchemeBuilder.AddToScheme, + v1alpha1blueprint.SchemeBuilder.AddToScheme, + v1alpha1bot.SchemeBuilder.AddToScheme, + v1alpha1cdn.SchemeBuilder.AddToScheme, + v1alpha1cognitive.SchemeBuilder.AddToScheme, + v1alpha1communication.SchemeBuilder.AddToScheme, + v1alpha1consumption.SchemeBuilder.AddToScheme, + v1alpha1container.SchemeBuilder.AddToScheme, v1alpha1containerservice.SchemeBuilder.AddToScheme, v1alpha1cosmosdb.SchemeBuilder.AddToScheme, + v1alpha1cost.SchemeBuilder.AddToScheme, + v1alpha1custom.SchemeBuilder.AddToScheme, + v1alpha1data.SchemeBuilder.AddToScheme, + v1alpha1database.SchemeBuilder.AddToScheme, + v1alpha1databox.SchemeBuilder.AddToScheme, + v1alpha1databricks.SchemeBuilder.AddToScheme, + v1alpha1dedicated.SchemeBuilder.AddToScheme, + v1alpha1dev.SchemeBuilder.AddToScheme, + v1alpha1devspace.SchemeBuilder.AddToScheme, + v1alpha1digital.SchemeBuilder.AddToScheme, + v1alpha1disk.SchemeBuilder.AddToScheme, + v1alpha1dns.SchemeBuilder.AddToScheme, + v1alpha1eventgrid.SchemeBuilder.AddToScheme, + v1alpha1eventhub.SchemeBuilder.AddToScheme, + v1alpha1express.SchemeBuilder.AddToScheme, + v1alpha1firewall.SchemeBuilder.AddToScheme, + v1alpha1frontdoor.SchemeBuilder.AddToScheme, + v1alpha1function.SchemeBuilder.AddToScheme, + v1alpha1hdinsight.SchemeBuilder.AddToScheme, + v1alpha1healthcare.SchemeBuilder.AddToScheme, + v1alpha1hpc.SchemeBuilder.AddToScheme, + v1alpha1integration.SchemeBuilder.AddToScheme, + v1alpha1iot.SchemeBuilder.AddToScheme, + v1alpha1iotcentral.SchemeBuilder.AddToScheme, v1alpha1iothub.SchemeBuilder.AddToScheme, + v1alpha1key.SchemeBuilder.AddToScheme, + v1alpha1kusto.SchemeBuilder.AddToScheme, + v1alpha1lb.SchemeBuilder.AddToScheme, + v1alpha1lighthouse.SchemeBuilder.AddToScheme, + v1alpha1linux.SchemeBuilder.AddToScheme, + v1alpha1local.SchemeBuilder.AddToScheme, + v1alpha1log.SchemeBuilder.AddToScheme, v1alpha1loganalytics.SchemeBuilder.AddToScheme, + v1alpha1logic.SchemeBuilder.AddToScheme, + v1alpha1machine.SchemeBuilder.AddToScheme, + v1alpha1maintenance.SchemeBuilder.AddToScheme, + v1alpha1managed.SchemeBuilder.AddToScheme, + v1alpha1management.SchemeBuilder.AddToScheme, + v1alpha1maps.SchemeBuilder.AddToScheme, + v1alpha1mariadb.SchemeBuilder.AddToScheme, + v1alpha1marketplace.SchemeBuilder.AddToScheme, + v1alpha1media.SchemeBuilder.AddToScheme, v1alpha1monitor.SchemeBuilder.AddToScheme, v1alpha1mssql.SchemeBuilder.AddToScheme, + v1alpha1mysql.SchemeBuilder.AddToScheme, + v1alpha1nat.SchemeBuilder.AddToScheme, + v1alpha1netapp.SchemeBuilder.AddToScheme, v1alpha1network.SchemeBuilder.AddToScheme, + v1alpha1notification.SchemeBuilder.AddToScheme, + v1alpha1orchestrated.SchemeBuilder.AddToScheme, + v1alpha1packet.SchemeBuilder.AddToScheme, + v1alpha1point.SchemeBuilder.AddToScheme, + v1alpha1policy.SchemeBuilder.AddToScheme, + v1alpha1portal.SchemeBuilder.AddToScheme, v1alpha1postgresql.SchemeBuilder.AddToScheme, + v1alpha1powerbi.SchemeBuilder.AddToScheme, + v1alpha1private.SchemeBuilder.AddToScheme, + v1alpha1proximity.SchemeBuilder.AddToScheme, + v1alpha1public.SchemeBuilder.AddToScheme, + v1alpha1purview.SchemeBuilder.AddToScheme, + v1alpha1recovery.SchemeBuilder.AddToScheme, + v1alpha1redis.SchemeBuilder.AddToScheme, + v1alpha1relay.SchemeBuilder.AddToScheme, + v1alpha1resource.SchemeBuilder.AddToScheme, v1alpha1resources.SchemeBuilder.AddToScheme, + v1alpha1role.SchemeBuilder.AddToScheme, + v1alpha1search.SchemeBuilder.AddToScheme, + v1alpha1security.SchemeBuilder.AddToScheme, + v1alpha1sentinel.SchemeBuilder.AddToScheme, + v1alpha1service.SchemeBuilder.AddToScheme, + v1alpha1servicebus.SchemeBuilder.AddToScheme, + v1alpha1shared.SchemeBuilder.AddToScheme, + v1alpha1signalr.SchemeBuilder.AddToScheme, + v1alpha1site.SchemeBuilder.AddToScheme, + v1alpha1spatial.SchemeBuilder.AddToScheme, + v1alpha1spring.SchemeBuilder.AddToScheme, v1alpha1sql.SchemeBuilder.AddToScheme, + v1alpha1ssh.SchemeBuilder.AddToScheme, + v1alpha1stack.SchemeBuilder.AddToScheme, + v1alpha1static.SchemeBuilder.AddToScheme, v1alpha1storage.SchemeBuilder.AddToScheme, + v1alpha1stream.SchemeBuilder.AddToScheme, + v1alpha1subscription.SchemeBuilder.AddToScheme, + v1alpha1synapse.SchemeBuilder.AddToScheme, + v1alpha1template.SchemeBuilder.AddToScheme, + v1alpha1tenant.SchemeBuilder.AddToScheme, + v1alpha1traffic.SchemeBuilder.AddToScheme, + v1alpha1user.SchemeBuilder.AddToScheme, v1alpha1apis.SchemeBuilder.AddToScheme, + v1alpha1video.SchemeBuilder.AddToScheme, + v1alpha1vmware.SchemeBuilder.AddToScheme, + v1alpha1vpn.SchemeBuilder.AddToScheme, + v1alpha1web.SchemeBuilder.AddToScheme, + v1alpha1windows.SchemeBuilder.AddToScheme, ) } diff --git a/config/provider.go b/config/provider.go index 5a3b6657a..6fbd0191a 100644 --- a/config/provider.go +++ b/config/provider.go @@ -44,22 +44,7 @@ const ( ) var includedResources = []string{ - // "azurerm_.+", - "azurerm_virtual_.+", - "azurerm_kubernetes_.+", - "azurerm_postgresql_.+", - "azurerm_cosmosdb_.+", - "azurerm_resource_group", - "azurerm_subnet", - "azurerm_storage_account$", - "azurerm_storage_container$", - "azurerm_storage_blob$", - "azurerm_sql_server", - "azurerm_mssql_server$", - "azurerm_lb$", - "azurerm_log_analytics_workspace", - "azurerm_iothub.*", - "azurerm_monitor_metric_alert", + "azurerm_.+", } // These resources cannot be generated because of their suffixes colliding with diff --git a/internal/controller/active/directorydomainservice/zz_controller.go b/internal/controller/active/directorydomainservice/zz_controller.go new file mode 100755 index 000000000..b2f892f3d --- /dev/null +++ b/internal/controller/active/directorydomainservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package directorydomainservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/active/v1alpha1" +) + +// Setup adds a controller that reconciles DirectoryDomainService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DirectoryDomainService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DirectoryDomainService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_active_directory_domain_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DirectoryDomainService{}). + Complete(r) +} diff --git a/internal/controller/active/directorydomainservicereplicaset/zz_controller.go b/internal/controller/active/directorydomainservicereplicaset/zz_controller.go new file mode 100755 index 000000000..32fcb5549 --- /dev/null +++ b/internal/controller/active/directorydomainservicereplicaset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package directorydomainservicereplicaset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/active/v1alpha1" +) + +// Setup adds a controller that reconciles DirectoryDomainServiceReplicaSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DirectoryDomainServiceReplicaSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DirectoryDomainServiceReplicaSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_active_directory_domain_service_replica_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DirectoryDomainServiceReplicaSet{}). + Complete(r) +} diff --git a/internal/controller/advanced/threatprotection/zz_controller.go b/internal/controller/advanced/threatprotection/zz_controller.go new file mode 100755 index 000000000..cf7d3d1c8 --- /dev/null +++ b/internal/controller/advanced/threatprotection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package threatprotection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/advanced/v1alpha1" +) + +// Setup adds a controller that reconciles ThreatProtection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ThreatProtection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ThreatProtection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_advanced_threat_protection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ThreatProtection{}). + Complete(r) +} diff --git a/internal/controller/analysis/servicesserver/zz_controller.go b/internal/controller/analysis/servicesserver/zz_controller.go new file mode 100755 index 000000000..02e65741d --- /dev/null +++ b/internal/controller/analysis/servicesserver/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicesserver + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/analysis/v1alpha1" +) + +// Setup adds a controller that reconciles ServicesServer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServicesServer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServicesServer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_analysis_services_server"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServicesServer{}). + Complete(r) +} diff --git a/internal/controller/api/management/zz_controller.go b/internal/controller/api/management/zz_controller.go new file mode 100755 index 000000000..0ffb1cfea --- /dev/null +++ b/internal/controller/api/management/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package management + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles Management managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Management_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Management_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Management{}). + Complete(r) +} diff --git a/internal/controller/api/managementapi/zz_controller.go b/internal/controller/api/managementapi/zz_controller.go new file mode 100755 index 000000000..2706d3aa5 --- /dev/null +++ b/internal/controller/api/managementapi/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapi + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApi managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApi_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApi_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApi{}). + Complete(r) +} diff --git a/internal/controller/api/managementapidiagnostic/zz_controller.go b/internal/controller/api/managementapidiagnostic/zz_controller.go new file mode 100755 index 000000000..969cbfdec --- /dev/null +++ b/internal/controller/api/managementapidiagnostic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapidiagnostic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiDiagnostic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiDiagnostic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiDiagnostic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_diagnostic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiDiagnostic{}). + Complete(r) +} diff --git a/internal/controller/api/managementapioperation/zz_controller.go b/internal/controller/api/managementapioperation/zz_controller.go new file mode 100755 index 000000000..c253a15b6 --- /dev/null +++ b/internal/controller/api/managementapioperation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapioperation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiOperation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiOperation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiOperation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_operation"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiOperation{}). + Complete(r) +} diff --git a/internal/controller/api/managementapioperationpolicy/zz_controller.go b/internal/controller/api/managementapioperationpolicy/zz_controller.go new file mode 100755 index 000000000..a7a736d44 --- /dev/null +++ b/internal/controller/api/managementapioperationpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapioperationpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiOperationPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiOperationPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiOperationPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_operation_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiOperationPolicy{}). + Complete(r) +} diff --git a/internal/controller/api/managementapioperationtag/zz_controller.go b/internal/controller/api/managementapioperationtag/zz_controller.go new file mode 100755 index 000000000..85e5efd0d --- /dev/null +++ b/internal/controller/api/managementapioperationtag/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapioperationtag + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiOperationTag managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiOperationTag_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiOperationTag_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_operation_tag"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiOperationTag{}). + Complete(r) +} diff --git a/internal/controller/api/managementapipolicy/zz_controller.go b/internal/controller/api/managementapipolicy/zz_controller.go new file mode 100755 index 000000000..2acc436cb --- /dev/null +++ b/internal/controller/api/managementapipolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapipolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiPolicy{}). + Complete(r) +} diff --git a/internal/controller/api/managementapirelease/zz_controller.go b/internal/controller/api/managementapirelease/zz_controller.go new file mode 100755 index 000000000..6bb838935 --- /dev/null +++ b/internal/controller/api/managementapirelease/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapirelease + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiRelease managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiRelease_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiRelease_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_release"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiRelease{}). + Complete(r) +} diff --git a/internal/controller/api/managementapischema/zz_controller.go b/internal/controller/api/managementapischema/zz_controller.go new file mode 100755 index 000000000..363409492 --- /dev/null +++ b/internal/controller/api/managementapischema/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapischema + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiSchema managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiSchema_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiSchema_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_schema"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiSchema{}). + Complete(r) +} diff --git a/internal/controller/api/managementapiversionset/zz_controller.go b/internal/controller/api/managementapiversionset/zz_controller.go new file mode 100755 index 000000000..20f695204 --- /dev/null +++ b/internal/controller/api/managementapiversionset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementapiversionset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementApiVersionSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementApiVersionSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementApiVersionSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_api_version_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementApiVersionSet{}). + Complete(r) +} diff --git a/internal/controller/api/managementauthorizationserver/zz_controller.go b/internal/controller/api/managementauthorizationserver/zz_controller.go new file mode 100755 index 000000000..447838858 --- /dev/null +++ b/internal/controller/api/managementauthorizationserver/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementauthorizationserver + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementAuthorizationServer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementAuthorizationServer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementAuthorizationServer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_authorization_server"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementAuthorizationServer{}). + Complete(r) +} diff --git a/internal/controller/api/managementbackend/zz_controller.go b/internal/controller/api/managementbackend/zz_controller.go new file mode 100755 index 000000000..6449e10ef --- /dev/null +++ b/internal/controller/api/managementbackend/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementbackend + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementBackend managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementBackend_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementBackend_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_backend"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementBackend{}). + Complete(r) +} diff --git a/internal/controller/api/managementcertificate/zz_controller.go b/internal/controller/api/managementcertificate/zz_controller.go new file mode 100755 index 000000000..e8fc8f7b8 --- /dev/null +++ b/internal/controller/api/managementcertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementcertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementCertificate{}). + Complete(r) +} diff --git a/internal/controller/api/managementcustomdomain/zz_controller.go b/internal/controller/api/managementcustomdomain/zz_controller.go new file mode 100755 index 000000000..c2fb29ea1 --- /dev/null +++ b/internal/controller/api/managementcustomdomain/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementcustomdomain + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementCustomDomain managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementCustomDomain_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementCustomDomain_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_custom_domain"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementCustomDomain{}). + Complete(r) +} diff --git a/internal/controller/api/managementdiagnostic/zz_controller.go b/internal/controller/api/managementdiagnostic/zz_controller.go new file mode 100755 index 000000000..d729d6856 --- /dev/null +++ b/internal/controller/api/managementdiagnostic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementdiagnostic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementDiagnostic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementDiagnostic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementDiagnostic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_diagnostic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementDiagnostic{}). + Complete(r) +} diff --git a/internal/controller/api/managementemailtemplate/zz_controller.go b/internal/controller/api/managementemailtemplate/zz_controller.go new file mode 100755 index 000000000..0fede047f --- /dev/null +++ b/internal/controller/api/managementemailtemplate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementemailtemplate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementEmailTemplate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementEmailTemplate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementEmailTemplate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_email_template"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementEmailTemplate{}). + Complete(r) +} diff --git a/internal/controller/api/managementgateway/zz_controller.go b/internal/controller/api/managementgateway/zz_controller.go new file mode 100755 index 000000000..ad530f38d --- /dev/null +++ b/internal/controller/api/managementgateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementgateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementGateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementGateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementGateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementGateway{}). + Complete(r) +} diff --git a/internal/controller/api/managementgatewayapi/zz_controller.go b/internal/controller/api/managementgatewayapi/zz_controller.go new file mode 100755 index 000000000..f9ac884d5 --- /dev/null +++ b/internal/controller/api/managementgatewayapi/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementgatewayapi + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementGatewayApi managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementGatewayApi_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementGatewayApi_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_gateway_api"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementGatewayApi{}). + Complete(r) +} diff --git a/internal/controller/api/managementidentityprovideraad/zz_controller.go b/internal/controller/api/managementidentityprovideraad/zz_controller.go new file mode 100755 index 000000000..f6591279c --- /dev/null +++ b/internal/controller/api/managementidentityprovideraad/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementidentityprovideraad + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementIdentityProviderAad managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementIdentityProviderAad_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementIdentityProviderAad_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_identity_provider_aad"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementIdentityProviderAad{}). + Complete(r) +} diff --git a/internal/controller/api/managementidentityprovideraadb2c/zz_controller.go b/internal/controller/api/managementidentityprovideraadb2c/zz_controller.go new file mode 100755 index 000000000..1ffad698d --- /dev/null +++ b/internal/controller/api/managementidentityprovideraadb2c/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementidentityprovideraadb2c + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementIdentityProviderAadb2C managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementIdentityProviderAadb2C_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementIdentityProviderAadb2C_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_identity_provider_aadb2c"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementIdentityProviderAadb2C{}). + Complete(r) +} diff --git a/internal/controller/api/managementidentityproviderfacebook/zz_controller.go b/internal/controller/api/managementidentityproviderfacebook/zz_controller.go new file mode 100755 index 000000000..27dc286b9 --- /dev/null +++ b/internal/controller/api/managementidentityproviderfacebook/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementidentityproviderfacebook + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementIdentityProviderFacebook managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementIdentityProviderFacebook_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementIdentityProviderFacebook_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_identity_provider_facebook"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementIdentityProviderFacebook{}). + Complete(r) +} diff --git a/internal/controller/api/managementidentityprovidergoogle/zz_controller.go b/internal/controller/api/managementidentityprovidergoogle/zz_controller.go new file mode 100755 index 000000000..d35cf7f9c --- /dev/null +++ b/internal/controller/api/managementidentityprovidergoogle/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementidentityprovidergoogle + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementIdentityProviderGoogle managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementIdentityProviderGoogle_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementIdentityProviderGoogle_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_identity_provider_google"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementIdentityProviderGoogle{}). + Complete(r) +} diff --git a/internal/controller/api/managementidentityprovidermicrosoft/zz_controller.go b/internal/controller/api/managementidentityprovidermicrosoft/zz_controller.go new file mode 100755 index 000000000..967ee6466 --- /dev/null +++ b/internal/controller/api/managementidentityprovidermicrosoft/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementidentityprovidermicrosoft + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementIdentityProviderMicrosoft managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementIdentityProviderMicrosoft_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementIdentityProviderMicrosoft_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_identity_provider_microsoft"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementIdentityProviderMicrosoft{}). + Complete(r) +} diff --git a/internal/controller/api/managementidentityprovidertwitter/zz_controller.go b/internal/controller/api/managementidentityprovidertwitter/zz_controller.go new file mode 100755 index 000000000..8e723344e --- /dev/null +++ b/internal/controller/api/managementidentityprovidertwitter/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementidentityprovidertwitter + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementIdentityProviderTwitter managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementIdentityProviderTwitter_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementIdentityProviderTwitter_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_identity_provider_twitter"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementIdentityProviderTwitter{}). + Complete(r) +} diff --git a/internal/controller/api/managementlogger/zz_controller.go b/internal/controller/api/managementlogger/zz_controller.go new file mode 100755 index 000000000..c50c3ffa9 --- /dev/null +++ b/internal/controller/api/managementlogger/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementlogger + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementLogger managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementLogger_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementLogger_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_logger"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementLogger{}). + Complete(r) +} diff --git a/internal/controller/api/managementnamedvalue/zz_controller.go b/internal/controller/api/managementnamedvalue/zz_controller.go new file mode 100755 index 000000000..d2ab75184 --- /dev/null +++ b/internal/controller/api/managementnamedvalue/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementnamedvalue + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementNamedValue managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementNamedValue_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementNamedValue_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_named_value"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementNamedValue{}). + Complete(r) +} diff --git a/internal/controller/api/managementnotificationrecipientemail/zz_controller.go b/internal/controller/api/managementnotificationrecipientemail/zz_controller.go new file mode 100755 index 000000000..0f8daf812 --- /dev/null +++ b/internal/controller/api/managementnotificationrecipientemail/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementnotificationrecipientemail + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementNotificationRecipientEmail managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementNotificationRecipientEmail_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementNotificationRecipientEmail_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_notification_recipient_email"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementNotificationRecipientEmail{}). + Complete(r) +} diff --git a/internal/controller/api/managementopenidconnectprovider/zz_controller.go b/internal/controller/api/managementopenidconnectprovider/zz_controller.go new file mode 100755 index 000000000..5a3c27f28 --- /dev/null +++ b/internal/controller/api/managementopenidconnectprovider/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementopenidconnectprovider + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementOpenidConnectProvider managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementOpenidConnectProvider_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementOpenidConnectProvider_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_openid_connect_provider"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementOpenidConnectProvider{}). + Complete(r) +} diff --git a/internal/controller/api/managementpolicy/zz_controller.go b/internal/controller/api/managementpolicy/zz_controller.go new file mode 100755 index 000000000..ae901c6ca --- /dev/null +++ b/internal/controller/api/managementpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementPolicy{}). + Complete(r) +} diff --git a/internal/controller/api/managementproduct/zz_controller.go b/internal/controller/api/managementproduct/zz_controller.go new file mode 100755 index 000000000..99401d34e --- /dev/null +++ b/internal/controller/api/managementproduct/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementproduct + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementProduct managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementProduct_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementProduct_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_product"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementProduct{}). + Complete(r) +} diff --git a/internal/controller/api/managementproductapi/zz_controller.go b/internal/controller/api/managementproductapi/zz_controller.go new file mode 100755 index 000000000..45a110619 --- /dev/null +++ b/internal/controller/api/managementproductapi/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementproductapi + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementProductApi managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementProductApi_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementProductApi_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_product_api"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementProductApi{}). + Complete(r) +} diff --git a/internal/controller/api/managementproductpolicy/zz_controller.go b/internal/controller/api/managementproductpolicy/zz_controller.go new file mode 100755 index 000000000..833a23af1 --- /dev/null +++ b/internal/controller/api/managementproductpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementproductpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementProductPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementProductPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementProductPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_product_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementProductPolicy{}). + Complete(r) +} diff --git a/internal/controller/api/managementproperty/zz_controller.go b/internal/controller/api/managementproperty/zz_controller.go new file mode 100755 index 000000000..432234659 --- /dev/null +++ b/internal/controller/api/managementproperty/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementproperty + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementProperty managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementProperty_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementProperty_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_property"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementProperty{}). + Complete(r) +} diff --git a/internal/controller/api/managementrediscache/zz_controller.go b/internal/controller/api/managementrediscache/zz_controller.go new file mode 100755 index 000000000..4974815b5 --- /dev/null +++ b/internal/controller/api/managementrediscache/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementrediscache + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementRedisCache managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementRedisCache_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementRedisCache_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_redis_cache"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementRedisCache{}). + Complete(r) +} diff --git a/internal/controller/api/managementsubscription/zz_controller.go b/internal/controller/api/managementsubscription/zz_controller.go new file mode 100755 index 000000000..640cf3268 --- /dev/null +++ b/internal/controller/api/managementsubscription/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementsubscription + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementSubscription managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementSubscription_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementSubscription_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_subscription"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementSubscription{}). + Complete(r) +} diff --git a/internal/controller/api/managementtag/zz_controller.go b/internal/controller/api/managementtag/zz_controller.go new file mode 100755 index 000000000..979d624f9 --- /dev/null +++ b/internal/controller/api/managementtag/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementtag + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementTag managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementTag_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementTag_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_tag"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementTag{}). + Complete(r) +} diff --git a/internal/controller/api/managementuser/zz_controller.go b/internal/controller/api/managementuser/zz_controller.go new file mode 100755 index 000000000..928234d40 --- /dev/null +++ b/internal/controller/api/managementuser/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementuser + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/api/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementUser managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementUser_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementUser_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_api_management_user"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementUser{}). + Complete(r) +} diff --git a/internal/controller/app/configuration/zz_controller.go b/internal/controller/app/configuration/zz_controller.go new file mode 100755 index 000000000..ac8897a63 --- /dev/null +++ b/internal/controller/app/configuration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package configuration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles Configuration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Configuration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Configuration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Configuration{}). + Complete(r) +} diff --git a/internal/controller/app/configurationkey/zz_controller.go b/internal/controller/app/configurationkey/zz_controller.go new file mode 100755 index 000000000..42c55e079 --- /dev/null +++ b/internal/controller/app/configurationkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package configurationkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ConfigurationKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ConfigurationKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ConfigurationKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_configuration_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ConfigurationKey{}). + Complete(r) +} diff --git a/internal/controller/app/service/zz_controller.go b/internal/controller/app/service/zz_controller.go new file mode 100755 index 000000000..f5fabba58 --- /dev/null +++ b/internal/controller/app/service/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package service + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles Service managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Service_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Service_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Service{}). + Complete(r) +} diff --git a/internal/controller/app/serviceactiveslot/zz_controller.go b/internal/controller/app/serviceactiveslot/zz_controller.go new file mode 100755 index 000000000..12e797826 --- /dev/null +++ b/internal/controller/app/serviceactiveslot/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceactiveslot + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceActiveSlot managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceActiveSlot_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceActiveSlot_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_active_slot"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceActiveSlot{}). + Complete(r) +} diff --git a/internal/controller/app/servicecertificate/zz_controller.go b/internal/controller/app/servicecertificate/zz_controller.go new file mode 100755 index 000000000..3419158c5 --- /dev/null +++ b/internal/controller/app/servicecertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicecertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceCertificate{}). + Complete(r) +} diff --git a/internal/controller/app/servicecertificatebinding/zz_controller.go b/internal/controller/app/servicecertificatebinding/zz_controller.go new file mode 100755 index 000000000..c56586f2a --- /dev/null +++ b/internal/controller/app/servicecertificatebinding/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicecertificatebinding + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceCertificateBinding managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceCertificateBinding_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceCertificateBinding_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_certificate_binding"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceCertificateBinding{}). + Complete(r) +} diff --git a/internal/controller/app/servicecertificateorder/zz_controller.go b/internal/controller/app/servicecertificateorder/zz_controller.go new file mode 100755 index 000000000..79d4728fb --- /dev/null +++ b/internal/controller/app/servicecertificateorder/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicecertificateorder + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceCertificateOrder managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceCertificateOrder_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceCertificateOrder_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_certificate_order"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceCertificateOrder{}). + Complete(r) +} diff --git a/internal/controller/app/servicecustomhostnamebinding/zz_controller.go b/internal/controller/app/servicecustomhostnamebinding/zz_controller.go new file mode 100755 index 000000000..b2bef0355 --- /dev/null +++ b/internal/controller/app/servicecustomhostnamebinding/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicecustomhostnamebinding + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceCustomHostnameBinding managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceCustomHostnameBinding_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceCustomHostnameBinding_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_custom_hostname_binding"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceCustomHostnameBinding{}). + Complete(r) +} diff --git a/internal/controller/app/serviceenvironment/zz_controller.go b/internal/controller/app/serviceenvironment/zz_controller.go new file mode 100755 index 000000000..6338a7c16 --- /dev/null +++ b/internal/controller/app/serviceenvironment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceenvironment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceEnvironment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceEnvironment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceEnvironment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_environment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceEnvironment{}). + Complete(r) +} diff --git a/internal/controller/app/serviceenvironmentv3/zz_controller.go b/internal/controller/app/serviceenvironmentv3/zz_controller.go new file mode 100755 index 000000000..89700f54b --- /dev/null +++ b/internal/controller/app/serviceenvironmentv3/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceenvironmentv3 + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceEnvironmentV3 managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceEnvironmentV3_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceEnvironmentV3_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_environment_v3"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceEnvironmentV3{}). + Complete(r) +} diff --git a/internal/controller/app/servicehybridconnection/zz_controller.go b/internal/controller/app/servicehybridconnection/zz_controller.go new file mode 100755 index 000000000..179b162d9 --- /dev/null +++ b/internal/controller/app/servicehybridconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicehybridconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceHybridConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceHybridConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceHybridConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_hybrid_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceHybridConnection{}). + Complete(r) +} diff --git a/internal/controller/app/servicemanagedcertificate/zz_controller.go b/internal/controller/app/servicemanagedcertificate/zz_controller.go new file mode 100755 index 000000000..f7b04f58e --- /dev/null +++ b/internal/controller/app/servicemanagedcertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicemanagedcertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceManagedCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceManagedCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceManagedCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_managed_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceManagedCertificate{}). + Complete(r) +} diff --git a/internal/controller/app/serviceplan/zz_controller.go b/internal/controller/app/serviceplan/zz_controller.go new file mode 100755 index 000000000..a4f2ac184 --- /dev/null +++ b/internal/controller/app/serviceplan/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceplan + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServicePlan managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServicePlan_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServicePlan_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_plan"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServicePlan{}). + Complete(r) +} diff --git a/internal/controller/app/serviceslot/zz_controller.go b/internal/controller/app/serviceslot/zz_controller.go new file mode 100755 index 000000000..8e8bd9148 --- /dev/null +++ b/internal/controller/app/serviceslot/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceslot + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceSlot managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceSlot_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceSlot_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_slot"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceSlot{}). + Complete(r) +} diff --git a/internal/controller/app/serviceslotvirtualnetworkswiftconnection/zz_controller.go b/internal/controller/app/serviceslotvirtualnetworkswiftconnection/zz_controller.go new file mode 100755 index 000000000..9f11ad9ec --- /dev/null +++ b/internal/controller/app/serviceslotvirtualnetworkswiftconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceslotvirtualnetworkswiftconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceSlotVirtualNetworkSwiftConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceSlotVirtualNetworkSwiftConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceSlotVirtualNetworkSwiftConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_slot_virtual_network_swift_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceSlotVirtualNetworkSwiftConnection{}). + Complete(r) +} diff --git a/internal/controller/app/servicesourcecontroltoken/zz_controller.go b/internal/controller/app/servicesourcecontroltoken/zz_controller.go new file mode 100755 index 000000000..8539ae277 --- /dev/null +++ b/internal/controller/app/servicesourcecontroltoken/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicesourcecontroltoken + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceSourceControlToken managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceSourceControlToken_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceSourceControlToken_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_source_control_token"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceSourceControlToken{}). + Complete(r) +} diff --git a/internal/controller/app/servicevirtualnetworkswiftconnection/zz_controller.go b/internal/controller/app/servicevirtualnetworkswiftconnection/zz_controller.go new file mode 100755 index 000000000..90fee913d --- /dev/null +++ b/internal/controller/app/servicevirtualnetworkswiftconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicevirtualnetworkswiftconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/app/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceVirtualNetworkSwiftConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceVirtualNetworkSwiftConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceVirtualNetworkSwiftConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_app_service_virtual_network_swift_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceVirtualNetworkSwiftConnection{}). + Complete(r) +} diff --git a/internal/controller/application/gateway/zz_controller.go b/internal/controller/application/gateway/zz_controller.go new file mode 100755 index 000000000..644975a45 --- /dev/null +++ b/internal/controller/application/gateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package gateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles Gateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Gateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Gateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Gateway{}). + Complete(r) +} diff --git a/internal/controller/application/insights/zz_controller.go b/internal/controller/application/insights/zz_controller.go new file mode 100755 index 000000000..02505480d --- /dev/null +++ b/internal/controller/application/insights/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package insights + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles Insights managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Insights_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Insights_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_insights"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Insights{}). + Complete(r) +} diff --git a/internal/controller/application/insightsanalyticsitem/zz_controller.go b/internal/controller/application/insightsanalyticsitem/zz_controller.go new file mode 100755 index 000000000..c57b6f583 --- /dev/null +++ b/internal/controller/application/insightsanalyticsitem/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package insightsanalyticsitem + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles InsightsAnalyticsItem managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InsightsAnalyticsItem_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InsightsAnalyticsItem_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_insights_analytics_item"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InsightsAnalyticsItem{}). + Complete(r) +} diff --git a/internal/controller/application/insightsapikey/zz_controller.go b/internal/controller/application/insightsapikey/zz_controller.go new file mode 100755 index 000000000..f21840d52 --- /dev/null +++ b/internal/controller/application/insightsapikey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package insightsapikey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles InsightsApiKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InsightsApiKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InsightsApiKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_insights_api_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InsightsApiKey{}). + Complete(r) +} diff --git a/internal/controller/application/insightssmartdetectionrule/zz_controller.go b/internal/controller/application/insightssmartdetectionrule/zz_controller.go new file mode 100755 index 000000000..f702173a0 --- /dev/null +++ b/internal/controller/application/insightssmartdetectionrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package insightssmartdetectionrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles InsightsSmartDetectionRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InsightsSmartDetectionRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InsightsSmartDetectionRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_insights_smart_detection_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InsightsSmartDetectionRule{}). + Complete(r) +} diff --git a/internal/controller/application/insightswebtest/zz_controller.go b/internal/controller/application/insightswebtest/zz_controller.go new file mode 100755 index 000000000..1b09b0114 --- /dev/null +++ b/internal/controller/application/insightswebtest/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package insightswebtest + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles InsightsWebTest managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InsightsWebTest_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InsightsWebTest_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_insights_web_test"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InsightsWebTest{}). + Complete(r) +} diff --git a/internal/controller/application/securitygroup/zz_controller.go b/internal/controller/application/securitygroup/zz_controller.go new file mode 100755 index 000000000..6c4ffe08f --- /dev/null +++ b/internal/controller/application/securitygroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package securitygroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/application/v1alpha1" +) + +// Setup adds a controller that reconciles SecurityGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SecurityGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SecurityGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_application_security_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SecurityGroup{}). + Complete(r) +} diff --git a/internal/controller/attestation/provider/zz_controller.go b/internal/controller/attestation/provider/zz_controller.go new file mode 100755 index 000000000..87fbba833 --- /dev/null +++ b/internal/controller/attestation/provider/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package provider + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/attestation/v1alpha1" +) + +// Setup adds a controller that reconciles Provider managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Provider_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Provider_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_attestation_provider"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Provider{}). + Complete(r) +} diff --git a/internal/controller/automation/account/zz_controller.go b/internal/controller/automation/account/zz_controller.go new file mode 100755 index 000000000..8ae581118 --- /dev/null +++ b/internal/controller/automation/account/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package account + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Account managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Account_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Account_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Account{}). + Complete(r) +} diff --git a/internal/controller/automation/certificate/zz_controller.go b/internal/controller/automation/certificate/zz_controller.go new file mode 100755 index 000000000..824a42e9d --- /dev/null +++ b/internal/controller/automation/certificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package certificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Certificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Certificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Certificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Certificate{}). + Complete(r) +} diff --git a/internal/controller/automation/connection/zz_controller.go b/internal/controller/automation/connection/zz_controller.go new file mode 100755 index 000000000..cef65ddd2 --- /dev/null +++ b/internal/controller/automation/connection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package connection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Connection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Connection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Connection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Connection{}). + Complete(r) +} diff --git a/internal/controller/automation/connectioncertificate/zz_controller.go b/internal/controller/automation/connectioncertificate/zz_controller.go new file mode 100755 index 000000000..68afa3136 --- /dev/null +++ b/internal/controller/automation/connectioncertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package connectioncertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles ConnectionCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ConnectionCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ConnectionCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_connection_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ConnectionCertificate{}). + Complete(r) +} diff --git a/internal/controller/automation/connectionclassiccertificate/zz_controller.go b/internal/controller/automation/connectionclassiccertificate/zz_controller.go new file mode 100755 index 000000000..fab2127ee --- /dev/null +++ b/internal/controller/automation/connectionclassiccertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package connectionclassiccertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles ConnectionClassicCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ConnectionClassicCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ConnectionClassicCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_connection_classic_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ConnectionClassicCertificate{}). + Complete(r) +} diff --git a/internal/controller/automation/connectionserviceprincipal/zz_controller.go b/internal/controller/automation/connectionserviceprincipal/zz_controller.go new file mode 100755 index 000000000..e000f2fa3 --- /dev/null +++ b/internal/controller/automation/connectionserviceprincipal/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package connectionserviceprincipal + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles ConnectionServicePrincipal managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ConnectionServicePrincipal_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ConnectionServicePrincipal_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_connection_service_principal"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ConnectionServicePrincipal{}). + Complete(r) +} diff --git a/internal/controller/automation/credential/zz_controller.go b/internal/controller/automation/credential/zz_controller.go new file mode 100755 index 000000000..c2b29bc42 --- /dev/null +++ b/internal/controller/automation/credential/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package credential + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Credential managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Credential_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Credential_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_credential"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Credential{}). + Complete(r) +} diff --git a/internal/controller/automation/dscnodeconfiguration/zz_controller.go b/internal/controller/automation/dscnodeconfiguration/zz_controller.go new file mode 100755 index 000000000..ed3edcddb --- /dev/null +++ b/internal/controller/automation/dscnodeconfiguration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dscnodeconfiguration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles DscNodeconfiguration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DscNodeconfiguration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DscNodeconfiguration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_dsc_nodeconfiguration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DscNodeconfiguration{}). + Complete(r) +} diff --git a/internal/controller/automation/jobschedule/zz_controller.go b/internal/controller/automation/jobschedule/zz_controller.go new file mode 100755 index 000000000..69f3e4f9d --- /dev/null +++ b/internal/controller/automation/jobschedule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package jobschedule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles JobSchedule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.JobSchedule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.JobSchedule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_job_schedule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.JobSchedule{}). + Complete(r) +} diff --git a/internal/controller/automation/module/zz_controller.go b/internal/controller/automation/module/zz_controller.go new file mode 100755 index 000000000..02901836c --- /dev/null +++ b/internal/controller/automation/module/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package module + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Module managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Module_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Module_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_module"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Module{}). + Complete(r) +} diff --git a/internal/controller/automation/runbook/zz_controller.go b/internal/controller/automation/runbook/zz_controller.go new file mode 100755 index 000000000..41aea25b4 --- /dev/null +++ b/internal/controller/automation/runbook/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package runbook + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Runbook managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Runbook_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Runbook_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_runbook"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Runbook{}). + Complete(r) +} diff --git a/internal/controller/automation/schedule/zz_controller.go b/internal/controller/automation/schedule/zz_controller.go new file mode 100755 index 000000000..4902a1fff --- /dev/null +++ b/internal/controller/automation/schedule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package schedule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles Schedule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Schedule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Schedule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_schedule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Schedule{}). + Complete(r) +} diff --git a/internal/controller/automation/variablebool/zz_controller.go b/internal/controller/automation/variablebool/zz_controller.go new file mode 100755 index 000000000..b54f4be46 --- /dev/null +++ b/internal/controller/automation/variablebool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package variablebool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles VariableBool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VariableBool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VariableBool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_variable_bool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VariableBool{}). + Complete(r) +} diff --git a/internal/controller/automation/variabledatetime/zz_controller.go b/internal/controller/automation/variabledatetime/zz_controller.go new file mode 100755 index 000000000..de9f2d870 --- /dev/null +++ b/internal/controller/automation/variabledatetime/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package variabledatetime + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles VariableDatetime managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VariableDatetime_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VariableDatetime_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_variable_datetime"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VariableDatetime{}). + Complete(r) +} diff --git a/internal/controller/automation/variableint/zz_controller.go b/internal/controller/automation/variableint/zz_controller.go new file mode 100755 index 000000000..997e4b1bf --- /dev/null +++ b/internal/controller/automation/variableint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package variableint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles VariableInt managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VariableInt_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VariableInt_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_variable_int"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VariableInt{}). + Complete(r) +} diff --git a/internal/controller/automation/variablestring/zz_controller.go b/internal/controller/automation/variablestring/zz_controller.go new file mode 100755 index 000000000..e2a460b0c --- /dev/null +++ b/internal/controller/automation/variablestring/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package variablestring + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/automation/v1alpha1" +) + +// Setup adds a controller that reconciles VariableString managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VariableString_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VariableString_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_automation_variable_string"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VariableString{}). + Complete(r) +} diff --git a/internal/controller/availability/set/zz_controller.go b/internal/controller/availability/set/zz_controller.go new file mode 100755 index 000000000..5b373d444 --- /dev/null +++ b/internal/controller/availability/set/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package set + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/availability/v1alpha1" +) + +// Setup adds a controller that reconciles Set managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Set_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Set_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_availability_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Set{}). + Complete(r) +} diff --git a/internal/controller/azurerm/dashboard/zz_controller.go b/internal/controller/azurerm/dashboard/zz_controller.go new file mode 100755 index 000000000..d5567bb7b --- /dev/null +++ b/internal/controller/azurerm/dashboard/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dashboard + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Dashboard managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Dashboard_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Dashboard_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dashboard"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Dashboard{}). + Complete(r) +} diff --git a/internal/controller/azurerm/eventhub/zz_controller.go b/internal/controller/azurerm/eventhub/zz_controller.go new file mode 100755 index 000000000..8834aa288 --- /dev/null +++ b/internal/controller/azurerm/eventhub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package eventhub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Eventhub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Eventhub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Eventhub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Eventhub{}). + Complete(r) +} diff --git a/internal/controller/azurerm/firewall/zz_controller.go b/internal/controller/azurerm/firewall/zz_controller.go new file mode 100755 index 000000000..c5ed24c4e --- /dev/null +++ b/internal/controller/azurerm/firewall/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewall + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Firewall managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Firewall_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Firewall_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_firewall"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Firewall{}). + Complete(r) +} diff --git a/internal/controller/azurerm/frontdoor/zz_controller.go b/internal/controller/azurerm/frontdoor/zz_controller.go new file mode 100755 index 000000000..28a274ae7 --- /dev/null +++ b/internal/controller/azurerm/frontdoor/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package frontdoor + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Frontdoor managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Frontdoor_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Frontdoor_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_frontdoor"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Frontdoor{}). + Complete(r) +} diff --git a/internal/controller/azurerm/healthbot/zz_controller.go b/internal/controller/azurerm/healthbot/zz_controller.go new file mode 100755 index 000000000..8486bbd46 --- /dev/null +++ b/internal/controller/azurerm/healthbot/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package healthbot + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Healthbot managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Healthbot_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Healthbot_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_healthbot"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Healthbot{}). + Complete(r) +} diff --git a/internal/controller/azurerm/image/zz_controller.go b/internal/controller/azurerm/image/zz_controller.go new file mode 100755 index 000000000..46d5cbccc --- /dev/null +++ b/internal/controller/azurerm/image/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package image + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Image managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Image_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Image_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_image"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Image{}). + Complete(r) +} diff --git a/internal/controller/azurerm/snapshot/zz_controller.go b/internal/controller/azurerm/snapshot/zz_controller.go new file mode 100755 index 000000000..e7939be58 --- /dev/null +++ b/internal/controller/azurerm/snapshot/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package snapshot + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Snapshot managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Snapshot_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Snapshot_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_snapshot"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Snapshot{}). + Complete(r) +} diff --git a/internal/controller/azurerm/subscription/zz_controller.go b/internal/controller/azurerm/subscription/zz_controller.go new file mode 100755 index 000000000..8e59974c9 --- /dev/null +++ b/internal/controller/azurerm/subscription/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package subscription + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/azurerm/v1alpha1" +) + +// Setup adds a controller that reconciles Subscription managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Subscription_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Subscription_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_subscription"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Subscription{}). + Complete(r) +} diff --git a/internal/controller/backup/containerstorageaccount/zz_controller.go b/internal/controller/backup/containerstorageaccount/zz_controller.go new file mode 100755 index 000000000..8060b91ad --- /dev/null +++ b/internal/controller/backup/containerstorageaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package containerstorageaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/backup/v1alpha1" +) + +// Setup adds a controller that reconciles ContainerStorageAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ContainerStorageAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ContainerStorageAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_backup_container_storage_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ContainerStorageAccount{}). + Complete(r) +} diff --git a/internal/controller/backup/policyfileshare/zz_controller.go b/internal/controller/backup/policyfileshare/zz_controller.go new file mode 100755 index 000000000..aae3620f9 --- /dev/null +++ b/internal/controller/backup/policyfileshare/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package policyfileshare + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/backup/v1alpha1" +) + +// Setup adds a controller that reconciles PolicyFileShare managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PolicyFileShare_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PolicyFileShare_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_backup_policy_file_share"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PolicyFileShare{}). + Complete(r) +} diff --git a/internal/controller/backup/policyvm/zz_controller.go b/internal/controller/backup/policyvm/zz_controller.go new file mode 100755 index 000000000..dcba6d6f5 --- /dev/null +++ b/internal/controller/backup/policyvm/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package policyvm + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/backup/v1alpha1" +) + +// Setup adds a controller that reconciles PolicyVm managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PolicyVm_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PolicyVm_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_backup_policy_vm"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PolicyVm{}). + Complete(r) +} diff --git a/internal/controller/backup/protectedfileshare/zz_controller.go b/internal/controller/backup/protectedfileshare/zz_controller.go new file mode 100755 index 000000000..b377865e0 --- /dev/null +++ b/internal/controller/backup/protectedfileshare/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectedfileshare + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/backup/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectedFileShare managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectedFileShare_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectedFileShare_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_backup_protected_file_share"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectedFileShare{}). + Complete(r) +} diff --git a/internal/controller/backup/protectedvm/zz_controller.go b/internal/controller/backup/protectedvm/zz_controller.go new file mode 100755 index 000000000..6fd4a3ab8 --- /dev/null +++ b/internal/controller/backup/protectedvm/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectedvm + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/backup/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectedVm managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectedVm_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectedVm_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_backup_protected_vm"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectedVm{}). + Complete(r) +} diff --git a/internal/controller/bastion/host/zz_controller.go b/internal/controller/bastion/host/zz_controller.go new file mode 100755 index 000000000..f8acf3027 --- /dev/null +++ b/internal/controller/bastion/host/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package host + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bastion/v1alpha1" +) + +// Setup adds a controller that reconciles Host managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Host_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Host_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bastion_host"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Host{}). + Complete(r) +} diff --git a/internal/controller/batch/account/zz_controller.go b/internal/controller/batch/account/zz_controller.go new file mode 100755 index 000000000..28fbf1946 --- /dev/null +++ b/internal/controller/batch/account/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package account + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/batch/v1alpha1" +) + +// Setup adds a controller that reconciles Account managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Account_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Account_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_batch_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Account{}). + Complete(r) +} diff --git a/internal/controller/batch/application/zz_controller.go b/internal/controller/batch/application/zz_controller.go new file mode 100755 index 000000000..a691feb7a --- /dev/null +++ b/internal/controller/batch/application/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package application + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/batch/v1alpha1" +) + +// Setup adds a controller that reconciles Application managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Application_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Application_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_batch_application"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Application{}). + Complete(r) +} diff --git a/internal/controller/batch/certificate/zz_controller.go b/internal/controller/batch/certificate/zz_controller.go new file mode 100755 index 000000000..141d16f58 --- /dev/null +++ b/internal/controller/batch/certificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package certificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/batch/v1alpha1" +) + +// Setup adds a controller that reconciles Certificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Certificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Certificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_batch_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Certificate{}). + Complete(r) +} diff --git a/internal/controller/batch/job/zz_controller.go b/internal/controller/batch/job/zz_controller.go new file mode 100755 index 000000000..2ced366c5 --- /dev/null +++ b/internal/controller/batch/job/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package job + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/batch/v1alpha1" +) + +// Setup adds a controller that reconciles Job managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Job_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Job_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_batch_job"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Job{}). + Complete(r) +} diff --git a/internal/controller/batch/pool/zz_controller.go b/internal/controller/batch/pool/zz_controller.go new file mode 100755 index 000000000..c01beeecc --- /dev/null +++ b/internal/controller/batch/pool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package pool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/batch/v1alpha1" +) + +// Setup adds a controller that reconciles Pool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Pool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Pool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_batch_pool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Pool{}). + Complete(r) +} diff --git a/internal/controller/blueprint/assignment/zz_controller.go b/internal/controller/blueprint/assignment/zz_controller.go new file mode 100755 index 000000000..cb7871485 --- /dev/null +++ b/internal/controller/blueprint/assignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/blueprint/v1alpha1" +) + +// Setup adds a controller that reconciles Assignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Assignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Assignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_blueprint_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Assignment{}). + Complete(r) +} diff --git a/internal/controller/bot/channelalexa/zz_controller.go b/internal/controller/bot/channelalexa/zz_controller.go new file mode 100755 index 000000000..053879ba1 --- /dev/null +++ b/internal/controller/bot/channelalexa/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelalexa + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelAlexa managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelAlexa_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelAlexa_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_alexa"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelAlexa{}). + Complete(r) +} diff --git a/internal/controller/bot/channeldirectline/zz_controller.go b/internal/controller/bot/channeldirectline/zz_controller.go new file mode 100755 index 000000000..6c6cf1808 --- /dev/null +++ b/internal/controller/bot/channeldirectline/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channeldirectline + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelDirectline managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelDirectline_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelDirectline_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_directline"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelDirectline{}). + Complete(r) +} diff --git a/internal/controller/bot/channeldirectlinespeech/zz_controller.go b/internal/controller/bot/channeldirectlinespeech/zz_controller.go new file mode 100755 index 000000000..d18923002 --- /dev/null +++ b/internal/controller/bot/channeldirectlinespeech/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channeldirectlinespeech + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelDirectLineSpeech managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelDirectLineSpeech_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelDirectLineSpeech_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_direct_line_speech"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelDirectLineSpeech{}). + Complete(r) +} diff --git a/internal/controller/bot/channelemail/zz_controller.go b/internal/controller/bot/channelemail/zz_controller.go new file mode 100755 index 000000000..7f7175e4c --- /dev/null +++ b/internal/controller/bot/channelemail/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelemail + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelEmail managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelEmail_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelEmail_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_email"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelEmail{}). + Complete(r) +} diff --git a/internal/controller/bot/channelfacebook/zz_controller.go b/internal/controller/bot/channelfacebook/zz_controller.go new file mode 100755 index 000000000..56b79d3c5 --- /dev/null +++ b/internal/controller/bot/channelfacebook/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelfacebook + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelFacebook managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelFacebook_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelFacebook_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_facebook"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelFacebook{}). + Complete(r) +} diff --git a/internal/controller/bot/channelline/zz_controller.go b/internal/controller/bot/channelline/zz_controller.go new file mode 100755 index 000000000..5d9d8a4b5 --- /dev/null +++ b/internal/controller/bot/channelline/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelline + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelLine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelLine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelLine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_line"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelLine{}). + Complete(r) +} diff --git a/internal/controller/bot/channelmsteams/zz_controller.go b/internal/controller/bot/channelmsteams/zz_controller.go new file mode 100755 index 000000000..fbe184360 --- /dev/null +++ b/internal/controller/bot/channelmsteams/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelmsteams + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelMsTeams managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelMsTeams_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelMsTeams_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_ms_teams"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelMsTeams{}). + Complete(r) +} diff --git a/internal/controller/bot/channelslack/zz_controller.go b/internal/controller/bot/channelslack/zz_controller.go new file mode 100755 index 000000000..d9834d6e0 --- /dev/null +++ b/internal/controller/bot/channelslack/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelslack + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelSlack managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelSlack_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelSlack_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_slack"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelSlack{}). + Complete(r) +} diff --git a/internal/controller/bot/channelsms/zz_controller.go b/internal/controller/bot/channelsms/zz_controller.go new file mode 100755 index 000000000..032c5a250 --- /dev/null +++ b/internal/controller/bot/channelsms/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelsms + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelSms managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelSms_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelSms_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_sms"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelSms{}). + Complete(r) +} diff --git a/internal/controller/bot/channelsregistration/zz_controller.go b/internal/controller/bot/channelsregistration/zz_controller.go new file mode 100755 index 000000000..7626091f0 --- /dev/null +++ b/internal/controller/bot/channelsregistration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelsregistration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelsRegistration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelsRegistration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelsRegistration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channels_registration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelsRegistration{}). + Complete(r) +} diff --git a/internal/controller/bot/channelwebchat/zz_controller.go b/internal/controller/bot/channelwebchat/zz_controller.go new file mode 100755 index 000000000..50afc2807 --- /dev/null +++ b/internal/controller/bot/channelwebchat/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package channelwebchat + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles ChannelWebChat managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ChannelWebChat_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ChannelWebChat_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_channel_web_chat"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ChannelWebChat{}). + Complete(r) +} diff --git a/internal/controller/bot/connection/zz_controller.go b/internal/controller/bot/connection/zz_controller.go new file mode 100755 index 000000000..c3404428e --- /dev/null +++ b/internal/controller/bot/connection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package connection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles Connection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Connection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Connection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Connection{}). + Complete(r) +} diff --git a/internal/controller/bot/webapp/zz_controller.go b/internal/controller/bot/webapp/zz_controller.go new file mode 100755 index 000000000..3adbe784d --- /dev/null +++ b/internal/controller/bot/webapp/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package webapp + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/bot/v1alpha1" +) + +// Setup adds a controller that reconciles WebApp managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WebApp_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WebApp_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_bot_web_app"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WebApp{}). + Complete(r) +} diff --git a/internal/controller/cdn/endpoint/zz_controller.go b/internal/controller/cdn/endpoint/zz_controller.go new file mode 100755 index 000000000..37ca2e8a9 --- /dev/null +++ b/internal/controller/cdn/endpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package endpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/cdn/v1alpha1" +) + +// Setup adds a controller that reconciles Endpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Endpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Endpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_cdn_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Endpoint{}). + Complete(r) +} diff --git a/internal/controller/cdn/endpointcustomdomain/zz_controller.go b/internal/controller/cdn/endpointcustomdomain/zz_controller.go new file mode 100755 index 000000000..64af3da31 --- /dev/null +++ b/internal/controller/cdn/endpointcustomdomain/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package endpointcustomdomain + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/cdn/v1alpha1" +) + +// Setup adds a controller that reconciles EndpointCustomDomain managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EndpointCustomDomain_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EndpointCustomDomain_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_cdn_endpoint_custom_domain"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EndpointCustomDomain{}). + Complete(r) +} diff --git a/internal/controller/cdn/profile/zz_controller.go b/internal/controller/cdn/profile/zz_controller.go new file mode 100755 index 000000000..9d9c57a7d --- /dev/null +++ b/internal/controller/cdn/profile/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package profile + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/cdn/v1alpha1" +) + +// Setup adds a controller that reconciles Profile managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Profile_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Profile_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_cdn_profile"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Profile{}). + Complete(r) +} diff --git a/internal/controller/cognitive/account/zz_controller.go b/internal/controller/cognitive/account/zz_controller.go new file mode 100755 index 000000000..0b205234d --- /dev/null +++ b/internal/controller/cognitive/account/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package account + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/cognitive/v1alpha1" +) + +// Setup adds a controller that reconciles Account managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Account_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Account_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_cognitive_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Account{}). + Complete(r) +} diff --git a/internal/controller/cognitive/accountcustomermanagedkey/zz_controller.go b/internal/controller/cognitive/accountcustomermanagedkey/zz_controller.go new file mode 100755 index 000000000..43509a69b --- /dev/null +++ b/internal/controller/cognitive/accountcustomermanagedkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package accountcustomermanagedkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/cognitive/v1alpha1" +) + +// Setup adds a controller that reconciles AccountCustomerManagedKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AccountCustomerManagedKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AccountCustomerManagedKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_cognitive_account_customer_managed_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AccountCustomerManagedKey{}). + Complete(r) +} diff --git a/internal/controller/communication/service/zz_controller.go b/internal/controller/communication/service/zz_controller.go new file mode 100755 index 000000000..84a2c61f3 --- /dev/null +++ b/internal/controller/communication/service/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package service + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/communication/v1alpha1" +) + +// Setup adds a controller that reconciles Service managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Service_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Service_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_communication_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Service{}). + Complete(r) +} diff --git a/internal/controller/consumption/budgetresourcegroup/zz_controller.go b/internal/controller/consumption/budgetresourcegroup/zz_controller.go new file mode 100755 index 000000000..9796d81fc --- /dev/null +++ b/internal/controller/consumption/budgetresourcegroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package budgetresourcegroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/consumption/v1alpha1" +) + +// Setup adds a controller that reconciles BudgetResourceGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.BudgetResourceGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.BudgetResourceGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_consumption_budget_resource_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.BudgetResourceGroup{}). + Complete(r) +} diff --git a/internal/controller/consumption/budgetsubscription/zz_controller.go b/internal/controller/consumption/budgetsubscription/zz_controller.go new file mode 100755 index 000000000..3b973ce11 --- /dev/null +++ b/internal/controller/consumption/budgetsubscription/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package budgetsubscription + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/consumption/v1alpha1" +) + +// Setup adds a controller that reconciles BudgetSubscription managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.BudgetSubscription_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.BudgetSubscription_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_consumption_budget_subscription"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.BudgetSubscription{}). + Complete(r) +} diff --git a/internal/controller/container/registry/zz_controller.go b/internal/controller/container/registry/zz_controller.go new file mode 100755 index 000000000..65bd0feb4 --- /dev/null +++ b/internal/controller/container/registry/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package registry + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/container/v1alpha1" +) + +// Setup adds a controller that reconciles Registry managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Registry_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Registry_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_container_registry"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Registry{}). + Complete(r) +} diff --git a/internal/controller/container/registryscopemap/zz_controller.go b/internal/controller/container/registryscopemap/zz_controller.go new file mode 100755 index 000000000..5ed1db0b0 --- /dev/null +++ b/internal/controller/container/registryscopemap/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package registryscopemap + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/container/v1alpha1" +) + +// Setup adds a controller that reconciles RegistryScopeMap managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RegistryScopeMap_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RegistryScopeMap_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_container_registry_scope_map"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RegistryScopeMap{}). + Complete(r) +} diff --git a/internal/controller/container/registrytoken/zz_controller.go b/internal/controller/container/registrytoken/zz_controller.go new file mode 100755 index 000000000..e15c699cf --- /dev/null +++ b/internal/controller/container/registrytoken/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package registrytoken + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/container/v1alpha1" +) + +// Setup adds a controller that reconciles RegistryToken managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RegistryToken_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RegistryToken_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_container_registry_token"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RegistryToken{}). + Complete(r) +} diff --git a/internal/controller/container/registrywebhook/zz_controller.go b/internal/controller/container/registrywebhook/zz_controller.go new file mode 100755 index 000000000..d8ec97daf --- /dev/null +++ b/internal/controller/container/registrywebhook/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package registrywebhook + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/container/v1alpha1" +) + +// Setup adds a controller that reconciles RegistryWebhook managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RegistryWebhook_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RegistryWebhook_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_container_registry_webhook"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RegistryWebhook{}). + Complete(r) +} diff --git a/internal/controller/cost/managementexportresourcegroup/zz_controller.go b/internal/controller/cost/managementexportresourcegroup/zz_controller.go new file mode 100755 index 000000000..b640fa8e6 --- /dev/null +++ b/internal/controller/cost/managementexportresourcegroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementexportresourcegroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/cost/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementExportResourceGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementExportResourceGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementExportResourceGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_cost_management_export_resource_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementExportResourceGroup{}). + Complete(r) +} diff --git a/internal/controller/custom/provider/zz_controller.go b/internal/controller/custom/provider/zz_controller.go new file mode 100755 index 000000000..110431e4b --- /dev/null +++ b/internal/controller/custom/provider/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package provider + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/custom/v1alpha1" +) + +// Setup adds a controller that reconciles Provider managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Provider_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Provider_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_custom_provider"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Provider{}). + Complete(r) +} diff --git a/internal/controller/data/factory/zz_controller.go b/internal/controller/data/factory/zz_controller.go new file mode 100755 index 000000000..ace6b8ad3 --- /dev/null +++ b/internal/controller/data/factory/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factory + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles Factory managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Factory_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Factory_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Factory{}). + Complete(r) +} diff --git a/internal/controller/data/factorycustomdataset/zz_controller.go b/internal/controller/data/factorycustomdataset/zz_controller.go new file mode 100755 index 000000000..46bed37b7 --- /dev/null +++ b/internal/controller/data/factorycustomdataset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorycustomdataset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryCustomDataset managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryCustomDataset_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryCustomDataset_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_custom_dataset"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryCustomDataset{}). + Complete(r) +} diff --git a/internal/controller/data/factorydataflow/zz_controller.go b/internal/controller/data/factorydataflow/zz_controller.go new file mode 100755 index 000000000..bb549ceba --- /dev/null +++ b/internal/controller/data/factorydataflow/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydataflow + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDataFlow managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDataFlow_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDataFlow_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_data_flow"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDataFlow{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetazureblob/zz_controller.go b/internal/controller/data/factorydatasetazureblob/zz_controller.go new file mode 100755 index 000000000..2c1e12cd6 --- /dev/null +++ b/internal/controller/data/factorydatasetazureblob/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetazureblob + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetAzureBlob managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetAzureBlob_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetAzureBlob_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_azure_blob"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetAzureBlob{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetbinary/zz_controller.go b/internal/controller/data/factorydatasetbinary/zz_controller.go new file mode 100755 index 000000000..026a76cd2 --- /dev/null +++ b/internal/controller/data/factorydatasetbinary/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetbinary + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetBinary managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetBinary_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetBinary_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_binary"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetBinary{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetcosmosdbsqlapi/zz_controller.go b/internal/controller/data/factorydatasetcosmosdbsqlapi/zz_controller.go new file mode 100755 index 000000000..dbd14f4d4 --- /dev/null +++ b/internal/controller/data/factorydatasetcosmosdbsqlapi/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetcosmosdbsqlapi + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetCosmosdbSqlapi managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetCosmosdbSqlapi_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetCosmosdbSqlapi_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_cosmosdb_sqlapi"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetCosmosdbSqlapi{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetdelimitedtext/zz_controller.go b/internal/controller/data/factorydatasetdelimitedtext/zz_controller.go new file mode 100755 index 000000000..e3259c110 --- /dev/null +++ b/internal/controller/data/factorydatasetdelimitedtext/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetdelimitedtext + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetDelimitedText managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetDelimitedText_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetDelimitedText_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_delimited_text"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetDelimitedText{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasethttp/zz_controller.go b/internal/controller/data/factorydatasethttp/zz_controller.go new file mode 100755 index 000000000..8bba02b60 --- /dev/null +++ b/internal/controller/data/factorydatasethttp/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasethttp + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetHttp managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetHttp_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetHttp_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_http"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetHttp{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetjson/zz_controller.go b/internal/controller/data/factorydatasetjson/zz_controller.go new file mode 100755 index 000000000..269d55bfb --- /dev/null +++ b/internal/controller/data/factorydatasetjson/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetjson + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetJson managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetJson_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetJson_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_json"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetJson{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetmysql/zz_controller.go b/internal/controller/data/factorydatasetmysql/zz_controller.go new file mode 100755 index 000000000..205b4dddb --- /dev/null +++ b/internal/controller/data/factorydatasetmysql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetmysql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetMysql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetMysql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetMysql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_mysql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetMysql{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetparquet/zz_controller.go b/internal/controller/data/factorydatasetparquet/zz_controller.go new file mode 100755 index 000000000..b30287641 --- /dev/null +++ b/internal/controller/data/factorydatasetparquet/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetparquet + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetParquet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetParquet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetParquet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_parquet"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetParquet{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetpostgresql/zz_controller.go b/internal/controller/data/factorydatasetpostgresql/zz_controller.go new file mode 100755 index 000000000..ed11e9f2e --- /dev/null +++ b/internal/controller/data/factorydatasetpostgresql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetpostgresql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetPostgresql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetPostgresql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetPostgresql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_postgresql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetPostgresql{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetsnowflake/zz_controller.go b/internal/controller/data/factorydatasetsnowflake/zz_controller.go new file mode 100755 index 000000000..7abadb7be --- /dev/null +++ b/internal/controller/data/factorydatasetsnowflake/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetsnowflake + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetSnowflake managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetSnowflake_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetSnowflake_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_snowflake"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetSnowflake{}). + Complete(r) +} diff --git a/internal/controller/data/factorydatasetsqlservertable/zz_controller.go b/internal/controller/data/factorydatasetsqlservertable/zz_controller.go new file mode 100755 index 000000000..fb7d352e8 --- /dev/null +++ b/internal/controller/data/factorydatasetsqlservertable/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorydatasetsqlservertable + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryDatasetSqlServerTable managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryDatasetSqlServerTable_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryDatasetSqlServerTable_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_dataset_sql_server_table"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryDatasetSqlServerTable{}). + Complete(r) +} diff --git a/internal/controller/data/factoryintegrationruntimeazure/zz_controller.go b/internal/controller/data/factoryintegrationruntimeazure/zz_controller.go new file mode 100755 index 000000000..772a57893 --- /dev/null +++ b/internal/controller/data/factoryintegrationruntimeazure/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factoryintegrationruntimeazure + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryIntegrationRuntimeAzure managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryIntegrationRuntimeAzure_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryIntegrationRuntimeAzure_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_integration_runtime_azure"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryIntegrationRuntimeAzure{}). + Complete(r) +} diff --git a/internal/controller/data/factoryintegrationruntimeazuressis/zz_controller.go b/internal/controller/data/factoryintegrationruntimeazuressis/zz_controller.go new file mode 100755 index 000000000..aee671f4a --- /dev/null +++ b/internal/controller/data/factoryintegrationruntimeazuressis/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factoryintegrationruntimeazuressis + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryIntegrationRuntimeAzureSsis managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryIntegrationRuntimeAzureSsis_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryIntegrationRuntimeAzureSsis_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_integration_runtime_azure_ssis"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryIntegrationRuntimeAzureSsis{}). + Complete(r) +} diff --git a/internal/controller/data/factoryintegrationruntimemanaged/zz_controller.go b/internal/controller/data/factoryintegrationruntimemanaged/zz_controller.go new file mode 100755 index 000000000..1ddf8f8bc --- /dev/null +++ b/internal/controller/data/factoryintegrationruntimemanaged/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factoryintegrationruntimemanaged + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryIntegrationRuntimeManaged managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryIntegrationRuntimeManaged_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryIntegrationRuntimeManaged_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_integration_runtime_managed"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryIntegrationRuntimeManaged{}). + Complete(r) +} diff --git a/internal/controller/data/factoryintegrationruntimeselfhosted/zz_controller.go b/internal/controller/data/factoryintegrationruntimeselfhosted/zz_controller.go new file mode 100755 index 000000000..a91d0c4c3 --- /dev/null +++ b/internal/controller/data/factoryintegrationruntimeselfhosted/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factoryintegrationruntimeselfhosted + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryIntegrationRuntimeSelfHosted managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryIntegrationRuntimeSelfHosted_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryIntegrationRuntimeSelfHosted_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_integration_runtime_self_hosted"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryIntegrationRuntimeSelfHosted{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedcustomservice/zz_controller.go b/internal/controller/data/factorylinkedcustomservice/zz_controller.go new file mode 100755 index 000000000..aaeddbfb0 --- /dev/null +++ b/internal/controller/data/factorylinkedcustomservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedcustomservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedCustomService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedCustomService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedCustomService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_custom_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedCustomService{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazureblobstorage/zz_controller.go b/internal/controller/data/factorylinkedserviceazureblobstorage/zz_controller.go new file mode 100755 index 000000000..336c95aac --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazureblobstorage/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazureblobstorage + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureBlobStorage managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureBlobStorage_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureBlobStorage_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_blob_storage"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureBlobStorage{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazuredatabricks/zz_controller.go b/internal/controller/data/factorylinkedserviceazuredatabricks/zz_controller.go new file mode 100755 index 000000000..18dde3ca6 --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazuredatabricks/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazuredatabricks + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureDatabricks managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureDatabricks_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureDatabricks_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_databricks"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureDatabricks{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazurefilestorage/zz_controller.go b/internal/controller/data/factorylinkedserviceazurefilestorage/zz_controller.go new file mode 100755 index 000000000..911b49f2d --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazurefilestorage/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazurefilestorage + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureFileStorage managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureFileStorage_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureFileStorage_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_file_storage"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureFileStorage{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazurefunction/zz_controller.go b/internal/controller/data/factorylinkedserviceazurefunction/zz_controller.go new file mode 100755 index 000000000..1b314240e --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazurefunction/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazurefunction + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureFunction managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureFunction_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureFunction_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_function"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureFunction{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazuresearch/zz_controller.go b/internal/controller/data/factorylinkedserviceazuresearch/zz_controller.go new file mode 100755 index 000000000..08d0c2b96 --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazuresearch/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazuresearch + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureSearch managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureSearch_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureSearch_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_search"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureSearch{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazuresqldatabase/zz_controller.go b/internal/controller/data/factorylinkedserviceazuresqldatabase/zz_controller.go new file mode 100755 index 000000000..196dcc755 --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazuresqldatabase/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazuresqldatabase + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureSqlDatabase managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureSqlDatabase_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureSqlDatabase_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_sql_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureSqlDatabase{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceazuretablestorage/zz_controller.go b/internal/controller/data/factorylinkedserviceazuretablestorage/zz_controller.go new file mode 100755 index 000000000..d2c34f940 --- /dev/null +++ b/internal/controller/data/factorylinkedserviceazuretablestorage/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceazuretablestorage + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceAzureTableStorage managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceAzureTableStorage_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceAzureTableStorage_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_azure_table_storage"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceAzureTableStorage{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicecosmosdb/zz_controller.go b/internal/controller/data/factorylinkedservicecosmosdb/zz_controller.go new file mode 100755 index 000000000..cdc5c6f4c --- /dev/null +++ b/internal/controller/data/factorylinkedservicecosmosdb/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicecosmosdb + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceCosmosdb managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceCosmosdb_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceCosmosdb_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_cosmosdb"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceCosmosdb{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicedatalakestoragegen2/zz_controller.go b/internal/controller/data/factorylinkedservicedatalakestoragegen2/zz_controller.go new file mode 100755 index 000000000..34f19d94d --- /dev/null +++ b/internal/controller/data/factorylinkedservicedatalakestoragegen2/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicedatalakestoragegen2 + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceDataLakeStorageGen2 managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceDataLakeStorageGen2_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceDataLakeStorageGen2_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_data_lake_storage_gen2"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceDataLakeStorageGen2{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicekeyvault/zz_controller.go b/internal/controller/data/factorylinkedservicekeyvault/zz_controller.go new file mode 100755 index 000000000..772bca015 --- /dev/null +++ b/internal/controller/data/factorylinkedservicekeyvault/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicekeyvault + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceKeyVault managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceKeyVault_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceKeyVault_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_key_vault"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceKeyVault{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicekusto/zz_controller.go b/internal/controller/data/factorylinkedservicekusto/zz_controller.go new file mode 100755 index 000000000..d3772c89b --- /dev/null +++ b/internal/controller/data/factorylinkedservicekusto/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicekusto + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceKusto managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceKusto_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceKusto_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_kusto"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceKusto{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicemysql/zz_controller.go b/internal/controller/data/factorylinkedservicemysql/zz_controller.go new file mode 100755 index 000000000..6b6bdfe76 --- /dev/null +++ b/internal/controller/data/factorylinkedservicemysql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicemysql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceMysql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceMysql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceMysql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_mysql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceMysql{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceodata/zz_controller.go b/internal/controller/data/factorylinkedserviceodata/zz_controller.go new file mode 100755 index 000000000..bae91b89a --- /dev/null +++ b/internal/controller/data/factorylinkedserviceodata/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceodata + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceOdata managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceOdata_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceOdata_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_odata"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceOdata{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicepostgresql/zz_controller.go b/internal/controller/data/factorylinkedservicepostgresql/zz_controller.go new file mode 100755 index 000000000..262dd5bb8 --- /dev/null +++ b/internal/controller/data/factorylinkedservicepostgresql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicepostgresql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServicePostgresql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServicePostgresql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServicePostgresql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_postgresql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServicePostgresql{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicesftp/zz_controller.go b/internal/controller/data/factorylinkedservicesftp/zz_controller.go new file mode 100755 index 000000000..a07bcfbe8 --- /dev/null +++ b/internal/controller/data/factorylinkedservicesftp/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicesftp + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceSftp managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceSftp_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceSftp_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_sftp"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceSftp{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicesnowflake/zz_controller.go b/internal/controller/data/factorylinkedservicesnowflake/zz_controller.go new file mode 100755 index 000000000..932d6a9ef --- /dev/null +++ b/internal/controller/data/factorylinkedservicesnowflake/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicesnowflake + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceSnowflake managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceSnowflake_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceSnowflake_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_snowflake"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceSnowflake{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicesqlserver/zz_controller.go b/internal/controller/data/factorylinkedservicesqlserver/zz_controller.go new file mode 100755 index 000000000..0eecf5e05 --- /dev/null +++ b/internal/controller/data/factorylinkedservicesqlserver/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicesqlserver + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceSqlServer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceSqlServer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceSqlServer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_sql_server"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceSqlServer{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedservicesynapse/zz_controller.go b/internal/controller/data/factorylinkedservicesynapse/zz_controller.go new file mode 100755 index 000000000..8d65b10ee --- /dev/null +++ b/internal/controller/data/factorylinkedservicesynapse/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedservicesynapse + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceSynapse managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceSynapse_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceSynapse_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_synapse"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceSynapse{}). + Complete(r) +} diff --git a/internal/controller/data/factorylinkedserviceweb/zz_controller.go b/internal/controller/data/factorylinkedserviceweb/zz_controller.go new file mode 100755 index 000000000..bcb6b9de6 --- /dev/null +++ b/internal/controller/data/factorylinkedserviceweb/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorylinkedserviceweb + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryLinkedServiceWeb managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryLinkedServiceWeb_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryLinkedServiceWeb_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_linked_service_web"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryLinkedServiceWeb{}). + Complete(r) +} diff --git a/internal/controller/data/factorymanagedprivateendpoint/zz_controller.go b/internal/controller/data/factorymanagedprivateendpoint/zz_controller.go new file mode 100755 index 000000000..60dc1a930 --- /dev/null +++ b/internal/controller/data/factorymanagedprivateendpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorymanagedprivateendpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryManagedPrivateEndpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryManagedPrivateEndpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryManagedPrivateEndpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_managed_private_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryManagedPrivateEndpoint{}). + Complete(r) +} diff --git a/internal/controller/data/factorypipeline/zz_controller.go b/internal/controller/data/factorypipeline/zz_controller.go new file mode 100755 index 000000000..fba3e39ac --- /dev/null +++ b/internal/controller/data/factorypipeline/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorypipeline + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryPipeline managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryPipeline_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryPipeline_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_pipeline"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryPipeline{}). + Complete(r) +} diff --git a/internal/controller/data/factorytriggerblobevent/zz_controller.go b/internal/controller/data/factorytriggerblobevent/zz_controller.go new file mode 100755 index 000000000..6629cba2d --- /dev/null +++ b/internal/controller/data/factorytriggerblobevent/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorytriggerblobevent + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryTriggerBlobEvent managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryTriggerBlobEvent_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryTriggerBlobEvent_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_trigger_blob_event"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryTriggerBlobEvent{}). + Complete(r) +} diff --git a/internal/controller/data/factorytriggercustomevent/zz_controller.go b/internal/controller/data/factorytriggercustomevent/zz_controller.go new file mode 100755 index 000000000..b64133e02 --- /dev/null +++ b/internal/controller/data/factorytriggercustomevent/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorytriggercustomevent + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryTriggerCustomEvent managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryTriggerCustomEvent_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryTriggerCustomEvent_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_trigger_custom_event"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryTriggerCustomEvent{}). + Complete(r) +} diff --git a/internal/controller/data/factorytriggerschedule/zz_controller.go b/internal/controller/data/factorytriggerschedule/zz_controller.go new file mode 100755 index 000000000..1a381ac87 --- /dev/null +++ b/internal/controller/data/factorytriggerschedule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package factorytriggerschedule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles FactoryTriggerSchedule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FactoryTriggerSchedule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FactoryTriggerSchedule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_factory_trigger_schedule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FactoryTriggerSchedule{}). + Complete(r) +} diff --git a/internal/controller/data/lakeanalyticsfirewallrule/zz_controller.go b/internal/controller/data/lakeanalyticsfirewallrule/zz_controller.go new file mode 100755 index 000000000..2aa28a9be --- /dev/null +++ b/internal/controller/data/lakeanalyticsfirewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package lakeanalyticsfirewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles LakeAnalyticsFirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LakeAnalyticsFirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LakeAnalyticsFirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_lake_analytics_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LakeAnalyticsFirewallRule{}). + Complete(r) +} diff --git a/internal/controller/data/lakestore/zz_controller.go b/internal/controller/data/lakestore/zz_controller.go new file mode 100755 index 000000000..bde3b3622 --- /dev/null +++ b/internal/controller/data/lakestore/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package lakestore + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles LakeStore managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LakeStore_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LakeStore_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_lake_store"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LakeStore{}). + Complete(r) +} diff --git a/internal/controller/data/lakestorefile/zz_controller.go b/internal/controller/data/lakestorefile/zz_controller.go new file mode 100755 index 000000000..6dbbe5fbe --- /dev/null +++ b/internal/controller/data/lakestorefile/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package lakestorefile + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles LakeStoreFile managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LakeStoreFile_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LakeStoreFile_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_lake_store_file"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LakeStoreFile{}). + Complete(r) +} diff --git a/internal/controller/data/lakestorefirewallrule/zz_controller.go b/internal/controller/data/lakestorefirewallrule/zz_controller.go new file mode 100755 index 000000000..415d8e122 --- /dev/null +++ b/internal/controller/data/lakestorefirewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package lakestorefirewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles LakeStoreFirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LakeStoreFirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LakeStoreFirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_lake_store_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LakeStoreFirewallRule{}). + Complete(r) +} diff --git a/internal/controller/data/lakestorevirtualnetworkrule/zz_controller.go b/internal/controller/data/lakestorevirtualnetworkrule/zz_controller.go new file mode 100755 index 000000000..f37936436 --- /dev/null +++ b/internal/controller/data/lakestorevirtualnetworkrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package lakestorevirtualnetworkrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles LakeStoreVirtualNetworkRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LakeStoreVirtualNetworkRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LakeStoreVirtualNetworkRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_lake_store_virtual_network_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LakeStoreVirtualNetworkRule{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackupinstanceblobstorage/zz_controller.go b/internal/controller/data/protectionbackupinstanceblobstorage/zz_controller.go new file mode 100755 index 000000000..dd862f46c --- /dev/null +++ b/internal/controller/data/protectionbackupinstanceblobstorage/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackupinstanceblobstorage + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupInstanceBlobStorage managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupInstanceBlobStorage_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupInstanceBlobStorage_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_instance_blob_storage"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupInstanceBlobStorage{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackupinstancedisk/zz_controller.go b/internal/controller/data/protectionbackupinstancedisk/zz_controller.go new file mode 100755 index 000000000..0d52f5626 --- /dev/null +++ b/internal/controller/data/protectionbackupinstancedisk/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackupinstancedisk + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupInstanceDisk managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupInstanceDisk_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupInstanceDisk_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_instance_disk"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupInstanceDisk{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackupinstancepostgresql/zz_controller.go b/internal/controller/data/protectionbackupinstancepostgresql/zz_controller.go new file mode 100755 index 000000000..82cca0720 --- /dev/null +++ b/internal/controller/data/protectionbackupinstancepostgresql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackupinstancepostgresql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupInstancePostgresql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupInstancePostgresql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupInstancePostgresql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_instance_postgresql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupInstancePostgresql{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackuppolicyblobstorage/zz_controller.go b/internal/controller/data/protectionbackuppolicyblobstorage/zz_controller.go new file mode 100755 index 000000000..7041e2c5c --- /dev/null +++ b/internal/controller/data/protectionbackuppolicyblobstorage/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackuppolicyblobstorage + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupPolicyBlobStorage managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupPolicyBlobStorage_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupPolicyBlobStorage_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_policy_blob_storage"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupPolicyBlobStorage{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackuppolicydisk/zz_controller.go b/internal/controller/data/protectionbackuppolicydisk/zz_controller.go new file mode 100755 index 000000000..c7a4aaf16 --- /dev/null +++ b/internal/controller/data/protectionbackuppolicydisk/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackuppolicydisk + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupPolicyDisk managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupPolicyDisk_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupPolicyDisk_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_policy_disk"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupPolicyDisk{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackuppolicypostgresql/zz_controller.go b/internal/controller/data/protectionbackuppolicypostgresql/zz_controller.go new file mode 100755 index 000000000..d0db8dbdc --- /dev/null +++ b/internal/controller/data/protectionbackuppolicypostgresql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackuppolicypostgresql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupPolicyPostgresql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupPolicyPostgresql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupPolicyPostgresql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_policy_postgresql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupPolicyPostgresql{}). + Complete(r) +} diff --git a/internal/controller/data/protectionbackupvault/zz_controller.go b/internal/controller/data/protectionbackupvault/zz_controller.go new file mode 100755 index 000000000..82c71b6be --- /dev/null +++ b/internal/controller/data/protectionbackupvault/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package protectionbackupvault + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ProtectionBackupVault managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProtectionBackupVault_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProtectionBackupVault_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_protection_backup_vault"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProtectionBackupVault{}). + Complete(r) +} diff --git a/internal/controller/data/share/zz_controller.go b/internal/controller/data/share/zz_controller.go new file mode 100755 index 000000000..22e41d3d6 --- /dev/null +++ b/internal/controller/data/share/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package share + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles Share managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Share_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Share_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Share{}). + Complete(r) +} diff --git a/internal/controller/data/shareaccount/zz_controller.go b/internal/controller/data/shareaccount/zz_controller.go new file mode 100755 index 000000000..a6821f07b --- /dev/null +++ b/internal/controller/data/shareaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package shareaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ShareAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareAccount{}). + Complete(r) +} diff --git a/internal/controller/data/sharedatasetblobstorage/zz_controller.go b/internal/controller/data/sharedatasetblobstorage/zz_controller.go new file mode 100755 index 000000000..e89867b2d --- /dev/null +++ b/internal/controller/data/sharedatasetblobstorage/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sharedatasetblobstorage + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ShareDatasetBlobStorage managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareDatasetBlobStorage_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareDatasetBlobStorage_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share_dataset_blob_storage"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareDatasetBlobStorage{}). + Complete(r) +} diff --git a/internal/controller/data/sharedatasetdatalakegen1/zz_controller.go b/internal/controller/data/sharedatasetdatalakegen1/zz_controller.go new file mode 100755 index 000000000..183e230fd --- /dev/null +++ b/internal/controller/data/sharedatasetdatalakegen1/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sharedatasetdatalakegen1 + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ShareDatasetDataLakeGen1 managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareDatasetDataLakeGen1_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareDatasetDataLakeGen1_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share_dataset_data_lake_gen1"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareDatasetDataLakeGen1{}). + Complete(r) +} diff --git a/internal/controller/data/sharedatasetdatalakegen2/zz_controller.go b/internal/controller/data/sharedatasetdatalakegen2/zz_controller.go new file mode 100755 index 000000000..161df3f2d --- /dev/null +++ b/internal/controller/data/sharedatasetdatalakegen2/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sharedatasetdatalakegen2 + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ShareDatasetDataLakeGen2 managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareDatasetDataLakeGen2_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareDatasetDataLakeGen2_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share_dataset_data_lake_gen2"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareDatasetDataLakeGen2{}). + Complete(r) +} diff --git a/internal/controller/data/sharedatasetkustocluster/zz_controller.go b/internal/controller/data/sharedatasetkustocluster/zz_controller.go new file mode 100755 index 000000000..c9aeb30d7 --- /dev/null +++ b/internal/controller/data/sharedatasetkustocluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sharedatasetkustocluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ShareDatasetKustoCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareDatasetKustoCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareDatasetKustoCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share_dataset_kusto_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareDatasetKustoCluster{}). + Complete(r) +} diff --git a/internal/controller/data/sharedatasetkustodatabase/zz_controller.go b/internal/controller/data/sharedatasetkustodatabase/zz_controller.go new file mode 100755 index 000000000..968dcf11f --- /dev/null +++ b/internal/controller/data/sharedatasetkustodatabase/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sharedatasetkustodatabase + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/data/v1alpha1" +) + +// Setup adds a controller that reconciles ShareDatasetKustoDatabase managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareDatasetKustoDatabase_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareDatasetKustoDatabase_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_data_share_dataset_kusto_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareDatasetKustoDatabase{}). + Complete(r) +} diff --git a/internal/controller/database/migrationproject/zz_controller.go b/internal/controller/database/migrationproject/zz_controller.go new file mode 100755 index 000000000..0bbdf20b5 --- /dev/null +++ b/internal/controller/database/migrationproject/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package migrationproject + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/database/v1alpha1" +) + +// Setup adds a controller that reconciles MigrationProject managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.MigrationProject_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.MigrationProject_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_database_migration_project"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.MigrationProject{}). + Complete(r) +} diff --git a/internal/controller/database/migrationservice/zz_controller.go b/internal/controller/database/migrationservice/zz_controller.go new file mode 100755 index 000000000..a83954e37 --- /dev/null +++ b/internal/controller/database/migrationservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package migrationservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/database/v1alpha1" +) + +// Setup adds a controller that reconciles MigrationService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.MigrationService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.MigrationService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_database_migration_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.MigrationService{}). + Complete(r) +} diff --git a/internal/controller/databox/edgedevice/zz_controller.go b/internal/controller/databox/edgedevice/zz_controller.go new file mode 100755 index 000000000..1ea6d32ac --- /dev/null +++ b/internal/controller/databox/edgedevice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package edgedevice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/databox/v1alpha1" +) + +// Setup adds a controller that reconciles EdgeDevice managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EdgeDevice_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EdgeDevice_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_databox_edge_device"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EdgeDevice{}). + Complete(r) +} diff --git a/internal/controller/databox/edgeorder/zz_controller.go b/internal/controller/databox/edgeorder/zz_controller.go new file mode 100755 index 000000000..a87f6a3a2 --- /dev/null +++ b/internal/controller/databox/edgeorder/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package edgeorder + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/databox/v1alpha1" +) + +// Setup adds a controller that reconciles EdgeOrder managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EdgeOrder_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EdgeOrder_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_databox_edge_order"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EdgeOrder{}). + Complete(r) +} diff --git a/internal/controller/databricks/workspace/zz_controller.go b/internal/controller/databricks/workspace/zz_controller.go new file mode 100755 index 000000000..b21fde6d0 --- /dev/null +++ b/internal/controller/databricks/workspace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/databricks/v1alpha1" +) + +// Setup adds a controller that reconciles Workspace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Workspace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Workspace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_databricks_workspace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Workspace{}). + Complete(r) +} diff --git a/internal/controller/databricks/workspacecustomermanagedkey/zz_controller.go b/internal/controller/databricks/workspacecustomermanagedkey/zz_controller.go new file mode 100755 index 000000000..3ab3b67e4 --- /dev/null +++ b/internal/controller/databricks/workspacecustomermanagedkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspacecustomermanagedkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/databricks/v1alpha1" +) + +// Setup adds a controller that reconciles WorkspaceCustomerManagedKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WorkspaceCustomerManagedKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WorkspaceCustomerManagedKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_databricks_workspace_customer_managed_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WorkspaceCustomerManagedKey{}). + Complete(r) +} diff --git a/internal/controller/dedicated/hardwaresecuritymodule/zz_controller.go b/internal/controller/dedicated/hardwaresecuritymodule/zz_controller.go new file mode 100755 index 000000000..0810d4cbd --- /dev/null +++ b/internal/controller/dedicated/hardwaresecuritymodule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hardwaresecuritymodule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dedicated/v1alpha1" +) + +// Setup adds a controller that reconciles HardwareSecurityModule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HardwareSecurityModule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HardwareSecurityModule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dedicated_hardware_security_module"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HardwareSecurityModule{}). + Complete(r) +} diff --git a/internal/controller/dedicated/host/zz_controller.go b/internal/controller/dedicated/host/zz_controller.go new file mode 100755 index 000000000..b296eba5e --- /dev/null +++ b/internal/controller/dedicated/host/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package host + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dedicated/v1alpha1" +) + +// Setup adds a controller that reconciles Host managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Host_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Host_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dedicated_host"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Host{}). + Complete(r) +} diff --git a/internal/controller/dev/testglobalvmshutdownschedule/zz_controller.go b/internal/controller/dev/testglobalvmshutdownschedule/zz_controller.go new file mode 100755 index 000000000..d24f17fe5 --- /dev/null +++ b/internal/controller/dev/testglobalvmshutdownschedule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testglobalvmshutdownschedule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestGlobalVmShutdownSchedule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestGlobalVmShutdownSchedule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestGlobalVmShutdownSchedule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_global_vm_shutdown_schedule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestGlobalVmShutdownSchedule{}). + Complete(r) +} diff --git a/internal/controller/dev/testlab/zz_controller.go b/internal/controller/dev/testlab/zz_controller.go new file mode 100755 index 000000000..719a045c7 --- /dev/null +++ b/internal/controller/dev/testlab/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testlab + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestLab managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestLab_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestLab_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_lab"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestLab{}). + Complete(r) +} diff --git a/internal/controller/dev/testlinuxvirtualmachine/zz_controller.go b/internal/controller/dev/testlinuxvirtualmachine/zz_controller.go new file mode 100755 index 000000000..af7b45f98 --- /dev/null +++ b/internal/controller/dev/testlinuxvirtualmachine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testlinuxvirtualmachine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestLinuxVirtualMachine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestLinuxVirtualMachine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestLinuxVirtualMachine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_linux_virtual_machine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestLinuxVirtualMachine{}). + Complete(r) +} diff --git a/internal/controller/dev/testpolicy/zz_controller.go b/internal/controller/dev/testpolicy/zz_controller.go new file mode 100755 index 000000000..d5d4bc5a7 --- /dev/null +++ b/internal/controller/dev/testpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestPolicy{}). + Complete(r) +} diff --git a/internal/controller/dev/testschedule/zz_controller.go b/internal/controller/dev/testschedule/zz_controller.go new file mode 100755 index 000000000..88bfa6bc1 --- /dev/null +++ b/internal/controller/dev/testschedule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testschedule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestSchedule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestSchedule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestSchedule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_schedule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestSchedule{}). + Complete(r) +} diff --git a/internal/controller/dev/testvirtualnetwork/zz_controller.go b/internal/controller/dev/testvirtualnetwork/zz_controller.go new file mode 100755 index 000000000..12f8718e0 --- /dev/null +++ b/internal/controller/dev/testvirtualnetwork/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testvirtualnetwork + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestVirtualNetwork managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestVirtualNetwork_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestVirtualNetwork_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_virtual_network"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestVirtualNetwork{}). + Complete(r) +} diff --git a/internal/controller/dev/testwindowsvirtualmachine/zz_controller.go b/internal/controller/dev/testwindowsvirtualmachine/zz_controller.go new file mode 100755 index 000000000..67bd08d21 --- /dev/null +++ b/internal/controller/dev/testwindowsvirtualmachine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package testwindowsvirtualmachine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dev/v1alpha1" +) + +// Setup adds a controller that reconciles TestWindowsVirtualMachine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TestWindowsVirtualMachine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TestWindowsVirtualMachine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dev_test_windows_virtual_machine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TestWindowsVirtualMachine{}). + Complete(r) +} diff --git a/internal/controller/devspace/controller/zz_controller.go b/internal/controller/devspace/controller/zz_controller.go new file mode 100755 index 000000000..5f8433d6d --- /dev/null +++ b/internal/controller/devspace/controller/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package controller + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/devspace/v1alpha1" +) + +// Setup adds a controller that reconciles Controller managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Controller_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Controller_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_devspace_controller"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Controller{}). + Complete(r) +} diff --git a/internal/controller/digital/twinsendpointeventgrid/zz_controller.go b/internal/controller/digital/twinsendpointeventgrid/zz_controller.go new file mode 100755 index 000000000..f59d35a3e --- /dev/null +++ b/internal/controller/digital/twinsendpointeventgrid/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package twinsendpointeventgrid + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/digital/v1alpha1" +) + +// Setup adds a controller that reconciles TwinsEndpointEventgrid managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TwinsEndpointEventgrid_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TwinsEndpointEventgrid_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_digital_twins_endpoint_eventgrid"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TwinsEndpointEventgrid{}). + Complete(r) +} diff --git a/internal/controller/digital/twinsendpointeventhub/zz_controller.go b/internal/controller/digital/twinsendpointeventhub/zz_controller.go new file mode 100755 index 000000000..c82ac0250 --- /dev/null +++ b/internal/controller/digital/twinsendpointeventhub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package twinsendpointeventhub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/digital/v1alpha1" +) + +// Setup adds a controller that reconciles TwinsEndpointEventhub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TwinsEndpointEventhub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TwinsEndpointEventhub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_digital_twins_endpoint_eventhub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TwinsEndpointEventhub{}). + Complete(r) +} diff --git a/internal/controller/digital/twinsendpointservicebus/zz_controller.go b/internal/controller/digital/twinsendpointservicebus/zz_controller.go new file mode 100755 index 000000000..72d804f7e --- /dev/null +++ b/internal/controller/digital/twinsendpointservicebus/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package twinsendpointservicebus + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/digital/v1alpha1" +) + +// Setup adds a controller that reconciles TwinsEndpointServicebus managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TwinsEndpointServicebus_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TwinsEndpointServicebus_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_digital_twins_endpoint_servicebus"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TwinsEndpointServicebus{}). + Complete(r) +} diff --git a/internal/controller/digital/twinsinstance/zz_controller.go b/internal/controller/digital/twinsinstance/zz_controller.go new file mode 100755 index 000000000..987ba58d3 --- /dev/null +++ b/internal/controller/digital/twinsinstance/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package twinsinstance + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/digital/v1alpha1" +) + +// Setup adds a controller that reconciles TwinsInstance managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TwinsInstance_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TwinsInstance_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_digital_twins_instance"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TwinsInstance{}). + Complete(r) +} diff --git a/internal/controller/disk/access/zz_controller.go b/internal/controller/disk/access/zz_controller.go new file mode 100755 index 000000000..6d80fc24d --- /dev/null +++ b/internal/controller/disk/access/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package access + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/disk/v1alpha1" +) + +// Setup adds a controller that reconciles Access managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Access_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Access_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_disk_access"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Access{}). + Complete(r) +} diff --git a/internal/controller/disk/encryptionset/zz_controller.go b/internal/controller/disk/encryptionset/zz_controller.go new file mode 100755 index 000000000..b53e256c5 --- /dev/null +++ b/internal/controller/disk/encryptionset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package encryptionset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/disk/v1alpha1" +) + +// Setup adds a controller that reconciles EncryptionSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EncryptionSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EncryptionSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_disk_encryption_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EncryptionSet{}). + Complete(r) +} diff --git a/internal/controller/dns/aaaarecord/zz_controller.go b/internal/controller/dns/aaaarecord/zz_controller.go new file mode 100755 index 000000000..7b6d5e6ce --- /dev/null +++ b/internal/controller/dns/aaaarecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package aaaarecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles AaaaRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AaaaRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AaaaRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_aaaa_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AaaaRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/arecord/zz_controller.go b/internal/controller/dns/arecord/zz_controller.go new file mode 100755 index 000000000..c5a9e3621 --- /dev/null +++ b/internal/controller/dns/arecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package arecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles ARecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ARecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ARecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_a_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ARecord{}). + Complete(r) +} diff --git a/internal/controller/dns/caarecord/zz_controller.go b/internal/controller/dns/caarecord/zz_controller.go new file mode 100755 index 000000000..3d144f700 --- /dev/null +++ b/internal/controller/dns/caarecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package caarecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles CaaRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CaaRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CaaRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_caa_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CaaRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/cnamerecord/zz_controller.go b/internal/controller/dns/cnamerecord/zz_controller.go new file mode 100755 index 000000000..b425cacec --- /dev/null +++ b/internal/controller/dns/cnamerecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cnamerecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles CnameRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CnameRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CnameRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_cname_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CnameRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/mxrecord/zz_controller.go b/internal/controller/dns/mxrecord/zz_controller.go new file mode 100755 index 000000000..76f0d1abf --- /dev/null +++ b/internal/controller/dns/mxrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package mxrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles MxRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.MxRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.MxRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_mx_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.MxRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/nsrecord/zz_controller.go b/internal/controller/dns/nsrecord/zz_controller.go new file mode 100755 index 000000000..fe225d232 --- /dev/null +++ b/internal/controller/dns/nsrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package nsrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles NsRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NsRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NsRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_ns_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NsRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/ptrrecord/zz_controller.go b/internal/controller/dns/ptrrecord/zz_controller.go new file mode 100755 index 000000000..3ba6204aa --- /dev/null +++ b/internal/controller/dns/ptrrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package ptrrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles PtrRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PtrRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PtrRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_ptr_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PtrRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/srvrecord/zz_controller.go b/internal/controller/dns/srvrecord/zz_controller.go new file mode 100755 index 000000000..45f0256bb --- /dev/null +++ b/internal/controller/dns/srvrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package srvrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles SrvRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SrvRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SrvRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_srv_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SrvRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/txtrecord/zz_controller.go b/internal/controller/dns/txtrecord/zz_controller.go new file mode 100755 index 000000000..54631791c --- /dev/null +++ b/internal/controller/dns/txtrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package txtrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles TxtRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TxtRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TxtRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_txt_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TxtRecord{}). + Complete(r) +} diff --git a/internal/controller/dns/zone/zz_controller.go b/internal/controller/dns/zone/zz_controller.go new file mode 100755 index 000000000..9e1e045a4 --- /dev/null +++ b/internal/controller/dns/zone/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package zone + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/dns/v1alpha1" +) + +// Setup adds a controller that reconciles Zone managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Zone_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Zone_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_dns_zone"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Zone{}). + Complete(r) +} diff --git a/internal/controller/eventgrid/domain/zz_controller.go b/internal/controller/eventgrid/domain/zz_controller.go new file mode 100755 index 000000000..d5abe06e1 --- /dev/null +++ b/internal/controller/eventgrid/domain/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package domain + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" +) + +// Setup adds a controller that reconciles Domain managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Domain_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Domain_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventgrid_domain"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Domain{}). + Complete(r) +} diff --git a/internal/controller/eventgrid/domaintopic/zz_controller.go b/internal/controller/eventgrid/domaintopic/zz_controller.go new file mode 100755 index 000000000..4f2f95659 --- /dev/null +++ b/internal/controller/eventgrid/domaintopic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package domaintopic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" +) + +// Setup adds a controller that reconciles DomainTopic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DomainTopic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DomainTopic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventgrid_domain_topic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DomainTopic{}). + Complete(r) +} diff --git a/internal/controller/eventgrid/eventsubscription/zz_controller.go b/internal/controller/eventgrid/eventsubscription/zz_controller.go new file mode 100755 index 000000000..d7ee84476 --- /dev/null +++ b/internal/controller/eventgrid/eventsubscription/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package eventsubscription + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" +) + +// Setup adds a controller that reconciles EventSubscription managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EventSubscription_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EventSubscription_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventgrid_event_subscription"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EventSubscription{}). + Complete(r) +} diff --git a/internal/controller/eventgrid/systemtopic/zz_controller.go b/internal/controller/eventgrid/systemtopic/zz_controller.go new file mode 100755 index 000000000..8e4352a0a --- /dev/null +++ b/internal/controller/eventgrid/systemtopic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package systemtopic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" +) + +// Setup adds a controller that reconciles SystemTopic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SystemTopic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SystemTopic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventgrid_system_topic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SystemTopic{}). + Complete(r) +} diff --git a/internal/controller/eventgrid/systemtopiceventsubscription/zz_controller.go b/internal/controller/eventgrid/systemtopiceventsubscription/zz_controller.go new file mode 100755 index 000000000..a4152e924 --- /dev/null +++ b/internal/controller/eventgrid/systemtopiceventsubscription/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package systemtopiceventsubscription + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" +) + +// Setup adds a controller that reconciles SystemTopicEventSubscription managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SystemTopicEventSubscription_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SystemTopicEventSubscription_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventgrid_system_topic_event_subscription"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SystemTopicEventSubscription{}). + Complete(r) +} diff --git a/internal/controller/eventgrid/topic/zz_controller.go b/internal/controller/eventgrid/topic/zz_controller.go new file mode 100755 index 000000000..427f38606 --- /dev/null +++ b/internal/controller/eventgrid/topic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package topic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventgrid/v1alpha1" +) + +// Setup adds a controller that reconciles Topic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Topic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Topic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventgrid_topic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Topic{}). + Complete(r) +} diff --git a/internal/controller/eventhub/authorizationrule/zz_controller.go b/internal/controller/eventhub/authorizationrule/zz_controller.go new file mode 100755 index 000000000..db30d49cf --- /dev/null +++ b/internal/controller/eventhub/authorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package authorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles AuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/eventhub/cluster/zz_controller.go b/internal/controller/eventhub/cluster/zz_controller.go new file mode 100755 index 000000000..a43459864 --- /dev/null +++ b/internal/controller/eventhub/cluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles Cluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Cluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Cluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Cluster{}). + Complete(r) +} diff --git a/internal/controller/eventhub/consumergroup/zz_controller.go b/internal/controller/eventhub/consumergroup/zz_controller.go new file mode 100755 index 000000000..4c19d42f5 --- /dev/null +++ b/internal/controller/eventhub/consumergroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package consumergroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles ConsumerGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ConsumerGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ConsumerGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_consumer_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ConsumerGroup{}). + Complete(r) +} diff --git a/internal/controller/eventhub/namespace/zz_controller.go b/internal/controller/eventhub/namespace/zz_controller.go new file mode 100755 index 000000000..752b1d594 --- /dev/null +++ b/internal/controller/eventhub/namespace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles Namespace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Namespace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Namespace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_namespace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Namespace{}). + Complete(r) +} diff --git a/internal/controller/eventhub/namespaceauthorizationrule/zz_controller.go b/internal/controller/eventhub/namespaceauthorizationrule/zz_controller.go new file mode 100755 index 000000000..585d3b9b0 --- /dev/null +++ b/internal/controller/eventhub/namespaceauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespaceauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_namespace_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/eventhub/namespacecustomermanagedkey/zz_controller.go b/internal/controller/eventhub/namespacecustomermanagedkey/zz_controller.go new file mode 100755 index 000000000..dee75f0ce --- /dev/null +++ b/internal/controller/eventhub/namespacecustomermanagedkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespacecustomermanagedkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceCustomerManagedKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceCustomerManagedKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceCustomerManagedKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_namespace_customer_managed_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceCustomerManagedKey{}). + Complete(r) +} diff --git a/internal/controller/eventhub/namespacedisasterrecoveryconfig/zz_controller.go b/internal/controller/eventhub/namespacedisasterrecoveryconfig/zz_controller.go new file mode 100755 index 000000000..46c5dbf5a --- /dev/null +++ b/internal/controller/eventhub/namespacedisasterrecoveryconfig/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespacedisasterrecoveryconfig + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/eventhub/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceDisasterRecoveryConfig managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceDisasterRecoveryConfig_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceDisasterRecoveryConfig_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_eventhub_namespace_disaster_recovery_config"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceDisasterRecoveryConfig{}). + Complete(r) +} diff --git a/internal/controller/express/routecircuit/zz_controller.go b/internal/controller/express/routecircuit/zz_controller.go new file mode 100755 index 000000000..f38272c6f --- /dev/null +++ b/internal/controller/express/routecircuit/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routecircuit + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RouteCircuit managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RouteCircuit_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RouteCircuit_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_circuit"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RouteCircuit{}). + Complete(r) +} diff --git a/internal/controller/express/routecircuitauthorization/zz_controller.go b/internal/controller/express/routecircuitauthorization/zz_controller.go new file mode 100755 index 000000000..8d9b0ff83 --- /dev/null +++ b/internal/controller/express/routecircuitauthorization/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routecircuitauthorization + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RouteCircuitAuthorization managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RouteCircuitAuthorization_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RouteCircuitAuthorization_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_circuit_authorization"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RouteCircuitAuthorization{}). + Complete(r) +} diff --git a/internal/controller/express/routecircuitconnection/zz_controller.go b/internal/controller/express/routecircuitconnection/zz_controller.go new file mode 100755 index 000000000..220abdc27 --- /dev/null +++ b/internal/controller/express/routecircuitconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routecircuitconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RouteCircuitConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RouteCircuitConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RouteCircuitConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_circuit_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RouteCircuitConnection{}). + Complete(r) +} diff --git a/internal/controller/express/routecircuitpeering/zz_controller.go b/internal/controller/express/routecircuitpeering/zz_controller.go new file mode 100755 index 000000000..ed1a11419 --- /dev/null +++ b/internal/controller/express/routecircuitpeering/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routecircuitpeering + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RouteCircuitPeering managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RouteCircuitPeering_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RouteCircuitPeering_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_circuit_peering"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RouteCircuitPeering{}). + Complete(r) +} diff --git a/internal/controller/express/routeconnection/zz_controller.go b/internal/controller/express/routeconnection/zz_controller.go new file mode 100755 index 000000000..5fe851436 --- /dev/null +++ b/internal/controller/express/routeconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routeconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RouteConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RouteConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RouteConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RouteConnection{}). + Complete(r) +} diff --git a/internal/controller/express/routegateway/zz_controller.go b/internal/controller/express/routegateway/zz_controller.go new file mode 100755 index 000000000..48e2c3e7b --- /dev/null +++ b/internal/controller/express/routegateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routegateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RouteGateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RouteGateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RouteGateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RouteGateway{}). + Complete(r) +} diff --git a/internal/controller/express/routeport/zz_controller.go b/internal/controller/express/routeport/zz_controller.go new file mode 100755 index 000000000..c6e02f00e --- /dev/null +++ b/internal/controller/express/routeport/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package routeport + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/express/v1alpha1" +) + +// Setup adds a controller that reconciles RoutePort managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RoutePort_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RoutePort_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_express_route_port"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RoutePort{}). + Complete(r) +} diff --git a/internal/controller/firewall/applicationrulecollection/zz_controller.go b/internal/controller/firewall/applicationrulecollection/zz_controller.go new file mode 100755 index 000000000..4c47f7b48 --- /dev/null +++ b/internal/controller/firewall/applicationrulecollection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package applicationrulecollection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/firewall/v1alpha1" +) + +// Setup adds a controller that reconciles ApplicationRuleCollection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ApplicationRuleCollection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ApplicationRuleCollection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_firewall_application_rule_collection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ApplicationRuleCollection{}). + Complete(r) +} diff --git a/internal/controller/firewall/natrulecollection/zz_controller.go b/internal/controller/firewall/natrulecollection/zz_controller.go new file mode 100755 index 000000000..dcf217402 --- /dev/null +++ b/internal/controller/firewall/natrulecollection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package natrulecollection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/firewall/v1alpha1" +) + +// Setup adds a controller that reconciles NatRuleCollection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NatRuleCollection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NatRuleCollection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_firewall_nat_rule_collection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NatRuleCollection{}). + Complete(r) +} diff --git a/internal/controller/firewall/networkrulecollection/zz_controller.go b/internal/controller/firewall/networkrulecollection/zz_controller.go new file mode 100755 index 000000000..e8d183d93 --- /dev/null +++ b/internal/controller/firewall/networkrulecollection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package networkrulecollection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/firewall/v1alpha1" +) + +// Setup adds a controller that reconciles NetworkRuleCollection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NetworkRuleCollection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NetworkRuleCollection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_firewall_network_rule_collection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NetworkRuleCollection{}). + Complete(r) +} diff --git a/internal/controller/firewall/policy/zz_controller.go b/internal/controller/firewall/policy/zz_controller.go new file mode 100755 index 000000000..07f20e9ed --- /dev/null +++ b/internal/controller/firewall/policy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package policy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/firewall/v1alpha1" +) + +// Setup adds a controller that reconciles Policy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Policy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Policy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_firewall_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Policy{}). + Complete(r) +} diff --git a/internal/controller/firewall/policyrulecollectiongroup/zz_controller.go b/internal/controller/firewall/policyrulecollectiongroup/zz_controller.go new file mode 100755 index 000000000..0b86451b1 --- /dev/null +++ b/internal/controller/firewall/policyrulecollectiongroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package policyrulecollectiongroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/firewall/v1alpha1" +) + +// Setup adds a controller that reconciles PolicyRuleCollectionGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PolicyRuleCollectionGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PolicyRuleCollectionGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_firewall_policy_rule_collection_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PolicyRuleCollectionGroup{}). + Complete(r) +} diff --git a/internal/controller/frontdoor/customhttpsconfiguration/zz_controller.go b/internal/controller/frontdoor/customhttpsconfiguration/zz_controller.go new file mode 100755 index 000000000..28afe52e1 --- /dev/null +++ b/internal/controller/frontdoor/customhttpsconfiguration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package customhttpsconfiguration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/frontdoor/v1alpha1" +) + +// Setup adds a controller that reconciles CustomHttpsConfiguration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CustomHttpsConfiguration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CustomHttpsConfiguration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_frontdoor_custom_https_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CustomHttpsConfiguration{}). + Complete(r) +} diff --git a/internal/controller/frontdoor/firewallpolicy/zz_controller.go b/internal/controller/frontdoor/firewallpolicy/zz_controller.go new file mode 100755 index 000000000..d4463a05d --- /dev/null +++ b/internal/controller/frontdoor/firewallpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/frontdoor/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_frontdoor_firewall_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallPolicy{}). + Complete(r) +} diff --git a/internal/controller/frontdoor/rulesengine/zz_controller.go b/internal/controller/frontdoor/rulesengine/zz_controller.go new file mode 100755 index 000000000..becfe47f4 --- /dev/null +++ b/internal/controller/frontdoor/rulesengine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package rulesengine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/frontdoor/v1alpha1" +) + +// Setup adds a controller that reconciles RulesEngine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RulesEngine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RulesEngine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_frontdoor_rules_engine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RulesEngine{}). + Complete(r) +} diff --git a/internal/controller/function/app/zz_controller.go b/internal/controller/function/app/zz_controller.go new file mode 100755 index 000000000..0b416ee2c --- /dev/null +++ b/internal/controller/function/app/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package app + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/function/v1alpha1" +) + +// Setup adds a controller that reconciles App managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.App_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.App_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_function_app"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.App{}). + Complete(r) +} diff --git a/internal/controller/function/appslot/zz_controller.go b/internal/controller/function/appslot/zz_controller.go new file mode 100755 index 000000000..4a25f8fcd --- /dev/null +++ b/internal/controller/function/appslot/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appslot + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/function/v1alpha1" +) + +// Setup adds a controller that reconciles AppSlot managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppSlot_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppSlot_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_function_app_slot"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppSlot{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/hadoopcluster/zz_controller.go b/internal/controller/hdinsight/hadoopcluster/zz_controller.go new file mode 100755 index 000000000..b70192c4d --- /dev/null +++ b/internal/controller/hdinsight/hadoopcluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hadoopcluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles HadoopCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HadoopCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HadoopCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_hadoop_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HadoopCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/hbasecluster/zz_controller.go b/internal/controller/hdinsight/hbasecluster/zz_controller.go new file mode 100755 index 000000000..891aab520 --- /dev/null +++ b/internal/controller/hdinsight/hbasecluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hbasecluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles HbaseCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HbaseCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HbaseCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_hbase_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HbaseCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/interactivequerycluster/zz_controller.go b/internal/controller/hdinsight/interactivequerycluster/zz_controller.go new file mode 100755 index 000000000..9e067ec63 --- /dev/null +++ b/internal/controller/hdinsight/interactivequerycluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package interactivequerycluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles InteractiveQueryCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InteractiveQueryCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InteractiveQueryCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_interactive_query_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InteractiveQueryCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/kafkacluster/zz_controller.go b/internal/controller/hdinsight/kafkacluster/zz_controller.go new file mode 100755 index 000000000..5b875b86f --- /dev/null +++ b/internal/controller/hdinsight/kafkacluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package kafkacluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles KafkaCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.KafkaCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.KafkaCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_kafka_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.KafkaCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/mlservicescluster/zz_controller.go b/internal/controller/hdinsight/mlservicescluster/zz_controller.go new file mode 100755 index 000000000..e0b649286 --- /dev/null +++ b/internal/controller/hdinsight/mlservicescluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package mlservicescluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles MlServicesCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.MlServicesCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.MlServicesCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_ml_services_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.MlServicesCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/rservercluster/zz_controller.go b/internal/controller/hdinsight/rservercluster/zz_controller.go new file mode 100755 index 000000000..235ef5458 --- /dev/null +++ b/internal/controller/hdinsight/rservercluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package rservercluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles RserverCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RserverCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RserverCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_rserver_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RserverCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/sparkcluster/zz_controller.go b/internal/controller/hdinsight/sparkcluster/zz_controller.go new file mode 100755 index 000000000..75342af6d --- /dev/null +++ b/internal/controller/hdinsight/sparkcluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sparkcluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles SparkCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SparkCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SparkCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_spark_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SparkCluster{}). + Complete(r) +} diff --git a/internal/controller/hdinsight/stormcluster/zz_controller.go b/internal/controller/hdinsight/stormcluster/zz_controller.go new file mode 100755 index 000000000..eec25e8bb --- /dev/null +++ b/internal/controller/hdinsight/stormcluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package stormcluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hdinsight/v1alpha1" +) + +// Setup adds a controller that reconciles StormCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.StormCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.StormCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hdinsight_storm_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.StormCluster{}). + Complete(r) +} diff --git a/internal/controller/healthcare/service/zz_controller.go b/internal/controller/healthcare/service/zz_controller.go new file mode 100755 index 000000000..594c168b8 --- /dev/null +++ b/internal/controller/healthcare/service/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package service + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/healthcare/v1alpha1" +) + +// Setup adds a controller that reconciles Service managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Service_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Service_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_healthcare_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Service{}). + Complete(r) +} diff --git a/internal/controller/hpc/cache/zz_controller.go b/internal/controller/hpc/cache/zz_controller.go new file mode 100755 index 000000000..934ec277d --- /dev/null +++ b/internal/controller/hpc/cache/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cache + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hpc/v1alpha1" +) + +// Setup adds a controller that reconciles Cache managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Cache_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Cache_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hpc_cache"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Cache{}). + Complete(r) +} diff --git a/internal/controller/hpc/cacheaccesspolicy/zz_controller.go b/internal/controller/hpc/cacheaccesspolicy/zz_controller.go new file mode 100755 index 000000000..841480308 --- /dev/null +++ b/internal/controller/hpc/cacheaccesspolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cacheaccesspolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hpc/v1alpha1" +) + +// Setup adds a controller that reconciles CacheAccessPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CacheAccessPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CacheAccessPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hpc_cache_access_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CacheAccessPolicy{}). + Complete(r) +} diff --git a/internal/controller/hpc/cacheblobnfstarget/zz_controller.go b/internal/controller/hpc/cacheblobnfstarget/zz_controller.go new file mode 100755 index 000000000..7562f8e2a --- /dev/null +++ b/internal/controller/hpc/cacheblobnfstarget/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cacheblobnfstarget + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hpc/v1alpha1" +) + +// Setup adds a controller that reconciles CacheBlobNfsTarget managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CacheBlobNfsTarget_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CacheBlobNfsTarget_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hpc_cache_blob_nfs_target"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CacheBlobNfsTarget{}). + Complete(r) +} diff --git a/internal/controller/hpc/cacheblobtarget/zz_controller.go b/internal/controller/hpc/cacheblobtarget/zz_controller.go new file mode 100755 index 000000000..b5b05e2c8 --- /dev/null +++ b/internal/controller/hpc/cacheblobtarget/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cacheblobtarget + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hpc/v1alpha1" +) + +// Setup adds a controller that reconciles CacheBlobTarget managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CacheBlobTarget_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CacheBlobTarget_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hpc_cache_blob_target"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CacheBlobTarget{}). + Complete(r) +} diff --git a/internal/controller/hpc/cachenfstarget/zz_controller.go b/internal/controller/hpc/cachenfstarget/zz_controller.go new file mode 100755 index 000000000..3a9c49a9d --- /dev/null +++ b/internal/controller/hpc/cachenfstarget/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cachenfstarget + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/hpc/v1alpha1" +) + +// Setup adds a controller that reconciles CacheNfsTarget managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CacheNfsTarget_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CacheNfsTarget_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_hpc_cache_nfs_target"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CacheNfsTarget{}). + Complete(r) +} diff --git a/internal/controller/integration/serviceenvironment/zz_controller.go b/internal/controller/integration/serviceenvironment/zz_controller.go new file mode 100755 index 000000000..3a790395c --- /dev/null +++ b/internal/controller/integration/serviceenvironment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serviceenvironment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/integration/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceEnvironment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceEnvironment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceEnvironment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_integration_service_environment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceEnvironment{}). + Complete(r) +} diff --git a/internal/controller/iot/securitydevicegroup/zz_controller.go b/internal/controller/iot/securitydevicegroup/zz_controller.go new file mode 100755 index 000000000..b00187e62 --- /dev/null +++ b/internal/controller/iot/securitydevicegroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package securitydevicegroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles SecurityDeviceGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SecurityDeviceGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SecurityDeviceGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_security_device_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SecurityDeviceGroup{}). + Complete(r) +} diff --git a/internal/controller/iot/securitysolution/zz_controller.go b/internal/controller/iot/securitysolution/zz_controller.go new file mode 100755 index 000000000..2627a3e44 --- /dev/null +++ b/internal/controller/iot/securitysolution/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package securitysolution + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles SecuritySolution managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SecuritySolution_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SecuritySolution_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_security_solution"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SecuritySolution{}). + Complete(r) +} diff --git a/internal/controller/iot/timeseriesinsightsaccesspolicy/zz_controller.go b/internal/controller/iot/timeseriesinsightsaccesspolicy/zz_controller.go new file mode 100755 index 000000000..2d9664c53 --- /dev/null +++ b/internal/controller/iot/timeseriesinsightsaccesspolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package timeseriesinsightsaccesspolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles TimeSeriesInsightsAccessPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TimeSeriesInsightsAccessPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TimeSeriesInsightsAccessPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_time_series_insights_access_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TimeSeriesInsightsAccessPolicy{}). + Complete(r) +} diff --git a/internal/controller/iot/timeseriesinsightseventsourceiothub/zz_controller.go b/internal/controller/iot/timeseriesinsightseventsourceiothub/zz_controller.go new file mode 100755 index 000000000..62832e141 --- /dev/null +++ b/internal/controller/iot/timeseriesinsightseventsourceiothub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package timeseriesinsightseventsourceiothub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles TimeSeriesInsightsEventSourceIothub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TimeSeriesInsightsEventSourceIothub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TimeSeriesInsightsEventSourceIothub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_time_series_insights_event_source_iothub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TimeSeriesInsightsEventSourceIothub{}). + Complete(r) +} diff --git a/internal/controller/iot/timeseriesinsightsgen2environment/zz_controller.go b/internal/controller/iot/timeseriesinsightsgen2environment/zz_controller.go new file mode 100755 index 000000000..31d4a7b9c --- /dev/null +++ b/internal/controller/iot/timeseriesinsightsgen2environment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package timeseriesinsightsgen2environment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles TimeSeriesInsightsGen2Environment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TimeSeriesInsightsGen2Environment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TimeSeriesInsightsGen2Environment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_time_series_insights_gen2_environment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TimeSeriesInsightsGen2Environment{}). + Complete(r) +} diff --git a/internal/controller/iot/timeseriesinsightsreferencedataset/zz_controller.go b/internal/controller/iot/timeseriesinsightsreferencedataset/zz_controller.go new file mode 100755 index 000000000..5e0ca4a91 --- /dev/null +++ b/internal/controller/iot/timeseriesinsightsreferencedataset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package timeseriesinsightsreferencedataset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles TimeSeriesInsightsReferenceDataSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TimeSeriesInsightsReferenceDataSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TimeSeriesInsightsReferenceDataSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_time_series_insights_reference_data_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TimeSeriesInsightsReferenceDataSet{}). + Complete(r) +} diff --git a/internal/controller/iot/timeseriesinsightsstandardenvironment/zz_controller.go b/internal/controller/iot/timeseriesinsightsstandardenvironment/zz_controller.go new file mode 100755 index 000000000..1d5ae27b4 --- /dev/null +++ b/internal/controller/iot/timeseriesinsightsstandardenvironment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package timeseriesinsightsstandardenvironment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iot/v1alpha1" +) + +// Setup adds a controller that reconciles TimeSeriesInsightsStandardEnvironment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TimeSeriesInsightsStandardEnvironment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TimeSeriesInsightsStandardEnvironment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iot_time_series_insights_standard_environment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TimeSeriesInsightsStandardEnvironment{}). + Complete(r) +} diff --git a/internal/controller/iotcentral/application/zz_controller.go b/internal/controller/iotcentral/application/zz_controller.go new file mode 100755 index 000000000..9e2e772c2 --- /dev/null +++ b/internal/controller/iotcentral/application/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package application + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/iotcentral/v1alpha1" +) + +// Setup adds a controller that reconciles Application managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Application_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Application_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_iotcentral_application"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Application{}). + Complete(r) +} diff --git a/internal/controller/key/vault/zz_controller.go b/internal/controller/key/vault/zz_controller.go new file mode 100755 index 000000000..18c42bdd6 --- /dev/null +++ b/internal/controller/key/vault/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vault + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles Vault managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Vault_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Vault_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Vault{}). + Complete(r) +} diff --git a/internal/controller/key/vaultaccesspolicy/zz_controller.go b/internal/controller/key/vaultaccesspolicy/zz_controller.go new file mode 100755 index 000000000..db41f551c --- /dev/null +++ b/internal/controller/key/vaultaccesspolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultaccesspolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultAccessPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultAccessPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultAccessPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_access_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultAccessPolicy{}). + Complete(r) +} diff --git a/internal/controller/key/vaultcertificate/zz_controller.go b/internal/controller/key/vaultcertificate/zz_controller.go new file mode 100755 index 000000000..d18efe640 --- /dev/null +++ b/internal/controller/key/vaultcertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultcertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultCertificate{}). + Complete(r) +} diff --git a/internal/controller/key/vaultcertificateissuer/zz_controller.go b/internal/controller/key/vaultcertificateissuer/zz_controller.go new file mode 100755 index 000000000..b93edf704 --- /dev/null +++ b/internal/controller/key/vaultcertificateissuer/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultcertificateissuer + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultCertificateIssuer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultCertificateIssuer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultCertificateIssuer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_certificate_issuer"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultCertificateIssuer{}). + Complete(r) +} diff --git a/internal/controller/key/vaultkey/zz_controller.go b/internal/controller/key/vaultkey/zz_controller.go new file mode 100755 index 000000000..4985c8587 --- /dev/null +++ b/internal/controller/key/vaultkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultKey{}). + Complete(r) +} diff --git a/internal/controller/key/vaultmanagedhardwaresecuritymodule/zz_controller.go b/internal/controller/key/vaultmanagedhardwaresecuritymodule/zz_controller.go new file mode 100755 index 000000000..9469c5115 --- /dev/null +++ b/internal/controller/key/vaultmanagedhardwaresecuritymodule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultmanagedhardwaresecuritymodule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultManagedHardwareSecurityModule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultManagedHardwareSecurityModule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultManagedHardwareSecurityModule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_managed_hardware_security_module"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultManagedHardwareSecurityModule{}). + Complete(r) +} diff --git a/internal/controller/key/vaultmanagedstorageaccount/zz_controller.go b/internal/controller/key/vaultmanagedstorageaccount/zz_controller.go new file mode 100755 index 000000000..05d626604 --- /dev/null +++ b/internal/controller/key/vaultmanagedstorageaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultmanagedstorageaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultManagedStorageAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultManagedStorageAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultManagedStorageAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_managed_storage_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultManagedStorageAccount{}). + Complete(r) +} diff --git a/internal/controller/key/vaultmanagedstorageaccountsastokendefinition/zz_controller.go b/internal/controller/key/vaultmanagedstorageaccountsastokendefinition/zz_controller.go new file mode 100755 index 000000000..6e8767088 --- /dev/null +++ b/internal/controller/key/vaultmanagedstorageaccountsastokendefinition/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultmanagedstorageaccountsastokendefinition + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultManagedStorageAccountSasTokenDefinition managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultManagedStorageAccountSasTokenDefinition_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultManagedStorageAccountSasTokenDefinition_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_managed_storage_account_sas_token_definition"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultManagedStorageAccountSasTokenDefinition{}). + Complete(r) +} diff --git a/internal/controller/key/vaultsecret/zz_controller.go b/internal/controller/key/vaultsecret/zz_controller.go new file mode 100755 index 000000000..1d3992547 --- /dev/null +++ b/internal/controller/key/vaultsecret/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package vaultsecret + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/key/v1alpha1" +) + +// Setup adds a controller that reconciles VaultSecret managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VaultSecret_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VaultSecret_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_key_vault_secret"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VaultSecret{}). + Complete(r) +} diff --git a/internal/controller/kusto/attacheddatabaseconfiguration/zz_controller.go b/internal/controller/kusto/attacheddatabaseconfiguration/zz_controller.go new file mode 100755 index 000000000..4b91c59a5 --- /dev/null +++ b/internal/controller/kusto/attacheddatabaseconfiguration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package attacheddatabaseconfiguration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles AttachedDatabaseConfiguration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AttachedDatabaseConfiguration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AttachedDatabaseConfiguration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_attached_database_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AttachedDatabaseConfiguration{}). + Complete(r) +} diff --git a/internal/controller/kusto/cluster/zz_controller.go b/internal/controller/kusto/cluster/zz_controller.go new file mode 100755 index 000000000..d4a0d63f4 --- /dev/null +++ b/internal/controller/kusto/cluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles Cluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Cluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Cluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Cluster{}). + Complete(r) +} diff --git a/internal/controller/kusto/clustercustomermanagedkey/zz_controller.go b/internal/controller/kusto/clustercustomermanagedkey/zz_controller.go new file mode 100755 index 000000000..5d332ed3d --- /dev/null +++ b/internal/controller/kusto/clustercustomermanagedkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package clustercustomermanagedkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles ClusterCustomerManagedKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ClusterCustomerManagedKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ClusterCustomerManagedKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_cluster_customer_managed_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ClusterCustomerManagedKey{}). + Complete(r) +} diff --git a/internal/controller/kusto/clusterprincipalassignment/zz_controller.go b/internal/controller/kusto/clusterprincipalassignment/zz_controller.go new file mode 100755 index 000000000..4b731ca14 --- /dev/null +++ b/internal/controller/kusto/clusterprincipalassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package clusterprincipalassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles ClusterPrincipalAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ClusterPrincipalAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ClusterPrincipalAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_cluster_principal_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ClusterPrincipalAssignment{}). + Complete(r) +} diff --git a/internal/controller/kusto/database/zz_controller.go b/internal/controller/kusto/database/zz_controller.go new file mode 100755 index 000000000..9f609e0d6 --- /dev/null +++ b/internal/controller/kusto/database/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package database + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles Database managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Database_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Database_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Database{}). + Complete(r) +} diff --git a/internal/controller/kusto/databaseprincipal/zz_controller.go b/internal/controller/kusto/databaseprincipal/zz_controller.go new file mode 100755 index 000000000..72f8115d1 --- /dev/null +++ b/internal/controller/kusto/databaseprincipal/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package databaseprincipal + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles DatabasePrincipal managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DatabasePrincipal_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DatabasePrincipal_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_database_principal"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DatabasePrincipal{}). + Complete(r) +} diff --git a/internal/controller/kusto/databaseprincipalassignment/zz_controller.go b/internal/controller/kusto/databaseprincipalassignment/zz_controller.go new file mode 100755 index 000000000..5debf75c0 --- /dev/null +++ b/internal/controller/kusto/databaseprincipalassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package databaseprincipalassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles DatabasePrincipalAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DatabasePrincipalAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DatabasePrincipalAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_database_principal_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DatabasePrincipalAssignment{}). + Complete(r) +} diff --git a/internal/controller/kusto/eventgriddataconnection/zz_controller.go b/internal/controller/kusto/eventgriddataconnection/zz_controller.go new file mode 100755 index 000000000..b62772fdb --- /dev/null +++ b/internal/controller/kusto/eventgriddataconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package eventgriddataconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles EventgridDataConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EventgridDataConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EventgridDataConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_eventgrid_data_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EventgridDataConnection{}). + Complete(r) +} diff --git a/internal/controller/kusto/eventhubdataconnection/zz_controller.go b/internal/controller/kusto/eventhubdataconnection/zz_controller.go new file mode 100755 index 000000000..503417061 --- /dev/null +++ b/internal/controller/kusto/eventhubdataconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package eventhubdataconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles EventhubDataConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EventhubDataConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EventhubDataConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_eventhub_data_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EventhubDataConnection{}). + Complete(r) +} diff --git a/internal/controller/kusto/iothubdataconnection/zz_controller.go b/internal/controller/kusto/iothubdataconnection/zz_controller.go new file mode 100755 index 000000000..4e727371d --- /dev/null +++ b/internal/controller/kusto/iothubdataconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package iothubdataconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/kusto/v1alpha1" +) + +// Setup adds a controller that reconciles IothubDataConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.IothubDataConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.IothubDataConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_kusto_iothub_data_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.IothubDataConnection{}). + Complete(r) +} diff --git a/internal/controller/lb/backendaddresspool/zz_controller.go b/internal/controller/lb/backendaddresspool/zz_controller.go new file mode 100755 index 000000000..7ead7e6c0 --- /dev/null +++ b/internal/controller/lb/backendaddresspool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package backendaddresspool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles BackendAddressPool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.BackendAddressPool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.BackendAddressPool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_backend_address_pool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.BackendAddressPool{}). + Complete(r) +} diff --git a/internal/controller/lb/backendaddresspooladdress/zz_controller.go b/internal/controller/lb/backendaddresspooladdress/zz_controller.go new file mode 100755 index 000000000..3acf96950 --- /dev/null +++ b/internal/controller/lb/backendaddresspooladdress/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package backendaddresspooladdress + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles BackendAddressPoolAddress managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.BackendAddressPoolAddress_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.BackendAddressPoolAddress_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_backend_address_pool_address"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.BackendAddressPoolAddress{}). + Complete(r) +} diff --git a/internal/controller/lb/natpool/zz_controller.go b/internal/controller/lb/natpool/zz_controller.go new file mode 100755 index 000000000..f861f5f77 --- /dev/null +++ b/internal/controller/lb/natpool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package natpool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles NatPool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NatPool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NatPool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_nat_pool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NatPool{}). + Complete(r) +} diff --git a/internal/controller/lb/natrule/zz_controller.go b/internal/controller/lb/natrule/zz_controller.go new file mode 100755 index 000000000..d674158b0 --- /dev/null +++ b/internal/controller/lb/natrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package natrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles NatRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NatRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NatRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_nat_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NatRule{}). + Complete(r) +} diff --git a/internal/controller/lb/outboundrule/zz_controller.go b/internal/controller/lb/outboundrule/zz_controller.go new file mode 100755 index 000000000..4563a364f --- /dev/null +++ b/internal/controller/lb/outboundrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package outboundrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles OutboundRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.OutboundRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.OutboundRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_outbound_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.OutboundRule{}). + Complete(r) +} diff --git a/internal/controller/lb/probe/zz_controller.go b/internal/controller/lb/probe/zz_controller.go new file mode 100755 index 000000000..d938e0418 --- /dev/null +++ b/internal/controller/lb/probe/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package probe + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles Probe managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Probe_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Probe_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_probe"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Probe{}). + Complete(r) +} diff --git a/internal/controller/lb/rule/zz_controller.go b/internal/controller/lb/rule/zz_controller.go new file mode 100755 index 000000000..36ae93787 --- /dev/null +++ b/internal/controller/lb/rule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package rule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lb/v1alpha1" +) + +// Setup adds a controller that reconciles Rule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Rule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Rule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lb_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Rule{}). + Complete(r) +} diff --git a/internal/controller/lighthouse/assignment/zz_controller.go b/internal/controller/lighthouse/assignment/zz_controller.go new file mode 100755 index 000000000..2bb03e753 --- /dev/null +++ b/internal/controller/lighthouse/assignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lighthouse/v1alpha1" +) + +// Setup adds a controller that reconciles Assignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Assignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Assignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lighthouse_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Assignment{}). + Complete(r) +} diff --git a/internal/controller/lighthouse/definition/zz_controller.go b/internal/controller/lighthouse/definition/zz_controller.go new file mode 100755 index 000000000..f2cec4b36 --- /dev/null +++ b/internal/controller/lighthouse/definition/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package definition + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/lighthouse/v1alpha1" +) + +// Setup adds a controller that reconciles Definition managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Definition_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Definition_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_lighthouse_definition"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Definition{}). + Complete(r) +} diff --git a/internal/controller/linux/virtualmachine/zz_controller.go b/internal/controller/linux/virtualmachine/zz_controller.go new file mode 100755 index 000000000..650257ce5 --- /dev/null +++ b/internal/controller/linux/virtualmachine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/linux/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_linux_virtual_machine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachine{}). + Complete(r) +} diff --git a/internal/controller/linux/virtualmachinescaleset/zz_controller.go b/internal/controller/linux/virtualmachinescaleset/zz_controller.go new file mode 100755 index 000000000..cb6a1208f --- /dev/null +++ b/internal/controller/linux/virtualmachinescaleset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachinescaleset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/linux/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachineScaleSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachineScaleSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachineScaleSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_linux_virtual_machine_scale_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachineScaleSet{}). + Complete(r) +} diff --git a/internal/controller/local/networkgateway/zz_controller.go b/internal/controller/local/networkgateway/zz_controller.go new file mode 100755 index 000000000..ef720e012 --- /dev/null +++ b/internal/controller/local/networkgateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package networkgateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/local/v1alpha1" +) + +// Setup adds a controller that reconciles NetworkGateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NetworkGateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NetworkGateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_local_network_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NetworkGateway{}). + Complete(r) +} diff --git a/internal/controller/log/analyticscluster/zz_controller.go b/internal/controller/log/analyticscluster/zz_controller.go new file mode 100755 index 000000000..3372e8235 --- /dev/null +++ b/internal/controller/log/analyticscluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticscluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsCluster{}). + Complete(r) +} diff --git a/internal/controller/log/analyticsclustercustomermanagedkey/zz_controller.go b/internal/controller/log/analyticsclustercustomermanagedkey/zz_controller.go new file mode 100755 index 000000000..1464fa90e --- /dev/null +++ b/internal/controller/log/analyticsclustercustomermanagedkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsclustercustomermanagedkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsClusterCustomerManagedKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsClusterCustomerManagedKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsClusterCustomerManagedKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_cluster_customer_managed_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsClusterCustomerManagedKey{}). + Complete(r) +} diff --git a/internal/controller/log/analyticsdataexportrule/zz_controller.go b/internal/controller/log/analyticsdataexportrule/zz_controller.go new file mode 100755 index 000000000..d2b40e309 --- /dev/null +++ b/internal/controller/log/analyticsdataexportrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsdataexportrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsDataExportRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsDataExportRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsDataExportRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_data_export_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsDataExportRule{}). + Complete(r) +} diff --git a/internal/controller/log/analyticsdatasourcewindowsevent/zz_controller.go b/internal/controller/log/analyticsdatasourcewindowsevent/zz_controller.go new file mode 100755 index 000000000..c3e3209cd --- /dev/null +++ b/internal/controller/log/analyticsdatasourcewindowsevent/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsdatasourcewindowsevent + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsDatasourceWindowsEvent managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsDatasourceWindowsEvent_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsDatasourceWindowsEvent_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_datasource_windows_event"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsDatasourceWindowsEvent{}). + Complete(r) +} diff --git a/internal/controller/log/analyticsdatasourcewindowsperformancecounter/zz_controller.go b/internal/controller/log/analyticsdatasourcewindowsperformancecounter/zz_controller.go new file mode 100755 index 000000000..874296c45 --- /dev/null +++ b/internal/controller/log/analyticsdatasourcewindowsperformancecounter/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsdatasourcewindowsperformancecounter + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsDatasourceWindowsPerformanceCounter managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsDatasourceWindowsPerformanceCounter_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsDatasourceWindowsPerformanceCounter_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_datasource_windows_performance_counter"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsDatasourceWindowsPerformanceCounter{}). + Complete(r) +} diff --git a/internal/controller/log/analyticslinkedservice/zz_controller.go b/internal/controller/log/analyticslinkedservice/zz_controller.go new file mode 100755 index 000000000..3ed6fed70 --- /dev/null +++ b/internal/controller/log/analyticslinkedservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticslinkedservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsLinkedService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsLinkedService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsLinkedService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_linked_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsLinkedService{}). + Complete(r) +} diff --git a/internal/controller/log/analyticslinkedstorageaccount/zz_controller.go b/internal/controller/log/analyticslinkedstorageaccount/zz_controller.go new file mode 100755 index 000000000..627039ad5 --- /dev/null +++ b/internal/controller/log/analyticslinkedstorageaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticslinkedstorageaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsLinkedStorageAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsLinkedStorageAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsLinkedStorageAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_linked_storage_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsLinkedStorageAccount{}). + Complete(r) +} diff --git a/internal/controller/log/analyticssavedsearch/zz_controller.go b/internal/controller/log/analyticssavedsearch/zz_controller.go new file mode 100755 index 000000000..dbfea7072 --- /dev/null +++ b/internal/controller/log/analyticssavedsearch/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticssavedsearch + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsSavedSearch managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsSavedSearch_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsSavedSearch_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_saved_search"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsSavedSearch{}). + Complete(r) +} diff --git a/internal/controller/log/analyticssolution/zz_controller.go b/internal/controller/log/analyticssolution/zz_controller.go new file mode 100755 index 000000000..cbd5016bc --- /dev/null +++ b/internal/controller/log/analyticssolution/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticssolution + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/log/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsSolution managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsSolution_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsSolution_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_log_analytics_solution"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsSolution{}). + Complete(r) +} diff --git a/internal/controller/logic/appactioncustom/zz_controller.go b/internal/controller/logic/appactioncustom/zz_controller.go new file mode 100755 index 000000000..033ec6481 --- /dev/null +++ b/internal/controller/logic/appactioncustom/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appactioncustom + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppActionCustom managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppActionCustom_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppActionCustom_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_action_custom"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppActionCustom{}). + Complete(r) +} diff --git a/internal/controller/logic/appactionhttp/zz_controller.go b/internal/controller/logic/appactionhttp/zz_controller.go new file mode 100755 index 000000000..6ed252266 --- /dev/null +++ b/internal/controller/logic/appactionhttp/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appactionhttp + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppActionHttp managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppActionHttp_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppActionHttp_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_action_http"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppActionHttp{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccount/zz_controller.go b/internal/controller/logic/appintegrationaccount/zz_controller.go new file mode 100755 index 000000000..889fa3826 --- /dev/null +++ b/internal/controller/logic/appintegrationaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccount{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountagreement/zz_controller.go b/internal/controller/logic/appintegrationaccountagreement/zz_controller.go new file mode 100755 index 000000000..d9c1f340b --- /dev/null +++ b/internal/controller/logic/appintegrationaccountagreement/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountagreement + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountAgreement managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountAgreement_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountAgreement_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_agreement"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountAgreement{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountassembly/zz_controller.go b/internal/controller/logic/appintegrationaccountassembly/zz_controller.go new file mode 100755 index 000000000..4a4c076c0 --- /dev/null +++ b/internal/controller/logic/appintegrationaccountassembly/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountassembly + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountAssembly managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountAssembly_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountAssembly_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_assembly"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountAssembly{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountbatchconfiguration/zz_controller.go b/internal/controller/logic/appintegrationaccountbatchconfiguration/zz_controller.go new file mode 100755 index 000000000..fbdd8c061 --- /dev/null +++ b/internal/controller/logic/appintegrationaccountbatchconfiguration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountbatchconfiguration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountBatchConfiguration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountBatchConfiguration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountBatchConfiguration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_batch_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountBatchConfiguration{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountmap/zz_controller.go b/internal/controller/logic/appintegrationaccountmap/zz_controller.go new file mode 100755 index 000000000..9e888117a --- /dev/null +++ b/internal/controller/logic/appintegrationaccountmap/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountmap + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountMap managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountMap_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountMap_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_map"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountMap{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountpartner/zz_controller.go b/internal/controller/logic/appintegrationaccountpartner/zz_controller.go new file mode 100755 index 000000000..9ec8c9bac --- /dev/null +++ b/internal/controller/logic/appintegrationaccountpartner/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountpartner + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountPartner managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountPartner_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountPartner_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_partner"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountPartner{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountschema/zz_controller.go b/internal/controller/logic/appintegrationaccountschema/zz_controller.go new file mode 100755 index 000000000..7e99a0afe --- /dev/null +++ b/internal/controller/logic/appintegrationaccountschema/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountschema + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountSchema managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountSchema_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountSchema_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_schema"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountSchema{}). + Complete(r) +} diff --git a/internal/controller/logic/appintegrationaccountsession/zz_controller.go b/internal/controller/logic/appintegrationaccountsession/zz_controller.go new file mode 100755 index 000000000..31ae1c23e --- /dev/null +++ b/internal/controller/logic/appintegrationaccountsession/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appintegrationaccountsession + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppIntegrationAccountSession managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppIntegrationAccountSession_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppIntegrationAccountSession_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_integration_account_session"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppIntegrationAccountSession{}). + Complete(r) +} diff --git a/internal/controller/logic/apptriggercustom/zz_controller.go b/internal/controller/logic/apptriggercustom/zz_controller.go new file mode 100755 index 000000000..0aad77c82 --- /dev/null +++ b/internal/controller/logic/apptriggercustom/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package apptriggercustom + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppTriggerCustom managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppTriggerCustom_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppTriggerCustom_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_trigger_custom"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppTriggerCustom{}). + Complete(r) +} diff --git a/internal/controller/logic/apptriggerhttprequest/zz_controller.go b/internal/controller/logic/apptriggerhttprequest/zz_controller.go new file mode 100755 index 000000000..814186008 --- /dev/null +++ b/internal/controller/logic/apptriggerhttprequest/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package apptriggerhttprequest + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppTriggerHttpRequest managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppTriggerHttpRequest_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppTriggerHttpRequest_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_trigger_http_request"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppTriggerHttpRequest{}). + Complete(r) +} diff --git a/internal/controller/logic/apptriggerrecurrence/zz_controller.go b/internal/controller/logic/apptriggerrecurrence/zz_controller.go new file mode 100755 index 000000000..cf3a44859 --- /dev/null +++ b/internal/controller/logic/apptriggerrecurrence/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package apptriggerrecurrence + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppTriggerRecurrence managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppTriggerRecurrence_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppTriggerRecurrence_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_trigger_recurrence"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppTriggerRecurrence{}). + Complete(r) +} diff --git a/internal/controller/logic/appworkflow/zz_controller.go b/internal/controller/logic/appworkflow/zz_controller.go new file mode 100755 index 000000000..e83d0b209 --- /dev/null +++ b/internal/controller/logic/appworkflow/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package appworkflow + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/logic/v1alpha1" +) + +// Setup adds a controller that reconciles AppWorkflow managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AppWorkflow_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AppWorkflow_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_logic_app_workflow"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AppWorkflow{}). + Complete(r) +} diff --git a/internal/controller/machine/learningcomputecluster/zz_controller.go b/internal/controller/machine/learningcomputecluster/zz_controller.go new file mode 100755 index 000000000..19b937277 --- /dev/null +++ b/internal/controller/machine/learningcomputecluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package learningcomputecluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/machine/v1alpha1" +) + +// Setup adds a controller that reconciles LearningComputeCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LearningComputeCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LearningComputeCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_machine_learning_compute_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LearningComputeCluster{}). + Complete(r) +} diff --git a/internal/controller/machine/learningcomputeinstance/zz_controller.go b/internal/controller/machine/learningcomputeinstance/zz_controller.go new file mode 100755 index 000000000..2e842f244 --- /dev/null +++ b/internal/controller/machine/learningcomputeinstance/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package learningcomputeinstance + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/machine/v1alpha1" +) + +// Setup adds a controller that reconciles LearningComputeInstance managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LearningComputeInstance_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LearningComputeInstance_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_machine_learning_compute_instance"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LearningComputeInstance{}). + Complete(r) +} diff --git a/internal/controller/machine/learningsynapsespark/zz_controller.go b/internal/controller/machine/learningsynapsespark/zz_controller.go new file mode 100755 index 000000000..720006951 --- /dev/null +++ b/internal/controller/machine/learningsynapsespark/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package learningsynapsespark + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/machine/v1alpha1" +) + +// Setup adds a controller that reconciles LearningSynapseSpark managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LearningSynapseSpark_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LearningSynapseSpark_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_machine_learning_synapse_spark"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LearningSynapseSpark{}). + Complete(r) +} diff --git a/internal/controller/machine/learningworkspace/zz_controller.go b/internal/controller/machine/learningworkspace/zz_controller.go new file mode 100755 index 000000000..b2c51694b --- /dev/null +++ b/internal/controller/machine/learningworkspace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package learningworkspace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/machine/v1alpha1" +) + +// Setup adds a controller that reconciles LearningWorkspace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LearningWorkspace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LearningWorkspace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_machine_learning_workspace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LearningWorkspace{}). + Complete(r) +} diff --git a/internal/controller/maintenance/assignmentdedicatedhost/zz_controller.go b/internal/controller/maintenance/assignmentdedicatedhost/zz_controller.go new file mode 100755 index 000000000..c807040fb --- /dev/null +++ b/internal/controller/maintenance/assignmentdedicatedhost/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignmentdedicatedhost + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/maintenance/v1alpha1" +) + +// Setup adds a controller that reconciles AssignmentDedicatedHost managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AssignmentDedicatedHost_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AssignmentDedicatedHost_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_maintenance_assignment_dedicated_host"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AssignmentDedicatedHost{}). + Complete(r) +} diff --git a/internal/controller/maintenance/assignmentvirtualmachine/zz_controller.go b/internal/controller/maintenance/assignmentvirtualmachine/zz_controller.go new file mode 100755 index 000000000..18252ae89 --- /dev/null +++ b/internal/controller/maintenance/assignmentvirtualmachine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignmentvirtualmachine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/maintenance/v1alpha1" +) + +// Setup adds a controller that reconciles AssignmentVirtualMachine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AssignmentVirtualMachine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AssignmentVirtualMachine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_maintenance_assignment_virtual_machine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AssignmentVirtualMachine{}). + Complete(r) +} diff --git a/internal/controller/maintenance/assignmentvirtualmachinescaleset/zz_controller.go b/internal/controller/maintenance/assignmentvirtualmachinescaleset/zz_controller.go new file mode 100755 index 000000000..093b6c7d9 --- /dev/null +++ b/internal/controller/maintenance/assignmentvirtualmachinescaleset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignmentvirtualmachinescaleset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/maintenance/v1alpha1" +) + +// Setup adds a controller that reconciles AssignmentVirtualMachineScaleSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AssignmentVirtualMachineScaleSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AssignmentVirtualMachineScaleSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_maintenance_assignment_virtual_machine_scale_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AssignmentVirtualMachineScaleSet{}). + Complete(r) +} diff --git a/internal/controller/maintenance/configuration/zz_controller.go b/internal/controller/maintenance/configuration/zz_controller.go new file mode 100755 index 000000000..49f5c2c61 --- /dev/null +++ b/internal/controller/maintenance/configuration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package configuration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/maintenance/v1alpha1" +) + +// Setup adds a controller that reconciles Configuration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Configuration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Configuration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_maintenance_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Configuration{}). + Complete(r) +} diff --git a/internal/controller/managed/application/zz_controller.go b/internal/controller/managed/application/zz_controller.go new file mode 100755 index 000000000..8ea05a403 --- /dev/null +++ b/internal/controller/managed/application/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package application + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/managed/v1alpha1" +) + +// Setup adds a controller that reconciles Application managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Application_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Application_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_managed_application"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Application{}). + Complete(r) +} diff --git a/internal/controller/managed/applicationdefinition/zz_controller.go b/internal/controller/managed/applicationdefinition/zz_controller.go new file mode 100755 index 000000000..4ed2e94dc --- /dev/null +++ b/internal/controller/managed/applicationdefinition/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package applicationdefinition + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/managed/v1alpha1" +) + +// Setup adds a controller that reconciles ApplicationDefinition managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ApplicationDefinition_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ApplicationDefinition_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_managed_application_definition"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ApplicationDefinition{}). + Complete(r) +} diff --git a/internal/controller/managed/disk/zz_controller.go b/internal/controller/managed/disk/zz_controller.go new file mode 100755 index 000000000..b8afd4535 --- /dev/null +++ b/internal/controller/managed/disk/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package disk + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/managed/v1alpha1" +) + +// Setup adds a controller that reconciles Disk managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Disk_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Disk_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_managed_disk"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Disk{}). + Complete(r) +} diff --git a/internal/controller/management/grouppolicyassignment/zz_controller.go b/internal/controller/management/grouppolicyassignment/zz_controller.go new file mode 100755 index 000000000..abb60405f --- /dev/null +++ b/internal/controller/management/grouppolicyassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package grouppolicyassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/management/v1alpha1" +) + +// Setup adds a controller that reconciles GroupPolicyAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.GroupPolicyAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.GroupPolicyAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_management_group_policy_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.GroupPolicyAssignment{}). + Complete(r) +} diff --git a/internal/controller/management/groupsubscriptionassociation/zz_controller.go b/internal/controller/management/groupsubscriptionassociation/zz_controller.go new file mode 100755 index 000000000..81301fc0a --- /dev/null +++ b/internal/controller/management/groupsubscriptionassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package groupsubscriptionassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/management/v1alpha1" +) + +// Setup adds a controller that reconciles GroupSubscriptionAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.GroupSubscriptionAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.GroupSubscriptionAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_management_group_subscription_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.GroupSubscriptionAssociation{}). + Complete(r) +} diff --git a/internal/controller/management/grouptemplatedeployment/zz_controller.go b/internal/controller/management/grouptemplatedeployment/zz_controller.go new file mode 100755 index 000000000..a2ed66b0e --- /dev/null +++ b/internal/controller/management/grouptemplatedeployment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package grouptemplatedeployment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/management/v1alpha1" +) + +// Setup adds a controller that reconciles GroupTemplateDeployment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.GroupTemplateDeployment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.GroupTemplateDeployment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_management_group_template_deployment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.GroupTemplateDeployment{}). + Complete(r) +} diff --git a/internal/controller/management/lock/zz_controller.go b/internal/controller/management/lock/zz_controller.go new file mode 100755 index 000000000..db266486b --- /dev/null +++ b/internal/controller/management/lock/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package lock + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/management/v1alpha1" +) + +// Setup adds a controller that reconciles Lock managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Lock_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Lock_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_management_lock"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Lock{}). + Complete(r) +} diff --git a/internal/controller/management/managementgroup/zz_controller.go b/internal/controller/management/managementgroup/zz_controller.go new file mode 100755 index 000000000..8f0de6da2 --- /dev/null +++ b/internal/controller/management/managementgroup/zz_controller.go @@ -0,0 +1,57 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementgroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/management/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_management_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementGroup{}). + Complete(r) +} diff --git a/internal/controller/maps/account/zz_controller.go b/internal/controller/maps/account/zz_controller.go new file mode 100755 index 000000000..7911685e2 --- /dev/null +++ b/internal/controller/maps/account/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package account + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/maps/v1alpha1" +) + +// Setup adds a controller that reconciles Account managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Account_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Account_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_maps_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Account{}). + Complete(r) +} diff --git a/internal/controller/mariadb/configuration/zz_controller.go b/internal/controller/mariadb/configuration/zz_controller.go new file mode 100755 index 000000000..612ba7ea1 --- /dev/null +++ b/internal/controller/mariadb/configuration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package configuration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mariadb/v1alpha1" +) + +// Setup adds a controller that reconciles Configuration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Configuration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Configuration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mariadb_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Configuration{}). + Complete(r) +} diff --git a/internal/controller/mariadb/database/zz_controller.go b/internal/controller/mariadb/database/zz_controller.go new file mode 100755 index 000000000..86ffdc69d --- /dev/null +++ b/internal/controller/mariadb/database/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package database + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mariadb/v1alpha1" +) + +// Setup adds a controller that reconciles Database managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Database_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Database_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mariadb_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Database{}). + Complete(r) +} diff --git a/internal/controller/mariadb/firewallrule/zz_controller.go b/internal/controller/mariadb/firewallrule/zz_controller.go new file mode 100755 index 000000000..9c5ca71e7 --- /dev/null +++ b/internal/controller/mariadb/firewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mariadb/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mariadb_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallRule{}). + Complete(r) +} diff --git a/internal/controller/mariadb/server/zz_controller.go b/internal/controller/mariadb/server/zz_controller.go new file mode 100755 index 000000000..17d33686b --- /dev/null +++ b/internal/controller/mariadb/server/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package server + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mariadb/v1alpha1" +) + +// Setup adds a controller that reconciles Server managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Server_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Server_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mariadb_server"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Server{}). + Complete(r) +} diff --git a/internal/controller/mariadb/virtualnetworkrule/zz_controller.go b/internal/controller/mariadb/virtualnetworkrule/zz_controller.go new file mode 100755 index 000000000..4c392ee2e --- /dev/null +++ b/internal/controller/mariadb/virtualnetworkrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualnetworkrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mariadb/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualNetworkRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualNetworkRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualNetworkRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mariadb_virtual_network_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualNetworkRule{}). + Complete(r) +} diff --git a/internal/controller/marketplace/agreement/zz_controller.go b/internal/controller/marketplace/agreement/zz_controller.go new file mode 100755 index 000000000..aa00423d5 --- /dev/null +++ b/internal/controller/marketplace/agreement/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package agreement + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/marketplace/v1alpha1" +) + +// Setup adds a controller that reconciles Agreement managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Agreement_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Agreement_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_marketplace_agreement"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Agreement{}). + Complete(r) +} diff --git a/internal/controller/media/asset/zz_controller.go b/internal/controller/media/asset/zz_controller.go new file mode 100755 index 000000000..22eb81f23 --- /dev/null +++ b/internal/controller/media/asset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package asset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles Asset managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Asset_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Asset_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_asset"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Asset{}). + Complete(r) +} diff --git a/internal/controller/media/assetfilter/zz_controller.go b/internal/controller/media/assetfilter/zz_controller.go new file mode 100755 index 000000000..f7dc3d2f3 --- /dev/null +++ b/internal/controller/media/assetfilter/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assetfilter + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles AssetFilter managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AssetFilter_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AssetFilter_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_asset_filter"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AssetFilter{}). + Complete(r) +} diff --git a/internal/controller/media/contentkeypolicy/zz_controller.go b/internal/controller/media/contentkeypolicy/zz_controller.go new file mode 100755 index 000000000..4c5fc7f4a --- /dev/null +++ b/internal/controller/media/contentkeypolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package contentkeypolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles ContentKeyPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ContentKeyPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ContentKeyPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_content_key_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ContentKeyPolicy{}). + Complete(r) +} diff --git a/internal/controller/media/job/zz_controller.go b/internal/controller/media/job/zz_controller.go new file mode 100755 index 000000000..3141920cd --- /dev/null +++ b/internal/controller/media/job/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package job + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles Job managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Job_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Job_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_job"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Job{}). + Complete(r) +} diff --git a/internal/controller/media/liveevent/zz_controller.go b/internal/controller/media/liveevent/zz_controller.go new file mode 100755 index 000000000..215b2356f --- /dev/null +++ b/internal/controller/media/liveevent/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package liveevent + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles LiveEvent managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LiveEvent_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LiveEvent_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_live_event"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LiveEvent{}). + Complete(r) +} diff --git a/internal/controller/media/liveeventoutput/zz_controller.go b/internal/controller/media/liveeventoutput/zz_controller.go new file mode 100755 index 000000000..8a40e1b8e --- /dev/null +++ b/internal/controller/media/liveeventoutput/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package liveeventoutput + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles LiveEventOutput managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LiveEventOutput_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LiveEventOutput_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_live_event_output"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LiveEventOutput{}). + Complete(r) +} diff --git a/internal/controller/media/servicesaccount/zz_controller.go b/internal/controller/media/servicesaccount/zz_controller.go new file mode 100755 index 000000000..2a60aac94 --- /dev/null +++ b/internal/controller/media/servicesaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicesaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles ServicesAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServicesAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServicesAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_services_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServicesAccount{}). + Complete(r) +} diff --git a/internal/controller/media/streamingendpoint/zz_controller.go b/internal/controller/media/streamingendpoint/zz_controller.go new file mode 100755 index 000000000..e1dd8e21b --- /dev/null +++ b/internal/controller/media/streamingendpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package streamingendpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles StreamingEndpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.StreamingEndpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.StreamingEndpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_streaming_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.StreamingEndpoint{}). + Complete(r) +} diff --git a/internal/controller/media/streaminglocator/zz_controller.go b/internal/controller/media/streaminglocator/zz_controller.go new file mode 100755 index 000000000..46a4558a9 --- /dev/null +++ b/internal/controller/media/streaminglocator/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package streaminglocator + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles StreamingLocator managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.StreamingLocator_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.StreamingLocator_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_streaming_locator"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.StreamingLocator{}). + Complete(r) +} diff --git a/internal/controller/media/streamingpolicy/zz_controller.go b/internal/controller/media/streamingpolicy/zz_controller.go new file mode 100755 index 000000000..db7931c98 --- /dev/null +++ b/internal/controller/media/streamingpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package streamingpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles StreamingPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.StreamingPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.StreamingPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_streaming_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.StreamingPolicy{}). + Complete(r) +} diff --git a/internal/controller/media/transform/zz_controller.go b/internal/controller/media/transform/zz_controller.go new file mode 100755 index 000000000..2e9451d4a --- /dev/null +++ b/internal/controller/media/transform/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package transform + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/media/v1alpha1" +) + +// Setup adds a controller that reconciles Transform managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Transform_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Transform_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_media_transform"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Transform{}). + Complete(r) +} diff --git a/internal/controller/monitor/aaddiagnosticsetting/zz_controller.go b/internal/controller/monitor/aaddiagnosticsetting/zz_controller.go new file mode 100755 index 000000000..3e9e52ad7 --- /dev/null +++ b/internal/controller/monitor/aaddiagnosticsetting/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package aaddiagnosticsetting + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles AadDiagnosticSetting managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AadDiagnosticSetting_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AadDiagnosticSetting_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_aad_diagnostic_setting"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AadDiagnosticSetting{}). + Complete(r) +} diff --git a/internal/controller/monitor/actiongroup/zz_controller.go b/internal/controller/monitor/actiongroup/zz_controller.go new file mode 100755 index 000000000..3cf8bf092 --- /dev/null +++ b/internal/controller/monitor/actiongroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package actiongroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles ActionGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ActionGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ActionGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_action_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ActionGroup{}). + Complete(r) +} diff --git a/internal/controller/monitor/actionruleactiongroup/zz_controller.go b/internal/controller/monitor/actionruleactiongroup/zz_controller.go new file mode 100755 index 000000000..f26552259 --- /dev/null +++ b/internal/controller/monitor/actionruleactiongroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package actionruleactiongroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles ActionRuleActionGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ActionRuleActionGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ActionRuleActionGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_action_rule_action_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ActionRuleActionGroup{}). + Complete(r) +} diff --git a/internal/controller/monitor/actionrulesuppression/zz_controller.go b/internal/controller/monitor/actionrulesuppression/zz_controller.go new file mode 100755 index 000000000..aa487bf96 --- /dev/null +++ b/internal/controller/monitor/actionrulesuppression/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package actionrulesuppression + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles ActionRuleSuppression managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ActionRuleSuppression_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ActionRuleSuppression_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_action_rule_suppression"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ActionRuleSuppression{}). + Complete(r) +} diff --git a/internal/controller/monitor/activitylogalert/zz_controller.go b/internal/controller/monitor/activitylogalert/zz_controller.go new file mode 100755 index 000000000..5593a63d6 --- /dev/null +++ b/internal/controller/monitor/activitylogalert/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package activitylogalert + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles ActivityLogAlert managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ActivityLogAlert_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ActivityLogAlert_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_activity_log_alert"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ActivityLogAlert{}). + Complete(r) +} diff --git a/internal/controller/monitor/autoscalesetting/zz_controller.go b/internal/controller/monitor/autoscalesetting/zz_controller.go new file mode 100755 index 000000000..780030a4e --- /dev/null +++ b/internal/controller/monitor/autoscalesetting/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package autoscalesetting + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles AutoscaleSetting managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AutoscaleSetting_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AutoscaleSetting_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_autoscale_setting"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AutoscaleSetting{}). + Complete(r) +} diff --git a/internal/controller/monitor/diagnosticsetting/zz_controller.go b/internal/controller/monitor/diagnosticsetting/zz_controller.go new file mode 100755 index 000000000..8a1aa52a9 --- /dev/null +++ b/internal/controller/monitor/diagnosticsetting/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package diagnosticsetting + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles DiagnosticSetting managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DiagnosticSetting_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DiagnosticSetting_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_diagnostic_setting"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DiagnosticSetting{}). + Complete(r) +} diff --git a/internal/controller/monitor/scheduledqueryrulesalert/zz_controller.go b/internal/controller/monitor/scheduledqueryrulesalert/zz_controller.go new file mode 100755 index 000000000..fe082d92d --- /dev/null +++ b/internal/controller/monitor/scheduledqueryrulesalert/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package scheduledqueryrulesalert + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles ScheduledQueryRulesAlert managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ScheduledQueryRulesAlert_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ScheduledQueryRulesAlert_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_scheduled_query_rules_alert"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ScheduledQueryRulesAlert{}). + Complete(r) +} diff --git a/internal/controller/monitor/scheduledqueryruleslog/zz_controller.go b/internal/controller/monitor/scheduledqueryruleslog/zz_controller.go new file mode 100755 index 000000000..8ad523e61 --- /dev/null +++ b/internal/controller/monitor/scheduledqueryruleslog/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package scheduledqueryruleslog + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles ScheduledQueryRulesLog managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ScheduledQueryRulesLog_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ScheduledQueryRulesLog_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_scheduled_query_rules_log"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ScheduledQueryRulesLog{}). + Complete(r) +} diff --git a/internal/controller/monitor/smartdetectoralertrule/zz_controller.go b/internal/controller/monitor/smartdetectoralertrule/zz_controller.go new file mode 100755 index 000000000..e9282e7d1 --- /dev/null +++ b/internal/controller/monitor/smartdetectoralertrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package smartdetectoralertrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/monitor/v1alpha1" +) + +// Setup adds a controller that reconciles SmartDetectorAlertRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SmartDetectorAlertRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SmartDetectorAlertRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_monitor_smart_detector_alert_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SmartDetectorAlertRule{}). + Complete(r) +} diff --git a/internal/controller/mssql/database/zz_controller.go b/internal/controller/mssql/database/zz_controller.go new file mode 100755 index 000000000..3b8010698 --- /dev/null +++ b/internal/controller/mssql/database/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package database + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles Database managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Database_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Database_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Database{}). + Complete(r) +} diff --git a/internal/controller/mssql/databaseextendedauditingpolicy/zz_controller.go b/internal/controller/mssql/databaseextendedauditingpolicy/zz_controller.go new file mode 100755 index 000000000..803e8ff6f --- /dev/null +++ b/internal/controller/mssql/databaseextendedauditingpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package databaseextendedauditingpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles DatabaseExtendedAuditingPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DatabaseExtendedAuditingPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DatabaseExtendedAuditingPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_database_extended_auditing_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DatabaseExtendedAuditingPolicy{}). + Complete(r) +} diff --git a/internal/controller/mssql/databasevulnerabilityassessmentrulebaseline/zz_controller.go b/internal/controller/mssql/databasevulnerabilityassessmentrulebaseline/zz_controller.go new file mode 100755 index 000000000..be683e27b --- /dev/null +++ b/internal/controller/mssql/databasevulnerabilityassessmentrulebaseline/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package databasevulnerabilityassessmentrulebaseline + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles DatabaseVulnerabilityAssessmentRuleBaseline managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DatabaseVulnerabilityAssessmentRuleBaseline_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DatabaseVulnerabilityAssessmentRuleBaseline_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_database_vulnerability_assessment_rule_baseline"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DatabaseVulnerabilityAssessmentRuleBaseline{}). + Complete(r) +} diff --git a/internal/controller/mssql/elasticpool/zz_controller.go b/internal/controller/mssql/elasticpool/zz_controller.go new file mode 100755 index 000000000..3f09e4dc3 --- /dev/null +++ b/internal/controller/mssql/elasticpool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package elasticpool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles Elasticpool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Elasticpool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Elasticpool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_elasticpool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Elasticpool{}). + Complete(r) +} diff --git a/internal/controller/mssql/failovergroup/zz_controller.go b/internal/controller/mssql/failovergroup/zz_controller.go new file mode 100755 index 000000000..f417c0f22 --- /dev/null +++ b/internal/controller/mssql/failovergroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package failovergroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles FailoverGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FailoverGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FailoverGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_failover_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FailoverGroup{}). + Complete(r) +} diff --git a/internal/controller/mssql/firewallrule/zz_controller.go b/internal/controller/mssql/firewallrule/zz_controller.go new file mode 100755 index 000000000..fc9098e4c --- /dev/null +++ b/internal/controller/mssql/firewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallRule{}). + Complete(r) +} diff --git a/internal/controller/mssql/jobagent/zz_controller.go b/internal/controller/mssql/jobagent/zz_controller.go new file mode 100755 index 000000000..efe2c5170 --- /dev/null +++ b/internal/controller/mssql/jobagent/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package jobagent + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles JobAgent managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.JobAgent_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.JobAgent_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_job_agent"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.JobAgent{}). + Complete(r) +} diff --git a/internal/controller/mssql/jobcredential/zz_controller.go b/internal/controller/mssql/jobcredential/zz_controller.go new file mode 100755 index 000000000..9ddd2d88f --- /dev/null +++ b/internal/controller/mssql/jobcredential/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package jobcredential + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles JobCredential managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.JobCredential_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.JobCredential_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_job_credential"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.JobCredential{}). + Complete(r) +} diff --git a/internal/controller/mssql/serversecurityalertpolicy/zz_controller.go b/internal/controller/mssql/serversecurityalertpolicy/zz_controller.go new file mode 100755 index 000000000..6e0240880 --- /dev/null +++ b/internal/controller/mssql/serversecurityalertpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serversecurityalertpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles ServerSecurityAlertPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServerSecurityAlertPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServerSecurityAlertPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_server_security_alert_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServerSecurityAlertPolicy{}). + Complete(r) +} diff --git a/internal/controller/mssql/servertransparentdataencryption/zz_controller.go b/internal/controller/mssql/servertransparentdataencryption/zz_controller.go new file mode 100755 index 000000000..3dda19c86 --- /dev/null +++ b/internal/controller/mssql/servertransparentdataencryption/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servertransparentdataencryption + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles ServerTransparentDataEncryption managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServerTransparentDataEncryption_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServerTransparentDataEncryption_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_server_transparent_data_encryption"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServerTransparentDataEncryption{}). + Complete(r) +} diff --git a/internal/controller/mssql/servervulnerabilityassessment/zz_controller.go b/internal/controller/mssql/servervulnerabilityassessment/zz_controller.go new file mode 100755 index 000000000..a0740a3a5 --- /dev/null +++ b/internal/controller/mssql/servervulnerabilityassessment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servervulnerabilityassessment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles ServerVulnerabilityAssessment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServerVulnerabilityAssessment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServerVulnerabilityAssessment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_server_vulnerability_assessment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServerVulnerabilityAssessment{}). + Complete(r) +} diff --git a/internal/controller/mssql/virtualmachine/zz_controller.go b/internal/controller/mssql/virtualmachine/zz_controller.go new file mode 100755 index 000000000..aaf04ad71 --- /dev/null +++ b/internal/controller/mssql/virtualmachine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_virtual_machine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachine{}). + Complete(r) +} diff --git a/internal/controller/mssql/virtualnetworkrule/zz_controller.go b/internal/controller/mssql/virtualnetworkrule/zz_controller.go new file mode 100755 index 000000000..2a38d28ce --- /dev/null +++ b/internal/controller/mssql/virtualnetworkrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualnetworkrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mssql/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualNetworkRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualNetworkRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualNetworkRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mssql_virtual_network_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualNetworkRule{}). + Complete(r) +} diff --git a/internal/controller/mysql/activedirectoryadministrator/zz_controller.go b/internal/controller/mysql/activedirectoryadministrator/zz_controller.go new file mode 100755 index 000000000..04ecfdf1e --- /dev/null +++ b/internal/controller/mysql/activedirectoryadministrator/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package activedirectoryadministrator + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles ActiveDirectoryAdministrator managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ActiveDirectoryAdministrator_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ActiveDirectoryAdministrator_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_active_directory_administrator"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ActiveDirectoryAdministrator{}). + Complete(r) +} diff --git a/internal/controller/mysql/configuration/zz_controller.go b/internal/controller/mysql/configuration/zz_controller.go new file mode 100755 index 000000000..4033f83f5 --- /dev/null +++ b/internal/controller/mysql/configuration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package configuration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles Configuration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Configuration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Configuration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Configuration{}). + Complete(r) +} diff --git a/internal/controller/mysql/database/zz_controller.go b/internal/controller/mysql/database/zz_controller.go new file mode 100755 index 000000000..058d852ae --- /dev/null +++ b/internal/controller/mysql/database/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package database + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles Database managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Database_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Database_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Database{}). + Complete(r) +} diff --git a/internal/controller/mysql/firewallrule/zz_controller.go b/internal/controller/mysql/firewallrule/zz_controller.go new file mode 100755 index 000000000..a06a2a5b1 --- /dev/null +++ b/internal/controller/mysql/firewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallRule{}). + Complete(r) +} diff --git a/internal/controller/mysql/server/zz_controller.go b/internal/controller/mysql/server/zz_controller.go new file mode 100755 index 000000000..370906c27 --- /dev/null +++ b/internal/controller/mysql/server/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package server + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles Server managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Server_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Server_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_server"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Server{}). + Complete(r) +} diff --git a/internal/controller/mysql/serverkey/zz_controller.go b/internal/controller/mysql/serverkey/zz_controller.go new file mode 100755 index 000000000..cfc2042af --- /dev/null +++ b/internal/controller/mysql/serverkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serverkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles ServerKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServerKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServerKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_server_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServerKey{}). + Complete(r) +} diff --git a/internal/controller/mysql/virtualnetworkrule/zz_controller.go b/internal/controller/mysql/virtualnetworkrule/zz_controller.go new file mode 100755 index 000000000..bc76b3231 --- /dev/null +++ b/internal/controller/mysql/virtualnetworkrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualnetworkrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/mysql/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualNetworkRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualNetworkRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualNetworkRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_mysql_virtual_network_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualNetworkRule{}). + Complete(r) +} diff --git a/internal/controller/nat/gateway/zz_controller.go b/internal/controller/nat/gateway/zz_controller.go new file mode 100755 index 000000000..91642e1ca --- /dev/null +++ b/internal/controller/nat/gateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package gateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/nat/v1alpha1" +) + +// Setup adds a controller that reconciles Gateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Gateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Gateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_nat_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Gateway{}). + Complete(r) +} diff --git a/internal/controller/nat/gatewaypublicipassociation/zz_controller.go b/internal/controller/nat/gatewaypublicipassociation/zz_controller.go new file mode 100755 index 000000000..8f7aee725 --- /dev/null +++ b/internal/controller/nat/gatewaypublicipassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package gatewaypublicipassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/nat/v1alpha1" +) + +// Setup adds a controller that reconciles GatewayPublicIpAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.GatewayPublicIpAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.GatewayPublicIpAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_nat_gateway_public_ip_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.GatewayPublicIpAssociation{}). + Complete(r) +} diff --git a/internal/controller/nat/gatewaypublicipprefixassociation/zz_controller.go b/internal/controller/nat/gatewaypublicipprefixassociation/zz_controller.go new file mode 100755 index 000000000..f85cc63b5 --- /dev/null +++ b/internal/controller/nat/gatewaypublicipprefixassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package gatewaypublicipprefixassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/nat/v1alpha1" +) + +// Setup adds a controller that reconciles GatewayPublicIpPrefixAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.GatewayPublicIpPrefixAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.GatewayPublicIpPrefixAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_nat_gateway_public_ip_prefix_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.GatewayPublicIpPrefixAssociation{}). + Complete(r) +} diff --git a/internal/controller/netapp/account/zz_controller.go b/internal/controller/netapp/account/zz_controller.go new file mode 100755 index 000000000..b236841a1 --- /dev/null +++ b/internal/controller/netapp/account/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package account + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/netapp/v1alpha1" +) + +// Setup adds a controller that reconciles Account managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Account_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Account_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_netapp_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Account{}). + Complete(r) +} diff --git a/internal/controller/netapp/pool/zz_controller.go b/internal/controller/netapp/pool/zz_controller.go new file mode 100755 index 000000000..13e62a1af --- /dev/null +++ b/internal/controller/netapp/pool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package pool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/netapp/v1alpha1" +) + +// Setup adds a controller that reconciles Pool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Pool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Pool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_netapp_pool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Pool{}). + Complete(r) +} diff --git a/internal/controller/netapp/snapshot/zz_controller.go b/internal/controller/netapp/snapshot/zz_controller.go new file mode 100755 index 000000000..cc271710c --- /dev/null +++ b/internal/controller/netapp/snapshot/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package snapshot + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/netapp/v1alpha1" +) + +// Setup adds a controller that reconciles Snapshot managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Snapshot_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Snapshot_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_netapp_snapshot"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Snapshot{}). + Complete(r) +} diff --git a/internal/controller/netapp/volume/zz_controller.go b/internal/controller/netapp/volume/zz_controller.go new file mode 100755 index 000000000..23442ba6c --- /dev/null +++ b/internal/controller/netapp/volume/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package volume + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/netapp/v1alpha1" +) + +// Setup adds a controller that reconciles Volume managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Volume_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Volume_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_netapp_volume"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Volume{}). + Complete(r) +} diff --git a/internal/controller/network/connectionmonitor/zz_controller.go b/internal/controller/network/connectionmonitor/zz_controller.go new file mode 100755 index 000000000..e31ad7d91 --- /dev/null +++ b/internal/controller/network/connectionmonitor/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package connectionmonitor + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles ConnectionMonitor managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ConnectionMonitor_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ConnectionMonitor_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_connection_monitor"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ConnectionMonitor{}). + Complete(r) +} diff --git a/internal/controller/network/ddosprotectionplan/zz_controller.go b/internal/controller/network/ddosprotectionplan/zz_controller.go new file mode 100755 index 000000000..101ea44dd --- /dev/null +++ b/internal/controller/network/ddosprotectionplan/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package ddosprotectionplan + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles DdosProtectionPlan managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DdosProtectionPlan_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DdosProtectionPlan_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_ddos_protection_plan"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DdosProtectionPlan{}). + Complete(r) +} diff --git a/internal/controller/network/interfaceapplicationsecuritygroupassociation/zz_controller.go b/internal/controller/network/interfaceapplicationsecuritygroupassociation/zz_controller.go new file mode 100755 index 000000000..5cbb74633 --- /dev/null +++ b/internal/controller/network/interfaceapplicationsecuritygroupassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package interfaceapplicationsecuritygroupassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles InterfaceApplicationSecurityGroupAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InterfaceApplicationSecurityGroupAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InterfaceApplicationSecurityGroupAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_interface_application_security_group_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InterfaceApplicationSecurityGroupAssociation{}). + Complete(r) +} diff --git a/internal/controller/network/interfacebackendaddresspoolassociation/zz_controller.go b/internal/controller/network/interfacebackendaddresspoolassociation/zz_controller.go new file mode 100755 index 000000000..c5a346839 --- /dev/null +++ b/internal/controller/network/interfacebackendaddresspoolassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package interfacebackendaddresspoolassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles InterfaceBackendAddressPoolAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InterfaceBackendAddressPoolAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InterfaceBackendAddressPoolAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_interface_backend_address_pool_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InterfaceBackendAddressPoolAssociation{}). + Complete(r) +} diff --git a/internal/controller/network/interfacenatruleassociation/zz_controller.go b/internal/controller/network/interfacenatruleassociation/zz_controller.go new file mode 100755 index 000000000..b25be2823 --- /dev/null +++ b/internal/controller/network/interfacenatruleassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package interfacenatruleassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles InterfaceNatRuleAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InterfaceNatRuleAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InterfaceNatRuleAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_interface_nat_rule_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InterfaceNatRuleAssociation{}). + Complete(r) +} diff --git a/internal/controller/network/interfacesecuritygroupassociation/zz_controller.go b/internal/controller/network/interfacesecuritygroupassociation/zz_controller.go new file mode 100755 index 000000000..15409d523 --- /dev/null +++ b/internal/controller/network/interfacesecuritygroupassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package interfacesecuritygroupassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles InterfaceSecurityGroupAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.InterfaceSecurityGroupAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.InterfaceSecurityGroupAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_interface_security_group_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.InterfaceSecurityGroupAssociation{}). + Complete(r) +} diff --git a/internal/controller/network/ipgroup/zz_controller.go b/internal/controller/network/ipgroup/zz_controller.go new file mode 100755 index 000000000..fbb636157 --- /dev/null +++ b/internal/controller/network/ipgroup/zz_controller.go @@ -0,0 +1,57 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package ipgroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles IPGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.IPGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.IPGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_ip_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.IPGroup{}). + Complete(r) +} diff --git a/internal/controller/network/networkinterface/zz_controller.go b/internal/controller/network/networkinterface/zz_controller.go new file mode 100755 index 000000000..cf3a62609 --- /dev/null +++ b/internal/controller/network/networkinterface/zz_controller.go @@ -0,0 +1,57 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package networkinterface + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles NetworkInterface managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NetworkInterface_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NetworkInterface_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_interface"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NetworkInterface{}). + Complete(r) +} diff --git a/internal/controller/network/packetcapture/zz_controller.go b/internal/controller/network/packetcapture/zz_controller.go new file mode 100755 index 000000000..47fdf6827 --- /dev/null +++ b/internal/controller/network/packetcapture/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package packetcapture + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles PacketCapture managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PacketCapture_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PacketCapture_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_packet_capture"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PacketCapture{}). + Complete(r) +} diff --git a/internal/controller/network/profile/zz_controller.go b/internal/controller/network/profile/zz_controller.go new file mode 100755 index 000000000..f10a7e884 --- /dev/null +++ b/internal/controller/network/profile/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package profile + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles Profile managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Profile_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Profile_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_profile"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Profile{}). + Complete(r) +} diff --git a/internal/controller/network/securitygroup/zz_controller.go b/internal/controller/network/securitygroup/zz_controller.go new file mode 100755 index 000000000..5bd3675e4 --- /dev/null +++ b/internal/controller/network/securitygroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package securitygroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles SecurityGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SecurityGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SecurityGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_security_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SecurityGroup{}). + Complete(r) +} diff --git a/internal/controller/network/watcher/zz_controller.go b/internal/controller/network/watcher/zz_controller.go new file mode 100755 index 000000000..c2ac3753c --- /dev/null +++ b/internal/controller/network/watcher/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package watcher + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles Watcher managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Watcher_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Watcher_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_watcher"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Watcher{}). + Complete(r) +} diff --git a/internal/controller/network/watcherflowlog/zz_controller.go b/internal/controller/network/watcherflowlog/zz_controller.go new file mode 100755 index 000000000..a8d3a9b66 --- /dev/null +++ b/internal/controller/network/watcherflowlog/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package watcherflowlog + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/network/v1alpha1" +) + +// Setup adds a controller that reconciles WatcherFlowLog managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WatcherFlowLog_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WatcherFlowLog_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_network_watcher_flow_log"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WatcherFlowLog{}). + Complete(r) +} diff --git a/internal/controller/notification/hub/zz_controller.go b/internal/controller/notification/hub/zz_controller.go new file mode 100755 index 000000000..be97861f6 --- /dev/null +++ b/internal/controller/notification/hub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/notification/v1alpha1" +) + +// Setup adds a controller that reconciles Hub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Hub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Hub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_notification_hub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Hub{}). + Complete(r) +} diff --git a/internal/controller/notification/hubauthorizationrule/zz_controller.go b/internal/controller/notification/hubauthorizationrule/zz_controller.go new file mode 100755 index 000000000..50378f529 --- /dev/null +++ b/internal/controller/notification/hubauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hubauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/notification/v1alpha1" +) + +// Setup adds a controller that reconciles HubAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HubAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HubAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_notification_hub_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HubAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/notification/hubnamespace/zz_controller.go b/internal/controller/notification/hubnamespace/zz_controller.go new file mode 100755 index 000000000..bbd9a14ec --- /dev/null +++ b/internal/controller/notification/hubnamespace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hubnamespace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/notification/v1alpha1" +) + +// Setup adds a controller that reconciles HubNamespace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HubNamespace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HubNamespace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_notification_hub_namespace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HubNamespace{}). + Complete(r) +} diff --git a/internal/controller/orchestrated/virtualmachinescaleset/zz_controller.go b/internal/controller/orchestrated/virtualmachinescaleset/zz_controller.go new file mode 100755 index 000000000..2aa76bf8c --- /dev/null +++ b/internal/controller/orchestrated/virtualmachinescaleset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachinescaleset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/orchestrated/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachineScaleSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachineScaleSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachineScaleSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_orchestrated_virtual_machine_scale_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachineScaleSet{}). + Complete(r) +} diff --git a/internal/controller/packet/capture/zz_controller.go b/internal/controller/packet/capture/zz_controller.go new file mode 100755 index 000000000..c0ec7c3cf --- /dev/null +++ b/internal/controller/packet/capture/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package capture + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/packet/v1alpha1" +) + +// Setup adds a controller that reconciles Capture managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Capture_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Capture_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_packet_capture"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Capture{}). + Complete(r) +} diff --git a/internal/controller/point/tositevpngateway/zz_controller.go b/internal/controller/point/tositevpngateway/zz_controller.go new file mode 100755 index 000000000..a847085c4 --- /dev/null +++ b/internal/controller/point/tositevpngateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package tositevpngateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/point/v1alpha1" +) + +// Setup adds a controller that reconciles ToSiteVpnGateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ToSiteVpnGateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ToSiteVpnGateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_point_to_site_vpn_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ToSiteVpnGateway{}). + Complete(r) +} diff --git a/internal/controller/policy/assignment/zz_controller.go b/internal/controller/policy/assignment/zz_controller.go new file mode 100755 index 000000000..d067b7896 --- /dev/null +++ b/internal/controller/policy/assignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/policy/v1alpha1" +) + +// Setup adds a controller that reconciles Assignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Assignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Assignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_policy_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Assignment{}). + Complete(r) +} diff --git a/internal/controller/policy/definition/zz_controller.go b/internal/controller/policy/definition/zz_controller.go new file mode 100755 index 000000000..3dc4ea730 --- /dev/null +++ b/internal/controller/policy/definition/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package definition + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/policy/v1alpha1" +) + +// Setup adds a controller that reconciles Definition managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Definition_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Definition_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_policy_definition"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Definition{}). + Complete(r) +} diff --git a/internal/controller/policy/remediation/zz_controller.go b/internal/controller/policy/remediation/zz_controller.go new file mode 100755 index 000000000..e9751a449 --- /dev/null +++ b/internal/controller/policy/remediation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package remediation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/policy/v1alpha1" +) + +// Setup adds a controller that reconciles Remediation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Remediation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Remediation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_policy_remediation"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Remediation{}). + Complete(r) +} diff --git a/internal/controller/policy/setdefinition/zz_controller.go b/internal/controller/policy/setdefinition/zz_controller.go new file mode 100755 index 000000000..66da2f90f --- /dev/null +++ b/internal/controller/policy/setdefinition/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package setdefinition + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/policy/v1alpha1" +) + +// Setup adds a controller that reconciles SetDefinition managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SetDefinition_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SetDefinition_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_policy_set_definition"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SetDefinition{}). + Complete(r) +} diff --git a/internal/controller/policy/virtualmachineconfigurationassignment/zz_controller.go b/internal/controller/policy/virtualmachineconfigurationassignment/zz_controller.go new file mode 100755 index 000000000..cf842e7f3 --- /dev/null +++ b/internal/controller/policy/virtualmachineconfigurationassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachineconfigurationassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/policy/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachineConfigurationAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachineConfigurationAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachineConfigurationAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_policy_virtual_machine_configuration_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachineConfigurationAssignment{}). + Complete(r) +} diff --git a/internal/controller/portal/tenantconfiguration/zz_controller.go b/internal/controller/portal/tenantconfiguration/zz_controller.go new file mode 100755 index 000000000..38e3c5948 --- /dev/null +++ b/internal/controller/portal/tenantconfiguration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package tenantconfiguration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/portal/v1alpha1" +) + +// Setup adds a controller that reconciles TenantConfiguration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TenantConfiguration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TenantConfiguration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_portal_tenant_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TenantConfiguration{}). + Complete(r) +} diff --git a/internal/controller/powerbi/embedded/zz_controller.go b/internal/controller/powerbi/embedded/zz_controller.go new file mode 100755 index 000000000..77af73ec5 --- /dev/null +++ b/internal/controller/powerbi/embedded/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package embedded + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/powerbi/v1alpha1" +) + +// Setup adds a controller that reconciles Embedded managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Embedded_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Embedded_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_powerbi_embedded"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Embedded{}). + Complete(r) +} diff --git a/internal/controller/private/dnsaaaarecord/zz_controller.go b/internal/controller/private/dnsaaaarecord/zz_controller.go new file mode 100755 index 000000000..40c56b099 --- /dev/null +++ b/internal/controller/private/dnsaaaarecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnsaaaarecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsAaaaRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsAaaaRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsAaaaRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_aaaa_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsAaaaRecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnsarecord/zz_controller.go b/internal/controller/private/dnsarecord/zz_controller.go new file mode 100755 index 000000000..d49e5917f --- /dev/null +++ b/internal/controller/private/dnsarecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnsarecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsARecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsARecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsARecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_a_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsARecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnscnamerecord/zz_controller.go b/internal/controller/private/dnscnamerecord/zz_controller.go new file mode 100755 index 000000000..5d3d7f783 --- /dev/null +++ b/internal/controller/private/dnscnamerecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnscnamerecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsCnameRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsCnameRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsCnameRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_cname_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsCnameRecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnsmxrecord/zz_controller.go b/internal/controller/private/dnsmxrecord/zz_controller.go new file mode 100755 index 000000000..8620c722f --- /dev/null +++ b/internal/controller/private/dnsmxrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnsmxrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsMxRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsMxRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsMxRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_mx_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsMxRecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnsptrrecord/zz_controller.go b/internal/controller/private/dnsptrrecord/zz_controller.go new file mode 100755 index 000000000..6db691d9d --- /dev/null +++ b/internal/controller/private/dnsptrrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnsptrrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsPtrRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsPtrRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsPtrRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_ptr_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsPtrRecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnssrvrecord/zz_controller.go b/internal/controller/private/dnssrvrecord/zz_controller.go new file mode 100755 index 000000000..998dc94ca --- /dev/null +++ b/internal/controller/private/dnssrvrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnssrvrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsSrvRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsSrvRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsSrvRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_srv_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsSrvRecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnstxtrecord/zz_controller.go b/internal/controller/private/dnstxtrecord/zz_controller.go new file mode 100755 index 000000000..648acb8e2 --- /dev/null +++ b/internal/controller/private/dnstxtrecord/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnstxtrecord + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsTxtRecord managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsTxtRecord_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsTxtRecord_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_txt_record"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsTxtRecord{}). + Complete(r) +} diff --git a/internal/controller/private/dnszone/zz_controller.go b/internal/controller/private/dnszone/zz_controller.go new file mode 100755 index 000000000..de9fd1d6c --- /dev/null +++ b/internal/controller/private/dnszone/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnszone + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsZone managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsZone_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsZone_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_zone"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsZone{}). + Complete(r) +} diff --git a/internal/controller/private/dnszonevirtualnetworklink/zz_controller.go b/internal/controller/private/dnszonevirtualnetworklink/zz_controller.go new file mode 100755 index 000000000..ae9fc9ff0 --- /dev/null +++ b/internal/controller/private/dnszonevirtualnetworklink/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dnszonevirtualnetworklink + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles DnsZoneVirtualNetworkLink managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DnsZoneVirtualNetworkLink_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DnsZoneVirtualNetworkLink_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_dns_zone_virtual_network_link"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DnsZoneVirtualNetworkLink{}). + Complete(r) +} diff --git a/internal/controller/private/endpoint/zz_controller.go b/internal/controller/private/endpoint/zz_controller.go new file mode 100755 index 000000000..71eaf7cf5 --- /dev/null +++ b/internal/controller/private/endpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package endpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles Endpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Endpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Endpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Endpoint{}). + Complete(r) +} diff --git a/internal/controller/private/linkservice/zz_controller.go b/internal/controller/private/linkservice/zz_controller.go new file mode 100755 index 000000000..ea754d42b --- /dev/null +++ b/internal/controller/private/linkservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package linkservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/private/v1alpha1" +) + +// Setup adds a controller that reconciles LinkService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LinkService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LinkService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_private_link_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LinkService{}). + Complete(r) +} diff --git a/internal/controller/proximity/placementgroup/zz_controller.go b/internal/controller/proximity/placementgroup/zz_controller.go new file mode 100755 index 000000000..8d4cb85fd --- /dev/null +++ b/internal/controller/proximity/placementgroup/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package placementgroup + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/proximity/v1alpha1" +) + +// Setup adds a controller that reconciles PlacementGroup managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PlacementGroup_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PlacementGroup_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_proximity_placement_group"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PlacementGroup{}). + Complete(r) +} diff --git a/internal/controller/public/ip/zz_controller.go b/internal/controller/public/ip/zz_controller.go new file mode 100755 index 000000000..47ca5d5a7 --- /dev/null +++ b/internal/controller/public/ip/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package ip + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/public/v1alpha1" +) + +// Setup adds a controller that reconciles Ip managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Ip_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Ip_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_public_ip"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Ip{}). + Complete(r) +} diff --git a/internal/controller/public/ipprefix/zz_controller.go b/internal/controller/public/ipprefix/zz_controller.go new file mode 100755 index 000000000..8af0a829a --- /dev/null +++ b/internal/controller/public/ipprefix/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package ipprefix + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/public/v1alpha1" +) + +// Setup adds a controller that reconciles IpPrefix managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.IpPrefix_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.IpPrefix_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_public_ip_prefix"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.IpPrefix{}). + Complete(r) +} diff --git a/internal/controller/purview/account/zz_controller.go b/internal/controller/purview/account/zz_controller.go new file mode 100755 index 000000000..e9b8c6bdf --- /dev/null +++ b/internal/controller/purview/account/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package account + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/purview/v1alpha1" +) + +// Setup adds a controller that reconciles Account managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Account_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Account_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_purview_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Account{}). + Complete(r) +} diff --git a/internal/controller/recovery/servicesvault/zz_controller.go b/internal/controller/recovery/servicesvault/zz_controller.go new file mode 100755 index 000000000..dbe93e591 --- /dev/null +++ b/internal/controller/recovery/servicesvault/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicesvault + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/recovery/v1alpha1" +) + +// Setup adds a controller that reconciles ServicesVault managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServicesVault_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServicesVault_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_recovery_services_vault"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServicesVault{}). + Complete(r) +} diff --git a/internal/controller/redis/cache/zz_controller.go b/internal/controller/redis/cache/zz_controller.go new file mode 100755 index 000000000..35ea0f926 --- /dev/null +++ b/internal/controller/redis/cache/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cache + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/redis/v1alpha1" +) + +// Setup adds a controller that reconciles Cache managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Cache_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Cache_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_redis_cache"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Cache{}). + Complete(r) +} diff --git a/internal/controller/redis/enterprisecluster/zz_controller.go b/internal/controller/redis/enterprisecluster/zz_controller.go new file mode 100755 index 000000000..ef37525c3 --- /dev/null +++ b/internal/controller/redis/enterprisecluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package enterprisecluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/redis/v1alpha1" +) + +// Setup adds a controller that reconciles EnterpriseCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EnterpriseCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EnterpriseCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_redis_enterprise_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EnterpriseCluster{}). + Complete(r) +} diff --git a/internal/controller/redis/enterprisedatabase/zz_controller.go b/internal/controller/redis/enterprisedatabase/zz_controller.go new file mode 100755 index 000000000..1ede31a3c --- /dev/null +++ b/internal/controller/redis/enterprisedatabase/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package enterprisedatabase + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/redis/v1alpha1" +) + +// Setup adds a controller that reconciles EnterpriseDatabase managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EnterpriseDatabase_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EnterpriseDatabase_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_redis_enterprise_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EnterpriseDatabase{}). + Complete(r) +} diff --git a/internal/controller/redis/firewallrule/zz_controller.go b/internal/controller/redis/firewallrule/zz_controller.go new file mode 100755 index 000000000..10fed87c2 --- /dev/null +++ b/internal/controller/redis/firewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/redis/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_redis_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallRule{}). + Complete(r) +} diff --git a/internal/controller/redis/linkedserver/zz_controller.go b/internal/controller/redis/linkedserver/zz_controller.go new file mode 100755 index 000000000..21d9ec4e5 --- /dev/null +++ b/internal/controller/redis/linkedserver/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package linkedserver + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/redis/v1alpha1" +) + +// Setup adds a controller that reconciles LinkedServer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LinkedServer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LinkedServer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_redis_linked_server"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LinkedServer{}). + Complete(r) +} diff --git a/internal/controller/relay/hybridconnection/zz_controller.go b/internal/controller/relay/hybridconnection/zz_controller.go new file mode 100755 index 000000000..b59e5a363 --- /dev/null +++ b/internal/controller/relay/hybridconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hybridconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/relay/v1alpha1" +) + +// Setup adds a controller that reconciles HybridConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HybridConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HybridConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_relay_hybrid_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HybridConnection{}). + Complete(r) +} diff --git a/internal/controller/relay/hybridconnectionauthorizationrule/zz_controller.go b/internal/controller/relay/hybridconnectionauthorizationrule/zz_controller.go new file mode 100755 index 000000000..eeacd9681 --- /dev/null +++ b/internal/controller/relay/hybridconnectionauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hybridconnectionauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/relay/v1alpha1" +) + +// Setup adds a controller that reconciles HybridConnectionAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HybridConnectionAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HybridConnectionAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_relay_hybrid_connection_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HybridConnectionAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/relay/namespace/zz_controller.go b/internal/controller/relay/namespace/zz_controller.go new file mode 100755 index 000000000..05fb3601c --- /dev/null +++ b/internal/controller/relay/namespace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/relay/v1alpha1" +) + +// Setup adds a controller that reconciles Namespace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Namespace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Namespace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_relay_namespace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Namespace{}). + Complete(r) +} diff --git a/internal/controller/relay/namespaceauthorizationrule/zz_controller.go b/internal/controller/relay/namespaceauthorizationrule/zz_controller.go new file mode 100755 index 000000000..a0d3c347d --- /dev/null +++ b/internal/controller/relay/namespaceauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespaceauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/relay/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_relay_namespace_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/resource/policyassignment/zz_controller.go b/internal/controller/resource/policyassignment/zz_controller.go new file mode 100755 index 000000000..2e9a50580 --- /dev/null +++ b/internal/controller/resource/policyassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package policyassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/resource/v1alpha1" +) + +// Setup adds a controller that reconciles PolicyAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PolicyAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PolicyAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_resource_policy_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PolicyAssignment{}). + Complete(r) +} diff --git a/internal/controller/resource/providerregistration/zz_controller.go b/internal/controller/resource/providerregistration/zz_controller.go new file mode 100755 index 000000000..e789b51b7 --- /dev/null +++ b/internal/controller/resource/providerregistration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package providerregistration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/resource/v1alpha1" +) + +// Setup adds a controller that reconciles ProviderRegistration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ProviderRegistration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ProviderRegistration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_resource_provider_registration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ProviderRegistration{}). + Complete(r) +} diff --git a/internal/controller/role/assignment/zz_controller.go b/internal/controller/role/assignment/zz_controller.go new file mode 100755 index 000000000..28604bb17 --- /dev/null +++ b/internal/controller/role/assignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/role/v1alpha1" +) + +// Setup adds a controller that reconciles Assignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Assignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Assignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_role_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Assignment{}). + Complete(r) +} diff --git a/internal/controller/role/definition/zz_controller.go b/internal/controller/role/definition/zz_controller.go new file mode 100755 index 000000000..51b0e7709 --- /dev/null +++ b/internal/controller/role/definition/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package definition + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/role/v1alpha1" +) + +// Setup adds a controller that reconciles Definition managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Definition_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Definition_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_role_definition"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Definition{}). + Complete(r) +} diff --git a/internal/controller/search/service/zz_controller.go b/internal/controller/search/service/zz_controller.go new file mode 100755 index 000000000..24d3e3cdc --- /dev/null +++ b/internal/controller/search/service/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package service + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/search/v1alpha1" +) + +// Setup adds a controller that reconciles Service managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Service_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Service_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_search_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Service{}). + Complete(r) +} diff --git a/internal/controller/security/centerassessment/zz_controller.go b/internal/controller/security/centerassessment/zz_controller.go new file mode 100755 index 000000000..6dc5b696c --- /dev/null +++ b/internal/controller/security/centerassessment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centerassessment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterAssessment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterAssessment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterAssessment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_assessment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterAssessment{}). + Complete(r) +} diff --git a/internal/controller/security/centerassessmentmetadata/zz_controller.go b/internal/controller/security/centerassessmentmetadata/zz_controller.go new file mode 100755 index 000000000..adbdde88b --- /dev/null +++ b/internal/controller/security/centerassessmentmetadata/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centerassessmentmetadata + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterAssessmentMetadata managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterAssessmentMetadata_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterAssessmentMetadata_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_assessment_metadata"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterAssessmentMetadata{}). + Complete(r) +} diff --git a/internal/controller/security/centerassessmentpolicy/zz_controller.go b/internal/controller/security/centerassessmentpolicy/zz_controller.go new file mode 100755 index 000000000..b2c2dc684 --- /dev/null +++ b/internal/controller/security/centerassessmentpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centerassessmentpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterAssessmentPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterAssessmentPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterAssessmentPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_assessment_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterAssessmentPolicy{}). + Complete(r) +} diff --git a/internal/controller/security/centerautoprovisioning/zz_controller.go b/internal/controller/security/centerautoprovisioning/zz_controller.go new file mode 100755 index 000000000..3b3a0844d --- /dev/null +++ b/internal/controller/security/centerautoprovisioning/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centerautoprovisioning + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterAutoProvisioning managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterAutoProvisioning_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterAutoProvisioning_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_auto_provisioning"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterAutoProvisioning{}). + Complete(r) +} diff --git a/internal/controller/security/centercontact/zz_controller.go b/internal/controller/security/centercontact/zz_controller.go new file mode 100755 index 000000000..573e74060 --- /dev/null +++ b/internal/controller/security/centercontact/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centercontact + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterContact managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterContact_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterContact_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_contact"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterContact{}). + Complete(r) +} diff --git a/internal/controller/security/centerservervulnerabilityassessment/zz_controller.go b/internal/controller/security/centerservervulnerabilityassessment/zz_controller.go new file mode 100755 index 000000000..cc12f12be --- /dev/null +++ b/internal/controller/security/centerservervulnerabilityassessment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centerservervulnerabilityassessment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterServerVulnerabilityAssessment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterServerVulnerabilityAssessment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterServerVulnerabilityAssessment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_server_vulnerability_assessment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterServerVulnerabilityAssessment{}). + Complete(r) +} diff --git a/internal/controller/security/centersetting/zz_controller.go b/internal/controller/security/centersetting/zz_controller.go new file mode 100755 index 000000000..22a0edec5 --- /dev/null +++ b/internal/controller/security/centersetting/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centersetting + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterSetting managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterSetting_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterSetting_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_setting"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterSetting{}). + Complete(r) +} diff --git a/internal/controller/security/centersubscriptionpricing/zz_controller.go b/internal/controller/security/centersubscriptionpricing/zz_controller.go new file mode 100755 index 000000000..855d29eca --- /dev/null +++ b/internal/controller/security/centersubscriptionpricing/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centersubscriptionpricing + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterSubscriptionPricing managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterSubscriptionPricing_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterSubscriptionPricing_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_subscription_pricing"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterSubscriptionPricing{}). + Complete(r) +} diff --git a/internal/controller/security/centerworkspace/zz_controller.go b/internal/controller/security/centerworkspace/zz_controller.go new file mode 100755 index 000000000..ea1ec63a0 --- /dev/null +++ b/internal/controller/security/centerworkspace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package centerworkspace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/security/v1alpha1" +) + +// Setup adds a controller that reconciles CenterWorkspace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CenterWorkspace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CenterWorkspace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_security_center_workspace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CenterWorkspace{}). + Complete(r) +} diff --git a/internal/controller/sentinel/alertrulefusion/zz_controller.go b/internal/controller/sentinel/alertrulefusion/zz_controller.go new file mode 100755 index 000000000..f3703cd00 --- /dev/null +++ b/internal/controller/sentinel/alertrulefusion/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package alertrulefusion + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles AlertRuleFusion managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AlertRuleFusion_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AlertRuleFusion_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_alert_rule_fusion"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AlertRuleFusion{}). + Complete(r) +} diff --git a/internal/controller/sentinel/alertrulemachinelearningbehavioranalytics/zz_controller.go b/internal/controller/sentinel/alertrulemachinelearningbehavioranalytics/zz_controller.go new file mode 100755 index 000000000..7ae3636bc --- /dev/null +++ b/internal/controller/sentinel/alertrulemachinelearningbehavioranalytics/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package alertrulemachinelearningbehavioranalytics + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles AlertRuleMachineLearningBehaviorAnalytics managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AlertRuleMachineLearningBehaviorAnalytics_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AlertRuleMachineLearningBehaviorAnalytics_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_alert_rule_machine_learning_behavior_analytics"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AlertRuleMachineLearningBehaviorAnalytics{}). + Complete(r) +} diff --git a/internal/controller/sentinel/alertrulemssecurityincident/zz_controller.go b/internal/controller/sentinel/alertrulemssecurityincident/zz_controller.go new file mode 100755 index 000000000..9719bbc1a --- /dev/null +++ b/internal/controller/sentinel/alertrulemssecurityincident/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package alertrulemssecurityincident + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles AlertRuleMsSecurityIncident managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AlertRuleMsSecurityIncident_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AlertRuleMsSecurityIncident_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_alert_rule_ms_security_incident"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AlertRuleMsSecurityIncident{}). + Complete(r) +} diff --git a/internal/controller/sentinel/alertrulescheduled/zz_controller.go b/internal/controller/sentinel/alertrulescheduled/zz_controller.go new file mode 100755 index 000000000..e7104d24c --- /dev/null +++ b/internal/controller/sentinel/alertrulescheduled/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package alertrulescheduled + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles AlertRuleScheduled managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AlertRuleScheduled_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AlertRuleScheduled_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_alert_rule_scheduled"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AlertRuleScheduled{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectorawscloudtrail/zz_controller.go b/internal/controller/sentinel/dataconnectorawscloudtrail/zz_controller.go new file mode 100755 index 000000000..c6da99db0 --- /dev/null +++ b/internal/controller/sentinel/dataconnectorawscloudtrail/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectorawscloudtrail + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorAwsCloudTrail managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorAwsCloudTrail_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorAwsCloudTrail_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_aws_cloud_trail"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorAwsCloudTrail{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectorazureactivedirectory/zz_controller.go b/internal/controller/sentinel/dataconnectorazureactivedirectory/zz_controller.go new file mode 100755 index 000000000..881bb44b7 --- /dev/null +++ b/internal/controller/sentinel/dataconnectorazureactivedirectory/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectorazureactivedirectory + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorAzureActiveDirectory managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorAzureActiveDirectory_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorAzureActiveDirectory_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_azure_active_directory"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorAzureActiveDirectory{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectorazureadvancedthreatprotection/zz_controller.go b/internal/controller/sentinel/dataconnectorazureadvancedthreatprotection/zz_controller.go new file mode 100755 index 000000000..c46cc319b --- /dev/null +++ b/internal/controller/sentinel/dataconnectorazureadvancedthreatprotection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectorazureadvancedthreatprotection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorAzureAdvancedThreatProtection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorAzureAdvancedThreatProtection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorAzureAdvancedThreatProtection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_azure_advanced_threat_protection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorAzureAdvancedThreatProtection{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectorazuresecuritycenter/zz_controller.go b/internal/controller/sentinel/dataconnectorazuresecuritycenter/zz_controller.go new file mode 100755 index 000000000..5b518e048 --- /dev/null +++ b/internal/controller/sentinel/dataconnectorazuresecuritycenter/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectorazuresecuritycenter + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorAzureSecurityCenter managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorAzureSecurityCenter_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorAzureSecurityCenter_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_azure_security_center"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorAzureSecurityCenter{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectormicrosoftcloudappsecurity/zz_controller.go b/internal/controller/sentinel/dataconnectormicrosoftcloudappsecurity/zz_controller.go new file mode 100755 index 000000000..1dfa3ea50 --- /dev/null +++ b/internal/controller/sentinel/dataconnectormicrosoftcloudappsecurity/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectormicrosoftcloudappsecurity + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorMicrosoftCloudAppSecurity managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorMicrosoftCloudAppSecurity_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorMicrosoftCloudAppSecurity_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_microsoft_cloud_app_security"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorMicrosoftCloudAppSecurity{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectoroffice365/zz_controller.go b/internal/controller/sentinel/dataconnectoroffice365/zz_controller.go new file mode 100755 index 000000000..0c072b203 --- /dev/null +++ b/internal/controller/sentinel/dataconnectoroffice365/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectoroffice365 + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorOffice365 managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorOffice365_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorOffice365_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_office_365"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorOffice365{}). + Complete(r) +} diff --git a/internal/controller/sentinel/dataconnectorthreatintelligence/zz_controller.go b/internal/controller/sentinel/dataconnectorthreatintelligence/zz_controller.go new file mode 100755 index 000000000..1907e4110 --- /dev/null +++ b/internal/controller/sentinel/dataconnectorthreatintelligence/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package dataconnectorthreatintelligence + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sentinel/v1alpha1" +) + +// Setup adds a controller that reconciles DataConnectorThreatIntelligence managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataConnectorThreatIntelligence_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataConnectorThreatIntelligence_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sentinel_data_connector_threat_intelligence"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataConnectorThreatIntelligence{}). + Complete(r) +} diff --git a/internal/controller/service/fabriccluster/zz_controller.go b/internal/controller/service/fabriccluster/zz_controller.go new file mode 100755 index 000000000..3710bb780 --- /dev/null +++ b/internal/controller/service/fabriccluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package fabriccluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/service/v1alpha1" +) + +// Setup adds a controller that reconciles FabricCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FabricCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FabricCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_service_fabric_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FabricCluster{}). + Complete(r) +} diff --git a/internal/controller/service/fabricmeshapplication/zz_controller.go b/internal/controller/service/fabricmeshapplication/zz_controller.go new file mode 100755 index 000000000..cad067e35 --- /dev/null +++ b/internal/controller/service/fabricmeshapplication/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package fabricmeshapplication + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/service/v1alpha1" +) + +// Setup adds a controller that reconciles FabricMeshApplication managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FabricMeshApplication_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FabricMeshApplication_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_service_fabric_mesh_application"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FabricMeshApplication{}). + Complete(r) +} diff --git a/internal/controller/service/fabricmeshlocalnetwork/zz_controller.go b/internal/controller/service/fabricmeshlocalnetwork/zz_controller.go new file mode 100755 index 000000000..3d1240044 --- /dev/null +++ b/internal/controller/service/fabricmeshlocalnetwork/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package fabricmeshlocalnetwork + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/service/v1alpha1" +) + +// Setup adds a controller that reconciles FabricMeshLocalNetwork managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FabricMeshLocalNetwork_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FabricMeshLocalNetwork_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_service_fabric_mesh_local_network"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FabricMeshLocalNetwork{}). + Complete(r) +} diff --git a/internal/controller/service/fabricmeshsecret/zz_controller.go b/internal/controller/service/fabricmeshsecret/zz_controller.go new file mode 100755 index 000000000..3dba2e3bd --- /dev/null +++ b/internal/controller/service/fabricmeshsecret/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package fabricmeshsecret + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/service/v1alpha1" +) + +// Setup adds a controller that reconciles FabricMeshSecret managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FabricMeshSecret_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FabricMeshSecret_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_service_fabric_mesh_secret"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FabricMeshSecret{}). + Complete(r) +} diff --git a/internal/controller/service/fabricmeshsecretvalue/zz_controller.go b/internal/controller/service/fabricmeshsecretvalue/zz_controller.go new file mode 100755 index 000000000..bd11142b2 --- /dev/null +++ b/internal/controller/service/fabricmeshsecretvalue/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package fabricmeshsecretvalue + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/service/v1alpha1" +) + +// Setup adds a controller that reconciles FabricMeshSecretValue managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FabricMeshSecretValue_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FabricMeshSecretValue_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_service_fabric_mesh_secret_value"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FabricMeshSecretValue{}). + Complete(r) +} diff --git a/internal/controller/servicebus/namespace/zz_controller.go b/internal/controller/servicebus/namespace/zz_controller.go new file mode 100755 index 000000000..621de1033 --- /dev/null +++ b/internal/controller/servicebus/namespace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles Namespace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Namespace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Namespace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_namespace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Namespace{}). + Complete(r) +} diff --git a/internal/controller/servicebus/namespaceauthorizationrule/zz_controller.go b/internal/controller/servicebus/namespaceauthorizationrule/zz_controller.go new file mode 100755 index 000000000..ba40a27c6 --- /dev/null +++ b/internal/controller/servicebus/namespaceauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespaceauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_namespace_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/servicebus/namespacedisasterrecoveryconfig/zz_controller.go b/internal/controller/servicebus/namespacedisasterrecoveryconfig/zz_controller.go new file mode 100755 index 000000000..0189df34f --- /dev/null +++ b/internal/controller/servicebus/namespacedisasterrecoveryconfig/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespacedisasterrecoveryconfig + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceDisasterRecoveryConfig managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceDisasterRecoveryConfig_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceDisasterRecoveryConfig_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_namespace_disaster_recovery_config"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceDisasterRecoveryConfig{}). + Complete(r) +} diff --git a/internal/controller/servicebus/namespacenetworkruleset/zz_controller.go b/internal/controller/servicebus/namespacenetworkruleset/zz_controller.go new file mode 100755 index 000000000..855a0f1b1 --- /dev/null +++ b/internal/controller/servicebus/namespacenetworkruleset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package namespacenetworkruleset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles NamespaceNetworkRuleSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.NamespaceNetworkRuleSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.NamespaceNetworkRuleSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_namespace_network_rule_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.NamespaceNetworkRuleSet{}). + Complete(r) +} diff --git a/internal/controller/servicebus/queue/zz_controller.go b/internal/controller/servicebus/queue/zz_controller.go new file mode 100755 index 000000000..aae4da553 --- /dev/null +++ b/internal/controller/servicebus/queue/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package queue + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles Queue managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Queue_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Queue_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_queue"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Queue{}). + Complete(r) +} diff --git a/internal/controller/servicebus/queueauthorizationrule/zz_controller.go b/internal/controller/servicebus/queueauthorizationrule/zz_controller.go new file mode 100755 index 000000000..def1d1fac --- /dev/null +++ b/internal/controller/servicebus/queueauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package queueauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles QueueAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.QueueAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.QueueAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_queue_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.QueueAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/servicebus/subscription/zz_controller.go b/internal/controller/servicebus/subscription/zz_controller.go new file mode 100755 index 000000000..077d9001a --- /dev/null +++ b/internal/controller/servicebus/subscription/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package subscription + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles Subscription managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Subscription_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Subscription_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_subscription"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Subscription{}). + Complete(r) +} diff --git a/internal/controller/servicebus/subscriptionrule/zz_controller.go b/internal/controller/servicebus/subscriptionrule/zz_controller.go new file mode 100755 index 000000000..f8bf39c71 --- /dev/null +++ b/internal/controller/servicebus/subscriptionrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package subscriptionrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles SubscriptionRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SubscriptionRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SubscriptionRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_subscription_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SubscriptionRule{}). + Complete(r) +} diff --git a/internal/controller/servicebus/topic/zz_controller.go b/internal/controller/servicebus/topic/zz_controller.go new file mode 100755 index 000000000..3fa9e950b --- /dev/null +++ b/internal/controller/servicebus/topic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package topic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles Topic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Topic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Topic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_topic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Topic{}). + Complete(r) +} diff --git a/internal/controller/servicebus/topicauthorizationrule/zz_controller.go b/internal/controller/servicebus/topicauthorizationrule/zz_controller.go new file mode 100755 index 000000000..ad5b55e92 --- /dev/null +++ b/internal/controller/servicebus/topicauthorizationrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package topicauthorizationrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/servicebus/v1alpha1" +) + +// Setup adds a controller that reconciles TopicAuthorizationRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TopicAuthorizationRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TopicAuthorizationRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_servicebus_topic_authorization_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TopicAuthorizationRule{}). + Complete(r) +} diff --git a/internal/controller/shared/image/zz_controller.go b/internal/controller/shared/image/zz_controller.go new file mode 100755 index 000000000..7e176d6d7 --- /dev/null +++ b/internal/controller/shared/image/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package image + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/shared/v1alpha1" +) + +// Setup adds a controller that reconciles Image managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Image_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Image_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_shared_image"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Image{}). + Complete(r) +} diff --git a/internal/controller/shared/imagegallery/zz_controller.go b/internal/controller/shared/imagegallery/zz_controller.go new file mode 100755 index 000000000..cb8288534 --- /dev/null +++ b/internal/controller/shared/imagegallery/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package imagegallery + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/shared/v1alpha1" +) + +// Setup adds a controller that reconciles ImageGallery managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ImageGallery_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ImageGallery_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_shared_image_gallery"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ImageGallery{}). + Complete(r) +} diff --git a/internal/controller/shared/imageversion/zz_controller.go b/internal/controller/shared/imageversion/zz_controller.go new file mode 100755 index 000000000..accf58a4b --- /dev/null +++ b/internal/controller/shared/imageversion/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package imageversion + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/shared/v1alpha1" +) + +// Setup adds a controller that reconciles ImageVersion managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ImageVersion_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ImageVersion_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_shared_image_version"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ImageVersion{}). + Complete(r) +} diff --git a/internal/controller/signalr/service/zz_controller.go b/internal/controller/signalr/service/zz_controller.go new file mode 100755 index 000000000..785311f56 --- /dev/null +++ b/internal/controller/signalr/service/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package service + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/signalr/v1alpha1" +) + +// Setup adds a controller that reconciles Service managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Service_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Service_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_signalr_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Service{}). + Complete(r) +} diff --git a/internal/controller/signalr/servicenetworkacl/zz_controller.go b/internal/controller/signalr/servicenetworkacl/zz_controller.go new file mode 100755 index 000000000..4f9cf5250 --- /dev/null +++ b/internal/controller/signalr/servicenetworkacl/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package servicenetworkacl + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/signalr/v1alpha1" +) + +// Setup adds a controller that reconciles ServiceNetworkAcl managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServiceNetworkAcl_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServiceNetworkAcl_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_signalr_service_network_acl"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServiceNetworkAcl{}). + Complete(r) +} diff --git a/internal/controller/site/recoveryfabric/zz_controller.go b/internal/controller/site/recoveryfabric/zz_controller.go new file mode 100755 index 000000000..5a45d44d1 --- /dev/null +++ b/internal/controller/site/recoveryfabric/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package recoveryfabric + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" +) + +// Setup adds a controller that reconciles RecoveryFabric managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RecoveryFabric_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RecoveryFabric_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_site_recovery_fabric"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RecoveryFabric{}). + Complete(r) +} diff --git a/internal/controller/site/recoverynetworkmapping/zz_controller.go b/internal/controller/site/recoverynetworkmapping/zz_controller.go new file mode 100755 index 000000000..84fd4d93d --- /dev/null +++ b/internal/controller/site/recoverynetworkmapping/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package recoverynetworkmapping + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" +) + +// Setup adds a controller that reconciles RecoveryNetworkMapping managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RecoveryNetworkMapping_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RecoveryNetworkMapping_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_site_recovery_network_mapping"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RecoveryNetworkMapping{}). + Complete(r) +} diff --git a/internal/controller/site/recoveryprotectioncontainer/zz_controller.go b/internal/controller/site/recoveryprotectioncontainer/zz_controller.go new file mode 100755 index 000000000..e0c5c5f43 --- /dev/null +++ b/internal/controller/site/recoveryprotectioncontainer/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package recoveryprotectioncontainer + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" +) + +// Setup adds a controller that reconciles RecoveryProtectionContainer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RecoveryProtectionContainer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RecoveryProtectionContainer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_site_recovery_protection_container"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RecoveryProtectionContainer{}). + Complete(r) +} diff --git a/internal/controller/site/recoveryprotectioncontainermapping/zz_controller.go b/internal/controller/site/recoveryprotectioncontainermapping/zz_controller.go new file mode 100755 index 000000000..e62dae990 --- /dev/null +++ b/internal/controller/site/recoveryprotectioncontainermapping/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package recoveryprotectioncontainermapping + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" +) + +// Setup adds a controller that reconciles RecoveryProtectionContainerMapping managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RecoveryProtectionContainerMapping_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RecoveryProtectionContainerMapping_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_site_recovery_protection_container_mapping"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RecoveryProtectionContainerMapping{}). + Complete(r) +} diff --git a/internal/controller/site/recoveryreplicatedvm/zz_controller.go b/internal/controller/site/recoveryreplicatedvm/zz_controller.go new file mode 100755 index 000000000..084606133 --- /dev/null +++ b/internal/controller/site/recoveryreplicatedvm/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package recoveryreplicatedvm + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" +) + +// Setup adds a controller that reconciles RecoveryReplicatedVm managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RecoveryReplicatedVm_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RecoveryReplicatedVm_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_site_recovery_replicated_vm"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RecoveryReplicatedVm{}). + Complete(r) +} diff --git a/internal/controller/site/recoveryreplicationpolicy/zz_controller.go b/internal/controller/site/recoveryreplicationpolicy/zz_controller.go new file mode 100755 index 000000000..40e8c82ea --- /dev/null +++ b/internal/controller/site/recoveryreplicationpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package recoveryreplicationpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/site/v1alpha1" +) + +// Setup adds a controller that reconciles RecoveryReplicationPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RecoveryReplicationPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RecoveryReplicationPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_site_recovery_replication_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RecoveryReplicationPolicy{}). + Complete(r) +} diff --git a/internal/controller/spatial/anchorsaccount/zz_controller.go b/internal/controller/spatial/anchorsaccount/zz_controller.go new file mode 100755 index 000000000..3b295365d --- /dev/null +++ b/internal/controller/spatial/anchorsaccount/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package anchorsaccount + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spatial/v1alpha1" +) + +// Setup adds a controller that reconciles AnchorsAccount managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnchorsAccount_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnchorsAccount_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spatial_anchors_account"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnchorsAccount{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudactivedeployment/zz_controller.go b/internal/controller/spring/cloudactivedeployment/zz_controller.go new file mode 100755 index 000000000..91dd8c0eb --- /dev/null +++ b/internal/controller/spring/cloudactivedeployment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudactivedeployment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudActiveDeployment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudActiveDeployment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudActiveDeployment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_active_deployment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudActiveDeployment{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudapp/zz_controller.go b/internal/controller/spring/cloudapp/zz_controller.go new file mode 100755 index 000000000..93fe89a5c --- /dev/null +++ b/internal/controller/spring/cloudapp/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudapp + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudApp managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudApp_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudApp_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_app"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudApp{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudappcosmosdbassociation/zz_controller.go b/internal/controller/spring/cloudappcosmosdbassociation/zz_controller.go new file mode 100755 index 000000000..f91e32bbc --- /dev/null +++ b/internal/controller/spring/cloudappcosmosdbassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudappcosmosdbassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudAppCosmosdbAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudAppCosmosdbAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudAppCosmosdbAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_app_cosmosdb_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudAppCosmosdbAssociation{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudappmysqlassociation/zz_controller.go b/internal/controller/spring/cloudappmysqlassociation/zz_controller.go new file mode 100755 index 000000000..3ab497b00 --- /dev/null +++ b/internal/controller/spring/cloudappmysqlassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudappmysqlassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudAppMysqlAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudAppMysqlAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudAppMysqlAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_app_mysql_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudAppMysqlAssociation{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudappredisassociation/zz_controller.go b/internal/controller/spring/cloudappredisassociation/zz_controller.go new file mode 100755 index 000000000..7c9713b95 --- /dev/null +++ b/internal/controller/spring/cloudappredisassociation/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudappredisassociation + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudAppRedisAssociation managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudAppRedisAssociation_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudAppRedisAssociation_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_app_redis_association"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudAppRedisAssociation{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudcertificate/zz_controller.go b/internal/controller/spring/cloudcertificate/zz_controller.go new file mode 100755 index 000000000..d30ac314d --- /dev/null +++ b/internal/controller/spring/cloudcertificate/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudcertificate + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudCertificate managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudCertificate_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudCertificate_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_certificate"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudCertificate{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudcustomdomain/zz_controller.go b/internal/controller/spring/cloudcustomdomain/zz_controller.go new file mode 100755 index 000000000..9da1cc40e --- /dev/null +++ b/internal/controller/spring/cloudcustomdomain/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudcustomdomain + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudCustomDomain managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudCustomDomain_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudCustomDomain_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_custom_domain"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudCustomDomain{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudjavadeployment/zz_controller.go b/internal/controller/spring/cloudjavadeployment/zz_controller.go new file mode 100755 index 000000000..3eb25460d --- /dev/null +++ b/internal/controller/spring/cloudjavadeployment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudjavadeployment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudJavaDeployment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudJavaDeployment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudJavaDeployment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_java_deployment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudJavaDeployment{}). + Complete(r) +} diff --git a/internal/controller/spring/cloudservice/zz_controller.go b/internal/controller/spring/cloudservice/zz_controller.go new file mode 100755 index 000000000..d9fcb4e92 --- /dev/null +++ b/internal/controller/spring/cloudservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cloudservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/spring/v1alpha1" +) + +// Setup adds a controller that reconciles CloudService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.CloudService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.CloudService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_spring_cloud_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.CloudService{}). + Complete(r) +} diff --git a/internal/controller/sql/activedirectoryadministrator/zz_controller.go b/internal/controller/sql/activedirectoryadministrator/zz_controller.go new file mode 100755 index 000000000..7b4a23bdb --- /dev/null +++ b/internal/controller/sql/activedirectoryadministrator/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package activedirectoryadministrator + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" +) + +// Setup adds a controller that reconciles ActiveDirectoryAdministrator managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ActiveDirectoryAdministrator_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ActiveDirectoryAdministrator_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sql_active_directory_administrator"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ActiveDirectoryAdministrator{}). + Complete(r) +} diff --git a/internal/controller/sql/database/zz_controller.go b/internal/controller/sql/database/zz_controller.go new file mode 100755 index 000000000..0e13fb4a9 --- /dev/null +++ b/internal/controller/sql/database/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package database + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" +) + +// Setup adds a controller that reconciles Database managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Database_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Database_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sql_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Database{}). + Complete(r) +} diff --git a/internal/controller/sql/elasticpool/zz_controller.go b/internal/controller/sql/elasticpool/zz_controller.go new file mode 100755 index 000000000..5b07e8f17 --- /dev/null +++ b/internal/controller/sql/elasticpool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package elasticpool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" +) + +// Setup adds a controller that reconciles Elasticpool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Elasticpool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Elasticpool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sql_elasticpool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Elasticpool{}). + Complete(r) +} diff --git a/internal/controller/sql/firewallrule/zz_controller.go b/internal/controller/sql/firewallrule/zz_controller.go new file mode 100755 index 000000000..5f73f11d7 --- /dev/null +++ b/internal/controller/sql/firewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sql_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallRule{}). + Complete(r) +} diff --git a/internal/controller/sql/manageddatabase/zz_controller.go b/internal/controller/sql/manageddatabase/zz_controller.go new file mode 100755 index 000000000..9c52a8017 --- /dev/null +++ b/internal/controller/sql/manageddatabase/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package manageddatabase + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" +) + +// Setup adds a controller that reconciles ManagedDatabase managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagedDatabase_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagedDatabase_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sql_managed_database"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagedDatabase{}). + Complete(r) +} diff --git a/internal/controller/sql/managedinstance/zz_controller.go b/internal/controller/sql/managedinstance/zz_controller.go new file mode 100755 index 000000000..1ca27ce02 --- /dev/null +++ b/internal/controller/sql/managedinstance/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managedinstance + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/sql/v1alpha1" +) + +// Setup adds a controller that reconciles ManagedInstance managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagedInstance_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagedInstance_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_sql_managed_instance"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagedInstance{}). + Complete(r) +} diff --git a/internal/controller/ssh/publickey/zz_controller.go b/internal/controller/ssh/publickey/zz_controller.go new file mode 100755 index 000000000..3d14a43cc --- /dev/null +++ b/internal/controller/ssh/publickey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package publickey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/ssh/v1alpha1" +) + +// Setup adds a controller that reconciles PublicKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PublicKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PublicKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_ssh_public_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PublicKey{}). + Complete(r) +} diff --git a/internal/controller/stack/hcicluster/zz_controller.go b/internal/controller/stack/hcicluster/zz_controller.go new file mode 100755 index 000000000..9db22559b --- /dev/null +++ b/internal/controller/stack/hcicluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package hcicluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stack/v1alpha1" +) + +// Setup adds a controller that reconciles HciCluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.HciCluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.HciCluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stack_hci_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.HciCluster{}). + Complete(r) +} diff --git a/internal/controller/static/site/zz_controller.go b/internal/controller/static/site/zz_controller.go new file mode 100755 index 000000000..f1a4bbbde --- /dev/null +++ b/internal/controller/static/site/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package site + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/static/v1alpha1" +) + +// Setup adds a controller that reconciles Site managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Site_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Site_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_static_site"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Site{}). + Complete(r) +} diff --git a/internal/controller/storage/accountcustomermanagedkey/zz_controller.go b/internal/controller/storage/accountcustomermanagedkey/zz_controller.go new file mode 100755 index 000000000..077c37435 --- /dev/null +++ b/internal/controller/storage/accountcustomermanagedkey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package accountcustomermanagedkey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles AccountCustomerManagedKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AccountCustomerManagedKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AccountCustomerManagedKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_account_customer_managed_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AccountCustomerManagedKey{}). + Complete(r) +} diff --git a/internal/controller/storage/accountnetworkrules/zz_controller.go b/internal/controller/storage/accountnetworkrules/zz_controller.go new file mode 100755 index 000000000..50aead449 --- /dev/null +++ b/internal/controller/storage/accountnetworkrules/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package accountnetworkrules + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles AccountNetworkRules managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AccountNetworkRules_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AccountNetworkRules_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_account_network_rules"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AccountNetworkRules{}). + Complete(r) +} diff --git a/internal/controller/storage/blobinventorypolicy/zz_controller.go b/internal/controller/storage/blobinventorypolicy/zz_controller.go new file mode 100755 index 000000000..59f3e8808 --- /dev/null +++ b/internal/controller/storage/blobinventorypolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package blobinventorypolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles BlobInventoryPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.BlobInventoryPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.BlobInventoryPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_blob_inventory_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.BlobInventoryPolicy{}). + Complete(r) +} diff --git a/internal/controller/storage/datalakegen2filesystem/zz_controller.go b/internal/controller/storage/datalakegen2filesystem/zz_controller.go new file mode 100755 index 000000000..b08b63ad5 --- /dev/null +++ b/internal/controller/storage/datalakegen2filesystem/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package datalakegen2filesystem + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles DataLakeGen2Filesystem managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataLakeGen2Filesystem_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataLakeGen2Filesystem_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_data_lake_gen2_filesystem"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataLakeGen2Filesystem{}). + Complete(r) +} diff --git a/internal/controller/storage/datalakegen2path/zz_controller.go b/internal/controller/storage/datalakegen2path/zz_controller.go new file mode 100755 index 000000000..88b7da683 --- /dev/null +++ b/internal/controller/storage/datalakegen2path/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package datalakegen2path + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles DataLakeGen2Path managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.DataLakeGen2Path_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.DataLakeGen2Path_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_data_lake_gen2_path"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.DataLakeGen2Path{}). + Complete(r) +} diff --git a/internal/controller/storage/encryptionscope/zz_controller.go b/internal/controller/storage/encryptionscope/zz_controller.go new file mode 100755 index 000000000..4ae18b69e --- /dev/null +++ b/internal/controller/storage/encryptionscope/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package encryptionscope + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles EncryptionScope managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.EncryptionScope_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.EncryptionScope_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_encryption_scope"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.EncryptionScope{}). + Complete(r) +} diff --git a/internal/controller/storage/managementpolicy/zz_controller.go b/internal/controller/storage/managementpolicy/zz_controller.go new file mode 100755 index 000000000..cbe8bc1f3 --- /dev/null +++ b/internal/controller/storage/managementpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managementpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles ManagementPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagementPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagementPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_management_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagementPolicy{}). + Complete(r) +} diff --git a/internal/controller/storage/objectreplication/zz_controller.go b/internal/controller/storage/objectreplication/zz_controller.go new file mode 100755 index 000000000..308de1c09 --- /dev/null +++ b/internal/controller/storage/objectreplication/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package objectreplication + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles ObjectReplication managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ObjectReplication_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ObjectReplication_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_object_replication"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ObjectReplication{}). + Complete(r) +} diff --git a/internal/controller/storage/queue/zz_controller.go b/internal/controller/storage/queue/zz_controller.go new file mode 100755 index 000000000..e1bb1fd2d --- /dev/null +++ b/internal/controller/storage/queue/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package queue + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles Queue managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Queue_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Queue_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_queue"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Queue{}). + Complete(r) +} diff --git a/internal/controller/storage/share/zz_controller.go b/internal/controller/storage/share/zz_controller.go new file mode 100755 index 000000000..2bc14f55f --- /dev/null +++ b/internal/controller/storage/share/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package share + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles Share managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Share_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Share_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_share"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Share{}). + Complete(r) +} diff --git a/internal/controller/storage/sharedirectory/zz_controller.go b/internal/controller/storage/sharedirectory/zz_controller.go new file mode 100755 index 000000000..e429fd5d3 --- /dev/null +++ b/internal/controller/storage/sharedirectory/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sharedirectory + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles ShareDirectory managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ShareDirectory_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ShareDirectory_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_share_directory"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ShareDirectory{}). + Complete(r) +} diff --git a/internal/controller/storage/sync/zz_controller.go b/internal/controller/storage/sync/zz_controller.go new file mode 100755 index 000000000..a03bdbfb0 --- /dev/null +++ b/internal/controller/storage/sync/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sync + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles Sync managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Sync_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Sync_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_sync"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Sync{}). + Complete(r) +} diff --git a/internal/controller/storage/synccloudendpoint/zz_controller.go b/internal/controller/storage/synccloudendpoint/zz_controller.go new file mode 100755 index 000000000..757dfe2cd --- /dev/null +++ b/internal/controller/storage/synccloudendpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package synccloudendpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles SyncCloudEndpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SyncCloudEndpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SyncCloudEndpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_sync_cloud_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SyncCloudEndpoint{}). + Complete(r) +} diff --git a/internal/controller/storage/table/zz_controller.go b/internal/controller/storage/table/zz_controller.go new file mode 100755 index 000000000..4bc31468e --- /dev/null +++ b/internal/controller/storage/table/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package table + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles Table managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Table_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Table_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_table"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Table{}). + Complete(r) +} diff --git a/internal/controller/storage/tableentity/zz_controller.go b/internal/controller/storage/tableentity/zz_controller.go new file mode 100755 index 000000000..fa55943e4 --- /dev/null +++ b/internal/controller/storage/tableentity/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package tableentity + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/storage/v1alpha1" +) + +// Setup adds a controller that reconciles TableEntity managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TableEntity_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TableEntity_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_storage_table_entity"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TableEntity{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsfunctionjavascriptudf/zz_controller.go b/internal/controller/stream/analyticsfunctionjavascriptudf/zz_controller.go new file mode 100755 index 000000000..c2162e1c4 --- /dev/null +++ b/internal/controller/stream/analyticsfunctionjavascriptudf/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsfunctionjavascriptudf + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsFunctionJavascriptUdf managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsFunctionJavascriptUdf_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsFunctionJavascriptUdf_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_function_javascript_udf"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsFunctionJavascriptUdf{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsjob/zz_controller.go b/internal/controller/stream/analyticsjob/zz_controller.go new file mode 100755 index 000000000..f831013cc --- /dev/null +++ b/internal/controller/stream/analyticsjob/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsjob + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsJob managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsJob_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsJob_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_job"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsJob{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsoutputblob/zz_controller.go b/internal/controller/stream/analyticsoutputblob/zz_controller.go new file mode 100755 index 000000000..ccffbdb9b --- /dev/null +++ b/internal/controller/stream/analyticsoutputblob/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsoutputblob + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsOutputBlob managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsOutputBlob_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsOutputBlob_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_output_blob"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsOutputBlob{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsoutputeventhub/zz_controller.go b/internal/controller/stream/analyticsoutputeventhub/zz_controller.go new file mode 100755 index 000000000..6e677feca --- /dev/null +++ b/internal/controller/stream/analyticsoutputeventhub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsoutputeventhub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsOutputEventhub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsOutputEventhub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsOutputEventhub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_output_eventhub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsOutputEventhub{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsoutputmssql/zz_controller.go b/internal/controller/stream/analyticsoutputmssql/zz_controller.go new file mode 100755 index 000000000..8a188f610 --- /dev/null +++ b/internal/controller/stream/analyticsoutputmssql/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsoutputmssql + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsOutputMssql managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsOutputMssql_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsOutputMssql_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_output_mssql"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsOutputMssql{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsoutputservicebusqueue/zz_controller.go b/internal/controller/stream/analyticsoutputservicebusqueue/zz_controller.go new file mode 100755 index 000000000..f04a9abc2 --- /dev/null +++ b/internal/controller/stream/analyticsoutputservicebusqueue/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsoutputservicebusqueue + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsOutputServicebusQueue managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsOutputServicebusQueue_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsOutputServicebusQueue_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_output_servicebus_queue"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsOutputServicebusQueue{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsoutputservicebustopic/zz_controller.go b/internal/controller/stream/analyticsoutputservicebustopic/zz_controller.go new file mode 100755 index 000000000..77bd10e5a --- /dev/null +++ b/internal/controller/stream/analyticsoutputservicebustopic/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsoutputservicebustopic + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsOutputServicebusTopic managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsOutputServicebusTopic_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsOutputServicebusTopic_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_output_servicebus_topic"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsOutputServicebusTopic{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsreferenceinputblob/zz_controller.go b/internal/controller/stream/analyticsreferenceinputblob/zz_controller.go new file mode 100755 index 000000000..224184fcd --- /dev/null +++ b/internal/controller/stream/analyticsreferenceinputblob/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsreferenceinputblob + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsReferenceInputBlob managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsReferenceInputBlob_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsReferenceInputBlob_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_reference_input_blob"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsReferenceInputBlob{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsstreaminputblob/zz_controller.go b/internal/controller/stream/analyticsstreaminputblob/zz_controller.go new file mode 100755 index 000000000..86c4e35d1 --- /dev/null +++ b/internal/controller/stream/analyticsstreaminputblob/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsstreaminputblob + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsStreamInputBlob managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsStreamInputBlob_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsStreamInputBlob_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_stream_input_blob"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsStreamInputBlob{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsstreaminputeventhub/zz_controller.go b/internal/controller/stream/analyticsstreaminputeventhub/zz_controller.go new file mode 100755 index 000000000..128be32c7 --- /dev/null +++ b/internal/controller/stream/analyticsstreaminputeventhub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsstreaminputeventhub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsStreamInputEventhub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsStreamInputEventhub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsStreamInputEventhub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_stream_input_eventhub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsStreamInputEventhub{}). + Complete(r) +} diff --git a/internal/controller/stream/analyticsstreaminputiothub/zz_controller.go b/internal/controller/stream/analyticsstreaminputiothub/zz_controller.go new file mode 100755 index 000000000..80b25e615 --- /dev/null +++ b/internal/controller/stream/analyticsstreaminputiothub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyticsstreaminputiothub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/stream/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyticsStreamInputIothub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyticsStreamInputIothub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyticsStreamInputIothub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_stream_analytics_stream_input_iothub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyticsStreamInputIothub{}). + Complete(r) +} diff --git a/internal/controller/subscription/policyassignment/zz_controller.go b/internal/controller/subscription/policyassignment/zz_controller.go new file mode 100755 index 000000000..474a42e47 --- /dev/null +++ b/internal/controller/subscription/policyassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package policyassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/subscription/v1alpha1" +) + +// Setup adds a controller that reconciles PolicyAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PolicyAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PolicyAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_subscription_policy_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PolicyAssignment{}). + Complete(r) +} diff --git a/internal/controller/subscription/templatedeployment/zz_controller.go b/internal/controller/subscription/templatedeployment/zz_controller.go new file mode 100755 index 000000000..3ecb68813 --- /dev/null +++ b/internal/controller/subscription/templatedeployment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package templatedeployment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/subscription/v1alpha1" +) + +// Setup adds a controller that reconciles TemplateDeployment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TemplateDeployment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TemplateDeployment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_subscription_template_deployment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TemplateDeployment{}). + Complete(r) +} diff --git a/internal/controller/synapse/firewallrule/zz_controller.go b/internal/controller/synapse/firewallrule/zz_controller.go new file mode 100755 index 000000000..cf5a1f9ee --- /dev/null +++ b/internal/controller/synapse/firewallrule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package firewallrule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles FirewallRule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.FirewallRule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.FirewallRule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_firewall_rule"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.FirewallRule{}). + Complete(r) +} diff --git a/internal/controller/synapse/integrationruntimeazure/zz_controller.go b/internal/controller/synapse/integrationruntimeazure/zz_controller.go new file mode 100755 index 000000000..966155a03 --- /dev/null +++ b/internal/controller/synapse/integrationruntimeazure/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package integrationruntimeazure + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles IntegrationRuntimeAzure managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.IntegrationRuntimeAzure_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.IntegrationRuntimeAzure_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_integration_runtime_azure"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.IntegrationRuntimeAzure{}). + Complete(r) +} diff --git a/internal/controller/synapse/integrationruntimeselfhosted/zz_controller.go b/internal/controller/synapse/integrationruntimeselfhosted/zz_controller.go new file mode 100755 index 000000000..f60250c69 --- /dev/null +++ b/internal/controller/synapse/integrationruntimeselfhosted/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package integrationruntimeselfhosted + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles IntegrationRuntimeSelfHosted managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.IntegrationRuntimeSelfHosted_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.IntegrationRuntimeSelfHosted_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_integration_runtime_self_hosted"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.IntegrationRuntimeSelfHosted{}). + Complete(r) +} diff --git a/internal/controller/synapse/linkedservice/zz_controller.go b/internal/controller/synapse/linkedservice/zz_controller.go new file mode 100755 index 000000000..60c2b9cfc --- /dev/null +++ b/internal/controller/synapse/linkedservice/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package linkedservice + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles LinkedService managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.LinkedService_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.LinkedService_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_linked_service"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.LinkedService{}). + Complete(r) +} diff --git a/internal/controller/synapse/managedprivateendpoint/zz_controller.go b/internal/controller/synapse/managedprivateendpoint/zz_controller.go new file mode 100755 index 000000000..049613394 --- /dev/null +++ b/internal/controller/synapse/managedprivateendpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managedprivateendpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles ManagedPrivateEndpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagedPrivateEndpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagedPrivateEndpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_managed_private_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagedPrivateEndpoint{}). + Complete(r) +} diff --git a/internal/controller/synapse/privatelinkhub/zz_controller.go b/internal/controller/synapse/privatelinkhub/zz_controller.go new file mode 100755 index 000000000..4f86c940b --- /dev/null +++ b/internal/controller/synapse/privatelinkhub/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package privatelinkhub + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles PrivateLinkHub managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PrivateLinkHub_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PrivateLinkHub_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_private_link_hub"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PrivateLinkHub{}). + Complete(r) +} diff --git a/internal/controller/synapse/roleassignment/zz_controller.go b/internal/controller/synapse/roleassignment/zz_controller.go new file mode 100755 index 000000000..1b68a7185 --- /dev/null +++ b/internal/controller/synapse/roleassignment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package roleassignment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles RoleAssignment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.RoleAssignment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.RoleAssignment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_role_assignment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.RoleAssignment{}). + Complete(r) +} diff --git a/internal/controller/synapse/sparkpool/zz_controller.go b/internal/controller/synapse/sparkpool/zz_controller.go new file mode 100755 index 000000000..ade308e2b --- /dev/null +++ b/internal/controller/synapse/sparkpool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sparkpool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles SparkPool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SparkPool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SparkPool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_spark_pool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SparkPool{}). + Complete(r) +} diff --git a/internal/controller/synapse/sqlpool/zz_controller.go b/internal/controller/synapse/sqlpool/zz_controller.go new file mode 100755 index 000000000..4972ce67b --- /dev/null +++ b/internal/controller/synapse/sqlpool/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sqlpool + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles SqlPool managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SqlPool_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SqlPool_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_sql_pool"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SqlPool{}). + Complete(r) +} diff --git a/internal/controller/synapse/sqlpoolextendedauditingpolicy/zz_controller.go b/internal/controller/synapse/sqlpoolextendedauditingpolicy/zz_controller.go new file mode 100755 index 000000000..aa0854c63 --- /dev/null +++ b/internal/controller/synapse/sqlpoolextendedauditingpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sqlpoolextendedauditingpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles SqlPoolExtendedAuditingPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SqlPoolExtendedAuditingPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SqlPoolExtendedAuditingPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_sql_pool_extended_auditing_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SqlPoolExtendedAuditingPolicy{}). + Complete(r) +} diff --git a/internal/controller/synapse/sqlpoolsecurityalertpolicy/zz_controller.go b/internal/controller/synapse/sqlpoolsecurityalertpolicy/zz_controller.go new file mode 100755 index 000000000..58ed01349 --- /dev/null +++ b/internal/controller/synapse/sqlpoolsecurityalertpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sqlpoolsecurityalertpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles SqlPoolSecurityAlertPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SqlPoolSecurityAlertPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SqlPoolSecurityAlertPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_sql_pool_security_alert_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SqlPoolSecurityAlertPolicy{}). + Complete(r) +} diff --git a/internal/controller/synapse/sqlpoolvulnerabilityassessment/zz_controller.go b/internal/controller/synapse/sqlpoolvulnerabilityassessment/zz_controller.go new file mode 100755 index 000000000..635d1cc33 --- /dev/null +++ b/internal/controller/synapse/sqlpoolvulnerabilityassessment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package sqlpoolvulnerabilityassessment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles SqlPoolVulnerabilityAssessment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.SqlPoolVulnerabilityAssessment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.SqlPoolVulnerabilityAssessment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_sql_pool_vulnerability_assessment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.SqlPoolVulnerabilityAssessment{}). + Complete(r) +} diff --git a/internal/controller/synapse/workspace/zz_controller.go b/internal/controller/synapse/workspace/zz_controller.go new file mode 100755 index 000000000..a3a1c966a --- /dev/null +++ b/internal/controller/synapse/workspace/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspace + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles Workspace managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Workspace_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Workspace_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_workspace"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Workspace{}). + Complete(r) +} diff --git a/internal/controller/synapse/workspaceextendedauditingpolicy/zz_controller.go b/internal/controller/synapse/workspaceextendedauditingpolicy/zz_controller.go new file mode 100755 index 000000000..6993d509b --- /dev/null +++ b/internal/controller/synapse/workspaceextendedauditingpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspaceextendedauditingpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles WorkspaceExtendedAuditingPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WorkspaceExtendedAuditingPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WorkspaceExtendedAuditingPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_workspace_extended_auditing_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WorkspaceExtendedAuditingPolicy{}). + Complete(r) +} diff --git a/internal/controller/synapse/workspacekey/zz_controller.go b/internal/controller/synapse/workspacekey/zz_controller.go new file mode 100755 index 000000000..272a045eb --- /dev/null +++ b/internal/controller/synapse/workspacekey/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspacekey + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles WorkspaceKey managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WorkspaceKey_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WorkspaceKey_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_workspace_key"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WorkspaceKey{}). + Complete(r) +} diff --git a/internal/controller/synapse/workspacesecurityalertpolicy/zz_controller.go b/internal/controller/synapse/workspacesecurityalertpolicy/zz_controller.go new file mode 100755 index 000000000..85c45296a --- /dev/null +++ b/internal/controller/synapse/workspacesecurityalertpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspacesecurityalertpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles WorkspaceSecurityAlertPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WorkspaceSecurityAlertPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WorkspaceSecurityAlertPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_workspace_security_alert_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WorkspaceSecurityAlertPolicy{}). + Complete(r) +} diff --git a/internal/controller/synapse/workspacevulnerabilityassessment/zz_controller.go b/internal/controller/synapse/workspacevulnerabilityassessment/zz_controller.go new file mode 100755 index 000000000..8bee89cc0 --- /dev/null +++ b/internal/controller/synapse/workspacevulnerabilityassessment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package workspacevulnerabilityassessment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/synapse/v1alpha1" +) + +// Setup adds a controller that reconciles WorkspaceVulnerabilityAssessment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.WorkspaceVulnerabilityAssessment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.WorkspaceVulnerabilityAssessment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_synapse_workspace_vulnerability_assessment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.WorkspaceVulnerabilityAssessment{}). + Complete(r) +} diff --git a/internal/controller/template/deployment/zz_controller.go b/internal/controller/template/deployment/zz_controller.go new file mode 100755 index 000000000..c0080d8db --- /dev/null +++ b/internal/controller/template/deployment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package deployment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/template/v1alpha1" +) + +// Setup adds a controller that reconciles Deployment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Deployment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Deployment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_template_deployment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Deployment{}). + Complete(r) +} diff --git a/internal/controller/tenant/templatedeployment/zz_controller.go b/internal/controller/tenant/templatedeployment/zz_controller.go new file mode 100755 index 000000000..d16c6c994 --- /dev/null +++ b/internal/controller/tenant/templatedeployment/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package templatedeployment + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/tenant/v1alpha1" +) + +// Setup adds a controller that reconciles TemplateDeployment managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.TemplateDeployment_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.TemplateDeployment_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_tenant_template_deployment"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.TemplateDeployment{}). + Complete(r) +} diff --git a/internal/controller/traffic/managerendpoint/zz_controller.go b/internal/controller/traffic/managerendpoint/zz_controller.go new file mode 100755 index 000000000..912c9670a --- /dev/null +++ b/internal/controller/traffic/managerendpoint/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managerendpoint + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/traffic/v1alpha1" +) + +// Setup adds a controller that reconciles ManagerEndpoint managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagerEndpoint_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagerEndpoint_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_traffic_manager_endpoint"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagerEndpoint{}). + Complete(r) +} diff --git a/internal/controller/traffic/managerprofile/zz_controller.go b/internal/controller/traffic/managerprofile/zz_controller.go new file mode 100755 index 000000000..3372b64c8 --- /dev/null +++ b/internal/controller/traffic/managerprofile/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package managerprofile + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/traffic/v1alpha1" +) + +// Setup adds a controller that reconciles ManagerProfile managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ManagerProfile_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ManagerProfile_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_traffic_manager_profile"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ManagerProfile{}). + Complete(r) +} diff --git a/internal/controller/user/assignedidentity/zz_controller.go b/internal/controller/user/assignedidentity/zz_controller.go new file mode 100755 index 000000000..879adb941 --- /dev/null +++ b/internal/controller/user/assignedidentity/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package assignedidentity + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/user/v1alpha1" +) + +// Setup adds a controller that reconciles AssignedIdentity managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AssignedIdentity_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AssignedIdentity_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_user_assigned_identity"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AssignedIdentity{}). + Complete(r) +} diff --git a/internal/controller/video/analyzer/zz_controller.go b/internal/controller/video/analyzer/zz_controller.go new file mode 100755 index 000000000..abcf86537 --- /dev/null +++ b/internal/controller/video/analyzer/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyzer + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/video/v1alpha1" +) + +// Setup adds a controller that reconciles Analyzer managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Analyzer_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Analyzer_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_video_analyzer"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Analyzer{}). + Complete(r) +} diff --git a/internal/controller/video/analyzeredgemodule/zz_controller.go b/internal/controller/video/analyzeredgemodule/zz_controller.go new file mode 100755 index 000000000..bd19bb539 --- /dev/null +++ b/internal/controller/video/analyzeredgemodule/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package analyzeredgemodule + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/video/v1alpha1" +) + +// Setup adds a controller that reconciles AnalyzerEdgeModule managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.AnalyzerEdgeModule_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.AnalyzerEdgeModule_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_video_analyzer_edge_module"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.AnalyzerEdgeModule{}). + Complete(r) +} diff --git a/internal/controller/vmware/cluster/zz_controller.go b/internal/controller/vmware/cluster/zz_controller.go new file mode 100755 index 000000000..e803b73b5 --- /dev/null +++ b/internal/controller/vmware/cluster/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package cluster + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vmware/v1alpha1" +) + +// Setup adds a controller that reconciles Cluster managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Cluster_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Cluster_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vmware_cluster"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Cluster{}). + Complete(r) +} diff --git a/internal/controller/vmware/expressrouteauthorization/zz_controller.go b/internal/controller/vmware/expressrouteauthorization/zz_controller.go new file mode 100755 index 000000000..d568c5716 --- /dev/null +++ b/internal/controller/vmware/expressrouteauthorization/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package expressrouteauthorization + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vmware/v1alpha1" +) + +// Setup adds a controller that reconciles ExpressRouteAuthorization managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ExpressRouteAuthorization_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ExpressRouteAuthorization_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vmware_express_route_authorization"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ExpressRouteAuthorization{}). + Complete(r) +} diff --git a/internal/controller/vmware/privatecloud/zz_controller.go b/internal/controller/vmware/privatecloud/zz_controller.go new file mode 100755 index 000000000..83f0c6a68 --- /dev/null +++ b/internal/controller/vmware/privatecloud/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package privatecloud + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vmware/v1alpha1" +) + +// Setup adds a controller that reconciles PrivateCloud managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.PrivateCloud_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.PrivateCloud_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vmware_private_cloud"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.PrivateCloud{}). + Complete(r) +} diff --git a/internal/controller/vpn/gateway/zz_controller.go b/internal/controller/vpn/gateway/zz_controller.go new file mode 100755 index 000000000..2ace42820 --- /dev/null +++ b/internal/controller/vpn/gateway/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package gateway + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vpn/v1alpha1" +) + +// Setup adds a controller that reconciles Gateway managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Gateway_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Gateway_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vpn_gateway"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Gateway{}). + Complete(r) +} diff --git a/internal/controller/vpn/gatewayconnection/zz_controller.go b/internal/controller/vpn/gatewayconnection/zz_controller.go new file mode 100755 index 000000000..24db9109d --- /dev/null +++ b/internal/controller/vpn/gatewayconnection/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package gatewayconnection + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vpn/v1alpha1" +) + +// Setup adds a controller that reconciles GatewayConnection managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.GatewayConnection_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.GatewayConnection_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vpn_gateway_connection"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.GatewayConnection{}). + Complete(r) +} diff --git a/internal/controller/vpn/serverconfiguration/zz_controller.go b/internal/controller/vpn/serverconfiguration/zz_controller.go new file mode 100755 index 000000000..b30f243a0 --- /dev/null +++ b/internal/controller/vpn/serverconfiguration/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package serverconfiguration + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vpn/v1alpha1" +) + +// Setup adds a controller that reconciles ServerConfiguration managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ServerConfiguration_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ServerConfiguration_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vpn_server_configuration"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ServerConfiguration{}). + Complete(r) +} diff --git a/internal/controller/vpn/site/zz_controller.go b/internal/controller/vpn/site/zz_controller.go new file mode 100755 index 000000000..abe76fd4b --- /dev/null +++ b/internal/controller/vpn/site/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package site + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/vpn/v1alpha1" +) + +// Setup adds a controller that reconciles Site managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.Site_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.Site_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_vpn_site"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.Site{}). + Complete(r) +} diff --git a/internal/controller/web/applicationfirewallpolicy/zz_controller.go b/internal/controller/web/applicationfirewallpolicy/zz_controller.go new file mode 100755 index 000000000..a22645984 --- /dev/null +++ b/internal/controller/web/applicationfirewallpolicy/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package applicationfirewallpolicy + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/web/v1alpha1" +) + +// Setup adds a controller that reconciles ApplicationFirewallPolicy managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.ApplicationFirewallPolicy_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.ApplicationFirewallPolicy_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_web_application_firewall_policy"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.ApplicationFirewallPolicy{}). + Complete(r) +} diff --git a/internal/controller/windows/virtualmachine/zz_controller.go b/internal/controller/windows/virtualmachine/zz_controller.go new file mode 100755 index 000000000..92983ff94 --- /dev/null +++ b/internal/controller/windows/virtualmachine/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachine + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/windows/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachine managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachine_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachine_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_windows_virtual_machine"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachine{}). + Complete(r) +} diff --git a/internal/controller/windows/virtualmachinescaleset/zz_controller.go b/internal/controller/windows/virtualmachinescaleset/zz_controller.go new file mode 100755 index 000000000..00581ee5d --- /dev/null +++ b/internal/controller/windows/virtualmachinescaleset/zz_controller.go @@ -0,0 +1,58 @@ +/* +Copyright 2020 The Crossplane Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by terrajet. DO NOT EDIT. + +package virtualmachinescaleset + +import ( + "time" + + "k8s.io/client-go/util/workqueue" + ctrl "sigs.k8s.io/controller-runtime" + + "github.com/crossplane/crossplane-runtime/pkg/event" + "github.com/crossplane/crossplane-runtime/pkg/logging" + "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" + xpresource "github.com/crossplane/crossplane-runtime/pkg/resource" + "sigs.k8s.io/controller-runtime/pkg/controller" + + tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" + tjcontroller "github.com/crossplane-contrib/terrajet/pkg/controller" + "github.com/crossplane-contrib/terrajet/pkg/terraform" + + v1alpha1 "github.com/crossplane-contrib/provider-jet-azure/apis/windows/v1alpha1" +) + +// Setup adds a controller that reconciles VirtualMachineScaleSet managed resources. +func Setup(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter, s terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { + name := managed.ControllerName(v1alpha1.VirtualMachineScaleSet_GroupVersionKind.String()) + r := managed.NewReconciler(mgr, + xpresource.ManagedKind(v1alpha1.VirtualMachineScaleSet_GroupVersionKind), + managed.WithExternalConnecter(tjcontroller.NewConnector(mgr.GetClient(), ws, s, cfg.Resources["azurerm_windows_virtual_machine_scale_set"])), + managed.WithLogger(l.WithValues("controller", name)), + managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), + managed.WithFinalizer(terraform.NewWorkspaceFinalizer(ws, xpresource.NewAPIFinalizer(mgr.GetClient(), managed.FinalizerName))), + managed.WithTimeout(3*time.Minute), + managed.WithInitializers(), + ) + + return ctrl.NewControllerManagedBy(mgr). + Named(name). + WithOptions(controller.Options{RateLimiter: rl, MaxConcurrentReconciles: concurrency}). + For(&v1alpha1.VirtualMachineScaleSet{}). + Complete(r) +} diff --git a/internal/controller/zz_setup.go b/internal/controller/zz_setup.go index e58735985..f311ec76d 100755 --- a/internal/controller/zz_setup.go +++ b/internal/controller/zz_setup.go @@ -25,11 +25,139 @@ import ( tjconfig "github.com/crossplane-contrib/terrajet/pkg/config" "github.com/crossplane-contrib/terrajet/pkg/terraform" + directorydomainservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/active/directorydomainservice" + directorydomainservicereplicaset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/active/directorydomainservicereplicaset" + threatprotection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/advanced/threatprotection" + servicesserver "github.com/crossplane-contrib/provider-jet-azure/internal/controller/analysis/servicesserver" + management "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/management" + managementapi "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapi" + managementapidiagnostic "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapidiagnostic" + managementapioperation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapioperation" + managementapioperationpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapioperationpolicy" + managementapioperationtag "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapioperationtag" + managementapipolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapipolicy" + managementapirelease "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapirelease" + managementapischema "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapischema" + managementapiversionset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementapiversionset" + managementauthorizationserver "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementauthorizationserver" + managementbackend "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementbackend" + managementcertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementcertificate" + managementcustomdomain "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementcustomdomain" + managementdiagnostic "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementdiagnostic" + managementemailtemplate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementemailtemplate" + managementgateway "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementgateway" + managementgatewayapi "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementgatewayapi" + managementidentityprovideraad "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementidentityprovideraad" + managementidentityprovideraadb2c "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementidentityprovideraadb2c" + managementidentityproviderfacebook "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementidentityproviderfacebook" + managementidentityprovidergoogle "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementidentityprovidergoogle" + managementidentityprovidermicrosoft "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementidentityprovidermicrosoft" + managementidentityprovidertwitter "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementidentityprovidertwitter" + managementlogger "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementlogger" + managementnamedvalue "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementnamedvalue" + managementnotificationrecipientemail "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementnotificationrecipientemail" + managementopenidconnectprovider "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementopenidconnectprovider" + managementpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementpolicy" + managementproduct "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementproduct" + managementproductapi "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementproductapi" + managementproductpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementproductpolicy" + managementproperty "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementproperty" + managementrediscache "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementrediscache" + managementsubscription "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementsubscription" + managementtag "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementtag" + managementuser "github.com/crossplane-contrib/provider-jet-azure/internal/controller/api/managementuser" + configuration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/configuration" + configurationkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/configurationkey" + service "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/service" + serviceactiveslot "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/serviceactiveslot" + servicecertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicecertificate" + servicecertificatebinding "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicecertificatebinding" + servicecertificateorder "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicecertificateorder" + servicecustomhostnamebinding "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicecustomhostnamebinding" + serviceenvironment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/serviceenvironment" + serviceenvironmentv3 "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/serviceenvironmentv3" + servicehybridconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicehybridconnection" + servicemanagedcertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicemanagedcertificate" + serviceplan "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/serviceplan" + serviceslot "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/serviceslot" + serviceslotvirtualnetworkswiftconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/serviceslotvirtualnetworkswiftconnection" + servicesourcecontroltoken "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicesourcecontroltoken" + servicevirtualnetworkswiftconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/app/servicevirtualnetworkswiftconnection" + gateway "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/gateway" + insights "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/insights" + insightsanalyticsitem "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/insightsanalyticsitem" + insightsapikey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/insightsapikey" + insightssmartdetectionrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/insightssmartdetectionrule" + insightswebtest "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/insightswebtest" + securitygroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/application/securitygroup" + provider "github.com/crossplane-contrib/provider-jet-azure/internal/controller/attestation/provider" resourcegrouppolicyassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/authorization/resourcegrouppolicyassignment" + account "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/account" + certificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/certificate" + connection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/connection" + connectioncertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/connectioncertificate" + connectionclassiccertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/connectionclassiccertificate" + connectionserviceprincipal "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/connectionserviceprincipal" + credential "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/credential" + dscnodeconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/dscnodeconfiguration" + jobschedule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/jobschedule" + module "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/module" + runbook "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/runbook" + schedule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/schedule" + variablebool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/variablebool" + variabledatetime "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/variabledatetime" + variableint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/variableint" + variablestring "github.com/crossplane-contrib/provider-jet-azure/internal/controller/automation/variablestring" + set "github.com/crossplane-contrib/provider-jet-azure/internal/controller/availability/set" resourcegroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azure/resourcegroup" + dashboard "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/dashboard" + eventhub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/eventhub" + firewall "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/firewall" + frontdoor "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/frontdoor" + healthbot "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/healthbot" + image "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/image" + snapshot "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/snapshot" + subscription "github.com/crossplane-contrib/provider-jet-azure/internal/controller/azurerm/subscription" + containerstorageaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/backup/containerstorageaccount" + policyfileshare "github.com/crossplane-contrib/provider-jet-azure/internal/controller/backup/policyfileshare" + policyvm "github.com/crossplane-contrib/provider-jet-azure/internal/controller/backup/policyvm" + protectedfileshare "github.com/crossplane-contrib/provider-jet-azure/internal/controller/backup/protectedfileshare" + protectedvm "github.com/crossplane-contrib/provider-jet-azure/internal/controller/backup/protectedvm" + host "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bastion/host" + accountbatch "github.com/crossplane-contrib/provider-jet-azure/internal/controller/batch/account" + application "github.com/crossplane-contrib/provider-jet-azure/internal/controller/batch/application" + certificatebatch "github.com/crossplane-contrib/provider-jet-azure/internal/controller/batch/certificate" + job "github.com/crossplane-contrib/provider-jet-azure/internal/controller/batch/job" + pool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/batch/pool" + assignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/blueprint/assignment" + channelalexa "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelalexa" + channeldirectline "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channeldirectline" + channeldirectlinespeech "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channeldirectlinespeech" + channelemail "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelemail" + channelfacebook "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelfacebook" + channelline "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelline" + channelmsteams "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelmsteams" + channelslack "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelslack" + channelsms "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelsms" + channelsregistration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelsregistration" + channelwebchat "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/channelwebchat" + connectionbot "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/connection" + webapp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/bot/webapp" + endpoint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cdn/endpoint" + endpointcustomdomain "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cdn/endpointcustomdomain" + profile "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cdn/profile" + accountcognitive "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cognitive/account" + accountcustomermanagedkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cognitive/accountcustomermanagedkey" + servicecommunication "github.com/crossplane-contrib/provider-jet-azure/internal/controller/communication/service" + budgetresourcegroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/consumption/budgetresourcegroup" + budgetsubscription "github.com/crossplane-contrib/provider-jet-azure/internal/controller/consumption/budgetsubscription" + registry "github.com/crossplane-contrib/provider-jet-azure/internal/controller/container/registry" + registryscopemap "github.com/crossplane-contrib/provider-jet-azure/internal/controller/container/registryscopemap" + registrytoken "github.com/crossplane-contrib/provider-jet-azure/internal/controller/container/registrytoken" + registrywebhook "github.com/crossplane-contrib/provider-jet-azure/internal/controller/container/registrywebhook" kubernetescluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/containerservice/kubernetescluster" kubernetesclusternodepool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/containerservice/kubernetesclusternodepool" - account "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/account" + accountcosmosdb "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/account" cassandrakeyspace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/cassandrakeyspace" cassandratable "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/cassandratable" gremlindatabase "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/gremlindatabase" @@ -43,7 +171,156 @@ import ( sqlstoredprocedure "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/sqlstoredprocedure" sqltrigger "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/sqltrigger" table "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cosmosdb/table" - consumergroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/consumergroup" + managementexportresourcegroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/cost/managementexportresourcegroup" + providercustom "github.com/crossplane-contrib/provider-jet-azure/internal/controller/custom/provider" + factory "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factory" + factorycustomdataset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorycustomdataset" + factorydataflow "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydataflow" + factorydatasetazureblob "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetazureblob" + factorydatasetbinary "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetbinary" + factorydatasetcosmosdbsqlapi "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetcosmosdbsqlapi" + factorydatasetdelimitedtext "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetdelimitedtext" + factorydatasethttp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasethttp" + factorydatasetjson "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetjson" + factorydatasetmysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetmysql" + factorydatasetparquet "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetparquet" + factorydatasetpostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetpostgresql" + factorydatasetsnowflake "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetsnowflake" + factorydatasetsqlservertable "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorydatasetsqlservertable" + factoryintegrationruntimeazure "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factoryintegrationruntimeazure" + factoryintegrationruntimeazuressis "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factoryintegrationruntimeazuressis" + factoryintegrationruntimemanaged "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factoryintegrationruntimemanaged" + factoryintegrationruntimeselfhosted "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factoryintegrationruntimeselfhosted" + factorylinkedcustomservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedcustomservice" + factorylinkedserviceazureblobstorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazureblobstorage" + factorylinkedserviceazuredatabricks "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazuredatabricks" + factorylinkedserviceazurefilestorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazurefilestorage" + factorylinkedserviceazurefunction "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazurefunction" + factorylinkedserviceazuresearch "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazuresearch" + factorylinkedserviceazuresqldatabase "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazuresqldatabase" + factorylinkedserviceazuretablestorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceazuretablestorage" + factorylinkedservicecosmosdb "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicecosmosdb" + factorylinkedservicedatalakestoragegen2 "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicedatalakestoragegen2" + factorylinkedservicekeyvault "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicekeyvault" + factorylinkedservicekusto "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicekusto" + factorylinkedservicemysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicemysql" + factorylinkedserviceodata "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceodata" + factorylinkedservicepostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicepostgresql" + factorylinkedservicesftp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicesftp" + factorylinkedservicesnowflake "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicesnowflake" + factorylinkedservicesqlserver "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicesqlserver" + factorylinkedservicesynapse "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedservicesynapse" + factorylinkedserviceweb "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorylinkedserviceweb" + factorymanagedprivateendpoint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorymanagedprivateendpoint" + factorypipeline "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorypipeline" + factorytriggerblobevent "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorytriggerblobevent" + factorytriggercustomevent "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorytriggercustomevent" + factorytriggerschedule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/factorytriggerschedule" + lakeanalyticsfirewallrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/lakeanalyticsfirewallrule" + lakestore "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/lakestore" + lakestorefile "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/lakestorefile" + lakestorefirewallrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/lakestorefirewallrule" + lakestorevirtualnetworkrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/lakestorevirtualnetworkrule" + protectionbackupinstanceblobstorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackupinstanceblobstorage" + protectionbackupinstancedisk "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackupinstancedisk" + protectionbackupinstancepostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackupinstancepostgresql" + protectionbackuppolicyblobstorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackuppolicyblobstorage" + protectionbackuppolicydisk "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackuppolicydisk" + protectionbackuppolicypostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackuppolicypostgresql" + protectionbackupvault "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/protectionbackupvault" + share "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/share" + shareaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/shareaccount" + sharedatasetblobstorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/sharedatasetblobstorage" + sharedatasetdatalakegen1 "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/sharedatasetdatalakegen1" + sharedatasetdatalakegen2 "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/sharedatasetdatalakegen2" + sharedatasetkustocluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/sharedatasetkustocluster" + sharedatasetkustodatabase "github.com/crossplane-contrib/provider-jet-azure/internal/controller/data/sharedatasetkustodatabase" + migrationproject "github.com/crossplane-contrib/provider-jet-azure/internal/controller/database/migrationproject" + migrationservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/database/migrationservice" + edgedevice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/databox/edgedevice" + edgeorder "github.com/crossplane-contrib/provider-jet-azure/internal/controller/databox/edgeorder" + workspace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/databricks/workspace" + workspacecustomermanagedkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/databricks/workspacecustomermanagedkey" + hardwaresecuritymodule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dedicated/hardwaresecuritymodule" + hostdedicated "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dedicated/host" + testglobalvmshutdownschedule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testglobalvmshutdownschedule" + testlab "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testlab" + testlinuxvirtualmachine "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testlinuxvirtualmachine" + testpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testpolicy" + testschedule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testschedule" + testvirtualnetwork "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testvirtualnetwork" + testwindowsvirtualmachine "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dev/testwindowsvirtualmachine" + controller "github.com/crossplane-contrib/provider-jet-azure/internal/controller/devspace/controller" + twinsendpointeventgrid "github.com/crossplane-contrib/provider-jet-azure/internal/controller/digital/twinsendpointeventgrid" + twinsendpointeventhub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/digital/twinsendpointeventhub" + twinsendpointservicebus "github.com/crossplane-contrib/provider-jet-azure/internal/controller/digital/twinsendpointservicebus" + twinsinstance "github.com/crossplane-contrib/provider-jet-azure/internal/controller/digital/twinsinstance" + access "github.com/crossplane-contrib/provider-jet-azure/internal/controller/disk/access" + encryptionset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/disk/encryptionset" + aaaarecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/aaaarecord" + arecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/arecord" + caarecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/caarecord" + cnamerecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/cnamerecord" + mxrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/mxrecord" + nsrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/nsrecord" + ptrrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/ptrrecord" + srvrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/srvrecord" + txtrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/txtrecord" + zone "github.com/crossplane-contrib/provider-jet-azure/internal/controller/dns/zone" + domain "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventgrid/domain" + domaintopic "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventgrid/domaintopic" + eventsubscription "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventgrid/eventsubscription" + systemtopic "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventgrid/systemtopic" + systemtopiceventsubscription "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventgrid/systemtopiceventsubscription" + topic "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventgrid/topic" + authorizationrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/authorizationrule" + cluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/cluster" + consumergroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/consumergroup" + namespace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/namespace" + namespaceauthorizationrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/namespaceauthorizationrule" + namespacecustomermanagedkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/namespacecustomermanagedkey" + namespacedisasterrecoveryconfig "github.com/crossplane-contrib/provider-jet-azure/internal/controller/eventhub/namespacedisasterrecoveryconfig" + routecircuit "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routecircuit" + routecircuitauthorization "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routecircuitauthorization" + routecircuitconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routecircuitconnection" + routecircuitpeering "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routecircuitpeering" + routeconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routeconnection" + routegateway "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routegateway" + routeport "github.com/crossplane-contrib/provider-jet-azure/internal/controller/express/routeport" + applicationrulecollection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/firewall/applicationrulecollection" + natrulecollection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/firewall/natrulecollection" + networkrulecollection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/firewall/networkrulecollection" + policy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/firewall/policy" + policyrulecollectiongroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/firewall/policyrulecollectiongroup" + customhttpsconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/frontdoor/customhttpsconfiguration" + firewallpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/frontdoor/firewallpolicy" + rulesengine "github.com/crossplane-contrib/provider-jet-azure/internal/controller/frontdoor/rulesengine" + app "github.com/crossplane-contrib/provider-jet-azure/internal/controller/function/app" + appslot "github.com/crossplane-contrib/provider-jet-azure/internal/controller/function/appslot" + hadoopcluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/hadoopcluster" + hbasecluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/hbasecluster" + interactivequerycluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/interactivequerycluster" + kafkacluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/kafkacluster" + mlservicescluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/mlservicescluster" + rservercluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/rservercluster" + sparkcluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/sparkcluster" + stormcluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hdinsight/stormcluster" + servicehealthcare "github.com/crossplane-contrib/provider-jet-azure/internal/controller/healthcare/service" + cache "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hpc/cache" + cacheaccesspolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hpc/cacheaccesspolicy" + cacheblobnfstarget "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hpc/cacheblobnfstarget" + cacheblobtarget "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hpc/cacheblobtarget" + cachenfstarget "github.com/crossplane-contrib/provider-jet-azure/internal/controller/hpc/cachenfstarget" + serviceenvironmentintegration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/integration/serviceenvironment" + securitydevicegroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/securitydevicegroup" + securitysolution "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/securitysolution" + timeseriesinsightsaccesspolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/timeseriesinsightsaccesspolicy" + timeseriesinsightseventsourceiothub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/timeseriesinsightseventsourceiothub" + timeseriesinsightsgen2environment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/timeseriesinsightsgen2environment" + timeseriesinsightsreferencedataset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/timeseriesinsightsreferencedataset" + timeseriesinsightsstandardenvironment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iot/timeseriesinsightsstandardenvironment" + applicationiotcentral "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iotcentral/application" + consumergroupiothub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/consumergroup" dps "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/dps" dpscertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/dpscertificate" dpssharedaccesspolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/dpssharedaccesspolicy" @@ -56,10 +333,146 @@ import ( iothub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/iothub" route "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/route" sharedaccesspolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/iothub/sharedaccesspolicy" - workspace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/loganalytics/workspace" + vault "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vault" + vaultaccesspolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultaccesspolicy" + vaultcertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultcertificate" + vaultcertificateissuer "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultcertificateissuer" + vaultkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultkey" + vaultmanagedhardwaresecuritymodule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultmanagedhardwaresecuritymodule" + vaultmanagedstorageaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultmanagedstorageaccount" + vaultmanagedstorageaccountsastokendefinition "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultmanagedstorageaccountsastokendefinition" + vaultsecret "github.com/crossplane-contrib/provider-jet-azure/internal/controller/key/vaultsecret" + attacheddatabaseconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/attacheddatabaseconfiguration" + clusterkusto "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/cluster" + clustercustomermanagedkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/clustercustomermanagedkey" + clusterprincipalassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/clusterprincipalassignment" + database "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/database" + databaseprincipal "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/databaseprincipal" + databaseprincipalassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/databaseprincipalassignment" + eventgriddataconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/eventgriddataconnection" + eventhubdataconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/eventhubdataconnection" + iothubdataconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/kusto/iothubdataconnection" + backendaddresspool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/backendaddresspool" + backendaddresspooladdress "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/backendaddresspooladdress" + natpool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/natpool" + natrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/natrule" + outboundrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/outboundrule" + probe "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/probe" + rule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lb/rule" + assignmentlighthouse "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lighthouse/assignment" + definition "github.com/crossplane-contrib/provider-jet-azure/internal/controller/lighthouse/definition" + virtualmachine "github.com/crossplane-contrib/provider-jet-azure/internal/controller/linux/virtualmachine" + virtualmachinescaleset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/linux/virtualmachinescaleset" + networkgateway "github.com/crossplane-contrib/provider-jet-azure/internal/controller/local/networkgateway" + analyticscluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticscluster" + analyticsclustercustomermanagedkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticsclustercustomermanagedkey" + analyticsdataexportrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticsdataexportrule" + analyticsdatasourcewindowsevent "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticsdatasourcewindowsevent" + analyticsdatasourcewindowsperformancecounter "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticsdatasourcewindowsperformancecounter" + analyticslinkedservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticslinkedservice" + analyticslinkedstorageaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticslinkedstorageaccount" + analyticssavedsearch "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticssavedsearch" + analyticssolution "github.com/crossplane-contrib/provider-jet-azure/internal/controller/log/analyticssolution" + workspaceloganalytics "github.com/crossplane-contrib/provider-jet-azure/internal/controller/loganalytics/workspace" + appactioncustom "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appactioncustom" + appactionhttp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appactionhttp" + appintegrationaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccount" + appintegrationaccountagreement "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountagreement" + appintegrationaccountassembly "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountassembly" + appintegrationaccountbatchconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountbatchconfiguration" + appintegrationaccountmap "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountmap" + appintegrationaccountpartner "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountpartner" + appintegrationaccountschema "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountschema" + appintegrationaccountsession "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appintegrationaccountsession" + apptriggercustom "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/apptriggercustom" + apptriggerhttprequest "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/apptriggerhttprequest" + apptriggerrecurrence "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/apptriggerrecurrence" + appworkflow "github.com/crossplane-contrib/provider-jet-azure/internal/controller/logic/appworkflow" + learningcomputecluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/machine/learningcomputecluster" + learningcomputeinstance "github.com/crossplane-contrib/provider-jet-azure/internal/controller/machine/learningcomputeinstance" + learningsynapsespark "github.com/crossplane-contrib/provider-jet-azure/internal/controller/machine/learningsynapsespark" + learningworkspace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/machine/learningworkspace" + assignmentdedicatedhost "github.com/crossplane-contrib/provider-jet-azure/internal/controller/maintenance/assignmentdedicatedhost" + assignmentvirtualmachine "github.com/crossplane-contrib/provider-jet-azure/internal/controller/maintenance/assignmentvirtualmachine" + assignmentvirtualmachinescaleset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/maintenance/assignmentvirtualmachinescaleset" + configurationmaintenance "github.com/crossplane-contrib/provider-jet-azure/internal/controller/maintenance/configuration" + applicationmanaged "github.com/crossplane-contrib/provider-jet-azure/internal/controller/managed/application" + applicationdefinition "github.com/crossplane-contrib/provider-jet-azure/internal/controller/managed/applicationdefinition" + disk "github.com/crossplane-contrib/provider-jet-azure/internal/controller/managed/disk" + grouppolicyassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/management/grouppolicyassignment" + groupsubscriptionassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/management/groupsubscriptionassociation" + grouptemplatedeployment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/management/grouptemplatedeployment" + lock "github.com/crossplane-contrib/provider-jet-azure/internal/controller/management/lock" + managementgroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/management/managementgroup" + accountmaps "github.com/crossplane-contrib/provider-jet-azure/internal/controller/maps/account" + configurationmariadb "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mariadb/configuration" + databasemariadb "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mariadb/database" + firewallrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mariadb/firewallrule" + server "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mariadb/server" + virtualnetworkrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mariadb/virtualnetworkrule" + agreement "github.com/crossplane-contrib/provider-jet-azure/internal/controller/marketplace/agreement" + asset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/asset" + assetfilter "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/assetfilter" + contentkeypolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/contentkeypolicy" + jobmedia "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/job" + liveevent "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/liveevent" + liveeventoutput "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/liveeventoutput" + servicesaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/servicesaccount" + streamingendpoint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/streamingendpoint" + streaminglocator "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/streaminglocator" + streamingpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/streamingpolicy" + transform "github.com/crossplane-contrib/provider-jet-azure/internal/controller/media/transform" + aaddiagnosticsetting "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/aaddiagnosticsetting" + actiongroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/actiongroup" + actionruleactiongroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/actionruleactiongroup" + actionrulesuppression "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/actionrulesuppression" + activitylogalert "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/activitylogalert" + autoscalesetting "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/autoscalesetting" + diagnosticsetting "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/diagnosticsetting" metricalert "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/metricalert" - server "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/server" + scheduledqueryrulesalert "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/scheduledqueryrulesalert" + scheduledqueryruleslog "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/scheduledqueryruleslog" + smartdetectoralertrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/monitor/smartdetectoralertrule" + databasemssql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/database" + databaseextendedauditingpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/databaseextendedauditingpolicy" + databasevulnerabilityassessmentrulebaseline "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/databasevulnerabilityassessmentrulebaseline" + elasticpool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/elasticpool" + failovergroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/failovergroup" + firewallrulemssql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/firewallrule" + jobagent "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/jobagent" + jobcredential "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/jobcredential" + servermssql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/server" + serversecurityalertpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/serversecurityalertpolicy" + servertransparentdataencryption "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/servertransparentdataencryption" + servervulnerabilityassessment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/servervulnerabilityassessment" + virtualmachinemssql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/virtualmachine" + virtualnetworkrulemssql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mssql/virtualnetworkrule" + activedirectoryadministrator "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/activedirectoryadministrator" + configurationmysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/configuration" + databasemysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/database" + firewallrulemysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/firewallrule" + servermysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/server" + serverkey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/serverkey" + virtualnetworkrulemysql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/mysql/virtualnetworkrule" + gatewaynat "github.com/crossplane-contrib/provider-jet-azure/internal/controller/nat/gateway" + gatewaypublicipassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/nat/gatewaypublicipassociation" + gatewaypublicipprefixassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/nat/gatewaypublicipprefixassociation" + accountnetapp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/netapp/account" + poolnetapp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/netapp/pool" + snapshotnetapp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/netapp/snapshot" + volume "github.com/crossplane-contrib/provider-jet-azure/internal/controller/netapp/volume" + connectionmonitor "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/connectionmonitor" + ddosprotectionplan "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/ddosprotectionplan" + interfaceapplicationsecuritygroupassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/interfaceapplicationsecuritygroupassociation" + interfacebackendaddresspoolassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/interfacebackendaddresspoolassociation" + interfacenatruleassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/interfacenatruleassociation" + interfacesecuritygroupassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/interfacesecuritygroupassociation" + ipgroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/ipgroup" loadbalancer "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/loadbalancer" + networkinterface "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/networkinterface" + packetcapture "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/packetcapture" + profilenetwork "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/profile" + securitygroupnetwork "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/securitygroup" subnet "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/subnet" subnetnatgatewayassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/subnetnatgatewayassociation" subnetnetworksecuritygroupassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/subnetnetworksecuritygroupassociation" @@ -70,33 +483,333 @@ import ( virtualnetworkgatewayconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/virtualnetworkgatewayconnection" virtualnetworkpeering "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/virtualnetworkpeering" virtualwan "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/virtualwan" - activedirectoryadministrator "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/activedirectoryadministrator" - configuration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/configuration" - database "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/database" - firewallrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/firewallrule" + watcher "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/watcher" + watcherflowlog "github.com/crossplane-contrib/provider-jet-azure/internal/controller/network/watcherflowlog" + hub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/notification/hub" + hubauthorizationrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/notification/hubauthorizationrule" + hubnamespace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/notification/hubnamespace" + virtualmachinescalesetorchestrated "github.com/crossplane-contrib/provider-jet-azure/internal/controller/orchestrated/virtualmachinescaleset" + capture "github.com/crossplane-contrib/provider-jet-azure/internal/controller/packet/capture" + tositevpngateway "github.com/crossplane-contrib/provider-jet-azure/internal/controller/point/tositevpngateway" + assignmentpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/policy/assignment" + definitionpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/policy/definition" + remediation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/policy/remediation" + setdefinition "github.com/crossplane-contrib/provider-jet-azure/internal/controller/policy/setdefinition" + virtualmachineconfigurationassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/policy/virtualmachineconfigurationassignment" + tenantconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/portal/tenantconfiguration" + activedirectoryadministratorpostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/activedirectoryadministrator" + configurationpostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/configuration" + databasepostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/database" + firewallrulepostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/firewallrule" flexibleserver "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/flexibleserver" flexibleserverconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/flexibleserverconfiguration" flexibleserverdatabase "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/flexibleserverdatabase" flexibleserverfirewallrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/flexibleserverfirewallrule" serverpostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/server" - virtualnetworkrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/virtualnetworkrule" + virtualnetworkrulepostgresql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/postgresql/virtualnetworkrule" + embedded "github.com/crossplane-contrib/provider-jet-azure/internal/controller/powerbi/embedded" + dnsaaaarecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnsaaaarecord" + dnsarecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnsarecord" + dnscnamerecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnscnamerecord" + dnsmxrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnsmxrecord" + dnsptrrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnsptrrecord" + dnssrvrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnssrvrecord" + dnstxtrecord "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnstxtrecord" + dnszone "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnszone" + dnszonevirtualnetworklink "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/dnszonevirtualnetworklink" + endpointprivate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/endpoint" + linkservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/private/linkservice" providerconfig "github.com/crossplane-contrib/provider-jet-azure/internal/controller/providerconfig" + placementgroup "github.com/crossplane-contrib/provider-jet-azure/internal/controller/proximity/placementgroup" + ip "github.com/crossplane-contrib/provider-jet-azure/internal/controller/public/ip" + ipprefix "github.com/crossplane-contrib/provider-jet-azure/internal/controller/public/ipprefix" + accountpurview "github.com/crossplane-contrib/provider-jet-azure/internal/controller/purview/account" + servicesvault "github.com/crossplane-contrib/provider-jet-azure/internal/controller/recovery/servicesvault" + cacheredis "github.com/crossplane-contrib/provider-jet-azure/internal/controller/redis/cache" + enterprisecluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/redis/enterprisecluster" + enterprisedatabase "github.com/crossplane-contrib/provider-jet-azure/internal/controller/redis/enterprisedatabase" + firewallruleredis "github.com/crossplane-contrib/provider-jet-azure/internal/controller/redis/firewallrule" + linkedserver "github.com/crossplane-contrib/provider-jet-azure/internal/controller/redis/linkedserver" + hybridconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/relay/hybridconnection" + hybridconnectionauthorizationrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/relay/hybridconnectionauthorizationrule" + namespacerelay "github.com/crossplane-contrib/provider-jet-azure/internal/controller/relay/namespace" + namespaceauthorizationrulerelay "github.com/crossplane-contrib/provider-jet-azure/internal/controller/relay/namespaceauthorizationrule" + policyassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/resource/policyassignment" + providerregistration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/resource/providerregistration" resourcegrouptemplatedeployment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/resources/resourcegrouptemplatedeployment" + assignmentrole "github.com/crossplane-contrib/provider-jet-azure/internal/controller/role/assignment" + definitionrole "github.com/crossplane-contrib/provider-jet-azure/internal/controller/role/definition" + servicesearch "github.com/crossplane-contrib/provider-jet-azure/internal/controller/search/service" + centerassessment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centerassessment" + centerassessmentmetadata "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centerassessmentmetadata" + centerassessmentpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centerassessmentpolicy" + centerautoprovisioning "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centerautoprovisioning" + centercontact "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centercontact" + centerservervulnerabilityassessment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centerservervulnerabilityassessment" + centersetting "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centersetting" + centersubscriptionpricing "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centersubscriptionpricing" + centerworkspace "github.com/crossplane-contrib/provider-jet-azure/internal/controller/security/centerworkspace" + alertrulefusion "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/alertrulefusion" + alertrulemachinelearningbehavioranalytics "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/alertrulemachinelearningbehavioranalytics" + alertrulemssecurityincident "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/alertrulemssecurityincident" + alertrulescheduled "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/alertrulescheduled" + dataconnectorawscloudtrail "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectorawscloudtrail" + dataconnectorazureactivedirectory "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectorazureactivedirectory" + dataconnectorazureadvancedthreatprotection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectorazureadvancedthreatprotection" + dataconnectorazuresecuritycenter "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectorazuresecuritycenter" + dataconnectormicrosoftcloudappsecurity "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectormicrosoftcloudappsecurity" + dataconnectoroffice365 "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectoroffice365" + dataconnectorthreatintelligence "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sentinel/dataconnectorthreatintelligence" + fabriccluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/service/fabriccluster" + fabricmeshapplication "github.com/crossplane-contrib/provider-jet-azure/internal/controller/service/fabricmeshapplication" + fabricmeshlocalnetwork "github.com/crossplane-contrib/provider-jet-azure/internal/controller/service/fabricmeshlocalnetwork" + fabricmeshsecret "github.com/crossplane-contrib/provider-jet-azure/internal/controller/service/fabricmeshsecret" + fabricmeshsecretvalue "github.com/crossplane-contrib/provider-jet-azure/internal/controller/service/fabricmeshsecretvalue" + namespaceservicebus "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/namespace" + namespaceauthorizationruleservicebus "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/namespaceauthorizationrule" + namespacedisasterrecoveryconfigservicebus "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/namespacedisasterrecoveryconfig" + namespacenetworkruleset "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/namespacenetworkruleset" + queue "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/queue" + queueauthorizationrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/queueauthorizationrule" + subscriptionservicebus "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/subscription" + subscriptionrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/subscriptionrule" + topicservicebus "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/topic" + topicauthorizationrule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/servicebus/topicauthorizationrule" + imageshared "github.com/crossplane-contrib/provider-jet-azure/internal/controller/shared/image" + imagegallery "github.com/crossplane-contrib/provider-jet-azure/internal/controller/shared/imagegallery" + imageversion "github.com/crossplane-contrib/provider-jet-azure/internal/controller/shared/imageversion" + servicesignalr "github.com/crossplane-contrib/provider-jet-azure/internal/controller/signalr/service" + servicenetworkacl "github.com/crossplane-contrib/provider-jet-azure/internal/controller/signalr/servicenetworkacl" + recoveryfabric "github.com/crossplane-contrib/provider-jet-azure/internal/controller/site/recoveryfabric" + recoverynetworkmapping "github.com/crossplane-contrib/provider-jet-azure/internal/controller/site/recoverynetworkmapping" + recoveryprotectioncontainer "github.com/crossplane-contrib/provider-jet-azure/internal/controller/site/recoveryprotectioncontainer" + recoveryprotectioncontainermapping "github.com/crossplane-contrib/provider-jet-azure/internal/controller/site/recoveryprotectioncontainermapping" + recoveryreplicatedvm "github.com/crossplane-contrib/provider-jet-azure/internal/controller/site/recoveryreplicatedvm" + recoveryreplicationpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/site/recoveryreplicationpolicy" + anchorsaccount "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spatial/anchorsaccount" + cloudactivedeployment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudactivedeployment" + cloudapp "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudapp" + cloudappcosmosdbassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudappcosmosdbassociation" + cloudappmysqlassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudappmysqlassociation" + cloudappredisassociation "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudappredisassociation" + cloudcertificate "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudcertificate" + cloudcustomdomain "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudcustomdomain" + cloudjavadeployment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudjavadeployment" + cloudservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/spring/cloudservice" + activedirectoryadministratorsql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/activedirectoryadministrator" + databasesql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/database" + elasticpoolsql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/elasticpool" + firewallrulesql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/firewallrule" + manageddatabase "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/manageddatabase" + managedinstance "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/managedinstance" serversql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/sql/server" + publickey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/ssh/publickey" + hcicluster "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stack/hcicluster" + site "github.com/crossplane-contrib/provider-jet-azure/internal/controller/static/site" accountstorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/account" + accountcustomermanagedkeystorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/accountcustomermanagedkey" + accountnetworkrules "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/accountnetworkrules" blob "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/blob" + blobinventorypolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/blobinventorypolicy" container "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/container" + datalakegen2filesystem "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/datalakegen2filesystem" + datalakegen2path "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/datalakegen2path" + encryptionscope "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/encryptionscope" + managementpolicystorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/managementpolicy" + objectreplication "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/objectreplication" + queuestorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/queue" + sharestorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/share" + sharedirectory "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/sharedirectory" + sync "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/sync" + synccloudendpoint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/synccloudendpoint" + tablestorage "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/table" + tableentity "github.com/crossplane-contrib/provider-jet-azure/internal/controller/storage/tableentity" + analyticsfunctionjavascriptudf "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsfunctionjavascriptudf" + analyticsjob "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsjob" + analyticsoutputblob "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsoutputblob" + analyticsoutputeventhub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsoutputeventhub" + analyticsoutputmssql "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsoutputmssql" + analyticsoutputservicebusqueue "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsoutputservicebusqueue" + analyticsoutputservicebustopic "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsoutputservicebustopic" + analyticsreferenceinputblob "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsreferenceinputblob" + analyticsstreaminputblob "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsstreaminputblob" + analyticsstreaminputeventhub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsstreaminputeventhub" + analyticsstreaminputiothub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/stream/analyticsstreaminputiothub" + policyassignmentsubscription "github.com/crossplane-contrib/provider-jet-azure/internal/controller/subscription/policyassignment" + templatedeployment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/subscription/templatedeployment" + firewallrulesynapse "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/firewallrule" + integrationruntimeazure "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/integrationruntimeazure" + integrationruntimeselfhosted "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/integrationruntimeselfhosted" + linkedservice "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/linkedservice" + managedprivateendpoint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/managedprivateendpoint" + privatelinkhub "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/privatelinkhub" + roleassignment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/roleassignment" + sparkpool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/sparkpool" + sqlpool "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/sqlpool" + sqlpoolextendedauditingpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/sqlpoolextendedauditingpolicy" + sqlpoolsecurityalertpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/sqlpoolsecurityalertpolicy" + sqlpoolvulnerabilityassessment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/sqlpoolvulnerabilityassessment" + workspacesynapse "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/workspace" + workspaceextendedauditingpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/workspaceextendedauditingpolicy" + workspacekey "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/workspacekey" + workspacesecurityalertpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/workspacesecurityalertpolicy" + workspacevulnerabilityassessment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/synapse/workspacevulnerabilityassessment" + deployment "github.com/crossplane-contrib/provider-jet-azure/internal/controller/template/deployment" + templatedeploymenttenant "github.com/crossplane-contrib/provider-jet-azure/internal/controller/tenant/templatedeployment" + managerendpoint "github.com/crossplane-contrib/provider-jet-azure/internal/controller/traffic/managerendpoint" + managerprofile "github.com/crossplane-contrib/provider-jet-azure/internal/controller/traffic/managerprofile" + assignedidentity "github.com/crossplane-contrib/provider-jet-azure/internal/controller/user/assignedidentity" + analyzer "github.com/crossplane-contrib/provider-jet-azure/internal/controller/video/analyzer" + analyzeredgemodule "github.com/crossplane-contrib/provider-jet-azure/internal/controller/video/analyzeredgemodule" + clustervmware "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vmware/cluster" + expressrouteauthorization "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vmware/expressrouteauthorization" + privatecloud "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vmware/privatecloud" + gatewayvpn "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vpn/gateway" + gatewayconnection "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vpn/gatewayconnection" + serverconfiguration "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vpn/serverconfiguration" + sitevpn "github.com/crossplane-contrib/provider-jet-azure/internal/controller/vpn/site" + applicationfirewallpolicy "github.com/crossplane-contrib/provider-jet-azure/internal/controller/web/applicationfirewallpolicy" + virtualmachinewindows "github.com/crossplane-contrib/provider-jet-azure/internal/controller/windows/virtualmachine" + virtualmachinescalesetwindows "github.com/crossplane-contrib/provider-jet-azure/internal/controller/windows/virtualmachinescaleset" ) // Setup creates all controllers with the supplied logger and adds them to // the supplied manager. func Setup(mgr ctrl.Manager, l logging.Logger, wl workqueue.RateLimiter, ps terraform.SetupFn, ws *terraform.WorkspaceStore, cfg *tjconfig.Provider, concurrency int) error { for _, setup := range []func(ctrl.Manager, logging.Logger, workqueue.RateLimiter, terraform.SetupFn, *terraform.WorkspaceStore, *tjconfig.Provider, int) error{ + directorydomainservice.Setup, + directorydomainservicereplicaset.Setup, + threatprotection.Setup, + servicesserver.Setup, + management.Setup, + managementapi.Setup, + managementapidiagnostic.Setup, + managementapioperation.Setup, + managementapioperationpolicy.Setup, + managementapioperationtag.Setup, + managementapipolicy.Setup, + managementapirelease.Setup, + managementapischema.Setup, + managementapiversionset.Setup, + managementauthorizationserver.Setup, + managementbackend.Setup, + managementcertificate.Setup, + managementcustomdomain.Setup, + managementdiagnostic.Setup, + managementemailtemplate.Setup, + managementgateway.Setup, + managementgatewayapi.Setup, + managementidentityprovideraad.Setup, + managementidentityprovideraadb2c.Setup, + managementidentityproviderfacebook.Setup, + managementidentityprovidergoogle.Setup, + managementidentityprovidermicrosoft.Setup, + managementidentityprovidertwitter.Setup, + managementlogger.Setup, + managementnamedvalue.Setup, + managementnotificationrecipientemail.Setup, + managementopenidconnectprovider.Setup, + managementpolicy.Setup, + managementproduct.Setup, + managementproductapi.Setup, + managementproductpolicy.Setup, + managementproperty.Setup, + managementrediscache.Setup, + managementsubscription.Setup, + managementtag.Setup, + managementuser.Setup, + configuration.Setup, + configurationkey.Setup, + service.Setup, + serviceactiveslot.Setup, + servicecertificate.Setup, + servicecertificatebinding.Setup, + servicecertificateorder.Setup, + servicecustomhostnamebinding.Setup, + serviceenvironment.Setup, + serviceenvironmentv3.Setup, + servicehybridconnection.Setup, + servicemanagedcertificate.Setup, + serviceplan.Setup, + serviceslot.Setup, + serviceslotvirtualnetworkswiftconnection.Setup, + servicesourcecontroltoken.Setup, + servicevirtualnetworkswiftconnection.Setup, + gateway.Setup, + insights.Setup, + insightsanalyticsitem.Setup, + insightsapikey.Setup, + insightssmartdetectionrule.Setup, + insightswebtest.Setup, + securitygroup.Setup, + provider.Setup, resourcegrouppolicyassignment.Setup, + account.Setup, + certificate.Setup, + connection.Setup, + connectioncertificate.Setup, + connectionclassiccertificate.Setup, + connectionserviceprincipal.Setup, + credential.Setup, + dscnodeconfiguration.Setup, + jobschedule.Setup, + module.Setup, + runbook.Setup, + schedule.Setup, + variablebool.Setup, + variabledatetime.Setup, + variableint.Setup, + variablestring.Setup, + set.Setup, resourcegroup.Setup, + dashboard.Setup, + eventhub.Setup, + firewall.Setup, + frontdoor.Setup, + healthbot.Setup, + image.Setup, + snapshot.Setup, + subscription.Setup, + containerstorageaccount.Setup, + policyfileshare.Setup, + policyvm.Setup, + protectedfileshare.Setup, + protectedvm.Setup, + host.Setup, + accountbatch.Setup, + application.Setup, + certificatebatch.Setup, + job.Setup, + pool.Setup, + assignment.Setup, + channelalexa.Setup, + channeldirectline.Setup, + channeldirectlinespeech.Setup, + channelemail.Setup, + channelfacebook.Setup, + channelline.Setup, + channelmsteams.Setup, + channelslack.Setup, + channelsms.Setup, + channelsregistration.Setup, + channelwebchat.Setup, + connectionbot.Setup, + webapp.Setup, + endpoint.Setup, + endpointcustomdomain.Setup, + profile.Setup, + accountcognitive.Setup, + accountcustomermanagedkey.Setup, + servicecommunication.Setup, + budgetresourcegroup.Setup, + budgetsubscription.Setup, + registry.Setup, + registryscopemap.Setup, + registrytoken.Setup, + registrywebhook.Setup, kubernetescluster.Setup, kubernetesclusternodepool.Setup, - account.Setup, + accountcosmosdb.Setup, cassandrakeyspace.Setup, cassandratable.Setup, gremlindatabase.Setup, @@ -110,7 +823,156 @@ func Setup(mgr ctrl.Manager, l logging.Logger, wl workqueue.RateLimiter, ps terr sqlstoredprocedure.Setup, sqltrigger.Setup, table.Setup, + managementexportresourcegroup.Setup, + providercustom.Setup, + factory.Setup, + factorycustomdataset.Setup, + factorydataflow.Setup, + factorydatasetazureblob.Setup, + factorydatasetbinary.Setup, + factorydatasetcosmosdbsqlapi.Setup, + factorydatasetdelimitedtext.Setup, + factorydatasethttp.Setup, + factorydatasetjson.Setup, + factorydatasetmysql.Setup, + factorydatasetparquet.Setup, + factorydatasetpostgresql.Setup, + factorydatasetsnowflake.Setup, + factorydatasetsqlservertable.Setup, + factoryintegrationruntimeazure.Setup, + factoryintegrationruntimeazuressis.Setup, + factoryintegrationruntimemanaged.Setup, + factoryintegrationruntimeselfhosted.Setup, + factorylinkedcustomservice.Setup, + factorylinkedserviceazureblobstorage.Setup, + factorylinkedserviceazuredatabricks.Setup, + factorylinkedserviceazurefilestorage.Setup, + factorylinkedserviceazurefunction.Setup, + factorylinkedserviceazuresearch.Setup, + factorylinkedserviceazuresqldatabase.Setup, + factorylinkedserviceazuretablestorage.Setup, + factorylinkedservicecosmosdb.Setup, + factorylinkedservicedatalakestoragegen2.Setup, + factorylinkedservicekeyvault.Setup, + factorylinkedservicekusto.Setup, + factorylinkedservicemysql.Setup, + factorylinkedserviceodata.Setup, + factorylinkedservicepostgresql.Setup, + factorylinkedservicesftp.Setup, + factorylinkedservicesnowflake.Setup, + factorylinkedservicesqlserver.Setup, + factorylinkedservicesynapse.Setup, + factorylinkedserviceweb.Setup, + factorymanagedprivateendpoint.Setup, + factorypipeline.Setup, + factorytriggerblobevent.Setup, + factorytriggercustomevent.Setup, + factorytriggerschedule.Setup, + lakeanalyticsfirewallrule.Setup, + lakestore.Setup, + lakestorefile.Setup, + lakestorefirewallrule.Setup, + lakestorevirtualnetworkrule.Setup, + protectionbackupinstanceblobstorage.Setup, + protectionbackupinstancedisk.Setup, + protectionbackupinstancepostgresql.Setup, + protectionbackuppolicyblobstorage.Setup, + protectionbackuppolicydisk.Setup, + protectionbackuppolicypostgresql.Setup, + protectionbackupvault.Setup, + share.Setup, + shareaccount.Setup, + sharedatasetblobstorage.Setup, + sharedatasetdatalakegen1.Setup, + sharedatasetdatalakegen2.Setup, + sharedatasetkustocluster.Setup, + sharedatasetkustodatabase.Setup, + migrationproject.Setup, + migrationservice.Setup, + edgedevice.Setup, + edgeorder.Setup, + workspace.Setup, + workspacecustomermanagedkey.Setup, + hardwaresecuritymodule.Setup, + hostdedicated.Setup, + testglobalvmshutdownschedule.Setup, + testlab.Setup, + testlinuxvirtualmachine.Setup, + testpolicy.Setup, + testschedule.Setup, + testvirtualnetwork.Setup, + testwindowsvirtualmachine.Setup, + controller.Setup, + twinsendpointeventgrid.Setup, + twinsendpointeventhub.Setup, + twinsendpointservicebus.Setup, + twinsinstance.Setup, + access.Setup, + encryptionset.Setup, + aaaarecord.Setup, + arecord.Setup, + caarecord.Setup, + cnamerecord.Setup, + mxrecord.Setup, + nsrecord.Setup, + ptrrecord.Setup, + srvrecord.Setup, + txtrecord.Setup, + zone.Setup, + domain.Setup, + domaintopic.Setup, + eventsubscription.Setup, + systemtopic.Setup, + systemtopiceventsubscription.Setup, + topic.Setup, + authorizationrule.Setup, + cluster.Setup, consumergroup.Setup, + namespace.Setup, + namespaceauthorizationrule.Setup, + namespacecustomermanagedkey.Setup, + namespacedisasterrecoveryconfig.Setup, + routecircuit.Setup, + routecircuitauthorization.Setup, + routecircuitconnection.Setup, + routecircuitpeering.Setup, + routeconnection.Setup, + routegateway.Setup, + routeport.Setup, + applicationrulecollection.Setup, + natrulecollection.Setup, + networkrulecollection.Setup, + policy.Setup, + policyrulecollectiongroup.Setup, + customhttpsconfiguration.Setup, + firewallpolicy.Setup, + rulesengine.Setup, + app.Setup, + appslot.Setup, + hadoopcluster.Setup, + hbasecluster.Setup, + interactivequerycluster.Setup, + kafkacluster.Setup, + mlservicescluster.Setup, + rservercluster.Setup, + sparkcluster.Setup, + stormcluster.Setup, + servicehealthcare.Setup, + cache.Setup, + cacheaccesspolicy.Setup, + cacheblobnfstarget.Setup, + cacheblobtarget.Setup, + cachenfstarget.Setup, + serviceenvironmentintegration.Setup, + securitydevicegroup.Setup, + securitysolution.Setup, + timeseriesinsightsaccesspolicy.Setup, + timeseriesinsightseventsourceiothub.Setup, + timeseriesinsightsgen2environment.Setup, + timeseriesinsightsreferencedataset.Setup, + timeseriesinsightsstandardenvironment.Setup, + applicationiotcentral.Setup, + consumergroupiothub.Setup, dps.Setup, dpscertificate.Setup, dpssharedaccesspolicy.Setup, @@ -123,10 +985,146 @@ func Setup(mgr ctrl.Manager, l logging.Logger, wl workqueue.RateLimiter, ps terr iothub.Setup, route.Setup, sharedaccesspolicy.Setup, - workspace.Setup, - metricalert.Setup, + vault.Setup, + vaultaccesspolicy.Setup, + vaultcertificate.Setup, + vaultcertificateissuer.Setup, + vaultkey.Setup, + vaultmanagedhardwaresecuritymodule.Setup, + vaultmanagedstorageaccount.Setup, + vaultmanagedstorageaccountsastokendefinition.Setup, + vaultsecret.Setup, + attacheddatabaseconfiguration.Setup, + clusterkusto.Setup, + clustercustomermanagedkey.Setup, + clusterprincipalassignment.Setup, + database.Setup, + databaseprincipal.Setup, + databaseprincipalassignment.Setup, + eventgriddataconnection.Setup, + eventhubdataconnection.Setup, + iothubdataconnection.Setup, + backendaddresspool.Setup, + backendaddresspooladdress.Setup, + natpool.Setup, + natrule.Setup, + outboundrule.Setup, + probe.Setup, + rule.Setup, + assignmentlighthouse.Setup, + definition.Setup, + virtualmachine.Setup, + virtualmachinescaleset.Setup, + networkgateway.Setup, + analyticscluster.Setup, + analyticsclustercustomermanagedkey.Setup, + analyticsdataexportrule.Setup, + analyticsdatasourcewindowsevent.Setup, + analyticsdatasourcewindowsperformancecounter.Setup, + analyticslinkedservice.Setup, + analyticslinkedstorageaccount.Setup, + analyticssavedsearch.Setup, + analyticssolution.Setup, + workspaceloganalytics.Setup, + appactioncustom.Setup, + appactionhttp.Setup, + appintegrationaccount.Setup, + appintegrationaccountagreement.Setup, + appintegrationaccountassembly.Setup, + appintegrationaccountbatchconfiguration.Setup, + appintegrationaccountmap.Setup, + appintegrationaccountpartner.Setup, + appintegrationaccountschema.Setup, + appintegrationaccountsession.Setup, + apptriggercustom.Setup, + apptriggerhttprequest.Setup, + apptriggerrecurrence.Setup, + appworkflow.Setup, + learningcomputecluster.Setup, + learningcomputeinstance.Setup, + learningsynapsespark.Setup, + learningworkspace.Setup, + assignmentdedicatedhost.Setup, + assignmentvirtualmachine.Setup, + assignmentvirtualmachinescaleset.Setup, + configurationmaintenance.Setup, + applicationmanaged.Setup, + applicationdefinition.Setup, + disk.Setup, + grouppolicyassignment.Setup, + groupsubscriptionassociation.Setup, + grouptemplatedeployment.Setup, + lock.Setup, + managementgroup.Setup, + accountmaps.Setup, + configurationmariadb.Setup, + databasemariadb.Setup, + firewallrule.Setup, server.Setup, + virtualnetworkrule.Setup, + agreement.Setup, + asset.Setup, + assetfilter.Setup, + contentkeypolicy.Setup, + jobmedia.Setup, + liveevent.Setup, + liveeventoutput.Setup, + servicesaccount.Setup, + streamingendpoint.Setup, + streaminglocator.Setup, + streamingpolicy.Setup, + transform.Setup, + aaddiagnosticsetting.Setup, + actiongroup.Setup, + actionruleactiongroup.Setup, + actionrulesuppression.Setup, + activitylogalert.Setup, + autoscalesetting.Setup, + diagnosticsetting.Setup, + metricalert.Setup, + scheduledqueryrulesalert.Setup, + scheduledqueryruleslog.Setup, + smartdetectoralertrule.Setup, + databasemssql.Setup, + databaseextendedauditingpolicy.Setup, + databasevulnerabilityassessmentrulebaseline.Setup, + elasticpool.Setup, + failovergroup.Setup, + firewallrulemssql.Setup, + jobagent.Setup, + jobcredential.Setup, + servermssql.Setup, + serversecurityalertpolicy.Setup, + servertransparentdataencryption.Setup, + servervulnerabilityassessment.Setup, + virtualmachinemssql.Setup, + virtualnetworkrulemssql.Setup, + activedirectoryadministrator.Setup, + configurationmysql.Setup, + databasemysql.Setup, + firewallrulemysql.Setup, + servermysql.Setup, + serverkey.Setup, + virtualnetworkrulemysql.Setup, + gatewaynat.Setup, + gatewaypublicipassociation.Setup, + gatewaypublicipprefixassociation.Setup, + accountnetapp.Setup, + poolnetapp.Setup, + snapshotnetapp.Setup, + volume.Setup, + connectionmonitor.Setup, + ddosprotectionplan.Setup, + interfaceapplicationsecuritygroupassociation.Setup, + interfacebackendaddresspoolassociation.Setup, + interfacenatruleassociation.Setup, + interfacesecuritygroupassociation.Setup, + ipgroup.Setup, loadbalancer.Setup, + networkinterface.Setup, + packetcapture.Setup, + profilenetwork.Setup, + securitygroupnetwork.Setup, subnet.Setup, subnetnatgatewayassociation.Setup, subnetnetworksecuritygroupassociation.Setup, @@ -137,22 +1135,194 @@ func Setup(mgr ctrl.Manager, l logging.Logger, wl workqueue.RateLimiter, ps terr virtualnetworkgatewayconnection.Setup, virtualnetworkpeering.Setup, virtualwan.Setup, - activedirectoryadministrator.Setup, - configuration.Setup, - database.Setup, - firewallrule.Setup, + watcher.Setup, + watcherflowlog.Setup, + hub.Setup, + hubauthorizationrule.Setup, + hubnamespace.Setup, + virtualmachinescalesetorchestrated.Setup, + capture.Setup, + tositevpngateway.Setup, + assignmentpolicy.Setup, + definitionpolicy.Setup, + remediation.Setup, + setdefinition.Setup, + virtualmachineconfigurationassignment.Setup, + tenantconfiguration.Setup, + activedirectoryadministratorpostgresql.Setup, + configurationpostgresql.Setup, + databasepostgresql.Setup, + firewallrulepostgresql.Setup, flexibleserver.Setup, flexibleserverconfiguration.Setup, flexibleserverdatabase.Setup, flexibleserverfirewallrule.Setup, serverpostgresql.Setup, - virtualnetworkrule.Setup, + virtualnetworkrulepostgresql.Setup, + embedded.Setup, + dnsaaaarecord.Setup, + dnsarecord.Setup, + dnscnamerecord.Setup, + dnsmxrecord.Setup, + dnsptrrecord.Setup, + dnssrvrecord.Setup, + dnstxtrecord.Setup, + dnszone.Setup, + dnszonevirtualnetworklink.Setup, + endpointprivate.Setup, + linkservice.Setup, providerconfig.Setup, + placementgroup.Setup, + ip.Setup, + ipprefix.Setup, + accountpurview.Setup, + servicesvault.Setup, + cacheredis.Setup, + enterprisecluster.Setup, + enterprisedatabase.Setup, + firewallruleredis.Setup, + linkedserver.Setup, + hybridconnection.Setup, + hybridconnectionauthorizationrule.Setup, + namespacerelay.Setup, + namespaceauthorizationrulerelay.Setup, + policyassignment.Setup, + providerregistration.Setup, resourcegrouptemplatedeployment.Setup, + assignmentrole.Setup, + definitionrole.Setup, + servicesearch.Setup, + centerassessment.Setup, + centerassessmentmetadata.Setup, + centerassessmentpolicy.Setup, + centerautoprovisioning.Setup, + centercontact.Setup, + centerservervulnerabilityassessment.Setup, + centersetting.Setup, + centersubscriptionpricing.Setup, + centerworkspace.Setup, + alertrulefusion.Setup, + alertrulemachinelearningbehavioranalytics.Setup, + alertrulemssecurityincident.Setup, + alertrulescheduled.Setup, + dataconnectorawscloudtrail.Setup, + dataconnectorazureactivedirectory.Setup, + dataconnectorazureadvancedthreatprotection.Setup, + dataconnectorazuresecuritycenter.Setup, + dataconnectormicrosoftcloudappsecurity.Setup, + dataconnectoroffice365.Setup, + dataconnectorthreatintelligence.Setup, + fabriccluster.Setup, + fabricmeshapplication.Setup, + fabricmeshlocalnetwork.Setup, + fabricmeshsecret.Setup, + fabricmeshsecretvalue.Setup, + namespaceservicebus.Setup, + namespaceauthorizationruleservicebus.Setup, + namespacedisasterrecoveryconfigservicebus.Setup, + namespacenetworkruleset.Setup, + queue.Setup, + queueauthorizationrule.Setup, + subscriptionservicebus.Setup, + subscriptionrule.Setup, + topicservicebus.Setup, + topicauthorizationrule.Setup, + imageshared.Setup, + imagegallery.Setup, + imageversion.Setup, + servicesignalr.Setup, + servicenetworkacl.Setup, + recoveryfabric.Setup, + recoverynetworkmapping.Setup, + recoveryprotectioncontainer.Setup, + recoveryprotectioncontainermapping.Setup, + recoveryreplicatedvm.Setup, + recoveryreplicationpolicy.Setup, + anchorsaccount.Setup, + cloudactivedeployment.Setup, + cloudapp.Setup, + cloudappcosmosdbassociation.Setup, + cloudappmysqlassociation.Setup, + cloudappredisassociation.Setup, + cloudcertificate.Setup, + cloudcustomdomain.Setup, + cloudjavadeployment.Setup, + cloudservice.Setup, + activedirectoryadministratorsql.Setup, + databasesql.Setup, + elasticpoolsql.Setup, + firewallrulesql.Setup, + manageddatabase.Setup, + managedinstance.Setup, serversql.Setup, + publickey.Setup, + hcicluster.Setup, + site.Setup, accountstorage.Setup, + accountcustomermanagedkeystorage.Setup, + accountnetworkrules.Setup, blob.Setup, + blobinventorypolicy.Setup, container.Setup, + datalakegen2filesystem.Setup, + datalakegen2path.Setup, + encryptionscope.Setup, + managementpolicystorage.Setup, + objectreplication.Setup, + queuestorage.Setup, + sharestorage.Setup, + sharedirectory.Setup, + sync.Setup, + synccloudendpoint.Setup, + tablestorage.Setup, + tableentity.Setup, + analyticsfunctionjavascriptudf.Setup, + analyticsjob.Setup, + analyticsoutputblob.Setup, + analyticsoutputeventhub.Setup, + analyticsoutputmssql.Setup, + analyticsoutputservicebusqueue.Setup, + analyticsoutputservicebustopic.Setup, + analyticsreferenceinputblob.Setup, + analyticsstreaminputblob.Setup, + analyticsstreaminputeventhub.Setup, + analyticsstreaminputiothub.Setup, + policyassignmentsubscription.Setup, + templatedeployment.Setup, + firewallrulesynapse.Setup, + integrationruntimeazure.Setup, + integrationruntimeselfhosted.Setup, + linkedservice.Setup, + managedprivateendpoint.Setup, + privatelinkhub.Setup, + roleassignment.Setup, + sparkpool.Setup, + sqlpool.Setup, + sqlpoolextendedauditingpolicy.Setup, + sqlpoolsecurityalertpolicy.Setup, + sqlpoolvulnerabilityassessment.Setup, + workspacesynapse.Setup, + workspaceextendedauditingpolicy.Setup, + workspacekey.Setup, + workspacesecurityalertpolicy.Setup, + workspacevulnerabilityassessment.Setup, + deployment.Setup, + templatedeploymenttenant.Setup, + managerendpoint.Setup, + managerprofile.Setup, + assignedidentity.Setup, + analyzer.Setup, + analyzeredgemodule.Setup, + clustervmware.Setup, + expressrouteauthorization.Setup, + privatecloud.Setup, + gatewayvpn.Setup, + gatewayconnection.Setup, + serverconfiguration.Setup, + sitevpn.Setup, + applicationfirewallpolicy.Setup, + virtualmachinewindows.Setup, + virtualmachinescalesetwindows.Setup, } { if err := setup(mgr, l, wl, ps, ws, cfg, concurrency); err != nil { return err diff --git a/package/crds/active.azure.jet.crossplane.io_directorydomainservicereplicasets.yaml b/package/crds/active.azure.jet.crossplane.io_directorydomainservicereplicasets.yaml new file mode 100644 index 000000000..c010bd0e1 --- /dev/null +++ b/package/crds/active.azure.jet.crossplane.io_directorydomainservicereplicasets.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: directorydomainservicereplicasets.active.azure.jet.crossplane.io +spec: + group: active.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DirectoryDomainServiceReplicaSet + listKind: DirectoryDomainServiceReplicaSetList + plural: directorydomainservicereplicasets + singular: directorydomainservicereplicaset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DirectoryDomainServiceReplicaSet is the Schema for the DirectoryDomainServiceReplicaSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DirectoryDomainServiceReplicaSetSpec defines the desired + state of DirectoryDomainServiceReplicaSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + domainServiceId: + type: string + location: + type: string + subnetId: + type: string + required: + - domainServiceId + - location + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DirectoryDomainServiceReplicaSetStatus defines the observed + state of DirectoryDomainServiceReplicaSet. + properties: + atProvider: + properties: + domainControllerIpAddresses: + items: + type: string + type: array + externalAccessIpAddress: + type: string + serviceStatus: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/active.azure.jet.crossplane.io_directorydomainservices.yaml b/package/crds/active.azure.jet.crossplane.io_directorydomainservices.yaml new file mode 100644 index 000000000..c9eebe935 --- /dev/null +++ b/package/crds/active.azure.jet.crossplane.io_directorydomainservices.yaml @@ -0,0 +1,284 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: directorydomainservices.active.azure.jet.crossplane.io +spec: + group: active.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DirectoryDomainService + listKind: DirectoryDomainServiceList + plural: directorydomainservices + singular: directorydomainservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DirectoryDomainService is the Schema for the DirectoryDomainServices + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DirectoryDomainServiceSpec defines the desired state of DirectoryDomainService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + domainName: + type: string + filteredSyncEnabled: + type: boolean + initialReplicaSet: + items: + properties: + subnetId: + type: string + required: + - subnetId + type: object + type: array + location: + type: string + name: + type: string + notifications: + items: + properties: + additionalRecipients: + items: + type: string + type: array + notifyDcAdmins: + type: boolean + notifyGlobalAdmins: + type: boolean + type: object + type: array + resourceGroupName: + type: string + secureLdap: + items: + properties: + enabled: + type: boolean + externalAccessEnabled: + type: boolean + pfxCertificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + pfxCertificateSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - enabled + - pfxCertificatePasswordSecretRef + - pfxCertificateSecretRef + type: object + type: array + security: + items: + properties: + ntlmV1Enabled: + type: boolean + syncKerberosPasswords: + type: boolean + syncNtlmPasswords: + type: boolean + syncOnPremPasswords: + type: boolean + tlsV1Enabled: + type: boolean + type: object + type: array + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - domainName + - initialReplicaSet + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DirectoryDomainServiceStatus defines the observed state of + DirectoryDomainService. + properties: + atProvider: + properties: + deploymentId: + type: string + resourceId: + type: string + syncOwner: + type: string + tenantId: + type: string + version: + format: int64 + type: integer + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/advanced.azure.jet.crossplane.io_threatprotections.yaml b/package/crds/advanced.azure.jet.crossplane.io_threatprotections.yaml new file mode 100644 index 000000000..0d7bed6e6 --- /dev/null +++ b/package/crds/advanced.azure.jet.crossplane.io_threatprotections.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: threatprotections.advanced.azure.jet.crossplane.io +spec: + group: advanced.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ThreatProtection + listKind: ThreatProtectionList + plural: threatprotections + singular: threatprotection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ThreatProtection is the Schema for the ThreatProtections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ThreatProtectionSpec defines the desired state of ThreatProtection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + enabled: + type: boolean + targetResourceId: + type: string + required: + - enabled + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ThreatProtectionStatus defines the observed state of ThreatProtection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/analysis.azure.jet.crossplane.io_servicesservers.yaml b/package/crds/analysis.azure.jet.crossplane.io_servicesservers.yaml new file mode 100644 index 000000000..b00158c48 --- /dev/null +++ b/package/crds/analysis.azure.jet.crossplane.io_servicesservers.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicesservers.analysis.azure.jet.crossplane.io +spec: + group: analysis.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServicesServer + listKind: ServicesServerList + plural: servicesservers + singular: servicesserver + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServicesServer is the Schema for the ServicesServers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServicesServerSpec defines the desired state of ServicesServer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + adminUsers: + items: + type: string + type: array + backupBlobContainerUriSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + enablePowerBiService: + type: boolean + ipv4FirewallRule: + items: + properties: + name: + type: string + rangeEnd: + type: string + rangeStart: + type: string + required: + - name + - rangeEnd + - rangeStart + type: object + type: array + location: + type: string + name: + type: string + querypoolConnectionMode: + type: string + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServicesServerStatus defines the observed state of ServicesServer. + properties: + atProvider: + properties: + serverFullName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapidiagnostics.yaml b/package/crds/api.azure.jet.crossplane.io_managementapidiagnostics.yaml new file mode 100644 index 000000000..4f94f4d44 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapidiagnostics.yaml @@ -0,0 +1,356 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapidiagnostics.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiDiagnostic + listKind: ManagementApiDiagnosticList + plural: managementapidiagnostics + singular: managementapidiagnostic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiDiagnostic is the Schema for the ManagementApiDiagnostics + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiDiagnosticSpec defines the desired state of + ManagementApiDiagnostic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alwaysLogErrors: + type: boolean + apiManagementLoggerId: + type: string + apiManagementName: + type: string + apiName: + type: string + backendRequest: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + backendResponse: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + frontendRequest: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + frontendResponse: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + httpCorrelationProtocol: + type: string + identifier: + type: string + logClientIp: + type: boolean + operationNameFormat: + type: string + resourceGroupName: + type: string + samplingPercentage: + type: number + verbosity: + type: string + required: + - apiManagementLoggerId + - apiManagementName + - apiName + - identifier + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiDiagnosticStatus defines the observed state + of ManagementApiDiagnostic. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapioperationpolicies.yaml b/package/crds/api.azure.jet.crossplane.io_managementapioperationpolicies.yaml new file mode 100644 index 000000000..bf2c470e0 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapioperationpolicies.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapioperationpolicies.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiOperationPolicy + listKind: ManagementApiOperationPolicyList + plural: managementapioperationpolicies + singular: managementapioperationpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiOperationPolicy is the Schema for the ManagementApiOperationPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiOperationPolicySpec defines the desired state + of ManagementApiOperationPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + apiName: + type: string + operationId: + type: string + resourceGroupName: + type: string + xmlContent: + type: string + xmlLink: + type: string + required: + - apiManagementName + - apiName + - operationId + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiOperationPolicyStatus defines the observed state + of ManagementApiOperationPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapioperations.yaml b/package/crds/api.azure.jet.crossplane.io_managementapioperations.yaml new file mode 100644 index 000000000..ceca3e943 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapioperations.yaml @@ -0,0 +1,374 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapioperations.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiOperation + listKind: ManagementApiOperationList + plural: managementapioperations + singular: managementapioperation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiOperation is the Schema for the ManagementApiOperations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiOperationSpec defines the desired state of ManagementApiOperation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + apiName: + type: string + description: + type: string + displayName: + type: string + method: + type: string + operationId: + type: string + request: + items: + properties: + description: + type: string + header: + items: + properties: + defaultValue: + type: string + description: + type: string + name: + type: string + required: + type: boolean + type: + type: string + values: + items: + type: string + type: array + required: + - name + - required + - type + type: object + type: array + queryParameter: + items: + properties: + defaultValue: + type: string + description: + type: string + name: + type: string + required: + type: boolean + type: + type: string + values: + items: + type: string + type: array + required: + - name + - required + - type + type: object + type: array + representation: + items: + properties: + contentType: + type: string + formParameter: + items: + properties: + defaultValue: + type: string + description: + type: string + name: + type: string + required: + type: boolean + type: + type: string + values: + items: + type: string + type: array + required: + - name + - required + - type + type: object + type: array + sample: + type: string + schemaId: + type: string + typeName: + type: string + required: + - contentType + type: object + type: array + type: object + type: array + resourceGroupName: + type: string + response: + items: + properties: + description: + type: string + header: + items: + properties: + defaultValue: + type: string + description: + type: string + name: + type: string + required: + type: boolean + type: + type: string + values: + items: + type: string + type: array + required: + - name + - required + - type + type: object + type: array + representation: + items: + properties: + contentType: + type: string + formParameter: + items: + properties: + defaultValue: + type: string + description: + type: string + name: + type: string + required: + type: boolean + type: + type: string + values: + items: + type: string + type: array + required: + - name + - required + - type + type: object + type: array + sample: + type: string + schemaId: + type: string + typeName: + type: string + required: + - contentType + type: object + type: array + statusCode: + format: int64 + type: integer + required: + - statusCode + type: object + type: array + templateParameter: + items: + properties: + defaultValue: + type: string + description: + type: string + name: + type: string + required: + type: boolean + type: + type: string + values: + items: + type: string + type: array + required: + - name + - required + - type + type: object + type: array + urlTemplate: + type: string + required: + - apiManagementName + - apiName + - displayName + - method + - operationId + - resourceGroupName + - urlTemplate + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiOperationStatus defines the observed state of + ManagementApiOperation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapioperationtags.yaml b/package/crds/api.azure.jet.crossplane.io_managementapioperationtags.yaml new file mode 100644 index 000000000..c7a67fabc --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapioperationtags.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapioperationtags.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiOperationTag + listKind: ManagementApiOperationTagList + plural: managementapioperationtags + singular: managementapioperationtag + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiOperationTag is the Schema for the ManagementApiOperationTags + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiOperationTagSpec defines the desired state of + ManagementApiOperationTag + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiOperationId: + type: string + displayName: + type: string + name: + type: string + required: + - apiOperationId + - displayName + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiOperationTagStatus defines the observed state + of ManagementApiOperationTag. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapipolicies.yaml b/package/crds/api.azure.jet.crossplane.io_managementapipolicies.yaml new file mode 100644 index 000000000..49a91bdab --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapipolicies.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapipolicies.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiPolicy + listKind: ManagementApiPolicyList + plural: managementapipolicies + singular: managementapipolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiPolicy is the Schema for the ManagementApiPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiPolicySpec defines the desired state of ManagementApiPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + apiName: + type: string + resourceGroupName: + type: string + xmlContent: + type: string + xmlLink: + type: string + required: + - apiManagementName + - apiName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiPolicyStatus defines the observed state of ManagementApiPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapireleases.yaml b/package/crds/api.azure.jet.crossplane.io_managementapireleases.yaml new file mode 100644 index 000000000..cd6096aa9 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapireleases.yaml @@ -0,0 +1,172 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapireleases.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiRelease + listKind: ManagementApiReleaseList + plural: managementapireleases + singular: managementapirelease + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiRelease is the Schema for the ManagementApiReleases + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiReleaseSpec defines the desired state of ManagementApiRelease + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiId: + type: string + name: + type: string + notes: + type: string + required: + - apiId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiReleaseStatus defines the observed state of + ManagementApiRelease. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapis.yaml b/package/crds/api.azure.jet.crossplane.io_managementapis.yaml new file mode 100644 index 000000000..44a927751 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapis.yaml @@ -0,0 +1,265 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapis.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApi + listKind: ManagementApiList + plural: managementapis + singular: managementapi + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApi is the Schema for the ManagementApis API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiSpec defines the desired state of ManagementApi + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + description: + type: string + displayName: + type: string + import: + items: + properties: + contentFormat: + type: string + contentValue: + type: string + wsdlSelector: + items: + properties: + endpointName: + type: string + serviceName: + type: string + required: + - endpointName + - serviceName + type: object + type: array + required: + - contentFormat + - contentValue + type: object + type: array + name: + type: string + oauth2Authorization: + items: + properties: + authorizationServerName: + type: string + scope: + type: string + required: + - authorizationServerName + type: object + type: array + openidAuthentication: + items: + properties: + bearerTokenSendingMethods: + items: + type: string + type: array + openidProviderName: + type: string + required: + - openidProviderName + type: object + type: array + path: + type: string + protocols: + items: + type: string + type: array + resourceGroupName: + type: string + revision: + type: string + revisionDescription: + type: string + serviceUrl: + type: string + soapPassThrough: + type: boolean + sourceApiId: + type: string + subscriptionKeyParameterNames: + items: + properties: + header: + type: string + query: + type: string + required: + - header + - query + type: object + type: array + subscriptionRequired: + type: boolean + version: + type: string + versionDescription: + type: string + versionSetId: + type: string + required: + - apiManagementName + - name + - resourceGroupName + - revision + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiStatus defines the observed state of ManagementApi. + properties: + atProvider: + properties: + isCurrent: + type: boolean + isOnline: + type: boolean + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapischemas.yaml b/package/crds/api.azure.jet.crossplane.io_managementapischemas.yaml new file mode 100644 index 000000000..9af40480e --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapischemas.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapischemas.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiSchema + listKind: ManagementApiSchemaList + plural: managementapischemas + singular: managementapischema + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiSchema is the Schema for the ManagementApiSchemas + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiSchemaSpec defines the desired state of ManagementApiSchema + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + apiName: + type: string + contentType: + type: string + resourceGroupName: + type: string + schemaId: + type: string + value: + type: string + required: + - apiManagementName + - apiName + - contentType + - resourceGroupName + - schemaId + - value + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiSchemaStatus defines the observed state of ManagementApiSchema. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementapiversionsets.yaml b/package/crds/api.azure.jet.crossplane.io_managementapiversionsets.yaml new file mode 100644 index 000000000..9d807e687 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementapiversionsets.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementapiversionsets.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementApiVersionSet + listKind: ManagementApiVersionSetList + plural: managementapiversionsets + singular: managementapiversionset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementApiVersionSet is the Schema for the ManagementApiVersionSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementApiVersionSetSpec defines the desired state of + ManagementApiVersionSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + description: + type: string + displayName: + type: string + name: + type: string + resourceGroupName: + type: string + versionHeaderName: + type: string + versionQueryName: + type: string + versioningScheme: + type: string + required: + - apiManagementName + - displayName + - name + - resourceGroupName + - versioningScheme + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementApiVersionSetStatus defines the observed state + of ManagementApiVersionSet. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementauthorizationservers.yaml b/package/crds/api.azure.jet.crossplane.io_managementauthorizationservers.yaml new file mode 100644 index 000000000..55dcade06 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementauthorizationservers.yaml @@ -0,0 +1,262 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementauthorizationservers.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementAuthorizationServer + listKind: ManagementAuthorizationServerList + plural: managementauthorizationservers + singular: managementauthorizationserver + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementAuthorizationServer is the Schema for the ManagementAuthorizationServers + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementAuthorizationServerSpec defines the desired state + of ManagementAuthorizationServer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + authorizationEndpoint: + type: string + authorizationMethods: + items: + type: string + type: array + bearerTokenSendingMethods: + items: + type: string + type: array + clientAuthenticationMethod: + items: + type: string + type: array + clientId: + type: string + clientRegistrationEndpoint: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + defaultScope: + type: string + description: + type: string + displayName: + type: string + grantTypes: + items: + type: string + type: array + name: + type: string + resourceGroupName: + type: string + resourceOwnerPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceOwnerUsername: + type: string + supportState: + type: boolean + tokenBodyParameter: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + tokenEndpoint: + type: string + required: + - apiManagementName + - authorizationEndpoint + - authorizationMethods + - clientId + - clientRegistrationEndpoint + - displayName + - grantTypes + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementAuthorizationServerStatus defines the observed + state of ManagementAuthorizationServer. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementbackends.yaml b/package/crds/api.azure.jet.crossplane.io_managementbackends.yaml new file mode 100644 index 000000000..6270e85a4 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementbackends.yaml @@ -0,0 +1,283 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementbackends.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementBackend + listKind: ManagementBackendList + plural: managementbackends + singular: managementbackend + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementBackend is the Schema for the ManagementBackends API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementBackendSpec defines the desired state of ManagementBackend + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + credentials: + items: + properties: + authorization: + items: + properties: + parameter: + type: string + scheme: + type: string + type: object + type: array + certificate: + items: + type: string + type: array + header: + additionalProperties: + type: string + type: object + query: + additionalProperties: + type: string + type: object + type: object + type: array + description: + type: string + name: + type: string + protocol: + type: string + proxy: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + url: + type: string + username: + type: string + required: + - url + - username + type: object + type: array + resourceGroupName: + type: string + resourceId: + type: string + serviceFabricCluster: + items: + properties: + clientCertificateId: + type: string + clientCertificateThumbprint: + type: string + managementEndpoints: + items: + type: string + type: array + maxPartitionResolutionRetries: + format: int64 + type: integer + serverCertificateThumbprints: + items: + type: string + type: array + serverX509Name: + items: + properties: + issuerCertificateThumbprint: + type: string + name: + type: string + required: + - issuerCertificateThumbprint + - name + type: object + type: array + required: + - managementEndpoints + - maxPartitionResolutionRetries + type: object + type: array + title: + type: string + tls: + items: + properties: + validateCertificateChain: + type: boolean + validateCertificateName: + type: boolean + type: object + type: array + url: + type: string + required: + - apiManagementName + - name + - protocol + - resourceGroupName + - url + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementBackendStatus defines the observed state of ManagementBackend. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementcertificates.yaml b/package/crds/api.azure.jet.crossplane.io_managementcertificates.yaml new file mode 100644 index 000000000..54586b352 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementcertificates.yaml @@ -0,0 +1,220 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementcertificates.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementCertificate + listKind: ManagementCertificateList + plural: managementcertificates + singular: managementcertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementCertificate is the Schema for the ManagementCertificates + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementCertificateSpec defines the desired state of ManagementCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + dataSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + keyVaultIdentityClientId: + type: string + keyVaultSecretId: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + required: + - apiManagementName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementCertificateStatus defines the observed state of + ManagementCertificate. + properties: + atProvider: + properties: + expiration: + type: string + subject: + type: string + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementcustomdomains.yaml b/package/crds/api.azure.jet.crossplane.io_managementcustomdomains.yaml new file mode 100644 index 000000000..ac8d3540e --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementcustomdomains.yaml @@ -0,0 +1,424 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementcustomdomains.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementCustomDomain + listKind: ManagementCustomDomainList + plural: managementcustomdomains + singular: managementcustomdomain + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementCustomDomain is the Schema for the ManagementCustomDomains + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementCustomDomainSpec defines the desired state of ManagementCustomDomain + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementId: + type: string + developerPortal: + items: + properties: + certificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + hostName: + type: string + keyVaultId: + type: string + negotiateClientCertificate: + type: boolean + sslKeyvaultIdentityClientId: + type: string + required: + - hostName + type: object + type: array + management: + items: + properties: + certificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + hostName: + type: string + keyVaultId: + type: string + negotiateClientCertificate: + type: boolean + sslKeyvaultIdentityClientId: + type: string + required: + - hostName + type: object + type: array + portal: + items: + properties: + certificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + hostName: + type: string + keyVaultId: + type: string + negotiateClientCertificate: + type: boolean + sslKeyvaultIdentityClientId: + type: string + required: + - hostName + type: object + type: array + proxy: + items: + properties: + certificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + defaultSslBinding: + type: boolean + hostName: + type: string + keyVaultId: + type: string + negotiateClientCertificate: + type: boolean + sslKeyvaultIdentityClientId: + type: string + required: + - hostName + type: object + type: array + scm: + items: + properties: + certificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + hostName: + type: string + keyVaultId: + type: string + negotiateClientCertificate: + type: boolean + sslKeyvaultIdentityClientId: + type: string + required: + - hostName + type: object + type: array + required: + - apiManagementId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementCustomDomainStatus defines the observed state of + ManagementCustomDomain. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementdiagnostics.yaml b/package/crds/api.azure.jet.crossplane.io_managementdiagnostics.yaml new file mode 100644 index 000000000..e67eb5417 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementdiagnostics.yaml @@ -0,0 +1,354 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementdiagnostics.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementDiagnostic + listKind: ManagementDiagnosticList + plural: managementdiagnostics + singular: managementdiagnostic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementDiagnostic is the Schema for the ManagementDiagnostics + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementDiagnosticSpec defines the desired state of ManagementDiagnostic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alwaysLogErrors: + type: boolean + apiManagementLoggerId: + type: string + apiManagementName: + type: string + backendRequest: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + backendResponse: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + enabled: + type: boolean + frontendRequest: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + frontendResponse: + items: + properties: + bodyBytes: + format: int64 + type: integer + dataMasking: + items: + properties: + headers: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + queryParams: + items: + properties: + mode: + type: string + value: + type: string + required: + - mode + - value + type: object + type: array + type: object + type: array + headersToLog: + items: + type: string + type: array + type: object + type: array + httpCorrelationProtocol: + type: string + identifier: + type: string + logClientIp: + type: boolean + operationNameFormat: + type: string + resourceGroupName: + type: string + samplingPercentage: + type: number + verbosity: + type: string + required: + - apiManagementLoggerId + - apiManagementName + - identifier + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementDiagnosticStatus defines the observed state of + ManagementDiagnostic. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementemailtemplates.yaml b/package/crds/api.azure.jet.crossplane.io_managementemailtemplates.yaml new file mode 100644 index 000000000..f9f779902 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementemailtemplates.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementemailtemplates.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementEmailTemplate + listKind: ManagementEmailTemplateList + plural: managementemailtemplates + singular: managementemailtemplate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementEmailTemplate is the Schema for the ManagementEmailTemplates + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementEmailTemplateSpec defines the desired state of + ManagementEmailTemplate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + body: + type: string + resourceGroupName: + type: string + subject: + type: string + templateName: + type: string + required: + - apiManagementName + - body + - resourceGroupName + - subject + - templateName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementEmailTemplateStatus defines the observed state + of ManagementEmailTemplate. + properties: + atProvider: + properties: + description: + type: string + title: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementgatewayapis.yaml b/package/crds/api.azure.jet.crossplane.io_managementgatewayapis.yaml new file mode 100644 index 000000000..3fde577b3 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementgatewayapis.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementgatewayapis.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementGatewayApi + listKind: ManagementGatewayApiList + plural: managementgatewayapis + singular: managementgatewayapi + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementGatewayApi is the Schema for the ManagementGatewayApis + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementGatewayApiSpec defines the desired state of ManagementGatewayApi + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiId: + type: string + gatewayId: + type: string + required: + - apiId + - gatewayId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementGatewayApiStatus defines the observed state of + ManagementGatewayApi. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementgateways.yaml b/package/crds/api.azure.jet.crossplane.io_managementgateways.yaml new file mode 100644 index 000000000..2a95d91e3 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementgateways.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementgateways.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementGateway + listKind: ManagementGatewayList + plural: managementgateways + singular: managementgateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementGateway is the Schema for the ManagementGateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementGatewaySpec defines the desired state of ManagementGateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementId: + type: string + description: + type: string + locationData: + items: + properties: + city: + type: string + district: + type: string + name: + type: string + region: + type: string + required: + - name + type: object + type: array + name: + type: string + required: + - apiManagementId + - locationData + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementGatewayStatus defines the observed state of ManagementGateway. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementidentityprovideraadb2cs.yaml b/package/crds/api.azure.jet.crossplane.io_managementidentityprovideraadb2cs.yaml new file mode 100644 index 000000000..c11d09bc1 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementidentityprovideraadb2cs.yaml @@ -0,0 +1,212 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementidentityprovideraadb2cs.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementIdentityProviderAadb2C + listKind: ManagementIdentityProviderAadb2CList + plural: managementidentityprovideraadb2cs + singular: managementidentityprovideraadb2c + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementIdentityProviderAadb2C is the Schema for the ManagementIdentityProviderAadb2Cs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementIdentityProviderAadb2CSpec defines the desired + state of ManagementIdentityProviderAadb2C + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowedTenant: + type: string + apiManagementName: + type: string + authority: + type: string + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + passwordResetPolicy: + type: string + profileEditingPolicy: + type: string + resourceGroupName: + type: string + signinPolicy: + type: string + signinTenant: + type: string + signupPolicy: + type: string + required: + - allowedTenant + - apiManagementName + - authority + - clientId + - clientSecretSecretRef + - resourceGroupName + - signinPolicy + - signinTenant + - signupPolicy + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementIdentityProviderAadb2CStatus defines the observed + state of ManagementIdentityProviderAadb2C. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementidentityprovideraads.yaml b/package/crds/api.azure.jet.crossplane.io_managementidentityprovideraads.yaml new file mode 100644 index 000000000..ddd9bc585 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementidentityprovideraads.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementidentityprovideraads.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementIdentityProviderAad + listKind: ManagementIdentityProviderAadList + plural: managementidentityprovideraads + singular: managementidentityprovideraad + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementIdentityProviderAad is the Schema for the ManagementIdentityProviderAads + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementIdentityProviderAadSpec defines the desired state + of ManagementIdentityProviderAad + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowedTenants: + items: + type: string + type: array + apiManagementName: + type: string + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + signinTenant: + type: string + required: + - allowedTenants + - apiManagementName + - clientId + - clientSecretSecretRef + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementIdentityProviderAadStatus defines the observed + state of ManagementIdentityProviderAad. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementidentityproviderfacebooks.yaml b/package/crds/api.azure.jet.crossplane.io_managementidentityproviderfacebooks.yaml new file mode 100644 index 000000000..eb509046f --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementidentityproviderfacebooks.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementidentityproviderfacebooks.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementIdentityProviderFacebook + listKind: ManagementIdentityProviderFacebookList + plural: managementidentityproviderfacebooks + singular: managementidentityproviderfacebook + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementIdentityProviderFacebook is the Schema for the ManagementIdentityProviderFacebooks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementIdentityProviderFacebookSpec defines the desired + state of ManagementIdentityProviderFacebook + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + appId: + type: string + appSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + required: + - apiManagementName + - appId + - appSecretSecretRef + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementIdentityProviderFacebookStatus defines the observed + state of ManagementIdentityProviderFacebook. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementidentityprovidergoogles.yaml b/package/crds/api.azure.jet.crossplane.io_managementidentityprovidergoogles.yaml new file mode 100644 index 000000000..4adcaf5c6 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementidentityprovidergoogles.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementidentityprovidergoogles.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementIdentityProviderGoogle + listKind: ManagementIdentityProviderGoogleList + plural: managementidentityprovidergoogles + singular: managementidentityprovidergoogle + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementIdentityProviderGoogle is the Schema for the ManagementIdentityProviderGoogles + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementIdentityProviderGoogleSpec defines the desired + state of ManagementIdentityProviderGoogle + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + required: + - apiManagementName + - clientId + - clientSecretSecretRef + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementIdentityProviderGoogleStatus defines the observed + state of ManagementIdentityProviderGoogle. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementidentityprovidermicrosofts.yaml b/package/crds/api.azure.jet.crossplane.io_managementidentityprovidermicrosofts.yaml new file mode 100644 index 000000000..d99b9ea46 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementidentityprovidermicrosofts.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementidentityprovidermicrosofts.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementIdentityProviderMicrosoft + listKind: ManagementIdentityProviderMicrosoftList + plural: managementidentityprovidermicrosofts + singular: managementidentityprovidermicrosoft + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementIdentityProviderMicrosoft is the Schema for the ManagementIdentityProviderMicrosofts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementIdentityProviderMicrosoftSpec defines the desired + state of ManagementIdentityProviderMicrosoft + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + required: + - apiManagementName + - clientId + - clientSecretSecretRef + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementIdentityProviderMicrosoftStatus defines the observed + state of ManagementIdentityProviderMicrosoft. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementidentityprovidertwitters.yaml b/package/crds/api.azure.jet.crossplane.io_managementidentityprovidertwitters.yaml new file mode 100644 index 000000000..b1b807ba2 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementidentityprovidertwitters.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementidentityprovidertwitters.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementIdentityProviderTwitter + listKind: ManagementIdentityProviderTwitterList + plural: managementidentityprovidertwitters + singular: managementidentityprovidertwitter + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementIdentityProviderTwitter is the Schema for the ManagementIdentityProviderTwitters + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementIdentityProviderTwitterSpec defines the desired + state of ManagementIdentityProviderTwitter + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiKey: + type: string + apiManagementName: + type: string + apiSecretKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + required: + - apiKey + - apiManagementName + - apiSecretKeySecretRef + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementIdentityProviderTwitterStatus defines the observed + state of ManagementIdentityProviderTwitter. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementloggers.yaml b/package/crds/api.azure.jet.crossplane.io_managementloggers.yaml new file mode 100644 index 000000000..bf1fb97dc --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementloggers.yaml @@ -0,0 +1,230 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementloggers.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementLogger + listKind: ManagementLoggerList + plural: managementloggers + singular: managementlogger + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementLogger is the Schema for the ManagementLoggers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementLoggerSpec defines the desired state of ManagementLogger + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + applicationInsights: + items: + properties: + instrumentationKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - instrumentationKeySecretRef + type: object + type: array + buffered: + type: boolean + description: + type: string + eventhub: + items: + properties: + connectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + required: + - connectionStringSecretRef + - name + type: object + type: array + name: + type: string + resourceGroupName: + type: string + resourceId: + type: string + required: + - apiManagementName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementLoggerStatus defines the observed state of ManagementLogger. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementnamedvalues.yaml b/package/crds/api.azure.jet.crossplane.io_managementnamedvalues.yaml new file mode 100644 index 000000000..1005eeb8d --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementnamedvalues.yaml @@ -0,0 +1,211 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementnamedvalues.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementNamedValue + listKind: ManagementNamedValueList + plural: managementnamedvalues + singular: managementnamedvalue + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementNamedValue is the Schema for the ManagementNamedValues + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementNamedValueSpec defines the desired state of ManagementNamedValue + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + displayName: + type: string + name: + type: string + resourceGroupName: + type: string + secret: + type: boolean + tags: + items: + type: string + type: array + valueFromKeyVault: + items: + properties: + identityClientId: + type: string + secretId: + type: string + required: + - secretId + type: object + type: array + valueSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - apiManagementName + - displayName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementNamedValueStatus defines the observed state of + ManagementNamedValue. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementnotificationrecipientemails.yaml b/package/crds/api.azure.jet.crossplane.io_managementnotificationrecipientemails.yaml new file mode 100644 index 000000000..2b1eec026 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementnotificationrecipientemails.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementnotificationrecipientemails.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementNotificationRecipientEmail + listKind: ManagementNotificationRecipientEmailList + plural: managementnotificationrecipientemails + singular: managementnotificationrecipientemail + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementNotificationRecipientEmail is the Schema for the ManagementNotificationRecipientEmails + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementNotificationRecipientEmailSpec defines the desired + state of ManagementNotificationRecipientEmail + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementId: + type: string + email: + type: string + notificationType: + type: string + required: + - apiManagementId + - email + - notificationType + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementNotificationRecipientEmailStatus defines the observed + state of ManagementNotificationRecipientEmail. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementopenidconnectproviders.yaml b/package/crds/api.azure.jet.crossplane.io_managementopenidconnectproviders.yaml new file mode 100644 index 000000000..e4c93f189 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementopenidconnectproviders.yaml @@ -0,0 +1,220 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementopenidconnectproviders.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementOpenidConnectProvider + listKind: ManagementOpenidConnectProviderList + plural: managementopenidconnectproviders + singular: managementopenidconnectprovider + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementOpenidConnectProvider is the Schema for the ManagementOpenidConnectProviders + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementOpenidConnectProviderSpec defines the desired state + of ManagementOpenidConnectProvider + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + clientIdSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + description: + type: string + displayName: + type: string + metadataEndpoint: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - apiManagementName + - clientIdSecretRef + - clientSecretSecretRef + - displayName + - metadataEndpoint + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementOpenidConnectProviderStatus defines the observed + state of ManagementOpenidConnectProvider. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementpolicies.yaml b/package/crds/api.azure.jet.crossplane.io_managementpolicies.yaml new file mode 100644 index 000000000..74ab39fa5 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementpolicies.yaml @@ -0,0 +1,169 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementpolicies.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementPolicy + listKind: ManagementPolicyList + plural: managementpolicies + singular: managementpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementPolicy is the Schema for the ManagementPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementPolicySpec defines the desired state of ManagementPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementId: + type: string + xmlContent: + type: string + xmlLink: + type: string + required: + - apiManagementId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementPolicyStatus defines the observed state of ManagementPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementproductapis.yaml b/package/crds/api.azure.jet.crossplane.io_managementproductapis.yaml new file mode 100644 index 000000000..6504bbab7 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementproductapis.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementproductapis.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementProductApi + listKind: ManagementProductApiList + plural: managementproductapis + singular: managementproductapi + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementProductApi is the Schema for the ManagementProductApis + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementProductApiSpec defines the desired state of ManagementProductApi + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + apiName: + type: string + productId: + type: string + resourceGroupName: + type: string + required: + - apiManagementName + - apiName + - productId + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementProductApiStatus defines the observed state of + ManagementProductApi. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementproductpolicies.yaml b/package/crds/api.azure.jet.crossplane.io_managementproductpolicies.yaml new file mode 100644 index 000000000..0dba75738 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementproductpolicies.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementproductpolicies.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementProductPolicy + listKind: ManagementProductPolicyList + plural: managementproductpolicies + singular: managementproductpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementProductPolicy is the Schema for the ManagementProductPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementProductPolicySpec defines the desired state of + ManagementProductPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + productId: + type: string + resourceGroupName: + type: string + xmlContent: + type: string + xmlLink: + type: string + required: + - apiManagementName + - productId + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementProductPolicyStatus defines the observed state + of ManagementProductPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementproducts.yaml b/package/crds/api.azure.jet.crossplane.io_managementproducts.yaml new file mode 100644 index 000000000..eb823716a --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementproducts.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementproducts.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementProduct + listKind: ManagementProductList + plural: managementproducts + singular: managementproduct + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementProduct is the Schema for the ManagementProducts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementProductSpec defines the desired state of ManagementProduct + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + approvalRequired: + type: boolean + description: + type: string + displayName: + type: string + productId: + type: string + published: + type: boolean + resourceGroupName: + type: string + subscriptionRequired: + type: boolean + subscriptionsLimit: + format: int64 + type: integer + terms: + type: string + required: + - apiManagementName + - displayName + - productId + - published + - resourceGroupName + - subscriptionRequired + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementProductStatus defines the observed state of ManagementProduct. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementproperties.yaml b/package/crds/api.azure.jet.crossplane.io_managementproperties.yaml new file mode 100644 index 000000000..8bc57701a --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementproperties.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementproperties.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementProperty + listKind: ManagementPropertyList + plural: managementproperties + singular: managementproperty + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementProperty is the Schema for the ManagementPropertys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementPropertySpec defines the desired state of ManagementProperty + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + displayName: + type: string + name: + type: string + resourceGroupName: + type: string + secret: + type: boolean + tags: + items: + type: string + type: array + value: + type: string + required: + - apiManagementName + - displayName + - name + - resourceGroupName + - value + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementPropertyStatus defines the observed state of ManagementProperty. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementrediscaches.yaml b/package/crds/api.azure.jet.crossplane.io_managementrediscaches.yaml new file mode 100644 index 000000000..89c8bff97 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementrediscaches.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementrediscaches.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementRedisCache + listKind: ManagementRedisCacheList + plural: managementrediscaches + singular: managementrediscache + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementRedisCache is the Schema for the ManagementRedisCaches + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementRedisCacheSpec defines the desired state of ManagementRedisCache + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementId: + type: string + cacheLocation: + type: string + connectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + description: + type: string + name: + type: string + redisCacheId: + type: string + required: + - apiManagementId + - connectionStringSecretRef + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementRedisCacheStatus defines the observed state of + ManagementRedisCache. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managements.yaml b/package/crds/api.azure.jet.crossplane.io_managements.yaml new file mode 100644 index 000000000..9ee88298c --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managements.yaml @@ -0,0 +1,214 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managements.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Management + listKind: ManagementList + plural: managements + singular: management + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Management is the Schema for the Managements API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementSpec defines the desired state of Management + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + certificatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + hostName: + type: string + keyVaultId: + type: string + negotiateClientCertificate: + type: boolean + sslKeyvaultIdentityClientId: + type: string + required: + - hostName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementStatus defines the observed state of Management. + properties: + atProvider: + properties: + expiry: + type: string + subject: + type: string + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementsubscriptions.yaml b/package/crds/api.azure.jet.crossplane.io_managementsubscriptions.yaml new file mode 100644 index 000000000..9f89e0a2c --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementsubscriptions.yaml @@ -0,0 +1,221 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementsubscriptions.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementSubscription + listKind: ManagementSubscriptionList + plural: managementsubscriptions + singular: managementsubscription + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementSubscription is the Schema for the ManagementSubscriptions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementSubscriptionSpec defines the desired state of ManagementSubscription + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowTracing: + type: boolean + apiId: + type: string + apiManagementName: + type: string + displayName: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + productId: + type: string + resourceGroupName: + type: string + secondaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + state: + type: string + subscriptionId: + type: string + userId: + type: string + required: + - apiManagementName + - displayName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementSubscriptionStatus defines the observed state of + ManagementSubscription. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementtags.yaml b/package/crds/api.azure.jet.crossplane.io_managementtags.yaml new file mode 100644 index 000000000..28c809b96 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementtags.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementtags.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementTag + listKind: ManagementTagList + plural: managementtags + singular: managementtag + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementTag is the Schema for the ManagementTags API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementTagSpec defines the desired state of ManagementTag + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementId: + type: string + displayName: + type: string + name: + type: string + required: + - apiManagementId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementTagStatus defines the observed state of ManagementTag. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/api.azure.jet.crossplane.io_managementusers.yaml b/package/crds/api.azure.jet.crossplane.io_managementusers.yaml new file mode 100644 index 000000000..e79f52f94 --- /dev/null +++ b/package/crds/api.azure.jet.crossplane.io_managementusers.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementusers.api.azure.jet.crossplane.io +spec: + group: api.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementUser + listKind: ManagementUserList + plural: managementusers + singular: managementuser + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementUser is the Schema for the ManagementUsers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementUserSpec defines the desired state of ManagementUser + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiManagementName: + type: string + confirmation: + type: string + email: + type: string + firstName: + type: string + lastName: + type: string + note: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + state: + type: string + userId: + type: string + required: + - apiManagementName + - email + - firstName + - lastName + - resourceGroupName + - userId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementUserStatus defines the observed state of ManagementUser. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_configurationkeys.yaml b/package/crds/app.azure.jet.crossplane.io_configurationkeys.yaml new file mode 100644 index 000000000..7255a0d0f --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_configurationkeys.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: configurationkeys.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ConfigurationKey + listKind: ConfigurationKeyList + plural: configurationkeys + singular: configurationkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConfigurationKey is the Schema for the ConfigurationKeys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConfigurationKeySpec defines the desired state of ConfigurationKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + configurationStoreId: + type: string + contentType: + type: string + etag: + type: string + key: + type: string + label: + type: string + locked: + type: boolean + tags: + additionalProperties: + type: string + type: object + type: + type: string + value: + type: string + vaultKeyReference: + type: string + required: + - configurationStoreId + - key + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConfigurationKeyStatus defines the observed state of ConfigurationKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_configurations.yaml b/package/crds/app.azure.jet.crossplane.io_configurations.yaml new file mode 100644 index 000000000..d8085c727 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_configurations.yaml @@ -0,0 +1,209 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: configurations.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Configuration + listKind: ConfigurationList + plural: configurations + singular: configuration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Configuration is the Schema for the Configurations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConfigurationSpec defines the desired state of Configuration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConfigurationStatus defines the observed state of Configuration. + properties: + atProvider: + properties: + endpoint: + type: string + primaryReadKey: + items: + type: object + type: array + primaryWriteKey: + items: + type: object + type: array + secondaryReadKey: + items: + type: object + type: array + secondaryWriteKey: + items: + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_serviceactiveslots.yaml b/package/crds/app.azure.jet.crossplane.io_serviceactiveslots.yaml new file mode 100644 index 000000000..f2c13a7e6 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_serviceactiveslots.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceactiveslots.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceActiveSlot + listKind: ServiceActiveSlotList + plural: serviceactiveslots + singular: serviceactiveslot + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceActiveSlot is the Schema for the ServiceActiveSlots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceActiveSlotSpec defines the desired state of ServiceActiveSlot + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceName: + type: string + appServiceSlotName: + type: string + resourceGroupName: + type: string + required: + - appServiceName + - appServiceSlotName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceActiveSlotStatus defines the observed state of ServiceActiveSlot. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicecertificatebindings.yaml b/package/crds/app.azure.jet.crossplane.io_servicecertificatebindings.yaml new file mode 100644 index 000000000..fe8b82cc2 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicecertificatebindings.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicecertificatebindings.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceCertificateBinding + listKind: ServiceCertificateBindingList + plural: servicecertificatebindings + singular: servicecertificatebinding + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceCertificateBinding is the Schema for the ServiceCertificateBindings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceCertificateBindingSpec defines the desired state of + ServiceCertificateBinding + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + certificateId: + type: string + hostnameBindingId: + type: string + sslState: + type: string + required: + - certificateId + - hostnameBindingId + - sslState + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceCertificateBindingStatus defines the observed state + of ServiceCertificateBinding. + properties: + atProvider: + properties: + appServiceName: + type: string + hostname: + type: string + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicecertificateorders.yaml b/package/crds/app.azure.jet.crossplane.io_servicecertificateorders.yaml new file mode 100644 index 000000000..8ce049412 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicecertificateorders.yaml @@ -0,0 +1,224 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicecertificateorders.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceCertificateOrder + listKind: ServiceCertificateOrderList + plural: servicecertificateorders + singular: servicecertificateorder + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceCertificateOrder is the Schema for the ServiceCertificateOrders + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceCertificateOrderSpec defines the desired state of + ServiceCertificateOrder + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoRenew: + type: boolean + csr: + type: string + distinguishedName: + type: string + keySize: + format: int64 + type: integer + location: + type: string + name: + type: string + productType: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + validityInYears: + format: int64 + type: integer + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceCertificateOrderStatus defines the observed state + of ServiceCertificateOrder. + properties: + atProvider: + properties: + appServiceCertificateNotRenewableReasons: + items: + type: string + type: array + certificates: + items: + properties: + certificateName: + type: string + keyVaultId: + type: string + keyVaultSecretName: + type: string + provisioningState: + type: string + type: object + type: array + domainVerificationToken: + type: string + expirationTime: + type: string + intermediateThumbprint: + type: string + isPrivateKeyExternal: + type: boolean + rootThumbprint: + type: string + signedCertificateThumbprint: + type: string + status: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicecertificates.yaml b/package/crds/app.azure.jet.crossplane.io_servicecertificates.yaml new file mode 100644 index 000000000..41e843f9d --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicecertificates.yaml @@ -0,0 +1,235 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicecertificates.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceCertificate + listKind: ServiceCertificateList + plural: servicecertificates + singular: servicecertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceCertificate is the Schema for the ServiceCertificates + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceCertificateSpec defines the desired state of ServiceCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServicePlanId: + type: string + hostingEnvironmentProfileId: + type: string + keyVaultSecretId: + type: string + location: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + pfxBlobSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceCertificateStatus defines the observed state of ServiceCertificate. + properties: + atProvider: + properties: + expirationDate: + type: string + friendlyName: + type: string + hostNames: + items: + type: string + type: array + issueDate: + type: string + issuer: + type: string + subjectName: + type: string + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicecustomhostnamebindings.yaml b/package/crds/app.azure.jet.crossplane.io_servicecustomhostnamebindings.yaml new file mode 100644 index 000000000..76345767c --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicecustomhostnamebindings.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicecustomhostnamebindings.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceCustomHostnameBinding + listKind: ServiceCustomHostnameBindingList + plural: servicecustomhostnamebindings + singular: servicecustomhostnamebinding + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceCustomHostnameBinding is the Schema for the ServiceCustomHostnameBindings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceCustomHostnameBindingSpec defines the desired state + of ServiceCustomHostnameBinding + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceName: + type: string + hostname: + type: string + resourceGroupName: + type: string + sslState: + type: string + thumbprint: + type: string + required: + - appServiceName + - hostname + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceCustomHostnameBindingStatus defines the observed state + of ServiceCustomHostnameBinding. + properties: + atProvider: + properties: + virtualIp: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_serviceenvironments.yaml b/package/crds/app.azure.jet.crossplane.io_serviceenvironments.yaml new file mode 100644 index 000000000..bb3454644 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_serviceenvironments.yaml @@ -0,0 +1,213 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceenvironments.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceEnvironment + listKind: ServiceEnvironmentList + plural: serviceenvironments + singular: serviceenvironment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceEnvironment is the Schema for the ServiceEnvironments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceEnvironmentSpec defines the desired state of ServiceEnvironment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowedUserIpCidrs: + items: + type: string + type: array + clusterSetting: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + frontEndScaleFactor: + format: int64 + type: integer + internalLoadBalancingMode: + type: string + name: + type: string + pricingTier: + type: string + resourceGroupName: + type: string + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + userWhitelistedIpRanges: + items: + type: string + type: array + required: + - name + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceEnvironmentStatus defines the observed state of ServiceEnvironment. + properties: + atProvider: + properties: + internalIpAddress: + type: string + location: + type: string + outboundIpAddresses: + items: + type: string + type: array + serviceIpAddress: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_serviceenvironmentv3s.yaml b/package/crds/app.azure.jet.crossplane.io_serviceenvironmentv3s.yaml new file mode 100644 index 000000000..5c7bc37d8 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_serviceenvironmentv3s.yaml @@ -0,0 +1,239 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceenvironmentv3s.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceEnvironmentV3 + listKind: ServiceEnvironmentV3List + plural: serviceenvironmentv3s + singular: serviceenvironmentv3 + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceEnvironmentV3 is the Schema for the ServiceEnvironmentV3s + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceEnvironmentV3Spec defines the desired state of ServiceEnvironmentV3 + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowNewPrivateEndpointConnections: + type: boolean + clusterSetting: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + dedicatedHostCount: + format: int64 + type: integer + internalLoadBalancingMode: + type: string + name: + type: string + resourceGroupName: + type: string + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + zoneRedundant: + type: boolean + required: + - name + - resourceGroupName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceEnvironmentV3Status defines the observed state of + ServiceEnvironmentV3. + properties: + atProvider: + properties: + dnsSuffix: + type: string + externalInboundIpAddresses: + items: + type: string + type: array + inboundNetworkDependencies: + items: + properties: + description: + type: string + ipAddresses: + items: + type: string + type: array + ports: + items: + type: string + type: array + type: object + type: array + internalInboundIpAddresses: + items: + type: string + type: array + ipSslAddressCount: + format: int64 + type: integer + linuxOutboundIpAddresses: + items: + type: string + type: array + location: + type: string + pricingTier: + type: string + windowsOutboundIpAddresses: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicehybridconnections.yaml b/package/crds/app.azure.jet.crossplane.io_servicehybridconnections.yaml new file mode 100644 index 000000000..9e3261eb5 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicehybridconnections.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicehybridconnections.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceHybridConnection + listKind: ServiceHybridConnectionList + plural: servicehybridconnections + singular: servicehybridconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceHybridConnection is the Schema for the ServiceHybridConnections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceHybridConnectionSpec defines the desired state of + ServiceHybridConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceName: + type: string + hostname: + type: string + port: + format: int64 + type: integer + relayId: + type: string + resourceGroupName: + type: string + sendKeyName: + type: string + required: + - appServiceName + - hostname + - port + - relayId + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceHybridConnectionStatus defines the observed state + of ServiceHybridConnection. + properties: + atProvider: + properties: + namespaceName: + type: string + relayName: + type: string + serviceBusNamespace: + type: string + serviceBusSuffix: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicemanagedcertificates.yaml b/package/crds/app.azure.jet.crossplane.io_servicemanagedcertificates.yaml new file mode 100644 index 000000000..851dfd2fa --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicemanagedcertificates.yaml @@ -0,0 +1,191 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicemanagedcertificates.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceManagedCertificate + listKind: ServiceManagedCertificateList + plural: servicemanagedcertificates + singular: servicemanagedcertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceManagedCertificate is the Schema for the ServiceManagedCertificates + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceManagedCertificateSpec defines the desired state of + ServiceManagedCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customHostnameBindingId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - customHostnameBindingId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceManagedCertificateStatus defines the observed state + of ServiceManagedCertificate. + properties: + atProvider: + properties: + canonicalName: + type: string + expirationDate: + type: string + friendlyName: + type: string + hostNames: + items: + type: string + type: array + issueDate: + type: string + issuer: + type: string + subjectName: + type: string + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_serviceplans.yaml b/package/crds/app.azure.jet.crossplane.io_serviceplans.yaml new file mode 100644 index 000000000..3ffaff6e4 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_serviceplans.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceplans.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServicePlan + listKind: ServicePlanList + plural: serviceplans + singular: serviceplan + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServicePlan is the Schema for the ServicePlans API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServicePlanSpec defines the desired state of ServicePlan + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceEnvironmentId: + type: string + isXenon: + type: boolean + kind: + type: string + location: + type: string + maximumElasticWorkerCount: + format: int64 + type: integer + name: + type: string + perSiteScaling: + type: boolean + reserved: + type: boolean + resourceGroupName: + type: string + sku: + items: + properties: + capacity: + format: int64 + type: integer + size: + type: string + tier: + type: string + required: + - size + - tier + type: object + type: array + tags: + additionalProperties: + type: string + type: object + zoneRedundant: + type: boolean + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServicePlanStatus defines the observed state of ServicePlan. + properties: + atProvider: + properties: + maximumNumberOfWorkers: + format: int64 + type: integer + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_services.yaml b/package/crds/app.azure.jet.crossplane.io_services.yaml new file mode 100644 index 000000000..781634e88 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_services.yaml @@ -0,0 +1,798 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: services.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Service + listKind: ServiceList + plural: services + singular: service + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Service is the Schema for the Services API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSpec defines the desired state of Service + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServicePlanId: + type: string + appSettings: + additionalProperties: + type: string + type: object + authSettings: + items: + properties: + activeDirectory: + items: + properties: + allowedAudiences: + items: + type: string + type: array + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - clientId + type: object + type: array + additionalLoginParams: + additionalProperties: + type: string + type: object + allowedExternalRedirectUrls: + items: + type: string + type: array + defaultProvider: + type: string + enabled: + type: boolean + facebook: + items: + properties: + appId: + type: string + appSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - appId + - appSecretSecretRef + type: object + type: array + google: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + issuer: + type: string + microsoft: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + runtimeVersion: + type: string + tokenRefreshExtensionHours: + type: number + tokenStoreEnabled: + type: boolean + twitter: + items: + properties: + consumerKey: + type: string + consumerSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - consumerKey + - consumerSecretSecretRef + type: object + type: array + unauthenticatedClientAction: + type: string + required: + - enabled + type: object + type: array + backup: + items: + properties: + enabled: + type: boolean + name: + type: string + schedule: + items: + properties: + frequencyInterval: + format: int64 + type: integer + frequencyUnit: + type: string + keepAtLeastOneBackup: + type: boolean + retentionPeriodInDays: + format: int64 + type: integer + startTime: + type: string + required: + - frequencyInterval + - frequencyUnit + type: object + type: array + storageAccountUrlSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - name + - schedule + - storageAccountUrlSecretRef + type: object + type: array + clientAffinityEnabled: + type: boolean + clientCertEnabled: + type: boolean + connectionString: + items: + properties: + name: + type: string + type: + type: string + valueSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - name + - type + - valueSecretRef + type: object + type: array + enabled: + type: boolean + httpsOnly: + type: boolean + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + logs: + items: + properties: + applicationLogs: + items: + properties: + azureBlobStorage: + items: + properties: + level: + type: string + retentionInDays: + format: int64 + type: integer + sasUrlSecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - level + - retentionInDays + - sasUrlSecretRef + type: object + type: array + fileSystemLevel: + type: string + type: object + type: array + detailedErrorMessagesEnabled: + type: boolean + failedRequestTracingEnabled: + type: boolean + httpLogs: + items: + properties: + azureBlobStorage: + items: + properties: + retentionInDays: + format: int64 + type: integer + sasUrlSecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - retentionInDays + - sasUrlSecretRef + type: object + type: array + fileSystem: + items: + properties: + retentionInDays: + format: int64 + type: integer + retentionInMb: + format: int64 + type: integer + required: + - retentionInDays + - retentionInMb + type: object + type: array + type: object + type: array + type: object + type: array + name: + type: string + resourceGroupName: + type: string + siteConfig: + items: + properties: + acrUseManagedIdentityCredentials: + type: boolean + acrUserManagedIdentityClientId: + type: string + alwaysOn: + type: boolean + appCommandLine: + type: string + autoSwapSlotName: + type: string + cors: + items: + properties: + allowedOrigins: + items: + type: string + type: array + supportCredentials: + type: boolean + required: + - allowedOrigins + type: object + type: array + defaultDocuments: + items: + type: string + type: array + dotnetFrameworkVersion: + type: string + ftpsState: + type: string + healthCheckPath: + type: string + http2Enabled: + type: boolean + ipRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + javaContainer: + type: string + javaContainerVersion: + type: string + javaVersion: + type: string + linuxFxVersion: + type: string + localMysqlEnabled: + type: boolean + managedPipelineMode: + type: string + minTlsVersion: + type: string + numberOfWorkers: + format: int64 + type: integer + phpVersion: + type: string + pythonVersion: + type: string + remoteDebuggingEnabled: + type: boolean + remoteDebuggingVersion: + type: string + scmIpRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + scmType: + type: string + scmUseMainIpRestriction: + type: boolean + use32BitWorkerProcess: + type: boolean + vnetRouteAllEnabled: + type: boolean + websocketsEnabled: + type: boolean + windowsFxVersion: + type: string + type: object + type: array + sourceControl: + items: + properties: + branch: + type: string + manualIntegration: + type: boolean + repoUrl: + type: string + rollbackEnabled: + type: boolean + useMercurial: + type: boolean + type: object + type: array + storageAccount: + items: + properties: + accessKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + accountName: + type: string + mountPath: + type: string + name: + type: string + shareName: + type: string + type: + type: string + required: + - accessKeySecretRef + - accountName + - name + - shareName + - type + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - appServicePlanId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceStatus defines the observed state of Service. + properties: + atProvider: + properties: + customDomainVerificationId: + type: string + defaultSiteHostname: + type: string + outboundIpAddressList: + items: + type: string + type: array + outboundIpAddresses: + type: string + possibleOutboundIpAddressList: + items: + type: string + type: array + possibleOutboundIpAddresses: + type: string + siteCredential: + items: + properties: + username: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_serviceslots.yaml b/package/crds/app.azure.jet.crossplane.io_serviceslots.yaml new file mode 100644 index 000000000..ee934accf --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_serviceslots.yaml @@ -0,0 +1,680 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceslots.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceSlot + listKind: ServiceSlotList + plural: serviceslots + singular: serviceslot + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceSlot is the Schema for the ServiceSlots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSlotSpec defines the desired state of ServiceSlot + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceName: + type: string + appServicePlanId: + type: string + appSettings: + additionalProperties: + type: string + type: object + authSettings: + items: + properties: + activeDirectory: + items: + properties: + allowedAudiences: + items: + type: string + type: array + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - clientId + type: object + type: array + additionalLoginParams: + additionalProperties: + type: string + type: object + allowedExternalRedirectUrls: + items: + type: string + type: array + defaultProvider: + type: string + enabled: + type: boolean + facebook: + items: + properties: + appId: + type: string + appSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - appId + - appSecretSecretRef + type: object + type: array + google: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + issuer: + type: string + microsoft: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + runtimeVersion: + type: string + tokenRefreshExtensionHours: + type: number + tokenStoreEnabled: + type: boolean + twitter: + items: + properties: + consumerKey: + type: string + consumerSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - consumerKey + - consumerSecretSecretRef + type: object + type: array + unauthenticatedClientAction: + type: string + required: + - enabled + type: object + type: array + clientAffinityEnabled: + type: boolean + connectionString: + items: + properties: + name: + type: string + type: + type: string + valueSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - name + - type + - valueSecretRef + type: object + type: array + enabled: + type: boolean + httpsOnly: + type: boolean + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + logs: + items: + properties: + applicationLogs: + items: + properties: + azureBlobStorage: + items: + properties: + level: + type: string + retentionInDays: + format: int64 + type: integer + sasUrlSecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - level + - retentionInDays + - sasUrlSecretRef + type: object + type: array + fileSystemLevel: + type: string + type: object + type: array + detailedErrorMessagesEnabled: + type: boolean + failedRequestTracingEnabled: + type: boolean + httpLogs: + items: + properties: + azureBlobStorage: + items: + properties: + retentionInDays: + format: int64 + type: integer + sasUrlSecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - retentionInDays + - sasUrlSecretRef + type: object + type: array + fileSystem: + items: + properties: + retentionInDays: + format: int64 + type: integer + retentionInMb: + format: int64 + type: integer + required: + - retentionInDays + - retentionInMb + type: object + type: array + type: object + type: array + type: object + type: array + name: + type: string + resourceGroupName: + type: string + siteConfig: + items: + properties: + acrUseManagedIdentityCredentials: + type: boolean + acrUserManagedIdentityClientId: + type: string + alwaysOn: + type: boolean + appCommandLine: + type: string + autoSwapSlotName: + type: string + cors: + items: + properties: + allowedOrigins: + items: + type: string + type: array + supportCredentials: + type: boolean + required: + - allowedOrigins + type: object + type: array + defaultDocuments: + items: + type: string + type: array + dotnetFrameworkVersion: + type: string + ftpsState: + type: string + healthCheckPath: + type: string + http2Enabled: + type: boolean + ipRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + javaContainer: + type: string + javaContainerVersion: + type: string + javaVersion: + type: string + linuxFxVersion: + type: string + localMysqlEnabled: + type: boolean + managedPipelineMode: + type: string + minTlsVersion: + type: string + numberOfWorkers: + format: int64 + type: integer + phpVersion: + type: string + pythonVersion: + type: string + remoteDebuggingEnabled: + type: boolean + remoteDebuggingVersion: + type: string + scmIpRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + scmType: + type: string + scmUseMainIpRestriction: + type: boolean + use32BitWorkerProcess: + type: boolean + vnetRouteAllEnabled: + type: boolean + websocketsEnabled: + type: boolean + windowsFxVersion: + type: string + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - appServiceName + - appServicePlanId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceSlotStatus defines the observed state of ServiceSlot. + properties: + atProvider: + properties: + defaultSiteHostname: + type: string + siteCredential: + items: + properties: + username: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_serviceslotvirtualnetworkswiftconnections.yaml b/package/crds/app.azure.jet.crossplane.io_serviceslotvirtualnetworkswiftconnections.yaml new file mode 100644 index 000000000..d369af723 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_serviceslotvirtualnetworkswiftconnections.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceslotvirtualnetworkswiftconnections.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceSlotVirtualNetworkSwiftConnection + listKind: ServiceSlotVirtualNetworkSwiftConnectionList + plural: serviceslotvirtualnetworkswiftconnections + singular: serviceslotvirtualnetworkswiftconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceSlotVirtualNetworkSwiftConnection is the Schema for the + ServiceSlotVirtualNetworkSwiftConnections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSlotVirtualNetworkSwiftConnectionSpec defines the + desired state of ServiceSlotVirtualNetworkSwiftConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceId: + type: string + slotName: + type: string + subnetId: + type: string + required: + - appServiceId + - slotName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceSlotVirtualNetworkSwiftConnectionStatus defines the + observed state of ServiceSlotVirtualNetworkSwiftConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicesourcecontroltokens.yaml b/package/crds/app.azure.jet.crossplane.io_servicesourcecontroltokens.yaml new file mode 100644 index 000000000..9bf83fddd --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicesourcecontroltokens.yaml @@ -0,0 +1,205 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicesourcecontroltokens.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceSourceControlToken + listKind: ServiceSourceControlTokenList + plural: servicesourcecontroltokens + singular: servicesourcecontroltoken + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceSourceControlToken is the Schema for the ServiceSourceControlTokens + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSourceControlTokenSpec defines the desired state of + ServiceSourceControlToken + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + tokenSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + tokenSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: + type: string + required: + - tokenSecretRef + - type + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceSourceControlTokenStatus defines the observed state + of ServiceSourceControlToken. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/app.azure.jet.crossplane.io_servicevirtualnetworkswiftconnections.yaml b/package/crds/app.azure.jet.crossplane.io_servicevirtualnetworkswiftconnections.yaml new file mode 100644 index 000000000..d6391ec32 --- /dev/null +++ b/package/crds/app.azure.jet.crossplane.io_servicevirtualnetworkswiftconnections.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicevirtualnetworkswiftconnections.app.azure.jet.crossplane.io +spec: + group: app.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceVirtualNetworkSwiftConnection + listKind: ServiceVirtualNetworkSwiftConnectionList + plural: servicevirtualnetworkswiftconnections + singular: servicevirtualnetworkswiftconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceVirtualNetworkSwiftConnection is the Schema for the ServiceVirtualNetworkSwiftConnections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceVirtualNetworkSwiftConnectionSpec defines the desired + state of ServiceVirtualNetworkSwiftConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServiceId: + type: string + subnetId: + type: string + required: + - appServiceId + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceVirtualNetworkSwiftConnectionStatus defines the observed + state of ServiceVirtualNetworkSwiftConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_gateways.yaml b/package/crds/application.azure.jet.crossplane.io_gateways.yaml new file mode 100644 index 000000000..d0af36820 --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_gateways.yaml @@ -0,0 +1,849 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: gateways.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Gateway + listKind: GatewayList + plural: gateways + singular: gateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Gateway is the Schema for the Gateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GatewaySpec defines the desired state of Gateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + authenticationCertificate: + items: + properties: + dataSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + required: + - dataSecretRef + - name + type: object + type: array + autoscaleConfiguration: + items: + properties: + maxCapacity: + format: int64 + type: integer + minCapacity: + format: int64 + type: integer + required: + - minCapacity + type: object + type: array + backendAddressPool: + items: + properties: + fqdns: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + name: + type: string + required: + - name + type: object + type: array + backendHttpSettings: + items: + properties: + affinityCookieName: + type: string + authenticationCertificate: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + connectionDraining: + items: + properties: + drainTimeoutSec: + format: int64 + type: integer + enabled: + type: boolean + required: + - drainTimeoutSec + - enabled + type: object + type: array + cookieBasedAffinity: + type: string + hostName: + type: string + name: + type: string + path: + type: string + pickHostNameFromBackendAddress: + type: boolean + port: + format: int64 + type: integer + probeName: + type: string + protocol: + type: string + requestTimeout: + format: int64 + type: integer + trustedRootCertificateNames: + items: + type: string + type: array + required: + - cookieBasedAffinity + - name + - port + - protocol + type: object + type: array + customErrorConfiguration: + items: + properties: + customErrorPageUrl: + type: string + statusCode: + type: string + required: + - customErrorPageUrl + - statusCode + type: object + type: array + enableHttp2: + type: boolean + firewallPolicyId: + type: string + frontendIpConfiguration: + items: + properties: + name: + type: string + privateIpAddress: + type: string + privateIpAddressAllocation: + type: string + publicIpAddressId: + type: string + subnetId: + type: string + required: + - name + type: object + type: array + frontendPort: + items: + properties: + name: + type: string + port: + format: int64 + type: integer + required: + - name + - port + type: object + type: array + gatewayIpConfiguration: + items: + properties: + name: + type: string + subnetId: + type: string + required: + - name + - subnetId + type: object + type: array + httpListener: + items: + properties: + customErrorConfiguration: + items: + properties: + customErrorPageUrl: + type: string + statusCode: + type: string + required: + - customErrorPageUrl + - statusCode + type: object + type: array + firewallPolicyId: + type: string + frontendIpConfigurationName: + type: string + frontendPortName: + type: string + hostName: + type: string + hostNames: + items: + type: string + type: array + name: + type: string + protocol: + type: string + requireSni: + type: boolean + sslCertificateName: + type: string + sslProfileName: + type: string + required: + - frontendIpConfigurationName + - frontendPortName + - name + - protocol + type: object + type: array + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - identityIds + type: object + type: array + location: + type: string + name: + type: string + probe: + items: + properties: + host: + type: string + interval: + format: int64 + type: integer + match: + items: + properties: + body: + type: string + statusCode: + items: + type: string + type: array + type: object + type: array + minimumServers: + format: int64 + type: integer + name: + type: string + path: + type: string + pickHostNameFromBackendHttpSettings: + type: boolean + port: + format: int64 + type: integer + protocol: + type: string + timeout: + format: int64 + type: integer + unhealthyThreshold: + format: int64 + type: integer + required: + - interval + - name + - path + - protocol + - timeout + - unhealthyThreshold + type: object + type: array + redirectConfiguration: + items: + properties: + includePath: + type: boolean + includeQueryString: + type: boolean + name: + type: string + redirectType: + type: string + targetListenerName: + type: string + targetUrl: + type: string + required: + - name + - redirectType + type: object + type: array + requestRoutingRule: + items: + properties: + backendAddressPoolName: + type: string + backendHttpSettingsName: + type: string + httpListenerName: + type: string + name: + type: string + redirectConfigurationName: + type: string + rewriteRuleSetName: + type: string + ruleType: + type: string + urlPathMapName: + type: string + required: + - httpListenerName + - name + - ruleType + type: object + type: array + resourceGroupName: + type: string + rewriteRuleSet: + items: + properties: + name: + type: string + rewriteRule: + items: + properties: + condition: + items: + properties: + ignoreCase: + type: boolean + negate: + type: boolean + pattern: + type: string + variable: + type: string + required: + - pattern + - variable + type: object + type: array + name: + type: string + requestHeaderConfiguration: + items: + properties: + headerName: + type: string + headerValue: + type: string + required: + - headerName + - headerValue + type: object + type: array + responseHeaderConfiguration: + items: + properties: + headerName: + type: string + headerValue: + type: string + required: + - headerName + - headerValue + type: object + type: array + ruleSequence: + format: int64 + type: integer + url: + items: + properties: + path: + type: string + queryString: + type: string + reroute: + type: boolean + type: object + type: array + required: + - name + - ruleSequence + type: object + type: array + required: + - name + type: object + type: array + sku: + items: + properties: + capacity: + format: int64 + type: integer + name: + type: string + tier: + type: string + required: + - name + - tier + type: object + type: array + sslCertificate: + items: + properties: + dataSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + keyVaultSecretId: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - name + type: object + type: array + sslPolicy: + items: + properties: + cipherSuites: + items: + type: string + type: array + disabledProtocols: + items: + type: string + type: array + minProtocolVersion: + type: string + policyName: + type: string + policyType: + type: string + type: object + type: array + sslProfile: + items: + properties: + name: + type: string + sslPolicy: + items: + properties: + cipherSuites: + items: + type: string + type: array + disabledProtocols: + items: + type: string + type: array + minProtocolVersion: + type: string + policyName: + type: string + policyType: + type: string + type: object + type: array + trustedClientCertificateNames: + items: + type: string + type: array + verifyClientCertIssuerDn: + type: boolean + required: + - name + type: object + type: array + tags: + additionalProperties: + type: string + type: object + trustedClientCertificate: + items: + properties: + dataSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + required: + - dataSecretRef + - name + type: object + type: array + trustedRootCertificate: + items: + properties: + dataSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + required: + - dataSecretRef + - name + type: object + type: array + urlPathMap: + items: + properties: + defaultBackendAddressPoolName: + type: string + defaultBackendHttpSettingsName: + type: string + defaultRedirectConfigurationName: + type: string + defaultRewriteRuleSetName: + type: string + name: + type: string + pathRule: + items: + properties: + backendAddressPoolName: + type: string + backendHttpSettingsName: + type: string + firewallPolicyId: + type: string + name: + type: string + paths: + items: + type: string + type: array + redirectConfigurationName: + type: string + rewriteRuleSetName: + type: string + required: + - name + - paths + type: object + type: array + required: + - name + - pathRule + type: object + type: array + wafConfiguration: + items: + properties: + disabledRuleGroup: + items: + properties: + ruleGroupName: + type: string + rules: + items: + format: int64 + type: integer + type: array + required: + - ruleGroupName + type: object + type: array + enabled: + type: boolean + exclusion: + items: + properties: + matchVariable: + type: string + selector: + type: string + selectorMatchOperator: + type: string + required: + - matchVariable + type: object + type: array + fileUploadLimitMb: + format: int64 + type: integer + firewallMode: + type: string + maxRequestBodySizeKb: + format: int64 + type: integer + requestBodyCheck: + type: boolean + ruleSetType: + type: string + ruleSetVersion: + type: string + required: + - enabled + - firewallMode + - ruleSetVersion + type: object + type: array + zones: + items: + type: string + type: array + required: + - backendAddressPool + - backendHttpSettings + - frontendIpConfiguration + - frontendPort + - gatewayIpConfiguration + - httpListener + - location + - name + - requestRoutingRule + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GatewayStatus defines the observed state of Gateway. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_insights.yaml b/package/crds/application.azure.jet.crossplane.io_insights.yaml new file mode 100644 index 000000000..0869fe44f --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_insights.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: insights.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Insights + listKind: InsightsList + plural: insights + singular: insights + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Insights is the Schema for the Insightss API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InsightsSpec defines the desired state of Insights + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationType: + type: string + dailyDataCapInGb: + type: number + dailyDataCapNotificationsDisabled: + type: boolean + disableIpMasking: + type: boolean + localAuthenticationDisabled: + type: boolean + location: + type: string + name: + type: string + resourceGroupName: + type: string + retentionInDays: + format: int64 + type: integer + samplingPercentage: + type: number + tags: + additionalProperties: + type: string + type: object + workspaceId: + type: string + required: + - applicationType + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InsightsStatus defines the observed state of Insights. + properties: + atProvider: + properties: + appId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_insightsanalyticsitems.yaml b/package/crds/application.azure.jet.crossplane.io_insightsanalyticsitems.yaml new file mode 100644 index 000000000..02ec3f851 --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_insightsanalyticsitems.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: insightsanalyticsitems.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InsightsAnalyticsItem + listKind: InsightsAnalyticsItemList + plural: insightsanalyticsitems + singular: insightsanalyticsitem + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InsightsAnalyticsItem is the Schema for the InsightsAnalyticsItems + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InsightsAnalyticsItemSpec defines the desired state of InsightsAnalyticsItem + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationInsightsId: + type: string + content: + type: string + functionAlias: + type: string + name: + type: string + scope: + type: string + type: + type: string + required: + - applicationInsightsId + - content + - name + - scope + - type + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InsightsAnalyticsItemStatus defines the observed state of + InsightsAnalyticsItem. + properties: + atProvider: + properties: + timeCreated: + type: string + timeModified: + type: string + version: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_insightsapikeys.yaml b/package/crds/application.azure.jet.crossplane.io_insightsapikeys.yaml new file mode 100644 index 000000000..f0fc981dc --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_insightsapikeys.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: insightsapikeys.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InsightsApiKey + listKind: InsightsApiKeyList + plural: insightsapikeys + singular: insightsapikey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InsightsApiKey is the Schema for the InsightsApiKeys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InsightsApiKeySpec defines the desired state of InsightsApiKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationInsightsId: + type: string + name: + type: string + readPermissions: + items: + type: string + type: array + writePermissions: + items: + type: string + type: array + required: + - applicationInsightsId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InsightsApiKeyStatus defines the observed state of InsightsApiKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_insightssmartdetectionrules.yaml b/package/crds/application.azure.jet.crossplane.io_insightssmartdetectionrules.yaml new file mode 100644 index 000000000..bc8a7cedc --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_insightssmartdetectionrules.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: insightssmartdetectionrules.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InsightsSmartDetectionRule + listKind: InsightsSmartDetectionRuleList + plural: insightssmartdetectionrules + singular: insightssmartdetectionrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InsightsSmartDetectionRule is the Schema for the InsightsSmartDetectionRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InsightsSmartDetectionRuleSpec defines the desired state + of InsightsSmartDetectionRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalEmailRecipients: + items: + type: string + type: array + applicationInsightsId: + type: string + enabled: + type: boolean + name: + type: string + sendEmailsToSubscriptionOwners: + type: boolean + required: + - applicationInsightsId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InsightsSmartDetectionRuleStatus defines the observed state + of InsightsSmartDetectionRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_insightswebtests.yaml b/package/crds/application.azure.jet.crossplane.io_insightswebtests.yaml new file mode 100644 index 000000000..dbbe1b1ba --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_insightswebtests.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: insightswebtests.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InsightsWebTest + listKind: InsightsWebTestList + plural: insightswebtests + singular: insightswebtest + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InsightsWebTest is the Schema for the InsightsWebTests API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InsightsWebTestSpec defines the desired state of InsightsWebTest + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationInsightsId: + type: string + configuration: + type: string + description: + type: string + enabled: + type: boolean + frequency: + format: int64 + type: integer + geoLocations: + items: + type: string + type: array + kind: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + retryEnabled: + type: boolean + tags: + additionalProperties: + type: string + type: object + timeout: + format: int64 + type: integer + required: + - applicationInsightsId + - configuration + - geoLocations + - kind + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InsightsWebTestStatus defines the observed state of InsightsWebTest. + properties: + atProvider: + properties: + syntheticMonitorId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/application.azure.jet.crossplane.io_securitygroups.yaml b/package/crds/application.azure.jet.crossplane.io_securitygroups.yaml new file mode 100644 index 000000000..dd7a3eb76 --- /dev/null +++ b/package/crds/application.azure.jet.crossplane.io_securitygroups.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: securitygroups.application.azure.jet.crossplane.io +spec: + group: application.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SecurityGroup + listKind: SecurityGroupList + plural: securitygroups + singular: securitygroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SecurityGroup is the Schema for the SecurityGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SecurityGroupSpec defines the desired state of SecurityGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SecurityGroupStatus defines the observed state of SecurityGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/attestation.azure.jet.crossplane.io_providers.yaml b/package/crds/attestation.azure.jet.crossplane.io_providers.yaml new file mode 100644 index 000000000..48b758bfe --- /dev/null +++ b/package/crds/attestation.azure.jet.crossplane.io_providers.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: providers.attestation.azure.jet.crossplane.io +spec: + group: attestation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Provider + listKind: ProviderList + plural: providers + singular: provider + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Provider is the Schema for the Providers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProviderSpec defines the desired state of Provider + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + policySigningCertificateData: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProviderStatus defines the observed state of Provider. + properties: + atProvider: + properties: + attestationUri: + type: string + trustModel: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_accounts.yaml b/package/crds/automation.azure.jet.crossplane.io_accounts.yaml new file mode 100644 index 000000000..a6fca8c23 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_accounts.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accounts.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Account + listKind: AccountList + plural: accounts + singular: account + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Account is the Schema for the Accounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountSpec defines the desired state of Account + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountStatus defines the observed state of Account. + properties: + atProvider: + properties: + dscPrimaryAccessKey: + type: string + dscSecondaryAccessKey: + type: string + dscServerEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_certificates.yaml b/package/crds/automation.azure.jet.crossplane.io_certificates.yaml new file mode 100644 index 000000000..332ca424e --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_certificates.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: certificates.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Certificate + listKind: CertificateList + plural: certificates + singular: certificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Certificate is the Schema for the Certificates API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CertificateSpec defines the desired state of Certificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + base64SecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + description: + type: string + exportable: + type: boolean + name: + type: string + resourceGroupName: + type: string + required: + - automationAccountName + - base64SecretRef + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CertificateStatus defines the observed state of Certificate. + properties: + atProvider: + properties: + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_connectioncertificates.yaml b/package/crds/automation.azure.jet.crossplane.io_connectioncertificates.yaml new file mode 100644 index 000000000..a315d22ff --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_connectioncertificates.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: connectioncertificates.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ConnectionCertificate + listKind: ConnectionCertificateList + plural: connectioncertificates + singular: connectioncertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConnectionCertificate is the Schema for the ConnectionCertificates + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConnectionCertificateSpec defines the desired state of ConnectionCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + automationCertificateName: + type: string + description: + type: string + name: + type: string + resourceGroupName: + type: string + subscriptionId: + type: string + required: + - automationAccountName + - automationCertificateName + - name + - resourceGroupName + - subscriptionId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConnectionCertificateStatus defines the observed state of + ConnectionCertificate. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_connectionclassiccertificates.yaml b/package/crds/automation.azure.jet.crossplane.io_connectionclassiccertificates.yaml new file mode 100644 index 000000000..2147510cf --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_connectionclassiccertificates.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: connectionclassiccertificates.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ConnectionClassicCertificate + listKind: ConnectionClassicCertificateList + plural: connectionclassiccertificates + singular: connectionclassiccertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConnectionClassicCertificate is the Schema for the ConnectionClassicCertificates + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConnectionClassicCertificateSpec defines the desired state + of ConnectionClassicCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + certificateAssetName: + type: string + description: + type: string + name: + type: string + resourceGroupName: + type: string + subscriptionId: + type: string + subscriptionName: + type: string + required: + - automationAccountName + - certificateAssetName + - name + - resourceGroupName + - subscriptionId + - subscriptionName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConnectionClassicCertificateStatus defines the observed state + of ConnectionClassicCertificate. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_connections.yaml b/package/crds/automation.azure.jet.crossplane.io_connections.yaml new file mode 100644 index 000000000..7104f8862 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_connections.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: connections.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Connection + listKind: ConnectionList + plural: connections + singular: connection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Connection is the Schema for the Connections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConnectionSpec defines the desired state of Connection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + name: + type: string + resourceGroupName: + type: string + type: + type: string + values: + additionalProperties: + type: string + type: object + required: + - automationAccountName + - name + - resourceGroupName + - type + - values + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConnectionStatus defines the observed state of Connection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_connectionserviceprincipals.yaml b/package/crds/automation.azure.jet.crossplane.io_connectionserviceprincipals.yaml new file mode 100644 index 000000000..2262e4f45 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_connectionserviceprincipals.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: connectionserviceprincipals.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ConnectionServicePrincipal + listKind: ConnectionServicePrincipalList + plural: connectionserviceprincipals + singular: connectionserviceprincipal + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConnectionServicePrincipal is the Schema for the ConnectionServicePrincipals + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConnectionServicePrincipalSpec defines the desired state + of ConnectionServicePrincipal + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationId: + type: string + automationAccountName: + type: string + certificateThumbprint: + type: string + description: + type: string + name: + type: string + resourceGroupName: + type: string + subscriptionId: + type: string + tenantId: + type: string + required: + - applicationId + - automationAccountName + - certificateThumbprint + - name + - resourceGroupName + - subscriptionId + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConnectionServicePrincipalStatus defines the observed state + of ConnectionServicePrincipal. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_credentials.yaml b/package/crds/automation.azure.jet.crossplane.io_credentials.yaml new file mode 100644 index 000000000..f0c370ef1 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_credentials.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: credentials.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Credential + listKind: CredentialList + plural: credentials + singular: credential + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Credential is the Schema for the Credentials API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CredentialSpec defines the desired state of Credential + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + username: + type: string + required: + - automationAccountName + - name + - passwordSecretRef + - resourceGroupName + - username + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CredentialStatus defines the observed state of Credential. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_dscnodeconfigurations.yaml b/package/crds/automation.azure.jet.crossplane.io_dscnodeconfigurations.yaml new file mode 100644 index 000000000..5d58e501c --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_dscnodeconfigurations.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dscnodeconfigurations.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DscNodeconfiguration + listKind: DscNodeconfigurationList + plural: dscnodeconfigurations + singular: dscnodeconfiguration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DscNodeconfiguration is the Schema for the DscNodeconfigurations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DscNodeconfigurationSpec defines the desired state of DscNodeconfiguration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + contentEmbedded: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - automationAccountName + - contentEmbedded + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DscNodeconfigurationStatus defines the observed state of + DscNodeconfiguration. + properties: + atProvider: + properties: + configurationName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_jobschedules.yaml b/package/crds/automation.azure.jet.crossplane.io_jobschedules.yaml new file mode 100644 index 000000000..4d964a35c --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_jobschedules.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: jobschedules.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: JobSchedule + listKind: JobScheduleList + plural: jobschedules + singular: jobschedule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: JobSchedule is the Schema for the JobSchedules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: JobScheduleSpec defines the desired state of JobSchedule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + jobScheduleId: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + runOn: + type: string + runbookName: + type: string + scheduleName: + type: string + required: + - automationAccountName + - resourceGroupName + - runbookName + - scheduleName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: JobScheduleStatus defines the observed state of JobSchedule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_modules.yaml b/package/crds/automation.azure.jet.crossplane.io_modules.yaml new file mode 100644 index 000000000..1c1feda32 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_modules.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: modules.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Module + listKind: ModuleList + plural: modules + singular: module + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Module is the Schema for the Modules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ModuleSpec defines the desired state of Module + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + moduleLink: + items: + properties: + hash: + items: + properties: + algorithm: + type: string + value: + type: string + required: + - algorithm + - value + type: object + type: array + uri: + type: string + required: + - uri + type: object + type: array + name: + type: string + resourceGroupName: + type: string + required: + - automationAccountName + - moduleLink + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ModuleStatus defines the observed state of Module. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_runbooks.yaml b/package/crds/automation.azure.jet.crossplane.io_runbooks.yaml new file mode 100644 index 000000000..4950459e8 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_runbooks.yaml @@ -0,0 +1,229 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: runbooks.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Runbook + listKind: RunbookList + plural: runbooks + singular: runbook + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Runbook is the Schema for the Runbooks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RunbookSpec defines the desired state of Runbook + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + content: + type: string + description: + type: string + jobSchedule: + items: + properties: + parameters: + additionalProperties: + type: string + type: object + runOn: + type: string + scheduleName: + type: string + required: + - scheduleName + type: object + type: array + location: + type: string + logProgress: + type: boolean + logVerbose: + type: boolean + name: + type: string + publishContentLink: + items: + properties: + hash: + items: + properties: + algorithm: + type: string + value: + type: string + required: + - algorithm + - value + type: object + type: array + uri: + type: string + version: + type: string + required: + - uri + type: object + type: array + resourceGroupName: + type: string + runbookType: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - automationAccountName + - location + - logProgress + - logVerbose + - name + - resourceGroupName + - runbookType + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RunbookStatus defines the observed state of Runbook. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_schedules.yaml b/package/crds/automation.azure.jet.crossplane.io_schedules.yaml new file mode 100644 index 000000000..0232dd808 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_schedules.yaml @@ -0,0 +1,207 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: schedules.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Schedule + listKind: ScheduleList + plural: schedules + singular: schedule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Schedule is the Schema for the Schedules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ScheduleSpec defines the desired state of Schedule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + expiryTime: + type: string + frequency: + type: string + interval: + format: int64 + type: integer + monthDays: + items: + format: int64 + type: integer + type: array + monthlyOccurrence: + items: + properties: + day: + type: string + occurrence: + format: int64 + type: integer + required: + - day + - occurrence + type: object + type: array + name: + type: string + resourceGroupName: + type: string + startTime: + type: string + timezone: + type: string + weekDays: + items: + type: string + type: array + required: + - automationAccountName + - frequency + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ScheduleStatus defines the observed state of Schedule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_variablebools.yaml b/package/crds/automation.azure.jet.crossplane.io_variablebools.yaml new file mode 100644 index 000000000..417575083 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_variablebools.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: variablebools.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VariableBool + listKind: VariableBoolList + plural: variablebools + singular: variablebool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VariableBool is the Schema for the VariableBools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VariableBoolSpec defines the desired state of VariableBool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + encrypted: + type: boolean + name: + type: string + resourceGroupName: + type: string + value: + type: boolean + required: + - automationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VariableBoolStatus defines the observed state of VariableBool. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_variabledatetimes.yaml b/package/crds/automation.azure.jet.crossplane.io_variabledatetimes.yaml new file mode 100644 index 000000000..68ffe7261 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_variabledatetimes.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: variabledatetimes.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VariableDatetime + listKind: VariableDatetimeList + plural: variabledatetimes + singular: variabledatetime + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VariableDatetime is the Schema for the VariableDatetimes API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VariableDatetimeSpec defines the desired state of VariableDatetime + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + encrypted: + type: boolean + name: + type: string + resourceGroupName: + type: string + value: + type: string + required: + - automationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VariableDatetimeStatus defines the observed state of VariableDatetime. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_variableints.yaml b/package/crds/automation.azure.jet.crossplane.io_variableints.yaml new file mode 100644 index 000000000..4ef6e257f --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_variableints.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: variableints.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VariableInt + listKind: VariableIntList + plural: variableints + singular: variableint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VariableInt is the Schema for the VariableInts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VariableIntSpec defines the desired state of VariableInt + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + encrypted: + type: boolean + name: + type: string + resourceGroupName: + type: string + value: + format: int64 + type: integer + required: + - automationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VariableIntStatus defines the observed state of VariableInt. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/automation.azure.jet.crossplane.io_variablestrings.yaml b/package/crds/automation.azure.jet.crossplane.io_variablestrings.yaml new file mode 100644 index 000000000..3bba9d5b4 --- /dev/null +++ b/package/crds/automation.azure.jet.crossplane.io_variablestrings.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: variablestrings.automation.azure.jet.crossplane.io +spec: + group: automation.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VariableString + listKind: VariableStringList + plural: variablestrings + singular: variablestring + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VariableString is the Schema for the VariableStrings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VariableStringSpec defines the desired state of VariableString + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + automationAccountName: + type: string + description: + type: string + encrypted: + type: boolean + name: + type: string + resourceGroupName: + type: string + value: + type: string + required: + - automationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VariableStringStatus defines the observed state of VariableString. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/availability.azure.jet.crossplane.io_sets.yaml b/package/crds/availability.azure.jet.crossplane.io_sets.yaml new file mode 100644 index 000000000..10552b95e --- /dev/null +++ b/package/crds/availability.azure.jet.crossplane.io_sets.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sets.availability.azure.jet.crossplane.io +spec: + group: availability.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Set + listKind: SetList + plural: sets + singular: set + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Set is the Schema for the Sets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SetSpec defines the desired state of Set + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + managed: + type: boolean + name: + type: string + platformFaultDomainCount: + format: int64 + type: integer + platformUpdateDomainCount: + format: int64 + type: integer + proximityPlacementGroupId: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SetStatus defines the observed state of Set. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_dashboards.yaml b/package/crds/azurerm.azure.jet.crossplane.io_dashboards.yaml new file mode 100644 index 000000000..2a833b792 --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_dashboards.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dashboards.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Dashboard + listKind: DashboardList + plural: dashboards + singular: dashboard + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Dashboard is the Schema for the Dashboards API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DashboardSpec defines the desired state of Dashboard + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dashboardProperties: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DashboardStatus defines the observed state of Dashboard. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_eventhubs.yaml b/package/crds/azurerm.azure.jet.crossplane.io_eventhubs.yaml new file mode 100644 index 000000000..38c84a3ec --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_eventhubs.yaml @@ -0,0 +1,225 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: eventhubs.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Eventhub + listKind: EventhubList + plural: eventhubs + singular: eventhub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Eventhub is the Schema for the Eventhubs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EventhubSpec defines the desired state of Eventhub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + captureDescription: + items: + properties: + destination: + items: + properties: + archiveNameFormat: + type: string + blobContainerName: + type: string + name: + type: string + storageAccountId: + type: string + required: + - archiveNameFormat + - blobContainerName + - name + - storageAccountId + type: object + type: array + enabled: + type: boolean + encoding: + type: string + intervalInSeconds: + format: int64 + type: integer + sizeLimitInBytes: + format: int64 + type: integer + skipEmptyArchives: + type: boolean + required: + - destination + - enabled + - encoding + type: object + type: array + messageRetention: + format: int64 + type: integer + name: + type: string + namespaceName: + type: string + partitionCount: + format: int64 + type: integer + resourceGroupName: + type: string + status: + type: string + required: + - messageRetention + - name + - namespaceName + - partitionCount + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EventhubStatus defines the observed state of Eventhub. + properties: + atProvider: + properties: + partitionIds: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_firewalls.yaml b/package/crds/azurerm.azure.jet.crossplane.io_firewalls.yaml new file mode 100644 index 000000000..3953e1222 --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_firewalls.yaml @@ -0,0 +1,236 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewalls.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Firewall + listKind: FirewallList + plural: firewalls + singular: firewall + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Firewall is the Schema for the Firewalls API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallSpec defines the desired state of Firewall + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dnsServers: + items: + type: string + type: array + firewallPolicyId: + type: string + ipConfiguration: + items: + properties: + name: + type: string + publicIpAddressId: + type: string + subnetId: + type: string + required: + - name + - publicIpAddressId + type: object + type: array + location: + type: string + managementIpConfiguration: + items: + properties: + name: + type: string + publicIpAddressId: + type: string + subnetId: + type: string + required: + - name + - publicIpAddressId + - subnetId + type: object + type: array + name: + type: string + privateIpRanges: + items: + type: string + type: array + resourceGroupName: + type: string + skuName: + type: string + skuTier: + type: string + tags: + additionalProperties: + type: string + type: object + threatIntelMode: + type: string + virtualHub: + items: + properties: + publicIpCount: + format: int64 + type: integer + virtualHubId: + type: string + required: + - virtualHubId + type: object + type: array + zones: + items: + type: string + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallStatus defines the observed state of Firewall. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_frontdoors.yaml b/package/crds/azurerm.azure.jet.crossplane.io_frontdoors.yaml new file mode 100644 index 000000000..7632ea2e5 --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_frontdoors.yaml @@ -0,0 +1,411 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: frontdoors.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Frontdoor + listKind: FrontdoorList + plural: frontdoors + singular: frontdoor + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Frontdoor is the Schema for the Frontdoors API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FrontdoorSpec defines the desired state of Frontdoor + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendPool: + items: + properties: + backend: + items: + properties: + address: + type: string + enabled: + type: boolean + hostHeader: + type: string + httpPort: + format: int64 + type: integer + httpsPort: + format: int64 + type: integer + priority: + format: int64 + type: integer + weight: + format: int64 + type: integer + required: + - address + - hostHeader + - httpPort + - httpsPort + type: object + type: array + healthProbeName: + type: string + loadBalancingName: + type: string + name: + type: string + required: + - backend + - healthProbeName + - loadBalancingName + - name + type: object + type: array + backendPoolHealthProbe: + items: + properties: + enabled: + type: boolean + intervalInSeconds: + format: int64 + type: integer + name: + type: string + path: + type: string + probeMethod: + type: string + protocol: + type: string + required: + - name + type: object + type: array + backendPoolLoadBalancing: + items: + properties: + additionalLatencyMilliseconds: + format: int64 + type: integer + name: + type: string + sampleSize: + format: int64 + type: integer + successfulSamplesRequired: + format: int64 + type: integer + required: + - name + type: object + type: array + backendPoolsSendReceiveTimeoutSeconds: + format: int64 + type: integer + enforceBackendPoolsCertificateNameCheck: + type: boolean + friendlyName: + type: string + frontendEndpoint: + items: + properties: + hostName: + type: string + name: + type: string + sessionAffinityEnabled: + type: boolean + sessionAffinityTtlSeconds: + format: int64 + type: integer + webApplicationFirewallPolicyLinkId: + type: string + required: + - hostName + - name + type: object + type: array + loadBalancerEnabled: + type: boolean + location: + type: string + name: + type: string + resourceGroupName: + type: string + routingRule: + items: + properties: + acceptedProtocols: + items: + type: string + type: array + enabled: + type: boolean + forwardingConfiguration: + items: + properties: + backendPoolName: + type: string + cacheDuration: + type: string + cacheEnabled: + type: boolean + cacheQueryParameterStripDirective: + type: string + cacheQueryParameters: + items: + type: string + type: array + cacheUseDynamicCompression: + type: boolean + customForwardingPath: + type: string + forwardingProtocol: + type: string + required: + - backendPoolName + type: object + type: array + frontendEndpoints: + items: + type: string + type: array + name: + type: string + patternsToMatch: + items: + type: string + type: array + redirectConfiguration: + items: + properties: + customFragment: + type: string + customHost: + type: string + customPath: + type: string + customQueryString: + type: string + redirectProtocol: + type: string + redirectType: + type: string + required: + - redirectProtocol + - redirectType + type: object + type: array + required: + - acceptedProtocols + - frontendEndpoints + - name + - patternsToMatch + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - backendPool + - backendPoolHealthProbe + - backendPoolLoadBalancing + - enforceBackendPoolsCertificateNameCheck + - frontendEndpoint + - name + - resourceGroupName + - routingRule + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FrontdoorStatus defines the observed state of Frontdoor. + properties: + atProvider: + properties: + backendPoolHealthProbes: + additionalProperties: + type: string + type: object + backendPoolLoadBalancingSettings: + additionalProperties: + type: string + type: object + backendPools: + additionalProperties: + type: string + type: object + cname: + type: string + explicitResourceOrder: + items: + properties: + backendPoolHealthProbeIds: + items: + type: string + type: array + backendPoolIds: + items: + type: string + type: array + backendPoolLoadBalancingIds: + items: + type: string + type: array + frontendEndpointIds: + items: + type: string + type: array + routingRuleIds: + items: + type: string + type: array + type: object + type: array + frontendEndpoints: + additionalProperties: + type: string + type: object + headerFrontdoorId: + type: string + routingRules: + additionalProperties: + type: string + type: object + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_healthbots.yaml b/package/crds/azurerm.azure.jet.crossplane.io_healthbots.yaml new file mode 100644 index 000000000..3aca36091 --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_healthbots.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: healthbots.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Healthbot + listKind: HealthbotList + plural: healthbots + singular: healthbot + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Healthbot is the Schema for the Healthbots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HealthbotSpec defines the desired state of Healthbot + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HealthbotStatus defines the observed state of Healthbot. + properties: + atProvider: + properties: + botManagementPortalUrl: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_images.yaml b/package/crds/azurerm.azure.jet.crossplane.io_images.yaml new file mode 100644 index 000000000..4a0f2fc48 --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_images.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: images.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Image + listKind: ImageList + plural: images + singular: image + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Image is the Schema for the Images API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ImageSpec defines the desired state of Image + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataDisk: + items: + properties: + blobUri: + type: string + caching: + type: string + lun: + format: int64 + type: integer + managedDiskId: + type: string + sizeGb: + format: int64 + type: integer + type: object + type: array + hyperVGeneration: + type: string + location: + type: string + name: + type: string + osDisk: + items: + properties: + blobUri: + type: string + caching: + type: string + managedDiskId: + type: string + osState: + type: string + osType: + type: string + sizeGb: + format: int64 + type: integer + type: object + type: array + resourceGroupName: + type: string + sourceVirtualMachineId: + type: string + tags: + additionalProperties: + type: string + type: object + zoneResilient: + type: boolean + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ImageStatus defines the observed state of Image. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_snapshots.yaml b/package/crds/azurerm.azure.jet.crossplane.io_snapshots.yaml new file mode 100644 index 000000000..88d5cc91f --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_snapshots.yaml @@ -0,0 +1,220 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: snapshots.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Snapshot + listKind: SnapshotList + plural: snapshots + singular: snapshot + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Snapshot is the Schema for the Snapshots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SnapshotSpec defines the desired state of Snapshot + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + createOption: + type: string + diskSizeGb: + format: int64 + type: integer + encryptionSettings: + items: + properties: + diskEncryptionKey: + items: + properties: + secretUrl: + type: string + sourceVaultId: + type: string + required: + - secretUrl + - sourceVaultId + type: object + type: array + enabled: + type: boolean + keyEncryptionKey: + items: + properties: + keyUrl: + type: string + sourceVaultId: + type: string + required: + - keyUrl + - sourceVaultId + type: object + type: array + required: + - enabled + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + sourceResourceId: + type: string + sourceUri: + type: string + storageAccountId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - createOption + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SnapshotStatus defines the observed state of Snapshot. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/azurerm.azure.jet.crossplane.io_subscriptions.yaml b/package/crds/azurerm.azure.jet.crossplane.io_subscriptions.yaml new file mode 100644 index 000000000..1245fe6d9 --- /dev/null +++ b/package/crds/azurerm.azure.jet.crossplane.io_subscriptions.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: subscriptions.azurerm.azure.jet.crossplane.io +spec: + group: azurerm.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Subscription + listKind: SubscriptionList + plural: subscriptions + singular: subscription + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Subscription is the Schema for the Subscriptions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SubscriptionSpec defines the desired state of Subscription + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alias: + description: The Alias Name of the subscription. If omitted a + new UUID will be generated for this property. + type: string + billingScopeId: + type: string + subscriptionId: + description: The GUID of the Subscription. + type: string + subscriptionName: + description: The Display Name for the Subscription. + type: string + workload: + description: The workload type for the Subscription. Possible + values are `Production` (default) and `DevTest`. + type: string + required: + - subscriptionName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SubscriptionStatus defines the observed state of Subscription. + properties: + atProvider: + properties: + tags: + additionalProperties: + type: string + type: object + tenantId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/backup.azure.jet.crossplane.io_containerstorageaccounts.yaml b/package/crds/backup.azure.jet.crossplane.io_containerstorageaccounts.yaml new file mode 100644 index 000000000..2dd387806 --- /dev/null +++ b/package/crds/backup.azure.jet.crossplane.io_containerstorageaccounts.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: containerstorageaccounts.backup.azure.jet.crossplane.io +spec: + group: backup.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ContainerStorageAccount + listKind: ContainerStorageAccountList + plural: containerstorageaccounts + singular: containerstorageaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ContainerStorageAccount is the Schema for the ContainerStorageAccounts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ContainerStorageAccountSpec defines the desired state of + ContainerStorageAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + recoveryVaultName: + type: string + resourceGroupName: + type: string + storageAccountId: + type: string + required: + - recoveryVaultName + - resourceGroupName + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ContainerStorageAccountStatus defines the observed state + of ContainerStorageAccount. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/backup.azure.jet.crossplane.io_policyfileshares.yaml b/package/crds/backup.azure.jet.crossplane.io_policyfileshares.yaml new file mode 100644 index 000000000..c269d9d2e --- /dev/null +++ b/package/crds/backup.azure.jet.crossplane.io_policyfileshares.yaml @@ -0,0 +1,261 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: policyfileshares.backup.azure.jet.crossplane.io +spec: + group: backup.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PolicyFileShare + listKind: PolicyFileShareList + plural: policyfileshares + singular: policyfileshare + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PolicyFileShare is the Schema for the PolicyFileShares API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PolicyFileShareSpec defines the desired state of PolicyFileShare + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backup: + items: + properties: + frequency: + type: string + time: + type: string + required: + - frequency + - time + type: object + type: array + name: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + retentionDaily: + items: + properties: + count: + format: int64 + type: integer + required: + - count + type: object + type: array + retentionMonthly: + items: + properties: + count: + format: int64 + type: integer + weekdays: + items: + type: string + type: array + weeks: + items: + type: string + type: array + required: + - count + - weekdays + - weeks + type: object + type: array + retentionWeekly: + items: + properties: + count: + format: int64 + type: integer + weekdays: + items: + type: string + type: array + required: + - count + - weekdays + type: object + type: array + retentionYearly: + items: + properties: + count: + format: int64 + type: integer + months: + items: + type: string + type: array + weekdays: + items: + type: string + type: array + weeks: + items: + type: string + type: array + required: + - count + - months + - weekdays + - weeks + type: object + type: array + tags: + additionalProperties: + type: string + type: object + timezone: + type: string + required: + - backup + - name + - recoveryVaultName + - resourceGroupName + - retentionDaily + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PolicyFileShareStatus defines the observed state of PolicyFileShare. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/backup.azure.jet.crossplane.io_policyvms.yaml b/package/crds/backup.azure.jet.crossplane.io_policyvms.yaml new file mode 100644 index 000000000..51054c57d --- /dev/null +++ b/package/crds/backup.azure.jet.crossplane.io_policyvms.yaml @@ -0,0 +1,267 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: policyvms.backup.azure.jet.crossplane.io +spec: + group: backup.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PolicyVm + listKind: PolicyVmList + plural: policyvms + singular: policyvm + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PolicyVm is the Schema for the PolicyVms API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PolicyVmSpec defines the desired state of PolicyVm + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backup: + items: + properties: + frequency: + type: string + time: + type: string + weekdays: + items: + type: string + type: array + required: + - frequency + - time + type: object + type: array + instantRestoreRetentionDays: + format: int64 + type: integer + name: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + retentionDaily: + items: + properties: + count: + format: int64 + type: integer + required: + - count + type: object + type: array + retentionMonthly: + items: + properties: + count: + format: int64 + type: integer + weekdays: + items: + type: string + type: array + weeks: + items: + type: string + type: array + required: + - count + - weekdays + - weeks + type: object + type: array + retentionWeekly: + items: + properties: + count: + format: int64 + type: integer + weekdays: + items: + type: string + type: array + required: + - count + - weekdays + type: object + type: array + retentionYearly: + items: + properties: + count: + format: int64 + type: integer + months: + items: + type: string + type: array + weekdays: + items: + type: string + type: array + weeks: + items: + type: string + type: array + required: + - count + - months + - weekdays + - weeks + type: object + type: array + tags: + additionalProperties: + type: string + type: object + timezone: + type: string + required: + - backup + - name + - recoveryVaultName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PolicyVmStatus defines the observed state of PolicyVm. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/backup.azure.jet.crossplane.io_protectedfileshares.yaml b/package/crds/backup.azure.jet.crossplane.io_protectedfileshares.yaml new file mode 100644 index 000000000..30ae37ca5 --- /dev/null +++ b/package/crds/backup.azure.jet.crossplane.io_protectedfileshares.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectedfileshares.backup.azure.jet.crossplane.io +spec: + group: backup.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectedFileShare + listKind: ProtectedFileShareList + plural: protectedfileshares + singular: protectedfileshare + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectedFileShare is the Schema for the ProtectedFileShares + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectedFileShareSpec defines the desired state of ProtectedFileShare + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupPolicyId: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + sourceFileShareName: + type: string + sourceStorageAccountId: + type: string + required: + - backupPolicyId + - recoveryVaultName + - resourceGroupName + - sourceFileShareName + - sourceStorageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectedFileShareStatus defines the observed state of ProtectedFileShare. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/backup.azure.jet.crossplane.io_protectedvms.yaml b/package/crds/backup.azure.jet.crossplane.io_protectedvms.yaml new file mode 100644 index 000000000..d02b058c2 --- /dev/null +++ b/package/crds/backup.azure.jet.crossplane.io_protectedvms.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectedvms.backup.azure.jet.crossplane.io +spec: + group: backup.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectedVm + listKind: ProtectedVmList + plural: protectedvms + singular: protectedvm + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectedVm is the Schema for the ProtectedVms API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectedVmSpec defines the desired state of ProtectedVm + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupPolicyId: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + sourceVmId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - backupPolicyId + - recoveryVaultName + - resourceGroupName + - sourceVmId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectedVmStatus defines the observed state of ProtectedVm. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bastion.azure.jet.crossplane.io_hosts.yaml b/package/crds/bastion.azure.jet.crossplane.io_hosts.yaml new file mode 100644 index 000000000..21f7d886a --- /dev/null +++ b/package/crds/bastion.azure.jet.crossplane.io_hosts.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hosts.bastion.azure.jet.crossplane.io +spec: + group: bastion.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Host + listKind: HostList + plural: hosts + singular: host + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Host is the Schema for the Hosts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HostSpec defines the desired state of Host + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + ipConfiguration: + items: + properties: + name: + type: string + publicIpAddressId: + type: string + subnetId: + type: string + required: + - name + - publicIpAddressId + - subnetId + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HostStatus defines the observed state of Host. + properties: + atProvider: + properties: + dnsName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/batch.azure.jet.crossplane.io_accounts.yaml b/package/crds/batch.azure.jet.crossplane.io_accounts.yaml new file mode 100644 index 000000000..763583b8f --- /dev/null +++ b/package/crds/batch.azure.jet.crossplane.io_accounts.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accounts.batch.azure.jet.crossplane.io +spec: + group: batch.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Account + listKind: AccountList + plural: accounts + singular: account + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Account is the Schema for the Accounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountSpec defines the desired state of Account + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultReference: + items: + properties: + id: + type: string + url: + type: string + required: + - id + - url + type: object + type: array + location: + type: string + name: + type: string + poolAllocationMode: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + storageAccountId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountStatus defines the observed state of Account. + properties: + atProvider: + properties: + accountEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/batch.azure.jet.crossplane.io_applications.yaml b/package/crds/batch.azure.jet.crossplane.io_applications.yaml new file mode 100644 index 000000000..b9c7ea628 --- /dev/null +++ b/package/crds/batch.azure.jet.crossplane.io_applications.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: applications.batch.azure.jet.crossplane.io +spec: + group: batch.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Application + listKind: ApplicationList + plural: applications + singular: application + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Application is the Schema for the Applications API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ApplicationSpec defines the desired state of Application + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + allowUpdates: + type: boolean + defaultVersion: + type: string + displayName: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - accountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ApplicationStatus defines the observed state of Application. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/batch.azure.jet.crossplane.io_certificates.yaml b/package/crds/batch.azure.jet.crossplane.io_certificates.yaml new file mode 100644 index 000000000..a22f7dcbd --- /dev/null +++ b/package/crds/batch.azure.jet.crossplane.io_certificates.yaml @@ -0,0 +1,219 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: certificates.batch.azure.jet.crossplane.io +spec: + group: batch.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Certificate + listKind: CertificateList + plural: certificates + singular: certificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Certificate is the Schema for the Certificates API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CertificateSpec defines the desired state of Certificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + certificateSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + format: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + thumbprint: + type: string + thumbprintAlgorithm: + type: string + required: + - accountName + - certificateSecretRef + - format + - resourceGroupName + - thumbprint + - thumbprintAlgorithm + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CertificateStatus defines the observed state of Certificate. + properties: + atProvider: + properties: + name: + type: string + publicData: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/batch.azure.jet.crossplane.io_jobs.yaml b/package/crds/batch.azure.jet.crossplane.io_jobs.yaml new file mode 100644 index 000000000..ac747b16a --- /dev/null +++ b/package/crds/batch.azure.jet.crossplane.io_jobs.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: jobs.batch.azure.jet.crossplane.io +spec: + group: batch.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Job + listKind: JobList + plural: jobs + singular: job + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Job is the Schema for the Jobs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: JobSpec defines the desired state of Job + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + batchPoolId: + type: string + commonEnvironmentProperties: + additionalProperties: + type: string + type: object + displayName: + type: string + name: + type: string + priority: + format: int64 + type: integer + taskRetryMaximum: + format: int64 + type: integer + required: + - batchPoolId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: JobStatus defines the observed state of Job. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/batch.azure.jet.crossplane.io_pools.yaml b/package/crds/batch.azure.jet.crossplane.io_pools.yaml new file mode 100644 index 000000000..45e170017 --- /dev/null +++ b/package/crds/batch.azure.jet.crossplane.io_pools.yaml @@ -0,0 +1,390 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: pools.batch.azure.jet.crossplane.io +spec: + group: batch.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Pool + listKind: PoolList + plural: pools + singular: pool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Pool is the Schema for the Pools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PoolSpec defines the desired state of Pool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + autoScale: + items: + properties: + evaluationInterval: + type: string + formula: + type: string + required: + - formula + type: object + type: array + certificate: + items: + properties: + id: + type: string + storeLocation: + type: string + storeName: + type: string + visibility: + items: + type: string + type: array + required: + - id + - storeLocation + type: object + type: array + containerConfiguration: + items: + properties: + containerImageNames: + items: + type: string + type: array + containerRegistries: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + registryServer: + type: string + userName: + type: string + required: + - passwordSecretRef + - registryServer + - userName + type: object + type: array + type: + type: string + type: object + type: array + displayName: + type: string + fixedScale: + items: + properties: + resizeTimeout: + type: string + targetDedicatedNodes: + format: int64 + type: integer + targetLowPriorityNodes: + format: int64 + type: integer + type: object + type: array + maxTasksPerNode: + format: int64 + type: integer + metadata: + additionalProperties: + type: string + type: object + name: + type: string + networkConfiguration: + items: + properties: + endpointConfiguration: + items: + properties: + backendPort: + format: int64 + type: integer + frontendPortRange: + type: string + name: + type: string + networkSecurityGroupRules: + items: + properties: + access: + type: string + priority: + format: int64 + type: integer + sourceAddressPrefix: + type: string + required: + - access + - priority + - sourceAddressPrefix + type: object + type: array + protocol: + type: string + required: + - backendPort + - frontendPortRange + - name + - protocol + type: object + type: array + publicAddressProvisioningType: + type: string + publicIps: + items: + type: string + type: array + subnetId: + type: string + required: + - subnetId + type: object + type: array + nodeAgentSkuId: + type: string + resourceGroupName: + type: string + startTask: + items: + properties: + commandLine: + type: string + environment: + additionalProperties: + type: string + type: object + maxTaskRetryCount: + format: int64 + type: integer + resourceFile: + items: + properties: + autoStorageContainerName: + type: string + blobPrefix: + type: string + fileMode: + type: string + filePath: + type: string + httpUrl: + type: string + storageContainerUrl: + type: string + type: object + type: array + userIdentity: + items: + properties: + autoUser: + items: + properties: + elevationLevel: + type: string + scope: + type: string + type: object + type: array + userName: + type: string + type: object + type: array + waitForSuccess: + type: boolean + required: + - commandLine + - userIdentity + type: object + type: array + stopPendingResizeOperation: + type: boolean + storageImageReference: + items: + properties: + id: + type: string + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + type: object + type: array + vmSize: + type: string + required: + - accountName + - name + - nodeAgentSkuId + - resourceGroupName + - storageImageReference + - vmSize + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PoolStatus defines the observed state of Pool. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/blueprint.azure.jet.crossplane.io_assignments.yaml b/package/crds/blueprint.azure.jet.crossplane.io_assignments.yaml new file mode 100644 index 000000000..40a1ec0e1 --- /dev/null +++ b/package/crds/blueprint.azure.jet.crossplane.io_assignments.yaml @@ -0,0 +1,207 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignments.blueprint.azure.jet.crossplane.io +spec: + group: blueprint.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Assignment + listKind: AssignmentList + plural: assignments + singular: assignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Assignment is the Schema for the Assignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentSpec defines the desired state of Assignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - identityIds + - type + type: object + type: array + location: + type: string + lockExcludePrincipals: + items: + type: string + type: array + lockMode: + type: string + name: + type: string + parameterValues: + type: string + resourceGroups: + type: string + targetSubscriptionId: + type: string + versionId: + type: string + required: + - location + - name + - targetSubscriptionId + - versionId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentStatus defines the observed state of Assignment. + properties: + atProvider: + properties: + blueprintName: + type: string + description: + type: string + displayName: + type: string + type: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelalexas.yaml b/package/crds/bot.azure.jet.crossplane.io_channelalexas.yaml new file mode 100644 index 000000000..08e713deb --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelalexas.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelalexas.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelAlexa + listKind: ChannelAlexaList + plural: channelalexas + singular: channelalexa + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelAlexa is the Schema for the ChannelAlexas API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelAlexaSpec defines the desired state of ChannelAlexa + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + location: + type: string + resourceGroupName: + type: string + skillId: + type: string + required: + - botName + - location + - resourceGroupName + - skillId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelAlexaStatus defines the observed state of ChannelAlexa. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channeldirectlines.yaml b/package/crds/bot.azure.jet.crossplane.io_channeldirectlines.yaml new file mode 100644 index 000000000..dfe934fb5 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channeldirectlines.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channeldirectlines.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelDirectline + listKind: ChannelDirectlineList + plural: channeldirectlines + singular: channeldirectline + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelDirectline is the Schema for the ChannelDirectlines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelDirectlineSpec defines the desired state of ChannelDirectline + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + location: + type: string + resourceGroupName: + type: string + site: + items: + properties: + enabled: + type: boolean + enhancedAuthenticationEnabled: + type: boolean + name: + type: string + trustedOrigins: + items: + type: string + type: array + v1Allowed: + type: boolean + v3Allowed: + type: boolean + required: + - name + type: object + type: array + required: + - botName + - location + - resourceGroupName + - site + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelDirectlineStatus defines the observed state of ChannelDirectline. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channeldirectlinespeeches.yaml b/package/crds/bot.azure.jet.crossplane.io_channeldirectlinespeeches.yaml new file mode 100644 index 000000000..6bfb1ec9e --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channeldirectlinespeeches.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channeldirectlinespeeches.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelDirectLineSpeech + listKind: ChannelDirectLineSpeechList + plural: channeldirectlinespeeches + singular: channeldirectlinespeech + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelDirectLineSpeech is the Schema for the ChannelDirectLineSpeechs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelDirectLineSpeechSpec defines the desired state of + ChannelDirectLineSpeech + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + cognitiveServiceAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + cognitiveServiceLocation: + type: string + customSpeechModelId: + type: string + customVoiceDeploymentId: + type: string + location: + type: string + resourceGroupName: + type: string + required: + - botName + - cognitiveServiceAccessKeySecretRef + - cognitiveServiceLocation + - location + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelDirectLineSpeechStatus defines the observed state + of ChannelDirectLineSpeech. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelemails.yaml b/package/crds/bot.azure.jet.crossplane.io_channelemails.yaml new file mode 100644 index 000000000..511fd3f7c --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelemails.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelemails.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelEmail + listKind: ChannelEmailList + plural: channelemails + singular: channelemail + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelEmail is the Schema for the ChannelEmails API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelEmailSpec defines the desired state of ChannelEmail + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + emailAddress: + type: string + emailPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + location: + type: string + resourceGroupName: + type: string + required: + - botName + - emailAddress + - emailPasswordSecretRef + - location + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelEmailStatus defines the observed state of ChannelEmail. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelfacebooks.yaml b/package/crds/bot.azure.jet.crossplane.io_channelfacebooks.yaml new file mode 100644 index 000000000..fdf3f8e36 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelfacebooks.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelfacebooks.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelFacebook + listKind: ChannelFacebookList + plural: channelfacebooks + singular: channelfacebook + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelFacebook is the Schema for the ChannelFacebooks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelFacebookSpec defines the desired state of ChannelFacebook + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + facebookApplicationId: + type: string + facebookApplicationSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + location: + type: string + page: + items: + properties: + accessTokenSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + id: + type: string + required: + - accessTokenSecretRef + - id + type: object + type: array + resourceGroupName: + type: string + required: + - botName + - facebookApplicationId + - facebookApplicationSecretSecretRef + - location + - page + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelFacebookStatus defines the observed state of ChannelFacebook. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channellines.yaml b/package/crds/bot.azure.jet.crossplane.io_channellines.yaml new file mode 100644 index 000000000..8f1afe3f5 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channellines.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channellines.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelLine + listKind: ChannelLineList + plural: channellines + singular: channelline + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelLine is the Schema for the ChannelLines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelLineSpec defines the desired state of ChannelLine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + lineChannel: + items: + properties: + accessTokenSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + secretSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - accessTokenSecretRef + - secretSecretRef + type: object + type: array + location: + type: string + resourceGroupName: + type: string + required: + - botName + - lineChannel + - location + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelLineStatus defines the observed state of ChannelLine. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelmsteams.yaml b/package/crds/bot.azure.jet.crossplane.io_channelmsteams.yaml new file mode 100644 index 000000000..9e766a9a0 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelmsteams.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelmsteams.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelMsTeams + listKind: ChannelMsTeamsList + plural: channelmsteams + singular: channelmsteams + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelMsTeams is the Schema for the ChannelMsTeamss API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelMsTeamsSpec defines the desired state of ChannelMsTeams + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + callingWebHook: + type: string + enableCalling: + type: boolean + location: + type: string + resourceGroupName: + type: string + required: + - botName + - location + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelMsTeamsStatus defines the observed state of ChannelMsTeams. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelslacks.yaml b/package/crds/bot.azure.jet.crossplane.io_channelslacks.yaml new file mode 100644 index 000000000..dd536aeac --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelslacks.yaml @@ -0,0 +1,232 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelslacks.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelSlack + listKind: ChannelSlackList + plural: channelslacks + singular: channelslack + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelSlack is the Schema for the ChannelSlacks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelSlackSpec defines the desired state of ChannelSlack + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + landingPageUrl: + type: string + location: + type: string + resourceGroupName: + type: string + signingSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + verificationTokenSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - botName + - clientId + - clientSecretSecretRef + - location + - resourceGroupName + - verificationTokenSecretRef + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelSlackStatus defines the observed state of ChannelSlack. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelsms.yaml b/package/crds/bot.azure.jet.crossplane.io_channelsms.yaml new file mode 100644 index 000000000..70cff1ca7 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelsms.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelsms.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelSms + listKind: ChannelSmsList + plural: channelsms + singular: channelsms + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelSms is the Schema for the ChannelSmss API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelSmsSpec defines the desired state of ChannelSms + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + location: + type: string + phoneNumber: + type: string + resourceGroupName: + type: string + smsChannelAccountSecurityId: + type: string + smsChannelAuthTokenSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - botName + - location + - phoneNumber + - resourceGroupName + - smsChannelAccountSecurityId + - smsChannelAuthTokenSecretRef + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelSmsStatus defines the observed state of ChannelSms. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelsregistrations.yaml b/package/crds/bot.azure.jet.crossplane.io_channelsregistrations.yaml new file mode 100644 index 000000000..e0b6d7a81 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelsregistrations.yaml @@ -0,0 +1,217 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelsregistrations.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelsRegistration + listKind: ChannelsRegistrationList + plural: channelsregistrations + singular: channelsregistration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelsRegistration is the Schema for the ChannelsRegistrations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelsRegistrationSpec defines the desired state of ChannelsRegistration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cmkKeyVaultUrl: + type: string + description: + type: string + developerAppInsightsApiKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + developerAppInsightsApplicationId: + type: string + developerAppInsightsKey: + type: string + displayName: + type: string + endpoint: + type: string + iconUrl: + type: string + isolatedNetworkEnabled: + type: boolean + location: + type: string + microsoftAppId: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - microsoftAppId + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelsRegistrationStatus defines the observed state of + ChannelsRegistration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_channelwebchats.yaml b/package/crds/bot.azure.jet.crossplane.io_channelwebchats.yaml new file mode 100644 index 000000000..68ca414ff --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_channelwebchats.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: channelwebchats.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ChannelWebChat + listKind: ChannelWebChatList + plural: channelwebchats + singular: channelwebchat + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ChannelWebChat is the Schema for the ChannelWebChats API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ChannelWebChatSpec defines the desired state of ChannelWebChat + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + location: + type: string + resourceGroupName: + type: string + siteNames: + items: + type: string + type: array + required: + - botName + - location + - resourceGroupName + - siteNames + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ChannelWebChatStatus defines the observed state of ChannelWebChat. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_connections.yaml b/package/crds/bot.azure.jet.crossplane.io_connections.yaml new file mode 100644 index 000000000..eca1b88ee --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_connections.yaml @@ -0,0 +1,209 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: connections.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Connection + listKind: ConnectionList + plural: connections + singular: connection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Connection is the Schema for the Connections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConnectionSpec defines the desired state of Connection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + botName: + type: string + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + location: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + scopes: + type: string + serviceProviderName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - botName + - clientId + - clientSecretSecretRef + - location + - name + - resourceGroupName + - serviceProviderName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConnectionStatus defines the observed state of Connection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/bot.azure.jet.crossplane.io_webapps.yaml b/package/crds/bot.azure.jet.crossplane.io_webapps.yaml new file mode 100644 index 000000000..0557afdd1 --- /dev/null +++ b/package/crds/bot.azure.jet.crossplane.io_webapps.yaml @@ -0,0 +1,229 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: webapps.bot.azure.jet.crossplane.io +spec: + group: bot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WebApp + listKind: WebAppList + plural: webapps + singular: webapp + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WebApp is the Schema for the WebApps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WebAppSpec defines the desired state of WebApp + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + developerAppInsightsApiKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + developerAppInsightsApplicationId: + type: string + developerAppInsightsKey: + type: string + displayName: + type: string + endpoint: + type: string + location: + type: string + luisAppIds: + items: + type: string + type: array + luisKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + microsoftAppId: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - microsoftAppId + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WebAppStatus defines the observed state of WebApp. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/cdn.azure.jet.crossplane.io_endpointcustomdomains.yaml b/package/crds/cdn.azure.jet.crossplane.io_endpointcustomdomains.yaml new file mode 100644 index 000000000..9d0133cd9 --- /dev/null +++ b/package/crds/cdn.azure.jet.crossplane.io_endpointcustomdomains.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: endpointcustomdomains.cdn.azure.jet.crossplane.io +spec: + group: cdn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EndpointCustomDomain + listKind: EndpointCustomDomainList + plural: endpointcustomdomains + singular: endpointcustomdomain + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EndpointCustomDomain is the Schema for the EndpointCustomDomains + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EndpointCustomDomainSpec defines the desired state of EndpointCustomDomain + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cdnEndpointId: + type: string + hostName: + type: string + name: + type: string + required: + - cdnEndpointId + - hostName + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EndpointCustomDomainStatus defines the observed state of + EndpointCustomDomain. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/cdn.azure.jet.crossplane.io_endpoints.yaml b/package/crds/cdn.azure.jet.crossplane.io_endpoints.yaml new file mode 100644 index 000000000..46770e9eb --- /dev/null +++ b/package/crds/cdn.azure.jet.crossplane.io_endpoints.yaml @@ -0,0 +1,676 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: endpoints.cdn.azure.jet.crossplane.io +spec: + group: cdn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Endpoint + listKind: EndpointList + plural: endpoints + singular: endpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Endpoint is the Schema for the Endpoints API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EndpointSpec defines the desired state of Endpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + contentTypesToCompress: + items: + type: string + type: array + deliveryRule: + items: + properties: + cacheExpirationAction: + items: + properties: + behavior: + type: string + duration: + type: string + required: + - behavior + type: object + type: array + cacheKeyQueryStringAction: + items: + properties: + behavior: + type: string + parameters: + type: string + required: + - behavior + type: object + type: array + cookiesCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + selector: + type: string + transforms: + items: + type: string + type: array + required: + - operator + - selector + type: object + type: array + deviceCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + required: + - matchValues + type: object + type: array + httpVersionCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + required: + - matchValues + type: object + type: array + modifyRequestHeaderAction: + items: + properties: + action: + type: string + name: + type: string + value: + type: string + required: + - action + - name + type: object + type: array + modifyResponseHeaderAction: + items: + properties: + action: + type: string + name: + type: string + value: + type: string + required: + - action + - name + type: object + type: array + name: + type: string + order: + format: int64 + type: integer + postArgCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + selector: + type: string + transforms: + items: + type: string + type: array + required: + - operator + - selector + type: object + type: array + queryStringCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - operator + type: object + type: array + remoteAddressCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + required: + - operator + type: object + type: array + requestBodyCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - operator + type: object + type: array + requestHeaderCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + selector: + type: string + transforms: + items: + type: string + type: array + required: + - operator + - selector + type: object + type: array + requestMethodCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + required: + - matchValues + type: object + type: array + requestSchemeCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + required: + - matchValues + type: object + type: array + requestUriCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - operator + type: object + type: array + urlFileExtensionCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - operator + type: object + type: array + urlFileNameCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - operator + type: object + type: array + urlPathCondition: + items: + properties: + matchValues: + items: + type: string + type: array + negateCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - operator + type: object + type: array + urlRedirectAction: + items: + properties: + fragment: + type: string + hostname: + type: string + path: + type: string + protocol: + type: string + queryString: + type: string + redirectType: + type: string + required: + - redirectType + type: object + type: array + urlRewriteAction: + items: + properties: + destination: + type: string + preserveUnmatchedPath: + type: boolean + sourcePattern: + type: string + required: + - destination + - sourcePattern + type: object + type: array + required: + - name + - order + type: object + type: array + geoFilter: + items: + properties: + action: + type: string + countryCodes: + items: + type: string + type: array + relativePath: + type: string + required: + - action + - countryCodes + - relativePath + type: object + type: array + globalDeliveryRule: + items: + properties: + cacheExpirationAction: + items: + properties: + behavior: + type: string + duration: + type: string + required: + - behavior + type: object + type: array + cacheKeyQueryStringAction: + items: + properties: + behavior: + type: string + parameters: + type: string + required: + - behavior + type: object + type: array + modifyRequestHeaderAction: + items: + properties: + action: + type: string + name: + type: string + value: + type: string + required: + - action + - name + type: object + type: array + modifyResponseHeaderAction: + items: + properties: + action: + type: string + name: + type: string + value: + type: string + required: + - action + - name + type: object + type: array + urlRedirectAction: + items: + properties: + fragment: + type: string + hostname: + type: string + path: + type: string + protocol: + type: string + queryString: + type: string + redirectType: + type: string + required: + - redirectType + type: object + type: array + urlRewriteAction: + items: + properties: + destination: + type: string + preserveUnmatchedPath: + type: boolean + sourcePattern: + type: string + required: + - destination + - sourcePattern + type: object + type: array + type: object + type: array + isCompressionEnabled: + type: boolean + isHttpAllowed: + type: boolean + isHttpsAllowed: + type: boolean + location: + type: string + name: + type: string + optimizationType: + type: string + origin: + items: + properties: + hostName: + type: string + httpPort: + format: int64 + type: integer + httpsPort: + format: int64 + type: integer + name: + type: string + required: + - hostName + - name + type: object + type: array + originHostHeader: + type: string + originPath: + type: string + probePath: + type: string + profileName: + type: string + querystringCachingBehaviour: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - origin + - profileName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EndpointStatus defines the observed state of Endpoint. + properties: + atProvider: + properties: + hostName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/cdn.azure.jet.crossplane.io_profiles.yaml b/package/crds/cdn.azure.jet.crossplane.io_profiles.yaml new file mode 100644 index 000000000..d007c627d --- /dev/null +++ b/package/crds/cdn.azure.jet.crossplane.io_profiles.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: profiles.cdn.azure.jet.crossplane.io +spec: + group: cdn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Profile + listKind: ProfileList + plural: profiles + singular: profile + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Profile is the Schema for the Profiles API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProfileSpec defines the desired state of Profile + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProfileStatus defines the observed state of Profile. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/cognitive.azure.jet.crossplane.io_accountcustomermanagedkeys.yaml b/package/crds/cognitive.azure.jet.crossplane.io_accountcustomermanagedkeys.yaml new file mode 100644 index 000000000..4f97c1815 --- /dev/null +++ b/package/crds/cognitive.azure.jet.crossplane.io_accountcustomermanagedkeys.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accountcustomermanagedkeys.cognitive.azure.jet.crossplane.io +spec: + group: cognitive.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AccountCustomerManagedKey + listKind: AccountCustomerManagedKeyList + plural: accountcustomermanagedkeys + singular: accountcustomermanagedkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AccountCustomerManagedKey is the Schema for the AccountCustomerManagedKeys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountCustomerManagedKeySpec defines the desired state of + AccountCustomerManagedKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cognitiveAccountId: + type: string + identityClientId: + type: string + keyVaultKeyId: + type: string + required: + - cognitiveAccountId + - keyVaultKeyId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountCustomerManagedKeyStatus defines the observed state + of AccountCustomerManagedKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/cognitive.azure.jet.crossplane.io_accounts.yaml b/package/crds/cognitive.azure.jet.crossplane.io_accounts.yaml new file mode 100644 index 000000000..ad59e32d5 --- /dev/null +++ b/package/crds/cognitive.azure.jet.crossplane.io_accounts.yaml @@ -0,0 +1,256 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accounts.cognitive.azure.jet.crossplane.io +spec: + group: cognitive.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Account + listKind: AccountList + plural: accounts + singular: account + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Account is the Schema for the Accounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountSpec defines the desired state of Account + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customSubdomainName: + type: string + fqdns: + items: + type: string + type: array + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + type: object + type: array + kind: + type: string + localAuthEnabled: + type: boolean + location: + type: string + metricsAdvisorAadClientId: + type: string + metricsAdvisorAadTenantId: + type: string + metricsAdvisorSuperUserName: + type: string + metricsAdvisorWebsiteName: + type: string + name: + type: string + networkAcls: + items: + properties: + defaultAction: + type: string + ipRules: + items: + type: string + type: array + virtualNetworkRules: + items: + properties: + ignoreMissingVnetServiceEndpoint: + type: boolean + subnetId: + type: string + required: + - subnetId + type: object + type: array + virtualNetworkSubnetIds: + items: + type: string + type: array + required: + - defaultAction + type: object + type: array + outboundNetworkAccessRestrited: + type: boolean + publicNetworkAccessEnabled: + type: boolean + qnaRuntimeEndpoint: + type: string + resourceGroupName: + type: string + skuName: + type: string + storage: + items: + properties: + identityClientId: + type: string + storageAccountId: + type: string + required: + - storageAccountId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - kind + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountStatus defines the observed state of Account. + properties: + atProvider: + properties: + endpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/communication.azure.jet.crossplane.io_services.yaml b/package/crds/communication.azure.jet.crossplane.io_services.yaml new file mode 100644 index 000000000..208493f80 --- /dev/null +++ b/package/crds/communication.azure.jet.crossplane.io_services.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: services.communication.azure.jet.crossplane.io +spec: + group: communication.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Service + listKind: ServiceList + plural: services + singular: service + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Service is the Schema for the Services API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSpec defines the desired state of Service + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataLocation: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceStatus defines the observed state of Service. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/consumption.azure.jet.crossplane.io_budgetresourcegroups.yaml b/package/crds/consumption.azure.jet.crossplane.io_budgetresourcegroups.yaml new file mode 100644 index 000000000..af316dfa6 --- /dev/null +++ b/package/crds/consumption.azure.jet.crossplane.io_budgetresourcegroups.yaml @@ -0,0 +1,288 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: budgetresourcegroups.consumption.azure.jet.crossplane.io +spec: + group: consumption.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: BudgetResourceGroup + listKind: BudgetResourceGroupList + plural: budgetresourcegroups + singular: budgetresourcegroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: BudgetResourceGroup is the Schema for the BudgetResourceGroups + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: BudgetResourceGroupSpec defines the desired state of BudgetResourceGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + amount: + type: number + filter: + items: + properties: + dimension: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + not: + items: + properties: + dimension: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + tag: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + type: object + type: array + tag: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + type: object + type: array + name: + type: string + notification: + items: + properties: + contactEmails: + items: + type: string + type: array + contactGroups: + items: + type: string + type: array + contactRoles: + items: + type: string + type: array + enabled: + type: boolean + operator: + type: string + threshold: + format: int64 + type: integer + required: + - operator + - threshold + type: object + type: array + resourceGroupId: + type: string + timeGrain: + type: string + timePeriod: + items: + properties: + endDate: + type: string + startDate: + type: string + required: + - startDate + type: object + type: array + required: + - amount + - name + - notification + - resourceGroupId + - timePeriod + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: BudgetResourceGroupStatus defines the observed state of BudgetResourceGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/consumption.azure.jet.crossplane.io_budgetsubscriptions.yaml b/package/crds/consumption.azure.jet.crossplane.io_budgetsubscriptions.yaml new file mode 100644 index 000000000..1e9d60cf8 --- /dev/null +++ b/package/crds/consumption.azure.jet.crossplane.io_budgetsubscriptions.yaml @@ -0,0 +1,288 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: budgetsubscriptions.consumption.azure.jet.crossplane.io +spec: + group: consumption.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: BudgetSubscription + listKind: BudgetSubscriptionList + plural: budgetsubscriptions + singular: budgetsubscription + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: BudgetSubscription is the Schema for the BudgetSubscriptions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: BudgetSubscriptionSpec defines the desired state of BudgetSubscription + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + amount: + type: number + filter: + items: + properties: + dimension: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + not: + items: + properties: + dimension: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + tag: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + type: object + type: array + tag: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + type: object + type: array + name: + type: string + notification: + items: + properties: + contactEmails: + items: + type: string + type: array + contactGroups: + items: + type: string + type: array + contactRoles: + items: + type: string + type: array + enabled: + type: boolean + operator: + type: string + threshold: + format: int64 + type: integer + required: + - operator + - threshold + type: object + type: array + subscriptionId: + type: string + timeGrain: + type: string + timePeriod: + items: + properties: + endDate: + type: string + startDate: + type: string + required: + - startDate + type: object + type: array + required: + - amount + - name + - notification + - subscriptionId + - timePeriod + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: BudgetSubscriptionStatus defines the observed state of BudgetSubscription. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/container.azure.jet.crossplane.io_registries.yaml b/package/crds/container.azure.jet.crossplane.io_registries.yaml new file mode 100644 index 000000000..47695bcdd --- /dev/null +++ b/package/crds/container.azure.jet.crossplane.io_registries.yaml @@ -0,0 +1,286 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: registries.container.azure.jet.crossplane.io +spec: + group: container.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Registry + listKind: RegistryList + plural: registries + singular: registry + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Registry is the Schema for the Registrys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RegistrySpec defines the desired state of Registry + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + adminEnabled: + type: boolean + encryption: + items: + properties: + enabled: + type: boolean + identityClientId: + type: string + keyVaultKeyId: + type: string + required: + - identityClientId + - keyVaultKeyId + type: object + type: array + georeplicationLocations: + items: + type: string + type: array + georeplications: + items: + properties: + location: + type: string + tags: + additionalProperties: + type: string + type: object + zoneRedundancyEnabled: + type: boolean + required: + - location + type: object + type: array + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + networkRuleSet: + items: + properties: + defaultAction: + type: string + ipRule: + items: + properties: + action: + type: string + ipRange: + type: string + required: + - action + - ipRange + type: object + type: array + virtualNetwork: + items: + properties: + action: + type: string + subnetId: + type: string + required: + - action + - subnetId + type: object + type: array + type: object + type: array + publicNetworkAccessEnabled: + type: boolean + quarantinePolicyEnabled: + type: boolean + resourceGroupName: + type: string + retentionPolicy: + items: + properties: + days: + format: int64 + type: integer + enabled: + type: boolean + type: object + type: array + sku: + type: string + storageAccountId: + type: string + tags: + additionalProperties: + type: string + type: object + trustPolicy: + items: + properties: + enabled: + type: boolean + type: object + type: array + zoneRedundancyEnabled: + type: boolean + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RegistryStatus defines the observed state of Registry. + properties: + atProvider: + properties: + adminUsername: + type: string + loginServer: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/container.azure.jet.crossplane.io_registryscopemaps.yaml b/package/crds/container.azure.jet.crossplane.io_registryscopemaps.yaml new file mode 100644 index 000000000..eb6212b62 --- /dev/null +++ b/package/crds/container.azure.jet.crossplane.io_registryscopemaps.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: registryscopemaps.container.azure.jet.crossplane.io +spec: + group: container.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RegistryScopeMap + listKind: RegistryScopeMapList + plural: registryscopemaps + singular: registryscopemap + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RegistryScopeMap is the Schema for the RegistryScopeMaps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RegistryScopeMapSpec defines the desired state of RegistryScopeMap + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + actions: + items: + type: string + type: array + containerRegistryName: + type: string + description: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - actions + - containerRegistryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RegistryScopeMapStatus defines the observed state of RegistryScopeMap. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/container.azure.jet.crossplane.io_registrytokens.yaml b/package/crds/container.azure.jet.crossplane.io_registrytokens.yaml new file mode 100644 index 000000000..db3673f99 --- /dev/null +++ b/package/crds/container.azure.jet.crossplane.io_registrytokens.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: registrytokens.container.azure.jet.crossplane.io +spec: + group: container.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RegistryToken + listKind: RegistryTokenList + plural: registrytokens + singular: registrytoken + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RegistryToken is the Schema for the RegistryTokens API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RegistryTokenSpec defines the desired state of RegistryToken + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + containerRegistryName: + type: string + enabled: + type: boolean + name: + type: string + resourceGroupName: + type: string + scopeMapId: + type: string + required: + - containerRegistryName + - name + - resourceGroupName + - scopeMapId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RegistryTokenStatus defines the observed state of RegistryToken. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/container.azure.jet.crossplane.io_registrywebhooks.yaml b/package/crds/container.azure.jet.crossplane.io_registrywebhooks.yaml new file mode 100644 index 000000000..6dc1f8f3d --- /dev/null +++ b/package/crds/container.azure.jet.crossplane.io_registrywebhooks.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: registrywebhooks.container.azure.jet.crossplane.io +spec: + group: container.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RegistryWebhook + listKind: RegistryWebhookList + plural: registrywebhooks + singular: registrywebhook + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RegistryWebhook is the Schema for the RegistryWebhooks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RegistryWebhookSpec defines the desired state of RegistryWebhook + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + actions: + items: + type: string + type: array + customHeaders: + additionalProperties: + type: string + type: object + location: + type: string + name: + type: string + registryName: + type: string + resourceGroupName: + type: string + scope: + type: string + serviceUri: + type: string + status: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - actions + - location + - name + - registryName + - resourceGroupName + - serviceUri + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RegistryWebhookStatus defines the observed state of RegistryWebhook. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/cost.azure.jet.crossplane.io_managementexportresourcegroups.yaml b/package/crds/cost.azure.jet.crossplane.io_managementexportresourcegroups.yaml new file mode 100644 index 000000000..23fa2202c --- /dev/null +++ b/package/crds/cost.azure.jet.crossplane.io_managementexportresourcegroups.yaml @@ -0,0 +1,211 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementexportresourcegroups.cost.azure.jet.crossplane.io +spec: + group: cost.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementExportResourceGroup + listKind: ManagementExportResourceGroupList + plural: managementexportresourcegroups + singular: managementexportresourcegroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementExportResourceGroup is the Schema for the ManagementExportResourceGroups + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementExportResourceGroupSpec defines the desired state + of ManagementExportResourceGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + active: + type: boolean + deliveryInfo: + items: + properties: + containerName: + type: string + rootFolderPath: + type: string + storageAccountId: + type: string + required: + - containerName + - rootFolderPath + - storageAccountId + type: object + type: array + name: + type: string + query: + items: + properties: + timeFrame: + type: string + type: + type: string + required: + - timeFrame + - type + type: object + type: array + recurrencePeriodEnd: + type: string + recurrencePeriodStart: + type: string + recurrenceType: + type: string + resourceGroupId: + type: string + required: + - deliveryInfo + - name + - query + - recurrencePeriodEnd + - recurrencePeriodStart + - recurrenceType + - resourceGroupId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementExportResourceGroupStatus defines the observed + state of ManagementExportResourceGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/custom.azure.jet.crossplane.io_providers.yaml b/package/crds/custom.azure.jet.crossplane.io_providers.yaml new file mode 100644 index 000000000..ba7f60a27 --- /dev/null +++ b/package/crds/custom.azure.jet.crossplane.io_providers.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: providers.custom.azure.jet.crossplane.io +spec: + group: custom.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Provider + listKind: ProviderList + plural: providers + singular: provider + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Provider is the Schema for the Providers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProviderSpec defines the desired state of Provider + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + items: + properties: + endpoint: + type: string + name: + type: string + required: + - endpoint + - name + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + resourceType: + items: + properties: + endpoint: + type: string + name: + type: string + routingType: + type: string + required: + - endpoint + - name + type: object + type: array + tags: + additionalProperties: + type: string + type: object + validation: + items: + properties: + specification: + type: string + required: + - specification + type: object + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProviderStatus defines the observed state of Provider. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factories.yaml b/package/crds/data.azure.jet.crossplane.io_factories.yaml new file mode 100644 index 000000000..25ecdf2ae --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factories.yaml @@ -0,0 +1,254 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factories.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Factory + listKind: FactoryList + plural: factories + singular: factory + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Factory is the Schema for the Factorys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactorySpec defines the desired state of Factory + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customerManagedKeyId: + type: string + githubConfiguration: + items: + properties: + accountName: + type: string + branchName: + type: string + gitUrl: + type: string + repositoryName: + type: string + rootFolder: + type: string + required: + - accountName + - branchName + - gitUrl + - repositoryName + - rootFolder + type: object + type: array + globalParameter: + items: + properties: + name: + type: string + type: + type: string + value: + type: string + required: + - name + - type + - value + type: object + type: array + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + managedVirtualNetworkEnabled: + type: boolean + name: + type: string + publicNetworkEnabled: + type: boolean + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + vstsConfiguration: + items: + properties: + accountName: + type: string + branchName: + type: string + projectName: + type: string + repositoryName: + type: string + rootFolder: + type: string + tenantId: + type: string + required: + - accountName + - branchName + - projectName + - repositoryName + - rootFolder + - tenantId + type: object + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryStatus defines the observed state of Factory. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorycustomdatasets.yaml b/package/crds/data.azure.jet.crossplane.io_factorycustomdatasets.yaml new file mode 100644 index 000000000..a19d4baf0 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorycustomdatasets.yaml @@ -0,0 +1,208 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorycustomdatasets.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryCustomDataset + listKind: FactoryCustomDatasetList + plural: factorycustomdatasets + singular: factorycustomdataset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryCustomDataset is the Schema for the FactoryCustomDatasets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryCustomDatasetSpec defines the desired state of FactoryCustomDataset + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryId: + type: string + description: + type: string + folder: + type: string + linkedService: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + schemaJson: + type: string + type: + type: string + typePropertiesJson: + type: string + required: + - dataFactoryId + - linkedService + - name + - type + - typePropertiesJson + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryCustomDatasetStatus defines the observed state of + FactoryCustomDataset. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydataflows.yaml b/package/crds/data.azure.jet.crossplane.io_factorydataflows.yaml new file mode 100644 index 000000000..3e76b5b88 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydataflows.yaml @@ -0,0 +1,292 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydataflows.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDataFlow + listKind: FactoryDataFlowList + plural: factorydataflows + singular: factorydataflow + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDataFlow is the Schema for the FactoryDataFlows API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDataFlowSpec defines the desired state of FactoryDataFlow + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + annotations: + items: + type: string + type: array + dataFactoryId: + type: string + description: + type: string + folder: + type: string + name: + type: string + script: + type: string + sink: + items: + properties: + dataset: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + description: + type: string + linkedService: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + name: + type: string + schemaLinkedService: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + required: + - name + type: object + type: array + source: + items: + properties: + dataset: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + description: + type: string + linkedService: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + name: + type: string + schemaLinkedService: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + required: + - name + type: object + type: array + transformation: + items: + properties: + description: + type: string + name: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryId + - name + - script + - sink + - source + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDataFlowStatus defines the observed state of FactoryDataFlow. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetazureblobs.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetazureblobs.yaml new file mode 100644 index 000000000..2e71cdb95 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetazureblobs.yaml @@ -0,0 +1,214 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetazureblobs.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetAzureBlob + listKind: FactoryDatasetAzureBlobList + plural: factorydatasetazureblobs + singular: factorydatasetazureblob + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetAzureBlob is the Schema for the FactoryDatasetAzureBlobs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetAzureBlobSpec defines the desired state of + FactoryDatasetAzureBlob + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + path: + type: string + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetAzureBlobStatus defines the observed state + of FactoryDatasetAzureBlob. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetbinaries.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetbinaries.yaml new file mode 100644 index 000000000..5fd653879 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetbinaries.yaml @@ -0,0 +1,255 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetbinaries.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetBinary + listKind: FactoryDatasetBinaryList + plural: factorydatasetbinaries + singular: factorydatasetbinary + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetBinary is the Schema for the FactoryDatasetBinarys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetBinarySpec defines the desired state of FactoryDatasetBinary + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + azureBlobStorageLocation: + items: + properties: + container: + type: string + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + required: + - container + type: object + type: array + compression: + items: + properties: + level: + type: string + type: + type: string + required: + - type + type: object + type: array + dataFactoryName: + type: string + description: + type: string + folder: + type: string + httpServerLocation: + items: + properties: + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + relativeUrl: + type: string + required: + - filename + - path + - relativeUrl + type: object + type: array + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + sftpServerLocation: + items: + properties: + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + required: + - filename + - path + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetBinaryStatus defines the observed state of + FactoryDatasetBinary. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetcosmosdbsqlapis.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetcosmosdbsqlapis.yaml new file mode 100644 index 000000000..dfc7ee126 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetcosmosdbsqlapis.yaml @@ -0,0 +1,208 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetcosmosdbsqlapis.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetCosmosdbSqlapi + listKind: FactoryDatasetCosmosdbSqlapiList + plural: factorydatasetcosmosdbsqlapis + singular: factorydatasetcosmosdbsqlapi + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetCosmosdbSqlapi is the Schema for the FactoryDatasetCosmosdbSqlapis + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetCosmosdbSqlapiSpec defines the desired state + of FactoryDatasetCosmosdbSqlapi + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + collectionName: + type: string + dataFactoryName: + type: string + description: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetCosmosdbSqlapiStatus defines the observed state + of FactoryDatasetCosmosdbSqlapi. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetdelimitedtexts.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetdelimitedtexts.yaml new file mode 100644 index 000000000..f738f9105 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetdelimitedtexts.yaml @@ -0,0 +1,273 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetdelimitedtexts.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetDelimitedText + listKind: FactoryDatasetDelimitedTextList + plural: factorydatasetdelimitedtexts + singular: factorydatasetdelimitedtext + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetDelimitedText is the Schema for the FactoryDatasetDelimitedTexts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetDelimitedTextSpec defines the desired state + of FactoryDatasetDelimitedText + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + azureBlobFsLocation: + items: + properties: + fileSystem: + type: string + filename: + type: string + path: + type: string + required: + - fileSystem + type: object + type: array + azureBlobStorageLocation: + items: + properties: + container: + type: string + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + required: + - container + type: object + type: array + columnDelimiter: + type: string + compressionCodec: + type: string + compressionLevel: + type: string + dataFactoryName: + type: string + description: + type: string + encoding: + type: string + escapeCharacter: + type: string + firstRowAsHeader: + type: boolean + folder: + type: string + httpServerLocation: + items: + properties: + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + relativeUrl: + type: string + required: + - filename + - path + - relativeUrl + type: object + type: array + linkedServiceName: + type: string + name: + type: string + nullValue: + type: string + parameters: + additionalProperties: + type: string + type: object + quoteCharacter: + type: string + resourceGroupName: + type: string + rowDelimiter: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetDelimitedTextStatus defines the observed state + of FactoryDatasetDelimitedText. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasethttps.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasethttps.yaml new file mode 100644 index 000000000..1cf66f92e --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasethttps.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasethttps.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetHttp + listKind: FactoryDatasetHttpList + plural: factorydatasethttps + singular: factorydatasethttp + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetHttp is the Schema for the FactoryDatasetHttps + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetHttpSpec defines the desired state of FactoryDatasetHttp + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + relativeUrl: + type: string + requestBody: + type: string + requestMethod: + type: string + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetHttpStatus defines the observed state of FactoryDatasetHttp. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetjsons.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetjsons.yaml new file mode 100644 index 000000000..316e57ced --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetjsons.yaml @@ -0,0 +1,244 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetjsons.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetJson + listKind: FactoryDatasetJsonList + plural: factorydatasetjsons + singular: factorydatasetjson + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetJson is the Schema for the FactoryDatasetJsons + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetJsonSpec defines the desired state of FactoryDatasetJson + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + azureBlobStorageLocation: + items: + properties: + container: + type: string + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + required: + - container + - filename + - path + type: object + type: array + dataFactoryName: + type: string + description: + type: string + encoding: + type: string + folder: + type: string + httpServerLocation: + items: + properties: + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + relativeUrl: + type: string + required: + - filename + - path + - relativeUrl + type: object + type: array + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetJsonStatus defines the observed state of FactoryDatasetJson. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetmysqls.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetmysqls.yaml new file mode 100644 index 000000000..9ab0dd764 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetmysqls.yaml @@ -0,0 +1,206 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetmysqls.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetMysql + listKind: FactoryDatasetMysqlList + plural: factorydatasetmysqls + singular: factorydatasetmysql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetMysql is the Schema for the FactoryDatasetMysqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetMysqlSpec defines the desired state of FactoryDatasetMysql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + tableName: + type: string + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetMysqlStatus defines the observed state of FactoryDatasetMysql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetparquets.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetparquets.yaml new file mode 100644 index 000000000..ca7487f7f --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetparquets.yaml @@ -0,0 +1,246 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetparquets.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetParquet + listKind: FactoryDatasetParquetList + plural: factorydatasetparquets + singular: factorydatasetparquet + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetParquet is the Schema for the FactoryDatasetParquets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetParquetSpec defines the desired state of FactoryDatasetParquet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + azureBlobStorageLocation: + items: + properties: + container: + type: string + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + required: + - container + - path + type: object + type: array + compressionCodec: + type: string + compressionLevel: + type: string + dataFactoryName: + type: string + description: + type: string + folder: + type: string + httpServerLocation: + items: + properties: + dynamicFilenameEnabled: + type: boolean + dynamicPathEnabled: + type: boolean + filename: + type: string + path: + type: string + relativeUrl: + type: string + required: + - filename + - path + - relativeUrl + type: object + type: array + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetParquetStatus defines the observed state of + FactoryDatasetParquet. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetpostgresqls.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetpostgresqls.yaml new file mode 100644 index 000000000..1afc90b9a --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetpostgresqls.yaml @@ -0,0 +1,208 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetpostgresqls.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetPostgresql + listKind: FactoryDatasetPostgresqlList + plural: factorydatasetpostgresqls + singular: factorydatasetpostgresql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetPostgresql is the Schema for the FactoryDatasetPostgresqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetPostgresqlSpec defines the desired state of + FactoryDatasetPostgresql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + tableName: + type: string + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetPostgresqlStatus defines the observed state + of FactoryDatasetPostgresql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetsnowflakes.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetsnowflakes.yaml new file mode 100644 index 000000000..aa568bec7 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetsnowflakes.yaml @@ -0,0 +1,227 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetsnowflakes.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetSnowflake + listKind: FactoryDatasetSnowflakeList + plural: factorydatasetsnowflakes + singular: factorydatasetsnowflake + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetSnowflake is the Schema for the FactoryDatasetSnowflakes + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetSnowflakeSpec defines the desired state of + FactoryDatasetSnowflake + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + name: + type: string + precision: + format: int64 + type: integer + scale: + format: int64 + type: integer + type: + type: string + required: + - name + type: object + type: array + schemaName: + type: string + structureColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + tableName: + type: string + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetSnowflakeStatus defines the observed state + of FactoryDatasetSnowflake. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorydatasetsqlservertables.yaml b/package/crds/data.azure.jet.crossplane.io_factorydatasetsqlservertables.yaml new file mode 100644 index 000000000..b88428a63 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorydatasetsqlservertables.yaml @@ -0,0 +1,208 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorydatasetsqlservertables.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryDatasetSqlServerTable + listKind: FactoryDatasetSqlServerTableList + plural: factorydatasetsqlservertables + singular: factorydatasetsqlservertable + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryDatasetSqlServerTable is the Schema for the FactoryDatasetSqlServerTables + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryDatasetSqlServerTableSpec defines the desired state + of FactoryDatasetSqlServerTable + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + folder: + type: string + linkedServiceName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schemaColumn: + items: + properties: + description: + type: string + name: + type: string + type: + type: string + required: + - name + type: object + type: array + tableName: + type: string + required: + - dataFactoryName + - linkedServiceName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryDatasetSqlServerTableStatus defines the observed state + of FactoryDatasetSqlServerTable. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeazures.yaml b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeazures.yaml new file mode 100644 index 000000000..3bf525731 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeazures.yaml @@ -0,0 +1,191 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factoryintegrationruntimeazures.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryIntegrationRuntimeAzure + listKind: FactoryIntegrationRuntimeAzureList + plural: factoryintegrationruntimeazures + singular: factoryintegrationruntimeazure + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryIntegrationRuntimeAzure is the Schema for the FactoryIntegrationRuntimeAzures + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryIntegrationRuntimeAzureSpec defines the desired state + of FactoryIntegrationRuntimeAzure + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cleanupEnabled: + type: boolean + computeType: + type: string + coreCount: + format: int64 + type: integer + dataFactoryName: + type: string + description: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + timeToLiveMin: + format: int64 + type: integer + virtualNetworkEnabled: + type: boolean + required: + - dataFactoryName + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryIntegrationRuntimeAzureStatus defines the observed + state of FactoryIntegrationRuntimeAzure. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeazuressis.yaml b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeazuressis.yaml new file mode 100644 index 000000000..ab018db6d --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeazuressis.yaml @@ -0,0 +1,398 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factoryintegrationruntimeazuressis.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryIntegrationRuntimeAzureSsis + listKind: FactoryIntegrationRuntimeAzureSsisList + plural: factoryintegrationruntimeazuressis + singular: factoryintegrationruntimeazuressis + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryIntegrationRuntimeAzureSsis is the Schema for the FactoryIntegrationRuntimeAzureSsiss + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryIntegrationRuntimeAzureSsisSpec defines the desired + state of FactoryIntegrationRuntimeAzureSsis + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + catalogInfo: + items: + properties: + administratorLogin: + type: string + administratorPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dualStandbyPairName: + type: string + pricingTier: + type: string + serverEndpoint: + type: string + required: + - serverEndpoint + type: object + type: array + customSetupScript: + items: + properties: + blobContainerUri: + type: string + sasTokenSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - blobContainerUri + - sasTokenSecretRef + type: object + type: array + dataFactoryName: + type: string + description: + type: string + edition: + type: string + expressCustomSetup: + items: + properties: + commandKey: + items: + properties: + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + parameters: + additionalProperties: + type: string + type: object + secretName: + type: string + secretVersion: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + targetName: + type: string + userName: + type: string + required: + - targetName + - userName + type: object + type: array + component: + items: + properties: + keyVaultLicense: + items: + properties: + linkedServiceName: + type: string + parameters: + additionalProperties: + type: string + type: object + secretName: + type: string + secretVersion: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + licenseSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + required: + - name + type: object + type: array + environment: + additionalProperties: + type: string + type: object + powershellVersion: + type: string + type: object + type: array + licenseType: + type: string + location: + type: string + maxParallelExecutionsPerNode: + format: int64 + type: integer + name: + type: string + nodeSize: + type: string + numberOfNodes: + format: int64 + type: integer + packageStore: + items: + properties: + linkedServiceName: + type: string + name: + type: string + required: + - linkedServiceName + - name + type: object + type: array + proxy: + items: + properties: + path: + type: string + selfHostedIntegrationRuntimeName: + type: string + stagingStorageLinkedServiceName: + type: string + required: + - selfHostedIntegrationRuntimeName + - stagingStorageLinkedServiceName + type: object + type: array + resourceGroupName: + type: string + vnetIntegration: + items: + properties: + publicIps: + items: + type: string + type: array + subnetId: + type: string + subnetName: + type: string + vnetId: + type: string + type: object + type: array + required: + - dataFactoryName + - location + - name + - nodeSize + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryIntegrationRuntimeAzureSsisStatus defines the observed + state of FactoryIntegrationRuntimeAzureSsis. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimemanageds.yaml b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimemanageds.yaml new file mode 100644 index 000000000..84c360ed6 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimemanageds.yaml @@ -0,0 +1,263 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factoryintegrationruntimemanageds.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryIntegrationRuntimeManaged + listKind: FactoryIntegrationRuntimeManagedList + plural: factoryintegrationruntimemanageds + singular: factoryintegrationruntimemanaged + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryIntegrationRuntimeManaged is the Schema for the FactoryIntegrationRuntimeManageds + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryIntegrationRuntimeManagedSpec defines the desired + state of FactoryIntegrationRuntimeManaged + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + catalogInfo: + items: + properties: + administratorLogin: + type: string + administratorPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + pricingTier: + type: string + serverEndpoint: + type: string + required: + - serverEndpoint + type: object + type: array + customSetupScript: + items: + properties: + blobContainerUri: + type: string + sasTokenSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - blobContainerUri + - sasTokenSecretRef + type: object + type: array + dataFactoryName: + type: string + description: + type: string + edition: + type: string + licenseType: + type: string + location: + type: string + maxParallelExecutionsPerNode: + format: int64 + type: integer + name: + type: string + nodeSize: + type: string + numberOfNodes: + format: int64 + type: integer + resourceGroupName: + type: string + vnetIntegration: + items: + properties: + subnetName: + type: string + vnetId: + type: string + required: + - subnetName + - vnetId + type: object + type: array + required: + - dataFactoryName + - location + - name + - nodeSize + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryIntegrationRuntimeManagedStatus defines the observed + state of FactoryIntegrationRuntimeManaged. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeselfhosteds.yaml b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeselfhosteds.yaml new file mode 100644 index 000000000..0f22666f1 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factoryintegrationruntimeselfhosteds.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factoryintegrationruntimeselfhosteds.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryIntegrationRuntimeSelfHosted + listKind: FactoryIntegrationRuntimeSelfHostedList + plural: factoryintegrationruntimeselfhosteds + singular: factoryintegrationruntimeselfhosted + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryIntegrationRuntimeSelfHosted is the Schema for the FactoryIntegrationRuntimeSelfHosteds + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryIntegrationRuntimeSelfHostedSpec defines the desired + state of FactoryIntegrationRuntimeSelfHosted + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataFactoryName: + type: string + description: + type: string + name: + type: string + rbacAuthorization: + items: + properties: + resourceId: + type: string + required: + - resourceId + type: object + type: array + resourceGroupName: + type: string + required: + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryIntegrationRuntimeSelfHostedStatus defines the observed + state of FactoryIntegrationRuntimeSelfHosted. + properties: + atProvider: + properties: + authKey1: + type: string + authKey2: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedcustomservices.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedcustomservices.yaml new file mode 100644 index 000000000..4b2d134a8 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedcustomservices.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedcustomservices.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedCustomService + listKind: FactoryLinkedCustomServiceList + plural: factorylinkedcustomservices + singular: factorylinkedcustomservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedCustomService is the Schema for the FactoryLinkedCustomServices + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedCustomServiceSpec defines the desired state + of FactoryLinkedCustomService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryId: + type: string + description: + type: string + integrationRuntime: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + type: + type: string + typePropertiesJson: + type: string + required: + - dataFactoryId + - name + - type + - typePropertiesJson + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedCustomServiceStatus defines the observed state + of FactoryLinkedCustomService. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazureblobstorages.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazureblobstorages.yaml new file mode 100644 index 000000000..6a898d9ce --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazureblobstorages.yaml @@ -0,0 +1,264 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazureblobstorages.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureBlobStorage + listKind: FactoryLinkedServiceAzureBlobStorageList + plural: factorylinkedserviceazureblobstorages + singular: factorylinkedserviceazureblobstorage + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureBlobStorage is the Schema for the FactoryLinkedServiceAzureBlobStorages + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureBlobStorageSpec defines the desired + state of FactoryLinkedServiceAzureBlobStorage + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keyVaultSasToken: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + sasUriSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + serviceEndpointSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + servicePrincipalId: + type: string + servicePrincipalKey: + type: string + tenantId: + type: string + useManagedIdentity: + type: boolean + required: + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureBlobStorageStatus defines the observed + state of FactoryLinkedServiceAzureBlobStorage. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuredatabricks.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuredatabricks.yaml new file mode 100644 index 000000000..bd6181ec3 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuredatabricks.yaml @@ -0,0 +1,283 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazuredatabricks.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureDatabricks + listKind: FactoryLinkedServiceAzureDatabricksList + plural: factorylinkedserviceazuredatabricks + singular: factorylinkedserviceazuredatabricks + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureDatabricks is the Schema for the FactoryLinkedServiceAzureDatabrickss + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureDatabricksSpec defines the desired + state of FactoryLinkedServiceAzureDatabricks + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessTokenSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + adbDomain: + type: string + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + existingClusterId: + type: string + instancePool: + items: + properties: + clusterVersion: + type: string + instancePoolId: + type: string + maxNumberOfWorkers: + format: int64 + type: integer + minNumberOfWorkers: + format: int64 + type: integer + required: + - clusterVersion + - instancePoolId + type: object + type: array + integrationRuntimeName: + type: string + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + msiWorkSpaceResourceId: + type: string + name: + type: string + newClusterConfig: + items: + properties: + clusterVersion: + type: string + customTags: + additionalProperties: + type: string + type: object + driverNodeType: + type: string + initScripts: + items: + type: string + type: array + logDestination: + type: string + maxNumberOfWorkers: + format: int64 + type: integer + minNumberOfWorkers: + format: int64 + type: integer + nodeType: + type: string + sparkConfig: + additionalProperties: + type: string + type: object + sparkEnvironmentVariables: + additionalProperties: + type: string + type: object + required: + - clusterVersion + - nodeType + type: object + type: array + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - adbDomain + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureDatabricksStatus defines the observed + state of FactoryLinkedServiceAzureDatabricks. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazurefilestorages.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazurefilestorages.yaml new file mode 100644 index 000000000..621048725 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazurefilestorages.yaml @@ -0,0 +1,245 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazurefilestorages.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureFileStorage + listKind: FactoryLinkedServiceAzureFileStorageList + plural: factorylinkedserviceazurefilestorages + singular: factorylinkedserviceazurefilestorage + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureFileStorage is the Schema for the FactoryLinkedServiceAzureFileStorages + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureFileStorageSpec defines the desired + state of FactoryLinkedServiceAzureFileStorage + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dataFactoryName: + type: string + description: + type: string + fileShare: + type: string + host: + type: string + integrationRuntimeName: + type: string + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + userId: + type: string + required: + - connectionStringSecretRef + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureFileStorageStatus defines the observed + state of FactoryLinkedServiceAzureFileStorage. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazurefunctions.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazurefunctions.yaml new file mode 100644 index 000000000..5a406203c --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazurefunctions.yaml @@ -0,0 +1,223 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazurefunctions.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureFunction + listKind: FactoryLinkedServiceAzureFunctionList + plural: factorylinkedserviceazurefunctions + singular: factorylinkedserviceazurefunction + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureFunction is the Schema for the FactoryLinkedServiceAzureFunctions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureFunctionSpec defines the desired + state of FactoryLinkedServiceAzureFunction + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + keyVaultKey: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + url: + type: string + required: + - dataFactoryName + - name + - resourceGroupName + - url + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureFunctionStatus defines the observed + state of FactoryLinkedServiceAzureFunction. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuresearches.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuresearches.yaml new file mode 100644 index 000000000..693835d73 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuresearches.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazuresearches.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureSearch + listKind: FactoryLinkedServiceAzureSearchList + plural: factorylinkedserviceazuresearches + singular: factorylinkedserviceazuresearch + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureSearch is the Schema for the FactoryLinkedServiceAzureSearchs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureSearchSpec defines the desired state + of FactoryLinkedServiceAzureSearch + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryId: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + searchServiceKey: + type: string + url: + type: string + required: + - dataFactoryId + - name + - searchServiceKey + - url + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureSearchStatus defines the observed + state of FactoryLinkedServiceAzureSearch. + properties: + atProvider: + properties: + encryptedCredential: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuresqldatabases.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuresqldatabases.yaml new file mode 100644 index 000000000..5a00d2016 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuresqldatabases.yaml @@ -0,0 +1,224 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazuresqldatabases.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureSqlDatabase + listKind: FactoryLinkedServiceAzureSqlDatabaseList + plural: factorylinkedserviceazuresqldatabases + singular: factorylinkedserviceazuresqldatabase + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureSqlDatabase is the Schema for the FactoryLinkedServiceAzureSqlDatabases + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureSqlDatabaseSpec defines the desired + state of FactoryLinkedServiceAzureSqlDatabase + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionString: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keyVaultConnectionString: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + servicePrincipalId: + type: string + servicePrincipalKey: + type: string + tenantId: + type: string + useManagedIdentity: + type: boolean + required: + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureSqlDatabaseStatus defines the observed + state of FactoryLinkedServiceAzureSqlDatabase. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuretablestorages.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuretablestorages.yaml new file mode 100644 index 000000000..ac7aceaa6 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceazuretablestorages.yaml @@ -0,0 +1,209 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceazuretablestorages.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceAzureTableStorage + listKind: FactoryLinkedServiceAzureTableStorageList + plural: factorylinkedserviceazuretablestorages + singular: factorylinkedserviceazuretablestorage + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceAzureTableStorage is the Schema for the FactoryLinkedServiceAzureTableStorages + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceAzureTableStorageSpec defines the desired + state of FactoryLinkedServiceAzureTableStorage + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - connectionStringSecretRef + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceAzureTableStorageStatus defines the observed + state of FactoryLinkedServiceAzureTableStorage. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicecosmosdbs.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicecosmosdbs.yaml new file mode 100644 index 000000000..2b76f378b --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicecosmosdbs.yaml @@ -0,0 +1,230 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicecosmosdbs.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceCosmosdb + listKind: FactoryLinkedServiceCosmosdbList + plural: factorylinkedservicecosmosdbs + singular: factorylinkedservicecosmosdb + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceCosmosdb is the Schema for the FactoryLinkedServiceCosmosdbs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceCosmosdbSpec defines the desired state + of FactoryLinkedServiceCosmosdb + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountEndpoint: + type: string + accountKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dataFactoryName: + type: string + database: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceCosmosdbStatus defines the observed state + of FactoryLinkedServiceCosmosdb. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicedatalakestoragegen2s.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicedatalakestoragegen2s.yaml new file mode 100644 index 000000000..481f31339 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicedatalakestoragegen2s.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicedatalakestoragegen2s.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceDataLakeStorageGen2 + listKind: FactoryLinkedServiceDataLakeStorageGen2List + plural: factorylinkedservicedatalakestoragegen2s + singular: factorylinkedservicedatalakestoragegen2 + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceDataLakeStorageGen2 is the Schema for the + FactoryLinkedServiceDataLakeStorageGen2s API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceDataLakeStorageGen2Spec defines the desired + state of FactoryLinkedServiceDataLakeStorageGen2 + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + servicePrincipalId: + type: string + servicePrincipalKey: + type: string + storageAccountKey: + type: string + tenant: + type: string + url: + type: string + useManagedIdentity: + type: boolean + required: + - dataFactoryName + - name + - resourceGroupName + - url + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceDataLakeStorageGen2Status defines the + observed state of FactoryLinkedServiceDataLakeStorageGen2. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicekeyvaults.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicekeyvaults.yaml new file mode 100644 index 000000000..98dee9776 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicekeyvaults.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicekeyvaults.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceKeyVault + listKind: FactoryLinkedServiceKeyVaultList + plural: factorylinkedservicekeyvaults + singular: factorylinkedservicekeyvault + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceKeyVault is the Schema for the FactoryLinkedServiceKeyVaults + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceKeyVaultSpec defines the desired state + of FactoryLinkedServiceKeyVault + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keyVaultId: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - dataFactoryName + - keyVaultId + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceKeyVaultStatus defines the observed state + of FactoryLinkedServiceKeyVault. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicekustoes.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicekustoes.yaml new file mode 100644 index 000000000..18e002cc3 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicekustoes.yaml @@ -0,0 +1,217 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicekustoes.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceKusto + listKind: FactoryLinkedServiceKustoList + plural: factorylinkedservicekustoes + singular: factorylinkedservicekusto + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceKusto is the Schema for the FactoryLinkedServiceKustos + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceKustoSpec defines the desired state of + FactoryLinkedServiceKusto + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryId: + type: string + description: + type: string + integrationRuntimeName: + type: string + kustoDatabaseName: + type: string + kustoEndpoint: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + servicePrincipalId: + type: string + servicePrincipalKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + tenant: + type: string + useManagedIdentity: + type: boolean + required: + - dataFactoryId + - kustoDatabaseName + - kustoEndpoint + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceKustoStatus defines the observed state + of FactoryLinkedServiceKusto. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicemysqls.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicemysqls.yaml new file mode 100644 index 000000000..a9d7feb15 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicemysqls.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicemysqls.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceMysql + listKind: FactoryLinkedServiceMysqlList + plural: factorylinkedservicemysqls + singular: factorylinkedservicemysql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceMysql is the Schema for the FactoryLinkedServiceMysqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceMysqlSpec defines the desired state of + FactoryLinkedServiceMysql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionString: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - connectionString + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceMysqlStatus defines the observed state + of FactoryLinkedServiceMysql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceodata.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceodata.yaml new file mode 100644 index 000000000..9e2f7dde2 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedserviceodata.yaml @@ -0,0 +1,221 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedserviceodata.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceOdata + listKind: FactoryLinkedServiceOdataList + plural: factorylinkedserviceodata + singular: factorylinkedserviceodata + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceOdata is the Schema for the FactoryLinkedServiceOdatas + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceOdataSpec defines the desired state of + FactoryLinkedServiceOdata + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + basicAuthentication: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + url: + type: string + required: + - dataFactoryName + - name + - resourceGroupName + - url + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceOdataStatus defines the observed state + of FactoryLinkedServiceOdata. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicepostgresqls.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicepostgresqls.yaml new file mode 100644 index 000000000..46e20c579 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicepostgresqls.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicepostgresqls.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServicePostgresql + listKind: FactoryLinkedServicePostgresqlList + plural: factorylinkedservicepostgresqls + singular: factorylinkedservicepostgresql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServicePostgresql is the Schema for the FactoryLinkedServicePostgresqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServicePostgresqlSpec defines the desired state + of FactoryLinkedServicePostgresql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionString: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - connectionString + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServicePostgresqlStatus defines the observed + state of FactoryLinkedServicePostgresql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesftps.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesftps.yaml new file mode 100644 index 000000000..dd089b7a8 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesftps.yaml @@ -0,0 +1,226 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicesftps.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceSftp + listKind: FactoryLinkedServiceSftpList + plural: factorylinkedservicesftps + singular: factorylinkedservicesftp + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceSftp is the Schema for the FactoryLinkedServiceSftps + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceSftpSpec defines the desired state of + FactoryLinkedServiceSftp + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + authenticationType: + type: string + dataFactoryName: + type: string + description: + type: string + host: + type: string + hostKeyFingerprint: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + port: + format: int64 + type: integer + resourceGroupName: + type: string + skipHostKeyValidation: + type: boolean + username: + type: string + required: + - authenticationType + - dataFactoryName + - host + - name + - passwordSecretRef + - port + - resourceGroupName + - username + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceSftpStatus defines the observed state + of FactoryLinkedServiceSftp. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesnowflakes.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesnowflakes.yaml new file mode 100644 index 000000000..9421b6f15 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesnowflakes.yaml @@ -0,0 +1,205 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicesnowflakes.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceSnowflake + listKind: FactoryLinkedServiceSnowflakeList + plural: factorylinkedservicesnowflakes + singular: factorylinkedservicesnowflake + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceSnowflake is the Schema for the FactoryLinkedServiceSnowflakes + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceSnowflakeSpec defines the desired state + of FactoryLinkedServiceSnowflake + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionString: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - connectionString + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceSnowflakeStatus defines the observed + state of FactoryLinkedServiceSnowflake. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesqlservers.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesqlservers.yaml new file mode 100644 index 000000000..63c311c0b --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesqlservers.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicesqlservers.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceSqlServer + listKind: FactoryLinkedServiceSqlServerList + plural: factorylinkedservicesqlservers + singular: factorylinkedservicesqlserver + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceSqlServer is the Schema for the FactoryLinkedServiceSqlServers + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceSqlServerSpec defines the desired state + of FactoryLinkedServiceSqlServer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionString: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keyVaultConnectionString: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceSqlServerStatus defines the observed + state of FactoryLinkedServiceSqlServer. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesynapses.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesynapses.yaml new file mode 100644 index 000000000..335916c1d --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicesynapses.yaml @@ -0,0 +1,205 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicesynapses.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceSynapse + listKind: FactoryLinkedServiceSynapseList + plural: factorylinkedservicesynapses + singular: factorylinkedservicesynapse + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceSynapse is the Schema for the FactoryLinkedServiceSynapses + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceSynapseSpec defines the desired state + of FactoryLinkedServiceSynapse + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + connectionString: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + keyVaultPassword: + items: + properties: + linkedServiceName: + type: string + secretName: + type: string + required: + - linkedServiceName + - secretName + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + required: + - connectionString + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceSynapseStatus defines the observed state + of FactoryLinkedServiceSynapse. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorylinkedservicewebs.yaml b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicewebs.yaml new file mode 100644 index 000000000..51ac6f0d3 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorylinkedservicewebs.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorylinkedservicewebs.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryLinkedServiceWeb + listKind: FactoryLinkedServiceWebList + plural: factorylinkedservicewebs + singular: factorylinkedserviceweb + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryLinkedServiceWeb is the Schema for the FactoryLinkedServiceWebs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryLinkedServiceWebSpec defines the desired state of + FactoryLinkedServiceWeb + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + authenticationType: + type: string + dataFactoryName: + type: string + description: + type: string + integrationRuntimeName: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + url: + type: string + username: + type: string + required: + - authenticationType + - dataFactoryName + - name + - resourceGroupName + - url + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryLinkedServiceWebStatus defines the observed state + of FactoryLinkedServiceWeb. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorymanagedprivateendpoints.yaml b/package/crds/data.azure.jet.crossplane.io_factorymanagedprivateendpoints.yaml new file mode 100644 index 000000000..0304b19da --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorymanagedprivateendpoints.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorymanagedprivateendpoints.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryManagedPrivateEndpoint + listKind: FactoryManagedPrivateEndpointList + plural: factorymanagedprivateendpoints + singular: factorymanagedprivateendpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryManagedPrivateEndpoint is the Schema for the FactoryManagedPrivateEndpoints + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryManagedPrivateEndpointSpec defines the desired state + of FactoryManagedPrivateEndpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataFactoryId: + type: string + name: + type: string + subresourceName: + type: string + targetResourceId: + type: string + required: + - dataFactoryId + - name + - subresourceName + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryManagedPrivateEndpointStatus defines the observed + state of FactoryManagedPrivateEndpoint. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorypipelines.yaml b/package/crds/data.azure.jet.crossplane.io_factorypipelines.yaml new file mode 100644 index 000000000..e9de03336 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorypipelines.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorypipelines.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryPipeline + listKind: FactoryPipelineList + plural: factorypipelines + singular: factorypipeline + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryPipeline is the Schema for the FactoryPipelines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryPipelineSpec defines the desired state of FactoryPipeline + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + activitiesJson: + type: string + annotations: + items: + type: string + type: array + concurrency: + format: int64 + type: integer + dataFactoryName: + type: string + description: + type: string + folder: + type: string + moniterMetricsAfterDuration: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + variables: + additionalProperties: + type: string + type: object + required: + - dataFactoryName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryPipelineStatus defines the observed state of FactoryPipeline. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorytriggerblobevents.yaml b/package/crds/data.azure.jet.crossplane.io_factorytriggerblobevents.yaml new file mode 100644 index 000000000..160ef17e8 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorytriggerblobevents.yaml @@ -0,0 +1,211 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorytriggerblobevents.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryTriggerBlobEvent + listKind: FactoryTriggerBlobEventList + plural: factorytriggerblobevents + singular: factorytriggerblobevent + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryTriggerBlobEvent is the Schema for the FactoryTriggerBlobEvents + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryTriggerBlobEventSpec defines the desired state of + FactoryTriggerBlobEvent + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + activated: + type: boolean + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + blobPathBeginsWith: + type: string + blobPathEndsWith: + type: string + dataFactoryId: + type: string + description: + type: string + events: + items: + type: string + type: array + ignoreEmptyBlobs: + type: boolean + name: + type: string + pipeline: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + storageAccountId: + type: string + required: + - dataFactoryId + - events + - name + - pipeline + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryTriggerBlobEventStatus defines the observed state + of FactoryTriggerBlobEvent. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorytriggercustomevents.yaml b/package/crds/data.azure.jet.crossplane.io_factorytriggercustomevents.yaml new file mode 100644 index 000000000..b82180c8e --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorytriggercustomevents.yaml @@ -0,0 +1,209 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorytriggercustomevents.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryTriggerCustomEvent + listKind: FactoryTriggerCustomEventList + plural: factorytriggercustomevents + singular: factorytriggercustomevent + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryTriggerCustomEvent is the Schema for the FactoryTriggerCustomEvents + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryTriggerCustomEventSpec defines the desired state of + FactoryTriggerCustomEvent + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + activated: + type: boolean + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + dataFactoryId: + type: string + description: + type: string + eventgridTopicId: + type: string + events: + items: + type: string + type: array + name: + type: string + pipeline: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + subjectBeginsWith: + type: string + subjectEndsWith: + type: string + required: + - dataFactoryId + - eventgridTopicId + - events + - name + - pipeline + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryTriggerCustomEventStatus defines the observed state + of FactoryTriggerCustomEvent. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_factorytriggerschedules.yaml b/package/crds/data.azure.jet.crossplane.io_factorytriggerschedules.yaml new file mode 100644 index 000000000..a12aa4481 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_factorytriggerschedules.yaml @@ -0,0 +1,233 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: factorytriggerschedules.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FactoryTriggerSchedule + listKind: FactoryTriggerScheduleList + plural: factorytriggerschedules + singular: factorytriggerschedule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FactoryTriggerSchedule is the Schema for the FactoryTriggerSchedules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FactoryTriggerScheduleSpec defines the desired state of FactoryTriggerSchedule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + activated: + type: boolean + annotations: + items: + type: string + type: array + dataFactoryName: + type: string + description: + type: string + endTime: + type: string + frequency: + type: string + interval: + format: int64 + type: integer + name: + type: string + pipelineName: + type: string + pipelineParameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + schedule: + items: + properties: + daysOfMonth: + items: + format: int64 + type: integer + type: array + daysOfWeek: + items: + type: string + type: array + hours: + items: + format: int64 + type: integer + type: array + minutes: + items: + format: int64 + type: integer + type: array + monthly: + items: + properties: + week: + format: int64 + type: integer + weekday: + type: string + required: + - weekday + type: object + type: array + type: object + type: array + startTime: + type: string + required: + - dataFactoryName + - name + - pipelineName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FactoryTriggerScheduleStatus defines the observed state of + FactoryTriggerSchedule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_lakeanalyticsfirewallrules.yaml b/package/crds/data.azure.jet.crossplane.io_lakeanalyticsfirewallrules.yaml new file mode 100644 index 000000000..23e0f2d06 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_lakeanalyticsfirewallrules.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: lakeanalyticsfirewallrules.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LakeAnalyticsFirewallRule + listKind: LakeAnalyticsFirewallRuleList + plural: lakeanalyticsfirewallrules + singular: lakeanalyticsfirewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LakeAnalyticsFirewallRule is the Schema for the LakeAnalyticsFirewallRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LakeAnalyticsFirewallRuleSpec defines the desired state of + LakeAnalyticsFirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + endIpAddress: + type: string + name: + type: string + resourceGroupName: + type: string + startIpAddress: + type: string + required: + - accountName + - endIpAddress + - name + - resourceGroupName + - startIpAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LakeAnalyticsFirewallRuleStatus defines the observed state + of LakeAnalyticsFirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_lakestorefiles.yaml b/package/crds/data.azure.jet.crossplane.io_lakestorefiles.yaml new file mode 100644 index 000000000..0212bf28c --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_lakestorefiles.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: lakestorefiles.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LakeStoreFile + listKind: LakeStoreFileList + plural: lakestorefiles + singular: lakestorefile + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LakeStoreFile is the Schema for the LakeStoreFiles API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LakeStoreFileSpec defines the desired state of LakeStoreFile + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + localFilePath: + type: string + remoteFilePath: + type: string + required: + - accountName + - localFilePath + - remoteFilePath + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LakeStoreFileStatus defines the observed state of LakeStoreFile. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_lakestorefirewallrules.yaml b/package/crds/data.azure.jet.crossplane.io_lakestorefirewallrules.yaml new file mode 100644 index 000000000..a46379667 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_lakestorefirewallrules.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: lakestorefirewallrules.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LakeStoreFirewallRule + listKind: LakeStoreFirewallRuleList + plural: lakestorefirewallrules + singular: lakestorefirewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LakeStoreFirewallRule is the Schema for the LakeStoreFirewallRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LakeStoreFirewallRuleSpec defines the desired state of LakeStoreFirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + endIpAddress: + type: string + name: + type: string + resourceGroupName: + type: string + startIpAddress: + type: string + required: + - accountName + - endIpAddress + - name + - resourceGroupName + - startIpAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LakeStoreFirewallRuleStatus defines the observed state of + LakeStoreFirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_lakestores.yaml b/package/crds/data.azure.jet.crossplane.io_lakestores.yaml new file mode 100644 index 000000000..b43544faf --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_lakestores.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: lakestores.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LakeStore + listKind: LakeStoreList + plural: lakestores + singular: lakestore + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LakeStore is the Schema for the LakeStores API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LakeStoreSpec defines the desired state of LakeStore + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + encryptionState: + type: string + encryptionType: + type: string + firewallAllowAzureIps: + type: string + firewallState: + type: string + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + tier: + type: string + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LakeStoreStatus defines the observed state of LakeStore. + properties: + atProvider: + properties: + endpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_lakestorevirtualnetworkrules.yaml b/package/crds/data.azure.jet.crossplane.io_lakestorevirtualnetworkrules.yaml new file mode 100644 index 000000000..3f1102c58 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_lakestorevirtualnetworkrules.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: lakestorevirtualnetworkrules.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LakeStoreVirtualNetworkRule + listKind: LakeStoreVirtualNetworkRuleList + plural: lakestorevirtualnetworkrules + singular: lakestorevirtualnetworkrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LakeStoreVirtualNetworkRule is the Schema for the LakeStoreVirtualNetworkRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LakeStoreVirtualNetworkRuleSpec defines the desired state + of LakeStoreVirtualNetworkRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + name: + type: string + resourceGroupName: + type: string + subnetId: + type: string + required: + - accountName + - name + - resourceGroupName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LakeStoreVirtualNetworkRuleStatus defines the observed state + of LakeStoreVirtualNetworkRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackupinstanceblobstorages.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackupinstanceblobstorages.yaml new file mode 100644 index 000000000..ba7e61a14 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackupinstanceblobstorages.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackupinstanceblobstorages.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupInstanceBlobStorage + listKind: ProtectionBackupInstanceBlobStorageList + plural: protectionbackupinstanceblobstorages + singular: protectionbackupinstanceblobstorage + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupInstanceBlobStorage is the Schema for the ProtectionBackupInstanceBlobStorages + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupInstanceBlobStorageSpec defines the desired + state of ProtectionBackupInstanceBlobStorage + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupPolicyId: + type: string + location: + type: string + name: + type: string + storageAccountId: + type: string + vaultId: + type: string + required: + - backupPolicyId + - location + - name + - storageAccountId + - vaultId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupInstanceBlobStorageStatus defines the observed + state of ProtectionBackupInstanceBlobStorage. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackupinstancedisks.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackupinstancedisks.yaml new file mode 100644 index 000000000..c5b0e443c --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackupinstancedisks.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackupinstancedisks.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupInstanceDisk + listKind: ProtectionBackupInstanceDiskList + plural: protectionbackupinstancedisks + singular: protectionbackupinstancedisk + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupInstanceDisk is the Schema for the ProtectionBackupInstanceDisks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupInstanceDiskSpec defines the desired state + of ProtectionBackupInstanceDisk + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupPolicyId: + type: string + diskId: + type: string + location: + type: string + name: + type: string + snapshotResourceGroupName: + type: string + vaultId: + type: string + required: + - backupPolicyId + - diskId + - location + - name + - snapshotResourceGroupName + - vaultId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupInstanceDiskStatus defines the observed state + of ProtectionBackupInstanceDisk. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackupinstancepostgresqls.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackupinstancepostgresqls.yaml new file mode 100644 index 000000000..ad3a2983d --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackupinstancepostgresqls.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackupinstancepostgresqls.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupInstancePostgresql + listKind: ProtectionBackupInstancePostgresqlList + plural: protectionbackupinstancepostgresqls + singular: protectionbackupinstancepostgresql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupInstancePostgresql is the Schema for the ProtectionBackupInstancePostgresqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupInstancePostgresqlSpec defines the desired + state of ProtectionBackupInstancePostgresql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupPolicyId: + type: string + databaseCredentialKeyVaultSecretId: + type: string + databaseId: + type: string + location: + type: string + name: + type: string + vaultId: + type: string + required: + - backupPolicyId + - databaseId + - location + - name + - vaultId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupInstancePostgresqlStatus defines the observed + state of ProtectionBackupInstancePostgresql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicyblobstorages.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicyblobstorages.yaml new file mode 100644 index 000000000..45202e2cd --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicyblobstorages.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackuppolicyblobstorages.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupPolicyBlobStorage + listKind: ProtectionBackupPolicyBlobStorageList + plural: protectionbackuppolicyblobstorages + singular: protectionbackuppolicyblobstorage + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupPolicyBlobStorage is the Schema for the ProtectionBackupPolicyBlobStorages + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupPolicyBlobStorageSpec defines the desired + state of ProtectionBackupPolicyBlobStorage + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + retentionDuration: + type: string + vaultId: + type: string + required: + - name + - retentionDuration + - vaultId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupPolicyBlobStorageStatus defines the observed + state of ProtectionBackupPolicyBlobStorage. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicydisks.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicydisks.yaml new file mode 100644 index 000000000..a2e85efac --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicydisks.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackuppolicydisks.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupPolicyDisk + listKind: ProtectionBackupPolicyDiskList + plural: protectionbackuppolicydisks + singular: protectionbackuppolicydisk + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupPolicyDisk is the Schema for the ProtectionBackupPolicyDisks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupPolicyDiskSpec defines the desired state + of ProtectionBackupPolicyDisk + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupRepeatingTimeIntervals: + items: + type: string + type: array + defaultRetentionDuration: + type: string + name: + type: string + retentionRule: + items: + properties: + criteria: + items: + properties: + absoluteCriteria: + type: string + type: object + type: array + duration: + type: string + name: + type: string + priority: + format: int64 + type: integer + required: + - criteria + - duration + - name + - priority + type: object + type: array + vaultId: + type: string + required: + - backupRepeatingTimeIntervals + - defaultRetentionDuration + - name + - vaultId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupPolicyDiskStatus defines the observed state + of ProtectionBackupPolicyDisk. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicypostgresqls.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicypostgresqls.yaml new file mode 100644 index 000000000..719951afd --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackuppolicypostgresqls.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackuppolicypostgresqls.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupPolicyPostgresql + listKind: ProtectionBackupPolicyPostgresqlList + plural: protectionbackuppolicypostgresqls + singular: protectionbackuppolicypostgresql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupPolicyPostgresql is the Schema for the ProtectionBackupPolicyPostgresqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupPolicyPostgresqlSpec defines the desired + state of ProtectionBackupPolicyPostgresql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backupRepeatingTimeIntervals: + items: + type: string + type: array + defaultRetentionDuration: + type: string + name: + type: string + resourceGroupName: + type: string + retentionRule: + items: + properties: + criteria: + items: + properties: + absoluteCriteria: + type: string + daysOfWeek: + items: + type: string + type: array + monthsOfYear: + items: + type: string + type: array + scheduledBackupTimes: + items: + type: string + type: array + weeksOfMonth: + items: + type: string + type: array + type: object + type: array + duration: + type: string + name: + type: string + priority: + format: int64 + type: integer + required: + - criteria + - duration + - name + - priority + type: object + type: array + vaultName: + type: string + required: + - backupRepeatingTimeIntervals + - defaultRetentionDuration + - name + - resourceGroupName + - vaultName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupPolicyPostgresqlStatus defines the observed + state of ProtectionBackupPolicyPostgresql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_protectionbackupvaults.yaml b/package/crds/data.azure.jet.crossplane.io_protectionbackupvaults.yaml new file mode 100644 index 000000000..62a3c7db6 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_protectionbackupvaults.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: protectionbackupvaults.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProtectionBackupVault + listKind: ProtectionBackupVaultList + plural: protectionbackupvaults + singular: protectionbackupvault + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProtectionBackupVault is the Schema for the ProtectionBackupVaults + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProtectionBackupVaultSpec defines the desired state of ProtectionBackupVault + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + datastoreType: + type: string + identity: + items: + properties: + type: + type: string + type: object + type: array + location: + type: string + name: + type: string + redundancy: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - datastoreType + - location + - name + - redundancy + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProtectionBackupVaultStatus defines the observed state of + ProtectionBackupVault. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_shareaccounts.yaml b/package/crds/data.azure.jet.crossplane.io_shareaccounts.yaml new file mode 100644 index 000000000..e8ab4b92b --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_shareaccounts.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: shareaccounts.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareAccount + listKind: ShareAccountList + plural: shareaccounts + singular: shareaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareAccount is the Schema for the ShareAccounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareAccountSpec defines the desired state of ShareAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - identity + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareAccountStatus defines the observed state of ShareAccount. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_sharedatasetblobstorages.yaml b/package/crds/data.azure.jet.crossplane.io_sharedatasetblobstorages.yaml new file mode 100644 index 000000000..19e894e1a --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_sharedatasetblobstorages.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sharedatasetblobstorages.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareDatasetBlobStorage + listKind: ShareDatasetBlobStorageList + plural: sharedatasetblobstorages + singular: sharedatasetblobstorage + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareDatasetBlobStorage is the Schema for the ShareDatasetBlobStorages + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareDatasetBlobStorageSpec defines the desired state of + ShareDatasetBlobStorage + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + containerName: + type: string + dataShareId: + type: string + filePath: + type: string + folderPath: + type: string + name: + type: string + storageAccount: + items: + properties: + name: + type: string + resourceGroupName: + type: string + subscriptionId: + type: string + required: + - name + - resourceGroupName + - subscriptionId + type: object + type: array + required: + - containerName + - dataShareId + - name + - storageAccount + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareDatasetBlobStorageStatus defines the observed state + of ShareDatasetBlobStorage. + properties: + atProvider: + properties: + displayName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_sharedatasetdatalakegen1s.yaml b/package/crds/data.azure.jet.crossplane.io_sharedatasetdatalakegen1s.yaml new file mode 100644 index 000000000..3c29b88b3 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_sharedatasetdatalakegen1s.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sharedatasetdatalakegen1s.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareDatasetDataLakeGen1 + listKind: ShareDatasetDataLakeGen1List + plural: sharedatasetdatalakegen1s + singular: sharedatasetdatalakegen1 + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareDatasetDataLakeGen1 is the Schema for the ShareDatasetDataLakeGen1s + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareDatasetDataLakeGen1Spec defines the desired state of + ShareDatasetDataLakeGen1 + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataLakeStoreId: + type: string + dataShareId: + type: string + fileName: + type: string + folderPath: + type: string + name: + type: string + required: + - dataLakeStoreId + - dataShareId + - folderPath + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareDatasetDataLakeGen1Status defines the observed state + of ShareDatasetDataLakeGen1. + properties: + atProvider: + properties: + displayName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_sharedatasetdatalakegen2s.yaml b/package/crds/data.azure.jet.crossplane.io_sharedatasetdatalakegen2s.yaml new file mode 100644 index 000000000..c6d9d757e --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_sharedatasetdatalakegen2s.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sharedatasetdatalakegen2s.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareDatasetDataLakeGen2 + listKind: ShareDatasetDataLakeGen2List + plural: sharedatasetdatalakegen2s + singular: sharedatasetdatalakegen2 + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareDatasetDataLakeGen2 is the Schema for the ShareDatasetDataLakeGen2s + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareDatasetDataLakeGen2Spec defines the desired state of + ShareDatasetDataLakeGen2 + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + filePath: + type: string + fileSystemName: + type: string + folderPath: + type: string + name: + type: string + shareId: + type: string + storageAccountId: + type: string + required: + - fileSystemName + - name + - shareId + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareDatasetDataLakeGen2Status defines the observed state + of ShareDatasetDataLakeGen2. + properties: + atProvider: + properties: + displayName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_sharedatasetkustoclusters.yaml b/package/crds/data.azure.jet.crossplane.io_sharedatasetkustoclusters.yaml new file mode 100644 index 000000000..daca0487c --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_sharedatasetkustoclusters.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sharedatasetkustoclusters.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareDatasetKustoCluster + listKind: ShareDatasetKustoClusterList + plural: sharedatasetkustoclusters + singular: sharedatasetkustocluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareDatasetKustoCluster is the Schema for the ShareDatasetKustoClusters + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareDatasetKustoClusterSpec defines the desired state of + ShareDatasetKustoCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + kustoClusterId: + type: string + name: + type: string + shareId: + type: string + required: + - kustoClusterId + - name + - shareId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareDatasetKustoClusterStatus defines the observed state + of ShareDatasetKustoCluster. + properties: + atProvider: + properties: + displayName: + type: string + kustoClusterLocation: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_sharedatasetkustodatabases.yaml b/package/crds/data.azure.jet.crossplane.io_sharedatasetkustodatabases.yaml new file mode 100644 index 000000000..0fe841d87 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_sharedatasetkustodatabases.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sharedatasetkustodatabases.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareDatasetKustoDatabase + listKind: ShareDatasetKustoDatabaseList + plural: sharedatasetkustodatabases + singular: sharedatasetkustodatabase + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareDatasetKustoDatabase is the Schema for the ShareDatasetKustoDatabases + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareDatasetKustoDatabaseSpec defines the desired state of + ShareDatasetKustoDatabase + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + kustoDatabaseId: + type: string + name: + type: string + shareId: + type: string + required: + - kustoDatabaseId + - name + - shareId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareDatasetKustoDatabaseStatus defines the observed state + of ShareDatasetKustoDatabase. + properties: + atProvider: + properties: + displayName: + type: string + kustoClusterLocation: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/data.azure.jet.crossplane.io_shares.yaml b/package/crds/data.azure.jet.crossplane.io_shares.yaml new file mode 100644 index 000000000..862855cc9 --- /dev/null +++ b/package/crds/data.azure.jet.crossplane.io_shares.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: shares.data.azure.jet.crossplane.io +spec: + group: data.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Share + listKind: ShareList + plural: shares + singular: share + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Share is the Schema for the Shares API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareSpec defines the desired state of Share + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountId: + type: string + description: + type: string + kind: + type: string + name: + type: string + snapshotSchedule: + items: + properties: + name: + type: string + recurrence: + type: string + startTime: + type: string + required: + - name + - recurrence + - startTime + type: object + type: array + terms: + type: string + required: + - accountId + - kind + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareStatus defines the observed state of Share. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/database.azure.jet.crossplane.io_migrationprojects.yaml b/package/crds/database.azure.jet.crossplane.io_migrationprojects.yaml new file mode 100644 index 000000000..900a5479d --- /dev/null +++ b/package/crds/database.azure.jet.crossplane.io_migrationprojects.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: migrationprojects.database.azure.jet.crossplane.io +spec: + group: database.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: MigrationProject + listKind: MigrationProjectList + plural: migrationprojects + singular: migrationproject + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: MigrationProject is the Schema for the MigrationProjects API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MigrationProjectSpec defines the desired state of MigrationProject + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + serviceName: + type: string + sourcePlatform: + type: string + tags: + additionalProperties: + type: string + type: object + targetPlatform: + type: string + required: + - location + - name + - resourceGroupName + - serviceName + - sourcePlatform + - targetPlatform + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: MigrationProjectStatus defines the observed state of MigrationProject. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/database.azure.jet.crossplane.io_migrationservices.yaml b/package/crds/database.azure.jet.crossplane.io_migrationservices.yaml new file mode 100644 index 000000000..77485d5cf --- /dev/null +++ b/package/crds/database.azure.jet.crossplane.io_migrationservices.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: migrationservices.database.azure.jet.crossplane.io +spec: + group: database.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: MigrationService + listKind: MigrationServiceList + plural: migrationservices + singular: migrationservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: MigrationService is the Schema for the MigrationServices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MigrationServiceSpec defines the desired state of MigrationService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: MigrationServiceStatus defines the observed state of MigrationService. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/databox.azure.jet.crossplane.io_edgedevices.yaml b/package/crds/databox.azure.jet.crossplane.io_edgedevices.yaml new file mode 100644 index 000000000..95b8443d8 --- /dev/null +++ b/package/crds/databox.azure.jet.crossplane.io_edgedevices.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: edgedevices.databox.azure.jet.crossplane.io +spec: + group: databox.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EdgeDevice + listKind: EdgeDeviceList + plural: edgedevices + singular: edgedevice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EdgeDevice is the Schema for the EdgeDevices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EdgeDeviceSpec defines the desired state of EdgeDevice + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EdgeDeviceStatus defines the observed state of EdgeDevice. + properties: + atProvider: + properties: + deviceProperties: + items: + properties: + capacity: + format: int64 + type: integer + configuredRoleTypes: + items: + type: string + type: array + culture: + type: string + hcsVersion: + type: string + model: + type: string + nodeCount: + format: int64 + type: integer + serialNumber: + type: string + softwareVersion: + type: string + status: + type: string + timeZone: + type: string + type: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/databox.azure.jet.crossplane.io_edgeorders.yaml b/package/crds/databox.azure.jet.crossplane.io_edgeorders.yaml new file mode 100644 index 000000000..6add1343d --- /dev/null +++ b/package/crds/databox.azure.jet.crossplane.io_edgeorders.yaml @@ -0,0 +1,272 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: edgeorders.databox.azure.jet.crossplane.io +spec: + group: databox.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EdgeOrder + listKind: EdgeOrderList + plural: edgeorders + singular: edgeorder + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EdgeOrder is the Schema for the EdgeOrders API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EdgeOrderSpec defines the desired state of EdgeOrder + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + contact: + items: + properties: + companyName: + type: string + emails: + items: + type: string + type: array + name: + type: string + phoneNumber: + type: string + required: + - companyName + - emails + - name + - phoneNumber + type: object + type: array + deviceName: + type: string + resourceGroupName: + type: string + shipmentAddress: + items: + properties: + address: + items: + type: string + type: array + city: + type: string + country: + type: string + postalCode: + type: string + state: + type: string + required: + - address + - city + - country + - postalCode + - state + type: object + type: array + required: + - contact + - deviceName + - resourceGroupName + - shipmentAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EdgeOrderStatus defines the observed state of EdgeOrder. + properties: + atProvider: + properties: + name: + type: string + returnTracking: + items: + properties: + carrierName: + type: string + serialNumber: + type: string + trackingId: + type: string + trackingUrl: + type: string + type: object + type: array + serialNumber: + type: string + shipmentHistory: + items: + properties: + additionalDetails: + additionalProperties: + type: string + type: object + comments: + type: string + lastUpdate: + type: string + type: object + type: array + shipmentTracking: + items: + properties: + carrierName: + type: string + serialNumber: + type: string + trackingId: + type: string + trackingUrl: + type: string + type: object + type: array + status: + items: + properties: + additionalDetails: + additionalProperties: + type: string + type: object + comments: + type: string + info: + type: string + lastUpdate: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/databricks.azure.jet.crossplane.io_workspacecustomermanagedkeys.yaml b/package/crds/databricks.azure.jet.crossplane.io_workspacecustomermanagedkeys.yaml new file mode 100644 index 000000000..7081683e6 --- /dev/null +++ b/package/crds/databricks.azure.jet.crossplane.io_workspacecustomermanagedkeys.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspacecustomermanagedkeys.databricks.azure.jet.crossplane.io +spec: + group: databricks.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WorkspaceCustomerManagedKey + listKind: WorkspaceCustomerManagedKeyList + plural: workspacecustomermanagedkeys + singular: workspacecustomermanagedkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WorkspaceCustomerManagedKey is the Schema for the WorkspaceCustomerManagedKeys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceCustomerManagedKeySpec defines the desired state + of WorkspaceCustomerManagedKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultKeyId: + type: string + workspaceId: + type: string + required: + - keyVaultKeyId + - workspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceCustomerManagedKeyStatus defines the observed state + of WorkspaceCustomerManagedKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/databricks.azure.jet.crossplane.io_workspaces.yaml b/package/crds/databricks.azure.jet.crossplane.io_workspaces.yaml new file mode 100644 index 000000000..f2893f9b1 --- /dev/null +++ b/package/crds/databricks.azure.jet.crossplane.io_workspaces.yaml @@ -0,0 +1,235 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspaces.databricks.azure.jet.crossplane.io +spec: + group: databricks.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Workspace + listKind: WorkspaceList + plural: workspaces + singular: workspace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Workspace is the Schema for the Workspaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceSpec defines the desired state of Workspace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customParameters: + items: + properties: + machineLearningWorkspaceId: + type: string + natGatewayName: + type: string + noPublicIp: + type: boolean + privateSubnetName: + type: string + privateSubnetNetworkSecurityGroupAssociationId: + type: string + publicIpName: + type: string + publicSubnetName: + type: string + publicSubnetNetworkSecurityGroupAssociationId: + type: string + storageAccountName: + type: string + storageAccountSkuName: + type: string + virtualNetworkId: + type: string + vnetAddressPrefix: + type: string + type: object + type: array + customerManagedKeyEnabled: + type: boolean + infrastructureEncryptionEnabled: + type: boolean + loadBalancerBackendAddressPoolId: + type: string + location: + type: string + managedResourceGroupName: + type: string + managedServicesCmkKeyVaultKeyId: + type: string + name: + type: string + networkSecurityGroupRulesRequired: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceStatus defines the observed state of Workspace. + properties: + atProvider: + properties: + managedResourceGroupId: + type: string + storageAccountIdentity: + items: + properties: + type: + type: string + type: object + type: array + workspaceId: + type: string + workspaceUrl: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dedicated.azure.jet.crossplane.io_hardwaresecuritymodules.yaml b/package/crds/dedicated.azure.jet.crossplane.io_hardwaresecuritymodules.yaml new file mode 100644 index 000000000..175ce506c --- /dev/null +++ b/package/crds/dedicated.azure.jet.crossplane.io_hardwaresecuritymodules.yaml @@ -0,0 +1,201 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hardwaresecuritymodules.dedicated.azure.jet.crossplane.io +spec: + group: dedicated.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HardwareSecurityModule + listKind: HardwareSecurityModuleList + plural: hardwaresecuritymodules + singular: hardwaresecuritymodule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HardwareSecurityModule is the Schema for the HardwareSecurityModules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HardwareSecurityModuleSpec defines the desired state of HardwareSecurityModule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + networkProfile: + items: + properties: + networkInterfacePrivateIpAddresses: + items: + type: string + type: array + subnetId: + type: string + required: + - networkInterfacePrivateIpAddresses + - subnetId + type: object + type: array + resourceGroupName: + type: string + skuName: + type: string + stampId: + type: string + tags: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - location + - name + - networkProfile + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HardwareSecurityModuleStatus defines the observed state of + HardwareSecurityModule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dedicated.azure.jet.crossplane.io_hosts.yaml b/package/crds/dedicated.azure.jet.crossplane.io_hosts.yaml new file mode 100644 index 000000000..0b626e070 --- /dev/null +++ b/package/crds/dedicated.azure.jet.crossplane.io_hosts.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hosts.dedicated.azure.jet.crossplane.io +spec: + group: dedicated.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Host + listKind: HostList + plural: hosts + singular: host + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Host is the Schema for the Hosts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HostSpec defines the desired state of Host + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoReplaceOnFailure: + type: boolean + dedicatedHostGroupId: + type: string + licenseType: + type: string + location: + type: string + name: + type: string + platformFaultDomain: + format: int64 + type: integer + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - dedicatedHostGroupId + - location + - name + - platformFaultDomain + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HostStatus defines the observed state of Host. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testglobalvmshutdownschedules.yaml b/package/crds/dev.azure.jet.crossplane.io_testglobalvmshutdownschedules.yaml new file mode 100644 index 000000000..b8a0646c0 --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testglobalvmshutdownschedules.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testglobalvmshutdownschedules.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestGlobalVmShutdownSchedule + listKind: TestGlobalVmShutdownScheduleList + plural: testglobalvmshutdownschedules + singular: testglobalvmshutdownschedule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestGlobalVmShutdownSchedule is the Schema for the TestGlobalVmShutdownSchedules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestGlobalVmShutdownScheduleSpec defines the desired state + of TestGlobalVmShutdownSchedule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dailyRecurrenceTime: + type: string + enabled: + type: boolean + location: + type: string + notificationSettings: + items: + properties: + email: + type: string + enabled: + type: boolean + timeInMinutes: + format: int64 + type: integer + webhookUrl: + type: string + required: + - enabled + type: object + type: array + tags: + additionalProperties: + type: string + type: object + timezone: + type: string + virtualMachineId: + type: string + required: + - dailyRecurrenceTime + - location + - notificationSettings + - timezone + - virtualMachineId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestGlobalVmShutdownScheduleStatus defines the observed state + of TestGlobalVmShutdownSchedule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testlabs.yaml b/package/crds/dev.azure.jet.crossplane.io_testlabs.yaml new file mode 100644 index 000000000..96afdfd85 --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testlabs.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testlabs.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestLab + listKind: TestLabList + plural: testlabs + singular: testlab + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestLab is the Schema for the TestLabs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestLabSpec defines the desired state of TestLab + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + storageType: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestLabStatus defines the observed state of TestLab. + properties: + atProvider: + properties: + artifactsStorageAccountId: + type: string + defaultPremiumStorageAccountId: + type: string + defaultStorageAccountId: + type: string + keyVaultId: + type: string + premiumDataDiskStorageAccountId: + type: string + uniqueIdentifier: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testlinuxvirtualmachines.yaml b/package/crds/dev.azure.jet.crossplane.io_testlinuxvirtualmachines.yaml new file mode 100644 index 000000000..80c927e2f --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testlinuxvirtualmachines.yaml @@ -0,0 +1,259 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testlinuxvirtualmachines.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestLinuxVirtualMachine + listKind: TestLinuxVirtualMachineList + plural: testlinuxvirtualmachines + singular: testlinuxvirtualmachine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestLinuxVirtualMachine is the Schema for the TestLinuxVirtualMachines + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestLinuxVirtualMachineSpec defines the desired state of + TestLinuxVirtualMachine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowClaim: + type: boolean + disallowPublicIpAddress: + type: boolean + galleryImageReference: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + required: + - offer + - publisher + - sku + - version + type: object + type: array + inboundNatRule: + items: + properties: + backendPort: + format: int64 + type: integer + protocol: + type: string + required: + - backendPort + - protocol + type: object + type: array + labName: + type: string + labSubnetName: + type: string + labVirtualNetworkId: + type: string + location: + type: string + name: + type: string + notes: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + size: + type: string + sshKey: + type: string + storageType: + type: string + tags: + additionalProperties: + type: string + type: object + username: + type: string + required: + - galleryImageReference + - labName + - labSubnetName + - labVirtualNetworkId + - location + - name + - resourceGroupName + - size + - storageType + - username + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestLinuxVirtualMachineStatus defines the observed state + of TestLinuxVirtualMachine. + properties: + atProvider: + properties: + fqdn: + type: string + uniqueIdentifier: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testpolicies.yaml b/package/crds/dev.azure.jet.crossplane.io_testpolicies.yaml new file mode 100644 index 000000000..56d1a1966 --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testpolicies.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testpolicies.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestPolicy + listKind: TestPolicyList + plural: testpolicies + singular: testpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestPolicy is the Schema for the TestPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestPolicySpec defines the desired state of TestPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + evaluatorType: + type: string + factData: + type: string + labName: + type: string + name: + type: string + policySetName: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + threshold: + type: string + required: + - evaluatorType + - labName + - name + - policySetName + - resourceGroupName + - threshold + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestPolicyStatus defines the observed state of TestPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testschedules.yaml b/package/crds/dev.azure.jet.crossplane.io_testschedules.yaml new file mode 100644 index 000000000..c0328a743 --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testschedules.yaml @@ -0,0 +1,231 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testschedules.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestSchedule + listKind: TestScheduleList + plural: testschedules + singular: testschedule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestSchedule is the Schema for the TestSchedules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestScheduleSpec defines the desired state of TestSchedule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dailyRecurrence: + items: + properties: + time: + type: string + required: + - time + type: object + type: array + hourlyRecurrence: + items: + properties: + minute: + format: int64 + type: integer + required: + - minute + type: object + type: array + labName: + type: string + location: + type: string + name: + type: string + notificationSettings: + items: + properties: + status: + type: string + timeInMinutes: + format: int64 + type: integer + webhookUrl: + type: string + type: object + type: array + resourceGroupName: + type: string + status: + type: string + tags: + additionalProperties: + type: string + type: object + taskType: + type: string + timeZoneId: + type: string + weeklyRecurrence: + items: + properties: + time: + type: string + weekDays: + items: + type: string + type: array + required: + - time + type: object + type: array + required: + - labName + - location + - name + - notificationSettings + - resourceGroupName + - taskType + - timeZoneId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestScheduleStatus defines the observed state of TestSchedule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testvirtualnetworks.yaml b/package/crds/dev.azure.jet.crossplane.io_testvirtualnetworks.yaml new file mode 100644 index 000000000..e3dd5a65e --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testvirtualnetworks.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testvirtualnetworks.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestVirtualNetwork + listKind: TestVirtualNetworkList + plural: testvirtualnetworks + singular: testvirtualnetwork + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestVirtualNetwork is the Schema for the TestVirtualNetworks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestVirtualNetworkSpec defines the desired state of TestVirtualNetwork + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + labName: + type: string + name: + type: string + resourceGroupName: + type: string + subnet: + items: + properties: + useInVirtualMachineCreation: + type: string + usePublicIpAddress: + type: string + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - labName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestVirtualNetworkStatus defines the observed state of TestVirtualNetwork. + properties: + atProvider: + properties: + uniqueIdentifier: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dev.azure.jet.crossplane.io_testwindowsvirtualmachines.yaml b/package/crds/dev.azure.jet.crossplane.io_testwindowsvirtualmachines.yaml new file mode 100644 index 000000000..791219264 --- /dev/null +++ b/package/crds/dev.azure.jet.crossplane.io_testwindowsvirtualmachines.yaml @@ -0,0 +1,242 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: testwindowsvirtualmachines.dev.azure.jet.crossplane.io +spec: + group: dev.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TestWindowsVirtualMachine + listKind: TestWindowsVirtualMachineList + plural: testwindowsvirtualmachines + singular: testwindowsvirtualmachine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TestWindowsVirtualMachine is the Schema for the TestWindowsVirtualMachines + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TestWindowsVirtualMachineSpec defines the desired state of + TestWindowsVirtualMachine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowClaim: + type: boolean + disallowPublicIpAddress: + type: boolean + galleryImageReference: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + required: + - offer + - publisher + - sku + - version + type: object + type: array + inboundNatRule: + items: + properties: + backendPort: + format: int64 + type: integer + protocol: + type: string + required: + - backendPort + - protocol + type: object + type: array + labName: + type: string + labSubnetName: + type: string + labVirtualNetworkId: + type: string + location: + type: string + name: + type: string + notes: + type: string + password: + type: string + resourceGroupName: + type: string + size: + type: string + storageType: + type: string + tags: + additionalProperties: + type: string + type: object + username: + type: string + required: + - galleryImageReference + - labName + - labSubnetName + - labVirtualNetworkId + - location + - name + - password + - resourceGroupName + - size + - storageType + - username + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TestWindowsVirtualMachineStatus defines the observed state + of TestWindowsVirtualMachine. + properties: + atProvider: + properties: + fqdn: + type: string + uniqueIdentifier: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/devspace.azure.jet.crossplane.io_controllers.yaml b/package/crds/devspace.azure.jet.crossplane.io_controllers.yaml new file mode 100644 index 000000000..0f45a3076 --- /dev/null +++ b/package/crds/devspace.azure.jet.crossplane.io_controllers.yaml @@ -0,0 +1,205 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: controllers.devspace.azure.jet.crossplane.io +spec: + group: devspace.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Controller + listKind: ControllerList + plural: controllers + singular: controller + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Controller is the Schema for the Controllers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ControllerSpec defines the desired state of Controller + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + targetContainerHostCredentialsBase64SecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + targetContainerHostResourceId: + type: string + required: + - location + - name + - resourceGroupName + - skuName + - targetContainerHostCredentialsBase64SecretRef + - targetContainerHostResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ControllerStatus defines the observed state of Controller. + properties: + atProvider: + properties: + dataPlaneFqdn: + type: string + hostSuffix: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/digital.azure.jet.crossplane.io_twinsendpointeventgrids.yaml b/package/crds/digital.azure.jet.crossplane.io_twinsendpointeventgrids.yaml new file mode 100644 index 000000000..d88a8c11a --- /dev/null +++ b/package/crds/digital.azure.jet.crossplane.io_twinsendpointeventgrids.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: twinsendpointeventgrids.digital.azure.jet.crossplane.io +spec: + group: digital.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TwinsEndpointEventgrid + listKind: TwinsEndpointEventgridList + plural: twinsendpointeventgrids + singular: twinsendpointeventgrid + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TwinsEndpointEventgrid is the Schema for the TwinsEndpointEventgrids + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TwinsEndpointEventgridSpec defines the desired state of TwinsEndpointEventgrid + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + deadLetterStorageSecret: + type: string + digitalTwinsId: + type: string + eventgridTopicEndpoint: + type: string + eventgridTopicPrimaryAccessKey: + type: string + eventgridTopicSecondaryAccessKey: + type: string + name: + type: string + required: + - digitalTwinsId + - eventgridTopicEndpoint + - eventgridTopicPrimaryAccessKey + - eventgridTopicSecondaryAccessKey + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TwinsEndpointEventgridStatus defines the observed state of + TwinsEndpointEventgrid. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/digital.azure.jet.crossplane.io_twinsendpointeventhubs.yaml b/package/crds/digital.azure.jet.crossplane.io_twinsendpointeventhubs.yaml new file mode 100644 index 000000000..014f4a3f7 --- /dev/null +++ b/package/crds/digital.azure.jet.crossplane.io_twinsendpointeventhubs.yaml @@ -0,0 +1,226 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: twinsendpointeventhubs.digital.azure.jet.crossplane.io +spec: + group: digital.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TwinsEndpointEventhub + listKind: TwinsEndpointEventhubList + plural: twinsendpointeventhubs + singular: twinsendpointeventhub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TwinsEndpointEventhub is the Schema for the TwinsEndpointEventhubs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TwinsEndpointEventhubSpec defines the desired state of TwinsEndpointEventhub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + deadLetterStorageSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + digitalTwinsId: + type: string + eventhubPrimaryConnectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + eventhubSecondaryConnectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + required: + - digitalTwinsId + - eventhubPrimaryConnectionStringSecretRef + - eventhubSecondaryConnectionStringSecretRef + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TwinsEndpointEventhubStatus defines the observed state of + TwinsEndpointEventhub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/digital.azure.jet.crossplane.io_twinsendpointservicebus.yaml b/package/crds/digital.azure.jet.crossplane.io_twinsendpointservicebus.yaml new file mode 100644 index 000000000..f40d94224 --- /dev/null +++ b/package/crds/digital.azure.jet.crossplane.io_twinsendpointservicebus.yaml @@ -0,0 +1,227 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: twinsendpointservicebus.digital.azure.jet.crossplane.io +spec: + group: digital.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TwinsEndpointServicebus + listKind: TwinsEndpointServicebusList + plural: twinsendpointservicebus + singular: twinsendpointservicebus + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TwinsEndpointServicebus is the Schema for the TwinsEndpointServicebuss + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TwinsEndpointServicebusSpec defines the desired state of + TwinsEndpointServicebus + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + deadLetterStorageSecretSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + digitalTwinsId: + type: string + name: + type: string + servicebusPrimaryConnectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + servicebusSecondaryConnectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - digitalTwinsId + - name + - servicebusPrimaryConnectionStringSecretRef + - servicebusSecondaryConnectionStringSecretRef + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TwinsEndpointServicebusStatus defines the observed state + of TwinsEndpointServicebus. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/digital.azure.jet.crossplane.io_twinsinstances.yaml b/package/crds/digital.azure.jet.crossplane.io_twinsinstances.yaml new file mode 100644 index 000000000..36f52f6e9 --- /dev/null +++ b/package/crds/digital.azure.jet.crossplane.io_twinsinstances.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: twinsinstances.digital.azure.jet.crossplane.io +spec: + group: digital.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TwinsInstance + listKind: TwinsInstanceList + plural: twinsinstances + singular: twinsinstance + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TwinsInstance is the Schema for the TwinsInstances API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TwinsInstanceSpec defines the desired state of TwinsInstance + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TwinsInstanceStatus defines the observed state of TwinsInstance. + properties: + atProvider: + properties: + hostName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/disk.azure.jet.crossplane.io_accesses.yaml b/package/crds/disk.azure.jet.crossplane.io_accesses.yaml new file mode 100644 index 000000000..9773cc4df --- /dev/null +++ b/package/crds/disk.azure.jet.crossplane.io_accesses.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accesses.disk.azure.jet.crossplane.io +spec: + group: disk.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Access + listKind: AccessList + plural: accesses + singular: access + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Access is the Schema for the Accesss API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccessSpec defines the desired state of Access + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccessStatus defines the observed state of Access. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/disk.azure.jet.crossplane.io_encryptionsets.yaml b/package/crds/disk.azure.jet.crossplane.io_encryptionsets.yaml new file mode 100644 index 000000000..c59815211 --- /dev/null +++ b/package/crds/disk.azure.jet.crossplane.io_encryptionsets.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: encryptionsets.disk.azure.jet.crossplane.io +spec: + group: disk.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EncryptionSet + listKind: EncryptionSetList + plural: encryptionsets + singular: encryptionset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EncryptionSet is the Schema for the EncryptionSets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EncryptionSetSpec defines the desired state of EncryptionSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + keyVaultKeyId: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - identity + - keyVaultKeyId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EncryptionSetStatus defines the observed state of EncryptionSet. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_aaaarecords.yaml b/package/crds/dns.azure.jet.crossplane.io_aaaarecords.yaml new file mode 100644 index 000000000..52b36c732 --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_aaaarecords.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: aaaarecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AaaaRecord + listKind: AaaaRecordList + plural: aaaarecords + singular: aaaarecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AaaaRecord is the Schema for the AaaaRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AaaaRecordSpec defines the desired state of AaaaRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + targetResourceId: + type: string + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AaaaRecordStatus defines the observed state of AaaaRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_arecords.yaml b/package/crds/dns.azure.jet.crossplane.io_arecords.yaml new file mode 100644 index 000000000..929c10d51 --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_arecords.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: arecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ARecord + listKind: ARecordList + plural: arecords + singular: arecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ARecord is the Schema for the ARecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ARecordSpec defines the desired state of ARecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + targetResourceId: + type: string + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ARecordStatus defines the observed state of ARecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_caarecords.yaml b/package/crds/dns.azure.jet.crossplane.io_caarecords.yaml new file mode 100644 index 000000000..e5abfbbf3 --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_caarecords.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: caarecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CaaRecord + listKind: CaaRecordList + plural: caarecords + singular: caarecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CaaRecord is the Schema for the CaaRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CaaRecordSpec defines the desired state of CaaRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + flags: + format: int64 + type: integer + tag: + type: string + value: + type: string + required: + - flags + - tag + - value + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CaaRecordStatus defines the observed state of CaaRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_cnamerecords.yaml b/package/crds/dns.azure.jet.crossplane.io_cnamerecords.yaml new file mode 100644 index 000000000..35f0440ef --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_cnamerecords.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cnamerecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CnameRecord + listKind: CnameRecordList + plural: cnamerecords + singular: cnamerecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CnameRecord is the Schema for the CnameRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CnameRecordSpec defines the desired state of CnameRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + targetResourceId: + type: string + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CnameRecordStatus defines the observed state of CnameRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_mxrecords.yaml b/package/crds/dns.azure.jet.crossplane.io_mxrecords.yaml new file mode 100644 index 000000000..7dcac9c4c --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_mxrecords.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: mxrecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: MxRecord + listKind: MxRecordList + plural: mxrecords + singular: mxrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: MxRecord is the Schema for the MxRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MxRecordSpec defines the desired state of MxRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + exchange: + type: string + preference: + type: string + required: + - exchange + - preference + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: MxRecordStatus defines the observed state of MxRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_nsrecords.yaml b/package/crds/dns.azure.jet.crossplane.io_nsrecords.yaml new file mode 100644 index 000000000..3353371af --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_nsrecords.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: nsrecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NsRecord + listKind: NsRecordList + plural: nsrecords + singular: nsrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NsRecord is the Schema for the NsRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NsRecordSpec defines the desired state of NsRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - records + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NsRecordStatus defines the observed state of NsRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_ptrrecords.yaml b/package/crds/dns.azure.jet.crossplane.io_ptrrecords.yaml new file mode 100644 index 000000000..962541cb9 --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_ptrrecords.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: ptrrecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PtrRecord + listKind: PtrRecordList + plural: ptrrecords + singular: ptrrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PtrRecord is the Schema for the PtrRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PtrRecordSpec defines the desired state of PtrRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - records + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PtrRecordStatus defines the observed state of PtrRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_srvrecords.yaml b/package/crds/dns.azure.jet.crossplane.io_srvrecords.yaml new file mode 100644 index 000000000..c308fb283 --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_srvrecords.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: srvrecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SrvRecord + listKind: SrvRecordList + plural: srvrecords + singular: srvrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SrvRecord is the Schema for the SrvRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SrvRecordSpec defines the desired state of SrvRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + port: + format: int64 + type: integer + priority: + format: int64 + type: integer + target: + type: string + weight: + format: int64 + type: integer + required: + - port + - priority + - target + - weight + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SrvRecordStatus defines the observed state of SrvRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_txtrecords.yaml b/package/crds/dns.azure.jet.crossplane.io_txtrecords.yaml new file mode 100644 index 000000000..6a651f3ad --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_txtrecords.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: txtrecords.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TxtRecord + listKind: TxtRecordList + plural: txtrecords + singular: txtrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TxtRecord is the Schema for the TxtRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TxtRecordSpec defines the desired state of TxtRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + value: + type: string + required: + - value + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TxtRecordStatus defines the observed state of TxtRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/dns.azure.jet.crossplane.io_zones.yaml b/package/crds/dns.azure.jet.crossplane.io_zones.yaml new file mode 100644 index 000000000..7b01a2611 --- /dev/null +++ b/package/crds/dns.azure.jet.crossplane.io_zones.yaml @@ -0,0 +1,217 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: zones.dns.azure.jet.crossplane.io +spec: + group: dns.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Zone + listKind: ZoneList + plural: zones + singular: zone + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Zone is the Schema for the Zones API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ZoneSpec defines the desired state of Zone + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + soaRecord: + items: + properties: + email: + type: string + expireTime: + format: int64 + type: integer + hostName: + type: string + minimumTtl: + format: int64 + type: integer + refreshTime: + format: int64 + type: integer + retryTime: + format: int64 + type: integer + serialNumber: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + required: + - email + - hostName + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ZoneStatus defines the observed state of Zone. + properties: + atProvider: + properties: + maxNumberOfRecordSets: + format: int64 + type: integer + nameServers: + items: + type: string + type: array + numberOfRecordSets: + format: int64 + type: integer + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventgrid.azure.jet.crossplane.io_domains.yaml b/package/crds/eventgrid.azure.jet.crossplane.io_domains.yaml new file mode 100644 index 000000000..c27b6b32a --- /dev/null +++ b/package/crds/eventgrid.azure.jet.crossplane.io_domains.yaml @@ -0,0 +1,234 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: domains.eventgrid.azure.jet.crossplane.io +spec: + group: eventgrid.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Domain + listKind: DomainList + plural: domains + singular: domain + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Domain is the Schema for the Domains API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DomainSpec defines the desired state of Domain + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + inboundIpRule: + items: + properties: + action: + type: string + ipMask: + type: string + required: + - ipMask + type: object + type: array + inputMappingDefaultValues: + items: + properties: + dataVersion: + type: string + eventType: + type: string + subject: + type: string + type: object + type: array + inputMappingFields: + items: + properties: + dataVersion: + type: string + eventTime: + type: string + eventType: + type: string + id: + type: string + subject: + type: string + topic: + type: string + type: object + type: array + inputSchema: + type: string + location: + type: string + name: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DomainStatus defines the observed state of Domain. + properties: + atProvider: + properties: + endpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventgrid.azure.jet.crossplane.io_domaintopics.yaml b/package/crds/eventgrid.azure.jet.crossplane.io_domaintopics.yaml new file mode 100644 index 000000000..b12f13e86 --- /dev/null +++ b/package/crds/eventgrid.azure.jet.crossplane.io_domaintopics.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: domaintopics.eventgrid.azure.jet.crossplane.io +spec: + group: eventgrid.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DomainTopic + listKind: DomainTopicList + plural: domaintopics + singular: domaintopic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DomainTopic is the Schema for the DomainTopics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DomainTopicSpec defines the desired state of DomainTopic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + domainName: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - domainName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DomainTopicStatus defines the observed state of DomainTopic. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventgrid.azure.jet.crossplane.io_eventsubscriptions.yaml b/package/crds/eventgrid.azure.jet.crossplane.io_eventsubscriptions.yaml new file mode 100644 index 000000000..f847c029b --- /dev/null +++ b/package/crds/eventgrid.azure.jet.crossplane.io_eventsubscriptions.yaml @@ -0,0 +1,562 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: eventsubscriptions.eventgrid.azure.jet.crossplane.io +spec: + group: eventgrid.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EventSubscription + listKind: EventSubscriptionList + plural: eventsubscriptions + singular: eventsubscription + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EventSubscription is the Schema for the EventSubscriptions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EventSubscriptionSpec defines the desired state of EventSubscription + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + advancedFilter: + items: + properties: + boolEquals: + items: + properties: + key: + type: string + value: + type: boolean + required: + - key + - value + type: object + type: array + isNotNull: + items: + properties: + key: + type: string + required: + - key + type: object + type: array + isNullOrUndefined: + items: + properties: + key: + type: string + required: + - key + type: object + type: array + numberGreaterThan: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberGreaterThanOrEquals: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberIn: + items: + properties: + key: + type: string + values: + items: + type: number + type: array + required: + - key + - values + type: object + type: array + numberInRange: + items: + properties: + key: + type: string + values: + items: + items: + type: number + type: array + type: array + required: + - key + - values + type: object + type: array + numberLessThan: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberLessThanOrEquals: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberNotIn: + items: + properties: + key: + type: string + values: + items: + type: number + type: array + required: + - key + - values + type: object + type: array + numberNotInRange: + items: + properties: + key: + type: string + values: + items: + items: + type: number + type: array + type: array + required: + - key + - values + type: object + type: array + stringBeginsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringContains: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringEndsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringIn: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotBeginsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotContains: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotEndsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotIn: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + type: object + type: array + advancedFilteringOnArraysEnabled: + type: boolean + azureFunctionEndpoint: + items: + properties: + functionId: + type: string + maxEventsPerBatch: + format: int64 + type: integer + preferredBatchSizeInKilobytes: + format: int64 + type: integer + required: + - functionId + type: object + type: array + deadLetterIdentity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + deliveryIdentity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + eventDeliverySchema: + type: string + eventhubEndpoint: + items: + properties: + eventhubId: + type: string + type: object + type: array + eventhubEndpointId: + type: string + expirationTimeUtc: + type: string + hybridConnectionEndpoint: + items: + properties: + hybridConnectionId: + type: string + type: object + type: array + hybridConnectionEndpointId: + type: string + includedEventTypes: + items: + type: string + type: array + labels: + items: + type: string + type: array + name: + type: string + retryPolicy: + items: + properties: + eventTimeToLive: + format: int64 + type: integer + maxDeliveryAttempts: + format: int64 + type: integer + required: + - eventTimeToLive + - maxDeliveryAttempts + type: object + type: array + scope: + type: string + serviceBusQueueEndpointId: + type: string + serviceBusTopicEndpointId: + type: string + storageBlobDeadLetterDestination: + items: + properties: + storageAccountId: + type: string + storageBlobContainerName: + type: string + required: + - storageAccountId + - storageBlobContainerName + type: object + type: array + storageQueueEndpoint: + items: + properties: + queueName: + type: string + storageAccountId: + type: string + required: + - queueName + - storageAccountId + type: object + type: array + subjectFilter: + items: + properties: + caseSensitive: + type: boolean + subjectBeginsWith: + type: string + subjectEndsWith: + type: string + type: object + type: array + topicName: + type: string + webhookEndpoint: + items: + properties: + activeDirectoryAppIdOrUri: + type: string + activeDirectoryTenantId: + type: string + maxEventsPerBatch: + format: int64 + type: integer + preferredBatchSizeInKilobytes: + format: int64 + type: integer + url: + type: string + required: + - url + type: object + type: array + required: + - name + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EventSubscriptionStatus defines the observed state of EventSubscription. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventgrid.azure.jet.crossplane.io_systemtopiceventsubscriptions.yaml b/package/crds/eventgrid.azure.jet.crossplane.io_systemtopiceventsubscriptions.yaml new file mode 100644 index 000000000..ea018ffb1 --- /dev/null +++ b/package/crds/eventgrid.azure.jet.crossplane.io_systemtopiceventsubscriptions.yaml @@ -0,0 +1,552 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: systemtopiceventsubscriptions.eventgrid.azure.jet.crossplane.io +spec: + group: eventgrid.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SystemTopicEventSubscription + listKind: SystemTopicEventSubscriptionList + plural: systemtopiceventsubscriptions + singular: systemtopiceventsubscription + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SystemTopicEventSubscription is the Schema for the SystemTopicEventSubscriptions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SystemTopicEventSubscriptionSpec defines the desired state + of SystemTopicEventSubscription + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + advancedFilter: + items: + properties: + boolEquals: + items: + properties: + key: + type: string + value: + type: boolean + required: + - key + - value + type: object + type: array + isNotNull: + items: + properties: + key: + type: string + required: + - key + type: object + type: array + isNullOrUndefined: + items: + properties: + key: + type: string + required: + - key + type: object + type: array + numberGreaterThan: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberGreaterThanOrEquals: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberIn: + items: + properties: + key: + type: string + values: + items: + type: number + type: array + required: + - key + - values + type: object + type: array + numberInRange: + items: + properties: + key: + type: string + values: + items: + items: + type: number + type: array + type: array + required: + - key + - values + type: object + type: array + numberLessThan: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberLessThanOrEquals: + items: + properties: + key: + type: string + value: + type: number + required: + - key + - value + type: object + type: array + numberNotIn: + items: + properties: + key: + type: string + values: + items: + type: number + type: array + required: + - key + - values + type: object + type: array + numberNotInRange: + items: + properties: + key: + type: string + values: + items: + items: + type: number + type: array + type: array + required: + - key + - values + type: object + type: array + stringBeginsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringContains: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringEndsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringIn: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotBeginsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotContains: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotEndsWith: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + stringNotIn: + items: + properties: + key: + type: string + values: + items: + type: string + type: array + required: + - key + - values + type: object + type: array + type: object + type: array + advancedFilteringOnArraysEnabled: + type: boolean + azureFunctionEndpoint: + items: + properties: + functionId: + type: string + maxEventsPerBatch: + format: int64 + type: integer + preferredBatchSizeInKilobytes: + format: int64 + type: integer + required: + - functionId + type: object + type: array + deadLetterIdentity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + deliveryIdentity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + eventDeliverySchema: + type: string + eventhubEndpointId: + type: string + expirationTimeUtc: + type: string + hybridConnectionEndpointId: + type: string + includedEventTypes: + items: + type: string + type: array + labels: + items: + type: string + type: array + name: + type: string + resourceGroupName: + type: string + retryPolicy: + items: + properties: + eventTimeToLive: + format: int64 + type: integer + maxDeliveryAttempts: + format: int64 + type: integer + required: + - eventTimeToLive + - maxDeliveryAttempts + type: object + type: array + serviceBusQueueEndpointId: + type: string + serviceBusTopicEndpointId: + type: string + storageBlobDeadLetterDestination: + items: + properties: + storageAccountId: + type: string + storageBlobContainerName: + type: string + required: + - storageAccountId + - storageBlobContainerName + type: object + type: array + storageQueueEndpoint: + items: + properties: + queueName: + type: string + storageAccountId: + type: string + required: + - queueName + - storageAccountId + type: object + type: array + subjectFilter: + items: + properties: + caseSensitive: + type: boolean + subjectBeginsWith: + type: string + subjectEndsWith: + type: string + type: object + type: array + systemTopic: + type: string + webhookEndpoint: + items: + properties: + activeDirectoryAppIdOrUri: + type: string + activeDirectoryTenantId: + type: string + maxEventsPerBatch: + format: int64 + type: integer + preferredBatchSizeInKilobytes: + format: int64 + type: integer + url: + type: string + required: + - url + type: object + type: array + required: + - name + - resourceGroupName + - systemTopic + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SystemTopicEventSubscriptionStatus defines the observed state + of SystemTopicEventSubscription. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventgrid.azure.jet.crossplane.io_systemtopics.yaml b/package/crds/eventgrid.azure.jet.crossplane.io_systemtopics.yaml new file mode 100644 index 000000000..f40e674a4 --- /dev/null +++ b/package/crds/eventgrid.azure.jet.crossplane.io_systemtopics.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: systemtopics.eventgrid.azure.jet.crossplane.io +spec: + group: eventgrid.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SystemTopic + listKind: SystemTopicList + plural: systemtopics + singular: systemtopic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SystemTopic is the Schema for the SystemTopics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SystemTopicSpec defines the desired state of SystemTopic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + sourceArmResourceId: + type: string + tags: + additionalProperties: + type: string + type: object + topicType: + type: string + required: + - location + - name + - resourceGroupName + - sourceArmResourceId + - topicType + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SystemTopicStatus defines the observed state of SystemTopic. + properties: + atProvider: + properties: + metricArmResourceId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventgrid.azure.jet.crossplane.io_topics.yaml b/package/crds/eventgrid.azure.jet.crossplane.io_topics.yaml new file mode 100644 index 000000000..949220ea8 --- /dev/null +++ b/package/crds/eventgrid.azure.jet.crossplane.io_topics.yaml @@ -0,0 +1,234 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: topics.eventgrid.azure.jet.crossplane.io +spec: + group: eventgrid.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Topic + listKind: TopicList + plural: topics + singular: topic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Topic is the Schema for the Topics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TopicSpec defines the desired state of Topic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + inboundIpRule: + items: + properties: + action: + type: string + ipMask: + type: string + required: + - ipMask + type: object + type: array + inputMappingDefaultValues: + items: + properties: + dataVersion: + type: string + eventType: + type: string + subject: + type: string + type: object + type: array + inputMappingFields: + items: + properties: + dataVersion: + type: string + eventTime: + type: string + eventType: + type: string + id: + type: string + subject: + type: string + topic: + type: string + type: object + type: array + inputSchema: + type: string + location: + type: string + name: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TopicStatus defines the observed state of Topic. + properties: + atProvider: + properties: + endpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_authorizationrules.yaml b/package/crds/eventhub.azure.jet.crossplane.io_authorizationrules.yaml new file mode 100644 index 000000000..b92636607 --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_authorizationrules.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: authorizationrules.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AuthorizationRule + listKind: AuthorizationRuleList + plural: authorizationrules + singular: authorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AuthorizationRule is the Schema for the AuthorizationRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AuthorizationRuleSpec defines the desired state of AuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubName: + type: string + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - eventhubName + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AuthorizationRuleStatus defines the observed state of AuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_clusters.yaml b/package/crds/eventhub.azure.jet.crossplane.io_clusters.yaml new file mode 100644 index 000000000..f52d43c58 --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_clusters.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: clusters.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Cluster + listKind: ClusterList + plural: clusters + singular: cluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Cluster is the Schema for the Clusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ClusterSpec defines the desired state of Cluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ClusterStatus defines the observed state of Cluster. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_consumergroups.yaml b/package/crds/eventhub.azure.jet.crossplane.io_consumergroups.yaml new file mode 100644 index 000000000..84578ec1e --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_consumergroups.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: consumergroups.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ConsumerGroup + listKind: ConsumerGroupList + plural: consumergroups + singular: consumergroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConsumerGroup is the Schema for the ConsumerGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConsumerGroupSpec defines the desired state of ConsumerGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubName: + type: string + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + userMetadata: + type: string + required: + - eventhubName + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConsumerGroupStatus defines the observed state of ConsumerGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_namespaceauthorizationrules.yaml b/package/crds/eventhub.azure.jet.crossplane.io_namespaceauthorizationrules.yaml new file mode 100644 index 000000000..521cd123f --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_namespaceauthorizationrules.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespaceauthorizationrules.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceAuthorizationRule + listKind: NamespaceAuthorizationRuleList + plural: namespaceauthorizationrules + singular: namespaceauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceAuthorizationRule is the Schema for the NamespaceAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceAuthorizationRuleSpec defines the desired state + of NamespaceAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceAuthorizationRuleStatus defines the observed state + of NamespaceAuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_namespacecustomermanagedkeys.yaml b/package/crds/eventhub.azure.jet.crossplane.io_namespacecustomermanagedkeys.yaml new file mode 100644 index 000000000..8478ae94e --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_namespacecustomermanagedkeys.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespacecustomermanagedkeys.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceCustomerManagedKey + listKind: NamespaceCustomerManagedKeyList + plural: namespacecustomermanagedkeys + singular: namespacecustomermanagedkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceCustomerManagedKey is the Schema for the NamespaceCustomerManagedKeys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceCustomerManagedKeySpec defines the desired state + of NamespaceCustomerManagedKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubNamespaceId: + type: string + keyVaultKeyIds: + items: + type: string + type: array + required: + - eventhubNamespaceId + - keyVaultKeyIds + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceCustomerManagedKeyStatus defines the observed state + of NamespaceCustomerManagedKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_namespacedisasterrecoveryconfigs.yaml b/package/crds/eventhub.azure.jet.crossplane.io_namespacedisasterrecoveryconfigs.yaml new file mode 100644 index 000000000..da7172363 --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_namespacedisasterrecoveryconfigs.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespacedisasterrecoveryconfigs.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceDisasterRecoveryConfig + listKind: NamespaceDisasterRecoveryConfigList + plural: namespacedisasterrecoveryconfigs + singular: namespacedisasterrecoveryconfig + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceDisasterRecoveryConfig is the Schema for the NamespaceDisasterRecoveryConfigs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceDisasterRecoveryConfigSpec defines the desired state + of NamespaceDisasterRecoveryConfig + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alternateName: + type: string + name: + type: string + namespaceName: + type: string + partnerNamespaceId: + type: string + resourceGroupName: + type: string + required: + - name + - namespaceName + - partnerNamespaceId + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceDisasterRecoveryConfigStatus defines the observed + state of NamespaceDisasterRecoveryConfig. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/eventhub.azure.jet.crossplane.io_namespaces.yaml b/package/crds/eventhub.azure.jet.crossplane.io_namespaces.yaml new file mode 100644 index 000000000..1c887437c --- /dev/null +++ b/package/crds/eventhub.azure.jet.crossplane.io_namespaces.yaml @@ -0,0 +1,230 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespaces.eventhub.azure.jet.crossplane.io +spec: + group: eventhub.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Namespace + listKind: NamespaceList + plural: namespaces + singular: namespace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Namespace is the Schema for the Namespaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceSpec defines the desired state of Namespace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoInflateEnabled: + type: boolean + capacity: + format: int64 + type: integer + dedicatedClusterId: + type: string + identity: + items: + properties: + type: + type: string + type: object + type: array + location: + type: string + maximumThroughputUnits: + format: int64 + type: integer + name: + type: string + networkRulesets: + items: + properties: + defaultAction: + type: string + ipRule: + items: + properties: + action: + type: string + ipMask: + type: string + required: + - ipMask + type: object + type: array + trustedServiceAccessEnabled: + type: boolean + virtualNetworkRule: + items: + properties: + ignoreMissingVirtualNetworkServiceEndpoint: + type: boolean + subnetId: + type: string + required: + - subnetId + type: object + type: array + required: + - defaultAction + type: object + type: array + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + zoneRedundant: + type: boolean + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceStatus defines the observed state of Namespace. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routecircuitauthorizations.yaml b/package/crds/express.azure.jet.crossplane.io_routecircuitauthorizations.yaml new file mode 100644 index 000000000..ff27fed29 --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routecircuitauthorizations.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routecircuitauthorizations.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RouteCircuitAuthorization + listKind: RouteCircuitAuthorizationList + plural: routecircuitauthorizations + singular: routecircuitauthorization + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RouteCircuitAuthorization is the Schema for the RouteCircuitAuthorizations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RouteCircuitAuthorizationSpec defines the desired state of + RouteCircuitAuthorization + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + expressRouteCircuitName: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - expressRouteCircuitName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RouteCircuitAuthorizationStatus defines the observed state + of RouteCircuitAuthorization. + properties: + atProvider: + properties: + authorizationUseStatus: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routecircuitconnections.yaml b/package/crds/express.azure.jet.crossplane.io_routecircuitconnections.yaml new file mode 100644 index 000000000..ae4862215 --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routecircuitconnections.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routecircuitconnections.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RouteCircuitConnection + listKind: RouteCircuitConnectionList + plural: routecircuitconnections + singular: routecircuitconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RouteCircuitConnection is the Schema for the RouteCircuitConnections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RouteCircuitConnectionSpec defines the desired state of RouteCircuitConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + addressPrefixIpv4: + type: string + addressPrefixIpv6: + type: string + authorizationKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + peerPeeringId: + type: string + peeringId: + type: string + required: + - addressPrefixIpv4 + - name + - peerPeeringId + - peeringId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RouteCircuitConnectionStatus defines the observed state of + RouteCircuitConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routecircuitpeerings.yaml b/package/crds/express.azure.jet.crossplane.io_routecircuitpeerings.yaml new file mode 100644 index 000000000..45805331c --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routecircuitpeerings.yaml @@ -0,0 +1,258 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routecircuitpeerings.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RouteCircuitPeering + listKind: RouteCircuitPeeringList + plural: routecircuitpeerings + singular: routecircuitpeering + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RouteCircuitPeering is the Schema for the RouteCircuitPeerings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RouteCircuitPeeringSpec defines the desired state of RouteCircuitPeering + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + expressRouteCircuitName: + type: string + ipv6: + items: + properties: + microsoftPeering: + items: + properties: + advertisedPublicPrefixes: + items: + type: string + type: array + customerAsn: + format: int64 + type: integer + routingRegistryName: + type: string + type: object + type: array + primaryPeerAddressPrefix: + type: string + routeFilterId: + type: string + secondaryPeerAddressPrefix: + type: string + required: + - microsoftPeering + - primaryPeerAddressPrefix + - secondaryPeerAddressPrefix + type: object + type: array + microsoftPeeringConfig: + items: + properties: + advertisedPublicPrefixes: + items: + type: string + type: array + customerAsn: + format: int64 + type: integer + routingRegistryName: + type: string + required: + - advertisedPublicPrefixes + type: object + type: array + peerAsn: + format: int64 + type: integer + peeringType: + type: string + primaryPeerAddressPrefix: + type: string + resourceGroupName: + type: string + routeFilterId: + type: string + secondaryPeerAddressPrefix: + type: string + sharedKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + vlanId: + format: int64 + type: integer + required: + - expressRouteCircuitName + - peeringType + - primaryPeerAddressPrefix + - resourceGroupName + - secondaryPeerAddressPrefix + - vlanId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RouteCircuitPeeringStatus defines the observed state of RouteCircuitPeering. + properties: + atProvider: + properties: + azureAsn: + format: int64 + type: integer + primaryAzurePort: + type: string + secondaryAzurePort: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routecircuits.yaml b/package/crds/express.azure.jet.crossplane.io_routecircuits.yaml new file mode 100644 index 000000000..6b8ef9809 --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routecircuits.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routecircuits.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RouteCircuit + listKind: RouteCircuitList + plural: routecircuits + singular: routecircuit + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RouteCircuit is the Schema for the RouteCircuits API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RouteCircuitSpec defines the desired state of RouteCircuit + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowClassicOperations: + type: boolean + bandwidthInGbps: + type: number + bandwidthInMbps: + format: int64 + type: integer + expressRoutePortId: + type: string + location: + type: string + name: + type: string + peeringLocation: + type: string + resourceGroupName: + type: string + serviceProviderName: + type: string + sku: + items: + properties: + family: + type: string + tier: + type: string + required: + - family + - tier + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RouteCircuitStatus defines the observed state of RouteCircuit. + properties: + atProvider: + properties: + serviceProviderProvisioningState: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routeconnections.yaml b/package/crds/express.azure.jet.crossplane.io_routeconnections.yaml new file mode 100644 index 000000000..3adeee878 --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routeconnections.yaml @@ -0,0 +1,198 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routeconnections.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RouteConnection + listKind: RouteConnectionList + plural: routeconnections + singular: routeconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RouteConnection is the Schema for the RouteConnections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RouteConnectionSpec defines the desired state of RouteConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + authorizationKey: + type: string + enableInternetSecurity: + type: boolean + expressRouteCircuitPeeringId: + type: string + expressRouteGatewayId: + type: string + name: + type: string + routing: + items: + properties: + associatedRouteTableId: + type: string + propagatedRouteTable: + items: + properties: + labels: + items: + type: string + type: array + routeTableIds: + items: + type: string + type: array + type: object + type: array + type: object + type: array + routingWeight: + format: int64 + type: integer + required: + - expressRouteCircuitPeeringId + - expressRouteGatewayId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RouteConnectionStatus defines the observed state of RouteConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routegateways.yaml b/package/crds/express.azure.jet.crossplane.io_routegateways.yaml new file mode 100644 index 000000000..adba260d3 --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routegateways.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routegateways.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RouteGateway + listKind: RouteGatewayList + plural: routegateways + singular: routegateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RouteGateway is the Schema for the RouteGateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RouteGatewaySpec defines the desired state of RouteGateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + scaleUnits: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + virtualHubId: + type: string + required: + - location + - name + - resourceGroupName + - scaleUnits + - virtualHubId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RouteGatewayStatus defines the observed state of RouteGateway. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/express.azure.jet.crossplane.io_routeports.yaml b/package/crds/express.azure.jet.crossplane.io_routeports.yaml new file mode 100644 index 000000000..1c406da28 --- /dev/null +++ b/package/crds/express.azure.jet.crossplane.io_routeports.yaml @@ -0,0 +1,231 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: routeports.express.azure.jet.crossplane.io +spec: + group: express.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RoutePort + listKind: RoutePortList + plural: routeports + singular: routeport + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RoutePort is the Schema for the RoutePorts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RoutePortSpec defines the desired state of RoutePort + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + bandwidthInGbps: + format: int64 + type: integer + encapsulation: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + link1: + items: + properties: + adminEnabled: + type: boolean + macsecCakKeyvaultSecretId: + type: string + macsecCipher: + type: string + macsecCknKeyvaultSecretId: + type: string + type: object + type: array + link2: + items: + properties: + adminEnabled: + type: boolean + macsecCakKeyvaultSecretId: + type: string + macsecCipher: + type: string + macsecCknKeyvaultSecretId: + type: string + type: object + type: array + location: + type: string + name: + type: string + peeringLocation: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - bandwidthInGbps + - encapsulation + - location + - name + - peeringLocation + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RoutePortStatus defines the observed state of RoutePort. + properties: + atProvider: + properties: + ethertype: + type: string + guid: + type: string + mtu: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/firewall.azure.jet.crossplane.io_applicationrulecollections.yaml b/package/crds/firewall.azure.jet.crossplane.io_applicationrulecollections.yaml new file mode 100644 index 000000000..7abe8ac4e --- /dev/null +++ b/package/crds/firewall.azure.jet.crossplane.io_applicationrulecollections.yaml @@ -0,0 +1,221 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: applicationrulecollections.firewall.azure.jet.crossplane.io +spec: + group: firewall.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ApplicationRuleCollection + listKind: ApplicationRuleCollectionList + plural: applicationrulecollections + singular: applicationrulecollection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ApplicationRuleCollection is the Schema for the ApplicationRuleCollections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ApplicationRuleCollectionSpec defines the desired state of + ApplicationRuleCollection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + type: string + azureFirewallName: + type: string + name: + type: string + priority: + format: int64 + type: integer + resourceGroupName: + type: string + rule: + items: + properties: + description: + type: string + fqdnTags: + items: + type: string + type: array + name: + type: string + protocol: + items: + properties: + port: + format: int64 + type: integer + type: + type: string + required: + - type + type: object + type: array + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + targetFqdns: + items: + type: string + type: array + required: + - name + type: object + type: array + required: + - action + - azureFirewallName + - name + - priority + - resourceGroupName + - rule + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ApplicationRuleCollectionStatus defines the observed state + of ApplicationRuleCollection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/firewall.azure.jet.crossplane.io_natrulecollections.yaml b/package/crds/firewall.azure.jet.crossplane.io_natrulecollections.yaml new file mode 100644 index 000000000..2fa0ef547 --- /dev/null +++ b/package/crds/firewall.azure.jet.crossplane.io_natrulecollections.yaml @@ -0,0 +1,219 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: natrulecollections.firewall.azure.jet.crossplane.io +spec: + group: firewall.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NatRuleCollection + listKind: NatRuleCollectionList + plural: natrulecollections + singular: natrulecollection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NatRuleCollection is the Schema for the NatRuleCollections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NatRuleCollectionSpec defines the desired state of NatRuleCollection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + type: string + azureFirewallName: + type: string + name: + type: string + priority: + format: int64 + type: integer + resourceGroupName: + type: string + rule: + items: + properties: + description: + type: string + destinationAddresses: + items: + type: string + type: array + destinationPorts: + items: + type: string + type: array + name: + type: string + protocols: + items: + type: string + type: array + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + translatedAddress: + type: string + translatedPort: + type: string + required: + - destinationAddresses + - destinationPorts + - name + - protocols + - translatedAddress + - translatedPort + type: object + type: array + required: + - action + - azureFirewallName + - name + - priority + - resourceGroupName + - rule + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NatRuleCollectionStatus defines the observed state of NatRuleCollection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/firewall.azure.jet.crossplane.io_networkrulecollections.yaml b/package/crds/firewall.azure.jet.crossplane.io_networkrulecollections.yaml new file mode 100644 index 000000000..bbf7b0d8d --- /dev/null +++ b/package/crds/firewall.azure.jet.crossplane.io_networkrulecollections.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: networkrulecollections.firewall.azure.jet.crossplane.io +spec: + group: firewall.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NetworkRuleCollection + listKind: NetworkRuleCollectionList + plural: networkrulecollections + singular: networkrulecollection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NetworkRuleCollection is the Schema for the NetworkRuleCollections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NetworkRuleCollectionSpec defines the desired state of NetworkRuleCollection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + type: string + azureFirewallName: + type: string + name: + type: string + priority: + format: int64 + type: integer + resourceGroupName: + type: string + rule: + items: + properties: + description: + type: string + destinationAddresses: + items: + type: string + type: array + destinationFqdns: + items: + type: string + type: array + destinationIpGroups: + items: + type: string + type: array + destinationPorts: + items: + type: string + type: array + name: + type: string + protocols: + items: + type: string + type: array + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + required: + - destinationPorts + - name + - protocols + type: object + type: array + required: + - action + - azureFirewallName + - name + - priority + - resourceGroupName + - rule + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NetworkRuleCollectionStatus defines the observed state of + NetworkRuleCollection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/firewall.azure.jet.crossplane.io_policies.yaml b/package/crds/firewall.azure.jet.crossplane.io_policies.yaml new file mode 100644 index 000000000..62c6844c6 --- /dev/null +++ b/package/crds/firewall.azure.jet.crossplane.io_policies.yaml @@ -0,0 +1,299 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: policies.firewall.azure.jet.crossplane.io +spec: + group: firewall.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Policy + listKind: PolicyList + plural: policies + singular: policy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Policy is the Schema for the Policys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PolicySpec defines the desired state of Policy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + basePolicyId: + type: string + dns: + items: + properties: + networkRuleFqdnEnabled: + type: boolean + proxyEnabled: + type: boolean + servers: + items: + type: string + type: array + type: object + type: array + identity: + items: + properties: + type: + type: string + userAssignedIdentityIds: + items: + type: string + type: array + required: + - type + type: object + type: array + intrusionDetection: + items: + properties: + mode: + type: string + signatureOverrides: + items: + properties: + id: + type: string + state: + type: string + type: object + type: array + trafficBypass: + items: + properties: + description: + type: string + destinationAddresses: + items: + type: string + type: array + destinationIpGroups: + items: + type: string + type: array + destinationPorts: + items: + type: string + type: array + name: + type: string + protocol: + type: string + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + required: + - name + - protocol + type: object + type: array + type: object + type: array + location: + type: string + name: + type: string + privateIpRanges: + items: + type: string + type: array + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + threatIntelligenceAllowlist: + items: + properties: + fqdns: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + type: object + type: array + threatIntelligenceMode: + type: string + tlsCertificate: + items: + properties: + keyVaultSecretId: + type: string + name: + type: string + required: + - keyVaultSecretId + - name + type: object + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PolicyStatus defines the observed state of Policy. + properties: + atProvider: + properties: + childPolicies: + items: + type: string + type: array + firewalls: + items: + type: string + type: array + ruleCollectionGroups: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/firewall.azure.jet.crossplane.io_policyrulecollectiongroups.yaml b/package/crds/firewall.azure.jet.crossplane.io_policyrulecollectiongroups.yaml new file mode 100644 index 000000000..b60d69b25 --- /dev/null +++ b/package/crds/firewall.azure.jet.crossplane.io_policyrulecollectiongroups.yaml @@ -0,0 +1,354 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: policyrulecollectiongroups.firewall.azure.jet.crossplane.io +spec: + group: firewall.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PolicyRuleCollectionGroup + listKind: PolicyRuleCollectionGroupList + plural: policyrulecollectiongroups + singular: policyrulecollectiongroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PolicyRuleCollectionGroup is the Schema for the PolicyRuleCollectionGroups + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PolicyRuleCollectionGroupSpec defines the desired state of + PolicyRuleCollectionGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationRuleCollection: + items: + properties: + action: + type: string + name: + type: string + priority: + format: int64 + type: integer + rule: + items: + properties: + description: + type: string + destinationAddresses: + items: + type: string + type: array + destinationFqdnTags: + items: + type: string + type: array + destinationFqdns: + items: + type: string + type: array + destinationUrls: + items: + type: string + type: array + name: + type: string + protocols: + items: + properties: + port: + format: int64 + type: integer + type: + type: string + required: + - port + - type + type: object + type: array + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + terminateTls: + type: boolean + webCategories: + items: + type: string + type: array + required: + - name + type: object + type: array + required: + - action + - name + - priority + - rule + type: object + type: array + firewallPolicyId: + type: string + name: + type: string + natRuleCollection: + items: + properties: + action: + type: string + name: + type: string + priority: + format: int64 + type: integer + rule: + items: + properties: + destinationAddress: + type: string + destinationPorts: + items: + type: string + type: array + name: + type: string + protocols: + items: + type: string + type: array + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + translatedAddress: + type: string + translatedPort: + format: int64 + type: integer + required: + - name + - protocols + - translatedAddress + - translatedPort + type: object + type: array + required: + - action + - name + - priority + - rule + type: object + type: array + networkRuleCollection: + items: + properties: + action: + type: string + name: + type: string + priority: + format: int64 + type: integer + rule: + items: + properties: + destinationAddresses: + items: + type: string + type: array + destinationFqdns: + items: + type: string + type: array + destinationIpGroups: + items: + type: string + type: array + destinationPorts: + items: + type: string + type: array + name: + type: string + protocols: + items: + type: string + type: array + sourceAddresses: + items: + type: string + type: array + sourceIpGroups: + items: + type: string + type: array + required: + - destinationPorts + - name + - protocols + type: object + type: array + required: + - action + - name + - priority + - rule + type: object + type: array + priority: + format: int64 + type: integer + required: + - firewallPolicyId + - name + - priority + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PolicyRuleCollectionGroupStatus defines the observed state + of PolicyRuleCollectionGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/frontdoor.azure.jet.crossplane.io_customhttpsconfigurations.yaml b/package/crds/frontdoor.azure.jet.crossplane.io_customhttpsconfigurations.yaml new file mode 100644 index 000000000..fe3b184af --- /dev/null +++ b/package/crds/frontdoor.azure.jet.crossplane.io_customhttpsconfigurations.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: customhttpsconfigurations.frontdoor.azure.jet.crossplane.io +spec: + group: frontdoor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CustomHttpsConfiguration + listKind: CustomHttpsConfigurationList + plural: customhttpsconfigurations + singular: customhttpsconfiguration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CustomHttpsConfiguration is the Schema for the CustomHttpsConfigurations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CustomHttpsConfigurationSpec defines the desired state of + CustomHttpsConfiguration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customHttpsConfiguration: + items: + properties: + azureKeyVaultCertificateSecretName: + type: string + azureKeyVaultCertificateSecretVersion: + type: string + azureKeyVaultCertificateVaultId: + type: string + certificateSource: + type: string + type: object + type: array + customHttpsProvisioningEnabled: + type: boolean + frontendEndpointId: + type: string + required: + - customHttpsProvisioningEnabled + - frontendEndpointId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CustomHttpsConfigurationStatus defines the observed state + of CustomHttpsConfiguration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/frontdoor.azure.jet.crossplane.io_firewallpolicies.yaml b/package/crds/frontdoor.azure.jet.crossplane.io_firewallpolicies.yaml new file mode 100644 index 000000000..475054f11 --- /dev/null +++ b/package/crds/frontdoor.azure.jet.crossplane.io_firewallpolicies.yaml @@ -0,0 +1,321 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallpolicies.frontdoor.azure.jet.crossplane.io +spec: + group: frontdoor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallPolicy + listKind: FirewallPolicyList + plural: firewallpolicies + singular: firewallpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallPolicy is the Schema for the FirewallPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallPolicySpec defines the desired state of FirewallPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customBlockResponseBody: + type: string + customBlockResponseStatusCode: + format: int64 + type: integer + customRule: + items: + properties: + action: + type: string + enabled: + type: boolean + matchCondition: + items: + properties: + matchValues: + items: + type: string + type: array + matchVariable: + type: string + negationCondition: + type: boolean + operator: + type: string + selector: + type: string + transforms: + items: + type: string + type: array + required: + - matchValues + - matchVariable + - operator + type: object + type: array + name: + type: string + priority: + format: int64 + type: integer + rateLimitDurationInMinutes: + format: int64 + type: integer + rateLimitThreshold: + format: int64 + type: integer + type: + type: string + required: + - action + - name + - type + type: object + type: array + enabled: + type: boolean + managedRule: + items: + properties: + exclusion: + items: + properties: + matchVariable: + type: string + operator: + type: string + selector: + type: string + required: + - matchVariable + - operator + - selector + type: object + type: array + override: + items: + properties: + exclusion: + items: + properties: + matchVariable: + type: string + operator: + type: string + selector: + type: string + required: + - matchVariable + - operator + - selector + type: object + type: array + rule: + items: + properties: + action: + type: string + enabled: + type: boolean + exclusion: + items: + properties: + matchVariable: + type: string + operator: + type: string + selector: + type: string + required: + - matchVariable + - operator + - selector + type: object + type: array + ruleId: + type: string + required: + - action + - ruleId + type: object + type: array + ruleGroupName: + type: string + required: + - ruleGroupName + type: object + type: array + type: + type: string + version: + type: string + required: + - type + - version + type: object + type: array + mode: + type: string + name: + type: string + redirectUrl: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallPolicyStatus defines the observed state of FirewallPolicy. + properties: + atProvider: + properties: + frontendEndpointIds: + items: + type: string + type: array + location: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/frontdoor.azure.jet.crossplane.io_rulesengines.yaml b/package/crds/frontdoor.azure.jet.crossplane.io_rulesengines.yaml new file mode 100644 index 000000000..121748725 --- /dev/null +++ b/package/crds/frontdoor.azure.jet.crossplane.io_rulesengines.yaml @@ -0,0 +1,239 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: rulesengines.frontdoor.azure.jet.crossplane.io +spec: + group: frontdoor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RulesEngine + listKind: RulesEngineList + plural: rulesengines + singular: rulesengine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RulesEngine is the Schema for the RulesEngines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RulesEngineSpec defines the desired state of RulesEngine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + enabled: + type: boolean + frontdoorName: + type: string + name: + type: string + resourceGroupName: + type: string + rule: + items: + properties: + action: + items: + properties: + requestHeader: + items: + properties: + headerActionType: + type: string + headerName: + type: string + value: + type: string + type: object + type: array + responseHeader: + items: + properties: + headerActionType: + type: string + headerName: + type: string + value: + type: string + type: object + type: array + type: object + type: array + matchCondition: + items: + properties: + negateCondition: + type: boolean + operator: + type: string + selector: + type: string + transform: + items: + type: string + type: array + value: + items: + type: string + type: array + variable: + type: string + required: + - operator + type: object + type: array + name: + type: string + priority: + format: int64 + type: integer + required: + - name + - priority + type: object + type: array + required: + - frontdoorName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RulesEngineStatus defines the observed state of RulesEngine. + properties: + atProvider: + properties: + location: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/function.azure.jet.crossplane.io_apps.yaml b/package/crds/function.azure.jet.crossplane.io_apps.yaml new file mode 100644 index 000000000..807b33479 --- /dev/null +++ b/package/crds/function.azure.jet.crossplane.io_apps.yaml @@ -0,0 +1,633 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: apps.function.azure.jet.crossplane.io +spec: + group: function.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: App + listKind: AppList + plural: apps + singular: app + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: App is the Schema for the Apps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppSpec defines the desired state of App + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServicePlanId: + type: string + appSettings: + additionalProperties: + type: string + type: object + authSettings: + items: + properties: + activeDirectory: + items: + properties: + allowedAudiences: + items: + type: string + type: array + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - clientId + type: object + type: array + additionalLoginParams: + additionalProperties: + type: string + type: object + allowedExternalRedirectUrls: + items: + type: string + type: array + defaultProvider: + type: string + enabled: + type: boolean + facebook: + items: + properties: + appId: + type: string + appSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - appId + - appSecretSecretRef + type: object + type: array + google: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + issuer: + type: string + microsoft: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + runtimeVersion: + type: string + tokenRefreshExtensionHours: + type: number + tokenStoreEnabled: + type: boolean + twitter: + items: + properties: + consumerKey: + type: string + consumerSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - consumerKey + - consumerSecretSecretRef + type: object + type: array + unauthenticatedClientAction: + type: string + required: + - enabled + type: object + type: array + clientAffinityEnabled: + type: boolean + clientCertMode: + type: string + connectionString: + items: + properties: + name: + type: string + type: + type: string + valueSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - name + - type + - valueSecretRef + type: object + type: array + dailyMemoryTimeQuota: + format: int64 + type: integer + enableBuiltinLogging: + type: boolean + enabled: + type: boolean + httpsOnly: + type: boolean + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + osType: + type: string + resourceGroupName: + type: string + siteConfig: + items: + properties: + alwaysOn: + type: boolean + appScaleLimit: + format: int64 + type: integer + autoSwapSlotName: + type: string + cors: + items: + properties: + allowedOrigins: + items: + type: string + type: array + supportCredentials: + type: boolean + required: + - allowedOrigins + type: object + type: array + dotnetFrameworkVersion: + type: string + elasticInstanceMinimum: + format: int64 + type: integer + ftpsState: + type: string + healthCheckPath: + type: string + http2Enabled: + type: boolean + ipRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + javaVersion: + type: string + linuxFxVersion: + type: string + minTlsVersion: + type: string + preWarmedInstanceCount: + format: int64 + type: integer + runtimeScaleMonitoringEnabled: + type: boolean + scmIpRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + scmType: + type: string + scmUseMainIpRestriction: + type: boolean + use32BitWorkerProcess: + type: boolean + vnetRouteAllEnabled: + type: boolean + websocketsEnabled: + type: boolean + type: object + type: array + sourceControl: + items: + properties: + branch: + type: string + manualIntegration: + type: boolean + repoUrl: + type: string + rollbackEnabled: + type: boolean + useMercurial: + type: boolean + type: object + type: array + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageAccountName: + type: string + storageConnectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + tags: + additionalProperties: + type: string + type: object + version: + type: string + required: + - appServicePlanId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppStatus defines the observed state of App. + properties: + atProvider: + properties: + customDomainVerificationId: + type: string + defaultHostname: + type: string + kind: + type: string + outboundIpAddresses: + type: string + possibleOutboundIpAddresses: + type: string + siteCredential: + items: + properties: + username: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/function.azure.jet.crossplane.io_appslots.yaml b/package/crds/function.azure.jet.crossplane.io_appslots.yaml new file mode 100644 index 000000000..c7e9aa38f --- /dev/null +++ b/package/crds/function.azure.jet.crossplane.io_appslots.yaml @@ -0,0 +1,601 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appslots.function.azure.jet.crossplane.io +spec: + group: function.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppSlot + listKind: AppSlotList + plural: appslots + singular: appslot + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppSlot is the Schema for the AppSlots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppSlotSpec defines the desired state of AppSlot + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + appServicePlanId: + type: string + appSettings: + additionalProperties: + type: string + type: object + authSettings: + items: + properties: + activeDirectory: + items: + properties: + allowedAudiences: + items: + type: string + type: array + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - clientId + type: object + type: array + additionalLoginParams: + additionalProperties: + type: string + type: object + allowedExternalRedirectUrls: + items: + type: string + type: array + defaultProvider: + type: string + enabled: + type: boolean + facebook: + items: + properties: + appId: + type: string + appSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - appId + - appSecretSecretRef + type: object + type: array + google: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + issuer: + type: string + microsoft: + items: + properties: + clientId: + type: string + clientSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + oauthScopes: + items: + type: string + type: array + required: + - clientId + - clientSecretSecretRef + type: object + type: array + runtimeVersion: + type: string + tokenRefreshExtensionHours: + type: number + tokenStoreEnabled: + type: boolean + twitter: + items: + properties: + consumerKey: + type: string + consumerSecretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - consumerKey + - consumerSecretSecretRef + type: object + type: array + unauthenticatedClientAction: + type: string + required: + - enabled + type: object + type: array + clientAffinityEnabled: + type: boolean + connectionString: + items: + properties: + name: + type: string + type: + type: string + valueSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - name + - type + - valueSecretRef + type: object + type: array + dailyMemoryTimeQuota: + format: int64 + type: integer + enableBuiltinLogging: + type: boolean + enabled: + type: boolean + functionAppName: + type: string + httpsOnly: + type: boolean + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + osType: + type: string + resourceGroupName: + type: string + siteConfig: + items: + properties: + alwaysOn: + type: boolean + appScaleLimit: + format: int64 + type: integer + autoSwapSlotName: + type: string + cors: + items: + properties: + allowedOrigins: + items: + type: string + type: array + supportCredentials: + type: boolean + required: + - allowedOrigins + type: object + type: array + dotnetFrameworkVersion: + type: string + elasticInstanceMinimum: + format: int64 + type: integer + ftpsState: + type: string + healthCheckPath: + type: string + http2Enabled: + type: boolean + ipRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + javaVersion: + type: string + linuxFxVersion: + type: string + minTlsVersion: + type: string + preWarmedInstanceCount: + format: int64 + type: integer + runtimeScaleMonitoringEnabled: + type: boolean + scmIpRestriction: + items: + properties: + action: + type: string + headers: + items: + properties: + xAzureFdid: + items: + type: string + type: array + xFdHealthProbe: + items: + type: string + type: array + xForwardedFor: + items: + type: string + type: array + xForwardedHost: + items: + type: string + type: array + type: object + type: array + ipAddress: + type: string + name: + type: string + priority: + format: int64 + type: integer + serviceTag: + type: string + virtualNetworkSubnetId: + type: string + type: object + type: array + scmType: + type: string + scmUseMainIpRestriction: + type: boolean + use32BitWorkerProcess: + type: boolean + vnetRouteAllEnabled: + type: boolean + websocketsEnabled: + type: boolean + type: object + type: array + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageAccountName: + type: string + tags: + additionalProperties: + type: string + type: object + version: + type: string + required: + - appServicePlanId + - functionAppName + - location + - name + - resourceGroupName + - storageAccountAccessKeySecretRef + - storageAccountName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppSlotStatus defines the observed state of AppSlot. + properties: + atProvider: + properties: + defaultHostname: + type: string + kind: + type: string + outboundIpAddresses: + type: string + possibleOutboundIpAddresses: + type: string + siteCredential: + items: + properties: + username: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_hadoopclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_hadoopclusters.yaml new file mode 100644 index 000000000..226499d68 --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_hadoopclusters.yaml @@ -0,0 +1,672 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hadoopclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HadoopCluster + listKind: HadoopClusterList + plural: hadoopclusters + singular: hadoopcluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HadoopCluster is the Schema for the HadoopClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HadoopClusterSpec defines the desired state of HadoopCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + componentVersion: + items: + properties: + hadoop: + type: string + required: + - hadoop + type: object + type: array + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + metastores: + items: + properties: + ambari: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + hive: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + oozie: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + type: object + type: array + monitor: + items: + properties: + logAnalyticsWorkspaceId: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - logAnalyticsWorkspaceId + - primaryKeySecretRef + type: object + type: array + name: + type: string + network: + items: + properties: + connectionDirection: + type: string + privateLinkEnabled: + type: boolean + type: object + type: array + resourceGroupName: + type: string + roles: + items: + properties: + edgeNode: + items: + properties: + installScriptAction: + items: + properties: + name: + type: string + uri: + type: string + required: + - name + - uri + type: object + type: array + targetInstanceCount: + format: int64 + type: integer + vmSize: + type: string + required: + - installScriptAction + - targetInstanceCount + - vmSize + type: object + type: array + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + autoscale: + items: + properties: + capacity: + items: + properties: + maxInstanceCount: + format: int64 + type: integer + minInstanceCount: + format: int64 + type: integer + required: + - maxInstanceCount + - minInstanceCount + type: object + type: array + recurrence: + items: + properties: + schedule: + items: + properties: + days: + items: + type: string + type: array + targetInstanceCount: + format: int64 + type: integer + time: + type: string + required: + - days + - targetInstanceCount + - time + type: object + type: array + timezone: + type: string + required: + - schedule + - timezone + type: object + type: array + type: object + type: array + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - headNode + - workerNode + - zookeeperNode + type: object + type: array + securityProfile: + items: + properties: + aaddsResourceId: + type: string + clusterUsersGroupDns: + items: + type: string + type: array + domainName: + type: string + domainUserPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + domainUsername: + type: string + ldapsUrls: + items: + type: string + type: array + msiResourceId: + type: string + required: + - aaddsResourceId + - domainName + - domainUserPasswordSecretRef + - domainUsername + - ldapsUrls + - msiResourceId + type: object + type: array + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + storageAccountGen2: + items: + properties: + filesystemId: + type: string + isDefault: + type: boolean + managedIdentityResourceId: + type: string + storageResourceId: + type: string + required: + - filesystemId + - isDefault + - managedIdentityResourceId + - storageResourceId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - componentVersion + - gateway + - location + - name + - resourceGroupName + - roles + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HadoopClusterStatus defines the observed state of HadoopCluster. + properties: + atProvider: + properties: + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_hbaseclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_hbaseclusters.yaml new file mode 100644 index 000000000..5cc84808f --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_hbaseclusters.yaml @@ -0,0 +1,623 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hbaseclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HbaseCluster + listKind: HbaseClusterList + plural: hbaseclusters + singular: hbasecluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HbaseCluster is the Schema for the HbaseClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HbaseClusterSpec defines the desired state of HbaseCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + componentVersion: + items: + properties: + hbase: + type: string + required: + - hbase + type: object + type: array + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + metastores: + items: + properties: + ambari: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + hive: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + oozie: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + type: object + type: array + monitor: + items: + properties: + logAnalyticsWorkspaceId: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - logAnalyticsWorkspaceId + - primaryKeySecretRef + type: object + type: array + name: + type: string + resourceGroupName: + type: string + roles: + items: + properties: + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + autoscale: + items: + properties: + recurrence: + items: + properties: + schedule: + items: + properties: + days: + items: + type: string + type: array + targetInstanceCount: + format: int64 + type: integer + time: + type: string + required: + - days + - targetInstanceCount + - time + type: object + type: array + timezone: + type: string + required: + - schedule + - timezone + type: object + type: array + type: object + type: array + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - headNode + - workerNode + - zookeeperNode + type: object + type: array + securityProfile: + items: + properties: + aaddsResourceId: + type: string + clusterUsersGroupDns: + items: + type: string + type: array + domainName: + type: string + domainUserPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + domainUsername: + type: string + ldapsUrls: + items: + type: string + type: array + msiResourceId: + type: string + required: + - aaddsResourceId + - domainName + - domainUserPasswordSecretRef + - domainUsername + - ldapsUrls + - msiResourceId + type: object + type: array + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + storageAccountGen2: + items: + properties: + filesystemId: + type: string + isDefault: + type: boolean + managedIdentityResourceId: + type: string + storageResourceId: + type: string + required: + - filesystemId + - isDefault + - managedIdentityResourceId + - storageResourceId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - componentVersion + - gateway + - location + - name + - resourceGroupName + - roles + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HbaseClusterStatus defines the observed state of HbaseCluster. + properties: + atProvider: + properties: + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_interactivequeryclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_interactivequeryclusters.yaml new file mode 100644 index 000000000..c865822b5 --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_interactivequeryclusters.yaml @@ -0,0 +1,651 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: interactivequeryclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InteractiveQueryCluster + listKind: InteractiveQueryClusterList + plural: interactivequeryclusters + singular: interactivequerycluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InteractiveQueryCluster is the Schema for the InteractiveQueryClusters + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InteractiveQueryClusterSpec defines the desired state of + InteractiveQueryCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + componentVersion: + items: + properties: + interactiveHive: + type: string + required: + - interactiveHive + type: object + type: array + encryptionInTransitEnabled: + type: boolean + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + metastores: + items: + properties: + ambari: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + hive: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + oozie: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + type: object + type: array + monitor: + items: + properties: + logAnalyticsWorkspaceId: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - logAnalyticsWorkspaceId + - primaryKeySecretRef + type: object + type: array + name: + type: string + network: + items: + properties: + connectionDirection: + type: string + privateLinkEnabled: + type: boolean + type: object + type: array + resourceGroupName: + type: string + roles: + items: + properties: + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + autoscale: + items: + properties: + capacity: + items: + properties: + maxInstanceCount: + format: int64 + type: integer + minInstanceCount: + format: int64 + type: integer + required: + - maxInstanceCount + - minInstanceCount + type: object + type: array + recurrence: + items: + properties: + schedule: + items: + properties: + days: + items: + type: string + type: array + targetInstanceCount: + format: int64 + type: integer + time: + type: string + required: + - days + - targetInstanceCount + - time + type: object + type: array + timezone: + type: string + required: + - schedule + - timezone + type: object + type: array + type: object + type: array + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - headNode + - workerNode + - zookeeperNode + type: object + type: array + securityProfile: + items: + properties: + aaddsResourceId: + type: string + clusterUsersGroupDns: + items: + type: string + type: array + domainName: + type: string + domainUserPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + domainUsername: + type: string + ldapsUrls: + items: + type: string + type: array + msiResourceId: + type: string + required: + - aaddsResourceId + - domainName + - domainUserPasswordSecretRef + - domainUsername + - ldapsUrls + - msiResourceId + type: object + type: array + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + storageAccountGen2: + items: + properties: + filesystemId: + type: string + isDefault: + type: boolean + managedIdentityResourceId: + type: string + storageResourceId: + type: string + required: + - filesystemId + - isDefault + - managedIdentityResourceId + - storageResourceId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - componentVersion + - gateway + - location + - name + - resourceGroupName + - roles + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InteractiveQueryClusterStatus defines the observed state + of InteractiveQueryCluster. + properties: + atProvider: + properties: + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_kafkaclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_kafkaclusters.yaml new file mode 100644 index 000000000..cf9256dda --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_kafkaclusters.yaml @@ -0,0 +1,645 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: kafkaclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: KafkaCluster + listKind: KafkaClusterList + plural: kafkaclusters + singular: kafkacluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: KafkaCluster is the Schema for the KafkaClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KafkaClusterSpec defines the desired state of KafkaCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + componentVersion: + items: + properties: + kafka: + type: string + required: + - kafka + type: object + type: array + encryptionInTransitEnabled: + type: boolean + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + metastores: + items: + properties: + ambari: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + hive: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + oozie: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + type: object + type: array + monitor: + items: + properties: + logAnalyticsWorkspaceId: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - logAnalyticsWorkspaceId + - primaryKeySecretRef + type: object + type: array + name: + type: string + resourceGroupName: + type: string + restProxy: + items: + properties: + securityGroupId: + type: string + required: + - securityGroupId + type: object + type: array + roles: + items: + properties: + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + kafkaManagementNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + minInstanceCount: + format: int64 + type: integer + numberOfDisksPerNode: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - numberOfDisksPerNode + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - headNode + - workerNode + - zookeeperNode + type: object + type: array + securityProfile: + items: + properties: + aaddsResourceId: + type: string + clusterUsersGroupDns: + items: + type: string + type: array + domainName: + type: string + domainUserPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + domainUsername: + type: string + ldapsUrls: + items: + type: string + type: array + msiResourceId: + type: string + required: + - aaddsResourceId + - domainName + - domainUserPasswordSecretRef + - domainUsername + - ldapsUrls + - msiResourceId + type: object + type: array + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + storageAccountGen2: + items: + properties: + filesystemId: + type: string + isDefault: + type: boolean + managedIdentityResourceId: + type: string + storageResourceId: + type: string + required: + - filesystemId + - isDefault + - managedIdentityResourceId + - storageResourceId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - componentVersion + - gateway + - location + - name + - resourceGroupName + - roles + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: KafkaClusterStatus defines the observed state of KafkaCluster. + properties: + atProvider: + properties: + httpsEndpoint: + type: string + kafkaRestProxyEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_mlservicesclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_mlservicesclusters.yaml new file mode 100644 index 000000000..51a6e553c --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_mlservicesclusters.yaml @@ -0,0 +1,425 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: mlservicesclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: MlServicesCluster + listKind: MlServicesClusterList + plural: mlservicesclusters + singular: mlservicescluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: MlServicesCluster is the Schema for the MlServicesClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: MlServicesClusterSpec defines the desired state of MlServicesCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + roles: + items: + properties: + edgeNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - edgeNode + - headNode + - workerNode + - zookeeperNode + type: object + type: array + rstudio: + type: boolean + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - gateway + - location + - name + - resourceGroupName + - roles + - rstudio + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: MlServicesClusterStatus defines the observed state of MlServicesCluster. + properties: + atProvider: + properties: + edgeSshEndpoint: + type: string + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_rserverclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_rserverclusters.yaml new file mode 100644 index 000000000..9f824aa2c --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_rserverclusters.yaml @@ -0,0 +1,425 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: rserverclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RserverCluster + listKind: RserverClusterList + plural: rserverclusters + singular: rservercluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RserverCluster is the Schema for the RserverClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RserverClusterSpec defines the desired state of RserverCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + roles: + items: + properties: + edgeNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - edgeNode + - headNode + - workerNode + - zookeeperNode + type: object + type: array + rstudio: + type: boolean + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - gateway + - location + - name + - resourceGroupName + - roles + - rstudio + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RserverClusterStatus defines the observed state of RserverCluster. + properties: + atProvider: + properties: + edgeSshEndpoint: + type: string + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_sparkclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_sparkclusters.yaml new file mode 100644 index 000000000..17dea62cf --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_sparkclusters.yaml @@ -0,0 +1,648 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sparkclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SparkCluster + listKind: SparkClusterList + plural: sparkclusters + singular: sparkcluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SparkCluster is the Schema for the SparkClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SparkClusterSpec defines the desired state of SparkCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + componentVersion: + items: + properties: + spark: + type: string + required: + - spark + type: object + type: array + encryptionInTransitEnabled: + type: boolean + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + metastores: + items: + properties: + ambari: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + hive: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + oozie: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + type: object + type: array + monitor: + items: + properties: + logAnalyticsWorkspaceId: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - logAnalyticsWorkspaceId + - primaryKeySecretRef + type: object + type: array + name: + type: string + network: + items: + properties: + connectionDirection: + type: string + privateLinkEnabled: + type: boolean + type: object + type: array + resourceGroupName: + type: string + roles: + items: + properties: + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + autoscale: + items: + properties: + capacity: + items: + properties: + maxInstanceCount: + format: int64 + type: integer + minInstanceCount: + format: int64 + type: integer + required: + - maxInstanceCount + - minInstanceCount + type: object + type: array + recurrence: + items: + properties: + schedule: + items: + properties: + days: + items: + type: string + type: array + targetInstanceCount: + format: int64 + type: integer + time: + type: string + required: + - days + - targetInstanceCount + - time + type: object + type: array + timezone: + type: string + required: + - schedule + - timezone + type: object + type: array + type: object + type: array + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - headNode + - workerNode + - zookeeperNode + type: object + type: array + securityProfile: + items: + properties: + aaddsResourceId: + type: string + clusterUsersGroupDns: + items: + type: string + type: array + domainName: + type: string + domainUserPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + domainUsername: + type: string + ldapsUrls: + items: + type: string + type: array + msiResourceId: + type: string + required: + - aaddsResourceId + - domainName + - domainUserPasswordSecretRef + - domainUsername + - ldapsUrls + - msiResourceId + type: object + type: array + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + storageAccountGen2: + items: + properties: + filesystemId: + type: string + isDefault: + type: boolean + managedIdentityResourceId: + type: string + storageResourceId: + type: string + required: + - filesystemId + - isDefault + - managedIdentityResourceId + - storageResourceId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - componentVersion + - gateway + - location + - name + - resourceGroupName + - roles + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SparkClusterStatus defines the observed state of SparkCluster. + properties: + atProvider: + properties: + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hdinsight.azure.jet.crossplane.io_stormclusters.yaml b/package/crds/hdinsight.azure.jet.crossplane.io_stormclusters.yaml new file mode 100644 index 000000000..62a61e04f --- /dev/null +++ b/package/crds/hdinsight.azure.jet.crossplane.io_stormclusters.yaml @@ -0,0 +1,526 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: stormclusters.hdinsight.azure.jet.crossplane.io +spec: + group: hdinsight.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: StormCluster + listKind: StormClusterList + plural: stormclusters + singular: stormcluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: StormCluster is the Schema for the StormClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: StormClusterSpec defines the desired state of StormCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterVersion: + type: string + componentVersion: + items: + properties: + storm: + type: string + required: + - storm + type: object + type: array + gateway: + items: + properties: + enabled: + type: boolean + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + location: + type: string + metastores: + items: + properties: + ambari: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + hive: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + oozie: + items: + properties: + databaseName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + server: + type: string + username: + type: string + required: + - databaseName + - passwordSecretRef + - server + - username + type: object + type: array + type: object + type: array + monitor: + items: + properties: + logAnalyticsWorkspaceId: + type: string + primaryKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - logAnalyticsWorkspaceId + - primaryKeySecretRef + type: object + type: array + name: + type: string + resourceGroupName: + type: string + roles: + items: + properties: + headNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + workerNode: + items: + properties: + minInstanceCount: + format: int64 + type: integer + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + targetInstanceCount: + format: int64 + type: integer + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - targetInstanceCount + - username + - vmSize + type: object + type: array + zookeeperNode: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sshKeys: + items: + type: string + type: array + subnetId: + type: string + username: + type: string + virtualNetworkId: + type: string + vmSize: + type: string + required: + - username + - vmSize + type: object + type: array + required: + - headNode + - workerNode + - zookeeperNode + type: object + type: array + storageAccount: + items: + properties: + isDefault: + type: boolean + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerId: + type: string + required: + - isDefault + - storageAccountKeySecretRef + - storageContainerId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + tier: + type: string + tlsMinVersion: + type: string + required: + - clusterVersion + - componentVersion + - gateway + - location + - name + - resourceGroupName + - roles + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: StormClusterStatus defines the observed state of StormCluster. + properties: + atProvider: + properties: + httpsEndpoint: + type: string + sshEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/healthcare.azure.jet.crossplane.io_services.yaml b/package/crds/healthcare.azure.jet.crossplane.io_services.yaml new file mode 100644 index 000000000..6e043e984 --- /dev/null +++ b/package/crds/healthcare.azure.jet.crossplane.io_services.yaml @@ -0,0 +1,221 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: services.healthcare.azure.jet.crossplane.io +spec: + group: healthcare.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Service + listKind: ServiceList + plural: services + singular: service + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Service is the Schema for the Services API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSpec defines the desired state of Service + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessPolicyObjectIds: + items: + type: string + type: array + authenticationConfiguration: + items: + properties: + audience: + type: string + authority: + type: string + smartProxyEnabled: + type: boolean + type: object + type: array + corsConfiguration: + items: + properties: + allowCredentials: + type: boolean + allowedHeaders: + items: + type: string + type: array + allowedMethods: + items: + type: string + type: array + allowedOrigins: + items: + type: string + type: array + maxAgeInSeconds: + format: int64 + type: integer + type: object + type: array + cosmosdbKeyVaultKeyVersionlessId: + type: string + cosmosdbThroughput: + format: int64 + type: integer + kind: + type: string + location: + type: string + name: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceStatus defines the observed state of Service. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hpc.azure.jet.crossplane.io_cacheaccesspolicies.yaml b/package/crds/hpc.azure.jet.crossplane.io_cacheaccesspolicies.yaml new file mode 100644 index 000000000..026f7795f --- /dev/null +++ b/package/crds/hpc.azure.jet.crossplane.io_cacheaccesspolicies.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cacheaccesspolicies.hpc.azure.jet.crossplane.io +spec: + group: hpc.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CacheAccessPolicy + listKind: CacheAccessPolicyList + plural: cacheaccesspolicies + singular: cacheaccesspolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CacheAccessPolicy is the Schema for the CacheAccessPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CacheAccessPolicySpec defines the desired state of CacheAccessPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessRule: + items: + properties: + access: + type: string + anonymousGid: + format: int64 + type: integer + anonymousUid: + format: int64 + type: integer + filter: + type: string + rootSquashEnabled: + type: boolean + scope: + type: string + submountAccessEnabled: + type: boolean + suidEnabled: + type: boolean + required: + - access + - scope + type: object + type: array + hpcCacheId: + type: string + name: + type: string + required: + - accessRule + - hpcCacheId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CacheAccessPolicyStatus defines the observed state of CacheAccessPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hpc.azure.jet.crossplane.io_cacheblobnfstargets.yaml b/package/crds/hpc.azure.jet.crossplane.io_cacheblobnfstargets.yaml new file mode 100644 index 000000000..46f3336cd --- /dev/null +++ b/package/crds/hpc.azure.jet.crossplane.io_cacheblobnfstargets.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cacheblobnfstargets.hpc.azure.jet.crossplane.io +spec: + group: hpc.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CacheBlobNfsTarget + listKind: CacheBlobNfsTargetList + plural: cacheblobnfstargets + singular: cacheblobnfstarget + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CacheBlobNfsTarget is the Schema for the CacheBlobNfsTargets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CacheBlobNfsTargetSpec defines the desired state of CacheBlobNfsTarget + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessPolicyName: + type: string + cacheName: + type: string + name: + type: string + namespacePath: + type: string + resourceGroupName: + type: string + storageContainerId: + type: string + usageModel: + type: string + required: + - cacheName + - name + - namespacePath + - resourceGroupName + - storageContainerId + - usageModel + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CacheBlobNfsTargetStatus defines the observed state of CacheBlobNfsTarget. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hpc.azure.jet.crossplane.io_cacheblobtargets.yaml b/package/crds/hpc.azure.jet.crossplane.io_cacheblobtargets.yaml new file mode 100644 index 000000000..c3e95aecd --- /dev/null +++ b/package/crds/hpc.azure.jet.crossplane.io_cacheblobtargets.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cacheblobtargets.hpc.azure.jet.crossplane.io +spec: + group: hpc.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CacheBlobTarget + listKind: CacheBlobTargetList + plural: cacheblobtargets + singular: cacheblobtarget + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CacheBlobTarget is the Schema for the CacheBlobTargets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CacheBlobTargetSpec defines the desired state of CacheBlobTarget + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessPolicyName: + type: string + cacheName: + type: string + name: + type: string + namespacePath: + type: string + resourceGroupName: + type: string + storageContainerId: + type: string + required: + - cacheName + - name + - namespacePath + - resourceGroupName + - storageContainerId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CacheBlobTargetStatus defines the observed state of CacheBlobTarget. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hpc.azure.jet.crossplane.io_cachenfstargets.yaml b/package/crds/hpc.azure.jet.crossplane.io_cachenfstargets.yaml new file mode 100644 index 000000000..3ff94506a --- /dev/null +++ b/package/crds/hpc.azure.jet.crossplane.io_cachenfstargets.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cachenfstargets.hpc.azure.jet.crossplane.io +spec: + group: hpc.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CacheNfsTarget + listKind: CacheNfsTargetList + plural: cachenfstargets + singular: cachenfstarget + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CacheNfsTarget is the Schema for the CacheNfsTargets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CacheNfsTargetSpec defines the desired state of CacheNfsTarget + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cacheName: + type: string + name: + type: string + namespaceJunction: + items: + properties: + accessPolicyName: + type: string + namespacePath: + type: string + nfsExport: + type: string + targetPath: + type: string + required: + - namespacePath + - nfsExport + type: object + type: array + resourceGroupName: + type: string + targetHostName: + type: string + usageModel: + type: string + required: + - cacheName + - name + - namespaceJunction + - resourceGroupName + - targetHostName + - usageModel + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CacheNfsTargetStatus defines the observed state of CacheNfsTarget. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/hpc.azure.jet.crossplane.io_caches.yaml b/package/crds/hpc.azure.jet.crossplane.io_caches.yaml new file mode 100644 index 000000000..e8b4cd1fd --- /dev/null +++ b/package/crds/hpc.azure.jet.crossplane.io_caches.yaml @@ -0,0 +1,343 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: caches.hpc.azure.jet.crossplane.io +spec: + group: hpc.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Cache + listKind: CacheList + plural: caches + singular: cache + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Cache is the Schema for the Caches API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CacheSpec defines the desired state of Cache + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cacheSizeInGb: + format: int64 + type: integer + defaultAccessPolicy: + items: + properties: + accessRule: + items: + properties: + access: + type: string + anonymousGid: + format: int64 + type: integer + anonymousUid: + format: int64 + type: integer + filter: + type: string + rootSquashEnabled: + type: boolean + scope: + type: string + submountAccessEnabled: + type: boolean + suidEnabled: + type: boolean + required: + - access + - scope + type: object + type: array + required: + - accessRule + type: object + type: array + directoryActiveDirectory: + items: + properties: + cacheNetbiosName: + type: string + dnsPrimaryIp: + type: string + dnsSecondaryIp: + type: string + domainName: + type: string + domainNetbiosName: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - cacheNetbiosName + - dnsPrimaryIp + - domainName + - domainNetbiosName + - passwordSecretRef + - username + type: object + type: array + directoryFlatFile: + items: + properties: + groupFileUri: + type: string + passwordFileUri: + type: string + required: + - groupFileUri + - passwordFileUri + type: object + type: array + directoryLdap: + items: + properties: + baseDn: + type: string + bind: + items: + properties: + dn: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - dn + - passwordSecretRef + type: object + type: array + certificateValidationUri: + type: string + downloadCertificateAutomatically: + type: boolean + encrypted: + type: boolean + server: + type: string + required: + - baseDn + - server + type: object + type: array + dns: + items: + properties: + searchDomain: + type: string + servers: + items: + type: string + type: array + required: + - servers + type: object + type: array + location: + type: string + mtu: + format: int64 + type: integer + name: + type: string + ntpServer: + type: string + resourceGroupName: + type: string + rootSquashEnabled: + type: boolean + skuName: + type: string + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - cacheSizeInGb + - location + - name + - resourceGroupName + - skuName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CacheStatus defines the observed state of Cache. + properties: + atProvider: + properties: + mountAddresses: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/integration.azure.jet.crossplane.io_serviceenvironments.yaml b/package/crds/integration.azure.jet.crossplane.io_serviceenvironments.yaml new file mode 100644 index 000000000..d0bb6769d --- /dev/null +++ b/package/crds/integration.azure.jet.crossplane.io_serviceenvironments.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serviceenvironments.integration.azure.jet.crossplane.io +spec: + group: integration.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceEnvironment + listKind: ServiceEnvironmentList + plural: serviceenvironments + singular: serviceenvironment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceEnvironment is the Schema for the ServiceEnvironments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceEnvironmentSpec defines the desired state of ServiceEnvironment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessEndpointType: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + virtualNetworkSubnetIds: + items: + type: string + type: array + required: + - accessEndpointType + - location + - name + - resourceGroupName + - virtualNetworkSubnetIds + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceEnvironmentStatus defines the observed state of ServiceEnvironment. + properties: + atProvider: + properties: + connectorEndpointIpAddresses: + items: + type: string + type: array + connectorOutboundIpAddresses: + items: + type: string + type: array + workflowEndpointIpAddresses: + items: + type: string + type: array + workflowOutboundIpAddresses: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_securitydevicegroups.yaml b/package/crds/iot.azure.jet.crossplane.io_securitydevicegroups.yaml new file mode 100644 index 000000000..4b2a05b40 --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_securitydevicegroups.yaml @@ -0,0 +1,206 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: securitydevicegroups.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SecurityDeviceGroup + listKind: SecurityDeviceGroupList + plural: securitydevicegroups + singular: securitydevicegroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SecurityDeviceGroup is the Schema for the SecurityDeviceGroups + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SecurityDeviceGroupSpec defines the desired state of SecurityDeviceGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowRule: + items: + properties: + connectionToIpNotAllowed: + items: + type: string + type: array + localUserNotAllowed: + items: + type: string + type: array + processNotAllowed: + items: + type: string + type: array + type: object + type: array + iothubId: + type: string + name: + type: string + rangeRule: + items: + properties: + duration: + type: string + max: + format: int64 + type: integer + min: + format: int64 + type: integer + type: + type: string + required: + - duration + - max + - min + - type + type: object + type: array + required: + - iothubId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SecurityDeviceGroupStatus defines the observed state of SecurityDeviceGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_securitysolutions.yaml b/package/crds/iot.azure.jet.crossplane.io_securitysolutions.yaml new file mode 100644 index 000000000..5f3342982 --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_securitysolutions.yaml @@ -0,0 +1,236 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: securitysolutions.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SecuritySolution + listKind: SecuritySolutionList + plural: securitysolutions + singular: securitysolution + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SecuritySolution is the Schema for the SecuritySolutions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SecuritySolutionSpec defines the desired state of SecuritySolution + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + displayName: + type: string + enabled: + type: boolean + eventsToExport: + items: + type: string + type: array + iothubIds: + items: + type: string + type: array + location: + type: string + logAnalyticsWorkspaceId: + type: string + logUnmaskedIpsEnabled: + type: boolean + name: + type: string + queryForResources: + type: string + querySubscriptionIds: + items: + type: string + type: array + recommendationsEnabled: + items: + properties: + acrAuthentication: + type: boolean + agentSendUnutilizedMsg: + type: boolean + baseline: + type: boolean + edgeHubMemOptimize: + type: boolean + edgeLoggingOption: + type: boolean + inconsistentModuleSettings: + type: boolean + installAgent: + type: boolean + ipFilterDenyAll: + type: boolean + ipFilterPermissiveRule: + type: boolean + openPorts: + type: boolean + permissiveFirewallPolicy: + type: boolean + permissiveInputFirewallRules: + type: boolean + permissiveOutputFirewallRules: + type: boolean + privilegedDockerOptions: + type: boolean + sharedCredentials: + type: boolean + vulnerableTlsCipherSuite: + type: boolean + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - displayName + - iothubIds + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SecuritySolutionStatus defines the observed state of SecuritySolution. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsaccesspolicies.yaml b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsaccesspolicies.yaml new file mode 100644 index 000000000..d31414c29 --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsaccesspolicies.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: timeseriesinsightsaccesspolicies.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TimeSeriesInsightsAccessPolicy + listKind: TimeSeriesInsightsAccessPolicyList + plural: timeseriesinsightsaccesspolicies + singular: timeseriesinsightsaccesspolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TimeSeriesInsightsAccessPolicy is the Schema for the TimeSeriesInsightsAccessPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TimeSeriesInsightsAccessPolicySpec defines the desired state + of TimeSeriesInsightsAccessPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + name: + type: string + principalObjectId: + type: string + roles: + items: + type: string + type: array + timeSeriesInsightsEnvironmentId: + type: string + required: + - name + - principalObjectId + - roles + - timeSeriesInsightsEnvironmentId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TimeSeriesInsightsAccessPolicyStatus defines the observed + state of TimeSeriesInsightsAccessPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightseventsourceiothubs.yaml b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightseventsourceiothubs.yaml new file mode 100644 index 000000000..d59af520f --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightseventsourceiothubs.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: timeseriesinsightseventsourceiothubs.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TimeSeriesInsightsEventSourceIothub + listKind: TimeSeriesInsightsEventSourceIothubList + plural: timeseriesinsightseventsourceiothubs + singular: timeseriesinsightseventsourceiothub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TimeSeriesInsightsEventSourceIothub is the Schema for the TimeSeriesInsightsEventSourceIothubs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TimeSeriesInsightsEventSourceIothubSpec defines the desired + state of TimeSeriesInsightsEventSourceIothub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + consumerGroupName: + type: string + environmentId: + type: string + eventSourceResourceId: + type: string + iothubName: + type: string + location: + type: string + name: + type: string + sharedAccessKey: + type: string + sharedAccessKeyName: + type: string + tags: + additionalProperties: + type: string + type: object + timestampPropertyName: + type: string + required: + - consumerGroupName + - environmentId + - eventSourceResourceId + - iothubName + - location + - name + - sharedAccessKey + - sharedAccessKeyName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TimeSeriesInsightsEventSourceIothubStatus defines the observed + state of TimeSeriesInsightsEventSourceIothub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsgen2environments.yaml b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsgen2environments.yaml new file mode 100644 index 000000000..2d7534f11 --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsgen2environments.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: timeseriesinsightsgen2environments.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TimeSeriesInsightsGen2Environment + listKind: TimeSeriesInsightsGen2EnvironmentList + plural: timeseriesinsightsgen2environments + singular: timeseriesinsightsgen2environment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TimeSeriesInsightsGen2Environment is the Schema for the TimeSeriesInsightsGen2Environments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TimeSeriesInsightsGen2EnvironmentSpec defines the desired + state of TimeSeriesInsightsGen2Environment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + idProperties: + items: + type: string + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + storage: + items: + properties: + key: + type: string + name: + type: string + required: + - key + - name + type: object + type: array + tags: + additionalProperties: + type: string + type: object + warmStoreDataRetentionTime: + type: string + required: + - idProperties + - location + - name + - resourceGroupName + - skuName + - storage + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TimeSeriesInsightsGen2EnvironmentStatus defines the observed + state of TimeSeriesInsightsGen2Environment. + properties: + atProvider: + properties: + dataAccessFqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsreferencedatasets.yaml b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsreferencedatasets.yaml new file mode 100644 index 000000000..df8aa6a24 --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsreferencedatasets.yaml @@ -0,0 +1,193 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: timeseriesinsightsreferencedatasets.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TimeSeriesInsightsReferenceDataSet + listKind: TimeSeriesInsightsReferenceDataSetList + plural: timeseriesinsightsreferencedatasets + singular: timeseriesinsightsreferencedataset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TimeSeriesInsightsReferenceDataSet is the Schema for the TimeSeriesInsightsReferenceDataSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TimeSeriesInsightsReferenceDataSetSpec defines the desired + state of TimeSeriesInsightsReferenceDataSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataStringComparisonBehavior: + type: string + keyProperty: + items: + properties: + name: + type: string + type: + type: string + required: + - name + - type + type: object + type: array + location: + type: string + name: + type: string + tags: + additionalProperties: + type: string + type: object + timeSeriesInsightsEnvironmentId: + type: string + required: + - keyProperty + - location + - name + - timeSeriesInsightsEnvironmentId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TimeSeriesInsightsReferenceDataSetStatus defines the observed + state of TimeSeriesInsightsReferenceDataSet. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsstandardenvironments.yaml b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsstandardenvironments.yaml new file mode 100644 index 000000000..e3384dbad --- /dev/null +++ b/package/crds/iot.azure.jet.crossplane.io_timeseriesinsightsstandardenvironments.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: timeseriesinsightsstandardenvironments.iot.azure.jet.crossplane.io +spec: + group: iot.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TimeSeriesInsightsStandardEnvironment + listKind: TimeSeriesInsightsStandardEnvironmentList + plural: timeseriesinsightsstandardenvironments + singular: timeseriesinsightsstandardenvironment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TimeSeriesInsightsStandardEnvironment is the Schema for the TimeSeriesInsightsStandardEnvironments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TimeSeriesInsightsStandardEnvironmentSpec defines the desired + state of TimeSeriesInsightsStandardEnvironment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataRetentionTime: + type: string + location: + type: string + name: + type: string + partitionKey: + type: string + resourceGroupName: + type: string + skuName: + type: string + storageLimitExceededBehavior: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - dataRetentionTime + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TimeSeriesInsightsStandardEnvironmentStatus defines the observed + state of TimeSeriesInsightsStandardEnvironment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/iotcentral.azure.jet.crossplane.io_applications.yaml b/package/crds/iotcentral.azure.jet.crossplane.io_applications.yaml new file mode 100644 index 000000000..cfaf6e2f1 --- /dev/null +++ b/package/crds/iotcentral.azure.jet.crossplane.io_applications.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: applications.iotcentral.azure.jet.crossplane.io +spec: + group: iotcentral.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Application + listKind: ApplicationList + plural: applications + singular: application + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Application is the Schema for the Applications API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ApplicationSpec defines the desired state of Application + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + displayName: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + subDomain: + type: string + tags: + additionalProperties: + type: string + type: object + template: + type: string + required: + - location + - name + - resourceGroupName + - subDomain + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ApplicationStatus defines the observed state of Application. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultaccesspolicies.yaml b/package/crds/key.azure.jet.crossplane.io_vaultaccesspolicies.yaml new file mode 100644 index 000000000..b5fb33206 --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultaccesspolicies.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultaccesspolicies.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultAccessPolicy + listKind: VaultAccessPolicyList + plural: vaultaccesspolicies + singular: vaultaccesspolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultAccessPolicy is the Schema for the VaultAccessPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultAccessPolicySpec defines the desired state of VaultAccessPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationId: + type: string + certificatePermissions: + items: + type: string + type: array + keyPermissions: + items: + type: string + type: array + keyVaultId: + type: string + objectId: + type: string + secretPermissions: + items: + type: string + type: array + storagePermissions: + items: + type: string + type: array + tenantId: + type: string + required: + - keyVaultId + - objectId + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultAccessPolicyStatus defines the observed state of VaultAccessPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultcertificateissuers.yaml b/package/crds/key.azure.jet.crossplane.io_vaultcertificateissuers.yaml new file mode 100644 index 000000000..a2762ef9b --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultcertificateissuers.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultcertificateissuers.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultCertificateIssuer + listKind: VaultCertificateIssuerList + plural: vaultcertificateissuers + singular: vaultcertificateissuer + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultCertificateIssuer is the Schema for the VaultCertificateIssuers + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultCertificateIssuerSpec defines the desired state of VaultCertificateIssuer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountId: + type: string + admin: + items: + properties: + emailAddress: + type: string + firstName: + type: string + lastName: + type: string + phone: + type: string + required: + - emailAddress + type: object + type: array + keyVaultId: + type: string + name: + type: string + orgId: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + providerName: + type: string + required: + - keyVaultId + - name + - providerName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultCertificateIssuerStatus defines the observed state of + VaultCertificateIssuer. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultcertificates.yaml b/package/crds/key.azure.jet.crossplane.io_vaultcertificates.yaml new file mode 100644 index 000000000..46eed221f --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultcertificates.yaml @@ -0,0 +1,358 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultcertificates.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultCertificate + listKind: VaultCertificateList + plural: vaultcertificates + singular: vaultcertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultCertificate is the Schema for the VaultCertificates API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultCertificateSpec defines the desired state of VaultCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + certificate: + items: + properties: + contentsSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - contentsSecretRef + type: object + type: array + certificatePolicy: + items: + properties: + issuerParameters: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + keyProperties: + items: + properties: + curve: + type: string + exportable: + type: boolean + keySize: + format: int64 + type: integer + keyType: + type: string + reuseKey: + type: boolean + required: + - exportable + - keyType + - reuseKey + type: object + type: array + lifetimeAction: + items: + properties: + action: + items: + properties: + actionType: + type: string + required: + - actionType + type: object + type: array + trigger: + items: + properties: + daysBeforeExpiry: + format: int64 + type: integer + lifetimePercentage: + format: int64 + type: integer + type: object + type: array + required: + - action + - trigger + type: object + type: array + secretProperties: + items: + properties: + contentType: + type: string + required: + - contentType + type: object + type: array + x509CertificateProperties: + items: + properties: + extendedKeyUsage: + items: + type: string + type: array + keyUsage: + items: + type: string + type: array + subject: + type: string + subjectAlternativeNames: + items: + properties: + dnsNames: + items: + type: string + type: array + emails: + items: + type: string + type: array + upns: + items: + type: string + type: array + type: object + type: array + validityInMonths: + format: int64 + type: integer + required: + - keyUsage + - subject + - validityInMonths + type: object + type: array + required: + - issuerParameters + - keyProperties + - secretProperties + type: object + type: array + keyVaultId: + type: string + name: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - certificatePolicy + - keyVaultId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultCertificateStatus defines the observed state of VaultCertificate. + properties: + atProvider: + properties: + certificateAttribute: + items: + properties: + created: + type: string + enabled: + type: boolean + expires: + type: string + notBefore: + type: string + recoveryLevel: + type: string + updated: + type: string + type: object + type: array + certificateData: + type: string + certificateDataBase64: + type: string + secretId: + type: string + thumbprint: + type: string + version: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultkeys.yaml b/package/crds/key.azure.jet.crossplane.io_vaultkeys.yaml new file mode 100644 index 000000000..6e65981af --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultkeys.yaml @@ -0,0 +1,202 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultkeys.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultKey + listKind: VaultKeyList + plural: vaultkeys + singular: vaultkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultKey is the Schema for the VaultKeys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultKeySpec defines the desired state of VaultKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + curve: + type: string + expirationDate: + type: string + keyOpts: + items: + type: string + type: array + keySize: + format: int64 + type: integer + keyType: + type: string + keyVaultId: + type: string + name: + type: string + notBeforeDate: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - keyOpts + - keyType + - keyVaultId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultKeyStatus defines the observed state of VaultKey. + properties: + atProvider: + properties: + e: + type: string + "n": + type: string + version: + type: string + versionlessId: + type: string + x: + type: string + "y": + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultmanagedhardwaresecuritymodules.yaml b/package/crds/key.azure.jet.crossplane.io_vaultmanagedhardwaresecuritymodules.yaml new file mode 100644 index 000000000..e78f65e28 --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultmanagedhardwaresecuritymodules.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultmanagedhardwaresecuritymodules.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultManagedHardwareSecurityModule + listKind: VaultManagedHardwareSecurityModuleList + plural: vaultmanagedhardwaresecuritymodules + singular: vaultmanagedhardwaresecuritymodule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultManagedHardwareSecurityModule is the Schema for the VaultManagedHardwareSecurityModules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultManagedHardwareSecurityModuleSpec defines the desired + state of VaultManagedHardwareSecurityModule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + adminObjectIds: + items: + type: string + type: array + location: + type: string + name: + type: string + purgeProtectionEnabled: + type: boolean + resourceGroupName: + type: string + skuName: + type: string + softDeleteRetentionDays: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + tenantId: + type: string + required: + - adminObjectIds + - location + - name + - resourceGroupName + - skuName + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultManagedHardwareSecurityModuleStatus defines the observed + state of VaultManagedHardwareSecurityModule. + properties: + atProvider: + properties: + hsmUri: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultmanagedstorageaccounts.yaml b/package/crds/key.azure.jet.crossplane.io_vaultmanagedstorageaccounts.yaml new file mode 100644 index 000000000..8df9f59ee --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultmanagedstorageaccounts.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultmanagedstorageaccounts.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultManagedStorageAccount + listKind: VaultManagedStorageAccountList + plural: vaultmanagedstorageaccounts + singular: vaultmanagedstorageaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultManagedStorageAccount is the Schema for the VaultManagedStorageAccounts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultManagedStorageAccountSpec defines the desired state + of VaultManagedStorageAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultId: + type: string + name: + type: string + regenerateKeyAutomatically: + type: boolean + regenerationPeriod: + type: string + storageAccountId: + type: string + storageAccountKey: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - keyVaultId + - name + - storageAccountId + - storageAccountKey + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultManagedStorageAccountStatus defines the observed state + of VaultManagedStorageAccount. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultmanagedstorageaccountsastokendefinitions.yaml b/package/crds/key.azure.jet.crossplane.io_vaultmanagedstorageaccountsastokendefinitions.yaml new file mode 100644 index 000000000..99870fa15 --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultmanagedstorageaccountsastokendefinitions.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultmanagedstorageaccountsastokendefinitions.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultManagedStorageAccountSasTokenDefinition + listKind: VaultManagedStorageAccountSasTokenDefinitionList + plural: vaultmanagedstorageaccountsastokendefinitions + singular: vaultmanagedstorageaccountsastokendefinition + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultManagedStorageAccountSasTokenDefinition is the Schema for + the VaultManagedStorageAccountSasTokenDefinitions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultManagedStorageAccountSasTokenDefinitionSpec defines + the desired state of VaultManagedStorageAccountSasTokenDefinition + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + managedStorageAccountId: + type: string + name: + type: string + sasTemplateUri: + type: string + sasType: + type: string + tags: + additionalProperties: + type: string + type: object + validityPeriod: + type: string + required: + - managedStorageAccountId + - name + - sasTemplateUri + - sasType + - validityPeriod + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultManagedStorageAccountSasTokenDefinitionStatus defines + the observed state of VaultManagedStorageAccountSasTokenDefinition. + properties: + atProvider: + properties: + secretId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaults.yaml b/package/crds/key.azure.jet.crossplane.io_vaults.yaml new file mode 100644 index 000000000..6ae55d814 --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaults.yaml @@ -0,0 +1,262 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaults.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Vault + listKind: VaultList + plural: vaults + singular: vault + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Vault is the Schema for the Vaults API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultSpec defines the desired state of Vault + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessPolicy: + items: + properties: + applicationId: + type: string + certificatePermissions: + items: + type: string + type: array + keyPermissions: + items: + type: string + type: array + objectId: + type: string + secretPermissions: + items: + type: string + type: array + storagePermissions: + items: + type: string + type: array + tenantId: + type: string + required: + - objectId + - tenantId + type: object + type: array + contact: + items: + properties: + email: + type: string + name: + type: string + phone: + type: string + required: + - email + type: object + type: array + enableRbacAuthorization: + type: boolean + enabledForDeployment: + type: boolean + enabledForDiskEncryption: + type: boolean + enabledForTemplateDeployment: + type: boolean + location: + type: string + name: + type: string + networkAcls: + items: + properties: + bypass: + type: string + defaultAction: + type: string + ipRules: + items: + type: string + type: array + virtualNetworkSubnetIds: + items: + type: string + type: array + required: + - bypass + - defaultAction + type: object + type: array + purgeProtectionEnabled: + type: boolean + resourceGroupName: + type: string + skuName: + type: string + softDeleteEnabled: + type: boolean + softDeleteRetentionDays: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + tenantId: + type: string + required: + - location + - name + - resourceGroupName + - skuName + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultStatus defines the observed state of Vault. + properties: + atProvider: + properties: + vaultUri: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/key.azure.jet.crossplane.io_vaultsecrets.yaml b/package/crds/key.azure.jet.crossplane.io_vaultsecrets.yaml new file mode 100644 index 000000000..99c4c2210 --- /dev/null +++ b/package/crds/key.azure.jet.crossplane.io_vaultsecrets.yaml @@ -0,0 +1,202 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: vaultsecrets.key.azure.jet.crossplane.io +spec: + group: key.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VaultSecret + listKind: VaultSecretList + plural: vaultsecrets + singular: vaultsecret + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VaultSecret is the Schema for the VaultSecrets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VaultSecretSpec defines the desired state of VaultSecret + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + contentType: + type: string + expirationDate: + type: string + keyVaultId: + type: string + name: + type: string + notBeforeDate: + type: string + tags: + additionalProperties: + type: string + type: object + valueSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - keyVaultId + - name + - valueSecretRef + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VaultSecretStatus defines the observed state of VaultSecret. + properties: + atProvider: + properties: + version: + type: string + versionlessId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_attacheddatabaseconfigurations.yaml b/package/crds/kusto.azure.jet.crossplane.io_attacheddatabaseconfigurations.yaml new file mode 100644 index 000000000..10df71086 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_attacheddatabaseconfigurations.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: attacheddatabaseconfigurations.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AttachedDatabaseConfiguration + listKind: AttachedDatabaseConfigurationList + plural: attacheddatabaseconfigurations + singular: attacheddatabaseconfiguration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AttachedDatabaseConfiguration is the Schema for the AttachedDatabaseConfigurations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AttachedDatabaseConfigurationSpec defines the desired state + of AttachedDatabaseConfiguration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterName: + type: string + clusterResourceId: + type: string + databaseName: + type: string + defaultPrincipalModificationKind: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - clusterName + - clusterResourceId + - databaseName + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AttachedDatabaseConfigurationStatus defines the observed + state of AttachedDatabaseConfiguration. + properties: + atProvider: + properties: + attachedDatabaseNames: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_clustercustomermanagedkeys.yaml b/package/crds/kusto.azure.jet.crossplane.io_clustercustomermanagedkeys.yaml new file mode 100644 index 000000000..f5a3d25c7 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_clustercustomermanagedkeys.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: clustercustomermanagedkeys.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ClusterCustomerManagedKey + listKind: ClusterCustomerManagedKeyList + plural: clustercustomermanagedkeys + singular: clustercustomermanagedkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ClusterCustomerManagedKey is the Schema for the ClusterCustomerManagedKeys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ClusterCustomerManagedKeySpec defines the desired state of + ClusterCustomerManagedKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterId: + type: string + keyName: + type: string + keyVaultId: + type: string + keyVersion: + type: string + userIdentity: + type: string + required: + - clusterId + - keyName + - keyVaultId + - keyVersion + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ClusterCustomerManagedKeyStatus defines the observed state + of ClusterCustomerManagedKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_clusterprincipalassignments.yaml b/package/crds/kusto.azure.jet.crossplane.io_clusterprincipalassignments.yaml new file mode 100644 index 000000000..89d60a5c3 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_clusterprincipalassignments.yaml @@ -0,0 +1,191 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: clusterprincipalassignments.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ClusterPrincipalAssignment + listKind: ClusterPrincipalAssignmentList + plural: clusterprincipalassignments + singular: clusterprincipalassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ClusterPrincipalAssignment is the Schema for the ClusterPrincipalAssignments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ClusterPrincipalAssignmentSpec defines the desired state + of ClusterPrincipalAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterName: + type: string + name: + type: string + principalId: + type: string + principalType: + type: string + resourceGroupName: + type: string + role: + type: string + tenantId: + type: string + required: + - clusterName + - name + - principalId + - principalType + - resourceGroupName + - role + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ClusterPrincipalAssignmentStatus defines the observed state + of ClusterPrincipalAssignment. + properties: + atProvider: + properties: + principalName: + type: string + tenantName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_clusters.yaml b/package/crds/kusto.azure.jet.crossplane.io_clusters.yaml new file mode 100644 index 000000000..9a45201e3 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_clusters.yaml @@ -0,0 +1,257 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: clusters.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Cluster + listKind: ClusterList + plural: clusters + singular: cluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Cluster is the Schema for the Clusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ClusterSpec defines the desired state of Cluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + doubleEncryptionEnabled: + type: boolean + enableDiskEncryption: + type: boolean + enablePurge: + type: boolean + enableStreamingIngest: + type: boolean + engine: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + languageExtensions: + items: + type: string + type: array + location: + type: string + name: + type: string + optimizedAutoScale: + items: + properties: + maximumInstances: + format: int64 + type: integer + minimumInstances: + format: int64 + type: integer + required: + - maximumInstances + - minimumInstances + type: object + type: array + resourceGroupName: + type: string + sku: + items: + properties: + capacity: + format: int64 + type: integer + name: + type: string + required: + - name + type: object + type: array + tags: + additionalProperties: + type: string + type: object + trustedExternalTenants: + items: + type: string + type: array + virtualNetworkConfiguration: + items: + properties: + dataManagementPublicIpId: + type: string + enginePublicIpId: + type: string + subnetId: + type: string + required: + - dataManagementPublicIpId + - enginePublicIpId + - subnetId + type: object + type: array + zones: + items: + type: string + type: array + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ClusterStatus defines the observed state of Cluster. + properties: + atProvider: + properties: + dataIngestionUri: + type: string + uri: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_databaseprincipalassignments.yaml b/package/crds/kusto.azure.jet.crossplane.io_databaseprincipalassignments.yaml new file mode 100644 index 000000000..ff8b56c53 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_databaseprincipalassignments.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databaseprincipalassignments.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DatabasePrincipalAssignment + listKind: DatabasePrincipalAssignmentList + plural: databaseprincipalassignments + singular: databaseprincipalassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DatabasePrincipalAssignment is the Schema for the DatabasePrincipalAssignments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabasePrincipalAssignmentSpec defines the desired state + of DatabasePrincipalAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterName: + type: string + databaseName: + type: string + name: + type: string + principalId: + type: string + principalType: + type: string + resourceGroupName: + type: string + role: + type: string + tenantId: + type: string + required: + - clusterName + - databaseName + - name + - principalId + - principalType + - resourceGroupName + - role + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabasePrincipalAssignmentStatus defines the observed state + of DatabasePrincipalAssignment. + properties: + atProvider: + properties: + principalName: + type: string + tenantName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_databaseprincipals.yaml b/package/crds/kusto.azure.jet.crossplane.io_databaseprincipals.yaml new file mode 100644 index 000000000..1b774b611 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_databaseprincipals.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databaseprincipals.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DatabasePrincipal + listKind: DatabasePrincipalList + plural: databaseprincipals + singular: databaseprincipal + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DatabasePrincipal is the Schema for the DatabasePrincipals API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabasePrincipalSpec defines the desired state of DatabasePrincipal + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clientId: + type: string + clusterName: + type: string + databaseName: + type: string + objectId: + type: string + resourceGroupName: + type: string + role: + type: string + type: + type: string + required: + - clientId + - clusterName + - databaseName + - objectId + - resourceGroupName + - role + - type + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabasePrincipalStatus defines the observed state of DatabasePrincipal. + properties: + atProvider: + properties: + appId: + type: string + email: + type: string + fullyQualifiedName: + type: string + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_databases.yaml b/package/crds/kusto.azure.jet.crossplane.io_databases.yaml new file mode 100644 index 000000000..0cce4d0e0 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_databases.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databases.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Database + listKind: DatabaseList + plural: databases + singular: database + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Database is the Schema for the Databases API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseSpec defines the desired state of Database + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterName: + type: string + hotCachePeriod: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + softDeletePeriod: + type: string + required: + - clusterName + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseStatus defines the observed state of Database. + properties: + atProvider: + properties: + size: + type: number + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_eventgriddataconnections.yaml b/package/crds/kusto.azure.jet.crossplane.io_eventgriddataconnections.yaml new file mode 100644 index 000000000..13e630309 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_eventgriddataconnections.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: eventgriddataconnections.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EventgridDataConnection + listKind: EventgridDataConnectionList + plural: eventgriddataconnections + singular: eventgriddataconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EventgridDataConnection is the Schema for the EventgridDataConnections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EventgridDataConnectionSpec defines the desired state of + EventgridDataConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + blobStorageEventType: + type: string + clusterName: + type: string + dataFormat: + type: string + databaseName: + type: string + eventhubConsumerGroupName: + type: string + eventhubId: + type: string + location: + type: string + mappingRuleName: + type: string + name: + type: string + resourceGroupName: + type: string + skipFirstRecord: + type: boolean + storageAccountId: + type: string + tableName: + type: string + required: + - clusterName + - databaseName + - eventhubConsumerGroupName + - eventhubId + - location + - name + - resourceGroupName + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EventgridDataConnectionStatus defines the observed state + of EventgridDataConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_eventhubdataconnections.yaml b/package/crds/kusto.azure.jet.crossplane.io_eventhubdataconnections.yaml new file mode 100644 index 000000000..962dc69f4 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_eventhubdataconnections.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: eventhubdataconnections.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EventhubDataConnection + listKind: EventhubDataConnectionList + plural: eventhubdataconnections + singular: eventhubdataconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EventhubDataConnection is the Schema for the EventhubDataConnections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EventhubDataConnectionSpec defines the desired state of EventhubDataConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterName: + type: string + compression: + type: string + consumerGroup: + type: string + dataFormat: + type: string + databaseName: + type: string + eventSystemProperties: + items: + type: string + type: array + eventhubId: + type: string + location: + type: string + mappingRuleName: + type: string + name: + type: string + resourceGroupName: + type: string + tableName: + type: string + required: + - clusterName + - consumerGroup + - databaseName + - eventhubId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EventhubDataConnectionStatus defines the observed state of + EventhubDataConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/kusto.azure.jet.crossplane.io_iothubdataconnections.yaml b/package/crds/kusto.azure.jet.crossplane.io_iothubdataconnections.yaml new file mode 100644 index 000000000..ebb109e48 --- /dev/null +++ b/package/crds/kusto.azure.jet.crossplane.io_iothubdataconnections.yaml @@ -0,0 +1,198 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: iothubdataconnections.kusto.azure.jet.crossplane.io +spec: + group: kusto.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: IothubDataConnection + listKind: IothubDataConnectionList + plural: iothubdataconnections + singular: iothubdataconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: IothubDataConnection is the Schema for the IothubDataConnections + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: IothubDataConnectionSpec defines the desired state of IothubDataConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterName: + type: string + consumerGroup: + type: string + dataFormat: + type: string + databaseName: + type: string + eventSystemProperties: + items: + type: string + type: array + iothubId: + type: string + location: + type: string + mappingRuleName: + type: string + name: + type: string + resourceGroupName: + type: string + sharedAccessPolicyName: + type: string + tableName: + type: string + required: + - clusterName + - consumerGroup + - databaseName + - iothubId + - location + - name + - resourceGroupName + - sharedAccessPolicyName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: IothubDataConnectionStatus defines the observed state of + IothubDataConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_backendaddresspooladdresses.yaml b/package/crds/lb.azure.jet.crossplane.io_backendaddresspooladdresses.yaml new file mode 100644 index 000000000..5683845d9 --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_backendaddresspooladdresses.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: backendaddresspooladdresses.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: BackendAddressPoolAddress + listKind: BackendAddressPoolAddressList + plural: backendaddresspooladdresses + singular: backendaddresspooladdress + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: BackendAddressPoolAddress is the Schema for the BackendAddressPoolAddresss + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: BackendAddressPoolAddressSpec defines the desired state of + BackendAddressPoolAddress + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendAddressPoolId: + type: string + ipAddress: + type: string + name: + type: string + virtualNetworkId: + type: string + required: + - backendAddressPoolId + - ipAddress + - name + - virtualNetworkId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: BackendAddressPoolAddressStatus defines the observed state + of BackendAddressPoolAddress. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_backendaddresspools.yaml b/package/crds/lb.azure.jet.crossplane.io_backendaddresspools.yaml new file mode 100644 index 000000000..2e1511788 --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_backendaddresspools.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: backendaddresspools.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: BackendAddressPool + listKind: BackendAddressPoolList + plural: backendaddresspools + singular: backendaddresspool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: BackendAddressPool is the Schema for the BackendAddressPools + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: BackendAddressPoolSpec defines the desired state of BackendAddressPool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendAddress: + items: + properties: + ipAddress: + type: string + name: + type: string + virtualNetworkId: + type: string + required: + - ipAddress + - name + - virtualNetworkId + type: object + type: array + loadbalancerId: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - loadbalancerId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: BackendAddressPoolStatus defines the observed state of BackendAddressPool. + properties: + atProvider: + properties: + backendIpConfigurations: + items: + type: string + type: array + loadBalancingRules: + items: + type: string + type: array + outboundRules: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_natpools.yaml b/package/crds/lb.azure.jet.crossplane.io_natpools.yaml new file mode 100644 index 000000000..1fc3ab261 --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_natpools.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: natpools.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NatPool + listKind: NatPoolList + plural: natpools + singular: natpool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NatPool is the Schema for the NatPools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NatPoolSpec defines the desired state of NatPool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendPort: + format: int64 + type: integer + frontendIpConfigurationName: + type: string + frontendPortEnd: + format: int64 + type: integer + frontendPortStart: + format: int64 + type: integer + loadbalancerId: + type: string + name: + type: string + protocol: + type: string + resourceGroupName: + type: string + required: + - backendPort + - frontendIpConfigurationName + - frontendPortEnd + - frontendPortStart + - loadbalancerId + - name + - protocol + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NatPoolStatus defines the observed state of NatPool. + properties: + atProvider: + properties: + frontendIpConfigurationId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_natrules.yaml b/package/crds/lb.azure.jet.crossplane.io_natrules.yaml new file mode 100644 index 000000000..b0cc4553f --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_natrules.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: natrules.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NatRule + listKind: NatRuleList + plural: natrules + singular: natrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NatRule is the Schema for the NatRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NatRuleSpec defines the desired state of NatRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendPort: + format: int64 + type: integer + enableFloatingIp: + type: boolean + enableTcpReset: + type: boolean + frontendIpConfigurationName: + type: string + frontendPort: + format: int64 + type: integer + idleTimeoutInMinutes: + format: int64 + type: integer + loadbalancerId: + type: string + name: + type: string + protocol: + type: string + resourceGroupName: + type: string + required: + - backendPort + - frontendIpConfigurationName + - frontendPort + - loadbalancerId + - name + - protocol + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NatRuleStatus defines the observed state of NatRule. + properties: + atProvider: + properties: + backendIpConfigurationId: + type: string + frontendIpConfigurationId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_outboundrules.yaml b/package/crds/lb.azure.jet.crossplane.io_outboundrules.yaml new file mode 100644 index 000000000..133d7bb65 --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_outboundrules.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: outboundrules.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: OutboundRule + listKind: OutboundRuleList + plural: outboundrules + singular: outboundrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: OutboundRule is the Schema for the OutboundRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: OutboundRuleSpec defines the desired state of OutboundRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allocatedOutboundPorts: + format: int64 + type: integer + backendAddressPoolId: + type: string + enableTcpReset: + type: boolean + frontendIpConfiguration: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + idleTimeoutInMinutes: + format: int64 + type: integer + loadbalancerId: + type: string + name: + type: string + protocol: + type: string + resourceGroupName: + type: string + required: + - backendAddressPoolId + - loadbalancerId + - name + - protocol + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: OutboundRuleStatus defines the observed state of OutboundRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_probes.yaml b/package/crds/lb.azure.jet.crossplane.io_probes.yaml new file mode 100644 index 000000000..528cfe061 --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_probes.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: probes.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Probe + listKind: ProbeList + plural: probes + singular: probe + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Probe is the Schema for the Probes API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProbeSpec defines the desired state of Probe + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + intervalInSeconds: + format: int64 + type: integer + loadbalancerId: + type: string + name: + type: string + numberOfProbes: + format: int64 + type: integer + port: + format: int64 + type: integer + protocol: + type: string + requestPath: + type: string + resourceGroupName: + type: string + required: + - loadbalancerId + - name + - port + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProbeStatus defines the observed state of Probe. + properties: + atProvider: + properties: + loadBalancerRules: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lb.azure.jet.crossplane.io_rules.yaml b/package/crds/lb.azure.jet.crossplane.io_rules.yaml new file mode 100644 index 000000000..639e4fa99 --- /dev/null +++ b/package/crds/lb.azure.jet.crossplane.io_rules.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: rules.lb.azure.jet.crossplane.io +spec: + group: lb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Rule + listKind: RuleList + plural: rules + singular: rule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Rule is the Schema for the Rules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RuleSpec defines the desired state of Rule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendAddressPoolId: + type: string + backendPort: + format: int64 + type: integer + disableOutboundSnat: + type: boolean + enableFloatingIp: + type: boolean + enableTcpReset: + type: boolean + frontendIpConfigurationName: + type: string + frontendPort: + format: int64 + type: integer + idleTimeoutInMinutes: + format: int64 + type: integer + loadDistribution: + type: string + loadbalancerId: + type: string + name: + type: string + probeId: + type: string + protocol: + type: string + resourceGroupName: + type: string + required: + - backendPort + - frontendIpConfigurationName + - frontendPort + - loadbalancerId + - name + - protocol + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RuleStatus defines the observed state of Rule. + properties: + atProvider: + properties: + frontendIpConfigurationId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lighthouse.azure.jet.crossplane.io_assignments.yaml b/package/crds/lighthouse.azure.jet.crossplane.io_assignments.yaml new file mode 100644 index 000000000..175043710 --- /dev/null +++ b/package/crds/lighthouse.azure.jet.crossplane.io_assignments.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignments.lighthouse.azure.jet.crossplane.io +spec: + group: lighthouse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Assignment + listKind: AssignmentList + plural: assignments + singular: assignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Assignment is the Schema for the Assignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentSpec defines the desired state of Assignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + lighthouseDefinitionId: + type: string + name: + type: string + scope: + type: string + required: + - lighthouseDefinitionId + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentStatus defines the observed state of Assignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/lighthouse.azure.jet.crossplane.io_definitions.yaml b/package/crds/lighthouse.azure.jet.crossplane.io_definitions.yaml new file mode 100644 index 000000000..eed0cc76b --- /dev/null +++ b/package/crds/lighthouse.azure.jet.crossplane.io_definitions.yaml @@ -0,0 +1,212 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: definitions.lighthouse.azure.jet.crossplane.io +spec: + group: lighthouse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Definition + listKind: DefinitionList + plural: definitions + singular: definition + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Definition is the Schema for the Definitions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DefinitionSpec defines the desired state of Definition + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + authorization: + items: + properties: + delegatedRoleDefinitionIds: + items: + type: string + type: array + principalDisplayName: + type: string + principalId: + type: string + roleDefinitionId: + type: string + required: + - principalId + - roleDefinitionId + type: object + type: array + description: + type: string + lighthouseDefinitionId: + type: string + managingTenantId: + type: string + name: + type: string + plan: + items: + properties: + name: + type: string + product: + type: string + publisher: + type: string + version: + type: string + required: + - name + - product + - publisher + - version + type: object + type: array + scope: + type: string + required: + - authorization + - managingTenantId + - name + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DefinitionStatus defines the observed state of Definition. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/linux.azure.jet.crossplane.io_virtualmachines.yaml b/package/crds/linux.azure.jet.crossplane.io_virtualmachines.yaml new file mode 100644 index 000000000..062aebe90 --- /dev/null +++ b/package/crds/linux.azure.jet.crossplane.io_virtualmachines.yaml @@ -0,0 +1,394 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachines.linux.azure.jet.crossplane.io +spec: + group: linux.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachine + listKind: VirtualMachineList + plural: virtualmachines + singular: virtualmachine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachine is the Schema for the VirtualMachines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineSpec defines the desired state of VirtualMachine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalCapabilities: + items: + properties: + ultraSsdEnabled: + type: boolean + type: object + type: array + adminPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + adminSshKey: + items: + properties: + publicKey: + type: string + username: + type: string + required: + - publicKey + - username + type: object + type: array + adminUsername: + type: string + allowExtensionOperations: + type: boolean + availabilitySetId: + type: string + bootDiagnostics: + items: + properties: + storageAccountUri: + type: string + type: object + type: array + computerName: + type: string + customDataSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dedicatedHostId: + type: string + disablePasswordAuthentication: + type: boolean + encryptionAtHostEnabled: + type: boolean + evictionPolicy: + type: string + extensionsTimeBudget: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + licenseType: + type: string + location: + type: string + maxBidPrice: + type: number + name: + type: string + networkInterfaceIds: + items: + type: string + type: array + osDisk: + items: + properties: + caching: + type: string + diffDiskSettings: + items: + properties: + option: + type: string + required: + - option + type: object + type: array + diskEncryptionSetId: + type: string + diskSizeGb: + format: int64 + type: integer + name: + type: string + storageAccountType: + type: string + writeAcceleratorEnabled: + type: boolean + required: + - caching + - storageAccountType + type: object + type: array + plan: + items: + properties: + name: + type: string + product: + type: string + publisher: + type: string + required: + - name + - product + - publisher + type: object + type: array + platformFaultDomain: + format: int64 + type: integer + priority: + type: string + provisionVmAgent: + type: boolean + proximityPlacementGroupId: + type: string + resourceGroupName: + type: string + secret: + items: + properties: + certificate: + items: + properties: + url: + type: string + required: + - url + type: object + type: array + keyVaultId: + type: string + required: + - certificate + - keyVaultId + type: object + type: array + size: + type: string + sourceImageId: + type: string + sourceImageReference: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + required: + - offer + - publisher + - sku + - version + type: object + type: array + tags: + additionalProperties: + type: string + type: object + virtualMachineScaleSetId: + type: string + zone: + type: string + required: + - adminUsername + - location + - name + - networkInterfaceIds + - osDisk + - resourceGroupName + - size + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineStatus defines the observed state of VirtualMachine. + properties: + atProvider: + properties: + privateIpAddress: + type: string + privateIpAddresses: + items: + type: string + type: array + publicIpAddress: + type: string + publicIpAddresses: + items: + type: string + type: array + virtualMachineId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/linux.azure.jet.crossplane.io_virtualmachinescalesets.yaml b/package/crds/linux.azure.jet.crossplane.io_virtualmachinescalesets.yaml new file mode 100644 index 000000000..40ffc7b23 --- /dev/null +++ b/package/crds/linux.azure.jet.crossplane.io_virtualmachinescalesets.yaml @@ -0,0 +1,602 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachinescalesets.linux.azure.jet.crossplane.io +spec: + group: linux.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachineScaleSet + listKind: VirtualMachineScaleSetList + plural: virtualmachinescalesets + singular: virtualmachinescaleset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachineScaleSet is the Schema for the VirtualMachineScaleSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalCapabilities: + items: + properties: + ultraSsdEnabled: + type: boolean + type: object + type: array + adminPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + adminSshKey: + items: + properties: + publicKey: + type: string + username: + type: string + required: + - publicKey + - username + type: object + type: array + adminUsername: + type: string + automaticInstanceRepair: + items: + properties: + enabled: + type: boolean + gracePeriod: + type: string + required: + - enabled + type: object + type: array + automaticOsUpgradePolicy: + items: + properties: + disableAutomaticRollback: + type: boolean + enableAutomaticOsUpgrade: + type: boolean + required: + - disableAutomaticRollback + - enableAutomaticOsUpgrade + type: object + type: array + bootDiagnostics: + items: + properties: + storageAccountUri: + type: string + type: object + type: array + computerNamePrefix: + type: string + customDataSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dataDisk: + items: + properties: + caching: + type: string + createOption: + type: string + diskEncryptionSetId: + type: string + diskIopsReadWrite: + format: int64 + type: integer + diskMbpsReadWrite: + format: int64 + type: integer + diskSizeGb: + format: int64 + type: integer + lun: + format: int64 + type: integer + storageAccountType: + type: string + writeAcceleratorEnabled: + type: boolean + required: + - caching + - diskSizeGb + - lun + - storageAccountType + type: object + type: array + disablePasswordAuthentication: + type: boolean + doNotRunExtensionsOnOverprovisionedMachines: + type: boolean + encryptionAtHostEnabled: + type: boolean + evictionPolicy: + type: string + extension: + items: + properties: + autoUpgradeMinorVersion: + type: boolean + forceUpdateTag: + type: string + name: + type: string + protectedSettingsSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + provisionAfterExtensions: + items: + type: string + type: array + publisher: + type: string + settings: + type: string + type: + type: string + typeHandlerVersion: + type: string + required: + - name + - publisher + - type + - typeHandlerVersion + type: object + type: array + extensionsTimeBudget: + type: string + healthProbeId: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + instances: + format: int64 + type: integer + location: + type: string + maxBidPrice: + type: number + name: + type: string + networkInterface: + items: + properties: + dnsServers: + items: + type: string + type: array + enableAcceleratedNetworking: + type: boolean + enableIpForwarding: + type: boolean + ipConfiguration: + items: + properties: + applicationGatewayBackendAddressPoolIds: + items: + type: string + type: array + applicationSecurityGroupIds: + items: + type: string + type: array + loadBalancerBackendAddressPoolIds: + items: + type: string + type: array + loadBalancerInboundNatRulesIds: + items: + type: string + type: array + name: + type: string + primary: + type: boolean + publicIpAddress: + items: + properties: + domainNameLabel: + type: string + idleTimeoutInMinutes: + format: int64 + type: integer + ipTag: + items: + properties: + tag: + type: string + type: + type: string + required: + - tag + - type + type: object + type: array + name: + type: string + publicIpPrefixId: + type: string + required: + - name + type: object + type: array + subnetId: + type: string + version: + type: string + required: + - name + type: object + type: array + name: + type: string + networkSecurityGroupId: + type: string + primary: + type: boolean + required: + - ipConfiguration + - name + type: object + type: array + osDisk: + items: + properties: + caching: + type: string + diffDiskSettings: + items: + properties: + option: + type: string + required: + - option + type: object + type: array + diskEncryptionSetId: + type: string + diskSizeGb: + format: int64 + type: integer + storageAccountType: + type: string + writeAcceleratorEnabled: + type: boolean + required: + - caching + - storageAccountType + type: object + type: array + overprovision: + type: boolean + plan: + items: + properties: + name: + type: string + product: + type: string + publisher: + type: string + required: + - name + - product + - publisher + type: object + type: array + platformFaultDomainCount: + format: int64 + type: integer + priority: + type: string + provisionVmAgent: + type: boolean + proximityPlacementGroupId: + type: string + resourceGroupName: + type: string + rollingUpgradePolicy: + items: + properties: + maxBatchInstancePercent: + format: int64 + type: integer + maxUnhealthyInstancePercent: + format: int64 + type: integer + maxUnhealthyUpgradedInstancePercent: + format: int64 + type: integer + pauseTimeBetweenBatches: + type: string + required: + - maxBatchInstancePercent + - maxUnhealthyInstancePercent + - maxUnhealthyUpgradedInstancePercent + - pauseTimeBetweenBatches + type: object + type: array + scaleInPolicy: + type: string + secret: + items: + properties: + certificate: + items: + properties: + url: + type: string + required: + - url + type: object + type: array + keyVaultId: + type: string + required: + - certificate + - keyVaultId + type: object + type: array + singlePlacementGroup: + type: boolean + sku: + type: string + sourceImageId: + type: string + sourceImageReference: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + required: + - offer + - publisher + - sku + - version + type: object + type: array + tags: + additionalProperties: + type: string + type: object + terminateNotification: + items: + properties: + enabled: + type: boolean + timeout: + type: string + required: + - enabled + type: object + type: array + upgradeMode: + type: string + zoneBalance: + type: boolean + zones: + items: + type: string + type: array + required: + - adminUsername + - instances + - location + - name + - networkInterface + - osDisk + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineScaleSetStatus defines the observed state of + VirtualMachineScaleSet. + properties: + atProvider: + properties: + uniqueId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/local.azure.jet.crossplane.io_networkgateways.yaml b/package/crds/local.azure.jet.crossplane.io_networkgateways.yaml new file mode 100644 index 000000000..9705c015f --- /dev/null +++ b/package/crds/local.azure.jet.crossplane.io_networkgateways.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: networkgateways.local.azure.jet.crossplane.io +spec: + group: local.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NetworkGateway + listKind: NetworkGatewayList + plural: networkgateways + singular: networkgateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NetworkGateway is the Schema for the NetworkGateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NetworkGatewaySpec defines the desired state of NetworkGateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + addressSpace: + items: + type: string + type: array + bgpSettings: + items: + properties: + asn: + format: int64 + type: integer + bgpPeeringAddress: + type: string + peerWeight: + format: int64 + type: integer + required: + - asn + - bgpPeeringAddress + type: object + type: array + gatewayAddress: + type: string + gatewayFqdn: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NetworkGatewayStatus defines the observed state of NetworkGateway. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticsclustercustomermanagedkeys.yaml b/package/crds/log.azure.jet.crossplane.io_analyticsclustercustomermanagedkeys.yaml new file mode 100644 index 000000000..d70b893f3 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticsclustercustomermanagedkeys.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsclustercustomermanagedkeys.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsClusterCustomerManagedKey + listKind: AnalyticsClusterCustomerManagedKeyList + plural: analyticsclustercustomermanagedkeys + singular: analyticsclustercustomermanagedkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsClusterCustomerManagedKey is the Schema for the AnalyticsClusterCustomerManagedKeys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsClusterCustomerManagedKeySpec defines the desired + state of AnalyticsClusterCustomerManagedKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultKeyId: + type: string + logAnalyticsClusterId: + type: string + required: + - keyVaultKeyId + - logAnalyticsClusterId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsClusterCustomerManagedKeyStatus defines the observed + state of AnalyticsClusterCustomerManagedKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticsclusters.yaml b/package/crds/log.azure.jet.crossplane.io_analyticsclusters.yaml new file mode 100644 index 000000000..dd0912f78 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticsclusters.yaml @@ -0,0 +1,191 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsclusters.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsCluster + listKind: AnalyticsClusterList + plural: analyticsclusters + singular: analyticscluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsCluster is the Schema for the AnalyticsClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsClusterSpec defines the desired state of AnalyticsCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + sizeGb: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + required: + - identity + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsClusterStatus defines the observed state of AnalyticsCluster. + properties: + atProvider: + properties: + clusterId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticsdataexportrules.yaml b/package/crds/log.azure.jet.crossplane.io_analyticsdataexportrules.yaml new file mode 100644 index 000000000..26ee92dfe --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticsdataexportrules.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsdataexportrules.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsDataExportRule + listKind: AnalyticsDataExportRuleList + plural: analyticsdataexportrules + singular: analyticsdataexportrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsDataExportRule is the Schema for the AnalyticsDataExportRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsDataExportRuleSpec defines the desired state of + AnalyticsDataExportRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + destinationResourceId: + type: string + enabled: + type: boolean + name: + type: string + resourceGroupName: + type: string + tableNames: + items: + type: string + type: array + workspaceResourceId: + type: string + required: + - destinationResourceId + - name + - resourceGroupName + - tableNames + - workspaceResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsDataExportRuleStatus defines the observed state + of AnalyticsDataExportRule. + properties: + atProvider: + properties: + exportRuleId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticsdatasourcewindowsevents.yaml b/package/crds/log.azure.jet.crossplane.io_analyticsdatasourcewindowsevents.yaml new file mode 100644 index 000000000..2eedc1a80 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticsdatasourcewindowsevents.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsdatasourcewindowsevents.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsDatasourceWindowsEvent + listKind: AnalyticsDatasourceWindowsEventList + plural: analyticsdatasourcewindowsevents + singular: analyticsdatasourcewindowsevent + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsDatasourceWindowsEvent is the Schema for the AnalyticsDatasourceWindowsEvents + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsDatasourceWindowsEventSpec defines the desired state + of AnalyticsDatasourceWindowsEvent + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventLogName: + type: string + eventTypes: + items: + type: string + type: array + name: + type: string + resourceGroupName: + type: string + workspaceName: + type: string + required: + - eventLogName + - eventTypes + - name + - resourceGroupName + - workspaceName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsDatasourceWindowsEventStatus defines the observed + state of AnalyticsDatasourceWindowsEvent. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticsdatasourcewindowsperformancecounters.yaml b/package/crds/log.azure.jet.crossplane.io_analyticsdatasourcewindowsperformancecounters.yaml new file mode 100644 index 000000000..0cb38e03e --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticsdatasourcewindowsperformancecounters.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsdatasourcewindowsperformancecounters.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsDatasourceWindowsPerformanceCounter + listKind: AnalyticsDatasourceWindowsPerformanceCounterList + plural: analyticsdatasourcewindowsperformancecounters + singular: analyticsdatasourcewindowsperformancecounter + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsDatasourceWindowsPerformanceCounter is the Schema for + the AnalyticsDatasourceWindowsPerformanceCounters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsDatasourceWindowsPerformanceCounterSpec defines + the desired state of AnalyticsDatasourceWindowsPerformanceCounter + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + counterName: + type: string + instanceName: + type: string + intervalSeconds: + format: int64 + type: integer + name: + type: string + objectName: + type: string + resourceGroupName: + type: string + workspaceName: + type: string + required: + - counterName + - instanceName + - intervalSeconds + - name + - objectName + - resourceGroupName + - workspaceName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsDatasourceWindowsPerformanceCounterStatus defines + the observed state of AnalyticsDatasourceWindowsPerformanceCounter. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticslinkedservices.yaml b/package/crds/log.azure.jet.crossplane.io_analyticslinkedservices.yaml new file mode 100644 index 000000000..a610c8b22 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticslinkedservices.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticslinkedservices.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsLinkedService + listKind: AnalyticsLinkedServiceList + plural: analyticslinkedservices + singular: analyticslinkedservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsLinkedService is the Schema for the AnalyticsLinkedServices + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsLinkedServiceSpec defines the desired state of AnalyticsLinkedService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + linkedServiceName: + type: string + readAccessId: + type: string + resourceGroupName: + type: string + resourceId: + type: string + tags: + additionalProperties: + type: string + type: object + workspaceId: + type: string + workspaceName: + type: string + writeAccessId: + type: string + required: + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsLinkedServiceStatus defines the observed state of + AnalyticsLinkedService. + properties: + atProvider: + properties: + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticslinkedstorageaccounts.yaml b/package/crds/log.azure.jet.crossplane.io_analyticslinkedstorageaccounts.yaml new file mode 100644 index 000000000..a506ee265 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticslinkedstorageaccounts.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticslinkedstorageaccounts.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsLinkedStorageAccount + listKind: AnalyticsLinkedStorageAccountList + plural: analyticslinkedstorageaccounts + singular: analyticslinkedstorageaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsLinkedStorageAccount is the Schema for the AnalyticsLinkedStorageAccounts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsLinkedStorageAccountSpec defines the desired state + of AnalyticsLinkedStorageAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dataSourceType: + type: string + resourceGroupName: + type: string + storageAccountIds: + items: + type: string + type: array + workspaceResourceId: + type: string + required: + - dataSourceType + - resourceGroupName + - storageAccountIds + - workspaceResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsLinkedStorageAccountStatus defines the observed + state of AnalyticsLinkedStorageAccount. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticssavedsearches.yaml b/package/crds/log.azure.jet.crossplane.io_analyticssavedsearches.yaml new file mode 100644 index 000000000..492f82861 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticssavedsearches.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticssavedsearches.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsSavedSearch + listKind: AnalyticsSavedSearchList + plural: analyticssavedsearches + singular: analyticssavedsearch + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsSavedSearch is the Schema for the AnalyticsSavedSearchs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsSavedSearchSpec defines the desired state of AnalyticsSavedSearch + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + category: + type: string + displayName: + type: string + functionAlias: + type: string + functionParameters: + items: + type: string + type: array + logAnalyticsWorkspaceId: + type: string + name: + type: string + query: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - category + - displayName + - logAnalyticsWorkspaceId + - name + - query + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsSavedSearchStatus defines the observed state of + AnalyticsSavedSearch. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/log.azure.jet.crossplane.io_analyticssolutions.yaml b/package/crds/log.azure.jet.crossplane.io_analyticssolutions.yaml new file mode 100644 index 000000000..9e8b4d6a6 --- /dev/null +++ b/package/crds/log.azure.jet.crossplane.io_analyticssolutions.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticssolutions.log.azure.jet.crossplane.io +spec: + group: log.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsSolution + listKind: AnalyticsSolutionList + plural: analyticssolutions + singular: analyticssolution + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsSolution is the Schema for the AnalyticsSolutions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsSolutionSpec defines the desired state of AnalyticsSolution + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + plan: + items: + properties: + product: + type: string + promotionCode: + type: string + publisher: + type: string + required: + - product + - publisher + type: object + type: array + resourceGroupName: + type: string + solutionName: + type: string + tags: + additionalProperties: + type: string + type: object + workspaceName: + type: string + workspaceResourceId: + type: string + required: + - location + - plan + - resourceGroupName + - solutionName + - workspaceName + - workspaceResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsSolutionStatus defines the observed state of AnalyticsSolution. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appactioncustoms.yaml b/package/crds/logic.azure.jet.crossplane.io_appactioncustoms.yaml new file mode 100644 index 000000000..54276b8c1 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appactioncustoms.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appactioncustoms.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppActionCustom + listKind: AppActionCustomList + plural: appactioncustoms + singular: appactioncustom + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppActionCustom is the Schema for the AppActionCustoms API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppActionCustomSpec defines the desired state of AppActionCustom + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + body: + type: string + logicAppId: + type: string + name: + type: string + required: + - body + - logicAppId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppActionCustomStatus defines the observed state of AppActionCustom. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appactionhttps.yaml b/package/crds/logic.azure.jet.crossplane.io_appactionhttps.yaml new file mode 100644 index 000000000..de091a1f2 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appactionhttps.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appactionhttps.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppActionHttp + listKind: AppActionHttpList + plural: appactionhttps + singular: appactionhttp + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppActionHttp is the Schema for the AppActionHttps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppActionHttpSpec defines the desired state of AppActionHttp + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + body: + type: string + headers: + additionalProperties: + type: string + type: object + logicAppId: + type: string + method: + type: string + name: + type: string + runAfter: + items: + properties: + actionName: + type: string + actionResult: + type: string + required: + - actionName + - actionResult + type: object + type: array + uri: + type: string + required: + - logicAppId + - method + - name + - uri + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppActionHttpStatus defines the observed state of AppActionHttp. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountagreements.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountagreements.yaml new file mode 100644 index 000000000..1db7195f8 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountagreements.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountagreements.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountAgreement + listKind: AppIntegrationAccountAgreementList + plural: appintegrationaccountagreements + singular: appintegrationaccountagreement + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountAgreement is the Schema for the AppIntegrationAccountAgreements + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountAgreementSpec defines the desired state + of AppIntegrationAccountAgreement + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + agreementType: + type: string + content: + type: string + guestIdentity: + items: + properties: + qualifier: + type: string + value: + type: string + required: + - qualifier + - value + type: object + type: array + guestPartnerName: + type: string + hostIdentity: + items: + properties: + qualifier: + type: string + value: + type: string + required: + - qualifier + - value + type: object + type: array + hostPartnerName: + type: string + integrationAccountName: + type: string + metadata: + additionalProperties: + type: string + type: object + name: + type: string + resourceGroupName: + type: string + required: + - agreementType + - content + - guestIdentity + - guestPartnerName + - hostIdentity + - hostPartnerName + - integrationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountAgreementStatus defines the observed + state of AppIntegrationAccountAgreement. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountassemblies.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountassemblies.yaml new file mode 100644 index 000000000..b57655247 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountassemblies.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountassemblies.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountAssembly + listKind: AppIntegrationAccountAssemblyList + plural: appintegrationaccountassemblies + singular: appintegrationaccountassembly + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountAssembly is the Schema for the AppIntegrationAccountAssemblys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountAssemblySpec defines the desired state + of AppIntegrationAccountAssembly + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + assemblyName: + type: string + assemblyVersion: + type: string + content: + type: string + contentLinkUri: + type: string + integrationAccountName: + type: string + metadata: + additionalProperties: + type: string + type: object + name: + type: string + resourceGroupName: + type: string + required: + - assemblyName + - integrationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountAssemblyStatus defines the observed + state of AppIntegrationAccountAssembly. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountbatchconfigurations.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountbatchconfigurations.yaml new file mode 100644 index 000000000..f8555c248 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountbatchconfigurations.yaml @@ -0,0 +1,249 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountbatchconfigurations.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountBatchConfiguration + listKind: AppIntegrationAccountBatchConfigurationList + plural: appintegrationaccountbatchconfigurations + singular: appintegrationaccountbatchconfiguration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountBatchConfiguration is the Schema for the + AppIntegrationAccountBatchConfigurations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountBatchConfigurationSpec defines the desired + state of AppIntegrationAccountBatchConfiguration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + batchGroupName: + type: string + integrationAccountName: + type: string + metadata: + additionalProperties: + type: string + type: object + name: + type: string + releaseCriteria: + items: + properties: + batchSize: + format: int64 + type: integer + messageCount: + format: int64 + type: integer + recurrence: + items: + properties: + endTime: + type: string + frequency: + type: string + interval: + format: int64 + type: integer + schedule: + items: + properties: + hours: + items: + format: int64 + type: integer + type: array + minutes: + items: + format: int64 + type: integer + type: array + monthDays: + items: + format: int64 + type: integer + type: array + monthly: + items: + properties: + week: + format: int64 + type: integer + weekday: + type: string + required: + - week + - weekday + type: object + type: array + weekDays: + items: + type: string + type: array + type: object + type: array + startTime: + type: string + timeZone: + type: string + required: + - frequency + - interval + type: object + type: array + type: object + type: array + resourceGroupName: + type: string + required: + - batchGroupName + - integrationAccountName + - name + - releaseCriteria + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountBatchConfigurationStatus defines the + observed state of AppIntegrationAccountBatchConfiguration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountmaps.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountmaps.yaml new file mode 100644 index 000000000..abd00ef45 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountmaps.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountmaps.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountMap + listKind: AppIntegrationAccountMapList + plural: appintegrationaccountmaps + singular: appintegrationaccountmap + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountMap is the Schema for the AppIntegrationAccountMaps + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountMapSpec defines the desired state of + AppIntegrationAccountMap + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + content: + type: string + integrationAccountName: + type: string + mapType: + type: string + metadata: + additionalProperties: + type: string + type: object + name: + type: string + resourceGroupName: + type: string + required: + - content + - integrationAccountName + - mapType + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountMapStatus defines the observed state + of AppIntegrationAccountMap. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountpartners.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountpartners.yaml new file mode 100644 index 000000000..63b42b5bc --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountpartners.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountpartners.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountPartner + listKind: AppIntegrationAccountPartnerList + plural: appintegrationaccountpartners + singular: appintegrationaccountpartner + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountPartner is the Schema for the AppIntegrationAccountPartners + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountPartnerSpec defines the desired state + of AppIntegrationAccountPartner + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + businessIdentity: + items: + properties: + qualifier: + type: string + value: + type: string + required: + - qualifier + - value + type: object + type: array + integrationAccountName: + type: string + metadata: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - businessIdentity + - integrationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountPartnerStatus defines the observed state + of AppIntegrationAccountPartner. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccounts.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccounts.yaml new file mode 100644 index 000000000..c5d384df4 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccounts.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccounts.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccount + listKind: AppIntegrationAccountList + plural: appintegrationaccounts + singular: appintegrationaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccount is the Schema for the AppIntegrationAccounts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountSpec defines the desired state of AppIntegrationAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountStatus defines the observed state of + AppIntegrationAccount. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountschemas.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountschemas.yaml new file mode 100644 index 000000000..6812b8947 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountschemas.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountschemas.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountSchema + listKind: AppIntegrationAccountSchemaList + plural: appintegrationaccountschemas + singular: appintegrationaccountschema + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountSchema is the Schema for the AppIntegrationAccountSchemas + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountSchemaSpec defines the desired state + of AppIntegrationAccountSchema + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + content: + type: string + fileName: + type: string + integrationAccountName: + type: string + metadata: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - content + - integrationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountSchemaStatus defines the observed state + of AppIntegrationAccountSchema. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountsessions.yaml b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountsessions.yaml new file mode 100644 index 000000000..07d7a6472 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appintegrationaccountsessions.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appintegrationaccountsessions.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppIntegrationAccountSession + listKind: AppIntegrationAccountSessionList + plural: appintegrationaccountsessions + singular: appintegrationaccountsession + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppIntegrationAccountSession is the Schema for the AppIntegrationAccountSessions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppIntegrationAccountSessionSpec defines the desired state + of AppIntegrationAccountSession + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + content: + type: string + integrationAccountName: + type: string + name: + type: string + resourceGroupName: + type: string + required: + - content + - integrationAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppIntegrationAccountSessionStatus defines the observed state + of AppIntegrationAccountSession. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_apptriggercustoms.yaml b/package/crds/logic.azure.jet.crossplane.io_apptriggercustoms.yaml new file mode 100644 index 000000000..a90c709c7 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_apptriggercustoms.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: apptriggercustoms.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppTriggerCustom + listKind: AppTriggerCustomList + plural: apptriggercustoms + singular: apptriggercustom + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppTriggerCustom is the Schema for the AppTriggerCustoms API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppTriggerCustomSpec defines the desired state of AppTriggerCustom + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + body: + type: string + logicAppId: + type: string + name: + type: string + required: + - body + - logicAppId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppTriggerCustomStatus defines the observed state of AppTriggerCustom. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_apptriggerhttprequests.yaml b/package/crds/logic.azure.jet.crossplane.io_apptriggerhttprequests.yaml new file mode 100644 index 000000000..2d1661345 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_apptriggerhttprequests.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: apptriggerhttprequests.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppTriggerHttpRequest + listKind: AppTriggerHttpRequestList + plural: apptriggerhttprequests + singular: apptriggerhttprequest + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppTriggerHttpRequest is the Schema for the AppTriggerHttpRequests + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppTriggerHttpRequestSpec defines the desired state of AppTriggerHttpRequest + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logicAppId: + type: string + method: + type: string + name: + type: string + relativePath: + type: string + schema: + type: string + required: + - logicAppId + - name + - schema + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppTriggerHttpRequestStatus defines the observed state of + AppTriggerHttpRequest. + properties: + atProvider: + properties: + callbackUrl: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_apptriggerrecurrences.yaml b/package/crds/logic.azure.jet.crossplane.io_apptriggerrecurrences.yaml new file mode 100644 index 000000000..1a0342c41 --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_apptriggerrecurrences.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: apptriggerrecurrences.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppTriggerRecurrence + listKind: AppTriggerRecurrenceList + plural: apptriggerrecurrences + singular: apptriggerrecurrence + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppTriggerRecurrence is the Schema for the AppTriggerRecurrences + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppTriggerRecurrenceSpec defines the desired state of AppTriggerRecurrence + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + frequency: + type: string + interval: + format: int64 + type: integer + logicAppId: + type: string + name: + type: string + schedule: + items: + properties: + atTheseHours: + items: + format: int64 + type: integer + type: array + atTheseMinutes: + items: + format: int64 + type: integer + type: array + onTheseDays: + items: + type: string + type: array + type: object + type: array + startTime: + type: string + timeZone: + type: string + required: + - frequency + - interval + - logicAppId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppTriggerRecurrenceStatus defines the observed state of + AppTriggerRecurrence. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/logic.azure.jet.crossplane.io_appworkflows.yaml b/package/crds/logic.azure.jet.crossplane.io_appworkflows.yaml new file mode 100644 index 000000000..0983291ca --- /dev/null +++ b/package/crds/logic.azure.jet.crossplane.io_appworkflows.yaml @@ -0,0 +1,261 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: appworkflows.logic.azure.jet.crossplane.io +spec: + group: logic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AppWorkflow + listKind: AppWorkflowList + plural: appworkflows + singular: appworkflow + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AppWorkflow is the Schema for the AppWorkflows API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AppWorkflowSpec defines the desired state of AppWorkflow + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessControl: + items: + properties: + action: + items: + properties: + allowedCallerIpAddressRange: + items: + type: string + type: array + required: + - allowedCallerIpAddressRange + type: object + type: array + content: + items: + properties: + allowedCallerIpAddressRange: + items: + type: string + type: array + required: + - allowedCallerIpAddressRange + type: object + type: array + trigger: + items: + properties: + allowedCallerIpAddressRange: + items: + type: string + type: array + required: + - allowedCallerIpAddressRange + type: object + type: array + workflowManagement: + items: + properties: + allowedCallerIpAddressRange: + items: + type: string + type: array + required: + - allowedCallerIpAddressRange + type: object + type: array + type: object + type: array + enabled: + type: boolean + integrationServiceEnvironmentId: + type: string + location: + type: string + logicAppIntegrationAccountId: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + workflowParameters: + additionalProperties: + type: string + type: object + workflowSchema: + type: string + workflowVersion: + type: string + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AppWorkflowStatus defines the observed state of AppWorkflow. + properties: + atProvider: + properties: + accessEndpoint: + type: string + connectorEndpointIpAddresses: + items: + type: string + type: array + connectorOutboundIpAddresses: + items: + type: string + type: array + workflowEndpointIpAddresses: + items: + type: string + type: array + workflowOutboundIpAddresses: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/machine.azure.jet.crossplane.io_learningcomputeclusters.yaml b/package/crds/machine.azure.jet.crossplane.io_learningcomputeclusters.yaml new file mode 100644 index 000000000..3c2d78011 --- /dev/null +++ b/package/crds/machine.azure.jet.crossplane.io_learningcomputeclusters.yaml @@ -0,0 +1,233 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: learningcomputeclusters.machine.azure.jet.crossplane.io +spec: + group: machine.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LearningComputeCluster + listKind: LearningComputeClusterList + plural: learningcomputeclusters + singular: learningcomputecluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LearningComputeCluster is the Schema for the LearningComputeClusters + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LearningComputeClusterSpec defines the desired state of LearningComputeCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + machineLearningWorkspaceId: + type: string + name: + type: string + scaleSettings: + items: + properties: + maxNodeCount: + format: int64 + type: integer + minNodeCount: + format: int64 + type: integer + scaleDownNodesAfterIdleDuration: + type: string + required: + - maxNodeCount + - minNodeCount + - scaleDownNodesAfterIdleDuration + type: object + type: array + ssh: + items: + properties: + adminPassword: + type: string + adminUsername: + type: string + keyValue: + type: string + required: + - adminUsername + type: object + type: array + sshPublicAccessEnabled: + type: boolean + subnetResourceId: + type: string + tags: + additionalProperties: + type: string + type: object + vmPriority: + type: string + vmSize: + type: string + required: + - location + - machineLearningWorkspaceId + - name + - scaleSettings + - vmPriority + - vmSize + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LearningComputeClusterStatus defines the observed state of + LearningComputeCluster. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/machine.azure.jet.crossplane.io_learningcomputeinstances.yaml b/package/crds/machine.azure.jet.crossplane.io_learningcomputeinstances.yaml new file mode 100644 index 000000000..0bf84f44f --- /dev/null +++ b/package/crds/machine.azure.jet.crossplane.io_learningcomputeinstances.yaml @@ -0,0 +1,218 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: learningcomputeinstances.machine.azure.jet.crossplane.io +spec: + group: machine.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LearningComputeInstance + listKind: LearningComputeInstanceList + plural: learningcomputeinstances + singular: learningcomputeinstance + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LearningComputeInstance is the Schema for the LearningComputeInstances + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LearningComputeInstanceSpec defines the desired state of + LearningComputeInstance + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + assignToUser: + items: + properties: + objectId: + type: string + tenantId: + type: string + type: object + type: array + authorizationType: + type: string + description: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + machineLearningWorkspaceId: + type: string + name: + type: string + ssh: + items: + properties: + publicKey: + type: string + required: + - publicKey + type: object + type: array + subnetResourceId: + type: string + tags: + additionalProperties: + type: string + type: object + virtualMachineSize: + type: string + required: + - location + - machineLearningWorkspaceId + - name + - virtualMachineSize + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LearningComputeInstanceStatus defines the observed state + of LearningComputeInstance. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/machine.azure.jet.crossplane.io_learningsynapsesparks.yaml b/package/crds/machine.azure.jet.crossplane.io_learningsynapsesparks.yaml new file mode 100644 index 000000000..a435fbefa --- /dev/null +++ b/package/crds/machine.azure.jet.crossplane.io_learningsynapsesparks.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: learningsynapsesparks.machine.azure.jet.crossplane.io +spec: + group: machine.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LearningSynapseSpark + listKind: LearningSynapseSparkList + plural: learningsynapsesparks + singular: learningsynapsespark + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LearningSynapseSpark is the Schema for the LearningSynapseSparks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LearningSynapseSparkSpec defines the desired state of LearningSynapseSpark + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + location: + type: string + machineLearningWorkspaceId: + type: string + name: + type: string + synapseSparkPoolId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - machineLearningWorkspaceId + - name + - synapseSparkPoolId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LearningSynapseSparkStatus defines the observed state of + LearningSynapseSpark. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/machine.azure.jet.crossplane.io_learningworkspaces.yaml b/package/crds/machine.azure.jet.crossplane.io_learningworkspaces.yaml new file mode 100644 index 000000000..fe9a43a41 --- /dev/null +++ b/package/crds/machine.azure.jet.crossplane.io_learningworkspaces.yaml @@ -0,0 +1,211 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: learningworkspaces.machine.azure.jet.crossplane.io +spec: + group: machine.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LearningWorkspace + listKind: LearningWorkspaceList + plural: learningworkspaces + singular: learningworkspace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LearningWorkspace is the Schema for the LearningWorkspaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LearningWorkspaceSpec defines the desired state of LearningWorkspace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationInsightsId: + type: string + containerRegistryId: + type: string + description: + type: string + friendlyName: + type: string + highBusinessImpact: + type: boolean + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + imageBuildComputeName: + type: string + keyVaultId: + type: string + location: + type: string + name: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + skuName: + type: string + storageAccountId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - applicationInsightsId + - identity + - keyVaultId + - location + - name + - resourceGroupName + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LearningWorkspaceStatus defines the observed state of LearningWorkspace. + properties: + atProvider: + properties: + discoveryUrl: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/maintenance.azure.jet.crossplane.io_assignmentdedicatedhosts.yaml b/package/crds/maintenance.azure.jet.crossplane.io_assignmentdedicatedhosts.yaml new file mode 100644 index 000000000..20bde2148 --- /dev/null +++ b/package/crds/maintenance.azure.jet.crossplane.io_assignmentdedicatedhosts.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignmentdedicatedhosts.maintenance.azure.jet.crossplane.io +spec: + group: maintenance.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AssignmentDedicatedHost + listKind: AssignmentDedicatedHostList + plural: assignmentdedicatedhosts + singular: assignmentdedicatedhost + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AssignmentDedicatedHost is the Schema for the AssignmentDedicatedHosts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentDedicatedHostSpec defines the desired state of + AssignmentDedicatedHost + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dedicatedHostId: + type: string + location: + type: string + maintenanceConfigurationId: + type: string + required: + - dedicatedHostId + - location + - maintenanceConfigurationId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentDedicatedHostStatus defines the observed state + of AssignmentDedicatedHost. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/maintenance.azure.jet.crossplane.io_assignmentvirtualmachines.yaml b/package/crds/maintenance.azure.jet.crossplane.io_assignmentvirtualmachines.yaml new file mode 100644 index 000000000..2e40a2686 --- /dev/null +++ b/package/crds/maintenance.azure.jet.crossplane.io_assignmentvirtualmachines.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignmentvirtualmachines.maintenance.azure.jet.crossplane.io +spec: + group: maintenance.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AssignmentVirtualMachine + listKind: AssignmentVirtualMachineList + plural: assignmentvirtualmachines + singular: assignmentvirtualmachine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AssignmentVirtualMachine is the Schema for the AssignmentVirtualMachines + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentVirtualMachineSpec defines the desired state of + AssignmentVirtualMachine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + maintenanceConfigurationId: + type: string + virtualMachineId: + type: string + required: + - location + - maintenanceConfigurationId + - virtualMachineId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentVirtualMachineStatus defines the observed state + of AssignmentVirtualMachine. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/maintenance.azure.jet.crossplane.io_assignmentvirtualmachinescalesets.yaml b/package/crds/maintenance.azure.jet.crossplane.io_assignmentvirtualmachinescalesets.yaml new file mode 100644 index 000000000..254cfc3b6 --- /dev/null +++ b/package/crds/maintenance.azure.jet.crossplane.io_assignmentvirtualmachinescalesets.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignmentvirtualmachinescalesets.maintenance.azure.jet.crossplane.io +spec: + group: maintenance.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AssignmentVirtualMachineScaleSet + listKind: AssignmentVirtualMachineScaleSetList + plural: assignmentvirtualmachinescalesets + singular: assignmentvirtualmachinescaleset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AssignmentVirtualMachineScaleSet is the Schema for the AssignmentVirtualMachineScaleSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentVirtualMachineScaleSetSpec defines the desired + state of AssignmentVirtualMachineScaleSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + maintenanceConfigurationId: + type: string + virtualMachineScaleSetId: + type: string + required: + - location + - maintenanceConfigurationId + - virtualMachineScaleSetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentVirtualMachineScaleSetStatus defines the observed + state of AssignmentVirtualMachineScaleSet. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/maintenance.azure.jet.crossplane.io_configurations.yaml b/package/crds/maintenance.azure.jet.crossplane.io_configurations.yaml new file mode 100644 index 000000000..fb0264e33 --- /dev/null +++ b/package/crds/maintenance.azure.jet.crossplane.io_configurations.yaml @@ -0,0 +1,201 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: configurations.maintenance.azure.jet.crossplane.io +spec: + group: maintenance.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Configuration + listKind: ConfigurationList + plural: configurations + singular: configuration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Configuration is the Schema for the Configurations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConfigurationSpec defines the desired state of Configuration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + properties: + additionalProperties: + type: string + type: object + resourceGroupName: + type: string + scope: + type: string + tags: + additionalProperties: + type: string + type: object + visibility: + type: string + window: + items: + properties: + duration: + type: string + expirationDateTime: + type: string + recurEvery: + type: string + startDateTime: + type: string + timeZone: + type: string + required: + - startDateTime + - timeZone + type: object + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConfigurationStatus defines the observed state of Configuration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/managed.azure.jet.crossplane.io_applicationdefinitions.yaml b/package/crds/managed.azure.jet.crossplane.io_applicationdefinitions.yaml new file mode 100644 index 000000000..506c96bcb --- /dev/null +++ b/package/crds/managed.azure.jet.crossplane.io_applicationdefinitions.yaml @@ -0,0 +1,205 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: applicationdefinitions.managed.azure.jet.crossplane.io +spec: + group: managed.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ApplicationDefinition + listKind: ApplicationDefinitionList + plural: applicationdefinitions + singular: applicationdefinition + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ApplicationDefinition is the Schema for the ApplicationDefinitions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ApplicationDefinitionSpec defines the desired state of ApplicationDefinition + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + authorization: + items: + properties: + roleDefinitionId: + type: string + servicePrincipalId: + type: string + required: + - roleDefinitionId + - servicePrincipalId + type: object + type: array + createUiDefinition: + type: string + description: + type: string + displayName: + type: string + location: + type: string + lockLevel: + type: string + mainTemplate: + type: string + name: + type: string + packageEnabled: + type: boolean + packageFileUri: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - displayName + - location + - lockLevel + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ApplicationDefinitionStatus defines the observed state of + ApplicationDefinition. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/managed.azure.jet.crossplane.io_applications.yaml b/package/crds/managed.azure.jet.crossplane.io_applications.yaml new file mode 100644 index 000000000..27f1cdd36 --- /dev/null +++ b/package/crds/managed.azure.jet.crossplane.io_applications.yaml @@ -0,0 +1,214 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: applications.managed.azure.jet.crossplane.io +spec: + group: managed.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Application + listKind: ApplicationList + plural: applications + singular: application + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Application is the Schema for the Applications API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ApplicationSpec defines the desired state of Application + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationDefinitionId: + type: string + kind: + type: string + location: + type: string + managedResourceGroupName: + type: string + name: + type: string + parameterValues: + type: string + parameters: + additionalProperties: + type: string + type: object + plan: + items: + properties: + name: + type: string + product: + type: string + promotionCode: + type: string + publisher: + type: string + version: + type: string + required: + - name + - product + - publisher + - version + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - kind + - location + - managedResourceGroupName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ApplicationStatus defines the observed state of Application. + properties: + atProvider: + properties: + outputs: + additionalProperties: + type: string + type: object + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/managed.azure.jet.crossplane.io_disks.yaml b/package/crds/managed.azure.jet.crossplane.io_disks.yaml new file mode 100644 index 000000000..e07c7f0fb --- /dev/null +++ b/package/crds/managed.azure.jet.crossplane.io_disks.yaml @@ -0,0 +1,245 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: disks.managed.azure.jet.crossplane.io +spec: + group: managed.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Disk + listKind: DiskList + plural: disks + singular: disk + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Disk is the Schema for the Disks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DiskSpec defines the desired state of Disk + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + createOption: + type: string + diskAccessId: + type: string + diskEncryptionSetId: + type: string + diskIopsReadWrite: + format: int64 + type: integer + diskMbpsReadWrite: + format: int64 + type: integer + diskSizeGb: + format: int64 + type: integer + encryptionSettings: + items: + properties: + diskEncryptionKey: + items: + properties: + secretUrl: + type: string + sourceVaultId: + type: string + required: + - secretUrl + - sourceVaultId + type: object + type: array + enabled: + type: boolean + keyEncryptionKey: + items: + properties: + keyUrl: + type: string + sourceVaultId: + type: string + required: + - keyUrl + - sourceVaultId + type: object + type: array + required: + - enabled + type: object + type: array + imageReferenceId: + type: string + location: + type: string + name: + type: string + networkAccessPolicy: + type: string + osType: + type: string + resourceGroupName: + type: string + sourceResourceId: + type: string + sourceUri: + type: string + storageAccountId: + type: string + storageAccountType: + type: string + tags: + additionalProperties: + type: string + type: object + tier: + type: string + zones: + items: + type: string + type: array + required: + - createOption + - location + - name + - resourceGroupName + - storageAccountType + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DiskStatus defines the observed state of Disk. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/management.azure.jet.crossplane.io_grouppolicyassignments.yaml b/package/crds/management.azure.jet.crossplane.io_grouppolicyassignments.yaml new file mode 100644 index 000000000..6dbe72f93 --- /dev/null +++ b/package/crds/management.azure.jet.crossplane.io_grouppolicyassignments.yaml @@ -0,0 +1,196 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: grouppolicyassignments.management.azure.jet.crossplane.io +spec: + group: management.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: GroupPolicyAssignment + listKind: GroupPolicyAssignmentList + plural: grouppolicyassignments + singular: grouppolicyassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: GroupPolicyAssignment is the Schema for the GroupPolicyAssignments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GroupPolicyAssignmentSpec defines the desired state of GroupPolicyAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + displayName: + type: string + enforce: + type: boolean + identity: + items: + properties: + type: + type: string + type: object + type: array + location: + type: string + managementGroupId: + type: string + metadata: + type: string + name: + type: string + notScopes: + items: + type: string + type: array + parameters: + type: string + policyDefinitionId: + type: string + required: + - managementGroupId + - name + - policyDefinitionId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GroupPolicyAssignmentStatus defines the observed state of + GroupPolicyAssignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/management.azure.jet.crossplane.io_groupsubscriptionassociations.yaml b/package/crds/management.azure.jet.crossplane.io_groupsubscriptionassociations.yaml new file mode 100644 index 000000000..87aa557cb --- /dev/null +++ b/package/crds/management.azure.jet.crossplane.io_groupsubscriptionassociations.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: groupsubscriptionassociations.management.azure.jet.crossplane.io +spec: + group: management.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: GroupSubscriptionAssociation + listKind: GroupSubscriptionAssociationList + plural: groupsubscriptionassociations + singular: groupsubscriptionassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: GroupSubscriptionAssociation is the Schema for the GroupSubscriptionAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GroupSubscriptionAssociationSpec defines the desired state + of GroupSubscriptionAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + managementGroupId: + type: string + subscriptionId: + type: string + required: + - managementGroupId + - subscriptionId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GroupSubscriptionAssociationStatus defines the observed state + of GroupSubscriptionAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/management.azure.jet.crossplane.io_grouptemplatedeployments.yaml b/package/crds/management.azure.jet.crossplane.io_grouptemplatedeployments.yaml new file mode 100644 index 000000000..5c525e014 --- /dev/null +++ b/package/crds/management.azure.jet.crossplane.io_grouptemplatedeployments.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: grouptemplatedeployments.management.azure.jet.crossplane.io +spec: + group: management.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: GroupTemplateDeployment + listKind: GroupTemplateDeploymentList + plural: grouptemplatedeployments + singular: grouptemplatedeployment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: GroupTemplateDeployment is the Schema for the GroupTemplateDeployments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GroupTemplateDeploymentSpec defines the desired state of + GroupTemplateDeployment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + debugLevel: + type: string + location: + type: string + managementGroupId: + type: string + name: + type: string + parametersContent: + type: string + tags: + additionalProperties: + type: string + type: object + templateContent: + type: string + templateSpecVersionId: + type: string + required: + - location + - managementGroupId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GroupTemplateDeploymentStatus defines the observed state + of GroupTemplateDeployment. + properties: + atProvider: + properties: + outputContent: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/management.azure.jet.crossplane.io_locks.yaml b/package/crds/management.azure.jet.crossplane.io_locks.yaml new file mode 100644 index 000000000..4712617e7 --- /dev/null +++ b/package/crds/management.azure.jet.crossplane.io_locks.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: locks.management.azure.jet.crossplane.io +spec: + group: management.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Lock + listKind: LockList + plural: locks + singular: lock + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Lock is the Schema for the Locks API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LockSpec defines the desired state of Lock + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + lockLevel: + type: string + name: + type: string + notes: + type: string + scope: + type: string + required: + - lockLevel + - name + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LockStatus defines the observed state of Lock. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/management.azure.jet.crossplane.io_managementgroups.yaml b/package/crds/management.azure.jet.crossplane.io_managementgroups.yaml new file mode 100644 index 000000000..787191902 --- /dev/null +++ b/package/crds/management.azure.jet.crossplane.io_managementgroups.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementgroups.management.azure.jet.crossplane.io +spec: + group: management.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementGroup + listKind: ManagementGroupList + plural: managementgroups + singular: managementgroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementGroup is the Schema for the ManagementGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementGroupSpec defines the desired state of ManagementGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + displayName: + type: string + groupId: + type: string + parentManagementGroupId: + type: string + subscriptionIds: + items: + type: string + type: array + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementGroupStatus defines the observed state of ManagementGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/maps.azure.jet.crossplane.io_accounts.yaml b/package/crds/maps.azure.jet.crossplane.io_accounts.yaml new file mode 100644 index 000000000..2c2c016f5 --- /dev/null +++ b/package/crds/maps.azure.jet.crossplane.io_accounts.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accounts.maps.azure.jet.crossplane.io +spec: + group: maps.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Account + listKind: AccountList + plural: accounts + singular: account + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Account is the Schema for the Accounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountSpec defines the desired state of Account + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountStatus defines the observed state of Account. + properties: + atProvider: + properties: + xMsClientId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mariadb.azure.jet.crossplane.io_configurations.yaml b/package/crds/mariadb.azure.jet.crossplane.io_configurations.yaml new file mode 100644 index 000000000..9691e9fb5 --- /dev/null +++ b/package/crds/mariadb.azure.jet.crossplane.io_configurations.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: configurations.mariadb.azure.jet.crossplane.io +spec: + group: mariadb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Configuration + listKind: ConfigurationList + plural: configurations + singular: configuration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Configuration is the Schema for the Configurations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConfigurationSpec defines the desired state of Configuration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + value: + type: string + required: + - name + - resourceGroupName + - serverName + - value + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConfigurationStatus defines the observed state of Configuration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mariadb.azure.jet.crossplane.io_databases.yaml b/package/crds/mariadb.azure.jet.crossplane.io_databases.yaml new file mode 100644 index 000000000..81ca24107 --- /dev/null +++ b/package/crds/mariadb.azure.jet.crossplane.io_databases.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databases.mariadb.azure.jet.crossplane.io +spec: + group: mariadb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Database + listKind: DatabaseList + plural: databases + singular: database + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Database is the Schema for the Databases API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseSpec defines the desired state of Database + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + charset: + type: string + collation: + type: string + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + required: + - charset + - collation + - name + - resourceGroupName + - serverName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseStatus defines the observed state of Database. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mariadb.azure.jet.crossplane.io_firewallrules.yaml b/package/crds/mariadb.azure.jet.crossplane.io_firewallrules.yaml new file mode 100644 index 000000000..365854ec7 --- /dev/null +++ b/package/crds/mariadb.azure.jet.crossplane.io_firewallrules.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallrules.mariadb.azure.jet.crossplane.io +spec: + group: mariadb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallRule + listKind: FirewallRuleList + plural: firewallrules + singular: firewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallRule is the Schema for the FirewallRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallRuleSpec defines the desired state of FirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endIpAddress: + type: string + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + startIpAddress: + type: string + required: + - endIpAddress + - name + - resourceGroupName + - serverName + - startIpAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallRuleStatus defines the observed state of FirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mariadb.azure.jet.crossplane.io_servers.yaml b/package/crds/mariadb.azure.jet.crossplane.io_servers.yaml new file mode 100644 index 000000000..7f7db78a1 --- /dev/null +++ b/package/crds/mariadb.azure.jet.crossplane.io_servers.yaml @@ -0,0 +1,241 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servers.mariadb.azure.jet.crossplane.io +spec: + group: mariadb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Server + listKind: ServerList + plural: servers + singular: server + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Server is the Schema for the Servers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerSpec defines the desired state of Server + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + administratorLogin: + type: string + administratorLoginPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + autoGrowEnabled: + type: boolean + backupRetentionDays: + format: int64 + type: integer + createMode: + type: string + creationSourceServerId: + type: string + geoRedundantBackupEnabled: + type: boolean + location: + type: string + name: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + restorePointInTime: + type: string + skuName: + type: string + sslEnforcement: + type: string + sslEnforcementEnabled: + type: boolean + storageMb: + format: int64 + type: integer + storageProfile: + items: + properties: + autoGrow: + type: string + backupRetentionDays: + format: int64 + type: integer + geoRedundantBackup: + type: string + storageMb: + format: int64 + type: integer + type: object + type: array + tags: + additionalProperties: + type: string + type: object + version: + type: string + required: + - location + - name + - resourceGroupName + - skuName + - version + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerStatus defines the observed state of Server. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mariadb.azure.jet.crossplane.io_virtualnetworkrules.yaml b/package/crds/mariadb.azure.jet.crossplane.io_virtualnetworkrules.yaml new file mode 100644 index 000000000..18aea4206 --- /dev/null +++ b/package/crds/mariadb.azure.jet.crossplane.io_virtualnetworkrules.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualnetworkrules.mariadb.azure.jet.crossplane.io +spec: + group: mariadb.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualNetworkRule + listKind: VirtualNetworkRuleList + plural: virtualnetworkrules + singular: virtualnetworkrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualNetworkRule is the Schema for the VirtualNetworkRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + subnetId: + type: string + required: + - name + - resourceGroupName + - serverName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/marketplace.azure.jet.crossplane.io_agreements.yaml b/package/crds/marketplace.azure.jet.crossplane.io_agreements.yaml new file mode 100644 index 000000000..c02ca0fbc --- /dev/null +++ b/package/crds/marketplace.azure.jet.crossplane.io_agreements.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: agreements.marketplace.azure.jet.crossplane.io +spec: + group: marketplace.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Agreement + listKind: AgreementList + plural: agreements + singular: agreement + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Agreement is the Schema for the Agreements API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AgreementSpec defines the desired state of Agreement + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + offer: + type: string + plan: + type: string + publisher: + type: string + required: + - offer + - plan + - publisher + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AgreementStatus defines the observed state of Agreement. + properties: + atProvider: + properties: + licenseTextLink: + type: string + privacyPolicyLink: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_assetfilters.yaml b/package/crds/media.azure.jet.crossplane.io_assetfilters.yaml new file mode 100644 index 000000000..95959ed95 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_assetfilters.yaml @@ -0,0 +1,211 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assetfilters.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AssetFilter + listKind: AssetFilterList + plural: assetfilters + singular: assetfilter + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AssetFilter is the Schema for the AssetFilters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssetFilterSpec defines the desired state of AssetFilter + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + assetId: + type: string + firstQualityBitrate: + format: int64 + type: integer + name: + type: string + presentationTimeRange: + items: + properties: + endInUnits: + format: int64 + type: integer + forceEnd: + type: boolean + liveBackoffInUnits: + format: int64 + type: integer + presentationWindowInUnits: + format: int64 + type: integer + startInUnits: + format: int64 + type: integer + unitTimescaleInMiliseconds: + format: int64 + type: integer + type: object + type: array + trackSelection: + items: + properties: + condition: + items: + properties: + operation: + type: string + property: + type: string + value: + type: string + type: object + type: array + required: + - condition + type: object + type: array + required: + - assetId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssetFilterStatus defines the observed state of AssetFilter. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_assets.yaml b/package/crds/media.azure.jet.crossplane.io_assets.yaml new file mode 100644 index 000000000..89e55b390 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_assets.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assets.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Asset + listKind: AssetList + plural: assets + singular: asset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Asset is the Schema for the Assets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssetSpec defines the desired state of Asset + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alternateId: + type: string + container: + type: string + description: + type: string + mediaServicesAccountName: + type: string + name: + type: string + resourceGroupName: + type: string + storageAccountName: + type: string + required: + - mediaServicesAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssetStatus defines the observed state of Asset. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_contentkeypolicies.yaml b/package/crds/media.azure.jet.crossplane.io_contentkeypolicies.yaml new file mode 100644 index 000000000..1aac44c9b --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_contentkeypolicies.yaml @@ -0,0 +1,432 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: contentkeypolicies.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ContentKeyPolicy + listKind: ContentKeyPolicyList + plural: contentkeypolicies + singular: contentkeypolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ContentKeyPolicy is the Schema for the ContentKeyPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ContentKeyPolicySpec defines the desired state of ContentKeyPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + mediaServicesAccountName: + type: string + name: + type: string + policyOption: + items: + properties: + clearKeyConfigurationEnabled: + type: boolean + fairplayConfiguration: + items: + properties: + askSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + offlineRentalConfiguration: + items: + properties: + playbackDurationSeconds: + format: int64 + type: integer + storageDurationSeconds: + format: int64 + type: integer + type: object + type: array + pfxPasswordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + pfxSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + rentalAndLeaseKeyType: + type: string + rentalDurationSeconds: + format: int64 + type: integer + type: object + type: array + name: + type: string + openRestrictionEnabled: + type: boolean + playreadyConfigurationLicense: + items: + properties: + allowTestDevices: + type: boolean + beginDate: + type: string + contentKeyLocationFromHeaderEnabled: + type: boolean + contentKeyLocationFromKeyId: + type: string + contentType: + type: string + expirationDate: + type: string + gracePeriodSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + licenseType: + type: string + playRight: + items: + properties: + agcAndColorStripeRestriction: + format: int64 + type: integer + allowPassingVideoContentToUnknownOutput: + type: string + analogVideoOpl: + format: int64 + type: integer + compressedDigitalAudioOpl: + format: int64 + type: integer + digitalVideoOnlyContentRestriction: + type: boolean + firstPlayExpiration: + type: string + imageConstraintForAnalogComponentVideoRestriction: + type: boolean + imageConstraintForAnalogComputerMonitorRestriction: + type: boolean + scmsRestriction: + format: int64 + type: integer + uncompressedDigitalAudioOpl: + format: int64 + type: integer + uncompressedDigitalVideoOpl: + format: int64 + type: integer + type: object + type: array + relativeBeginDate: + type: string + relativeExpirationDate: + type: string + type: object + type: array + tokenRestriction: + items: + properties: + audience: + type: string + issuer: + type: string + openIdConnectDiscoveryDocument: + type: string + primaryRsaTokenKeyExponentSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + primaryRsaTokenKeyModulusSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + primarySymmetricTokenKeySecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + primaryX509TokenKeyRawSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + requiredClaim: + items: + properties: + type: + type: string + value: + type: string + type: object + type: array + tokenType: + type: string + type: object + type: array + widevineConfigurationTemplate: + type: string + required: + - name + type: object + type: array + resourceGroupName: + type: string + required: + - mediaServicesAccountName + - name + - policyOption + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ContentKeyPolicyStatus defines the observed state of ContentKeyPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_jobs.yaml b/package/crds/media.azure.jet.crossplane.io_jobs.yaml new file mode 100644 index 000000000..e57461c09 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_jobs.yaml @@ -0,0 +1,202 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: jobs.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Job + listKind: JobList + plural: jobs + singular: job + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Job is the Schema for the Jobs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: JobSpec defines the desired state of Job + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + inputAsset: + items: + properties: + label: + type: string + name: + type: string + required: + - name + type: object + type: array + mediaServicesAccountName: + type: string + name: + type: string + outputAsset: + items: + properties: + label: + type: string + name: + type: string + required: + - name + type: object + type: array + priority: + type: string + resourceGroupName: + type: string + transformName: + type: string + required: + - inputAsset + - mediaServicesAccountName + - name + - outputAsset + - resourceGroupName + - transformName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: JobStatus defines the observed state of Job. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_liveeventoutputs.yaml b/package/crds/media.azure.jet.crossplane.io_liveeventoutputs.yaml new file mode 100644 index 000000000..5a40c19f4 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_liveeventoutputs.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: liveeventoutputs.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LiveEventOutput + listKind: LiveEventOutputList + plural: liveeventoutputs + singular: liveeventoutput + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LiveEventOutput is the Schema for the LiveEventOutputs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LiveEventOutputSpec defines the desired state of LiveEventOutput + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + archiveWindowDuration: + type: string + assetName: + type: string + description: + type: string + hlsFragmentsPerTsSegment: + format: int64 + type: integer + liveEventId: + type: string + manifestName: + type: string + name: + type: string + outputSnapTimeInSeconds: + format: int64 + type: integer + required: + - archiveWindowDuration + - assetName + - liveEventId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LiveEventOutputStatus defines the observed state of LiveEventOutput. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_liveevents.yaml b/package/crds/media.azure.jet.crossplane.io_liveevents.yaml new file mode 100644 index 000000000..4a80cfccf --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_liveevents.yaml @@ -0,0 +1,259 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: liveevents.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LiveEvent + listKind: LiveEventList + plural: liveevents + singular: liveevent + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LiveEvent is the Schema for the LiveEvents API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LiveEventSpec defines the desired state of LiveEvent + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoStartEnabled: + type: boolean + crossSiteAccessPolicy: + items: + properties: + clientAccessPolicy: + type: string + crossDomainPolicy: + type: string + type: object + type: array + description: + type: string + encoding: + items: + properties: + keyFrameInterval: + type: string + presetName: + type: string + stretchMode: + type: string + type: + type: string + type: object + type: array + hostnamePrefix: + type: string + input: + items: + properties: + accessToken: + type: string + ipAccessControlAllow: + items: + properties: + address: + type: string + name: + type: string + subnetPrefixLength: + format: int64 + type: integer + type: object + type: array + keyFrameIntervalDuration: + type: string + streamingProtocol: + type: string + type: object + type: array + location: + type: string + mediaServicesAccountName: + type: string + name: + type: string + preview: + items: + properties: + alternativeMediaId: + type: string + ipAccessControlAllow: + items: + properties: + address: + type: string + name: + type: string + subnetPrefixLength: + format: int64 + type: integer + type: object + type: array + previewLocator: + type: string + streamingPolicyName: + type: string + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + transcriptionLanguages: + items: + type: string + type: array + useStaticHostname: + type: boolean + required: + - input + - location + - mediaServicesAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LiveEventStatus defines the observed state of LiveEvent. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_servicesaccounts.yaml b/package/crds/media.azure.jet.crossplane.io_servicesaccounts.yaml new file mode 100644 index 000000000..bc1410fb6 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_servicesaccounts.yaml @@ -0,0 +1,207 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicesaccounts.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServicesAccount + listKind: ServicesAccountList + plural: servicesaccounts + singular: servicesaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServicesAccount is the Schema for the ServicesAccounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServicesAccountSpec defines the desired state of ServicesAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + type: + type: string + type: object + type: array + keyDeliveryAccessControl: + items: + properties: + defaultAction: + type: string + ipAllowList: + items: + type: string + type: array + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + storageAccount: + items: + properties: + id: + type: string + isPrimary: + type: boolean + required: + - id + type: object + type: array + storageAuthenticationType: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - storageAccount + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServicesAccountStatus defines the observed state of ServicesAccount. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_streamingendpoints.yaml b/package/crds/media.azure.jet.crossplane.io_streamingendpoints.yaml new file mode 100644 index 000000000..8f0276361 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_streamingendpoints.yaml @@ -0,0 +1,239 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: streamingendpoints.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: StreamingEndpoint + listKind: StreamingEndpointList + plural: streamingendpoints + singular: streamingendpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: StreamingEndpoint is the Schema for the StreamingEndpoints API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: StreamingEndpointSpec defines the desired state of StreamingEndpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accessControl: + items: + properties: + akamaiSignatureHeaderAuthenticationKey: + items: + properties: + base64Key: + type: string + expiration: + type: string + identifier: + type: string + type: object + type: array + ipAllow: + items: + properties: + address: + type: string + name: + type: string + subnetPrefixLength: + format: int64 + type: integer + type: object + type: array + type: object + type: array + autoStartEnabled: + type: boolean + cdnEnabled: + type: boolean + cdnProfile: + type: string + cdnProvider: + type: string + crossSiteAccessPolicy: + items: + properties: + clientAccessPolicy: + type: string + crossDomainPolicy: + type: string + type: object + type: array + customHostNames: + items: + type: string + type: array + description: + type: string + location: + type: string + maxCacheAgeSeconds: + format: int64 + type: integer + mediaServicesAccountName: + type: string + name: + type: string + resourceGroupName: + type: string + scaleUnits: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + required: + - location + - mediaServicesAccountName + - name + - resourceGroupName + - scaleUnits + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: StreamingEndpointStatus defines the observed state of StreamingEndpoint. + properties: + atProvider: + properties: + hostName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_streaminglocators.yaml b/package/crds/media.azure.jet.crossplane.io_streaminglocators.yaml new file mode 100644 index 000000000..4e44f793b --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_streaminglocators.yaml @@ -0,0 +1,202 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: streaminglocators.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: StreamingLocator + listKind: StreamingLocatorList + plural: streaminglocators + singular: streaminglocator + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: StreamingLocator is the Schema for the StreamingLocators API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: StreamingLocatorSpec defines the desired state of StreamingLocator + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alternativeMediaId: + type: string + assetName: + type: string + contentKey: + items: + properties: + contentKeyId: + type: string + labelReferenceInStreamingPolicy: + type: string + policyName: + type: string + type: + type: string + value: + type: string + type: object + type: array + defaultContentKeyPolicyName: + type: string + endTime: + type: string + mediaServicesAccountName: + type: string + name: + type: string + resourceGroupName: + type: string + startTime: + type: string + streamingLocatorId: + type: string + streamingPolicyName: + type: string + required: + - assetName + - mediaServicesAccountName + - name + - resourceGroupName + - streamingPolicyName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: StreamingLocatorStatus defines the observed state of StreamingLocator. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_streamingpolicies.yaml b/package/crds/media.azure.jet.crossplane.io_streamingpolicies.yaml new file mode 100644 index 000000000..c5d01cb4b --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_streamingpolicies.yaml @@ -0,0 +1,260 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: streamingpolicies.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: StreamingPolicy + listKind: StreamingPolicyList + plural: streamingpolicies + singular: streamingpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: StreamingPolicy is the Schema for the StreamingPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: StreamingPolicySpec defines the desired state of StreamingPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + commonEncryptionCbcs: + items: + properties: + defaultContentKey: + items: + properties: + label: + type: string + policyName: + type: string + type: object + type: array + drmFairplay: + items: + properties: + allowPersistentLicense: + type: boolean + customLicenseAcquisitionUrlTemplate: + type: string + type: object + type: array + enabledProtocols: + items: + properties: + dash: + type: boolean + download: + type: boolean + hls: + type: boolean + smoothStreaming: + type: boolean + type: object + type: array + type: object + type: array + commonEncryptionCenc: + items: + properties: + defaultContentKey: + items: + properties: + label: + type: string + policyName: + type: string + type: object + type: array + drmPlayready: + items: + properties: + customAttributes: + type: string + customLicenseAcquisitionUrlTemplate: + type: string + type: object + type: array + drmWidevineCustomLicenseAcquisitionUrlTemplate: + type: string + enabledProtocols: + items: + properties: + dash: + type: boolean + download: + type: boolean + hls: + type: boolean + smoothStreaming: + type: boolean + type: object + type: array + type: object + type: array + defaultContentKeyPolicyName: + type: string + mediaServicesAccountName: + type: string + name: + type: string + noEncryptionEnabledProtocols: + items: + properties: + dash: + type: boolean + download: + type: boolean + hls: + type: boolean + smoothStreaming: + type: boolean + type: object + type: array + resourceGroupName: + type: string + required: + - mediaServicesAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: StreamingPolicyStatus defines the observed state of StreamingPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/media.azure.jet.crossplane.io_transforms.yaml b/package/crds/media.azure.jet.crossplane.io_transforms.yaml new file mode 100644 index 000000000..ce12731d0 --- /dev/null +++ b/package/crds/media.azure.jet.crossplane.io_transforms.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: transforms.media.azure.jet.crossplane.io +spec: + group: media.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Transform + listKind: TransformList + plural: transforms + singular: transform + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Transform is the Schema for the Transforms API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TransformSpec defines the desired state of Transform + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + mediaServicesAccountName: + type: string + name: + type: string + output: + items: + properties: + audioAnalyzerPreset: + items: + properties: + audioAnalysisMode: + type: string + audioLanguage: + type: string + type: object + type: array + builtinPreset: + items: + properties: + presetName: + type: string + type: object + type: array + faceDetectorPreset: + items: + properties: + analysisResolution: + type: string + type: object + type: array + onErrorAction: + type: string + relativePriority: + type: string + videoAnalyzerPreset: + items: + properties: + audioAnalysisMode: + type: string + audioLanguage: + type: string + insightsType: + type: string + type: object + type: array + type: object + type: array + resourceGroupName: + type: string + required: + - mediaServicesAccountName + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TransformStatus defines the observed state of Transform. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_aaddiagnosticsettings.yaml b/package/crds/monitor.azure.jet.crossplane.io_aaddiagnosticsettings.yaml new file mode 100644 index 000000000..878f6f6f9 --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_aaddiagnosticsettings.yaml @@ -0,0 +1,198 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: aaddiagnosticsettings.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AadDiagnosticSetting + listKind: AadDiagnosticSettingList + plural: aaddiagnosticsettings + singular: aaddiagnosticsetting + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AadDiagnosticSetting is the Schema for the AadDiagnosticSettings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AadDiagnosticSettingSpec defines the desired state of AadDiagnosticSetting + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubAuthorizationRuleId: + type: string + eventhubName: + type: string + log: + items: + properties: + category: + type: string + enabled: + type: boolean + retentionPolicy: + items: + properties: + days: + format: int64 + type: integer + enabled: + type: boolean + type: object + type: array + required: + - category + - retentionPolicy + type: object + type: array + logAnalyticsWorkspaceId: + type: string + name: + type: string + storageAccountId: + type: string + required: + - log + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AadDiagnosticSettingStatus defines the observed state of + AadDiagnosticSetting. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_actiongroups.yaml b/package/crds/monitor.azure.jet.crossplane.io_actiongroups.yaml new file mode 100644 index 000000000..85406275f --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_actiongroups.yaml @@ -0,0 +1,358 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: actiongroups.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ActionGroup + listKind: ActionGroupList + plural: actiongroups + singular: actiongroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ActionGroup is the Schema for the ActionGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ActionGroupSpec defines the desired state of ActionGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + armRoleReceiver: + items: + properties: + name: + type: string + roleId: + type: string + useCommonAlertSchema: + type: boolean + required: + - name + - roleId + type: object + type: array + automationRunbookReceiver: + items: + properties: + automationAccountId: + type: string + isGlobalRunbook: + type: boolean + name: + type: string + runbookName: + type: string + serviceUri: + type: string + useCommonAlertSchema: + type: boolean + webhookResourceId: + type: string + required: + - automationAccountId + - isGlobalRunbook + - name + - runbookName + - serviceUri + - webhookResourceId + type: object + type: array + azureAppPushReceiver: + items: + properties: + emailAddress: + type: string + name: + type: string + required: + - emailAddress + - name + type: object + type: array + azureFunctionReceiver: + items: + properties: + functionAppResourceId: + type: string + functionName: + type: string + httpTriggerUrl: + type: string + name: + type: string + useCommonAlertSchema: + type: boolean + required: + - functionAppResourceId + - functionName + - httpTriggerUrl + - name + type: object + type: array + emailReceiver: + items: + properties: + emailAddress: + type: string + name: + type: string + useCommonAlertSchema: + type: boolean + required: + - emailAddress + - name + type: object + type: array + enabled: + type: boolean + itsmReceiver: + items: + properties: + connectionId: + type: string + name: + type: string + region: + type: string + ticketConfiguration: + type: string + workspaceId: + type: string + required: + - connectionId + - name + - region + - ticketConfiguration + - workspaceId + type: object + type: array + logicAppReceiver: + items: + properties: + callbackUrl: + type: string + name: + type: string + resourceId: + type: string + useCommonAlertSchema: + type: boolean + required: + - callbackUrl + - name + - resourceId + type: object + type: array + name: + type: string + resourceGroupName: + type: string + shortName: + type: string + smsReceiver: + items: + properties: + countryCode: + type: string + name: + type: string + phoneNumber: + type: string + required: + - countryCode + - name + - phoneNumber + type: object + type: array + tags: + additionalProperties: + type: string + type: object + voiceReceiver: + items: + properties: + countryCode: + type: string + name: + type: string + phoneNumber: + type: string + required: + - countryCode + - name + - phoneNumber + type: object + type: array + webhookReceiver: + items: + properties: + aadAuth: + items: + properties: + identifierUri: + type: string + objectId: + type: string + tenantId: + type: string + required: + - objectId + type: object + type: array + name: + type: string + serviceUri: + type: string + useCommonAlertSchema: + type: boolean + required: + - name + - serviceUri + type: object + type: array + required: + - name + - resourceGroupName + - shortName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ActionGroupStatus defines the observed state of ActionGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_actionruleactiongroups.yaml b/package/crds/monitor.azure.jet.crossplane.io_actionruleactiongroups.yaml new file mode 100644 index 000000000..b77684171 --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_actionruleactiongroups.yaml @@ -0,0 +1,298 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: actionruleactiongroups.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ActionRuleActionGroup + listKind: ActionRuleActionGroupList + plural: actionruleactiongroups + singular: actionruleactiongroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ActionRuleActionGroup is the Schema for the ActionRuleActionGroups + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ActionRuleActionGroupSpec defines the desired state of ActionRuleActionGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + actionGroupId: + type: string + condition: + items: + properties: + alertContext: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + alertRuleId: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + description: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + monitor: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + monitorService: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + severity: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + targetResourceType: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + type: object + type: array + description: + type: string + enabled: + type: boolean + name: + type: string + resourceGroupName: + type: string + scope: + items: + properties: + resourceIds: + items: + type: string + type: array + type: + type: string + required: + - resourceIds + - type + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - actionGroupId + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ActionRuleActionGroupStatus defines the observed state of + ActionRuleActionGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_actionrulesuppressions.yaml b/package/crds/monitor.azure.jet.crossplane.io_actionrulesuppressions.yaml new file mode 100644 index 000000000..9f05cf501 --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_actionrulesuppressions.yaml @@ -0,0 +1,326 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: actionrulesuppressions.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ActionRuleSuppression + listKind: ActionRuleSuppressionList + plural: actionrulesuppressions + singular: actionrulesuppression + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ActionRuleSuppression is the Schema for the ActionRuleSuppressions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ActionRuleSuppressionSpec defines the desired state of ActionRuleSuppression + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + condition: + items: + properties: + alertContext: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + alertRuleId: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + description: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + monitor: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + monitorService: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + severity: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + targetResourceType: + items: + properties: + operator: + type: string + values: + items: + type: string + type: array + required: + - operator + - values + type: object + type: array + type: object + type: array + description: + type: string + enabled: + type: boolean + name: + type: string + resourceGroupName: + type: string + scope: + items: + properties: + resourceIds: + items: + type: string + type: array + type: + type: string + required: + - resourceIds + - type + type: object + type: array + suppression: + items: + properties: + recurrenceType: + type: string + schedule: + items: + properties: + endDateUtc: + type: string + recurrenceMonthly: + items: + format: int64 + type: integer + type: array + recurrenceWeekly: + items: + type: string + type: array + startDateUtc: + type: string + required: + - endDateUtc + - startDateUtc + type: object + type: array + required: + - recurrenceType + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - name + - resourceGroupName + - suppression + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ActionRuleSuppressionStatus defines the observed state of + ActionRuleSuppression. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_activitylogalerts.yaml b/package/crds/monitor.azure.jet.crossplane.io_activitylogalerts.yaml new file mode 100644 index 000000000..8121523a6 --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_activitylogalerts.yaml @@ -0,0 +1,245 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: activitylogalerts.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ActivityLogAlert + listKind: ActivityLogAlertList + plural: activitylogalerts + singular: activitylogalert + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ActivityLogAlert is the Schema for the ActivityLogAlerts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ActivityLogAlertSpec defines the desired state of ActivityLogAlert + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + items: + properties: + actionGroupId: + type: string + webhookProperties: + additionalProperties: + type: string + type: object + required: + - actionGroupId + type: object + type: array + criteria: + items: + properties: + caller: + type: string + category: + type: string + level: + type: string + operationName: + type: string + recommendationCategory: + type: string + recommendationImpact: + type: string + recommendationType: + type: string + resourceGroup: + type: string + resourceId: + type: string + resourceProvider: + type: string + resourceType: + type: string + serviceHealth: + items: + properties: + events: + items: + type: string + type: array + locations: + items: + type: string + type: array + services: + items: + type: string + type: array + type: object + type: array + status: + type: string + subStatus: + type: string + required: + - category + type: object + type: array + description: + type: string + enabled: + type: boolean + name: + type: string + resourceGroupName: + type: string + scopes: + items: + type: string + type: array + tags: + additionalProperties: + type: string + type: object + required: + - criteria + - name + - resourceGroupName + - scopes + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ActivityLogAlertStatus defines the observed state of ActivityLogAlert. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_autoscalesettings.yaml b/package/crds/monitor.azure.jet.crossplane.io_autoscalesettings.yaml new file mode 100644 index 000000000..05a21f9be --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_autoscalesettings.yaml @@ -0,0 +1,357 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: autoscalesettings.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AutoscaleSetting + listKind: AutoscaleSettingList + plural: autoscalesettings + singular: autoscalesetting + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AutoscaleSetting is the Schema for the AutoscaleSettings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AutoscaleSettingSpec defines the desired state of AutoscaleSetting + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + enabled: + type: boolean + location: + type: string + name: + type: string + notification: + items: + properties: + email: + items: + properties: + customEmails: + items: + type: string + type: array + sendToSubscriptionAdministrator: + type: boolean + sendToSubscriptionCoAdministrator: + type: boolean + type: object + type: array + webhook: + items: + properties: + properties: + additionalProperties: + type: string + type: object + serviceUri: + type: string + required: + - serviceUri + type: object + type: array + type: object + type: array + profile: + items: + properties: + capacity: + items: + properties: + default: + format: int64 + type: integer + maximum: + format: int64 + type: integer + minimum: + format: int64 + type: integer + required: + - default + - maximum + - minimum + type: object + type: array + fixedDate: + items: + properties: + end: + type: string + start: + type: string + timezone: + type: string + required: + - end + - start + type: object + type: array + name: + type: string + recurrence: + items: + properties: + days: + items: + type: string + type: array + hours: + items: + format: int64 + type: integer + type: array + minutes: + items: + format: int64 + type: integer + type: array + timezone: + type: string + required: + - days + - hours + - minutes + type: object + type: array + rule: + items: + properties: + metricTrigger: + items: + properties: + dimensions: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - operator + - values + type: object + type: array + divideByInstanceCount: + type: boolean + metricName: + type: string + metricNamespace: + type: string + metricResourceId: + type: string + operator: + type: string + statistic: + type: string + threshold: + type: number + timeAggregation: + type: string + timeGrain: + type: string + timeWindow: + type: string + required: + - metricName + - metricResourceId + - operator + - statistic + - threshold + - timeAggregation + - timeGrain + - timeWindow + type: object + type: array + scaleAction: + items: + properties: + cooldown: + type: string + direction: + type: string + type: + type: string + value: + format: int64 + type: integer + required: + - cooldown + - direction + - type + - value + type: object + type: array + required: + - metricTrigger + - scaleAction + type: object + type: array + required: + - capacity + - name + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + targetResourceId: + type: string + required: + - location + - name + - profile + - resourceGroupName + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AutoscaleSettingStatus defines the observed state of AutoscaleSetting. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_diagnosticsettings.yaml b/package/crds/monitor.azure.jet.crossplane.io_diagnosticsettings.yaml new file mode 100644 index 000000000..36d2a9d76 --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_diagnosticsettings.yaml @@ -0,0 +1,224 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: diagnosticsettings.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DiagnosticSetting + listKind: DiagnosticSettingList + plural: diagnosticsettings + singular: diagnosticsetting + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DiagnosticSetting is the Schema for the DiagnosticSettings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DiagnosticSettingSpec defines the desired state of DiagnosticSetting + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubAuthorizationRuleId: + type: string + eventhubName: + type: string + log: + items: + properties: + category: + type: string + enabled: + type: boolean + retentionPolicy: + items: + properties: + days: + format: int64 + type: integer + enabled: + type: boolean + required: + - enabled + type: object + type: array + required: + - category + type: object + type: array + logAnalyticsDestinationType: + type: string + logAnalyticsWorkspaceId: + type: string + metric: + items: + properties: + category: + type: string + enabled: + type: boolean + retentionPolicy: + items: + properties: + days: + format: int64 + type: integer + enabled: + type: boolean + required: + - enabled + type: object + type: array + required: + - category + type: object + type: array + name: + type: string + storageAccountId: + type: string + targetResourceId: + type: string + required: + - name + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DiagnosticSettingStatus defines the observed state of DiagnosticSetting. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_scheduledqueryrulesalerts.yaml b/package/crds/monitor.azure.jet.crossplane.io_scheduledqueryrulesalerts.yaml new file mode 100644 index 000000000..bffc2285d --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_scheduledqueryrulesalerts.yaml @@ -0,0 +1,257 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: scheduledqueryrulesalerts.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ScheduledQueryRulesAlert + listKind: ScheduledQueryRulesAlertList + plural: scheduledqueryrulesalerts + singular: scheduledqueryrulesalert + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ScheduledQueryRulesAlert is the Schema for the ScheduledQueryRulesAlerts + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ScheduledQueryRulesAlertSpec defines the desired state of + ScheduledQueryRulesAlert + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + items: + properties: + actionGroup: + items: + type: string + type: array + customWebhookPayload: + type: string + emailSubject: + type: string + required: + - actionGroup + type: object + type: array + authorizedResourceIds: + items: + type: string + type: array + autoMitigationEnabled: + type: boolean + dataSourceId: + type: string + description: + type: string + enabled: + type: boolean + frequency: + format: int64 + type: integer + location: + type: string + name: + type: string + query: + type: string + queryType: + type: string + resourceGroupName: + type: string + severity: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + throttling: + format: int64 + type: integer + timeWindow: + format: int64 + type: integer + trigger: + items: + properties: + metricTrigger: + items: + properties: + metricColumn: + type: string + metricTriggerType: + type: string + operator: + type: string + threshold: + type: number + required: + - metricColumn + - metricTriggerType + - operator + - threshold + type: object + type: array + operator: + type: string + threshold: + type: number + required: + - operator + - threshold + type: object + type: array + required: + - action + - dataSourceId + - frequency + - location + - name + - query + - resourceGroupName + - timeWindow + - trigger + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ScheduledQueryRulesAlertStatus defines the observed state + of ScheduledQueryRulesAlert. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_scheduledqueryruleslogs.yaml b/package/crds/monitor.azure.jet.crossplane.io_scheduledqueryruleslogs.yaml new file mode 100644 index 000000000..15611a9ef --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_scheduledqueryruleslogs.yaml @@ -0,0 +1,215 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: scheduledqueryruleslogs.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ScheduledQueryRulesLog + listKind: ScheduledQueryRulesLogList + plural: scheduledqueryruleslogs + singular: scheduledqueryruleslog + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ScheduledQueryRulesLog is the Schema for the ScheduledQueryRulesLogs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ScheduledQueryRulesLogSpec defines the desired state of ScheduledQueryRulesLog + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + authorizedResourceIds: + items: + type: string + type: array + criteria: + items: + properties: + dimension: + items: + properties: + name: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - name + - values + type: object + type: array + metricName: + type: string + required: + - dimension + - metricName + type: object + type: array + dataSourceId: + type: string + description: + type: string + enabled: + type: boolean + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - criteria + - dataSourceId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ScheduledQueryRulesLogStatus defines the observed state of + ScheduledQueryRulesLog. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/monitor.azure.jet.crossplane.io_smartdetectoralertrules.yaml b/package/crds/monitor.azure.jet.crossplane.io_smartdetectoralertrules.yaml new file mode 100644 index 000000000..7217a9a4e --- /dev/null +++ b/package/crds/monitor.azure.jet.crossplane.io_smartdetectoralertrules.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: smartdetectoralertrules.monitor.azure.jet.crossplane.io +spec: + group: monitor.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SmartDetectorAlertRule + listKind: SmartDetectorAlertRuleList + plural: smartdetectoralertrules + singular: smartdetectoralertrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SmartDetectorAlertRule is the Schema for the SmartDetectorAlertRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SmartDetectorAlertRuleSpec defines the desired state of SmartDetectorAlertRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + actionGroup: + items: + properties: + emailSubject: + type: string + ids: + items: + type: string + type: array + webhookPayload: + type: string + required: + - ids + type: object + type: array + description: + type: string + detectorType: + type: string + enabled: + type: boolean + frequency: + type: string + name: + type: string + resourceGroupName: + type: string + scopeResourceIds: + items: + type: string + type: array + severity: + type: string + tags: + additionalProperties: + type: string + type: object + throttlingDuration: + type: string + required: + - actionGroup + - detectorType + - frequency + - name + - resourceGroupName + - scopeResourceIds + - severity + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SmartDetectorAlertRuleStatus defines the observed state of + SmartDetectorAlertRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_databaseextendedauditingpolicies.yaml b/package/crds/mssql.azure.jet.crossplane.io_databaseextendedauditingpolicies.yaml new file mode 100644 index 000000000..f85c8f12c --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_databaseextendedauditingpolicies.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databaseextendedauditingpolicies.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DatabaseExtendedAuditingPolicy + listKind: DatabaseExtendedAuditingPolicyList + plural: databaseextendedauditingpolicies + singular: databaseextendedauditingpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DatabaseExtendedAuditingPolicy is the Schema for the DatabaseExtendedAuditingPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseExtendedAuditingPolicySpec defines the desired state + of DatabaseExtendedAuditingPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + databaseId: + type: string + logMonitoringEnabled: + type: boolean + retentionInDays: + format: int64 + type: integer + storageAccountAccessKeyIsSecondary: + type: boolean + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + required: + - databaseId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseExtendedAuditingPolicyStatus defines the observed + state of DatabaseExtendedAuditingPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_databases.yaml b/package/crds/mssql.azure.jet.crossplane.io_databases.yaml new file mode 100644 index 000000000..44d9828bf --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_databases.yaml @@ -0,0 +1,309 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databases.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Database + listKind: DatabaseList + plural: databases + singular: database + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Database is the Schema for the Databases API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseSpec defines the desired state of Database + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoPauseDelayInMinutes: + format: int64 + type: integer + collation: + type: string + createMode: + type: string + creationSourceDatabaseId: + type: string + elasticPoolId: + type: string + extendedAuditingPolicy: + items: + properties: + logMonitoringEnabled: + type: boolean + retentionInDays: + format: int64 + type: integer + storageAccountAccessKeyIsSecondary: + type: boolean + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + type: object + type: array + geoBackupEnabled: + type: boolean + licenseType: + type: string + longTermRetentionPolicy: + items: + properties: + monthlyRetention: + type: string + weekOfYear: + format: int64 + type: integer + weeklyRetention: + type: string + yearlyRetention: + type: string + type: object + type: array + maxSizeGb: + format: int64 + type: integer + minCapacity: + type: number + name: + type: string + readReplicaCount: + format: int64 + type: integer + readScale: + type: boolean + recoverDatabaseId: + type: string + restoreDroppedDatabaseId: + type: string + restorePointInTime: + type: string + sampleName: + type: string + serverId: + type: string + shortTermRetentionPolicy: + items: + properties: + retentionDays: + format: int64 + type: integer + required: + - retentionDays + type: object + type: array + skuName: + type: string + storageAccountType: + type: string + tags: + additionalProperties: + type: string + type: object + threatDetectionPolicy: + items: + properties: + disabledAlerts: + items: + type: string + type: array + emailAccountAdmins: + type: string + emailAddresses: + items: + type: string + type: array + retentionDays: + format: int64 + type: integer + state: + type: string + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + useServerDefault: + type: string + type: object + type: array + zoneRedundant: + type: boolean + required: + - name + - serverId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseStatus defines the observed state of Database. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_databasevulnerabilityassessmentrulebaselines.yaml b/package/crds/mssql.azure.jet.crossplane.io_databasevulnerabilityassessmentrulebaselines.yaml new file mode 100644 index 000000000..9d831d99f --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_databasevulnerabilityassessmentrulebaselines.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databasevulnerabilityassessmentrulebaselines.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DatabaseVulnerabilityAssessmentRuleBaseline + listKind: DatabaseVulnerabilityAssessmentRuleBaselineList + plural: databasevulnerabilityassessmentrulebaselines + singular: databasevulnerabilityassessmentrulebaseline + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DatabaseVulnerabilityAssessmentRuleBaseline is the Schema for + the DatabaseVulnerabilityAssessmentRuleBaselines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseVulnerabilityAssessmentRuleBaselineSpec defines the + desired state of DatabaseVulnerabilityAssessmentRuleBaseline + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + baselineName: + type: string + baselineResult: + items: + properties: + result: + items: + type: string + type: array + required: + - result + type: object + type: array + databaseName: + type: string + ruleId: + type: string + serverVulnerabilityAssessmentId: + type: string + required: + - baselineResult + - databaseName + - ruleId + - serverVulnerabilityAssessmentId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseVulnerabilityAssessmentRuleBaselineStatus defines + the observed state of DatabaseVulnerabilityAssessmentRuleBaseline. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_elasticpools.yaml b/package/crds/mssql.azure.jet.crossplane.io_elasticpools.yaml new file mode 100644 index 000000000..0782fdffe --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_elasticpools.yaml @@ -0,0 +1,219 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: elasticpools.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Elasticpool + listKind: ElasticpoolList + plural: elasticpools + singular: elasticpool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Elasticpool is the Schema for the Elasticpools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ElasticpoolSpec defines the desired state of Elasticpool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + licenseType: + type: string + location: + type: string + maxSizeBytes: + format: int64 + type: integer + maxSizeGb: + type: number + name: + type: string + perDatabaseSettings: + items: + properties: + maxCapacity: + type: number + minCapacity: + type: number + required: + - maxCapacity + - minCapacity + type: object + type: array + resourceGroupName: + type: string + serverName: + type: string + sku: + items: + properties: + capacity: + format: int64 + type: integer + family: + type: string + name: + type: string + tier: + type: string + required: + - capacity + - name + - tier + type: object + type: array + tags: + additionalProperties: + type: string + type: object + zoneRedundant: + type: boolean + required: + - location + - name + - perDatabaseSettings + - resourceGroupName + - serverName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ElasticpoolStatus defines the observed state of Elasticpool. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_failovergroups.yaml b/package/crds/mssql.azure.jet.crossplane.io_failovergroups.yaml new file mode 100644 index 000000000..89d763af6 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_failovergroups.yaml @@ -0,0 +1,201 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: failovergroups.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FailoverGroup + listKind: FailoverGroupList + plural: failovergroups + singular: failovergroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FailoverGroup is the Schema for the FailoverGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FailoverGroupSpec defines the desired state of FailoverGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + databases: + items: + type: string + type: array + name: + type: string + partnerServer: + items: + properties: + id: + type: string + required: + - id + type: object + type: array + readWriteEndpointFailoverPolicy: + items: + properties: + graceMinutes: + format: int64 + type: integer + mode: + type: string + required: + - mode + type: object + type: array + readonlyEndpointFailoverPolicyEnabled: + type: boolean + serverId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - name + - partnerServer + - readWriteEndpointFailoverPolicy + - serverId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FailoverGroupStatus defines the observed state of FailoverGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_firewallrules.yaml b/package/crds/mssql.azure.jet.crossplane.io_firewallrules.yaml new file mode 100644 index 000000000..1f8dd9570 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_firewallrules.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallrules.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallRule + listKind: FirewallRuleList + plural: firewallrules + singular: firewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallRule is the Schema for the FirewallRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallRuleSpec defines the desired state of FirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endIpAddress: + type: string + name: + type: string + serverId: + type: string + startIpAddress: + type: string + required: + - endIpAddress + - name + - serverId + - startIpAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallRuleStatus defines the observed state of FirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_jobagents.yaml b/package/crds/mssql.azure.jet.crossplane.io_jobagents.yaml new file mode 100644 index 000000000..7580487c8 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_jobagents.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: jobagents.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: JobAgent + listKind: JobAgentList + plural: jobagents + singular: jobagent + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: JobAgent is the Schema for the JobAgents API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: JobAgentSpec defines the desired state of JobAgent + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + databaseId: + type: string + location: + type: string + name: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - databaseId + - location + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: JobAgentStatus defines the observed state of JobAgent. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_jobcredentials.yaml b/package/crds/mssql.azure.jet.crossplane.io_jobcredentials.yaml new file mode 100644 index 000000000..c7f2e53b5 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_jobcredentials.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: jobcredentials.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: JobCredential + listKind: JobCredentialList + plural: jobcredentials + singular: jobcredential + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: JobCredential is the Schema for the JobCredentials API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: JobCredentialSpec defines the desired state of JobCredential + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + jobAgentId: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - jobAgentId + - name + - passwordSecretRef + - username + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: JobCredentialStatus defines the observed state of JobCredential. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_serversecurityalertpolicies.yaml b/package/crds/mssql.azure.jet.crossplane.io_serversecurityalertpolicies.yaml new file mode 100644 index 000000000..a92a160f6 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_serversecurityalertpolicies.yaml @@ -0,0 +1,207 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serversecurityalertpolicies.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServerSecurityAlertPolicy + listKind: ServerSecurityAlertPolicyList + plural: serversecurityalertpolicies + singular: serversecurityalertpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServerSecurityAlertPolicy is the Schema for the ServerSecurityAlertPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerSecurityAlertPolicySpec defines the desired state of + ServerSecurityAlertPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + disabledAlerts: + items: + type: string + type: array + emailAccountAdmins: + type: boolean + emailAddresses: + items: + type: string + type: array + resourceGroupName: + type: string + retentionDays: + format: int64 + type: integer + serverName: + type: string + state: + type: string + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + required: + - resourceGroupName + - serverName + - state + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerSecurityAlertPolicyStatus defines the observed state + of ServerSecurityAlertPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_servertransparentdataencryptions.yaml b/package/crds/mssql.azure.jet.crossplane.io_servertransparentdataencryptions.yaml new file mode 100644 index 000000000..56336d74b --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_servertransparentdataencryptions.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servertransparentdataencryptions.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServerTransparentDataEncryption + listKind: ServerTransparentDataEncryptionList + plural: servertransparentdataencryptions + singular: servertransparentdataencryption + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServerTransparentDataEncryption is the Schema for the ServerTransparentDataEncryptions + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerTransparentDataEncryptionSpec defines the desired state + of ServerTransparentDataEncryption + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultKeyId: + type: string + serverId: + type: string + required: + - serverId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerTransparentDataEncryptionStatus defines the observed + state of ServerTransparentDataEncryption. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_servervulnerabilityassessments.yaml b/package/crds/mssql.azure.jet.crossplane.io_servervulnerabilityassessments.yaml new file mode 100644 index 000000000..5e2975928 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_servervulnerabilityassessments.yaml @@ -0,0 +1,220 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servervulnerabilityassessments.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServerVulnerabilityAssessment + listKind: ServerVulnerabilityAssessmentList + plural: servervulnerabilityassessments + singular: servervulnerabilityassessment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServerVulnerabilityAssessment is the Schema for the ServerVulnerabilityAssessments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerVulnerabilityAssessmentSpec defines the desired state + of ServerVulnerabilityAssessment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + recurringScans: + items: + properties: + emailSubscriptionAdmins: + type: boolean + emails: + items: + type: string + type: array + enabled: + type: boolean + type: object + type: array + serverSecurityAlertPolicyId: + type: string + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerPath: + type: string + storageContainerSasKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - serverSecurityAlertPolicyId + - storageContainerPath + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerVulnerabilityAssessmentStatus defines the observed + state of ServerVulnerabilityAssessment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_virtualmachines.yaml b/package/crds/mssql.azure.jet.crossplane.io_virtualmachines.yaml new file mode 100644 index 000000000..d5fb913d7 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_virtualmachines.yaml @@ -0,0 +1,414 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachines.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachine + listKind: VirtualMachineList + plural: virtualmachines + singular: virtualmachine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachine is the Schema for the VirtualMachines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineSpec defines the desired state of VirtualMachine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoBackup: + items: + properties: + encryptionEnabled: + type: boolean + encryptionPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + manualSchedule: + items: + properties: + fullBackupFrequency: + type: string + fullBackupStartHour: + format: int64 + type: integer + fullBackupWindowInHours: + format: int64 + type: integer + logBackupFrequencyInMinutes: + format: int64 + type: integer + required: + - fullBackupFrequency + - fullBackupStartHour + - fullBackupWindowInHours + - logBackupFrequencyInMinutes + type: object + type: array + retentionPeriodInDays: + format: int64 + type: integer + storageAccountAccessKey: + type: string + storageBlobEndpoint: + type: string + systemDatabasesBackupEnabled: + type: boolean + required: + - retentionPeriodInDays + - storageAccountAccessKey + - storageBlobEndpoint + type: object + type: array + autoPatching: + items: + properties: + dayOfWeek: + type: string + maintenanceWindowDurationInMinutes: + format: int64 + type: integer + maintenanceWindowStartingHour: + format: int64 + type: integer + required: + - dayOfWeek + - maintenanceWindowDurationInMinutes + - maintenanceWindowStartingHour + type: object + type: array + keyVaultCredential: + items: + properties: + keyVaultUrlSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + name: + type: string + servicePrincipalNameSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + servicePrincipalSecretSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - keyVaultUrlSecretRef + - name + - servicePrincipalNameSecretRef + - servicePrincipalSecretSecretRef + type: object + type: array + rServicesEnabled: + type: boolean + sqlConnectivityPort: + format: int64 + type: integer + sqlConnectivityType: + type: string + sqlConnectivityUpdatePasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sqlConnectivityUpdateUsernameSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sqlLicenseType: + type: string + storageConfiguration: + items: + properties: + dataSettings: + items: + properties: + defaultFilePath: + type: string + luns: + items: + format: int64 + type: integer + type: array + required: + - defaultFilePath + - luns + type: object + type: array + diskType: + type: string + logSettings: + items: + properties: + defaultFilePath: + type: string + luns: + items: + format: int64 + type: integer + type: array + required: + - defaultFilePath + - luns + type: object + type: array + storageWorkloadType: + type: string + tempDbSettings: + items: + properties: + defaultFilePath: + type: string + luns: + items: + format: int64 + type: integer + type: array + required: + - defaultFilePath + - luns + type: object + type: array + required: + - diskType + - storageWorkloadType + type: object + type: array + tags: + additionalProperties: + type: string + type: object + virtualMachineId: + type: string + required: + - sqlLicenseType + - virtualMachineId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineStatus defines the observed state of VirtualMachine. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mssql.azure.jet.crossplane.io_virtualnetworkrules.yaml b/package/crds/mssql.azure.jet.crossplane.io_virtualnetworkrules.yaml new file mode 100644 index 000000000..fe3015b19 --- /dev/null +++ b/package/crds/mssql.azure.jet.crossplane.io_virtualnetworkrules.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualnetworkrules.mssql.azure.jet.crossplane.io +spec: + group: mssql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualNetworkRule + listKind: VirtualNetworkRuleList + plural: virtualnetworkrules + singular: virtualnetworkrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualNetworkRule is the Schema for the VirtualNetworkRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + ignoreMissingVnetServiceEndpoint: + type: boolean + name: + type: string + serverId: + type: string + subnetId: + type: string + required: + - name + - serverId + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_activedirectoryadministrators.yaml b/package/crds/mysql.azure.jet.crossplane.io_activedirectoryadministrators.yaml new file mode 100644 index 000000000..2d4286e29 --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_activedirectoryadministrators.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: activedirectoryadministrators.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ActiveDirectoryAdministrator + listKind: ActiveDirectoryAdministratorList + plural: activedirectoryadministrators + singular: activedirectoryadministrator + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ActiveDirectoryAdministrator is the Schema for the ActiveDirectoryAdministrators + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ActiveDirectoryAdministratorSpec defines the desired state + of ActiveDirectoryAdministrator + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + login: + type: string + objectId: + type: string + resourceGroupName: + type: string + serverName: + type: string + tenantId: + type: string + required: + - login + - objectId + - resourceGroupName + - serverName + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ActiveDirectoryAdministratorStatus defines the observed state + of ActiveDirectoryAdministrator. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_configurations.yaml b/package/crds/mysql.azure.jet.crossplane.io_configurations.yaml new file mode 100644 index 000000000..cc362aa98 --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_configurations.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: configurations.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Configuration + listKind: ConfigurationList + plural: configurations + singular: configuration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Configuration is the Schema for the Configurations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConfigurationSpec defines the desired state of Configuration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + value: + type: string + required: + - name + - resourceGroupName + - serverName + - value + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConfigurationStatus defines the observed state of Configuration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_databases.yaml b/package/crds/mysql.azure.jet.crossplane.io_databases.yaml new file mode 100644 index 000000000..b59b8098f --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_databases.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databases.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Database + listKind: DatabaseList + plural: databases + singular: database + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Database is the Schema for the Databases API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseSpec defines the desired state of Database + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + charset: + type: string + collation: + type: string + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + required: + - charset + - collation + - name + - resourceGroupName + - serverName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseStatus defines the observed state of Database. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_firewallrules.yaml b/package/crds/mysql.azure.jet.crossplane.io_firewallrules.yaml new file mode 100644 index 000000000..f816f4b61 --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_firewallrules.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallrules.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallRule + listKind: FirewallRuleList + plural: firewallrules + singular: firewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallRule is the Schema for the FirewallRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallRuleSpec defines the desired state of FirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endIpAddress: + type: string + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + startIpAddress: + type: string + required: + - endIpAddress + - name + - resourceGroupName + - serverName + - startIpAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallRuleStatus defines the observed state of FirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_serverkeys.yaml b/package/crds/mysql.azure.jet.crossplane.io_serverkeys.yaml new file mode 100644 index 000000000..54b317df2 --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_serverkeys.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serverkeys.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServerKey + listKind: ServerKeyList + plural: serverkeys + singular: serverkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServerKey is the Schema for the ServerKeys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerKeySpec defines the desired state of ServerKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultKeyId: + type: string + serverId: + type: string + required: + - keyVaultKeyId + - serverId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerKeyStatus defines the observed state of ServerKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_servers.yaml b/package/crds/mysql.azure.jet.crossplane.io_servers.yaml new file mode 100644 index 000000000..3c5b17d71 --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_servers.yaml @@ -0,0 +1,294 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servers.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Server + listKind: ServerList + plural: servers + singular: server + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Server is the Schema for the Servers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerSpec defines the desired state of Server + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + administratorLogin: + type: string + administratorLoginPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + autoGrowEnabled: + type: boolean + backupRetentionDays: + format: int64 + type: integer + createMode: + type: string + creationSourceServerId: + type: string + geoRedundantBackupEnabled: + type: boolean + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + infrastructureEncryptionEnabled: + type: boolean + location: + type: string + name: + type: string + publicNetworkAccessEnabled: + type: boolean + resourceGroupName: + type: string + restorePointInTime: + type: string + skuName: + type: string + sslEnforcement: + type: string + sslEnforcementEnabled: + type: boolean + sslMinimalTlsVersionEnforced: + type: string + storageMb: + format: int64 + type: integer + storageProfile: + items: + properties: + autoGrow: + type: string + backupRetentionDays: + format: int64 + type: integer + geoRedundantBackup: + type: string + storageMb: + format: int64 + type: integer + type: object + type: array + tags: + additionalProperties: + type: string + type: object + threatDetectionPolicy: + items: + properties: + disabledAlerts: + items: + type: string + type: array + emailAccountAdmins: + type: boolean + emailAddresses: + items: + type: string + type: array + enabled: + type: boolean + retentionDays: + format: int64 + type: integer + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + type: object + type: array + version: + type: string + required: + - location + - name + - resourceGroupName + - skuName + - version + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerStatus defines the observed state of Server. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/mysql.azure.jet.crossplane.io_virtualnetworkrules.yaml b/package/crds/mysql.azure.jet.crossplane.io_virtualnetworkrules.yaml new file mode 100644 index 000000000..d4ff577ec --- /dev/null +++ b/package/crds/mysql.azure.jet.crossplane.io_virtualnetworkrules.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualnetworkrules.mysql.azure.jet.crossplane.io +spec: + group: mysql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualNetworkRule + listKind: VirtualNetworkRuleList + plural: virtualnetworkrules + singular: virtualnetworkrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualNetworkRule is the Schema for the VirtualNetworkRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualNetworkRuleSpec defines the desired state of VirtualNetworkRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + subnetId: + type: string + required: + - name + - resourceGroupName + - serverName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualNetworkRuleStatus defines the observed state of VirtualNetworkRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/nat.azure.jet.crossplane.io_gatewaypublicipassociations.yaml b/package/crds/nat.azure.jet.crossplane.io_gatewaypublicipassociations.yaml new file mode 100644 index 000000000..a1e30ebe4 --- /dev/null +++ b/package/crds/nat.azure.jet.crossplane.io_gatewaypublicipassociations.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: gatewaypublicipassociations.nat.azure.jet.crossplane.io +spec: + group: nat.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: GatewayPublicIpAssociation + listKind: GatewayPublicIpAssociationList + plural: gatewaypublicipassociations + singular: gatewaypublicipassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: GatewayPublicIpAssociation is the Schema for the GatewayPublicIpAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GatewayPublicIpAssociationSpec defines the desired state + of GatewayPublicIpAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + natGatewayId: + type: string + publicIpAddressId: + type: string + required: + - natGatewayId + - publicIpAddressId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GatewayPublicIpAssociationStatus defines the observed state + of GatewayPublicIpAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/nat.azure.jet.crossplane.io_gatewaypublicipprefixassociations.yaml b/package/crds/nat.azure.jet.crossplane.io_gatewaypublicipprefixassociations.yaml new file mode 100644 index 000000000..61677af30 --- /dev/null +++ b/package/crds/nat.azure.jet.crossplane.io_gatewaypublicipprefixassociations.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: gatewaypublicipprefixassociations.nat.azure.jet.crossplane.io +spec: + group: nat.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: GatewayPublicIpPrefixAssociation + listKind: GatewayPublicIpPrefixAssociationList + plural: gatewaypublicipprefixassociations + singular: gatewaypublicipprefixassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: GatewayPublicIpPrefixAssociation is the Schema for the GatewayPublicIpPrefixAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GatewayPublicIpPrefixAssociationSpec defines the desired + state of GatewayPublicIpPrefixAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + natGatewayId: + type: string + publicIpPrefixId: + type: string + required: + - natGatewayId + - publicIpPrefixId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GatewayPublicIpPrefixAssociationStatus defines the observed + state of GatewayPublicIpPrefixAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/nat.azure.jet.crossplane.io_gateways.yaml b/package/crds/nat.azure.jet.crossplane.io_gateways.yaml new file mode 100644 index 000000000..7006530b2 --- /dev/null +++ b/package/crds/nat.azure.jet.crossplane.io_gateways.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: gateways.nat.azure.jet.crossplane.io +spec: + group: nat.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Gateway + listKind: GatewayList + plural: gateways + singular: gateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Gateway is the Schema for the Gateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GatewaySpec defines the desired state of Gateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + idleTimeoutInMinutes: + format: int64 + type: integer + location: + type: string + name: + type: string + publicIpAddressIds: + items: + type: string + type: array + publicIpPrefixIds: + items: + type: string + type: array + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GatewayStatus defines the observed state of Gateway. + properties: + atProvider: + properties: + resourceGuid: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/netapp.azure.jet.crossplane.io_accounts.yaml b/package/crds/netapp.azure.jet.crossplane.io_accounts.yaml new file mode 100644 index 000000000..afb799668 --- /dev/null +++ b/package/crds/netapp.azure.jet.crossplane.io_accounts.yaml @@ -0,0 +1,216 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accounts.netapp.azure.jet.crossplane.io +spec: + group: netapp.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Account + listKind: AccountList + plural: accounts + singular: account + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Account is the Schema for the Accounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountSpec defines the desired state of Account + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + activeDirectory: + items: + properties: + dnsServers: + items: + type: string + type: array + domain: + type: string + organizationalUnit: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + smbServerName: + type: string + username: + type: string + required: + - dnsServers + - domain + - passwordSecretRef + - smbServerName + - username + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountStatus defines the observed state of Account. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/netapp.azure.jet.crossplane.io_pools.yaml b/package/crds/netapp.azure.jet.crossplane.io_pools.yaml new file mode 100644 index 000000000..0a5728022 --- /dev/null +++ b/package/crds/netapp.azure.jet.crossplane.io_pools.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: pools.netapp.azure.jet.crossplane.io +spec: + group: netapp.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Pool + listKind: PoolList + plural: pools + singular: pool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Pool is the Schema for the Pools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PoolSpec defines the desired state of Pool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + serviceLevel: + type: string + sizeInTb: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + required: + - accountName + - location + - name + - resourceGroupName + - serviceLevel + - sizeInTb + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PoolStatus defines the observed state of Pool. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/netapp.azure.jet.crossplane.io_snapshots.yaml b/package/crds/netapp.azure.jet.crossplane.io_snapshots.yaml new file mode 100644 index 000000000..11830fb32 --- /dev/null +++ b/package/crds/netapp.azure.jet.crossplane.io_snapshots.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: snapshots.netapp.azure.jet.crossplane.io +spec: + group: netapp.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Snapshot + listKind: SnapshotList + plural: snapshots + singular: snapshot + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Snapshot is the Schema for the Snapshots API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SnapshotSpec defines the desired state of Snapshot + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + location: + type: string + name: + type: string + poolName: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + volumeName: + type: string + required: + - accountName + - location + - name + - poolName + - resourceGroupName + - volumeName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SnapshotStatus defines the observed state of Snapshot. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/netapp.azure.jet.crossplane.io_volumes.yaml b/package/crds/netapp.azure.jet.crossplane.io_volumes.yaml new file mode 100644 index 000000000..92864b3c2 --- /dev/null +++ b/package/crds/netapp.azure.jet.crossplane.io_volumes.yaml @@ -0,0 +1,257 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: volumes.netapp.azure.jet.crossplane.io +spec: + group: netapp.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Volume + listKind: VolumeList + plural: volumes + singular: volume + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Volume is the Schema for the Volumes API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VolumeSpec defines the desired state of Volume + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + accountName: + type: string + createFromSnapshotResourceId: + type: string + dataProtectionReplication: + items: + properties: + endpointType: + type: string + remoteVolumeLocation: + type: string + remoteVolumeResourceId: + type: string + replicationFrequency: + type: string + required: + - remoteVolumeLocation + - remoteVolumeResourceId + - replicationFrequency + type: object + type: array + exportPolicyRule: + items: + properties: + allowedClients: + items: + type: string + type: array + cifsEnabled: + type: boolean + nfsv3Enabled: + type: boolean + nfsv4Enabled: + type: boolean + protocolsEnabled: + items: + type: string + type: array + rootAccessEnabled: + type: boolean + ruleIndex: + format: int64 + type: integer + unixReadOnly: + type: boolean + unixReadWrite: + type: boolean + required: + - allowedClients + - ruleIndex + type: object + type: array + location: + type: string + name: + type: string + poolName: + type: string + protocols: + items: + type: string + type: array + resourceGroupName: + type: string + securityStyle: + type: string + serviceLevel: + type: string + snapshotDirectoryVisible: + type: boolean + storageQuotaInGb: + format: int64 + type: integer + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + volumePath: + type: string + required: + - accountName + - location + - name + - poolName + - resourceGroupName + - serviceLevel + - storageQuotaInGb + - subnetId + - volumePath + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VolumeStatus defines the observed state of Volume. + properties: + atProvider: + properties: + mountIpAddresses: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_connectionmonitors.yaml b/package/crds/network.azure.jet.crossplane.io_connectionmonitors.yaml new file mode 100644 index 000000000..0d8c0ff20 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_connectionmonitors.yaml @@ -0,0 +1,356 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: connectionmonitors.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ConnectionMonitor + listKind: ConnectionMonitorList + plural: connectionmonitors + singular: connectionmonitor + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ConnectionMonitor is the Schema for the ConnectionMonitors API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ConnectionMonitorSpec defines the desired state of ConnectionMonitor + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoStart: + type: boolean + destination: + items: + properties: + address: + type: string + port: + format: int64 + type: integer + virtualMachineId: + type: string + type: object + type: array + endpoint: + items: + properties: + address: + type: string + coverageLevel: + type: string + excludedIpAddresses: + items: + type: string + type: array + filter: + items: + properties: + item: + items: + properties: + address: + type: string + type: + type: string + type: object + type: array + type: + type: string + type: object + type: array + includedIpAddresses: + items: + type: string + type: array + name: + type: string + targetResourceId: + type: string + targetResourceType: + type: string + virtualMachineId: + type: string + required: + - name + type: object + type: array + intervalInSeconds: + format: int64 + type: integer + location: + type: string + name: + type: string + networkWatcherId: + type: string + notes: + type: string + outputWorkspaceResourceIds: + items: + type: string + type: array + source: + items: + properties: + port: + format: int64 + type: integer + virtualMachineId: + type: string + type: object + type: array + tags: + additionalProperties: + type: string + type: object + testConfiguration: + items: + properties: + httpConfiguration: + items: + properties: + method: + type: string + path: + type: string + port: + format: int64 + type: integer + preferHttps: + type: boolean + requestHeader: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + validStatusCodeRanges: + items: + type: string + type: array + type: object + type: array + icmpConfiguration: + items: + properties: + traceRouteEnabled: + type: boolean + type: object + type: array + name: + type: string + preferredIpVersion: + type: string + protocol: + type: string + successThreshold: + items: + properties: + checksFailedPercent: + format: int64 + type: integer + roundTripTimeMs: + type: number + type: object + type: array + tcpConfiguration: + items: + properties: + port: + format: int64 + type: integer + traceRouteEnabled: + type: boolean + required: + - port + type: object + type: array + testFrequencyInSeconds: + format: int64 + type: integer + required: + - name + - protocol + type: object + type: array + testGroup: + items: + properties: + destinationEndpoints: + items: + type: string + type: array + enabled: + type: boolean + name: + type: string + sourceEndpoints: + items: + type: string + type: array + testConfigurationNames: + items: + type: string + type: array + required: + - destinationEndpoints + - name + - sourceEndpoints + - testConfigurationNames + type: object + type: array + required: + - endpoint + - location + - name + - networkWatcherId + - testConfiguration + - testGroup + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ConnectionMonitorStatus defines the observed state of ConnectionMonitor. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_ddosprotectionplans.yaml b/package/crds/network.azure.jet.crossplane.io_ddosprotectionplans.yaml new file mode 100644 index 000000000..824acc620 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_ddosprotectionplans.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: ddosprotectionplans.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DdosProtectionPlan + listKind: DdosProtectionPlanList + plural: ddosprotectionplans + singular: ddosprotectionplan + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DdosProtectionPlan is the Schema for the DdosProtectionPlans + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DdosProtectionPlanSpec defines the desired state of DdosProtectionPlan + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DdosProtectionPlanStatus defines the observed state of DdosProtectionPlan. + properties: + atProvider: + properties: + virtualNetworkIds: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_interfaceapplicationsecuritygroupassociations.yaml b/package/crds/network.azure.jet.crossplane.io_interfaceapplicationsecuritygroupassociations.yaml new file mode 100644 index 000000000..728c965e9 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_interfaceapplicationsecuritygroupassociations.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: interfaceapplicationsecuritygroupassociations.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InterfaceApplicationSecurityGroupAssociation + listKind: InterfaceApplicationSecurityGroupAssociationList + plural: interfaceapplicationsecuritygroupassociations + singular: interfaceapplicationsecuritygroupassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InterfaceApplicationSecurityGroupAssociation is the Schema for + the InterfaceApplicationSecurityGroupAssociations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InterfaceApplicationSecurityGroupAssociationSpec defines + the desired state of InterfaceApplicationSecurityGroupAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationSecurityGroupId: + type: string + networkInterfaceId: + type: string + required: + - applicationSecurityGroupId + - networkInterfaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InterfaceApplicationSecurityGroupAssociationStatus defines + the observed state of InterfaceApplicationSecurityGroupAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_interfacebackendaddresspoolassociations.yaml b/package/crds/network.azure.jet.crossplane.io_interfacebackendaddresspoolassociations.yaml new file mode 100644 index 000000000..961329e34 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_interfacebackendaddresspoolassociations.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: interfacebackendaddresspoolassociations.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InterfaceBackendAddressPoolAssociation + listKind: InterfaceBackendAddressPoolAssociationList + plural: interfacebackendaddresspoolassociations + singular: interfacebackendaddresspoolassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InterfaceBackendAddressPoolAssociation is the Schema for the + InterfaceBackendAddressPoolAssociations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InterfaceBackendAddressPoolAssociationSpec defines the desired + state of InterfaceBackendAddressPoolAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + backendAddressPoolId: + type: string + ipConfigurationName: + type: string + networkInterfaceId: + type: string + required: + - backendAddressPoolId + - ipConfigurationName + - networkInterfaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InterfaceBackendAddressPoolAssociationStatus defines the + observed state of InterfaceBackendAddressPoolAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_interfacenatruleassociations.yaml b/package/crds/network.azure.jet.crossplane.io_interfacenatruleassociations.yaml new file mode 100644 index 000000000..0eeb443bc --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_interfacenatruleassociations.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: interfacenatruleassociations.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InterfaceNatRuleAssociation + listKind: InterfaceNatRuleAssociationList + plural: interfacenatruleassociations + singular: interfacenatruleassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InterfaceNatRuleAssociation is the Schema for the InterfaceNatRuleAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InterfaceNatRuleAssociationSpec defines the desired state + of InterfaceNatRuleAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + ipConfigurationName: + type: string + natRuleId: + type: string + networkInterfaceId: + type: string + required: + - ipConfigurationName + - natRuleId + - networkInterfaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InterfaceNatRuleAssociationStatus defines the observed state + of InterfaceNatRuleAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_interfacesecuritygroupassociations.yaml b/package/crds/network.azure.jet.crossplane.io_interfacesecuritygroupassociations.yaml new file mode 100644 index 000000000..6bab080f8 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_interfacesecuritygroupassociations.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: interfacesecuritygroupassociations.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: InterfaceSecurityGroupAssociation + listKind: InterfaceSecurityGroupAssociationList + plural: interfacesecuritygroupassociations + singular: interfacesecuritygroupassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: InterfaceSecurityGroupAssociation is the Schema for the InterfaceSecurityGroupAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: InterfaceSecurityGroupAssociationSpec defines the desired + state of InterfaceSecurityGroupAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + networkInterfaceId: + type: string + networkSecurityGroupId: + type: string + required: + - networkInterfaceId + - networkSecurityGroupId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: InterfaceSecurityGroupAssociationStatus defines the observed + state of InterfaceSecurityGroupAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_ipgroups.yaml b/package/crds/network.azure.jet.crossplane.io_ipgroups.yaml new file mode 100644 index 000000000..e2c78525b --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_ipgroups.yaml @@ -0,0 +1,198 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: ipgroups.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: IPGroup + listKind: IPGroupList + plural: ipgroups + singular: ipgroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: IPGroup is the Schema for the IPGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: IPGroupSpec defines the desired state of IPGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cidrs: + items: + type: string + type: array + location: + type: string + resourceGroupName: + type: string + resourceGroupNameRef: + description: A Reference to a named object. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + resourceGroupNameSelector: + description: A Selector selects an object. + properties: + matchControllerRef: + description: MatchControllerRef ensures an object with the + same controller reference as the selecting object is selected. + type: boolean + matchLabels: + additionalProperties: + type: string + description: MatchLabels ensures an object with matching labels + is selected. + type: object + type: object + tags: + additionalProperties: + type: string + type: object + required: + - location + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: IPGroupStatus defines the observed state of IPGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_networkinterfaces.yaml b/package/crds/network.azure.jet.crossplane.io_networkinterfaces.yaml new file mode 100644 index 000000000..1d108a18c --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_networkinterfaces.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: networkinterfaces.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NetworkInterface + listKind: NetworkInterfaceList + plural: networkinterfaces + singular: networkinterface + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NetworkInterface is the Schema for the NetworkInterfaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NetworkInterfaceSpec defines the desired state of NetworkInterface + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dnsServers: + items: + type: string + type: array + enableAcceleratedNetworking: + type: boolean + enableIpForwarding: + type: boolean + internalDnsNameLabel: + type: string + ipConfiguration: + items: + properties: + name: + type: string + primary: + type: boolean + privateIpAddress: + type: string + privateIpAddressAllocation: + type: string + privateIpAddressVersion: + type: string + publicIpAddressId: + type: string + subnetId: + type: string + required: + - name + - privateIpAddressAllocation + type: object + type: array + location: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - ipConfiguration + - location + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NetworkInterfaceStatus defines the observed state of NetworkInterface. + properties: + atProvider: + properties: + appliedDnsServers: + items: + type: string + type: array + internalDomainNameSuffix: + type: string + macAddress: + type: string + privateIpAddress: + type: string + privateIpAddresses: + items: + type: string + type: array + virtualMachineId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_packetcaptures.yaml b/package/crds/network.azure.jet.crossplane.io_packetcaptures.yaml new file mode 100644 index 000000000..14753c964 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_packetcaptures.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: packetcaptures.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PacketCapture + listKind: PacketCaptureList + plural: packetcaptures + singular: packetcapture + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PacketCapture is the Schema for the PacketCaptures API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PacketCaptureSpec defines the desired state of PacketCapture + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + filter: + items: + properties: + localIpAddress: + type: string + localPort: + type: string + protocol: + type: string + remoteIpAddress: + type: string + remotePort: + type: string + required: + - protocol + type: object + type: array + maximumBytesPerPacket: + format: int64 + type: integer + maximumBytesPerSession: + format: int64 + type: integer + maximumCaptureDuration: + format: int64 + type: integer + name: + type: string + networkWatcherName: + type: string + resourceGroupName: + type: string + storageLocation: + items: + properties: + filePath: + type: string + storageAccountId: + type: string + type: object + type: array + targetResourceId: + type: string + required: + - name + - networkWatcherName + - resourceGroupName + - storageLocation + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PacketCaptureStatus defines the observed state of PacketCapture. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_profiles.yaml b/package/crds/network.azure.jet.crossplane.io_profiles.yaml new file mode 100644 index 000000000..0dead0d32 --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_profiles.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: profiles.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Profile + listKind: ProfileList + plural: profiles + singular: profile + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Profile is the Schema for the Profiles API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProfileSpec defines the desired state of Profile + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + containerNetworkInterface: + items: + properties: + ipConfiguration: + items: + properties: + name: + type: string + subnetId: + type: string + required: + - name + - subnetId + type: object + type: array + name: + type: string + required: + - ipConfiguration + - name + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - containerNetworkInterface + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProfileStatus defines the observed state of Profile. + properties: + atProvider: + properties: + containerNetworkInterfaceIds: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_securitygroups.yaml b/package/crds/network.azure.jet.crossplane.io_securitygroups.yaml new file mode 100644 index 000000000..417f5c09c --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_securitygroups.yaml @@ -0,0 +1,231 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: securitygroups.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SecurityGroup + listKind: SecurityGroupList + plural: securitygroups + singular: securitygroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SecurityGroup is the Schema for the SecurityGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SecurityGroupSpec defines the desired state of SecurityGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + securityRule: + items: + properties: + access: + type: string + description: + type: string + destinationAddressPrefix: + type: string + destinationAddressPrefixes: + items: + type: string + type: array + destinationApplicationSecurityGroupIds: + items: + type: string + type: array + destinationPortRange: + type: string + destinationPortRanges: + items: + type: string + type: array + direction: + type: string + name: + type: string + priority: + format: int64 + type: integer + protocol: + type: string + sourceAddressPrefix: + type: string + sourceAddressPrefixes: + items: + type: string + type: array + sourceApplicationSecurityGroupIds: + items: + type: string + type: array + sourcePortRange: + type: string + sourcePortRanges: + items: + type: string + type: array + required: + - access + - direction + - name + - priority + - protocol + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SecurityGroupStatus defines the observed state of SecurityGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_watcherflowlogs.yaml b/package/crds/network.azure.jet.crossplane.io_watcherflowlogs.yaml new file mode 100644 index 000000000..0b5abd64a --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_watcherflowlogs.yaml @@ -0,0 +1,224 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: watcherflowlogs.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WatcherFlowLog + listKind: WatcherFlowLogList + plural: watcherflowlogs + singular: watcherflowlog + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WatcherFlowLog is the Schema for the WatcherFlowLogs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WatcherFlowLogSpec defines the desired state of WatcherFlowLog + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + enabled: + type: boolean + location: + type: string + networkSecurityGroupId: + type: string + networkWatcherName: + type: string + resourceGroupName: + type: string + retentionPolicy: + items: + properties: + days: + format: int64 + type: integer + enabled: + type: boolean + required: + - days + - enabled + type: object + type: array + storageAccountId: + type: string + tags: + additionalProperties: + type: string + type: object + trafficAnalytics: + items: + properties: + enabled: + type: boolean + intervalInMinutes: + format: int64 + type: integer + workspaceId: + type: string + workspaceRegion: + type: string + workspaceResourceId: + type: string + required: + - enabled + - workspaceId + - workspaceRegion + - workspaceResourceId + type: object + type: array + version: + format: int64 + type: integer + required: + - enabled + - networkSecurityGroupId + - networkWatcherName + - resourceGroupName + - retentionPolicy + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WatcherFlowLogStatus defines the observed state of WatcherFlowLog. + properties: + atProvider: + properties: + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/network.azure.jet.crossplane.io_watchers.yaml b/package/crds/network.azure.jet.crossplane.io_watchers.yaml new file mode 100644 index 000000000..1230f270d --- /dev/null +++ b/package/crds/network.azure.jet.crossplane.io_watchers.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: watchers.network.azure.jet.crossplane.io +spec: + group: network.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Watcher + listKind: WatcherList + plural: watchers + singular: watcher + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Watcher is the Schema for the Watchers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WatcherSpec defines the desired state of Watcher + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WatcherStatus defines the observed state of Watcher. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/notification.azure.jet.crossplane.io_hubauthorizationrules.yaml b/package/crds/notification.azure.jet.crossplane.io_hubauthorizationrules.yaml new file mode 100644 index 000000000..86d5ef3bf --- /dev/null +++ b/package/crds/notification.azure.jet.crossplane.io_hubauthorizationrules.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hubauthorizationrules.notification.azure.jet.crossplane.io +spec: + group: notification.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HubAuthorizationRule + listKind: HubAuthorizationRuleList + plural: hubauthorizationrules + singular: hubauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HubAuthorizationRule is the Schema for the HubAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HubAuthorizationRuleSpec defines the desired state of HubAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + notificationHubName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - name + - namespaceName + - notificationHubName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HubAuthorizationRuleStatus defines the observed state of + HubAuthorizationRule. + properties: + atProvider: + properties: + primaryAccessKey: + type: string + secondaryAccessKey: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/notification.azure.jet.crossplane.io_hubnamespaces.yaml b/package/crds/notification.azure.jet.crossplane.io_hubnamespaces.yaml new file mode 100644 index 000000000..1a7d66830 --- /dev/null +++ b/package/crds/notification.azure.jet.crossplane.io_hubnamespaces.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hubnamespaces.notification.azure.jet.crossplane.io +spec: + group: notification.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HubNamespace + listKind: HubNamespaceList + plural: hubnamespaces + singular: hubnamespace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HubNamespace is the Schema for the HubNamespaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HubNamespaceSpec defines the desired state of HubNamespace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + enabled: + type: boolean + location: + type: string + name: + type: string + namespaceType: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - namespaceType + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HubNamespaceStatus defines the observed state of HubNamespace. + properties: + atProvider: + properties: + servicebusEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/notification.azure.jet.crossplane.io_hubs.yaml b/package/crds/notification.azure.jet.crossplane.io_hubs.yaml new file mode 100644 index 000000000..a04e200e1 --- /dev/null +++ b/package/crds/notification.azure.jet.crossplane.io_hubs.yaml @@ -0,0 +1,240 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hubs.notification.azure.jet.crossplane.io +spec: + group: notification.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Hub + listKind: HubList + plural: hubs + singular: hub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Hub is the Schema for the Hubs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HubSpec defines the desired state of Hub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apnsCredential: + items: + properties: + applicationMode: + type: string + bundleId: + type: string + keyId: + type: string + teamId: + type: string + tokenSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - applicationMode + - bundleId + - keyId + - teamId + - tokenSecretRef + type: object + type: array + gcmCredential: + items: + properties: + apiKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - apiKeySecretRef + type: object + type: array + location: + type: string + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HubStatus defines the observed state of Hub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/orchestrated.azure.jet.crossplane.io_virtualmachinescalesets.yaml b/package/crds/orchestrated.azure.jet.crossplane.io_virtualmachinescalesets.yaml new file mode 100644 index 000000000..06ab68ad9 --- /dev/null +++ b/package/crds/orchestrated.azure.jet.crossplane.io_virtualmachinescalesets.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachinescalesets.orchestrated.azure.jet.crossplane.io +spec: + group: orchestrated.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachineScaleSet + listKind: VirtualMachineScaleSetList + plural: virtualmachinescalesets + singular: virtualmachinescaleset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachineScaleSet is the Schema for the VirtualMachineScaleSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + platformFaultDomainCount: + format: int64 + type: integer + proximityPlacementGroupId: + type: string + resourceGroupName: + type: string + singlePlacementGroup: + type: boolean + tags: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - location + - name + - platformFaultDomainCount + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineScaleSetStatus defines the observed state of + VirtualMachineScaleSet. + properties: + atProvider: + properties: + uniqueId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/packet.azure.jet.crossplane.io_captures.yaml b/package/crds/packet.azure.jet.crossplane.io_captures.yaml new file mode 100644 index 000000000..683389d46 --- /dev/null +++ b/package/crds/packet.azure.jet.crossplane.io_captures.yaml @@ -0,0 +1,210 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: captures.packet.azure.jet.crossplane.io +spec: + group: packet.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Capture + listKind: CaptureList + plural: captures + singular: capture + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Capture is the Schema for the Captures API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CaptureSpec defines the desired state of Capture + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + filter: + items: + properties: + localIpAddress: + type: string + localPort: + type: string + protocol: + type: string + remoteIpAddress: + type: string + remotePort: + type: string + required: + - protocol + type: object + type: array + maximumBytesPerPacket: + format: int64 + type: integer + maximumBytesPerSession: + format: int64 + type: integer + maximumCaptureDuration: + format: int64 + type: integer + name: + type: string + networkWatcherName: + type: string + resourceGroupName: + type: string + storageLocation: + items: + properties: + filePath: + type: string + storageAccountId: + type: string + type: object + type: array + targetResourceId: + type: string + required: + - name + - networkWatcherName + - resourceGroupName + - storageLocation + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CaptureStatus defines the observed state of Capture. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/point.azure.jet.crossplane.io_tositevpngateways.yaml b/package/crds/point.azure.jet.crossplane.io_tositevpngateways.yaml new file mode 100644 index 000000000..50fc91543 --- /dev/null +++ b/package/crds/point.azure.jet.crossplane.io_tositevpngateways.yaml @@ -0,0 +1,235 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: tositevpngateways.point.azure.jet.crossplane.io +spec: + group: point.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ToSiteVpnGateway + listKind: ToSiteVpnGatewayList + plural: tositevpngateways + singular: tositevpngateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ToSiteVpnGateway is the Schema for the ToSiteVpnGateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ToSiteVpnGatewaySpec defines the desired state of ToSiteVpnGateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + connectionConfiguration: + items: + properties: + name: + type: string + route: + items: + properties: + associatedRouteTableId: + type: string + propagatedRouteTable: + items: + properties: + ids: + items: + type: string + type: array + labels: + items: + type: string + type: array + required: + - ids + type: object + type: array + required: + - associatedRouteTableId + type: object + type: array + vpnClientAddressPool: + items: + properties: + addressPrefixes: + items: + type: string + type: array + required: + - addressPrefixes + type: object + type: array + required: + - name + - vpnClientAddressPool + type: object + type: array + dnsServers: + items: + type: string + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + scaleUnit: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + virtualHubId: + type: string + vpnServerConfigurationId: + type: string + required: + - connectionConfiguration + - location + - name + - resourceGroupName + - scaleUnit + - virtualHubId + - vpnServerConfigurationId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ToSiteVpnGatewayStatus defines the observed state of ToSiteVpnGateway. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/policy.azure.jet.crossplane.io_assignments.yaml b/package/crds/policy.azure.jet.crossplane.io_assignments.yaml new file mode 100644 index 000000000..be3b37230 --- /dev/null +++ b/package/crds/policy.azure.jet.crossplane.io_assignments.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignments.policy.azure.jet.crossplane.io +spec: + group: policy.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Assignment + listKind: AssignmentList + plural: assignments + singular: assignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Assignment is the Schema for the Assignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentSpec defines the desired state of Assignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + displayName: + type: string + enforcementMode: + type: boolean + identity: + items: + properties: + type: + type: string + type: object + type: array + location: + type: string + metadata: + type: string + name: + type: string + notScopes: + items: + type: string + type: array + parameters: + type: string + policyDefinitionId: + type: string + scope: + type: string + required: + - name + - policyDefinitionId + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentStatus defines the observed state of Assignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/policy.azure.jet.crossplane.io_definitions.yaml b/package/crds/policy.azure.jet.crossplane.io_definitions.yaml new file mode 100644 index 000000000..c4f43236d --- /dev/null +++ b/package/crds/policy.azure.jet.crossplane.io_definitions.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: definitions.policy.azure.jet.crossplane.io +spec: + group: policy.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Definition + listKind: DefinitionList + plural: definitions + singular: definition + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Definition is the Schema for the Definitions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DefinitionSpec defines the desired state of Definition + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + displayName: + type: string + managementGroupId: + type: string + managementGroupName: + type: string + metadata: + type: string + mode: + type: string + name: + type: string + parameters: + type: string + policyRule: + type: string + policyType: + type: string + required: + - displayName + - mode + - name + - policyType + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DefinitionStatus defines the observed state of Definition. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/policy.azure.jet.crossplane.io_remediations.yaml b/package/crds/policy.azure.jet.crossplane.io_remediations.yaml new file mode 100644 index 000000000..c749931a2 --- /dev/null +++ b/package/crds/policy.azure.jet.crossplane.io_remediations.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: remediations.policy.azure.jet.crossplane.io +spec: + group: policy.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Remediation + listKind: RemediationList + plural: remediations + singular: remediation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Remediation is the Schema for the Remediations API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RemediationSpec defines the desired state of Remediation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + locationFilters: + items: + type: string + type: array + name: + type: string + policyAssignmentId: + type: string + policyDefinitionReferenceId: + type: string + resourceDiscoveryMode: + type: string + scope: + type: string + required: + - name + - policyAssignmentId + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RemediationStatus defines the observed state of Remediation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/policy.azure.jet.crossplane.io_setdefinitions.yaml b/package/crds/policy.azure.jet.crossplane.io_setdefinitions.yaml new file mode 100644 index 000000000..f29b66c8e --- /dev/null +++ b/package/crds/policy.azure.jet.crossplane.io_setdefinitions.yaml @@ -0,0 +1,221 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: setdefinitions.policy.azure.jet.crossplane.io +spec: + group: policy.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SetDefinition + listKind: SetDefinitionList + plural: setdefinitions + singular: setdefinition + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SetDefinition is the Schema for the SetDefinitions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SetDefinitionSpec defines the desired state of SetDefinition + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + displayName: + type: string + managementGroupId: + type: string + managementGroupName: + type: string + metadata: + type: string + name: + type: string + parameters: + type: string + policyDefinitionGroup: + items: + properties: + additionalMetadataResourceId: + type: string + category: + type: string + description: + type: string + displayName: + type: string + name: + type: string + required: + - name + type: object + type: array + policyDefinitionReference: + items: + properties: + parameterValues: + type: string + parameters: + additionalProperties: + type: string + type: object + policyDefinitionId: + type: string + policyGroupNames: + items: + type: string + type: array + referenceId: + type: string + required: + - policyDefinitionId + type: object + type: array + policyDefinitions: + type: string + policyType: + type: string + required: + - displayName + - name + - policyType + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SetDefinitionStatus defines the observed state of SetDefinition. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/policy.azure.jet.crossplane.io_virtualmachineconfigurationassignments.yaml b/package/crds/policy.azure.jet.crossplane.io_virtualmachineconfigurationassignments.yaml new file mode 100644 index 000000000..abdda9640 --- /dev/null +++ b/package/crds/policy.azure.jet.crossplane.io_virtualmachineconfigurationassignments.yaml @@ -0,0 +1,202 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachineconfigurationassignments.policy.azure.jet.crossplane.io +spec: + group: policy.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachineConfigurationAssignment + listKind: VirtualMachineConfigurationAssignmentList + plural: virtualmachineconfigurationassignments + singular: virtualmachineconfigurationassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachineConfigurationAssignment is the Schema for the VirtualMachineConfigurationAssignments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineConfigurationAssignmentSpec defines the desired + state of VirtualMachineConfigurationAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + configuration: + items: + properties: + assignmentType: + type: string + contentHash: + type: string + contentUri: + type: string + name: + type: string + parameter: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + version: + type: string + type: object + type: array + location: + type: string + name: + type: string + virtualMachineId: + type: string + required: + - configuration + - location + - name + - virtualMachineId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineConfigurationAssignmentStatus defines the observed + state of VirtualMachineConfigurationAssignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/portal.azure.jet.crossplane.io_tenantconfigurations.yaml b/package/crds/portal.azure.jet.crossplane.io_tenantconfigurations.yaml new file mode 100644 index 000000000..8321bbeba --- /dev/null +++ b/package/crds/portal.azure.jet.crossplane.io_tenantconfigurations.yaml @@ -0,0 +1,166 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: tenantconfigurations.portal.azure.jet.crossplane.io +spec: + group: portal.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TenantConfiguration + listKind: TenantConfigurationList + plural: tenantconfigurations + singular: tenantconfiguration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TenantConfiguration is the Schema for the TenantConfigurations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TenantConfigurationSpec defines the desired state of TenantConfiguration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + privateMarkdownStorageEnforced: + type: boolean + required: + - privateMarkdownStorageEnforced + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TenantConfigurationStatus defines the observed state of TenantConfiguration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/powerbi.azure.jet.crossplane.io_embeddeds.yaml b/package/crds/powerbi.azure.jet.crossplane.io_embeddeds.yaml new file mode 100644 index 000000000..24da5c477 --- /dev/null +++ b/package/crds/powerbi.azure.jet.crossplane.io_embeddeds.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: embeddeds.powerbi.azure.jet.crossplane.io +spec: + group: powerbi.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Embedded + listKind: EmbeddedList + plural: embeddeds + singular: embedded + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Embedded is the Schema for the Embeddeds API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EmbeddedSpec defines the desired state of Embedded + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + administrators: + items: + type: string + type: array + location: + type: string + mode: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - administrators + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EmbeddedStatus defines the observed state of Embedded. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnsaaaarecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnsaaaarecords.yaml new file mode 100644 index 000000000..81069e051 --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnsaaaarecords.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnsaaaarecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsAaaaRecord + listKind: DnsAaaaRecordList + plural: dnsaaaarecords + singular: dnsaaaarecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsAaaaRecord is the Schema for the DnsAaaaRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsAaaaRecordSpec defines the desired state of DnsAaaaRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - records + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsAaaaRecordStatus defines the observed state of DnsAaaaRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnsarecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnsarecords.yaml new file mode 100644 index 000000000..e3884c5fd --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnsarecords.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnsarecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsARecord + listKind: DnsARecordList + plural: dnsarecords + singular: dnsarecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsARecord is the Schema for the DnsARecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsARecordSpec defines the desired state of DnsARecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - records + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsARecordStatus defines the observed state of DnsARecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnscnamerecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnscnamerecords.yaml new file mode 100644 index 000000000..42d9a699d --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnscnamerecords.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnscnamerecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsCnameRecord + listKind: DnsCnameRecordList + plural: dnscnamerecords + singular: dnscnamerecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsCnameRecord is the Schema for the DnsCnameRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsCnameRecordSpec defines the desired state of DnsCnameRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsCnameRecordStatus defines the observed state of DnsCnameRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnsmxrecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnsmxrecords.yaml new file mode 100644 index 000000000..2f5d31f03 --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnsmxrecords.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnsmxrecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsMxRecord + listKind: DnsMxRecordList + plural: dnsmxrecords + singular: dnsmxrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsMxRecord is the Schema for the DnsMxRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsMxRecordSpec defines the desired state of DnsMxRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + exchange: + type: string + preference: + format: int64 + type: integer + required: + - exchange + - preference + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsMxRecordStatus defines the observed state of DnsMxRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnsptrrecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnsptrrecords.yaml new file mode 100644 index 000000000..8f19d85bc --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnsptrrecords.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnsptrrecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsPtrRecord + listKind: DnsPtrRecordList + plural: dnsptrrecords + singular: dnsptrrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsPtrRecord is the Schema for the DnsPtrRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsPtrRecordSpec defines the desired state of DnsPtrRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + records: + items: + type: string + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - records + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsPtrRecordStatus defines the observed state of DnsPtrRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnssrvrecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnssrvrecords.yaml new file mode 100644 index 000000000..4def65eb1 --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnssrvrecords.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnssrvrecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsSrvRecord + listKind: DnsSrvRecordList + plural: dnssrvrecords + singular: dnssrvrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsSrvRecord is the Schema for the DnsSrvRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsSrvRecordSpec defines the desired state of DnsSrvRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + port: + format: int64 + type: integer + priority: + format: int64 + type: integer + target: + type: string + weight: + format: int64 + type: integer + required: + - port + - priority + - target + - weight + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsSrvRecordStatus defines the observed state of DnsSrvRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnstxtrecords.yaml b/package/crds/private.azure.jet.crossplane.io_dnstxtrecords.yaml new file mode 100644 index 000000000..e2d044f99 --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnstxtrecords.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnstxtrecords.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsTxtRecord + listKind: DnsTxtRecordList + plural: dnstxtrecords + singular: dnstxtrecord + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsTxtRecord is the Schema for the DnsTxtRecords API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsTxtRecordSpec defines the desired state of DnsTxtRecord + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + record: + items: + properties: + value: + type: string + required: + - value + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + zoneName: + type: string + required: + - name + - record + - resourceGroupName + - ttl + - zoneName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsTxtRecordStatus defines the observed state of DnsTxtRecord. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnszones.yaml b/package/crds/private.azure.jet.crossplane.io_dnszones.yaml new file mode 100644 index 000000000..dd896659f --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnszones.yaml @@ -0,0 +1,213 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnszones.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsZone + listKind: DnsZoneList + plural: dnszones + singular: dnszone + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsZone is the Schema for the DnsZones API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsZoneSpec defines the desired state of DnsZone + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + soaRecord: + items: + properties: + email: + type: string + expireTime: + format: int64 + type: integer + minimumTtl: + format: int64 + type: integer + refreshTime: + format: int64 + type: integer + retryTime: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + ttl: + format: int64 + type: integer + required: + - email + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsZoneStatus defines the observed state of DnsZone. + properties: + atProvider: + properties: + maxNumberOfRecordSets: + format: int64 + type: integer + maxNumberOfVirtualNetworkLinks: + format: int64 + type: integer + maxNumberOfVirtualNetworkLinksWithRegistration: + format: int64 + type: integer + numberOfRecordSets: + format: int64 + type: integer + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_dnszonevirtualnetworklinks.yaml b/package/crds/private.azure.jet.crossplane.io_dnszonevirtualnetworklinks.yaml new file mode 100644 index 000000000..9ecaeb7fd --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_dnszonevirtualnetworklinks.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dnszonevirtualnetworklinks.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DnsZoneVirtualNetworkLink + listKind: DnsZoneVirtualNetworkLinkList + plural: dnszonevirtualnetworklinks + singular: dnszonevirtualnetworklink + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DnsZoneVirtualNetworkLink is the Schema for the DnsZoneVirtualNetworkLinks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DnsZoneVirtualNetworkLinkSpec defines the desired state of + DnsZoneVirtualNetworkLink + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + privateDnsZoneName: + type: string + registrationEnabled: + type: boolean + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + virtualNetworkId: + type: string + required: + - name + - privateDnsZoneName + - resourceGroupName + - virtualNetworkId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DnsZoneVirtualNetworkLinkStatus defines the observed state + of DnsZoneVirtualNetworkLink. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_endpoints.yaml b/package/crds/private.azure.jet.crossplane.io_endpoints.yaml new file mode 100644 index 000000000..4dc62c7f7 --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_endpoints.yaml @@ -0,0 +1,265 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: endpoints.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Endpoint + listKind: EndpointList + plural: endpoints + singular: endpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Endpoint is the Schema for the Endpoints API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EndpointSpec defines the desired state of Endpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + privateDnsZoneGroup: + items: + properties: + name: + type: string + privateDnsZoneIds: + items: + type: string + type: array + required: + - name + - privateDnsZoneIds + type: object + type: array + privateServiceConnection: + items: + properties: + isManualConnection: + type: boolean + name: + type: string + privateConnectionResourceAlias: + type: string + privateConnectionResourceId: + type: string + requestMessage: + type: string + subresourceNames: + items: + type: string + type: array + required: + - isManualConnection + - name + type: object + type: array + resourceGroupName: + type: string + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - privateServiceConnection + - resourceGroupName + - subnetId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EndpointStatus defines the observed state of Endpoint. + properties: + atProvider: + properties: + customDnsConfigs: + items: + properties: + fqdn: + type: string + ipAddresses: + items: + type: string + type: array + type: object + type: array + networkInterface: + items: + properties: + id: + type: string + name: + type: string + type: object + type: array + privateDnsZoneConfigs: + items: + properties: + id: + type: string + name: + type: string + privateDnsZoneId: + type: string + recordSets: + items: + properties: + fqdn: + type: string + ipAddresses: + items: + type: string + type: array + name: + type: string + ttl: + format: int64 + type: integer + type: + type: string + type: object + type: array + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/private.azure.jet.crossplane.io_linkservices.yaml b/package/crds/private.azure.jet.crossplane.io_linkservices.yaml new file mode 100644 index 000000000..16f6afaa3 --- /dev/null +++ b/package/crds/private.azure.jet.crossplane.io_linkservices.yaml @@ -0,0 +1,213 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: linkservices.private.azure.jet.crossplane.io +spec: + group: private.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LinkService + listKind: LinkServiceList + plural: linkservices + singular: linkservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LinkService is the Schema for the LinkServices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LinkServiceSpec defines the desired state of LinkService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoApprovalSubscriptionIds: + items: + type: string + type: array + enableProxyProtocol: + type: boolean + loadBalancerFrontendIpConfigurationIds: + items: + type: string + type: array + location: + type: string + name: + type: string + natIpConfiguration: + items: + properties: + name: + type: string + primary: + type: boolean + privateIpAddress: + type: string + privateIpAddressVersion: + type: string + subnetId: + type: string + required: + - name + - primary + - subnetId + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + visibilitySubscriptionIds: + items: + type: string + type: array + required: + - loadBalancerFrontendIpConfigurationIds + - location + - name + - natIpConfiguration + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LinkServiceStatus defines the observed state of LinkService. + properties: + atProvider: + properties: + alias: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/proximity.azure.jet.crossplane.io_placementgroups.yaml b/package/crds/proximity.azure.jet.crossplane.io_placementgroups.yaml new file mode 100644 index 000000000..5462f8930 --- /dev/null +++ b/package/crds/proximity.azure.jet.crossplane.io_placementgroups.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: placementgroups.proximity.azure.jet.crossplane.io +spec: + group: proximity.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PlacementGroup + listKind: PlacementGroupList + plural: placementgroups + singular: placementgroup + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PlacementGroup is the Schema for the PlacementGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PlacementGroupSpec defines the desired state of PlacementGroup + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PlacementGroupStatus defines the observed state of PlacementGroup. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/public.azure.jet.crossplane.io_ipprefixes.yaml b/package/crds/public.azure.jet.crossplane.io_ipprefixes.yaml new file mode 100644 index 000000000..7533aa9e2 --- /dev/null +++ b/package/crds/public.azure.jet.crossplane.io_ipprefixes.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: ipprefixes.public.azure.jet.crossplane.io +spec: + group: public.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: IpPrefix + listKind: IpPrefixList + plural: ipprefixes + singular: ipprefix + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: IpPrefix is the Schema for the IpPrefixs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: IpPrefixSpec defines the desired state of IpPrefix + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + availabilityZone: + type: string + location: + type: string + name: + type: string + prefixLength: + format: int64 + type: integer + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: IpPrefixStatus defines the observed state of IpPrefix. + properties: + atProvider: + properties: + ipPrefix: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/public.azure.jet.crossplane.io_ips.yaml b/package/crds/public.azure.jet.crossplane.io_ips.yaml new file mode 100644 index 000000000..f8cf7aef5 --- /dev/null +++ b/package/crds/public.azure.jet.crossplane.io_ips.yaml @@ -0,0 +1,208 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: ips.public.azure.jet.crossplane.io +spec: + group: public.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Ip + listKind: IpList + plural: ips + singular: ip + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Ip is the Schema for the Ips API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: IpSpec defines the desired state of Ip + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allocationMethod: + type: string + availabilityZone: + type: string + domainNameLabel: + type: string + idleTimeoutInMinutes: + format: int64 + type: integer + ipTags: + additionalProperties: + type: string + type: object + ipVersion: + type: string + location: + type: string + name: + type: string + publicIpPrefixId: + type: string + resourceGroupName: + type: string + reverseFqdn: + type: string + sku: + type: string + skuTier: + type: string + tags: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - allocationMethod + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: IpStatus defines the observed state of Ip. + properties: + atProvider: + properties: + fqdn: + type: string + ipAddress: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/purview.azure.jet.crossplane.io_accounts.yaml b/package/crds/purview.azure.jet.crossplane.io_accounts.yaml new file mode 100644 index 000000000..3a9a2d65a --- /dev/null +++ b/package/crds/purview.azure.jet.crossplane.io_accounts.yaml @@ -0,0 +1,198 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accounts.purview.azure.jet.crossplane.io +spec: + group: purview.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Account + listKind: AccountList + plural: accounts + singular: account + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Account is the Schema for the Accounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountSpec defines the desired state of Account + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + publicNetworkEnabled: + type: boolean + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountStatus defines the observed state of Account. + properties: + atProvider: + properties: + catalogEndpoint: + type: string + guardianEndpoint: + type: string + identity: + items: + properties: + principalId: + type: string + tenantId: + type: string + type: + type: string + type: object + type: array + scanEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/recovery.azure.jet.crossplane.io_servicesvaults.yaml b/package/crds/recovery.azure.jet.crossplane.io_servicesvaults.yaml new file mode 100644 index 000000000..e99e13ce3 --- /dev/null +++ b/package/crds/recovery.azure.jet.crossplane.io_servicesvaults.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicesvaults.recovery.azure.jet.crossplane.io +spec: + group: recovery.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServicesVault + listKind: ServicesVaultList + plural: servicesvaults + singular: servicesvault + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServicesVault is the Schema for the ServicesVaults API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServicesVaultSpec defines the desired state of ServicesVault + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + softDeleteEnabled: + type: boolean + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServicesVaultStatus defines the observed state of ServicesVault. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/redis.azure.jet.crossplane.io_caches.yaml b/package/crds/redis.azure.jet.crossplane.io_caches.yaml new file mode 100644 index 000000000..e8707a4fe --- /dev/null +++ b/package/crds/redis.azure.jet.crossplane.io_caches.yaml @@ -0,0 +1,321 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: caches.redis.azure.jet.crossplane.io +spec: + group: redis.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Cache + listKind: CacheList + plural: caches + singular: cache + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Cache is the Schema for the Caches API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CacheSpec defines the desired state of Cache + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + capacity: + format: int64 + type: integer + enableNonSslPort: + type: boolean + family: + type: string + location: + type: string + minimumTlsVersion: + type: string + name: + type: string + patchSchedule: + items: + properties: + dayOfWeek: + type: string + maintenanceWindow: + type: string + startHourUtc: + format: int64 + type: integer + required: + - dayOfWeek + type: object + type: array + privateStaticIpAddress: + type: string + publicNetworkAccessEnabled: + type: boolean + redisConfiguration: + items: + properties: + aofBackupEnabled: + type: boolean + aofStorageConnectionString0SecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + aofStorageConnectionString1SecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + enableAuthentication: + type: boolean + maxfragmentationmemoryReserved: + format: int64 + type: integer + maxmemoryDelta: + format: int64 + type: integer + maxmemoryPolicy: + type: string + maxmemoryReserved: + format: int64 + type: integer + notifyKeyspaceEvents: + type: string + rdbBackupEnabled: + type: boolean + rdbBackupFrequency: + format: int64 + type: integer + rdbBackupMaxSnapshotCount: + format: int64 + type: integer + rdbStorageConnectionStringSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + type: object + type: array + redisVersion: + type: string + replicasPerMaster: + format: int64 + type: integer + replicasPerPrimary: + format: int64 + type: integer + resourceGroupName: + type: string + shardCount: + format: int64 + type: integer + skuName: + type: string + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + tenantSettings: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - capacity + - family + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CacheStatus defines the observed state of Cache. + properties: + atProvider: + properties: + hostname: + type: string + port: + format: int64 + type: integer + sslPort: + format: int64 + type: integer + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/redis.azure.jet.crossplane.io_enterpriseclusters.yaml b/package/crds/redis.azure.jet.crossplane.io_enterpriseclusters.yaml new file mode 100644 index 000000000..65573c9c9 --- /dev/null +++ b/package/crds/redis.azure.jet.crossplane.io_enterpriseclusters.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: enterpriseclusters.redis.azure.jet.crossplane.io +spec: + group: redis.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EnterpriseCluster + listKind: EnterpriseClusterList + plural: enterpriseclusters + singular: enterprisecluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EnterpriseCluster is the Schema for the EnterpriseClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EnterpriseClusterSpec defines the desired state of EnterpriseCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + minimumTlsVersion: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + zones: + items: + type: string + type: array + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EnterpriseClusterStatus defines the observed state of EnterpriseCluster. + properties: + atProvider: + properties: + hostname: + type: string + version: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/redis.azure.jet.crossplane.io_enterprisedatabases.yaml b/package/crds/redis.azure.jet.crossplane.io_enterprisedatabases.yaml new file mode 100644 index 000000000..3d1800e34 --- /dev/null +++ b/package/crds/redis.azure.jet.crossplane.io_enterprisedatabases.yaml @@ -0,0 +1,191 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: enterprisedatabases.redis.azure.jet.crossplane.io +spec: + group: redis.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EnterpriseDatabase + listKind: EnterpriseDatabaseList + plural: enterprisedatabases + singular: enterprisedatabase + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EnterpriseDatabase is the Schema for the EnterpriseDatabases + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EnterpriseDatabaseSpec defines the desired state of EnterpriseDatabase + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clientProtocol: + type: string + clusterId: + type: string + clusteringPolicy: + type: string + evictionPolicy: + type: string + module: + items: + properties: + args: + type: string + name: + type: string + required: + - name + type: object + type: array + name: + type: string + port: + format: int64 + type: integer + resourceGroupName: + type: string + required: + - clusterId + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EnterpriseDatabaseStatus defines the observed state of EnterpriseDatabase. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/redis.azure.jet.crossplane.io_firewallrules.yaml b/package/crds/redis.azure.jet.crossplane.io_firewallrules.yaml new file mode 100644 index 000000000..9351c3101 --- /dev/null +++ b/package/crds/redis.azure.jet.crossplane.io_firewallrules.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallrules.redis.azure.jet.crossplane.io +spec: + group: redis.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallRule + listKind: FirewallRuleList + plural: firewallrules + singular: firewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallRule is the Schema for the FirewallRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallRuleSpec defines the desired state of FirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endIp: + type: string + name: + type: string + redisCacheName: + type: string + resourceGroupName: + type: string + startIp: + type: string + required: + - endIp + - name + - redisCacheName + - resourceGroupName + - startIp + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallRuleStatus defines the observed state of FirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/redis.azure.jet.crossplane.io_linkedservers.yaml b/package/crds/redis.azure.jet.crossplane.io_linkedservers.yaml new file mode 100644 index 000000000..11841e107 --- /dev/null +++ b/package/crds/redis.azure.jet.crossplane.io_linkedservers.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: linkedservers.redis.azure.jet.crossplane.io +spec: + group: redis.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LinkedServer + listKind: LinkedServerList + plural: linkedservers + singular: linkedserver + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LinkedServer is the Schema for the LinkedServers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LinkedServerSpec defines the desired state of LinkedServer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + linkedRedisCacheId: + type: string + linkedRedisCacheLocation: + type: string + resourceGroupName: + type: string + serverRole: + type: string + targetRedisCacheName: + type: string + required: + - linkedRedisCacheId + - linkedRedisCacheLocation + - resourceGroupName + - serverRole + - targetRedisCacheName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LinkedServerStatus defines the observed state of LinkedServer. + properties: + atProvider: + properties: + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/relay.azure.jet.crossplane.io_hybridconnectionauthorizationrules.yaml b/package/crds/relay.azure.jet.crossplane.io_hybridconnectionauthorizationrules.yaml new file mode 100644 index 000000000..f898e5190 --- /dev/null +++ b/package/crds/relay.azure.jet.crossplane.io_hybridconnectionauthorizationrules.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hybridconnectionauthorizationrules.relay.azure.jet.crossplane.io +spec: + group: relay.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HybridConnectionAuthorizationRule + listKind: HybridConnectionAuthorizationRuleList + plural: hybridconnectionauthorizationrules + singular: hybridconnectionauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HybridConnectionAuthorizationRule is the Schema for the HybridConnectionAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HybridConnectionAuthorizationRuleSpec defines the desired + state of HybridConnectionAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + hybridConnectionName: + type: string + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - hybridConnectionName + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HybridConnectionAuthorizationRuleStatus defines the observed + state of HybridConnectionAuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/relay.azure.jet.crossplane.io_hybridconnections.yaml b/package/crds/relay.azure.jet.crossplane.io_hybridconnections.yaml new file mode 100644 index 000000000..0dd03818e --- /dev/null +++ b/package/crds/relay.azure.jet.crossplane.io_hybridconnections.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hybridconnections.relay.azure.jet.crossplane.io +spec: + group: relay.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HybridConnection + listKind: HybridConnectionList + plural: hybridconnections + singular: hybridconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HybridConnection is the Schema for the HybridConnections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HybridConnectionSpec defines the desired state of HybridConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + relayNamespaceName: + type: string + requiresClientAuthorization: + type: boolean + resourceGroupName: + type: string + userMetadata: + type: string + required: + - name + - relayNamespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HybridConnectionStatus defines the observed state of HybridConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/relay.azure.jet.crossplane.io_namespaceauthorizationrules.yaml b/package/crds/relay.azure.jet.crossplane.io_namespaceauthorizationrules.yaml new file mode 100644 index 000000000..701d37c7b --- /dev/null +++ b/package/crds/relay.azure.jet.crossplane.io_namespaceauthorizationrules.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespaceauthorizationrules.relay.azure.jet.crossplane.io +spec: + group: relay.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceAuthorizationRule + listKind: NamespaceAuthorizationRuleList + plural: namespaceauthorizationrules + singular: namespaceauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceAuthorizationRule is the Schema for the NamespaceAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceAuthorizationRuleSpec defines the desired state + of NamespaceAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceAuthorizationRuleStatus defines the observed state + of NamespaceAuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/relay.azure.jet.crossplane.io_namespaces.yaml b/package/crds/relay.azure.jet.crossplane.io_namespaces.yaml new file mode 100644 index 000000000..d720e82e0 --- /dev/null +++ b/package/crds/relay.azure.jet.crossplane.io_namespaces.yaml @@ -0,0 +1,181 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespaces.relay.azure.jet.crossplane.io +spec: + group: relay.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Namespace + listKind: NamespaceList + plural: namespaces + singular: namespace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Namespace is the Schema for the Namespaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceSpec defines the desired state of Namespace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceStatus defines the observed state of Namespace. + properties: + atProvider: + properties: + metricId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/resource.azure.jet.crossplane.io_policyassignments.yaml b/package/crds/resource.azure.jet.crossplane.io_policyassignments.yaml new file mode 100644 index 000000000..de7f0e317 --- /dev/null +++ b/package/crds/resource.azure.jet.crossplane.io_policyassignments.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: policyassignments.resource.azure.jet.crossplane.io +spec: + group: resource.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PolicyAssignment + listKind: PolicyAssignmentList + plural: policyassignments + singular: policyassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PolicyAssignment is the Schema for the PolicyAssignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PolicyAssignmentSpec defines the desired state of PolicyAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + displayName: + type: string + enforce: + type: boolean + identity: + items: + properties: + type: + type: string + type: object + type: array + location: + type: string + metadata: + type: string + name: + type: string + notScopes: + items: + type: string + type: array + parameters: + type: string + policyDefinitionId: + type: string + resourceId: + type: string + required: + - name + - policyDefinitionId + - resourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PolicyAssignmentStatus defines the observed state of PolicyAssignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/resource.azure.jet.crossplane.io_providerregistrations.yaml b/package/crds/resource.azure.jet.crossplane.io_providerregistrations.yaml new file mode 100644 index 000000000..b55260b36 --- /dev/null +++ b/package/crds/resource.azure.jet.crossplane.io_providerregistrations.yaml @@ -0,0 +1,167 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: providerregistrations.resource.azure.jet.crossplane.io +spec: + group: resource.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ProviderRegistration + listKind: ProviderRegistrationList + plural: providerregistrations + singular: providerregistration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ProviderRegistration is the Schema for the ProviderRegistrations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ProviderRegistrationSpec defines the desired state of ProviderRegistration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + required: + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ProviderRegistrationStatus defines the observed state of + ProviderRegistration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/role.azure.jet.crossplane.io_assignments.yaml b/package/crds/role.azure.jet.crossplane.io_assignments.yaml new file mode 100644 index 000000000..1f71f8585 --- /dev/null +++ b/package/crds/role.azure.jet.crossplane.io_assignments.yaml @@ -0,0 +1,187 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignments.role.azure.jet.crossplane.io +spec: + group: role.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Assignment + listKind: AssignmentList + plural: assignments + singular: assignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Assignment is the Schema for the Assignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignmentSpec defines the desired state of Assignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + condition: + type: string + conditionVersion: + type: string + delegatedManagedIdentityResourceId: + type: string + description: + type: string + name: + type: string + principalId: + type: string + roleDefinitionId: + type: string + roleDefinitionName: + type: string + scope: + type: string + skipServicePrincipalAadCheck: + type: boolean + required: + - principalId + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignmentStatus defines the observed state of Assignment. + properties: + atProvider: + properties: + principalType: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/role.azure.jet.crossplane.io_definitions.yaml b/package/crds/role.azure.jet.crossplane.io_definitions.yaml new file mode 100644 index 000000000..f2e8c9ece --- /dev/null +++ b/package/crds/role.azure.jet.crossplane.io_definitions.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: definitions.role.azure.jet.crossplane.io +spec: + group: role.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Definition + listKind: DefinitionList + plural: definitions + singular: definition + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Definition is the Schema for the Definitions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DefinitionSpec defines the desired state of Definition + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + assignableScopes: + items: + type: string + type: array + description: + type: string + name: + type: string + permissions: + items: + properties: + actions: + items: + type: string + type: array + dataActions: + items: + type: string + type: array + notActions: + items: + type: string + type: array + notDataActions: + items: + type: string + type: array + type: object + type: array + roleDefinitionId: + type: string + scope: + type: string + required: + - name + - scope + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DefinitionStatus defines the observed state of Definition. + properties: + atProvider: + properties: + roleDefinitionResourceId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/search.azure.jet.crossplane.io_services.yaml b/package/crds/search.azure.jet.crossplane.io_services.yaml new file mode 100644 index 000000000..8812faef0 --- /dev/null +++ b/package/crds/search.azure.jet.crossplane.io_services.yaml @@ -0,0 +1,213 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: services.search.azure.jet.crossplane.io +spec: + group: search.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Service + listKind: ServiceList + plural: services + singular: service + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Service is the Schema for the Services API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSpec defines the desired state of Service + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + allowedIps: + items: + type: string + type: array + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + partitionCount: + format: int64 + type: integer + publicNetworkAccessEnabled: + type: boolean + replicaCount: + format: int64 + type: integer + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceStatus defines the observed state of Service. + properties: + atProvider: + properties: + primaryKey: + type: string + queryKeys: + items: + properties: + key: + type: string + name: + type: string + type: object + type: array + secondaryKey: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centerassessmentmetadata.yaml b/package/crds/security.azure.jet.crossplane.io_centerassessmentmetadata.yaml new file mode 100644 index 000000000..667c0c1f7 --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centerassessmentmetadata.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centerassessmentmetadata.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterAssessmentMetadata + listKind: CenterAssessmentMetadataList + plural: centerassessmentmetadata + singular: centerassessmentmetadata + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterAssessmentMetadata is the Schema for the CenterAssessmentMetadatas + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterAssessmentMetadataSpec defines the desired state of + CenterAssessmentMetadata + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + categories: + items: + type: string + type: array + description: + type: string + displayName: + type: string + implementationEffort: + type: string + remediationDescription: + type: string + severity: + type: string + threats: + items: + type: string + type: array + userImpact: + type: string + required: + - description + - displayName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterAssessmentMetadataStatus defines the observed state + of CenterAssessmentMetadata. + properties: + atProvider: + properties: + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centerassessmentpolicies.yaml b/package/crds/security.azure.jet.crossplane.io_centerassessmentpolicies.yaml new file mode 100644 index 000000000..c1aa493a9 --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centerassessmentpolicies.yaml @@ -0,0 +1,189 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centerassessmentpolicies.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterAssessmentPolicy + listKind: CenterAssessmentPolicyList + plural: centerassessmentpolicies + singular: centerassessmentpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterAssessmentPolicy is the Schema for the CenterAssessmentPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterAssessmentPolicySpec defines the desired state of CenterAssessmentPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + categories: + items: + type: string + type: array + description: + type: string + displayName: + type: string + implementationEffort: + type: string + remediationDescription: + type: string + severity: + type: string + threats: + items: + type: string + type: array + userImpact: + type: string + required: + - description + - displayName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterAssessmentPolicyStatus defines the observed state of + CenterAssessmentPolicy. + properties: + atProvider: + properties: + name: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centerassessments.yaml b/package/crds/security.azure.jet.crossplane.io_centerassessments.yaml new file mode 100644 index 000000000..9e57b440f --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centerassessments.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centerassessments.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterAssessment + listKind: CenterAssessmentList + plural: centerassessments + singular: centerassessment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterAssessment is the Schema for the CenterAssessments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterAssessmentSpec defines the desired state of CenterAssessment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalData: + additionalProperties: + type: string + type: object + assessmentPolicyId: + type: string + status: + items: + properties: + cause: + type: string + code: + type: string + description: + type: string + required: + - code + type: object + type: array + targetResourceId: + type: string + required: + - assessmentPolicyId + - status + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterAssessmentStatus defines the observed state of CenterAssessment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centerautoprovisionings.yaml b/package/crds/security.azure.jet.crossplane.io_centerautoprovisionings.yaml new file mode 100644 index 000000000..f7c63463b --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centerautoprovisionings.yaml @@ -0,0 +1,167 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centerautoprovisionings.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterAutoProvisioning + listKind: CenterAutoProvisioningList + plural: centerautoprovisionings + singular: centerautoprovisioning + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterAutoProvisioning is the Schema for the CenterAutoProvisionings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterAutoProvisioningSpec defines the desired state of CenterAutoProvisioning + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoProvision: + type: string + required: + - autoProvision + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterAutoProvisioningStatus defines the observed state of + CenterAutoProvisioning. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centercontacts.yaml b/package/crds/security.azure.jet.crossplane.io_centercontacts.yaml new file mode 100644 index 000000000..3dc8071d2 --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centercontacts.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centercontacts.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterContact + listKind: CenterContactList + plural: centercontacts + singular: centercontact + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterContact is the Schema for the CenterContacts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterContactSpec defines the desired state of CenterContact + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alertNotifications: + type: boolean + alertsToAdmins: + type: boolean + email: + type: string + phone: + type: string + required: + - alertNotifications + - alertsToAdmins + - email + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterContactStatus defines the observed state of CenterContact. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centerservervulnerabilityassessments.yaml b/package/crds/security.azure.jet.crossplane.io_centerservervulnerabilityassessments.yaml new file mode 100644 index 000000000..89d167f86 --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centerservervulnerabilityassessments.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centerservervulnerabilityassessments.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterServerVulnerabilityAssessment + listKind: CenterServerVulnerabilityAssessmentList + plural: centerservervulnerabilityassessments + singular: centerservervulnerabilityassessment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterServerVulnerabilityAssessment is the Schema for the CenterServerVulnerabilityAssessments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterServerVulnerabilityAssessmentSpec defines the desired + state of CenterServerVulnerabilityAssessment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + hybridMachineId: + type: string + virtualMachineId: + type: string + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterServerVulnerabilityAssessmentStatus defines the observed + state of CenterServerVulnerabilityAssessment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centersettings.yaml b/package/crds/security.azure.jet.crossplane.io_centersettings.yaml new file mode 100644 index 000000000..aa2b9794c --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centersettings.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centersettings.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterSetting + listKind: CenterSettingList + plural: centersettings + singular: centersetting + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterSetting is the Schema for the CenterSettings API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterSettingSpec defines the desired state of CenterSetting + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + enabled: + type: boolean + settingName: + type: string + required: + - enabled + - settingName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterSettingStatus defines the observed state of CenterSetting. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centersubscriptionpricings.yaml b/package/crds/security.azure.jet.crossplane.io_centersubscriptionpricings.yaml new file mode 100644 index 000000000..eadd4a451 --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centersubscriptionpricings.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centersubscriptionpricings.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterSubscriptionPricing + listKind: CenterSubscriptionPricingList + plural: centersubscriptionpricings + singular: centersubscriptionpricing + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterSubscriptionPricing is the Schema for the CenterSubscriptionPricings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterSubscriptionPricingSpec defines the desired state of + CenterSubscriptionPricing + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + resourceType: + type: string + tier: + type: string + required: + - tier + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterSubscriptionPricingStatus defines the observed state + of CenterSubscriptionPricing. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/security.azure.jet.crossplane.io_centerworkspaces.yaml b/package/crds/security.azure.jet.crossplane.io_centerworkspaces.yaml new file mode 100644 index 000000000..70fcab5e2 --- /dev/null +++ b/package/crds/security.azure.jet.crossplane.io_centerworkspaces.yaml @@ -0,0 +1,168 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: centerworkspaces.security.azure.jet.crossplane.io +spec: + group: security.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CenterWorkspace + listKind: CenterWorkspaceList + plural: centerworkspaces + singular: centerworkspace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CenterWorkspace is the Schema for the CenterWorkspaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CenterWorkspaceSpec defines the desired state of CenterWorkspace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + scope: + type: string + workspaceId: + type: string + required: + - scope + - workspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CenterWorkspaceStatus defines the observed state of CenterWorkspace. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_alertrulefusions.yaml b/package/crds/sentinel.azure.jet.crossplane.io_alertrulefusions.yaml new file mode 100644 index 000000000..cfc11f26e --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_alertrulefusions.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: alertrulefusions.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AlertRuleFusion + listKind: AlertRuleFusionList + plural: alertrulefusions + singular: alertrulefusion + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AlertRuleFusion is the Schema for the AlertRuleFusions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AlertRuleFusionSpec defines the desired state of AlertRuleFusion + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alertRuleTemplateGuid: + type: string + enabled: + type: boolean + logAnalyticsWorkspaceId: + type: string + name: + type: string + required: + - alertRuleTemplateGuid + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AlertRuleFusionStatus defines the observed state of AlertRuleFusion. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_alertrulemachinelearningbehavioranalytics.yaml b/package/crds/sentinel.azure.jet.crossplane.io_alertrulemachinelearningbehavioranalytics.yaml new file mode 100644 index 000000000..1b72ff883 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_alertrulemachinelearningbehavioranalytics.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: alertrulemachinelearningbehavioranalytics.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AlertRuleMachineLearningBehaviorAnalytics + listKind: AlertRuleMachineLearningBehaviorAnalyticsList + plural: alertrulemachinelearningbehavioranalytics + singular: alertrulemachinelearningbehavioranalytics + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AlertRuleMachineLearningBehaviorAnalytics is the Schema for the + AlertRuleMachineLearningBehaviorAnalyticss API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AlertRuleMachineLearningBehaviorAnalyticsSpec defines the + desired state of AlertRuleMachineLearningBehaviorAnalytics + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alertRuleTemplateGuid: + type: string + enabled: + type: boolean + logAnalyticsWorkspaceId: + type: string + name: + type: string + required: + - alertRuleTemplateGuid + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AlertRuleMachineLearningBehaviorAnalyticsStatus defines the + observed state of AlertRuleMachineLearningBehaviorAnalytics. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_alertrulemssecurityincidents.yaml b/package/crds/sentinel.azure.jet.crossplane.io_alertrulemssecurityincidents.yaml new file mode 100644 index 000000000..066607d59 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_alertrulemssecurityincidents.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: alertrulemssecurityincidents.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AlertRuleMsSecurityIncident + listKind: AlertRuleMsSecurityIncidentList + plural: alertrulemssecurityincidents + singular: alertrulemssecurityincident + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AlertRuleMsSecurityIncident is the Schema for the AlertRuleMsSecurityIncidents + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AlertRuleMsSecurityIncidentSpec defines the desired state + of AlertRuleMsSecurityIncident + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alertRuleTemplateGuid: + type: string + description: + type: string + displayName: + type: string + displayNameExcludeFilter: + items: + type: string + type: array + displayNameFilter: + items: + type: string + type: array + enabled: + type: boolean + logAnalyticsWorkspaceId: + type: string + name: + type: string + productFilter: + type: string + severityFilter: + items: + type: string + type: array + textWhitelist: + items: + type: string + type: array + required: + - displayName + - logAnalyticsWorkspaceId + - name + - productFilter + - severityFilter + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AlertRuleMsSecurityIncidentStatus defines the observed state + of AlertRuleMsSecurityIncident. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_alertrulescheduleds.yaml b/package/crds/sentinel.azure.jet.crossplane.io_alertrulescheduleds.yaml new file mode 100644 index 000000000..b924a0943 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_alertrulescheduleds.yaml @@ -0,0 +1,237 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: alertrulescheduleds.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AlertRuleScheduled + listKind: AlertRuleScheduledList + plural: alertrulescheduleds + singular: alertrulescheduled + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AlertRuleScheduled is the Schema for the AlertRuleScheduleds + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AlertRuleScheduledSpec defines the desired state of AlertRuleScheduled + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alertRuleTemplateGuid: + type: string + description: + type: string + displayName: + type: string + enabled: + type: boolean + eventGrouping: + items: + properties: + aggregationMethod: + type: string + required: + - aggregationMethod + type: object + type: array + incidentConfiguration: + items: + properties: + createIncident: + type: boolean + grouping: + items: + properties: + enabled: + type: boolean + entityMatchingMethod: + type: string + groupBy: + items: + type: string + type: array + lookbackDuration: + type: string + reopenClosedIncidents: + type: boolean + type: object + type: array + required: + - createIncident + - grouping + type: object + type: array + logAnalyticsWorkspaceId: + type: string + name: + type: string + query: + type: string + queryFrequency: + type: string + queryPeriod: + type: string + severity: + type: string + suppressionDuration: + type: string + suppressionEnabled: + type: boolean + tactics: + items: + type: string + type: array + triggerOperator: + type: string + triggerThreshold: + format: int64 + type: integer + required: + - displayName + - logAnalyticsWorkspaceId + - name + - query + - severity + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AlertRuleScheduledStatus defines the observed state of AlertRuleScheduled. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorawscloudtrails.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorawscloudtrails.yaml new file mode 100644 index 000000000..73f92c2b1 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorawscloudtrails.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectorawscloudtrails.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorAwsCloudTrail + listKind: DataConnectorAwsCloudTrailList + plural: dataconnectorawscloudtrails + singular: dataconnectorawscloudtrail + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorAwsCloudTrail is the Schema for the DataConnectorAwsCloudTrails + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorAwsCloudTrailSpec defines the desired state + of DataConnectorAwsCloudTrail + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + awsRoleArn: + type: string + logAnalyticsWorkspaceId: + type: string + name: + type: string + required: + - awsRoleArn + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorAwsCloudTrailStatus defines the observed state + of DataConnectorAwsCloudTrail. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazureactivedirectories.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazureactivedirectories.yaml new file mode 100644 index 000000000..3d98345b2 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazureactivedirectories.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectorazureactivedirectories.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorAzureActiveDirectory + listKind: DataConnectorAzureActiveDirectoryList + plural: dataconnectorazureactivedirectories + singular: dataconnectorazureactivedirectory + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorAzureActiveDirectory is the Schema for the DataConnectorAzureActiveDirectorys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorAzureActiveDirectorySpec defines the desired + state of DataConnectorAzureActiveDirectory + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logAnalyticsWorkspaceId: + type: string + name: + type: string + tenantId: + type: string + required: + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorAzureActiveDirectoryStatus defines the observed + state of DataConnectorAzureActiveDirectory. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazureadvancedthreatprotections.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazureadvancedthreatprotections.yaml new file mode 100644 index 000000000..913b39f48 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazureadvancedthreatprotections.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectorazureadvancedthreatprotections.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorAzureAdvancedThreatProtection + listKind: DataConnectorAzureAdvancedThreatProtectionList + plural: dataconnectorazureadvancedthreatprotections + singular: dataconnectorazureadvancedthreatprotection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorAzureAdvancedThreatProtection is the Schema for + the DataConnectorAzureAdvancedThreatProtections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorAzureAdvancedThreatProtectionSpec defines the + desired state of DataConnectorAzureAdvancedThreatProtection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logAnalyticsWorkspaceId: + type: string + name: + type: string + tenantId: + type: string + required: + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorAzureAdvancedThreatProtectionStatus defines + the observed state of DataConnectorAzureAdvancedThreatProtection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazuresecuritycenters.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazuresecuritycenters.yaml new file mode 100644 index 000000000..efede9c96 --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorazuresecuritycenters.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectorazuresecuritycenters.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorAzureSecurityCenter + listKind: DataConnectorAzureSecurityCenterList + plural: dataconnectorazuresecuritycenters + singular: dataconnectorazuresecuritycenter + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorAzureSecurityCenter is the Schema for the DataConnectorAzureSecurityCenters + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorAzureSecurityCenterSpec defines the desired + state of DataConnectorAzureSecurityCenter + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logAnalyticsWorkspaceId: + type: string + name: + type: string + subscriptionId: + type: string + required: + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorAzureSecurityCenterStatus defines the observed + state of DataConnectorAzureSecurityCenter. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectormicrosoftcloudappsecurities.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectormicrosoftcloudappsecurities.yaml new file mode 100644 index 000000000..b62befa1d --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectormicrosoftcloudappsecurities.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectormicrosoftcloudappsecurities.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorMicrosoftCloudAppSecurity + listKind: DataConnectorMicrosoftCloudAppSecurityList + plural: dataconnectormicrosoftcloudappsecurities + singular: dataconnectormicrosoftcloudappsecurity + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorMicrosoftCloudAppSecurity is the Schema for the + DataConnectorMicrosoftCloudAppSecuritys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorMicrosoftCloudAppSecuritySpec defines the desired + state of DataConnectorMicrosoftCloudAppSecurity + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + alertsEnabled: + type: boolean + discoveryLogsEnabled: + type: boolean + logAnalyticsWorkspaceId: + type: string + name: + type: string + tenantId: + type: string + required: + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorMicrosoftCloudAppSecurityStatus defines the + observed state of DataConnectorMicrosoftCloudAppSecurity. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectoroffice365s.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectoroffice365s.yaml new file mode 100644 index 000000000..e0a53438e --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectoroffice365s.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectoroffice365s.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorOffice365 + listKind: DataConnectorOffice365List + plural: dataconnectoroffice365s + singular: dataconnectoroffice365 + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorOffice365 is the Schema for the DataConnectorOffice365s + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorOffice365Spec defines the desired state of DataConnectorOffice365 + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + exchangeEnabled: + type: boolean + logAnalyticsWorkspaceId: + type: string + name: + type: string + sharepointEnabled: + type: boolean + teamsEnabled: + type: boolean + tenantId: + type: string + required: + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorOffice365Status defines the observed state of + DataConnectorOffice365. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorthreatintelligences.yaml b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorthreatintelligences.yaml new file mode 100644 index 000000000..7ed82e0cc --- /dev/null +++ b/package/crds/sentinel.azure.jet.crossplane.io_dataconnectorthreatintelligences.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: dataconnectorthreatintelligences.sentinel.azure.jet.crossplane.io +spec: + group: sentinel.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataConnectorThreatIntelligence + listKind: DataConnectorThreatIntelligenceList + plural: dataconnectorthreatintelligences + singular: dataconnectorthreatintelligence + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataConnectorThreatIntelligence is the Schema for the DataConnectorThreatIntelligences + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataConnectorThreatIntelligenceSpec defines the desired state + of DataConnectorThreatIntelligence + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logAnalyticsWorkspaceId: + type: string + name: + type: string + tenantId: + type: string + required: + - logAnalyticsWorkspaceId + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataConnectorThreatIntelligenceStatus defines the observed + state of DataConnectorThreatIntelligence. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/service.azure.jet.crossplane.io_fabricclusters.yaml b/package/crds/service.azure.jet.crossplane.io_fabricclusters.yaml new file mode 100644 index 000000000..c026de685 --- /dev/null +++ b/package/crds/service.azure.jet.crossplane.io_fabricclusters.yaml @@ -0,0 +1,451 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: fabricclusters.service.azure.jet.crossplane.io +spec: + group: service.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FabricCluster + listKind: FabricClusterList + plural: fabricclusters + singular: fabriccluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FabricCluster is the Schema for the FabricClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FabricClusterSpec defines the desired state of FabricCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + addOnFeatures: + items: + type: string + type: array + azureActiveDirectory: + items: + properties: + clientApplicationId: + type: string + clusterApplicationId: + type: string + tenantId: + type: string + required: + - clientApplicationId + - clusterApplicationId + - tenantId + type: object + type: array + certificate: + items: + properties: + thumbprint: + type: string + thumbprintSecondary: + type: string + x509StoreName: + type: string + required: + - thumbprint + - x509StoreName + type: object + type: array + certificateCommonNames: + items: + properties: + commonNames: + items: + properties: + certificateCommonName: + type: string + certificateIssuerThumbprint: + type: string + required: + - certificateCommonName + type: object + type: array + x509StoreName: + type: string + required: + - commonNames + - x509StoreName + type: object + type: array + clientCertificateCommonName: + items: + properties: + commonName: + type: string + isAdmin: + type: boolean + issuerThumbprint: + type: string + required: + - commonName + - isAdmin + type: object + type: array + clientCertificateThumbprint: + items: + properties: + isAdmin: + type: boolean + thumbprint: + type: string + required: + - isAdmin + - thumbprint + type: object + type: array + clusterCodeVersion: + type: string + diagnosticsConfig: + items: + properties: + blobEndpoint: + type: string + protectedAccountKeyName: + type: string + queueEndpoint: + type: string + storageAccountName: + type: string + tableEndpoint: + type: string + required: + - blobEndpoint + - protectedAccountKeyName + - queueEndpoint + - storageAccountName + - tableEndpoint + type: object + type: array + fabricSettings: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + location: + type: string + managementEndpoint: + type: string + name: + type: string + nodeType: + items: + properties: + applicationPorts: + items: + properties: + endPort: + format: int64 + type: integer + startPort: + format: int64 + type: integer + required: + - endPort + - startPort + type: object + type: array + capacities: + additionalProperties: + type: string + type: object + clientEndpointPort: + format: int64 + type: integer + durabilityLevel: + type: string + ephemeralPorts: + items: + properties: + endPort: + format: int64 + type: integer + startPort: + format: int64 + type: integer + required: + - endPort + - startPort + type: object + type: array + httpEndpointPort: + format: int64 + type: integer + instanceCount: + format: int64 + type: integer + isPrimary: + type: boolean + name: + type: string + placementProperties: + additionalProperties: + type: string + type: object + reverseProxyEndpointPort: + format: int64 + type: integer + required: + - clientEndpointPort + - httpEndpointPort + - instanceCount + - isPrimary + - name + type: object + type: array + reliabilityLevel: + type: string + resourceGroupName: + type: string + reverseProxyCertificate: + items: + properties: + thumbprint: + type: string + thumbprintSecondary: + type: string + x509StoreName: + type: string + required: + - thumbprint + - x509StoreName + type: object + type: array + reverseProxyCertificateCommonNames: + items: + properties: + commonNames: + items: + properties: + certificateCommonName: + type: string + certificateIssuerThumbprint: + type: string + required: + - certificateCommonName + type: object + type: array + x509StoreName: + type: string + required: + - commonNames + - x509StoreName + type: object + type: array + tags: + additionalProperties: + type: string + type: object + upgradeMode: + type: string + upgradePolicy: + items: + properties: + deltaHealthPolicy: + items: + properties: + maxDeltaUnhealthyApplicationsPercent: + format: int64 + type: integer + maxDeltaUnhealthyNodesPercent: + format: int64 + type: integer + maxUpgradeDomainDeltaUnhealthyNodesPercent: + format: int64 + type: integer + type: object + type: array + forceRestartEnabled: + type: boolean + healthCheckRetryTimeout: + type: string + healthCheckStableDuration: + type: string + healthCheckWaitDuration: + type: string + healthPolicy: + items: + properties: + maxUnhealthyApplicationsPercent: + format: int64 + type: integer + maxUnhealthyNodesPercent: + format: int64 + type: integer + type: object + type: array + upgradeDomainTimeout: + type: string + upgradeReplicaSetCheckTimeout: + type: string + upgradeTimeout: + type: string + type: object + type: array + vmImage: + type: string + required: + - location + - managementEndpoint + - name + - nodeType + - reliabilityLevel + - resourceGroupName + - upgradeMode + - vmImage + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FabricClusterStatus defines the observed state of FabricCluster. + properties: + atProvider: + properties: + clusterEndpoint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/service.azure.jet.crossplane.io_fabricmeshapplications.yaml b/package/crds/service.azure.jet.crossplane.io_fabricmeshapplications.yaml new file mode 100644 index 000000000..ef31db8e8 --- /dev/null +++ b/package/crds/service.azure.jet.crossplane.io_fabricmeshapplications.yaml @@ -0,0 +1,235 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: fabricmeshapplications.service.azure.jet.crossplane.io +spec: + group: service.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FabricMeshApplication + listKind: FabricMeshApplicationList + plural: fabricmeshapplications + singular: fabricmeshapplication + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FabricMeshApplication is the Schema for the FabricMeshApplications + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FabricMeshApplicationSpec defines the desired state of FabricMeshApplication + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + service: + items: + properties: + codePackage: + items: + properties: + imageName: + type: string + name: + type: string + resources: + items: + properties: + limits: + items: + properties: + cpu: + type: number + memory: + type: number + required: + - cpu + - memory + type: object + type: array + requests: + items: + properties: + cpu: + type: number + memory: + type: number + required: + - cpu + - memory + type: object + type: array + required: + - requests + type: object + type: array + required: + - imageName + - name + - resources + type: object + type: array + name: + type: string + osType: + type: string + required: + - codePackage + - name + - osType + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - service + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FabricMeshApplicationStatus defines the observed state of + FabricMeshApplication. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/service.azure.jet.crossplane.io_fabricmeshlocalnetworks.yaml b/package/crds/service.azure.jet.crossplane.io_fabricmeshlocalnetworks.yaml new file mode 100644 index 000000000..d193e2883 --- /dev/null +++ b/package/crds/service.azure.jet.crossplane.io_fabricmeshlocalnetworks.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: fabricmeshlocalnetworks.service.azure.jet.crossplane.io +spec: + group: service.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FabricMeshLocalNetwork + listKind: FabricMeshLocalNetworkList + plural: fabricmeshlocalnetworks + singular: fabricmeshlocalnetwork + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FabricMeshLocalNetwork is the Schema for the FabricMeshLocalNetworks + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FabricMeshLocalNetworkSpec defines the desired state of FabricMeshLocalNetwork + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + location: + type: string + name: + type: string + networkAddressPrefix: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - networkAddressPrefix + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FabricMeshLocalNetworkStatus defines the observed state of + FabricMeshLocalNetwork. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/service.azure.jet.crossplane.io_fabricmeshsecrets.yaml b/package/crds/service.azure.jet.crossplane.io_fabricmeshsecrets.yaml new file mode 100644 index 000000000..277dd6110 --- /dev/null +++ b/package/crds/service.azure.jet.crossplane.io_fabricmeshsecrets.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: fabricmeshsecrets.service.azure.jet.crossplane.io +spec: + group: service.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FabricMeshSecret + listKind: FabricMeshSecretList + plural: fabricmeshsecrets + singular: fabricmeshsecret + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FabricMeshSecret is the Schema for the FabricMeshSecrets API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FabricMeshSecretSpec defines the desired state of FabricMeshSecret + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + contentType: + type: string + description: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FabricMeshSecretStatus defines the observed state of FabricMeshSecret. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/service.azure.jet.crossplane.io_fabricmeshsecretvalues.yaml b/package/crds/service.azure.jet.crossplane.io_fabricmeshsecretvalues.yaml new file mode 100644 index 000000000..b81d5c4e1 --- /dev/null +++ b/package/crds/service.azure.jet.crossplane.io_fabricmeshsecretvalues.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: fabricmeshsecretvalues.service.azure.jet.crossplane.io +spec: + group: service.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FabricMeshSecretValue + listKind: FabricMeshSecretValueList + plural: fabricmeshsecretvalues + singular: fabricmeshsecretvalue + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FabricMeshSecretValue is the Schema for the FabricMeshSecretValues + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FabricMeshSecretValueSpec defines the desired state of FabricMeshSecretValue + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + serviceFabricMeshSecretId: + type: string + tags: + additionalProperties: + type: string + type: object + value: + type: string + required: + - location + - name + - serviceFabricMeshSecretId + - value + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FabricMeshSecretValueStatus defines the observed state of + FabricMeshSecretValue. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_namespaceauthorizationrules.yaml b/package/crds/servicebus.azure.jet.crossplane.io_namespaceauthorizationrules.yaml new file mode 100644 index 000000000..864a291a5 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_namespaceauthorizationrules.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespaceauthorizationrules.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceAuthorizationRule + listKind: NamespaceAuthorizationRuleList + plural: namespaceauthorizationrules + singular: namespaceauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceAuthorizationRule is the Schema for the NamespaceAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceAuthorizationRuleSpec defines the desired state + of NamespaceAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceAuthorizationRuleStatus defines the observed state + of NamespaceAuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_namespacedisasterrecoveryconfigs.yaml b/package/crds/servicebus.azure.jet.crossplane.io_namespacedisasterrecoveryconfigs.yaml new file mode 100644 index 000000000..93218ade0 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_namespacedisasterrecoveryconfigs.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespacedisasterrecoveryconfigs.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceDisasterRecoveryConfig + listKind: NamespaceDisasterRecoveryConfigList + plural: namespacedisasterrecoveryconfigs + singular: namespacedisasterrecoveryconfig + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceDisasterRecoveryConfig is the Schema for the NamespaceDisasterRecoveryConfigs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceDisasterRecoveryConfigSpec defines the desired state + of NamespaceDisasterRecoveryConfig + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + partnerNamespaceId: + type: string + primaryNamespaceId: + type: string + required: + - name + - partnerNamespaceId + - primaryNamespaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceDisasterRecoveryConfigStatus defines the observed + state of NamespaceDisasterRecoveryConfig. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_namespacenetworkrulesets.yaml b/package/crds/servicebus.azure.jet.crossplane.io_namespacenetworkrulesets.yaml new file mode 100644 index 000000000..d5f5e2fb4 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_namespacenetworkrulesets.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespacenetworkrulesets.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: NamespaceNetworkRuleSet + listKind: NamespaceNetworkRuleSetList + plural: namespacenetworkrulesets + singular: namespacenetworkruleset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: NamespaceNetworkRuleSet is the Schema for the NamespaceNetworkRuleSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceNetworkRuleSetSpec defines the desired state of + NamespaceNetworkRuleSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + defaultAction: + type: string + ipRules: + items: + type: string + type: array + namespaceName: + type: string + networkRules: + items: + properties: + ignoreMissingVnetServiceEndpoint: + type: boolean + subnetId: + type: string + required: + - subnetId + type: object + type: array + resourceGroupName: + type: string + required: + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceNetworkRuleSetStatus defines the observed state + of NamespaceNetworkRuleSet. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_namespaces.yaml b/package/crds/servicebus.azure.jet.crossplane.io_namespaces.yaml new file mode 100644 index 000000000..d69262f71 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_namespaces.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: namespaces.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Namespace + listKind: NamespaceList + plural: namespaces + singular: namespace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Namespace is the Schema for the Namespaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: NamespaceSpec defines the desired state of Namespace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + capacity: + format: int64 + type: integer + location: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + type: string + tags: + additionalProperties: + type: string + type: object + zoneRedundant: + type: boolean + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: NamespaceStatus defines the observed state of Namespace. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_queueauthorizationrules.yaml b/package/crds/servicebus.azure.jet.crossplane.io_queueauthorizationrules.yaml new file mode 100644 index 000000000..f6af0eb59 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_queueauthorizationrules.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: queueauthorizationrules.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: QueueAuthorizationRule + listKind: QueueAuthorizationRuleList + plural: queueauthorizationrules + singular: queueauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: QueueAuthorizationRule is the Schema for the QueueAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: QueueAuthorizationRuleSpec defines the desired state of QueueAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + queueName: + type: string + resourceGroupName: + type: string + send: + type: boolean + required: + - name + - namespaceName + - queueName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: QueueAuthorizationRuleStatus defines the observed state of + QueueAuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_queues.yaml b/package/crds/servicebus.azure.jet.crossplane.io_queues.yaml new file mode 100644 index 000000000..f5ef07118 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_queues.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: queues.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Queue + listKind: QueueList + plural: queues + singular: queue + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Queue is the Schema for the Queues API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: QueueSpec defines the desired state of Queue + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoDeleteOnIdle: + type: string + deadLetteringOnMessageExpiration: + type: boolean + defaultMessageTtl: + type: string + duplicateDetectionHistoryTimeWindow: + type: string + enableBatchedOperations: + type: boolean + enableExpress: + type: boolean + enablePartitioning: + type: boolean + forwardDeadLetteredMessagesTo: + type: string + forwardTo: + type: string + lockDuration: + type: string + maxDeliveryCount: + format: int64 + type: integer + maxSizeInMegabytes: + format: int64 + type: integer + name: + type: string + namespaceName: + type: string + requiresDuplicateDetection: + type: boolean + requiresSession: + type: boolean + resourceGroupName: + type: string + status: + type: string + required: + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: QueueStatus defines the observed state of Queue. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_subscriptionrules.yaml b/package/crds/servicebus.azure.jet.crossplane.io_subscriptionrules.yaml new file mode 100644 index 000000000..bd1ef237a --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_subscriptionrules.yaml @@ -0,0 +1,209 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: subscriptionrules.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SubscriptionRule + listKind: SubscriptionRuleList + plural: subscriptionrules + singular: subscriptionrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SubscriptionRule is the Schema for the SubscriptionRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SubscriptionRuleSpec defines the desired state of SubscriptionRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + action: + type: string + correlationFilter: + items: + properties: + contentType: + type: string + correlationId: + type: string + label: + type: string + messageId: + type: string + properties: + additionalProperties: + type: string + type: object + replyTo: + type: string + replyToSessionId: + type: string + sessionId: + type: string + to: + type: string + type: object + type: array + filterType: + type: string + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + sqlFilter: + type: string + subscriptionName: + type: string + topicName: + type: string + required: + - filterType + - name + - namespaceName + - resourceGroupName + - subscriptionName + - topicName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SubscriptionRuleStatus defines the observed state of SubscriptionRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_subscriptions.yaml b/package/crds/servicebus.azure.jet.crossplane.io_subscriptions.yaml new file mode 100644 index 000000000..3e72a59e4 --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_subscriptions.yaml @@ -0,0 +1,198 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: subscriptions.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Subscription + listKind: SubscriptionList + plural: subscriptions + singular: subscription + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Subscription is the Schema for the Subscriptions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SubscriptionSpec defines the desired state of Subscription + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoDeleteOnIdle: + type: string + deadLetteringOnFilterEvaluationError: + type: boolean + deadLetteringOnMessageExpiration: + type: boolean + defaultMessageTtl: + type: string + enableBatchedOperations: + type: boolean + forwardDeadLetteredMessagesTo: + type: string + forwardTo: + type: string + lockDuration: + type: string + maxDeliveryCount: + format: int64 + type: integer + name: + type: string + namespaceName: + type: string + requiresSession: + type: boolean + resourceGroupName: + type: string + status: + type: string + topicName: + type: string + required: + - maxDeliveryCount + - name + - namespaceName + - resourceGroupName + - topicName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SubscriptionStatus defines the observed state of Subscription. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_topicauthorizationrules.yaml b/package/crds/servicebus.azure.jet.crossplane.io_topicauthorizationrules.yaml new file mode 100644 index 000000000..707b6423c --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_topicauthorizationrules.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: topicauthorizationrules.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TopicAuthorizationRule + listKind: TopicAuthorizationRuleList + plural: topicauthorizationrules + singular: topicauthorizationrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TopicAuthorizationRule is the Schema for the TopicAuthorizationRules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TopicAuthorizationRuleSpec defines the desired state of TopicAuthorizationRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + listen: + type: boolean + manage: + type: boolean + name: + type: string + namespaceName: + type: string + resourceGroupName: + type: string + send: + type: boolean + topicName: + type: string + required: + - name + - namespaceName + - resourceGroupName + - topicName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TopicAuthorizationRuleStatus defines the observed state of + TopicAuthorizationRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/servicebus.azure.jet.crossplane.io_topics.yaml b/package/crds/servicebus.azure.jet.crossplane.io_topics.yaml new file mode 100644 index 000000000..43791fadb --- /dev/null +++ b/package/crds/servicebus.azure.jet.crossplane.io_topics.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: topics.servicebus.azure.jet.crossplane.io +spec: + group: servicebus.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Topic + listKind: TopicList + plural: topics + singular: topic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Topic is the Schema for the Topics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TopicSpec defines the desired state of Topic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoDeleteOnIdle: + type: string + defaultMessageTtl: + type: string + duplicateDetectionHistoryTimeWindow: + type: string + enableBatchedOperations: + type: boolean + enableExpress: + type: boolean + enablePartitioning: + type: boolean + maxSizeInMegabytes: + format: int64 + type: integer + name: + type: string + namespaceName: + type: string + requiresDuplicateDetection: + type: boolean + resourceGroupName: + type: string + status: + type: string + supportOrdering: + type: boolean + required: + - name + - namespaceName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TopicStatus defines the observed state of Topic. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/shared.azure.jet.crossplane.io_imagegalleries.yaml b/package/crds/shared.azure.jet.crossplane.io_imagegalleries.yaml new file mode 100644 index 000000000..09fbfd1bf --- /dev/null +++ b/package/crds/shared.azure.jet.crossplane.io_imagegalleries.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: imagegalleries.shared.azure.jet.crossplane.io +spec: + group: shared.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ImageGallery + listKind: ImageGalleryList + plural: imagegalleries + singular: imagegallery + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ImageGallery is the Schema for the ImageGallerys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ImageGallerySpec defines the desired state of ImageGallery + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ImageGalleryStatus defines the observed state of ImageGallery. + properties: + atProvider: + properties: + uniqueName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/shared.azure.jet.crossplane.io_images.yaml b/package/crds/shared.azure.jet.crossplane.io_images.yaml new file mode 100644 index 000000000..ed72d64ce --- /dev/null +++ b/package/crds/shared.azure.jet.crossplane.io_images.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: images.shared.azure.jet.crossplane.io +spec: + group: shared.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Image + listKind: ImageList + plural: images + singular: image + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Image is the Schema for the Images API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ImageSpec defines the desired state of Image + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + eula: + type: string + galleryName: + type: string + hyperVGeneration: + type: string + identifier: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + required: + - offer + - publisher + - sku + type: object + type: array + location: + type: string + name: + type: string + osType: + type: string + privacyStatementUri: + type: string + purchasePlan: + items: + properties: + name: + type: string + product: + type: string + publisher: + type: string + required: + - name + type: object + type: array + releaseNoteUri: + type: string + resourceGroupName: + type: string + specialized: + type: boolean + tags: + additionalProperties: + type: string + type: object + required: + - galleryName + - identifier + - location + - name + - osType + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ImageStatus defines the observed state of Image. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/shared.azure.jet.crossplane.io_imageversions.yaml b/package/crds/shared.azure.jet.crossplane.io_imageversions.yaml new file mode 100644 index 000000000..61668c99b --- /dev/null +++ b/package/crds/shared.azure.jet.crossplane.io_imageversions.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: imageversions.shared.azure.jet.crossplane.io +spec: + group: shared.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ImageVersion + listKind: ImageVersionList + plural: imageversions + singular: imageversion + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ImageVersion is the Schema for the ImageVersions API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ImageVersionSpec defines the desired state of ImageVersion + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + excludeFromLatest: + type: boolean + galleryName: + type: string + imageName: + type: string + location: + type: string + managedImageId: + type: string + name: + type: string + osDiskSnapshotId: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + targetRegion: + items: + properties: + name: + type: string + regionalReplicaCount: + format: int64 + type: integer + storageAccountType: + type: string + required: + - name + - regionalReplicaCount + type: object + type: array + required: + - galleryName + - imageName + - location + - name + - resourceGroupName + - targetRegion + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ImageVersionStatus defines the observed state of ImageVersion. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/signalr.azure.jet.crossplane.io_servicenetworkacls.yaml b/package/crds/signalr.azure.jet.crossplane.io_servicenetworkacls.yaml new file mode 100644 index 000000000..b2e48bfd0 --- /dev/null +++ b/package/crds/signalr.azure.jet.crossplane.io_servicenetworkacls.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: servicenetworkacls.signalr.azure.jet.crossplane.io +spec: + group: signalr.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServiceNetworkAcl + listKind: ServiceNetworkAclList + plural: servicenetworkacls + singular: servicenetworkacl + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServiceNetworkAcl is the Schema for the ServiceNetworkAcls API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceNetworkAclSpec defines the desired state of ServiceNetworkAcl + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + defaultAction: + type: string + privateEndpoint: + items: + properties: + allowedRequestTypes: + items: + type: string + type: array + deniedRequestTypes: + items: + type: string + type: array + id: + type: string + required: + - id + type: object + type: array + publicNetwork: + items: + properties: + allowedRequestTypes: + items: + type: string + type: array + deniedRequestTypes: + items: + type: string + type: array + type: object + type: array + signalrServiceId: + type: string + required: + - defaultAction + - publicNetwork + - signalrServiceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceNetworkAclStatus defines the observed state of ServiceNetworkAcl. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/signalr.azure.jet.crossplane.io_services.yaml b/package/crds/signalr.azure.jet.crossplane.io_services.yaml new file mode 100644 index 000000000..c652ad07a --- /dev/null +++ b/package/crds/signalr.azure.jet.crossplane.io_services.yaml @@ -0,0 +1,247 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: services.signalr.azure.jet.crossplane.io +spec: + group: signalr.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Service + listKind: ServiceList + plural: services + singular: service + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Service is the Schema for the Services API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServiceSpec defines the desired state of Service + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cors: + items: + properties: + allowedOrigins: + items: + type: string + type: array + required: + - allowedOrigins + type: object + type: array + features: + items: + properties: + flag: + type: string + value: + type: string + required: + - flag + - value + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + sku: + items: + properties: + capacity: + format: int64 + type: integer + name: + type: string + required: + - capacity + - name + type: object + type: array + tags: + additionalProperties: + type: string + type: object + upstreamEndpoint: + items: + properties: + categoryPattern: + items: + type: string + type: array + eventPattern: + items: + type: string + type: array + hubPattern: + items: + type: string + type: array + urlTemplate: + type: string + required: + - categoryPattern + - eventPattern + - hubPattern + - urlTemplate + type: object + type: array + required: + - location + - name + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServiceStatus defines the observed state of Service. + properties: + atProvider: + properties: + hostname: + type: string + ipAddress: + type: string + publicPort: + format: int64 + type: integer + serverPort: + format: int64 + type: integer + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/site.azure.jet.crossplane.io_recoveryfabrics.yaml b/package/crds/site.azure.jet.crossplane.io_recoveryfabrics.yaml new file mode 100644 index 000000000..03f6fb230 --- /dev/null +++ b/package/crds/site.azure.jet.crossplane.io_recoveryfabrics.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: recoveryfabrics.site.azure.jet.crossplane.io +spec: + group: site.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RecoveryFabric + listKind: RecoveryFabricList + plural: recoveryfabrics + singular: recoveryfabric + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RecoveryFabric is the Schema for the RecoveryFabrics API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RecoveryFabricSpec defines the desired state of RecoveryFabric + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + required: + - location + - name + - recoveryVaultName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RecoveryFabricStatus defines the observed state of RecoveryFabric. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/site.azure.jet.crossplane.io_recoverynetworkmappings.yaml b/package/crds/site.azure.jet.crossplane.io_recoverynetworkmappings.yaml new file mode 100644 index 000000000..f04b70720 --- /dev/null +++ b/package/crds/site.azure.jet.crossplane.io_recoverynetworkmappings.yaml @@ -0,0 +1,185 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: recoverynetworkmappings.site.azure.jet.crossplane.io +spec: + group: site.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RecoveryNetworkMapping + listKind: RecoveryNetworkMappingList + plural: recoverynetworkmappings + singular: recoverynetworkmapping + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RecoveryNetworkMapping is the Schema for the RecoveryNetworkMappings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RecoveryNetworkMappingSpec defines the desired state of RecoveryNetworkMapping + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + sourceNetworkId: + type: string + sourceRecoveryFabricName: + type: string + targetNetworkId: + type: string + targetRecoveryFabricName: + type: string + required: + - name + - recoveryVaultName + - resourceGroupName + - sourceNetworkId + - sourceRecoveryFabricName + - targetNetworkId + - targetRecoveryFabricName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RecoveryNetworkMappingStatus defines the observed state of + RecoveryNetworkMapping. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/site.azure.jet.crossplane.io_recoveryprotectioncontainermappings.yaml b/package/crds/site.azure.jet.crossplane.io_recoveryprotectioncontainermappings.yaml new file mode 100644 index 000000000..b3ed20f37 --- /dev/null +++ b/package/crds/site.azure.jet.crossplane.io_recoveryprotectioncontainermappings.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: recoveryprotectioncontainermappings.site.azure.jet.crossplane.io +spec: + group: site.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RecoveryProtectionContainerMapping + listKind: RecoveryProtectionContainerMappingList + plural: recoveryprotectioncontainermappings + singular: recoveryprotectioncontainermapping + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RecoveryProtectionContainerMapping is the Schema for the RecoveryProtectionContainerMappings + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RecoveryProtectionContainerMappingSpec defines the desired + state of RecoveryProtectionContainerMapping + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + recoveryFabricName: + type: string + recoveryReplicationPolicyId: + type: string + recoverySourceProtectionContainerName: + type: string + recoveryTargetProtectionContainerId: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + required: + - name + - recoveryFabricName + - recoveryReplicationPolicyId + - recoverySourceProtectionContainerName + - recoveryTargetProtectionContainerId + - recoveryVaultName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RecoveryProtectionContainerMappingStatus defines the observed + state of RecoveryProtectionContainerMapping. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/site.azure.jet.crossplane.io_recoveryprotectioncontainers.yaml b/package/crds/site.azure.jet.crossplane.io_recoveryprotectioncontainers.yaml new file mode 100644 index 000000000..d3dd4a929 --- /dev/null +++ b/package/crds/site.azure.jet.crossplane.io_recoveryprotectioncontainers.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: recoveryprotectioncontainers.site.azure.jet.crossplane.io +spec: + group: site.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RecoveryProtectionContainer + listKind: RecoveryProtectionContainerList + plural: recoveryprotectioncontainers + singular: recoveryprotectioncontainer + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RecoveryProtectionContainer is the Schema for the RecoveryProtectionContainers + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RecoveryProtectionContainerSpec defines the desired state + of RecoveryProtectionContainer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + recoveryFabricName: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + required: + - name + - recoveryFabricName + - recoveryVaultName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RecoveryProtectionContainerStatus defines the observed state + of RecoveryProtectionContainer. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/site.azure.jet.crossplane.io_recoveryreplicatedvms.yaml b/package/crds/site.azure.jet.crossplane.io_recoveryreplicatedvms.yaml new file mode 100644 index 000000000..293a934d0 --- /dev/null +++ b/package/crds/site.azure.jet.crossplane.io_recoveryreplicatedvms.yaml @@ -0,0 +1,234 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: recoveryreplicatedvms.site.azure.jet.crossplane.io +spec: + group: site.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RecoveryReplicatedVm + listKind: RecoveryReplicatedVmList + plural: recoveryreplicatedvms + singular: recoveryreplicatedvm + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RecoveryReplicatedVm is the Schema for the RecoveryReplicatedVms + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RecoveryReplicatedVmSpec defines the desired state of RecoveryReplicatedVm + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + managedDisk: + items: + properties: + diskId: + type: string + stagingStorageAccountId: + type: string + targetDiskEncryptionSetId: + type: string + targetDiskType: + type: string + targetReplicaDiskType: + type: string + targetResourceGroupId: + type: string + required: + - diskId + - stagingStorageAccountId + - targetDiskType + - targetReplicaDiskType + - targetResourceGroupId + type: object + type: array + name: + type: string + networkInterface: + items: + properties: + recoveryPublicIpAddressId: + type: string + sourceNetworkInterfaceId: + type: string + targetStaticIp: + type: string + targetSubnetName: + type: string + type: object + type: array + recoveryReplicationPolicyId: + type: string + recoveryVaultName: + type: string + resourceGroupName: + type: string + sourceRecoveryFabricName: + type: string + sourceRecoveryProtectionContainerName: + type: string + sourceVmId: + type: string + targetAvailabilitySetId: + type: string + targetNetworkId: + type: string + targetRecoveryFabricId: + type: string + targetRecoveryProtectionContainerId: + type: string + targetResourceGroupId: + type: string + required: + - name + - recoveryReplicationPolicyId + - recoveryVaultName + - resourceGroupName + - sourceRecoveryFabricName + - sourceRecoveryProtectionContainerName + - sourceVmId + - targetRecoveryFabricId + - targetRecoveryProtectionContainerId + - targetResourceGroupId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RecoveryReplicatedVmStatus defines the observed state of + RecoveryReplicatedVm. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/site.azure.jet.crossplane.io_recoveryreplicationpolicies.yaml b/package/crds/site.azure.jet.crossplane.io_recoveryreplicationpolicies.yaml new file mode 100644 index 000000000..b6192aafd --- /dev/null +++ b/package/crds/site.azure.jet.crossplane.io_recoveryreplicationpolicies.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: recoveryreplicationpolicies.site.azure.jet.crossplane.io +spec: + group: site.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RecoveryReplicationPolicy + listKind: RecoveryReplicationPolicyList + plural: recoveryreplicationpolicies + singular: recoveryreplicationpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RecoveryReplicationPolicy is the Schema for the RecoveryReplicationPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RecoveryReplicationPolicySpec defines the desired state of + RecoveryReplicationPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + applicationConsistentSnapshotFrequencyInMinutes: + format: int64 + type: integer + name: + type: string + recoveryPointRetentionInMinutes: + format: int64 + type: integer + recoveryVaultName: + type: string + resourceGroupName: + type: string + required: + - applicationConsistentSnapshotFrequencyInMinutes + - name + - recoveryPointRetentionInMinutes + - recoveryVaultName + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RecoveryReplicationPolicyStatus defines the observed state + of RecoveryReplicationPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spatial.azure.jet.crossplane.io_anchorsaccounts.yaml b/package/crds/spatial.azure.jet.crossplane.io_anchorsaccounts.yaml new file mode 100644 index 000000000..73c9b7313 --- /dev/null +++ b/package/crds/spatial.azure.jet.crossplane.io_anchorsaccounts.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: anchorsaccounts.spatial.azure.jet.crossplane.io +spec: + group: spatial.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnchorsAccount + listKind: AnchorsAccountList + plural: anchorsaccounts + singular: anchorsaccount + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnchorsAccount is the Schema for the AnchorsAccounts API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnchorsAccountSpec defines the desired state of AnchorsAccount + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnchorsAccountStatus defines the observed state of AnchorsAccount. + properties: + atProvider: + properties: + accountDomain: + type: string + accountId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudactivedeployments.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudactivedeployments.yaml new file mode 100644 index 000000000..3a5a6d64a --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudactivedeployments.yaml @@ -0,0 +1,170 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudactivedeployments.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudActiveDeployment + listKind: CloudActiveDeploymentList + plural: cloudactivedeployments + singular: cloudactivedeployment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudActiveDeployment is the Schema for the CloudActiveDeployments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudActiveDeploymentSpec defines the desired state of CloudActiveDeployment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + deploymentName: + type: string + springCloudAppId: + type: string + required: + - deploymentName + - springCloudAppId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudActiveDeploymentStatus defines the observed state of + CloudActiveDeployment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudappcosmosdbassociations.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudappcosmosdbassociations.yaml new file mode 100644 index 000000000..5192a3dd8 --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudappcosmosdbassociations.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudappcosmosdbassociations.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudAppCosmosdbAssociation + listKind: CloudAppCosmosdbAssociationList + plural: cloudappcosmosdbassociations + singular: cloudappcosmosdbassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudAppCosmosdbAssociation is the Schema for the CloudAppCosmosdbAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudAppCosmosdbAssociationSpec defines the desired state + of CloudAppCosmosdbAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + apiType: + type: string + cosmosdbAccessKey: + type: string + cosmosdbAccountId: + type: string + cosmosdbCassandraKeyspaceName: + type: string + cosmosdbGremlinDatabaseName: + type: string + cosmosdbGremlinGraphName: + type: string + cosmosdbMongoDatabaseName: + type: string + cosmosdbSqlDatabaseName: + type: string + name: + type: string + springCloudAppId: + type: string + required: + - apiType + - cosmosdbAccessKey + - cosmosdbAccountId + - name + - springCloudAppId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudAppCosmosdbAssociationStatus defines the observed state + of CloudAppCosmosdbAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudappmysqlassociations.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudappmysqlassociations.yaml new file mode 100644 index 000000000..ca8c29df7 --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudappmysqlassociations.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudappmysqlassociations.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudAppMysqlAssociation + listKind: CloudAppMysqlAssociationList + plural: cloudappmysqlassociations + singular: cloudappmysqlassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudAppMysqlAssociation is the Schema for the CloudAppMysqlAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudAppMysqlAssociationSpec defines the desired state of + CloudAppMysqlAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + databaseName: + type: string + mysqlServerId: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + springCloudAppId: + type: string + username: + type: string + required: + - databaseName + - mysqlServerId + - name + - passwordSecretRef + - springCloudAppId + - username + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudAppMysqlAssociationStatus defines the observed state + of CloudAppMysqlAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudappredisassociations.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudappredisassociations.yaml new file mode 100644 index 000000000..57e761624 --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudappredisassociations.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudappredisassociations.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudAppRedisAssociation + listKind: CloudAppRedisAssociationList + plural: cloudappredisassociations + singular: cloudappredisassociation + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudAppRedisAssociation is the Schema for the CloudAppRedisAssociations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudAppRedisAssociationSpec defines the desired state of + CloudAppRedisAssociation + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + redisAccessKey: + type: string + redisCacheId: + type: string + springCloudAppId: + type: string + sslEnabled: + type: boolean + required: + - name + - redisAccessKey + - redisCacheId + - springCloudAppId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudAppRedisAssociationStatus defines the observed state + of CloudAppRedisAssociation. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudapps.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudapps.yaml new file mode 100644 index 000000000..6892bd1e1 --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudapps.yaml @@ -0,0 +1,201 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudapps.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudApp + listKind: CloudAppList + plural: cloudapps + singular: cloudapp + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudApp is the Schema for the CloudApps API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudAppSpec defines the desired state of CloudApp + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + httpsOnly: + type: boolean + identity: + items: + properties: + type: + type: string + type: object + type: array + isPublic: + type: boolean + name: + type: string + persistentDisk: + items: + properties: + mountPath: + type: string + sizeInGb: + format: int64 + type: integer + required: + - sizeInGb + type: object + type: array + resourceGroupName: + type: string + serviceName: + type: string + tlsEnabled: + type: boolean + required: + - name + - resourceGroupName + - serviceName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudAppStatus defines the observed state of CloudApp. + properties: + atProvider: + properties: + fqdn: + type: string + url: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudcertificates.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudcertificates.yaml new file mode 100644 index 000000000..de48a4d2c --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudcertificates.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudcertificates.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudCertificate + listKind: CloudCertificateList + plural: cloudcertificates + singular: cloudcertificate + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudCertificate is the Schema for the CloudCertificates API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudCertificateSpec defines the desired state of CloudCertificate + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyVaultCertificateId: + type: string + name: + type: string + resourceGroupName: + type: string + serviceName: + type: string + required: + - keyVaultCertificateId + - name + - resourceGroupName + - serviceName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudCertificateStatus defines the observed state of CloudCertificate. + properties: + atProvider: + properties: + thumbprint: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudcustomdomains.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudcustomdomains.yaml new file mode 100644 index 000000000..f4f5b5734 --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudcustomdomains.yaml @@ -0,0 +1,172 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudcustomdomains.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudCustomDomain + listKind: CloudCustomDomainList + plural: cloudcustomdomains + singular: cloudcustomdomain + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudCustomDomain is the Schema for the CloudCustomDomains API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudCustomDomainSpec defines the desired state of CloudCustomDomain + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + certificateName: + type: string + name: + type: string + springCloudAppId: + type: string + thumbprint: + type: string + required: + - name + - springCloudAppId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudCustomDomainStatus defines the observed state of CloudCustomDomain. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudjavadeployments.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudjavadeployments.yaml new file mode 100644 index 000000000..d486663be --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudjavadeployments.yaml @@ -0,0 +1,186 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudjavadeployments.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudJavaDeployment + listKind: CloudJavaDeploymentList + plural: cloudjavadeployments + singular: cloudjavadeployment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudJavaDeployment is the Schema for the CloudJavaDeployments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudJavaDeploymentSpec defines the desired state of CloudJavaDeployment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + cpu: + format: int64 + type: integer + environmentVariables: + additionalProperties: + type: string + type: object + instanceCount: + format: int64 + type: integer + jvmOptions: + type: string + memoryInGb: + format: int64 + type: integer + name: + type: string + runtimeVersion: + type: string + springCloudAppId: + type: string + required: + - name + - springCloudAppId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudJavaDeploymentStatus defines the observed state of CloudJavaDeployment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/spring.azure.jet.crossplane.io_cloudservices.yaml b/package/crds/spring.azure.jet.crossplane.io_cloudservices.yaml new file mode 100644 index 000000000..c102a8772 --- /dev/null +++ b/package/crds/spring.azure.jet.crossplane.io_cloudservices.yaml @@ -0,0 +1,421 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: cloudservices.spring.azure.jet.crossplane.io +spec: + group: spring.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: CloudService + listKind: CloudServiceList + plural: cloudservices + singular: cloudservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: CloudService is the Schema for the CloudServices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: CloudServiceSpec defines the desired state of CloudService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + configServerGitSetting: + items: + properties: + httpBasicAuth: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + label: + type: string + repository: + items: + properties: + httpBasicAuth: + items: + properties: + passwordSecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + username: + type: string + required: + - passwordSecretRef + - username + type: object + type: array + label: + type: string + name: + type: string + pattern: + items: + type: string + type: array + searchPaths: + items: + type: string + type: array + sshAuth: + items: + properties: + hostKeyAlgorithm: + type: string + hostKeySecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + privateKeySecretRef: + description: A SecretKeySelector is a reference + to a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + strictHostKeyCheckingEnabled: + type: boolean + required: + - privateKeySecretRef + type: object + type: array + uri: + type: string + required: + - name + - uri + type: object + type: array + searchPaths: + items: + type: string + type: array + sshAuth: + items: + properties: + hostKeyAlgorithm: + type: string + hostKeySecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + privateKeySecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + strictHostKeyCheckingEnabled: + type: boolean + required: + - privateKeySecretRef + type: object + type: array + uri: + type: string + required: + - uri + type: object + type: array + location: + type: string + name: + type: string + network: + items: + properties: + appNetworkResourceGroup: + type: string + appSubnetId: + type: string + cidrRanges: + items: + type: string + type: array + serviceRuntimeNetworkResourceGroup: + type: string + serviceRuntimeSubnetId: + type: string + required: + - appSubnetId + - cidrRanges + - serviceRuntimeSubnetId + type: object + type: array + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + trace: + items: + properties: + connectionString: + type: string + instrumentationKey: + type: string + sampleRate: + type: number + type: object + type: array + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: CloudServiceStatus defines the observed state of CloudService. + properties: + atProvider: + properties: + outboundPublicIpAddresses: + items: + type: string + type: array + requiredNetworkTrafficRules: + items: + properties: + direction: + type: string + fqdns: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + port: + format: int64 + type: integer + protocol: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sql.azure.jet.crossplane.io_activedirectoryadministrators.yaml b/package/crds/sql.azure.jet.crossplane.io_activedirectoryadministrators.yaml new file mode 100644 index 000000000..0fb14a416 --- /dev/null +++ b/package/crds/sql.azure.jet.crossplane.io_activedirectoryadministrators.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: activedirectoryadministrators.sql.azure.jet.crossplane.io +spec: + group: sql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ActiveDirectoryAdministrator + listKind: ActiveDirectoryAdministratorList + plural: activedirectoryadministrators + singular: activedirectoryadministrator + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ActiveDirectoryAdministrator is the Schema for the ActiveDirectoryAdministrators + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ActiveDirectoryAdministratorSpec defines the desired state + of ActiveDirectoryAdministrator + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + login: + type: string + objectId: + type: string + resourceGroupName: + type: string + serverName: + type: string + tenantId: + type: string + required: + - login + - objectId + - resourceGroupName + - serverName + - tenantId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ActiveDirectoryAdministratorStatus defines the observed state + of ActiveDirectoryAdministrator. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sql.azure.jet.crossplane.io_databases.yaml b/package/crds/sql.azure.jet.crossplane.io_databases.yaml new file mode 100644 index 000000000..aa8980374 --- /dev/null +++ b/package/crds/sql.azure.jet.crossplane.io_databases.yaml @@ -0,0 +1,343 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: databases.sql.azure.jet.crossplane.io +spec: + group: sql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Database + listKind: DatabaseList + plural: databases + singular: database + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Database is the Schema for the Databases API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DatabaseSpec defines the desired state of Database + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + collation: + type: string + createMode: + type: string + edition: + type: string + elasticPoolName: + type: string + extendedAuditingPolicy: + items: + properties: + logMonitoringEnabled: + type: boolean + retentionInDays: + format: int64 + type: integer + storageAccountAccessKeyIsSecondary: + type: boolean + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + type: object + type: array + import: + items: + properties: + administratorLogin: + type: string + administratorLoginPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + authenticationType: + type: string + operationMode: + type: string + storageKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageKeyType: + type: string + storageUri: + type: string + required: + - administratorLogin + - administratorLoginPasswordSecretRef + - authenticationType + - storageKeySecretRef + - storageKeyType + - storageUri + type: object + type: array + location: + type: string + maxSizeBytes: + type: string + maxSizeGb: + type: string + name: + type: string + readScale: + type: boolean + requestedServiceObjectiveId: + type: string + requestedServiceObjectiveName: + type: string + resourceGroupName: + type: string + restorePointInTime: + type: string + serverName: + type: string + sourceDatabaseDeletionDate: + type: string + sourceDatabaseId: + type: string + tags: + additionalProperties: + type: string + type: object + threatDetectionPolicy: + items: + properties: + disabledAlerts: + items: + type: string + type: array + emailAccountAdmins: + type: string + emailAddresses: + items: + type: string + type: array + retentionDays: + format: int64 + type: integer + state: + type: string + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + useServerDefault: + type: string + type: object + type: array + zoneRedundant: + type: boolean + required: + - location + - name + - resourceGroupName + - serverName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DatabaseStatus defines the observed state of Database. + properties: + atProvider: + properties: + creationDate: + type: string + defaultSecondaryLocation: + type: string + encryption: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sql.azure.jet.crossplane.io_elasticpools.yaml b/package/crds/sql.azure.jet.crossplane.io_elasticpools.yaml new file mode 100644 index 000000000..144184c37 --- /dev/null +++ b/package/crds/sql.azure.jet.crossplane.io_elasticpools.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: elasticpools.sql.azure.jet.crossplane.io +spec: + group: sql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Elasticpool + listKind: ElasticpoolList + plural: elasticpools + singular: elasticpool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Elasticpool is the Schema for the Elasticpools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ElasticpoolSpec defines the desired state of Elasticpool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dbDtuMax: + format: int64 + type: integer + dbDtuMin: + format: int64 + type: integer + dtu: + format: int64 + type: integer + edition: + type: string + location: + type: string + name: + type: string + poolSize: + format: int64 + type: integer + resourceGroupName: + type: string + serverName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - dtu + - edition + - location + - name + - resourceGroupName + - serverName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ElasticpoolStatus defines the observed state of Elasticpool. + properties: + atProvider: + properties: + creationDate: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sql.azure.jet.crossplane.io_firewallrules.yaml b/package/crds/sql.azure.jet.crossplane.io_firewallrules.yaml new file mode 100644 index 000000000..3af85a8b6 --- /dev/null +++ b/package/crds/sql.azure.jet.crossplane.io_firewallrules.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallrules.sql.azure.jet.crossplane.io +spec: + group: sql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallRule + listKind: FirewallRuleList + plural: firewallrules + singular: firewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallRule is the Schema for the FirewallRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallRuleSpec defines the desired state of FirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endIpAddress: + type: string + name: + type: string + resourceGroupName: + type: string + serverName: + type: string + startIpAddress: + type: string + required: + - endIpAddress + - name + - resourceGroupName + - serverName + - startIpAddress + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallRuleStatus defines the observed state of FirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sql.azure.jet.crossplane.io_manageddatabases.yaml b/package/crds/sql.azure.jet.crossplane.io_manageddatabases.yaml new file mode 100644 index 000000000..f419942ea --- /dev/null +++ b/package/crds/sql.azure.jet.crossplane.io_manageddatabases.yaml @@ -0,0 +1,171 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: manageddatabases.sql.azure.jet.crossplane.io +spec: + group: sql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagedDatabase + listKind: ManagedDatabaseList + plural: manageddatabases + singular: manageddatabase + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagedDatabase is the Schema for the ManagedDatabases API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagedDatabaseSpec defines the desired state of ManagedDatabase + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + sqlManagedInstanceId: + type: string + required: + - location + - name + - sqlManagedInstanceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagedDatabaseStatus defines the observed state of ManagedDatabase. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/sql.azure.jet.crossplane.io_managedinstances.yaml b/package/crds/sql.azure.jet.crossplane.io_managedinstances.yaml new file mode 100644 index 000000000..559c9ecb3 --- /dev/null +++ b/package/crds/sql.azure.jet.crossplane.io_managedinstances.yaml @@ -0,0 +1,227 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managedinstances.sql.azure.jet.crossplane.io +spec: + group: sql.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagedInstance + listKind: ManagedInstanceList + plural: managedinstances + singular: managedinstance + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagedInstance is the Schema for the ManagedInstances API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagedInstanceSpec defines the desired state of ManagedInstance + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + administratorLogin: + type: string + administratorLoginPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + collation: + type: string + licenseType: + type: string + location: + type: string + minimumTlsVersion: + type: string + name: + type: string + proxyOverride: + type: string + publicDataEndpointEnabled: + type: boolean + resourceGroupName: + type: string + skuName: + type: string + storageSizeInGb: + format: int64 + type: integer + subnetId: + type: string + tags: + additionalProperties: + type: string + type: object + timezoneId: + type: string + vcores: + format: int64 + type: integer + required: + - administratorLogin + - administratorLoginPasswordSecretRef + - licenseType + - location + - name + - resourceGroupName + - skuName + - storageSizeInGb + - subnetId + - vcores + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagedInstanceStatus defines the observed state of ManagedInstance. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/ssh.azure.jet.crossplane.io_publickeys.yaml b/package/crds/ssh.azure.jet.crossplane.io_publickeys.yaml new file mode 100644 index 000000000..c8d8be098 --- /dev/null +++ b/package/crds/ssh.azure.jet.crossplane.io_publickeys.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: publickeys.ssh.azure.jet.crossplane.io +spec: + group: ssh.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PublicKey + listKind: PublicKeyList + plural: publickeys + singular: publickey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PublicKey is the Schema for the PublicKeys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PublicKeySpec defines the desired state of PublicKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + publicKey: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - publicKey + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PublicKeyStatus defines the observed state of PublicKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stack.azure.jet.crossplane.io_hciclusters.yaml b/package/crds/stack.azure.jet.crossplane.io_hciclusters.yaml new file mode 100644 index 000000000..e39cb5896 --- /dev/null +++ b/package/crds/stack.azure.jet.crossplane.io_hciclusters.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: hciclusters.stack.azure.jet.crossplane.io +spec: + group: stack.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: HciCluster + listKind: HciClusterList + plural: hciclusters + singular: hcicluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HciCluster is the Schema for the HciClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: HciClusterSpec defines the desired state of HciCluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clientId: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + tenantId: + type: string + required: + - clientId + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: HciClusterStatus defines the observed state of HciCluster. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/static.azure.jet.crossplane.io_sites.yaml b/package/crds/static.azure.jet.crossplane.io_sites.yaml new file mode 100644 index 000000000..2d6f3f183 --- /dev/null +++ b/package/crds/static.azure.jet.crossplane.io_sites.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sites.static.azure.jet.crossplane.io +spec: + group: static.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Site + listKind: SiteList + plural: sites + singular: site + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Site is the Schema for the Sites API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SiteSpec defines the desired state of Site + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + skuSize: + type: string + skuTier: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SiteStatus defines the observed state of Site. + properties: + atProvider: + properties: + apiKey: + type: string + defaultHostName: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_accountcustomermanagedkeys.yaml b/package/crds/storage.azure.jet.crossplane.io_accountcustomermanagedkeys.yaml new file mode 100644 index 000000000..788ec3bbe --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_accountcustomermanagedkeys.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accountcustomermanagedkeys.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AccountCustomerManagedKey + listKind: AccountCustomerManagedKeyList + plural: accountcustomermanagedkeys + singular: accountcustomermanagedkey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AccountCustomerManagedKey is the Schema for the AccountCustomerManagedKeys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountCustomerManagedKeySpec defines the desired state of + AccountCustomerManagedKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + keyName: + type: string + keyVaultId: + type: string + keyVersion: + type: string + storageAccountId: + type: string + userAssignedIdentityId: + type: string + required: + - keyName + - keyVaultId + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountCustomerManagedKeyStatus defines the observed state + of AccountCustomerManagedKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_accountnetworkrules.yaml b/package/crds/storage.azure.jet.crossplane.io_accountnetworkrules.yaml new file mode 100644 index 000000000..e189d799a --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_accountnetworkrules.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: accountnetworkrules.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AccountNetworkRules + listKind: AccountNetworkRulesList + plural: accountnetworkrules + singular: accountnetworkrules + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AccountNetworkRules is the Schema for the AccountNetworkRuless + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AccountNetworkRulesSpec defines the desired state of AccountNetworkRules + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + bypass: + items: + type: string + type: array + defaultAction: + type: string + ipRules: + items: + type: string + type: array + privateLinkAccess: + items: + properties: + endpointResourceId: + type: string + endpointTenantId: + type: string + required: + - endpointResourceId + type: object + type: array + resourceGroupName: + type: string + storageAccountId: + type: string + storageAccountName: + type: string + virtualNetworkSubnetIds: + items: + type: string + type: array + required: + - defaultAction + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AccountNetworkRulesStatus defines the observed state of AccountNetworkRules. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_blobinventorypolicies.yaml b/package/crds/storage.azure.jet.crossplane.io_blobinventorypolicies.yaml new file mode 100644 index 000000000..2ac232413 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_blobinventorypolicies.yaml @@ -0,0 +1,199 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: blobinventorypolicies.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: BlobInventoryPolicy + listKind: BlobInventoryPolicyList + plural: blobinventorypolicies + singular: blobinventorypolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: BlobInventoryPolicy is the Schema for the BlobInventoryPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: BlobInventoryPolicySpec defines the desired state of BlobInventoryPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + rules: + items: + properties: + filter: + items: + properties: + blobTypes: + items: + type: string + type: array + includeBlobVersions: + type: boolean + includeSnapshots: + type: boolean + prefixMatch: + items: + type: string + type: array + required: + - blobTypes + type: object + type: array + name: + type: string + required: + - filter + - name + type: object + type: array + storageAccountId: + type: string + storageContainerName: + type: string + required: + - rules + - storageAccountId + - storageContainerName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: BlobInventoryPolicyStatus defines the observed state of BlobInventoryPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_datalakegen2filesystems.yaml b/package/crds/storage.azure.jet.crossplane.io_datalakegen2filesystems.yaml new file mode 100644 index 000000000..ff882c922 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_datalakegen2filesystems.yaml @@ -0,0 +1,190 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: datalakegen2filesystems.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataLakeGen2Filesystem + listKind: DataLakeGen2FilesystemList + plural: datalakegen2filesystems + singular: datalakegen2filesystem + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataLakeGen2Filesystem is the Schema for the DataLakeGen2Filesystems + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataLakeGen2FilesystemSpec defines the desired state of DataLakeGen2Filesystem + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + ace: + items: + properties: + id: + type: string + permissions: + type: string + scope: + type: string + type: + type: string + required: + - permissions + - type + type: object + type: array + name: + type: string + properties: + additionalProperties: + type: string + type: object + storageAccountId: + type: string + required: + - name + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataLakeGen2FilesystemStatus defines the observed state of + DataLakeGen2Filesystem. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_datalakegen2paths.yaml b/package/crds/storage.azure.jet.crossplane.io_datalakegen2paths.yaml new file mode 100644 index 000000000..58a2c796c --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_datalakegen2paths.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: datalakegen2paths.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: DataLakeGen2Path + listKind: DataLakeGen2PathList + plural: datalakegen2paths + singular: datalakegen2path + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DataLakeGen2Path is the Schema for the DataLakeGen2Paths API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DataLakeGen2PathSpec defines the desired state of DataLakeGen2Path + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + ace: + items: + properties: + id: + type: string + permissions: + type: string + scope: + type: string + type: + type: string + required: + - permissions + - type + type: object + type: array + filesystemName: + type: string + group: + type: string + owner: + type: string + path: + type: string + resource: + type: string + storageAccountId: + type: string + required: + - filesystemName + - path + - resource + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DataLakeGen2PathStatus defines the observed state of DataLakeGen2Path. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_encryptionscopes.yaml b/package/crds/storage.azure.jet.crossplane.io_encryptionscopes.yaml new file mode 100644 index 000000000..8abaf3568 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_encryptionscopes.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: encryptionscopes.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: EncryptionScope + listKind: EncryptionScopeList + plural: encryptionscopes + singular: encryptionscope + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: EncryptionScope is the Schema for the EncryptionScopes API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: EncryptionScopeSpec defines the desired state of EncryptionScope + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + infrastructureEncryptionRequired: + type: boolean + keyVaultKeyId: + type: string + name: + type: string + source: + type: string + storageAccountId: + type: string + required: + - name + - source + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: EncryptionScopeStatus defines the observed state of EncryptionScope. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_managementpolicies.yaml b/package/crds/storage.azure.jet.crossplane.io_managementpolicies.yaml new file mode 100644 index 000000000..1d1b8740c --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_managementpolicies.yaml @@ -0,0 +1,252 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managementpolicies.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagementPolicy + listKind: ManagementPolicyList + plural: managementpolicies + singular: managementpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagementPolicy is the Schema for the ManagementPolicys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagementPolicySpec defines the desired state of ManagementPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + rule: + items: + properties: + actions: + items: + properties: + baseBlob: + items: + properties: + deleteAfterDaysSinceModificationGreaterThan: + format: int64 + type: integer + tierToArchiveAfterDaysSinceModificationGreaterThan: + format: int64 + type: integer + tierToCoolAfterDaysSinceModificationGreaterThan: + format: int64 + type: integer + type: object + type: array + snapshot: + items: + properties: + changeTierToArchiveAfterDaysSinceCreation: + format: int64 + type: integer + changeTierToCoolAfterDaysSinceCreation: + format: int64 + type: integer + deleteAfterDaysSinceCreationGreaterThan: + format: int64 + type: integer + type: object + type: array + version: + items: + properties: + changeTierToArchiveAfterDaysSinceCreation: + format: int64 + type: integer + changeTierToCoolAfterDaysSinceCreation: + format: int64 + type: integer + deleteAfterDaysSinceCreation: + format: int64 + type: integer + type: object + type: array + type: object + type: array + enabled: + type: boolean + filters: + items: + properties: + blobTypes: + items: + type: string + type: array + matchBlobIndexTag: + items: + properties: + name: + type: string + operation: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + prefixMatch: + items: + type: string + type: array + type: object + type: array + name: + type: string + required: + - actions + - enabled + - name + type: object + type: array + storageAccountId: + type: string + required: + - storageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagementPolicyStatus defines the observed state of ManagementPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_objectreplications.yaml b/package/crds/storage.azure.jet.crossplane.io_objectreplications.yaml new file mode 100644 index 000000000..5dee7fa98 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_objectreplications.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: objectreplications.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ObjectReplication + listKind: ObjectReplicationList + plural: objectreplications + singular: objectreplication + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ObjectReplication is the Schema for the ObjectReplications API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ObjectReplicationSpec defines the desired state of ObjectReplication + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + destinationStorageAccountId: + type: string + rules: + items: + properties: + copyBlobsCreatedAfter: + type: string + destinationContainerName: + type: string + filterOutBlobsWithPrefix: + items: + type: string + type: array + sourceContainerName: + type: string + required: + - destinationContainerName + - sourceContainerName + type: object + type: array + sourceStorageAccountId: + type: string + required: + - destinationStorageAccountId + - rules + - sourceStorageAccountId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ObjectReplicationStatus defines the observed state of ObjectReplication. + properties: + atProvider: + properties: + destinationObjectReplicationId: + type: string + sourceObjectReplicationId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_queues.yaml b/package/crds/storage.azure.jet.crossplane.io_queues.yaml new file mode 100644 index 000000000..3f4e0b664 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_queues.yaml @@ -0,0 +1,172 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: queues.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Queue + listKind: QueueList + plural: queues + singular: queue + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Queue is the Schema for the Queues API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: QueueSpec defines the desired state of Queue + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + metadata: + additionalProperties: + type: string + type: object + name: + type: string + storageAccountName: + type: string + required: + - name + - storageAccountName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: QueueStatus defines the observed state of Queue. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_sharedirectories.yaml b/package/crds/storage.azure.jet.crossplane.io_sharedirectories.yaml new file mode 100644 index 000000000..fcfa34099 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_sharedirectories.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sharedirectories.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ShareDirectory + listKind: ShareDirectoryList + plural: sharedirectories + singular: sharedirectory + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ShareDirectory is the Schema for the ShareDirectorys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareDirectorySpec defines the desired state of ShareDirectory + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + metadata: + additionalProperties: + type: string + type: object + name: + type: string + shareName: + type: string + storageAccountName: + type: string + required: + - name + - shareName + - storageAccountName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareDirectoryStatus defines the observed state of ShareDirectory. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_shares.yaml b/package/crds/storage.azure.jet.crossplane.io_shares.yaml new file mode 100644 index 000000000..4557e7d21 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_shares.yaml @@ -0,0 +1,202 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: shares.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Share + listKind: ShareList + plural: shares + singular: share + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Share is the Schema for the Shares API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ShareSpec defines the desired state of Share + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + acl: + items: + properties: + accessPolicy: + items: + properties: + expiry: + type: string + permissions: + type: string + start: + type: string + required: + - permissions + type: object + type: array + id: + type: string + required: + - id + type: object + type: array + metadata: + additionalProperties: + type: string + type: object + name: + type: string + quota: + format: int64 + type: integer + storageAccountName: + type: string + required: + - name + - storageAccountName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ShareStatus defines the observed state of Share. + properties: + atProvider: + properties: + resourceManagerId: + type: string + url: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_synccloudendpoints.yaml b/package/crds/storage.azure.jet.crossplane.io_synccloudendpoints.yaml new file mode 100644 index 000000000..3da7670e0 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_synccloudendpoints.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: synccloudendpoints.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SyncCloudEndpoint + listKind: SyncCloudEndpointList + plural: synccloudendpoints + singular: synccloudendpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SyncCloudEndpoint is the Schema for the SyncCloudEndpoints API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SyncCloudEndpointSpec defines the desired state of SyncCloudEndpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + fileShareName: + type: string + name: + type: string + storageAccountId: + type: string + storageAccountTenantId: + type: string + storageSyncGroupId: + type: string + required: + - fileShareName + - name + - storageAccountId + - storageSyncGroupId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SyncCloudEndpointStatus defines the observed state of SyncCloudEndpoint. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_syncs.yaml b/package/crds/storage.azure.jet.crossplane.io_syncs.yaml new file mode 100644 index 000000000..2960acb89 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_syncs.yaml @@ -0,0 +1,177 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: syncs.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Sync + listKind: SyncList + plural: syncs + singular: sync + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Sync is the Schema for the Syncs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SyncSpec defines the desired state of Sync + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + incomingTrafficPolicy: + type: string + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SyncStatus defines the observed state of Sync. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_tableentities.yaml b/package/crds/storage.azure.jet.crossplane.io_tableentities.yaml new file mode 100644 index 000000000..100262356 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_tableentities.yaml @@ -0,0 +1,179 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: tableentities.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TableEntity + listKind: TableEntityList + plural: tableentities + singular: tableentity + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TableEntity is the Schema for the TableEntitys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TableEntitySpec defines the desired state of TableEntity + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + entity: + additionalProperties: + type: string + type: object + partitionKey: + type: string + rowKey: + type: string + storageAccountName: + type: string + tableName: + type: string + required: + - entity + - partitionKey + - rowKey + - storageAccountName + - tableName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TableEntityStatus defines the observed state of TableEntity. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/storage.azure.jet.crossplane.io_tables.yaml b/package/crds/storage.azure.jet.crossplane.io_tables.yaml new file mode 100644 index 000000000..8efa11465 --- /dev/null +++ b/package/crds/storage.azure.jet.crossplane.io_tables.yaml @@ -0,0 +1,192 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: tables.storage.azure.jet.crossplane.io +spec: + group: storage.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Table + listKind: TableList + plural: tables + singular: table + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Table is the Schema for the Tables API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TableSpec defines the desired state of Table + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + acl: + items: + properties: + accessPolicy: + items: + properties: + expiry: + type: string + permissions: + type: string + start: + type: string + required: + - expiry + - permissions + - start + type: object + type: array + id: + type: string + required: + - id + type: object + type: array + name: + type: string + storageAccountName: + type: string + required: + - name + - storageAccountName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TableStatus defines the observed state of Table. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsfunctionjavascriptudfs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsfunctionjavascriptudfs.yaml new file mode 100644 index 000000000..c99fd4ff9 --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsfunctionjavascriptudfs.yaml @@ -0,0 +1,197 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsfunctionjavascriptudfs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsFunctionJavascriptUdf + listKind: AnalyticsFunctionJavascriptUdfList + plural: analyticsfunctionjavascriptudfs + singular: analyticsfunctionjavascriptudf + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsFunctionJavascriptUdf is the Schema for the AnalyticsFunctionJavascriptUdfs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsFunctionJavascriptUdfSpec defines the desired state + of AnalyticsFunctionJavascriptUdf + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + input: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + name: + type: string + output: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + resourceGroupName: + type: string + script: + type: string + streamAnalyticsJobName: + type: string + required: + - input + - name + - output + - resourceGroupName + - script + - streamAnalyticsJobName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsFunctionJavascriptUdfStatus defines the observed + state of AnalyticsFunctionJavascriptUdf. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsjobs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsjobs.yaml new file mode 100644 index 000000000..4467d557d --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsjobs.yaml @@ -0,0 +1,208 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsjobs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsJob + listKind: AnalyticsJobList + plural: analyticsjobs + singular: analyticsjob + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsJob is the Schema for the AnalyticsJobs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsJobSpec defines the desired state of AnalyticsJob + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + compatibilityLevel: + type: string + dataLocale: + type: string + eventsLateArrivalMaxDelayInSeconds: + format: int64 + type: integer + eventsOutOfOrderMaxDelayInSeconds: + format: int64 + type: integer + eventsOutOfOrderPolicy: + type: string + identity: + items: + properties: + type: + type: string + required: + - type + type: object + type: array + location: + type: string + name: + type: string + outputErrorPolicy: + type: string + resourceGroupName: + type: string + streamingUnits: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + transformationQuery: + type: string + required: + - location + - name + - resourceGroupName + - streamingUnits + - transformationQuery + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsJobStatus defines the observed state of AnalyticsJob. + properties: + atProvider: + properties: + jobId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsoutputblobs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputblobs.yaml new file mode 100644 index 000000000..a45202a03 --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputblobs.yaml @@ -0,0 +1,226 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsoutputblobs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsOutputBlob + listKind: AnalyticsOutputBlobList + plural: analyticsoutputblobs + singular: analyticsoutputblob + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsOutputBlob is the Schema for the AnalyticsOutputBlobs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsOutputBlobSpec defines the desired state of AnalyticsOutputBlob + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + batchMaxWaitTime: + type: string + batchMinRows: + type: number + dateFormat: + type: string + name: + type: string + pathPattern: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + format: + type: string + type: + type: string + required: + - type + type: object + type: array + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageAccountName: + type: string + storageContainerName: + type: string + streamAnalyticsJobName: + type: string + timeFormat: + type: string + required: + - dateFormat + - name + - pathPattern + - resourceGroupName + - serialization + - storageAccountKeySecretRef + - storageAccountName + - storageContainerName + - streamAnalyticsJobName + - timeFormat + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsOutputBlobStatus defines the observed state of AnalyticsOutputBlob. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsoutputeventhubs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputeventhubs.yaml new file mode 100644 index 000000000..878ddcbad --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputeventhubs.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsoutputeventhubs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsOutputEventhub + listKind: AnalyticsOutputEventhubList + plural: analyticsoutputeventhubs + singular: analyticsoutputeventhub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsOutputEventhub is the Schema for the AnalyticsOutputEventhubs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsOutputEventhubSpec defines the desired state of + AnalyticsOutputEventhub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubName: + type: string + name: + type: string + propertyColumns: + items: + type: string + type: array + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + format: + type: string + type: + type: string + required: + - type + type: object + type: array + servicebusNamespace: + type: string + sharedAccessPolicyKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sharedAccessPolicyName: + type: string + streamAnalyticsJobName: + type: string + required: + - eventhubName + - name + - resourceGroupName + - serialization + - servicebusNamespace + - sharedAccessPolicyKeySecretRef + - sharedAccessPolicyName + - streamAnalyticsJobName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsOutputEventhubStatus defines the observed state + of AnalyticsOutputEventhub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsoutputmssqls.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputmssqls.yaml new file mode 100644 index 000000000..0c19d903f --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputmssqls.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsoutputmssqls.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsOutputMssql + listKind: AnalyticsOutputMssqlList + plural: analyticsoutputmssqls + singular: analyticsoutputmssql + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsOutputMssql is the Schema for the AnalyticsOutputMssqls + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsOutputMssqlSpec defines the desired state of AnalyticsOutputMssql + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + database: + type: string + name: + type: string + passwordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + server: + type: string + streamAnalyticsJobName: + type: string + table: + type: string + user: + type: string + required: + - database + - name + - passwordSecretRef + - resourceGroupName + - server + - streamAnalyticsJobName + - table + - user + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsOutputMssqlStatus defines the observed state of + AnalyticsOutputMssql. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsoutputservicebusqueues.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputservicebusqueues.yaml new file mode 100644 index 000000000..53f396eff --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputservicebusqueues.yaml @@ -0,0 +1,218 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsoutputservicebusqueues.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsOutputServicebusQueue + listKind: AnalyticsOutputServicebusQueueList + plural: analyticsoutputservicebusqueues + singular: analyticsoutputservicebusqueue + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsOutputServicebusQueue is the Schema for the AnalyticsOutputServicebusQueues + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsOutputServicebusQueueSpec defines the desired state + of AnalyticsOutputServicebusQueue + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + queueName: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + format: + type: string + type: + type: string + required: + - type + type: object + type: array + servicebusNamespace: + type: string + sharedAccessPolicyKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sharedAccessPolicyName: + type: string + streamAnalyticsJobName: + type: string + required: + - name + - queueName + - resourceGroupName + - serialization + - servicebusNamespace + - sharedAccessPolicyKeySecretRef + - sharedAccessPolicyName + - streamAnalyticsJobName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsOutputServicebusQueueStatus defines the observed + state of AnalyticsOutputServicebusQueue. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsoutputservicebustopics.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputservicebustopics.yaml new file mode 100644 index 000000000..d7c1ae66d --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsoutputservicebustopics.yaml @@ -0,0 +1,218 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsoutputservicebustopics.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsOutputServicebusTopic + listKind: AnalyticsOutputServicebusTopicList + plural: analyticsoutputservicebustopics + singular: analyticsoutputservicebustopic + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsOutputServicebusTopic is the Schema for the AnalyticsOutputServicebusTopics + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsOutputServicebusTopicSpec defines the desired state + of AnalyticsOutputServicebusTopic + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + format: + type: string + type: + type: string + required: + - type + type: object + type: array + servicebusNamespace: + type: string + sharedAccessPolicyKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sharedAccessPolicyName: + type: string + streamAnalyticsJobName: + type: string + topicName: + type: string + required: + - name + - resourceGroupName + - serialization + - servicebusNamespace + - sharedAccessPolicyKeySecretRef + - sharedAccessPolicyName + - streamAnalyticsJobName + - topicName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsOutputServicebusTopicStatus defines the observed + state of AnalyticsOutputServicebusTopic. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsreferenceinputblobs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsreferenceinputblobs.yaml new file mode 100644 index 000000000..7183538cc --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsreferenceinputblobs.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsreferenceinputblobs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsReferenceInputBlob + listKind: AnalyticsReferenceInputBlobList + plural: analyticsreferenceinputblobs + singular: analyticsreferenceinputblob + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsReferenceInputBlob is the Schema for the AnalyticsReferenceInputBlobs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsReferenceInputBlobSpec defines the desired state + of AnalyticsReferenceInputBlob + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dateFormat: + type: string + name: + type: string + pathPattern: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + type: + type: string + required: + - type + type: object + type: array + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageAccountName: + type: string + storageContainerName: + type: string + streamAnalyticsJobName: + type: string + timeFormat: + type: string + required: + - dateFormat + - name + - pathPattern + - resourceGroupName + - serialization + - storageAccountKeySecretRef + - storageAccountName + - storageContainerName + - streamAnalyticsJobName + - timeFormat + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsReferenceInputBlobStatus defines the observed state + of AnalyticsReferenceInputBlob. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputblobs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputblobs.yaml new file mode 100644 index 000000000..7b142e090 --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputblobs.yaml @@ -0,0 +1,222 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsstreaminputblobs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsStreamInputBlob + listKind: AnalyticsStreamInputBlobList + plural: analyticsstreaminputblobs + singular: analyticsstreaminputblob + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsStreamInputBlob is the Schema for the AnalyticsStreamInputBlobs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsStreamInputBlobSpec defines the desired state of + AnalyticsStreamInputBlob + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dateFormat: + type: string + name: + type: string + pathPattern: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + type: + type: string + required: + - type + type: object + type: array + storageAccountKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageAccountName: + type: string + storageContainerName: + type: string + streamAnalyticsJobName: + type: string + timeFormat: + type: string + required: + - dateFormat + - name + - pathPattern + - resourceGroupName + - serialization + - storageAccountKeySecretRef + - storageAccountName + - storageContainerName + - streamAnalyticsJobName + - timeFormat + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsStreamInputBlobStatus defines the observed state + of AnalyticsStreamInputBlob. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputeventhubs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputeventhubs.yaml new file mode 100644 index 000000000..1e388fd64 --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputeventhubs.yaml @@ -0,0 +1,219 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsstreaminputeventhubs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsStreamInputEventhub + listKind: AnalyticsStreamInputEventhubList + plural: analyticsstreaminputeventhubs + singular: analyticsstreaminputeventhub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsStreamInputEventhub is the Schema for the AnalyticsStreamInputEventhubs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsStreamInputEventhubSpec defines the desired state + of AnalyticsStreamInputEventhub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + eventhubConsumerGroupName: + type: string + eventhubName: + type: string + name: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + type: + type: string + required: + - type + type: object + type: array + servicebusNamespace: + type: string + sharedAccessPolicyKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sharedAccessPolicyName: + type: string + streamAnalyticsJobName: + type: string + required: + - eventhubConsumerGroupName + - eventhubName + - name + - resourceGroupName + - serialization + - servicebusNamespace + - sharedAccessPolicyKeySecretRef + - sharedAccessPolicyName + - streamAnalyticsJobName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsStreamInputEventhubStatus defines the observed state + of AnalyticsStreamInputEventhub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputiothubs.yaml b/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputiothubs.yaml new file mode 100644 index 000000000..f47083de7 --- /dev/null +++ b/package/crds/stream.azure.jet.crossplane.io_analyticsstreaminputiothubs.yaml @@ -0,0 +1,219 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyticsstreaminputiothubs.stream.azure.jet.crossplane.io +spec: + group: stream.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyticsStreamInputIothub + listKind: AnalyticsStreamInputIothubList + plural: analyticsstreaminputiothubs + singular: analyticsstreaminputiothub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyticsStreamInputIothub is the Schema for the AnalyticsStreamInputIothubs + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyticsStreamInputIothubSpec defines the desired state + of AnalyticsStreamInputIothub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endpoint: + type: string + eventhubConsumerGroupName: + type: string + iothubNamespace: + type: string + name: + type: string + resourceGroupName: + type: string + serialization: + items: + properties: + encoding: + type: string + fieldDelimiter: + type: string + type: + type: string + required: + - type + type: object + type: array + sharedAccessPolicyKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sharedAccessPolicyName: + type: string + streamAnalyticsJobName: + type: string + required: + - endpoint + - eventhubConsumerGroupName + - iothubNamespace + - name + - resourceGroupName + - serialization + - sharedAccessPolicyKeySecretRef + - sharedAccessPolicyName + - streamAnalyticsJobName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyticsStreamInputIothubStatus defines the observed state + of AnalyticsStreamInputIothub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/subscription.azure.jet.crossplane.io_policyassignments.yaml b/package/crds/subscription.azure.jet.crossplane.io_policyassignments.yaml new file mode 100644 index 000000000..fdf477a96 --- /dev/null +++ b/package/crds/subscription.azure.jet.crossplane.io_policyassignments.yaml @@ -0,0 +1,194 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: policyassignments.subscription.azure.jet.crossplane.io +spec: + group: subscription.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PolicyAssignment + listKind: PolicyAssignmentList + plural: policyassignments + singular: policyassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PolicyAssignment is the Schema for the PolicyAssignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PolicyAssignmentSpec defines the desired state of PolicyAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + displayName: + type: string + enforce: + type: boolean + identity: + items: + properties: + type: + type: string + type: object + type: array + location: + type: string + metadata: + type: string + name: + type: string + notScopes: + items: + type: string + type: array + parameters: + type: string + policyDefinitionId: + type: string + subscriptionId: + type: string + required: + - name + - policyDefinitionId + - subscriptionId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PolicyAssignmentStatus defines the observed state of PolicyAssignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/subscription.azure.jet.crossplane.io_templatedeployments.yaml b/package/crds/subscription.azure.jet.crossplane.io_templatedeployments.yaml new file mode 100644 index 000000000..708b672f1 --- /dev/null +++ b/package/crds/subscription.azure.jet.crossplane.io_templatedeployments.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: templatedeployments.subscription.azure.jet.crossplane.io +spec: + group: subscription.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TemplateDeployment + listKind: TemplateDeploymentList + plural: templatedeployments + singular: templatedeployment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TemplateDeployment is the Schema for the TemplateDeployments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TemplateDeploymentSpec defines the desired state of TemplateDeployment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + debugLevel: + type: string + location: + type: string + name: + type: string + parametersContent: + type: string + tags: + additionalProperties: + type: string + type: object + templateContent: + type: string + templateSpecVersionId: + type: string + required: + - location + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TemplateDeploymentStatus defines the observed state of TemplateDeployment. + properties: + atProvider: + properties: + outputContent: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_firewallrules.yaml b/package/crds/synapse.azure.jet.crossplane.io_firewallrules.yaml new file mode 100644 index 000000000..2bba3a78a --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_firewallrules.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: firewallrules.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: FirewallRule + listKind: FirewallRuleList + plural: firewallrules + singular: firewallrule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: FirewallRule is the Schema for the FirewallRules API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: FirewallRuleSpec defines the desired state of FirewallRule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + endIpAddress: + type: string + name: + type: string + startIpAddress: + type: string + synapseWorkspaceId: + type: string + required: + - endIpAddress + - name + - startIpAddress + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: FirewallRuleStatus defines the observed state of FirewallRule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_integrationruntimeazures.yaml b/package/crds/synapse.azure.jet.crossplane.io_integrationruntimeazures.yaml new file mode 100644 index 000000000..b15197615 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_integrationruntimeazures.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: integrationruntimeazures.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: IntegrationRuntimeAzure + listKind: IntegrationRuntimeAzureList + plural: integrationruntimeazures + singular: integrationruntimeazure + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: IntegrationRuntimeAzure is the Schema for the IntegrationRuntimeAzures + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: IntegrationRuntimeAzureSpec defines the desired state of + IntegrationRuntimeAzure + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + computeType: + type: string + coreCount: + format: int64 + type: integer + description: + type: string + location: + type: string + name: + type: string + synapseWorkspaceId: + type: string + timeToLiveMin: + format: int64 + type: integer + required: + - location + - name + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: IntegrationRuntimeAzureStatus defines the observed state + of IntegrationRuntimeAzure. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_integrationruntimeselfhosteds.yaml b/package/crds/synapse.azure.jet.crossplane.io_integrationruntimeselfhosteds.yaml new file mode 100644 index 000000000..67ff7a3ed --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_integrationruntimeselfhosteds.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: integrationruntimeselfhosteds.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: IntegrationRuntimeSelfHosted + listKind: IntegrationRuntimeSelfHostedList + plural: integrationruntimeselfhosteds + singular: integrationruntimeselfhosted + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: IntegrationRuntimeSelfHosted is the Schema for the IntegrationRuntimeSelfHosteds + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: IntegrationRuntimeSelfHostedSpec defines the desired state + of IntegrationRuntimeSelfHosted + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + description: + type: string + name: + type: string + synapseWorkspaceId: + type: string + required: + - name + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: IntegrationRuntimeSelfHostedStatus defines the observed state + of IntegrationRuntimeSelfHosted. + properties: + atProvider: + properties: + authorizationKeyPrimary: + type: string + authorizationKeySecondary: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_linkedservices.yaml b/package/crds/synapse.azure.jet.crossplane.io_linkedservices.yaml new file mode 100644 index 000000000..af9ce9711 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_linkedservices.yaml @@ -0,0 +1,201 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: linkedservices.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: LinkedService + listKind: LinkedServiceList + plural: linkedservices + singular: linkedservice + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: LinkedService is the Schema for the LinkedServices API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: LinkedServiceSpec defines the desired state of LinkedService + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalProperties: + additionalProperties: + type: string + type: object + annotations: + items: + type: string + type: array + description: + type: string + integrationRuntime: + items: + properties: + name: + type: string + parameters: + additionalProperties: + type: string + type: object + required: + - name + type: object + type: array + name: + type: string + parameters: + additionalProperties: + type: string + type: object + synapseWorkspaceId: + type: string + type: + type: string + typePropertiesJson: + type: string + required: + - name + - synapseWorkspaceId + - type + - typePropertiesJson + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: LinkedServiceStatus defines the observed state of LinkedService. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_managedprivateendpoints.yaml b/package/crds/synapse.azure.jet.crossplane.io_managedprivateendpoints.yaml new file mode 100644 index 000000000..0aa941614 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_managedprivateendpoints.yaml @@ -0,0 +1,176 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managedprivateendpoints.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagedPrivateEndpoint + listKind: ManagedPrivateEndpointList + plural: managedprivateendpoints + singular: managedprivateendpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagedPrivateEndpoint is the Schema for the ManagedPrivateEndpoints + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagedPrivateEndpointSpec defines the desired state of ManagedPrivateEndpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + subresourceName: + type: string + synapseWorkspaceId: + type: string + targetResourceId: + type: string + required: + - name + - subresourceName + - synapseWorkspaceId + - targetResourceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagedPrivateEndpointStatus defines the observed state of + ManagedPrivateEndpoint. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_privatelinkhubs.yaml b/package/crds/synapse.azure.jet.crossplane.io_privatelinkhubs.yaml new file mode 100644 index 000000000..a8f238912 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_privatelinkhubs.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: privatelinkhubs.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PrivateLinkHub + listKind: PrivateLinkHubList + plural: privatelinkhubs + singular: privatelinkhub + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PrivateLinkHub is the Schema for the PrivateLinkHubs API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PrivateLinkHubSpec defines the desired state of PrivateLinkHub + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PrivateLinkHubStatus defines the observed state of PrivateLinkHub. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_roleassignments.yaml b/package/crds/synapse.azure.jet.crossplane.io_roleassignments.yaml new file mode 100644 index 000000000..63cf85dee --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_roleassignments.yaml @@ -0,0 +1,172 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: roleassignments.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: RoleAssignment + listKind: RoleAssignmentList + plural: roleassignments + singular: roleassignment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: RoleAssignment is the Schema for the RoleAssignments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: RoleAssignmentSpec defines the desired state of RoleAssignment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + principalId: + type: string + roleName: + type: string + synapseSparkPoolId: + type: string + synapseWorkspaceId: + type: string + required: + - principalId + - roleName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: RoleAssignmentStatus defines the observed state of RoleAssignment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_sparkpools.yaml b/package/crds/synapse.azure.jet.crossplane.io_sparkpools.yaml new file mode 100644 index 000000000..8965927c8 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_sparkpools.yaml @@ -0,0 +1,223 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sparkpools.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SparkPool + listKind: SparkPoolList + plural: sparkpools + singular: sparkpool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SparkPool is the Schema for the SparkPools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SparkPoolSpec defines the desired state of SparkPool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + autoPause: + items: + properties: + delayInMinutes: + format: int64 + type: integer + required: + - delayInMinutes + type: object + type: array + autoScale: + items: + properties: + maxNodeCount: + format: int64 + type: integer + minNodeCount: + format: int64 + type: integer + required: + - maxNodeCount + - minNodeCount + type: object + type: array + libraryRequirement: + items: + properties: + content: + type: string + filename: + type: string + required: + - content + - filename + type: object + type: array + name: + type: string + nodeCount: + format: int64 + type: integer + nodeSize: + type: string + nodeSizeFamily: + type: string + sparkEventsFolder: + type: string + sparkLogFolder: + type: string + sparkVersion: + type: string + synapseWorkspaceId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - name + - nodeSize + - nodeSizeFamily + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SparkPoolStatus defines the observed state of SparkPool. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_sqlpoolextendedauditingpolicies.yaml b/package/crds/synapse.azure.jet.crossplane.io_sqlpoolextendedauditingpolicies.yaml new file mode 100644 index 000000000..7b049bd32 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_sqlpoolextendedauditingpolicies.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sqlpoolextendedauditingpolicies.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SqlPoolExtendedAuditingPolicy + listKind: SqlPoolExtendedAuditingPolicyList + plural: sqlpoolextendedauditingpolicies + singular: sqlpoolextendedauditingpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SqlPoolExtendedAuditingPolicy is the Schema for the SqlPoolExtendedAuditingPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SqlPoolExtendedAuditingPolicySpec defines the desired state + of SqlPoolExtendedAuditingPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logMonitoringEnabled: + type: boolean + retentionInDays: + format: int64 + type: integer + sqlPoolId: + type: string + storageAccountAccessKeyIsSecondary: + type: boolean + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + required: + - sqlPoolId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SqlPoolExtendedAuditingPolicyStatus defines the observed + state of SqlPoolExtendedAuditingPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_sqlpools.yaml b/package/crds/synapse.azure.jet.crossplane.io_sqlpools.yaml new file mode 100644 index 000000000..ac78bf9f6 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_sqlpools.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sqlpools.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SqlPool + listKind: SqlPoolList + plural: sqlpools + singular: sqlpool + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SqlPool is the Schema for the SqlPools API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SqlPoolSpec defines the desired state of SqlPool + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + collation: + type: string + createMode: + type: string + dataEncrypted: + type: boolean + name: + type: string + recoveryDatabaseId: + type: string + restore: + items: + properties: + pointInTime: + type: string + sourceDatabaseId: + type: string + required: + - pointInTime + - sourceDatabaseId + type: object + type: array + skuName: + type: string + synapseWorkspaceId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - name + - skuName + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SqlPoolStatus defines the observed state of SqlPool. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_sqlpoolsecurityalertpolicies.yaml b/package/crds/synapse.azure.jet.crossplane.io_sqlpoolsecurityalertpolicies.yaml new file mode 100644 index 000000000..6e70dcecd --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_sqlpoolsecurityalertpolicies.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sqlpoolsecurityalertpolicies.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SqlPoolSecurityAlertPolicy + listKind: SqlPoolSecurityAlertPolicyList + plural: sqlpoolsecurityalertpolicies + singular: sqlpoolsecurityalertpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SqlPoolSecurityAlertPolicy is the Schema for the SqlPoolSecurityAlertPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SqlPoolSecurityAlertPolicySpec defines the desired state + of SqlPoolSecurityAlertPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + disabledAlerts: + items: + type: string + type: array + emailAccountAdminsEnabled: + type: boolean + emailAddresses: + items: + type: string + type: array + policyState: + type: string + retentionDays: + format: int64 + type: integer + sqlPoolId: + type: string + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + required: + - policyState + - sqlPoolId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SqlPoolSecurityAlertPolicyStatus defines the observed state + of SqlPoolSecurityAlertPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_sqlpoolvulnerabilityassessments.yaml b/package/crds/synapse.azure.jet.crossplane.io_sqlpoolvulnerabilityassessments.yaml new file mode 100644 index 000000000..e7dd311db --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_sqlpoolvulnerabilityassessments.yaml @@ -0,0 +1,220 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sqlpoolvulnerabilityassessments.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: SqlPoolVulnerabilityAssessment + listKind: SqlPoolVulnerabilityAssessmentList + plural: sqlpoolvulnerabilityassessments + singular: sqlpoolvulnerabilityassessment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: SqlPoolVulnerabilityAssessment is the Schema for the SqlPoolVulnerabilityAssessments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SqlPoolVulnerabilityAssessmentSpec defines the desired state + of SqlPoolVulnerabilityAssessment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + recurringScans: + items: + properties: + emailSubscriptionAdminsEnabled: + type: boolean + emails: + items: + type: string + type: array + enabled: + type: boolean + type: object + type: array + sqlPoolSecurityAlertPolicyId: + type: string + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerPath: + type: string + storageContainerSasKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - sqlPoolSecurityAlertPolicyId + - storageContainerPath + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SqlPoolVulnerabilityAssessmentStatus defines the observed + state of SqlPoolVulnerabilityAssessment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_workspaceextendedauditingpolicies.yaml b/package/crds/synapse.azure.jet.crossplane.io_workspaceextendedauditingpolicies.yaml new file mode 100644 index 000000000..457d95f3e --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_workspaceextendedauditingpolicies.yaml @@ -0,0 +1,195 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspaceextendedauditingpolicies.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WorkspaceExtendedAuditingPolicy + listKind: WorkspaceExtendedAuditingPolicyList + plural: workspaceextendedauditingpolicies + singular: workspaceextendedauditingpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WorkspaceExtendedAuditingPolicy is the Schema for the WorkspaceExtendedAuditingPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceExtendedAuditingPolicySpec defines the desired state + of WorkspaceExtendedAuditingPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + logMonitoringEnabled: + type: boolean + retentionInDays: + format: int64 + type: integer + storageAccountAccessKeyIsSecondary: + type: boolean + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + synapseWorkspaceId: + type: string + required: + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceExtendedAuditingPolicyStatus defines the observed + state of WorkspaceExtendedAuditingPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_workspacekeys.yaml b/package/crds/synapse.azure.jet.crossplane.io_workspacekeys.yaml new file mode 100644 index 000000000..32e2a8e03 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_workspacekeys.yaml @@ -0,0 +1,173 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspacekeys.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WorkspaceKey + listKind: WorkspaceKeyList + plural: workspacekeys + singular: workspacekey + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WorkspaceKey is the Schema for the WorkspaceKeys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceKeySpec defines the desired state of WorkspaceKey + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + active: + type: boolean + cusomterManagedKeyName: + type: string + customerManagedKeyVersionlessId: + type: string + synapseWorkspaceId: + type: string + required: + - active + - cusomterManagedKeyName + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceKeyStatus defines the observed state of WorkspaceKey. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_workspaces.yaml b/package/crds/synapse.azure.jet.crossplane.io_workspaces.yaml new file mode 100644 index 000000000..3b80bca56 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_workspaces.yaml @@ -0,0 +1,293 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspaces.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Workspace + listKind: WorkspaceList + plural: workspaces + singular: workspace + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Workspace is the Schema for the Workspaces API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceSpec defines the desired state of Workspace + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + aadAdmin: + items: + properties: + login: + type: string + objectId: + type: string + tenantId: + type: string + required: + - login + - objectId + - tenantId + type: object + type: array + azureDevopsRepo: + items: + properties: + accountName: + type: string + branchName: + type: string + projectName: + type: string + repositoryName: + type: string + rootFolder: + type: string + tenantId: + type: string + required: + - accountName + - branchName + - projectName + - repositoryName + - rootFolder + type: object + type: array + customerManagedKey: + items: + properties: + keyName: + type: string + keyVersionlessId: + type: string + required: + - keyVersionlessId + type: object + type: array + dataExfiltrationProtectionEnabled: + type: boolean + githubRepo: + items: + properties: + accountName: + type: string + branchName: + type: string + gitUrl: + type: string + repositoryName: + type: string + rootFolder: + type: string + required: + - accountName + - branchName + - repositoryName + - rootFolder + type: object + type: array + location: + type: string + managedResourceGroupName: + type: string + managedVirtualNetworkEnabled: + type: boolean + name: + type: string + resourceGroupName: + type: string + sqlAdministratorLogin: + type: string + sqlAdministratorLoginPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + sqlIdentityControlEnabled: + type: boolean + storageDataLakeGen2FilesystemId: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + - sqlAdministratorLogin + - sqlAdministratorLoginPasswordSecretRef + - storageDataLakeGen2FilesystemId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceStatus defines the observed state of Workspace. + properties: + atProvider: + properties: + connectivityEndpoints: + additionalProperties: + type: string + type: object + identity: + items: + properties: + principalId: + type: string + tenantId: + type: string + type: + type: string + type: object + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_workspacesecurityalertpolicies.yaml b/package/crds/synapse.azure.jet.crossplane.io_workspacesecurityalertpolicies.yaml new file mode 100644 index 000000000..d4c06b711 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_workspacesecurityalertpolicies.yaml @@ -0,0 +1,204 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspacesecurityalertpolicies.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WorkspaceSecurityAlertPolicy + listKind: WorkspaceSecurityAlertPolicyList + plural: workspacesecurityalertpolicies + singular: workspacesecurityalertpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WorkspaceSecurityAlertPolicy is the Schema for the WorkspaceSecurityAlertPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceSecurityAlertPolicySpec defines the desired state + of WorkspaceSecurityAlertPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + disabledAlerts: + items: + type: string + type: array + emailAccountAdminsEnabled: + type: boolean + emailAddresses: + items: + type: string + type: array + policyState: + type: string + retentionDays: + format: int64 + type: integer + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageEndpoint: + type: string + synapseWorkspaceId: + type: string + required: + - policyState + - synapseWorkspaceId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceSecurityAlertPolicyStatus defines the observed state + of WorkspaceSecurityAlertPolicy. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/synapse.azure.jet.crossplane.io_workspacevulnerabilityassessments.yaml b/package/crds/synapse.azure.jet.crossplane.io_workspacevulnerabilityassessments.yaml new file mode 100644 index 000000000..3551a0ef8 --- /dev/null +++ b/package/crds/synapse.azure.jet.crossplane.io_workspacevulnerabilityassessments.yaml @@ -0,0 +1,220 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: workspacevulnerabilityassessments.synapse.azure.jet.crossplane.io +spec: + group: synapse.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: WorkspaceVulnerabilityAssessment + listKind: WorkspaceVulnerabilityAssessmentList + plural: workspacevulnerabilityassessments + singular: workspacevulnerabilityassessment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WorkspaceVulnerabilityAssessment is the Schema for the WorkspaceVulnerabilityAssessments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: WorkspaceVulnerabilityAssessmentSpec defines the desired + state of WorkspaceVulnerabilityAssessment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + recurringScans: + items: + properties: + emailSubscriptionAdminsEnabled: + type: boolean + emails: + items: + type: string + type: array + enabled: + type: boolean + type: object + type: array + storageAccountAccessKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + storageContainerPath: + type: string + storageContainerSasKeySecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + workspaceSecurityAlertPolicyId: + type: string + required: + - storageContainerPath + - workspaceSecurityAlertPolicyId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: WorkspaceVulnerabilityAssessmentStatus defines the observed + state of WorkspaceVulnerabilityAssessment. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/template.azure.jet.crossplane.io_deployments.yaml b/package/crds/template.azure.jet.crossplane.io_deployments.yaml new file mode 100644 index 000000000..2e4e26190 --- /dev/null +++ b/package/crds/template.azure.jet.crossplane.io_deployments.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: deployments.template.azure.jet.crossplane.io +spec: + group: template.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Deployment + listKind: DeploymentList + plural: deployments + singular: deployment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Deployment is the Schema for the Deployments API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: DeploymentSpec defines the desired state of Deployment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + deploymentMode: + type: string + name: + type: string + parameters: + additionalProperties: + type: string + type: object + parametersBody: + type: string + resourceGroupName: + type: string + templateBody: + type: string + required: + - deploymentMode + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: DeploymentStatus defines the observed state of Deployment. + properties: + atProvider: + properties: + outputs: + additionalProperties: + type: string + type: object + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/tenant.azure.jet.crossplane.io_templatedeployments.yaml b/package/crds/tenant.azure.jet.crossplane.io_templatedeployments.yaml new file mode 100644 index 000000000..1c4c4784e --- /dev/null +++ b/package/crds/tenant.azure.jet.crossplane.io_templatedeployments.yaml @@ -0,0 +1,184 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: templatedeployments.tenant.azure.jet.crossplane.io +spec: + group: tenant.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: TemplateDeployment + listKind: TemplateDeploymentList + plural: templatedeployments + singular: templatedeployment + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: TemplateDeployment is the Schema for the TemplateDeployments + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: TemplateDeploymentSpec defines the desired state of TemplateDeployment + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + debugLevel: + type: string + location: + type: string + name: + type: string + parametersContent: + type: string + tags: + additionalProperties: + type: string + type: object + templateContent: + type: string + templateSpecVersionId: + type: string + required: + - location + - name + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: TemplateDeploymentStatus defines the observed state of TemplateDeployment. + properties: + atProvider: + properties: + outputContent: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/traffic.azure.jet.crossplane.io_managerendpoints.yaml b/package/crds/traffic.azure.jet.crossplane.io_managerendpoints.yaml new file mode 100644 index 000000000..40632e7ad --- /dev/null +++ b/package/crds/traffic.azure.jet.crossplane.io_managerendpoints.yaml @@ -0,0 +1,230 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managerendpoints.traffic.azure.jet.crossplane.io +spec: + group: traffic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagerEndpoint + listKind: ManagerEndpointList + plural: managerendpoints + singular: managerendpoint + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagerEndpoint is the Schema for the ManagerEndpoints API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagerEndpointSpec defines the desired state of ManagerEndpoint + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customHeader: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + endpointLocation: + type: string + endpointStatus: + type: string + geoMappings: + items: + type: string + type: array + minChildEndpoints: + format: int64 + type: integer + minimumRequiredChildEndpointsIpv4: + format: int64 + type: integer + minimumRequiredChildEndpointsIpv6: + format: int64 + type: integer + name: + type: string + priority: + format: int64 + type: integer + profileName: + type: string + resourceGroupName: + type: string + subnet: + items: + properties: + first: + type: string + last: + type: string + scope: + format: int64 + type: integer + required: + - first + type: object + type: array + target: + type: string + targetResourceId: + type: string + type: + type: string + weight: + format: int64 + type: integer + required: + - name + - profileName + - resourceGroupName + - type + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagerEndpointStatus defines the observed state of ManagerEndpoint. + properties: + atProvider: + properties: + endpointMonitorStatus: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/traffic.azure.jet.crossplane.io_managerprofiles.yaml b/package/crds/traffic.azure.jet.crossplane.io_managerprofiles.yaml new file mode 100644 index 000000000..5d776fe0b --- /dev/null +++ b/package/crds/traffic.azure.jet.crossplane.io_managerprofiles.yaml @@ -0,0 +1,240 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: managerprofiles.traffic.azure.jet.crossplane.io +spec: + group: traffic.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ManagerProfile + listKind: ManagerProfileList + plural: managerprofiles + singular: managerprofile + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ManagerProfile is the Schema for the ManagerProfiles API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ManagerProfileSpec defines the desired state of ManagerProfile + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + dnsConfig: + items: + properties: + relativeName: + type: string + ttl: + format: int64 + type: integer + required: + - relativeName + - ttl + type: object + type: array + maxReturn: + format: int64 + type: integer + monitorConfig: + items: + properties: + customHeader: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + expectedStatusCodeRanges: + items: + type: string + type: array + intervalInSeconds: + format: int64 + type: integer + path: + type: string + port: + format: int64 + type: integer + protocol: + type: string + timeoutInSeconds: + format: int64 + type: integer + toleratedNumberOfFailures: + format: int64 + type: integer + required: + - port + - protocol + type: object + type: array + name: + type: string + profileStatus: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + trafficRoutingMethod: + type: string + trafficViewEnabled: + type: boolean + required: + - dnsConfig + - monitorConfig + - name + - resourceGroupName + - trafficRoutingMethod + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ManagerProfileStatus defines the observed state of ManagerProfile. + properties: + atProvider: + properties: + fqdn: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/user.azure.jet.crossplane.io_assignedidentities.yaml b/package/crds/user.azure.jet.crossplane.io_assignedidentities.yaml new file mode 100644 index 000000000..4b8df37f2 --- /dev/null +++ b/package/crds/user.azure.jet.crossplane.io_assignedidentities.yaml @@ -0,0 +1,182 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: assignedidentities.user.azure.jet.crossplane.io +spec: + group: user.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AssignedIdentity + listKind: AssignedIdentityList + plural: assignedidentities + singular: assignedidentity + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AssignedIdentity is the Schema for the AssignedIdentitys API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AssignedIdentitySpec defines the desired state of AssignedIdentity + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AssignedIdentityStatus defines the observed state of AssignedIdentity. + properties: + atProvider: + properties: + clientId: + type: string + principalId: + type: string + tenantId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/video.azure.jet.crossplane.io_analyzeredgemodules.yaml b/package/crds/video.azure.jet.crossplane.io_analyzeredgemodules.yaml new file mode 100644 index 000000000..fa7f58e8b --- /dev/null +++ b/package/crds/video.azure.jet.crossplane.io_analyzeredgemodules.yaml @@ -0,0 +1,172 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyzeredgemodules.video.azure.jet.crossplane.io +spec: + group: video.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: AnalyzerEdgeModule + listKind: AnalyzerEdgeModuleList + plural: analyzeredgemodules + singular: analyzeredgemodule + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AnalyzerEdgeModule is the Schema for the AnalyzerEdgeModules + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyzerEdgeModuleSpec defines the desired state of AnalyzerEdgeModule + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + resourceGroupName: + type: string + videoAnalyzerName: + type: string + required: + - name + - resourceGroupName + - videoAnalyzerName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyzerEdgeModuleStatus defines the observed state of AnalyzerEdgeModule. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/video.azure.jet.crossplane.io_analyzers.yaml b/package/crds/video.azure.jet.crossplane.io_analyzers.yaml new file mode 100644 index 000000000..b627caed9 --- /dev/null +++ b/package/crds/video.azure.jet.crossplane.io_analyzers.yaml @@ -0,0 +1,203 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: analyzers.video.azure.jet.crossplane.io +spec: + group: video.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Analyzer + listKind: AnalyzerList + plural: analyzers + singular: analyzer + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Analyzer is the Schema for the Analyzers API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AnalyzerSpec defines the desired state of Analyzer + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - identityIds + - type + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + storageAccount: + items: + properties: + id: + type: string + userAssignedIdentityId: + type: string + required: + - id + - userAssignedIdentityId + type: object + type: array + tags: + additionalProperties: + type: string + type: object + required: + - identity + - location + - name + - resourceGroupName + - storageAccount + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: AnalyzerStatus defines the observed state of Analyzer. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vmware.azure.jet.crossplane.io_clusters.yaml b/package/crds/vmware.azure.jet.crossplane.io_clusters.yaml new file mode 100644 index 000000000..630d8043f --- /dev/null +++ b/package/crds/vmware.azure.jet.crossplane.io_clusters.yaml @@ -0,0 +1,183 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: clusters.vmware.azure.jet.crossplane.io +spec: + group: vmware.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Cluster + listKind: ClusterList + plural: clusters + singular: cluster + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Cluster is the Schema for the Clusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ClusterSpec defines the desired state of Cluster + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + clusterNodeCount: + format: int64 + type: integer + name: + type: string + skuName: + type: string + vmwareCloudId: + type: string + required: + - clusterNodeCount + - name + - skuName + - vmwareCloudId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ClusterStatus defines the observed state of Cluster. + properties: + atProvider: + properties: + clusterNumber: + format: int64 + type: integer + hosts: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vmware.azure.jet.crossplane.io_expressrouteauthorizations.yaml b/package/crds/vmware.azure.jet.crossplane.io_expressrouteauthorizations.yaml new file mode 100644 index 000000000..b267c971c --- /dev/null +++ b/package/crds/vmware.azure.jet.crossplane.io_expressrouteauthorizations.yaml @@ -0,0 +1,174 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: expressrouteauthorizations.vmware.azure.jet.crossplane.io +spec: + group: vmware.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ExpressRouteAuthorization + listKind: ExpressRouteAuthorizationList + plural: expressrouteauthorizations + singular: expressrouteauthorization + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ExpressRouteAuthorization is the Schema for the ExpressRouteAuthorizations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ExpressRouteAuthorizationSpec defines the desired state of + ExpressRouteAuthorization + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + name: + type: string + privateCloudId: + type: string + required: + - name + - privateCloudId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ExpressRouteAuthorizationStatus defines the observed state + of ExpressRouteAuthorization. + properties: + atProvider: + properties: + expressRouteAuthorizationId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vmware.azure.jet.crossplane.io_privateclouds.yaml b/package/crds/vmware.azure.jet.crossplane.io_privateclouds.yaml new file mode 100644 index 000000000..7190bfc0a --- /dev/null +++ b/package/crds/vmware.azure.jet.crossplane.io_privateclouds.yaml @@ -0,0 +1,260 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: privateclouds.vmware.azure.jet.crossplane.io +spec: + group: vmware.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: PrivateCloud + listKind: PrivateCloudList + plural: privateclouds + singular: privatecloud + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: PrivateCloud is the Schema for the PrivateClouds API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PrivateCloudSpec defines the desired state of PrivateCloud + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + internetConnectionEnabled: + type: boolean + location: + type: string + managementCluster: + items: + properties: + size: + format: int64 + type: integer + required: + - size + type: object + type: array + name: + type: string + networkSubnetCidr: + type: string + nsxtPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + resourceGroupName: + type: string + skuName: + type: string + tags: + additionalProperties: + type: string + type: object + vcenterPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - location + - managementCluster + - name + - networkSubnetCidr + - resourceGroupName + - skuName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: PrivateCloudStatus defines the observed state of PrivateCloud. + properties: + atProvider: + properties: + circuit: + items: + properties: + expressRouteId: + type: string + expressRoutePrivatePeeringId: + type: string + primarySubnetCidr: + type: string + secondarySubnetCidr: + type: string + type: object + type: array + hcxCloudManagerEndpoint: + type: string + managementSubnetCidr: + type: string + nsxtCertificateThumbprint: + type: string + nsxtManagerEndpoint: + type: string + provisioningSubnetCidr: + type: string + vcenterCertificateThumbprint: + type: string + vcsaEndpoint: + type: string + vmotionSubnetCidr: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vpn.azure.jet.crossplane.io_gatewayconnections.yaml b/package/crds/vpn.azure.jet.crossplane.io_gatewayconnections.yaml new file mode 100644 index 000000000..af0159210 --- /dev/null +++ b/package/crds/vpn.azure.jet.crossplane.io_gatewayconnections.yaml @@ -0,0 +1,250 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: gatewayconnections.vpn.azure.jet.crossplane.io +spec: + group: vpn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: GatewayConnection + listKind: GatewayConnectionList + plural: gatewayconnections + singular: gatewayconnection + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: GatewayConnection is the Schema for the GatewayConnections API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GatewayConnectionSpec defines the desired state of GatewayConnection + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + internetSecurityEnabled: + type: boolean + name: + type: string + remoteVpnSiteId: + type: string + routing: + items: + properties: + associatedRouteTable: + type: string + propagatedRouteTables: + items: + type: string + type: array + required: + - associatedRouteTable + - propagatedRouteTables + type: object + type: array + vpnGatewayId: + type: string + vpnLink: + items: + properties: + bandwidthMbps: + format: int64 + type: integer + bgpEnabled: + type: boolean + ipsecPolicy: + items: + properties: + dhGroup: + type: string + encryptionAlgorithm: + type: string + ikeEncryptionAlgorithm: + type: string + ikeIntegrityAlgorithm: + type: string + integrityAlgorithm: + type: string + pfsGroup: + type: string + saDataSizeKb: + format: int64 + type: integer + saLifetimeSec: + format: int64 + type: integer + required: + - dhGroup + - encryptionAlgorithm + - ikeEncryptionAlgorithm + - ikeIntegrityAlgorithm + - integrityAlgorithm + - pfsGroup + - saDataSizeKb + - saLifetimeSec + type: object + type: array + localAzureIpAddressEnabled: + type: boolean + name: + type: string + policyBasedTrafficSelectorEnabled: + type: boolean + protocol: + type: string + ratelimitEnabled: + type: boolean + routeWeight: + format: int64 + type: integer + sharedKey: + type: string + vpnSiteLinkId: + type: string + required: + - name + - vpnSiteLinkId + type: object + type: array + required: + - name + - remoteVpnSiteId + - vpnGatewayId + - vpnLink + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GatewayConnectionStatus defines the observed state of GatewayConnection. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vpn.azure.jet.crossplane.io_gateways.yaml b/package/crds/vpn.azure.jet.crossplane.io_gateways.yaml new file mode 100644 index 000000000..35d32886d --- /dev/null +++ b/package/crds/vpn.azure.jet.crossplane.io_gateways.yaml @@ -0,0 +1,217 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: gateways.vpn.azure.jet.crossplane.io +spec: + group: vpn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Gateway + listKind: GatewayList + plural: gateways + singular: gateway + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Gateway is the Schema for the Gateways API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GatewaySpec defines the desired state of Gateway + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + bgpSettings: + items: + properties: + asn: + format: int64 + type: integer + instance0BgpPeeringAddress: + items: + properties: + customIps: + items: + type: string + type: array + required: + - customIps + type: object + type: array + instance1BgpPeeringAddress: + items: + properties: + customIps: + items: + type: string + type: array + required: + - customIps + type: object + type: array + peerWeight: + format: int64 + type: integer + required: + - asn + - peerWeight + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + scaleUnit: + format: int64 + type: integer + tags: + additionalProperties: + type: string + type: object + virtualHubId: + type: string + required: + - location + - name + - resourceGroupName + - virtualHubId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: GatewayStatus defines the observed state of Gateway. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vpn.azure.jet.crossplane.io_serverconfigurations.yaml b/package/crds/vpn.azure.jet.crossplane.io_serverconfigurations.yaml new file mode 100644 index 000000000..8133650b8 --- /dev/null +++ b/package/crds/vpn.azure.jet.crossplane.io_serverconfigurations.yaml @@ -0,0 +1,372 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: serverconfigurations.vpn.azure.jet.crossplane.io +spec: + group: vpn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ServerConfiguration + listKind: ServerConfigurationList + plural: serverconfigurations + singular: serverconfiguration + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ServerConfiguration is the Schema for the ServerConfigurations + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ServerConfigurationSpec defines the desired state of ServerConfiguration + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + azureActiveDirectoryAuthentication: + items: + properties: + audience: + type: string + issuer: + type: string + tenant: + type: string + required: + - audience + - issuer + - tenant + type: object + type: array + clientRevokedCertificate: + items: + properties: + name: + type: string + thumbprint: + type: string + required: + - name + - thumbprint + type: object + type: array + clientRootCertificate: + items: + properties: + name: + type: string + publicCertData: + type: string + required: + - name + - publicCertData + type: object + type: array + ipsecPolicy: + items: + properties: + dhGroup: + type: string + ikeEncryption: + type: string + ikeIntegrity: + type: string + ipsecEncryption: + type: string + ipsecIntegrity: + type: string + pfsGroup: + type: string + saDataSizeKilobytes: + format: int64 + type: integer + saLifetimeSeconds: + format: int64 + type: integer + required: + - dhGroup + - ikeEncryption + - ikeIntegrity + - ipsecEncryption + - ipsecIntegrity + - pfsGroup + - saDataSizeKilobytes + - saLifetimeSeconds + type: object + type: array + location: + type: string + name: + type: string + radius: + items: + properties: + clientRootCertificate: + items: + properties: + name: + type: string + thumbprint: + type: string + required: + - name + - thumbprint + type: object + type: array + server: + items: + properties: + address: + type: string + score: + format: int64 + type: integer + secretSecretRef: + description: A SecretKeySelector is a reference to + a secret key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + required: + - address + - score + - secretSecretRef + type: object + type: array + serverRootCertificate: + items: + properties: + name: + type: string + publicCertData: + type: string + required: + - name + - publicCertData + type: object + type: array + required: + - serverRootCertificate + type: object + type: array + radiusServer: + items: + properties: + address: + type: string + clientRootCertificate: + items: + properties: + name: + type: string + thumbprint: + type: string + required: + - name + - thumbprint + type: object + type: array + secretSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + serverRootCertificate: + items: + properties: + name: + type: string + publicCertData: + type: string + required: + - name + - publicCertData + type: object + type: array + required: + - address + - secretSecretRef + - serverRootCertificate + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + vpnAuthenticationTypes: + items: + type: string + type: array + vpnProtocols: + items: + type: string + type: array + required: + - location + - name + - resourceGroupName + - vpnAuthenticationTypes + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ServerConfigurationStatus defines the observed state of ServerConfiguration. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/vpn.azure.jet.crossplane.io_sites.yaml b/package/crds/vpn.azure.jet.crossplane.io_sites.yaml new file mode 100644 index 000000000..bd8b8f1ac --- /dev/null +++ b/package/crds/vpn.azure.jet.crossplane.io_sites.yaml @@ -0,0 +1,217 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: sites.vpn.azure.jet.crossplane.io +spec: + group: vpn.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: Site + listKind: SiteList + plural: sites + singular: site + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Site is the Schema for the Sites API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: SiteSpec defines the desired state of Site + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + addressCidrs: + items: + type: string + type: array + deviceModel: + type: string + deviceVendor: + type: string + link: + items: + properties: + bgp: + items: + properties: + asn: + format: int64 + type: integer + peeringAddress: + type: string + required: + - asn + - peeringAddress + type: object + type: array + fqdn: + type: string + ipAddress: + type: string + name: + type: string + providerName: + type: string + speedInMbps: + format: int64 + type: integer + required: + - name + type: object + type: array + location: + type: string + name: + type: string + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + virtualWanId: + type: string + required: + - location + - name + - resourceGroupName + - virtualWanId + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: SiteStatus defines the observed state of Site. + properties: + atProvider: + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/web.azure.jet.crossplane.io_applicationfirewallpolicies.yaml b/package/crds/web.azure.jet.crossplane.io_applicationfirewallpolicies.yaml new file mode 100644 index 000000000..18f0a8722 --- /dev/null +++ b/package/crds/web.azure.jet.crossplane.io_applicationfirewallpolicies.yaml @@ -0,0 +1,303 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: applicationfirewallpolicies.web.azure.jet.crossplane.io +spec: + group: web.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: ApplicationFirewallPolicy + listKind: ApplicationFirewallPolicyList + plural: applicationfirewallpolicies + singular: applicationfirewallpolicy + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: ApplicationFirewallPolicy is the Schema for the ApplicationFirewallPolicys + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ApplicationFirewallPolicySpec defines the desired state of + ApplicationFirewallPolicy + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + customRules: + items: + properties: + action: + type: string + matchConditions: + items: + properties: + matchValues: + items: + type: string + type: array + matchVariables: + items: + properties: + selector: + type: string + variableName: + type: string + required: + - variableName + type: object + type: array + negationCondition: + type: boolean + operator: + type: string + transforms: + items: + type: string + type: array + required: + - matchValues + - matchVariables + - operator + type: object + type: array + name: + type: string + priority: + format: int64 + type: integer + ruleType: + type: string + required: + - action + - matchConditions + - priority + - ruleType + type: object + type: array + location: + type: string + managedRules: + items: + properties: + exclusion: + items: + properties: + matchVariable: + type: string + selector: + type: string + selectorMatchOperator: + type: string + required: + - matchVariable + - selector + - selectorMatchOperator + type: object + type: array + managedRuleSet: + items: + properties: + ruleGroupOverride: + items: + properties: + disabledRules: + items: + type: string + type: array + ruleGroupName: + type: string + required: + - disabledRules + - ruleGroupName + type: object + type: array + type: + type: string + version: + type: string + required: + - version + type: object + type: array + required: + - managedRuleSet + type: object + type: array + name: + type: string + policySettings: + items: + properties: + enabled: + type: boolean + fileUploadLimitInMb: + format: int64 + type: integer + maxRequestBodySizeInKb: + format: int64 + type: integer + mode: + type: string + requestBodyCheck: + type: boolean + type: object + type: array + resourceGroupName: + type: string + tags: + additionalProperties: + type: string + type: object + required: + - location + - managedRules + - name + - resourceGroupName + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: ApplicationFirewallPolicyStatus defines the observed state + of ApplicationFirewallPolicy. + properties: + atProvider: + properties: + httpListenerIds: + items: + type: string + type: array + pathBasedRuleIds: + items: + type: string + type: array + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/windows.azure.jet.crossplane.io_virtualmachines.yaml b/package/crds/windows.azure.jet.crossplane.io_virtualmachines.yaml new file mode 100644 index 000000000..4394f05df --- /dev/null +++ b/package/crds/windows.azure.jet.crossplane.io_virtualmachines.yaml @@ -0,0 +1,429 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachines.windows.azure.jet.crossplane.io +spec: + group: windows.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachine + listKind: VirtualMachineList + plural: virtualmachines + singular: virtualmachine + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachine is the Schema for the VirtualMachines API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineSpec defines the desired state of VirtualMachine + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalCapabilities: + items: + properties: + ultraSsdEnabled: + type: boolean + type: object + type: array + additionalUnattendContent: + items: + properties: + contentSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + setting: + type: string + required: + - contentSecretRef + - setting + type: object + type: array + adminPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + adminUsername: + type: string + allowExtensionOperations: + type: boolean + availabilitySetId: + type: string + bootDiagnostics: + items: + properties: + storageAccountUri: + type: string + type: object + type: array + computerName: + type: string + customDataSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dedicatedHostId: + type: string + enableAutomaticUpdates: + type: boolean + encryptionAtHostEnabled: + type: boolean + evictionPolicy: + type: string + extensionsTimeBudget: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + licenseType: + type: string + location: + type: string + maxBidPrice: + type: number + name: + type: string + networkInterfaceIds: + items: + type: string + type: array + osDisk: + items: + properties: + caching: + type: string + diffDiskSettings: + items: + properties: + option: + type: string + required: + - option + type: object + type: array + diskEncryptionSetId: + type: string + diskSizeGb: + format: int64 + type: integer + name: + type: string + storageAccountType: + type: string + writeAcceleratorEnabled: + type: boolean + required: + - caching + - storageAccountType + type: object + type: array + patchMode: + type: string + plan: + items: + properties: + name: + type: string + product: + type: string + publisher: + type: string + required: + - name + - product + - publisher + type: object + type: array + platformFaultDomain: + format: int64 + type: integer + priority: + type: string + provisionVmAgent: + type: boolean + proximityPlacementGroupId: + type: string + resourceGroupName: + type: string + secret: + items: + properties: + certificate: + items: + properties: + store: + type: string + url: + type: string + required: + - store + - url + type: object + type: array + keyVaultId: + type: string + required: + - certificate + - keyVaultId + type: object + type: array + size: + type: string + sourceImageId: + type: string + sourceImageReference: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + required: + - offer + - publisher + - sku + - version + type: object + type: array + tags: + additionalProperties: + type: string + type: object + timezone: + type: string + virtualMachineScaleSetId: + type: string + winrmListener: + items: + properties: + certificateUrl: + type: string + protocol: + type: string + required: + - protocol + type: object + type: array + zone: + type: string + required: + - adminPasswordSecretRef + - adminUsername + - location + - name + - networkInterfaceIds + - osDisk + - resourceGroupName + - size + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineStatus defines the observed state of VirtualMachine. + properties: + atProvider: + properties: + privateIpAddress: + type: string + privateIpAddresses: + items: + type: string + type: array + publicIpAddress: + type: string + publicIpAddresses: + items: + type: string + type: array + virtualMachineId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/package/crds/windows.azure.jet.crossplane.io_virtualmachinescalesets.yaml b/package/crds/windows.azure.jet.crossplane.io_virtualmachinescalesets.yaml new file mode 100644 index 000000000..024737ced --- /dev/null +++ b/package/crds/windows.azure.jet.crossplane.io_virtualmachinescalesets.yaml @@ -0,0 +1,637 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.6.2 + creationTimestamp: null + name: virtualmachinescalesets.windows.azure.jet.crossplane.io +spec: + group: windows.azure.jet.crossplane.io + names: + categories: + - crossplane + - managed + - azurejet + kind: VirtualMachineScaleSet + listKind: VirtualMachineScaleSetList + plural: virtualmachinescalesets + singular: virtualmachinescaleset + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.conditions[?(@.type=='Ready')].status + name: READY + type: string + - jsonPath: .status.conditions[?(@.type=='Synced')].status + name: SYNCED + type: string + - jsonPath: .metadata.annotations.crossplane\.io/external-name + name: EXTERNAL-NAME + type: string + - jsonPath: .metadata.creationTimestamp + name: AGE + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: VirtualMachineScaleSet is the Schema for the VirtualMachineScaleSets + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: VirtualMachineScaleSetSpec defines the desired state of VirtualMachineScaleSet + properties: + deletionPolicy: + default: Delete + description: DeletionPolicy specifies what will happen to the underlying + external when this managed resource is deleted - either "Delete" + or "Orphan" the external resource. + enum: + - Orphan + - Delete + type: string + forProvider: + properties: + additionalCapabilities: + items: + properties: + ultraSsdEnabled: + type: boolean + type: object + type: array + additionalUnattendContent: + items: + properties: + contentSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + setting: + type: string + required: + - contentSecretRef + - setting + type: object + type: array + adminPasswordSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + adminUsername: + type: string + automaticInstanceRepair: + items: + properties: + enabled: + type: boolean + gracePeriod: + type: string + required: + - enabled + type: object + type: array + automaticOsUpgradePolicy: + items: + properties: + disableAutomaticRollback: + type: boolean + enableAutomaticOsUpgrade: + type: boolean + required: + - disableAutomaticRollback + - enableAutomaticOsUpgrade + type: object + type: array + bootDiagnostics: + items: + properties: + storageAccountUri: + type: string + type: object + type: array + computerNamePrefix: + type: string + customDataSecretRef: + description: A SecretKeySelector is a reference to a secret key + in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + dataDisk: + items: + properties: + caching: + type: string + createOption: + type: string + diskEncryptionSetId: + type: string + diskIopsReadWrite: + format: int64 + type: integer + diskMbpsReadWrite: + format: int64 + type: integer + diskSizeGb: + format: int64 + type: integer + lun: + format: int64 + type: integer + storageAccountType: + type: string + writeAcceleratorEnabled: + type: boolean + required: + - caching + - diskSizeGb + - lun + - storageAccountType + type: object + type: array + doNotRunExtensionsOnOverprovisionedMachines: + type: boolean + enableAutomaticUpdates: + type: boolean + encryptionAtHostEnabled: + type: boolean + evictionPolicy: + type: string + extension: + items: + properties: + autoUpgradeMinorVersion: + type: boolean + forceUpdateTag: + type: string + name: + type: string + protectedSettingsSecretRef: + description: A SecretKeySelector is a reference to a secret + key in an arbitrary namespace. + properties: + key: + description: The key to select. + type: string + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - key + - name + - namespace + type: object + provisionAfterExtensions: + items: + type: string + type: array + publisher: + type: string + settings: + type: string + type: + type: string + typeHandlerVersion: + type: string + required: + - name + - publisher + - type + - typeHandlerVersion + type: object + type: array + extensionsTimeBudget: + type: string + healthProbeId: + type: string + identity: + items: + properties: + identityIds: + items: + type: string + type: array + type: + type: string + required: + - type + type: object + type: array + instances: + format: int64 + type: integer + licenseType: + type: string + location: + type: string + maxBidPrice: + type: number + name: + type: string + networkInterface: + items: + properties: + dnsServers: + items: + type: string + type: array + enableAcceleratedNetworking: + type: boolean + enableIpForwarding: + type: boolean + ipConfiguration: + items: + properties: + applicationGatewayBackendAddressPoolIds: + items: + type: string + type: array + applicationSecurityGroupIds: + items: + type: string + type: array + loadBalancerBackendAddressPoolIds: + items: + type: string + type: array + loadBalancerInboundNatRulesIds: + items: + type: string + type: array + name: + type: string + primary: + type: boolean + publicIpAddress: + items: + properties: + domainNameLabel: + type: string + idleTimeoutInMinutes: + format: int64 + type: integer + ipTag: + items: + properties: + tag: + type: string + type: + type: string + required: + - tag + - type + type: object + type: array + name: + type: string + publicIpPrefixId: + type: string + required: + - name + type: object + type: array + subnetId: + type: string + version: + type: string + required: + - name + type: object + type: array + name: + type: string + networkSecurityGroupId: + type: string + primary: + type: boolean + required: + - ipConfiguration + - name + type: object + type: array + osDisk: + items: + properties: + caching: + type: string + diffDiskSettings: + items: + properties: + option: + type: string + required: + - option + type: object + type: array + diskEncryptionSetId: + type: string + diskSizeGb: + format: int64 + type: integer + storageAccountType: + type: string + writeAcceleratorEnabled: + type: boolean + required: + - caching + - storageAccountType + type: object + type: array + overprovision: + type: boolean + plan: + items: + properties: + name: + type: string + product: + type: string + publisher: + type: string + required: + - name + - product + - publisher + type: object + type: array + platformFaultDomainCount: + format: int64 + type: integer + priority: + type: string + provisionVmAgent: + type: boolean + proximityPlacementGroupId: + type: string + resourceGroupName: + type: string + rollingUpgradePolicy: + items: + properties: + maxBatchInstancePercent: + format: int64 + type: integer + maxUnhealthyInstancePercent: + format: int64 + type: integer + maxUnhealthyUpgradedInstancePercent: + format: int64 + type: integer + pauseTimeBetweenBatches: + type: string + required: + - maxBatchInstancePercent + - maxUnhealthyInstancePercent + - maxUnhealthyUpgradedInstancePercent + - pauseTimeBetweenBatches + type: object + type: array + scaleInPolicy: + type: string + secret: + items: + properties: + certificate: + items: + properties: + store: + type: string + url: + type: string + required: + - store + - url + type: object + type: array + keyVaultId: + type: string + required: + - certificate + - keyVaultId + type: object + type: array + singlePlacementGroup: + type: boolean + sku: + type: string + sourceImageId: + type: string + sourceImageReference: + items: + properties: + offer: + type: string + publisher: + type: string + sku: + type: string + version: + type: string + required: + - offer + - publisher + - sku + - version + type: object + type: array + tags: + additionalProperties: + type: string + type: object + terminateNotification: + items: + properties: + enabled: + type: boolean + timeout: + type: string + required: + - enabled + type: object + type: array + timezone: + type: string + upgradeMode: + type: string + winrmListener: + items: + properties: + certificateUrl: + type: string + protocol: + type: string + required: + - protocol + type: object + type: array + zoneBalance: + type: boolean + zones: + items: + type: string + type: array + required: + - adminPasswordSecretRef + - adminUsername + - instances + - location + - name + - networkInterface + - osDisk + - resourceGroupName + - sku + type: object + providerConfigRef: + default: + name: default + description: ProviderConfigReference specifies how the provider that + will be used to create, observe, update, and delete this managed + resource should be configured. + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + providerRef: + description: 'ProviderReference specifies the provider that will be + used to create, observe, update, and delete this managed resource. + Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' + properties: + name: + description: Name of the referenced object. + type: string + required: + - name + type: object + writeConnectionSecretToRef: + description: WriteConnectionSecretToReference specifies the namespace + and name of a Secret to which any connection details for this managed + resource should be written. Connection details frequently include + the endpoint, username, and password required to connect to the + managed resource. + properties: + name: + description: Name of the secret. + type: string + namespace: + description: Namespace of the secret. + type: string + required: + - name + - namespace + type: object + required: + - forProvider + type: object + status: + description: VirtualMachineScaleSetStatus defines the observed state of + VirtualMachineScaleSet. + properties: + atProvider: + properties: + uniqueId: + type: string + type: object + conditions: + description: Conditions of the resource. + items: + description: A Condition that may apply to a resource. + properties: + lastTransitionTime: + description: LastTransitionTime is the last time this condition + transitioned from one status to another. + format: date-time + type: string + message: + description: A Message containing details about this condition's + last transition from one status to another, if any. + type: string + reason: + description: A Reason for this condition's last transition from + one status to another. + type: string + status: + description: Status of this condition; is it currently True, + False, or Unknown? + type: string + type: + description: Type of this condition. At most one of each condition + type may apply to a resource at any point in time. + type: string + required: + - lastTransitionTime + - reason + - status + - type + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: []